5c1f03057d76eeaf6c4e391ddccc0ecbc48d723b
[nivanova/samba-autobuild/.git] / source4 / lib / registry / wscript_build
1 bld.SAMBA_PIDL('PIDL_REG',
2                source='regf.idl',
3                options='--header --tdr-parser')
4
5 bld.SAMBA_SUBSYSTEM('TDR_REGF',
6         source='tdr_regf.c',
7         public_deps='TDR'
8         )
9
10
11 bld.SAMBA_LIBRARY('registry',
12         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',
13         pc_files='registry.pc',
14         public_deps='LIBSAMBA-UTIL CHARSET TDR_REGF ldb RPC_NDR_WINREG LDB_WRAP',
15         public_headers='registry.h',
16         vnum='0.0.1'
17         )
18
19
20 bld.SAMBA_SUBSYSTEM('registry_common',
21         source='tools/common.c',
22         autoproto='tools/common.h',
23         public_deps='registry'
24         )
25
26
27 bld.SAMBA_BINARY('regdiff',
28         source='tools/regdiff.c',
29         manpages='man/regdiff.1',
30         installdir='BINDIR',
31         deps='LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS'
32         )
33
34
35 bld.SAMBA_BINARY('regpatch',
36         source='tools/regpatch.c',
37         manpages='man/regpatch.1',
38         installdir='BINDIR',
39         deps='LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS registry_common'
40         )
41
42
43 bld.SAMBA_BINARY('regshell',
44         source='tools/regshell.c',
45         manpages='man/regshell.1',
46         installdir='BINDIR',
47         deps='LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common'
48         )
49
50
51 bld.SAMBA_BINARY('regtree',
52         source='tools/regtree.c',
53         manpages='man/regtree.1',
54         installdir='BINDIR',
55         deps='LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS registry_common'
56         )
57
58
59 bld.SAMBA_SUBSYSTEM('torture_registry',
60         source='tests/generic.c tests/hive.c tests/diff.c tests/registry.c',
61         autoproto='tests/proto.h',
62         deps='torture registry'
63         )
64
65
66 bld.SAMBA_PYTHON('py_registry',
67         source='pyregistry.c',
68         public_deps='registry PYTALLOC pycredentials pyparam_util',
69         realname='samba/registry.so'
70         )
71