s4-waf: removed the unused installdir= option to SAMBA_BINARY()
[kai/samba.git] / source4 / lib / registry / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_PIDL('PIDL_REG',
4                source='regf.idl',
5                options='--header --tdr-parser')
6
7 bld.SAMBA_SUBSYSTEM('TDR_REGF',
8         source='tdr_regf.c',
9         public_deps='TDR'
10         )
11
12
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',
18         vnum='0.0.1'
19         )
20
21
22 bld.SAMBA_SUBSYSTEM('registry_common',
23         source='tools/common.c',
24         autoproto='tools/common.h',
25         public_deps='registry'
26         )
27
28
29 bld.SAMBA_BINARY('regdiff',
30         source='tools/regdiff.c',
31         manpages='man/regdiff.1',
32         deps='LIBSAMBA-HOSTCONFIG registry popt POPT_SAMBA POPT_CREDENTIALS'
33         )
34
35
36 bld.SAMBA_BINARY('regpatch',
37         source='tools/regpatch.c',
38         manpages='man/regpatch.1',
39         deps='LIBSAMBA-HOSTCONFIG registry popt 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         deps='LIBSAMBA-HOSTCONFIG popt registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common'
47         )
48
49
50 bld.SAMBA_BINARY('regtree',
51         source='tools/regtree.c',
52         manpages='man/regtree.1',
53         deps='LIBSAMBA-HOSTCONFIG popt registry POPT_SAMBA POPT_CREDENTIALS registry_common'
54         )
55
56
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'
61         )
62
63
64 bld.SAMBA_PYTHON('py_registry',
65         source='pyregistry.c',
66         public_deps='registry PYTALLOC pycredentials pyparam_util',
67         realname='samba/registry.so'
68         )
69