s3: use nsec_time_diff instead of TspecDiff
[Samba/gbeck.git] / source4 / param / wscript_build
blob749aab36e254cff174d99ed3aff9bbd624b9c1aa
1 #!/usr/bin/env python
3 bld.SAMBA_LIBRARY('LIBSAMBA-HOSTCONFIG',
4 source='loadparm.c generic.c util.c',
5 pc_files='samba-hostconfig.pc',
6 vnum='0.0.1',
7 deps='DYNCONFIG CHARSET',
8 public_deps='LIBSAMBA-UTIL',
9 public_headers='param.h',
10 autoproto='param_proto.h',
14 bld.SAMBA_SUBSYSTEM('PROVISION',
15 source='provision.c pyparam.c',
16 deps='LIBPYTHON pyparam_util ldb PYTALLOC',
17 needs_python=True,
21 bld.SAMBA_SUBSYSTEM('share',
22 source='share.c',
23 public_headers='share.h',
24 deps='LIBSAMBA-UTIL'
28 bld.SAMBA_MODULE('share_classic',
29 source='share_classic.c',
30 subsystem='share',
31 init_function='share_classic_init',
32 deps='LIBSAMBA-UTIL'
36 bld.SAMBA_MODULE('share_ldb',
37 source='share_ldb.c',
38 subsystem='share',
39 init_function='share_ldb_init',
40 deps='LDBSAMBA'
44 bld.SAMBA_SUBSYSTEM('SECRETS',
45 source='secrets.c',
46 deps='ldb TDB_WRAP UTIL_TDB NDR_SECURITY tevent'
50 bld.SAMBA_PYTHON('param',
51 source='pyparam.c',
52 deps='LIBSAMBA-HOSTCONFIG PYTALLOC',
53 realname='samba/param.so'
57 bld.SAMBA_SUBSYSTEM('pyparam_util',
58 source='pyparam_util.c',
59 deps='LIBPYTHON LIBSAMBA-HOSTCONFIG',
60 needs_python=True