3 bld.SAMBA_GENERATOR('param_local_h',
4 source= '../../script/mkparamdefs.pl param_functions.c ',
5 target='param_local.h',
7 rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} --file ${TGT} --generate-scope=LOCAL')
10 bld.SAMBA_GENERATOR('s3_param_h',
11 source= ' ../../script/mks3param.pl loadparm.c param_functions.c',
14 rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT}')
17 bld.SAMBA_GENERATOR('param_global_h',
18 source= '../../script/mkparamdefs.pl loadparm.c param_functions.c',
19 target='param_global.h',
21 rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
23 bld.SAMBA_LIBRARY('server-role',
24 source='loadparm_server_role.c',
28 bld.SAMBA_LIBRARY('samba-hostconfig',
29 source='loadparm.c generic.c util.c',
30 pc_files='samba-hostconfig.pc',
32 deps='DYNCONFIG server-role',
33 public_deps='samba-util param_local_h',
34 public_headers='param.h',
35 autoproto='param_proto.h',
36 autoproto_extra_source='param_functions.c'