lib/param move source4 param code to the top level
[sfrench/samba-autobuild/.git] / source4 / param / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('PROVISION',
4         source='provision.c pyparam.c',
5         deps='LIBPYTHON pyparam_util ldb pytalloc-util pyldb-util',
6         pyext=True,
7         )
8
9
10 bld.SAMBA_SUBSYSTEM('share',
11         source='share.c',
12         public_headers='share.h',
13         deps='samba-util samba-modules'
14         )
15
16
17 bld.SAMBA_MODULE('share_classic',
18         source='share_classic.c',
19         subsystem='share',
20         init_function='share_classic_init',
21         deps='samba-util'
22         )
23
24
25 bld.SAMBA_MODULE('share_ldb',
26         source='share_ldb.c',
27         subsystem='share',
28         init_function='share_ldb_init',
29         deps='ldbsamba auth_system_session'
30         )
31
32
33 bld.SAMBA_SUBSYSTEM('SECRETS',
34         source='secrets.c',
35         deps='ldb tdb-wrap UTIL_TDB NDR_SECURITY tevent ldbwrap'
36         )
37
38
39 bld.SAMBA_PYTHON('pyparam',
40         source='pyparam.c',
41         deps='samba-hostconfig pytalloc-util',
42         realname='samba/param.so'
43         )
44
45 bld.SAMBA_SUBSYSTEM('param_options',
46         source='loadparm.c',
47         deps='samba-hostconfig')
48
49
50 bld.SAMBA_SUBSYSTEM('pyparam_util',
51         source='pyparam_util.c',
52         deps='LIBPYTHON samba-hostconfig',
53         pyext=True,
54         )
55
56 bld.SAMBA_LIBRARY('shares',
57                   source=[],
58                   deps='share',
59                   grouping_library=True,
60                   private_library=True)