samba-tool: add `samba-tool domain kds root_key create`
[samba.git] / lib / param / wscript_build
blob864975a588467d7c27ad5f7f3cdc06e347984ab9
1 #!/usr/bin/env python
3 bld.SAMBA_GENERATOR('param_functions.c',
4 source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
5 target='param_functions.c',
6 group='build_source',
7 rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=FUNCTIONS')
9 bld.SAMBA_GENERATOR('param_functions.h',
10 source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
11 target='param_functions.h',
12 group='build_source',
13 rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=LIBPROTO')
15 bld.SAMBA_GENERATOR('param_local.h',
16 source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
17 target='param_local.h',
18 group='build_source',
19 rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=PARAMDEFS --scope=LOCAL')
21 bld.SAMBA_GENERATOR('param_global.h',
22 source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
23 target='param_global.h',
24 group='build_source',
25 rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=PARAMDEFS --scope=GLOBAL')
27 bld.SAMBA_GENERATOR('param_table_gen.c',
28 source='../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
29 target='param_table_gen.c',
30 group='build_source',
31 rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=PARAMTABLE')
33 bld.SAMBA_LIBRARY('server-role',
34 source='loadparm_server_role.c',
35 deps='samba-util samba-debug',
36 private_library=True)
38 bld.SAMBA_LIBRARY('samba-hostconfig',
39 source='loadparm.c util.c param_table.c',
40 pc_files='samba-hostconfig.pc',
41 vnum='0.0.1',
42 deps='DYNCONFIG server-role tdb',
43 public_deps='GNUTLS_HELPERS samba-util param_local.h',
44 public_headers='param.h',
45 autoproto='param_proto.h'