s3-libsmb: put namequery headers to nmblib.h
[Samba.git] / source4 / param / wscript_build
blob72674e5574040e7f02f84d01f90da383dc2cdd07
1 #!/usr/bin/env python
3 bld.SAMBA_LIBRARY('samba-hostconfig',
4 source='loadparm.c generic.c util.c',
5 pc_files='samba-hostconfig.pc',
6 vnum='0.0.1',
7 deps='DYNCONFIG',
8 public_deps='samba-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-util pyldb-util',
17 pyext=True,
21 bld.SAMBA_SUBSYSTEM('share',
22 source='share.c',
23 public_headers='share.h',
24 deps='samba-util'
28 bld.SAMBA_MODULE('share_classic',
29 source='share_classic.c',
30 subsystem='share',
31 init_function='share_classic_init',
32 deps='samba-util'
36 bld.SAMBA_MODULE('share_ldb',
37 source='share_ldb.c',
38 subsystem='share',
39 init_function='share_ldb_init',
40 deps='ldbsamba auth_system_session'
44 bld.SAMBA_SUBSYSTEM('SECRETS',
45 source='secrets.c',
46 deps='ldb tdb-wrap UTIL_TDB NDR_SECURITY tevent ldbwrap'
50 bld.SAMBA_PYTHON('pyparam',
51 source='pyparam.c',
52 deps='samba-hostconfig pytalloc-util',
53 realname='samba/param.so'
57 bld.SAMBA_SUBSYSTEM('pyparam_util',
58 source='pyparam_util.c',
59 deps='LIBPYTHON samba-hostconfig',
60 pyext=True,
63 bld.SAMBA_LIBRARY('shares',
64 source=[],
65 deps='share share_classic share_ldb',
66 grouping_library=True,
67 private_library=True)