3 bld
.SAMBA_PIDL('PIDL_REG',
5 options
='--header --tdr-parser')
7 bld
.SAMBA_SUBSYSTEM('TDR_REGF',
13 bld
.SAMBA_LIBRARY('registry',
14 source
='interface.c util.c samba.c patchfile_dotreg.c patchfile_preg.c patchfile.c regf.c hive.c local.c ldb.c rpc.c',
15 pc_files
='registry.pc',
16 public_deps
='dcerpc samba-util TDR_REGF ldb RPC_NDR_WINREG ldbsamba util_reg',
17 public_headers
='registry.h',
22 bld
.SAMBA_SUBSYSTEM('registry_common',
23 source
='tools/common.c',
24 autoproto
='tools/common.h',
25 public_deps
='registry'
29 bld
.SAMBA_BINARY('regdiff',
30 source
='tools/regdiff.c',
31 manpages
='man/regdiff.1',
32 deps
='samba-hostconfig registry popt POPT_SAMBA POPT_CREDENTIALS'
36 bld
.SAMBA_BINARY('regpatch',
37 source
='tools/regpatch.c',
38 manpages
='man/regpatch.1',
39 deps
='samba-hostconfig registry popt POPT_SAMBA POPT_CREDENTIALS registry_common'
43 bld
.SAMBA_BINARY('regshell',
44 source
='tools/regshell.c',
45 manpages
='man/regshell.1',
46 deps
='samba-hostconfig popt registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common'
50 bld
.SAMBA_BINARY('regtree',
51 source
='tools/regtree.c',
52 manpages
='man/regtree.1',
53 deps
='samba-hostconfig popt registry POPT_SAMBA POPT_CREDENTIALS registry_common'
57 bld
.SAMBA_SUBSYSTEM('torture_registry',
58 source
='tests/generic.c tests/hive.c tests/diff.c tests/registry.c',
59 autoproto
='tests/proto.h',
60 deps
='torture registry'
64 bld
.SAMBA_PYTHON('py_registry',
65 source
='pyregistry.c',
66 public_deps
='registry pytalloc-util pyparam_util',
67 realname
='samba/registry.so'