packaging/RHEL-CTDB: try harder to set $RPMVER
[Samba/gbeck.git] / source4 / param / wscript_build
blob4585a83199807543788d7ae5e2b05d23db304d74
1 #!/usr/bin/env python
3 bld.SAMBA_SUBSYSTEM('PROVISION',
4 source='provision.c pyparam.c',
5 deps='LIBPYTHON pyparam_util ldb pytalloc-util pyldb-util',
6 pyext=True,
10 bld.SAMBA_SUBSYSTEM('share',
11 source='share.c',
12 public_headers='share.h',
13 deps='samba-util samba-modules'
17 bld.SAMBA_MODULE('share_classic',
18 source='share_classic.c',
19 subsystem='share',
20 init_function='share_classic_init',
21 deps='samba-util'
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'
33 bld.SAMBA_SUBSYSTEM('SECRETS',
34 source='secrets.c',
35 deps='ldb tdb-wrap util_tdb NDR_SECURITY tevent ldbwrap'
39 bld.SAMBA_PYTHON('pyparam',
40 source='pyparam.c',
41 deps='samba-hostconfig pytalloc-util',
42 realname='samba/param.so'
45 bld.SAMBA_SUBSYSTEM('param_options',
46 source='loadparm.c',
47 deps='samba-hostconfig')
50 bld.SAMBA_SUBSYSTEM('pyparam_util',
51 source='pyparam_util.c',
52 deps='LIBPYTHON samba-hostconfig',
53 pyext=True,
56 bld.SAMBA_LIBRARY('shares',
57 source=[],
58 deps='share',
59 grouping_library=True,
60 private_library=True)