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 public_deps='dcerpc samba-util TDR_REGF ldb RPC_NDR_WINREG ldbsamba util_reg',
16 private_headers='registry.h',
21 bld.SAMBA_SUBSYSTEM('registry_common',
22 source='tools/common.c',
23 autoproto='tools/common.h',
24 public_deps='registry'
28 bld.SAMBA_BINARY('regdiff',
29 source='tools/regdiff.c',
30 manpages='man/regdiff.1',
31 deps='samba-hostconfig registry popt POPT_SAMBA POPT_CREDENTIALS'
35 bld.SAMBA_BINARY('regpatch',
36 source='tools/regpatch.c',
37 manpages='man/regpatch.1',
38 deps='samba-hostconfig registry popt POPT_SAMBA POPT_CREDENTIALS registry_common'
42 bld.SAMBA_BINARY('regshell',
43 source='tools/regshell.c',
44 manpages='man/regshell.1',
45 deps='samba-hostconfig popt registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common'
49 bld.SAMBA_BINARY('regtree',
50 source='tools/regtree.c',
51 manpages='man/regtree.1',
52 deps='samba-hostconfig popt registry POPT_SAMBA POPT_CREDENTIALS registry_common'
56 bld.SAMBA_SUBSYSTEM('torture_registry',
57 source='tests/generic.c tests/hive.c tests/diff.c tests/registry.c',
58 autoproto='tests/proto.h',
59 deps='torture registry'
63 bld.SAMBA_PYTHON('py_registry',
64 source='pyregistry.c',
65 public_deps='registry pytalloc-util pyparam_util',
66 realname='samba/registry.so'