summaryrefslogtreecommitdiff
path: root/source4/lib/registry/wscript_build
blob: ad1139681b3cd51c554fe690c6713cb784c61ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python

bld.SAMBA_PIDL('PIDL_REG',
               source='regf.idl',
               options='--header --tdr-parser')

bld.SAMBA_SUBSYSTEM('TDR_REGF',
	source='tdr_regf.c',
	public_deps='TDR'
	)


bld.SAMBA_LIBRARY('registry',
	source='interface.c ../../../libcli/registry/util_reg.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',
	pc_files='registry.pc',
	public_deps='samba-util CHARSET TDR_REGF ldb RPC_NDR_WINREG LDBSAMBA',
	public_headers='registry.h',
	vnum='0.0.1'
	)


bld.SAMBA_SUBSYSTEM('registry_common',
	source='tools/common.c',
	autoproto='tools/common.h',
	public_deps='registry'
	)


bld.SAMBA_BINARY('regdiff',
	source='tools/regdiff.c',
	manpages='man/regdiff.1',
	deps='samba-hostconfig registry popt POPT_SAMBA POPT_CREDENTIALS'
	)


bld.SAMBA_BINARY('regpatch',
	source='tools/regpatch.c',
	manpages='man/regpatch.1',
	deps='samba-hostconfig registry popt POPT_SAMBA POPT_CREDENTIALS registry_common'
	)


bld.SAMBA_BINARY('regshell',
	source='tools/regshell.c',
	manpages='man/regshell.1',
	deps='samba-hostconfig popt registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common'
	)


bld.SAMBA_BINARY('regtree',
	source='tools/regtree.c',
	manpages='man/regtree.1',
	deps='samba-hostconfig popt registry POPT_SAMBA POPT_CREDENTIALS registry_common'
	)


bld.SAMBA_SUBSYSTEM('torture_registry',
	source='tests/generic.c tests/hive.c tests/diff.c tests/registry.c',
	autoproto='tests/proto.h',
	deps='torture registry'
	)


bld.SAMBA_PYTHON('py_registry',
	source='pyregistry.c',
	public_deps='registry pytalloc-util pyparam_util',
	realname='samba/registry.so'
	)