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 dir.c rpc.c',
15 pc_files='registry.pc',
16 public_deps='LIBSAMBA-UTIL CHARSET TDR_REGF ldb RPC_NDR_WINREG LDB_WRAP',
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',
33 deps='LIBSAMBA-HOSTCONFIG registry popt POPT_SAMBA POPT_CREDENTIALS'
37 bld.SAMBA_BINARY('regpatch',
38 source='tools/regpatch.c',
39 manpages='man/regpatch.1',
41 deps='LIBSAMBA-HOSTCONFIG registry popt POPT_SAMBA POPT_CREDENTIALS registry_common'
45 bld.SAMBA_BINARY('regshell',
46 source='tools/regshell.c',
47 manpages='man/regshell.1',
49 deps='LIBSAMBA-HOSTCONFIG popt registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common'
53 bld.SAMBA_BINARY('regtree',
54 source='tools/regtree.c',
55 manpages='man/regtree.1',
57 deps='LIBSAMBA-HOSTCONFIG popt registry POPT_SAMBA POPT_CREDENTIALS registry_common'
61 bld.SAMBA_SUBSYSTEM('torture_registry',
62 source='tests/generic.c tests/hive.c tests/diff.c tests/registry.c',
63 autoproto='tests/proto.h',
64 deps='torture registry'
68 bld.SAMBA_PYTHON('py_registry',
69 source='pyregistry.c',
70 public_deps='registry PYTALLOC pycredentials pyparam_util',
71 realname='samba/registry.so'