s4-waf: enable the pc_files in the build rules
[nivanova/samba-autobuild/.git] / source4 / param / wscript_build
1 bld.SAMBA_LIBRARY('LIBSAMBA-HOSTCONFIG',
2         source='loadparm.c generic.c util.c',
3         pc_files='samba-hostconfig.pc',
4         vnum='0.0.1',
5         deps='DYNCONFIG LIBREPLACE_EXT CHARSET dl',
6         public_deps='LIBSAMBA-UTIL',
7         public_headers='param.h'
8         )
9
10
11 bld.SAMBA_PYTHON('PROVISION',
12         source='provision.c pyparam.c',
13         deps='LIBPYTHON pyparam_util ldb'
14         )
15
16
17 bld.SAMBA_SUBSYSTEM('share',
18         source='share.c',
19         autoproto='share_proto.h',
20         public_headers='share.h',
21         deps='LIBSAMBA-UTIL'
22         )
23
24
25 bld.SAMBA_MODULE('share_classic',
26         source='share_classic.c',
27         subsystem='share',
28         init_function='share_classic_init',
29         deps='LIBSAMBA-UTIL'
30         )
31
32
33 bld.SAMBA_MODULE('share_ldb',
34         source='share_ldb.c',
35         subsystem='share',
36         init_function='share_ldb_init',
37         deps='ldb LDB_WRAP'
38         )
39
40
41 bld.SAMBA_SUBSYSTEM('SECRETS',
42         source='secrets.c',
43         deps='ldb TDB_WRAP UTIL_TDB NDR_SECURITY'
44         )
45
46
47 bld.SAMBA_PYTHON('param',
48         source='pyparam.c',
49         deps='LIBSAMBA-HOSTCONFIG PYTALLOC',
50         realname='samba/param.so'
51         )
52
53
54 bld.SAMBA_PYTHON('pyparam_util',
55         source='pyparam_util.c',
56         deps='LIBPYTHON'
57         )
58