s3-utils: net - Fix one error/usage message
[Samba/gebeck_regimport.git] / lib / param / wscript_build
blobf61e822037553c2155104fc057274ca6574fbece
1 #!/usr/bin/env python
3 bld.SAMBA_GENERATOR('param_local_h',
4 source= 'param_functions.c ../../script/mkparamdefs.pl',
5 target='param_local.h',
6 rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT} --generate-scope=LOCAL')
9 bld.SAMBA_GENERATOR('s3_param_h',
10 source= 'loadparm.c ../../script/mks3param.pl',
11 target='s3_param.h',
12 rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT}')
14 bld.SAMBA_GENERATOR('param_global_h',
15 source= 'loadparm.c ../../script/mkparamdefs.pl',
16 target='param_global.h',
17 rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
19 bld.SAMBA_LIBRARY('samba-hostconfig',
20 source='loadparm.c generic.c util.c',
21 pc_files='samba-hostconfig.pc',
22 vnum='0.0.1',
23 deps='DYNCONFIG',
24 public_deps='samba-util param_local_h',
25 public_headers='param.h',
26 autoproto='param_proto.h',
27 autoproto_extra_source='param_functions.c'