s3:smbstatus rename a function to make its purpose more clear
[Samba.git] / lib / param / wscript_build
blob10e05a3072d3f92fe76971f0cd3788fb72ba136b
1 #!/usr/bin/env python
3 bld.SAMBA_GENERATOR('param_local_h',
4 source= '../../script/mkparamdefs.pl param_functions.c ',
5 target='param_local.h',
6 rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} --file ${TGT} --generate-scope=LOCAL')
9 bld.SAMBA_GENERATOR('s3_param_h',
10 source= ' ../../script/mks3param.pl loadparm.c param_functions.c',
11 target='s3_param.h',
12 rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT}')
14 bld.SAMBA_GENERATOR('param_global_h',
15 source= '../../script/mkparamdefs.pl loadparm.c param_functions.c',
16 target='param_global.h',
17 rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
19 bld.SAMBA_LIBRARY('server-role',
20 source='loadparm_server_role.c',
21 deps='samba-util',
22 private_library=True)
24 bld.SAMBA_LIBRARY('samba-hostconfig',
25 source='loadparm.c generic.c util.c',
26 pc_files='samba-hostconfig.pc',
27 vnum='0.0.1',
28 deps='DYNCONFIG server-role',
29 public_deps='samba-util param_local_h',
30 public_headers='param.h',
31 autoproto='param_proto.h',
32 autoproto_extra_source='param_functions.c'