rap: use astring in IDL.
[Samba/ekacnet.git] / source4 / param / wscript_build
blob1308829801b679073e8ed11318fb3fad872c6571
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'
13 bld.SAMBA_PYTHON('PROVISION',
14 source='provision.c pyparam.c',
15 deps='LIBPYTHON pyparam_util ldb'
19 bld.SAMBA_SUBSYSTEM('share',
20 source='share.c',
21 autoproto='share_proto.h',
22 public_headers='share.h',
23 deps='LIBSAMBA-UTIL'
27 bld.SAMBA_MODULE('share_classic',
28 source='share_classic.c',
29 subsystem='share',
30 init_function='share_classic_init',
31 deps='LIBSAMBA-UTIL'
35 bld.SAMBA_MODULE('share_ldb',
36 source='share_ldb.c',
37 subsystem='share',
38 init_function='share_ldb_init',
39 deps='ldb LDB_WRAP'
43 bld.SAMBA_SUBSYSTEM('SECRETS',
44 source='secrets.c',
45 deps='ldb TDB_WRAP UTIL_TDB NDR_SECURITY tevent'
49 bld.SAMBA_PYTHON('param',
50 source='pyparam.c',
51 deps='LIBSAMBA-HOSTCONFIG PYTALLOC',
52 realname='samba/param.so'
56 bld.SAMBA_PYTHON('pyparam_util',
57 source='pyparam_util.c',
58 deps='LIBPYTHON'