ctdb-scripts: Move connection tracking to 10.interface
[samba4-gss.git] / source4 / lib / registry / wscript_build
blob2e01e43d4aa049b3ecba85ed22177df711ceeeb5
1 #!/usr/bin/env python
3 bld.SAMBA_PIDL('PIDL_REG',
4 source='regf.idl',
5 options='--header --tdr-parser')
7 bld.SAMBA_SUBSYSTEM('TDR_REGF',
8 source='tdr_regf.c',
9 public_deps='TDR'
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',
17 private_library=True
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 CMDLINE_S4'
35 bld.SAMBA_BINARY('regpatch',
36 source='tools/regpatch.c',
37 manpages='man/regpatch.1',
38 deps='samba-hostconfig registry popt CMDLINE_S4 registry_common'
42 bld.SAMBA_BINARY('regshell',
43 source='tools/regshell.c',
44 manpages='man/regshell.1',
45 deps='samba-hostconfig popt registry CMDLINE_S4 SMBREADLINE registry_common'
49 bld.SAMBA_BINARY('regtree',
50 source='tools/regtree.c',
51 manpages='man/regtree.1',
52 deps='samba-hostconfig popt registry CMDLINE_S4 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'
62 pytalloc_util = bld.pyembed_libname('pytalloc-util')
63 pyparam_util = bld.pyembed_libname('pyparam_util')
65 bld.SAMBA_PYTHON('py_registry',
66 source='pyregistry.c',
67 public_deps='registry %s %s' % (pytalloc_util, pyparam_util),
68 realname='samba/registry.so'