summaryrefslogtreecommitdiff
path: root/source4/param/wscript_build
blob: 35b723584ee9bf49503d704b3c254d716baed3bd (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
#!/usr/bin/env python

bld.SAMBA_LIBRARY('libsamba-hostconfig',
	source='loadparm.c generic.c util.c',
	pc_files='samba-hostconfig.pc',
	vnum='0.0.1',
	deps='DYNCONFIG CHARSET',
	public_deps='libsamba-util',
	public_headers='param.h',
	autoproto='param_proto.h',
	)


bld.SAMBA_SUBSYSTEM('PROVISION',
	source='provision.c pyparam.c',
	deps='LIBPYTHON pyparam_util ldb PYTALLOC',
	pyext=True,
	)


bld.SAMBA_SUBSYSTEM('share',
	source='share.c',
	public_headers='share.h',
	deps='libsamba-util'
	)


bld.SAMBA_MODULE('share_classic',
	source='share_classic.c',
	subsystem='share',
	init_function='share_classic_init',
	deps='libsamba-util'
	)


bld.SAMBA_MODULE('share_ldb',
	source='share_ldb.c',
	subsystem='share',
	init_function='share_ldb_init',
	deps='LDBSAMBA'
	)


bld.SAMBA_SUBSYSTEM('SECRETS',
	source='secrets.c',
	deps='ldb TDB_WRAP UTIL_TDB NDR_SECURITY tevent LDBSAMBA'
	)


bld.SAMBA_PYTHON('param',
	source='pyparam.c',
	deps='libsamba-hostconfig PYTALLOC',
	realname='samba/param.so'
	)


bld.SAMBA_SUBSYSTEM('pyparam_util',
	source='pyparam_util.c',
	deps='LIBPYTHON libsamba-hostconfig',
	pyext=True,
	)

bld.SAMBA_LIBRARY('shares',
                  source=[],
                  deps='share share_classic share_ldb',
                  grouping_library=True,
                  private_library=True)