2011-07-08 03:19:43 +04:00
#!/usr/bin/env python
2014-01-14 08:53:49 +04:00
bld.SAMBA_GENERATOR('param_functions.c',
source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
target='param_functions.c',
group='build_source',
2014-01-15 07:54:29 +04:00
rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=FUNCTIONS')
2014-01-14 08:53:49 +04:00
2014-01-15 08:18:13 +04:00
bld.SAMBA_GENERATOR('param_functions.h',
source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
target='param_functions.h',
group='build_source',
rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=LIBPROTO')
2014-01-15 08:45:46 +04:00
bld.SAMBA_GENERATOR('param_local.h',
source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
2011-07-08 03:19:43 +04:00
target='param_local.h',
2014-02-03 07:44:32 +04:00
group='build_source',
2014-01-15 08:45:46 +04:00
rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=PARAMDEFS --scope=LOCAL')
2011-10-06 12:34:50 +04:00
2014-01-15 08:39:48 +04:00
bld.SAMBA_GENERATOR('param_global.h',
source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
2011-10-06 12:34:50 +04:00
target='param_global.h',
2014-02-03 07:44:32 +04:00
group='build_source',
2014-01-15 08:39:48 +04:00
rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=PARAMDEFS --scope=GLOBAL')
2011-10-06 12:34:50 +04:00
2015-04-28 12:45:43 +03:00
bld.SAMBA_GENERATOR('param_table_gen.c',
source='../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
target='param_table_gen.c',
group='build_source',
rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=PARAMTABLE')
2011-11-10 05:45:54 +04:00
bld.SAMBA_LIBRARY('server-role',
source='loadparm_server_role.c',
2017-01-17 23:40:01 +03:00
deps='samba-util samba-debug',
2011-11-10 05:45:54 +04:00
private_library=True)
2011-10-06 12:34:50 +04:00
bld.SAMBA_LIBRARY('samba-hostconfig',
2015-01-02 13:46:28 +03:00
source='loadparm.c util.c param_table.c',
2011-10-06 12:34:50 +04:00
pc_files='samba-hostconfig.pc',
vnum='0.0.1',
2014-03-26 18:06:08 +04:00
deps='DYNCONFIG server-role tdb',
2014-01-15 08:45:46 +04:00
public_deps='samba-util param_local.h',
2011-10-06 12:34:50 +04:00
public_headers='param.h',
2014-01-15 08:18:13 +04:00
autoproto='param_proto.h'
2011-10-06 12:34:50 +04:00
)