1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
samba-mirror/source3/param/wscript_build
Andrew Bartlett 907f49ef1f lib/param: Mark source code generators as group build_source
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Feb 10 05:56:58 CET 2014 on sn-devel-104
2014-02-10 05:56:58 +01:00

46 lines
1.9 KiB
Python

#!/usr/bin/env python
bld.SAMBA3_SUBSYSTEM('PARAM_UTIL',
source='util.c',
deps='talloc')
bld.SAMBA3_SUBSYSTEM('LOADPARM_CTX',
source='loadparm_ctx.c',
deps='''talloc s3_param_h param''')
bld.SAMBA_GENERATOR('s3_param_global_h',
source= '../../script/mkparamdefs.pl loadparm.c ../../lib/param/param_functions.c',
target='param_global.h',
group='build_source',
rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
bld.SAMBA_GENERATOR('s3_param_proto_h',
source= '../../script/mks3param_proto.pl loadparm.c ../../lib/param/param_functions.c',
target='param_proto.h',
group='build_source',
rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT}')
bld.SAMBA_GENERATOR('s3_loadparm_ctx_table_c',
source= ' ../../script/mks3param_ctx_table.pl ../../lib/param/loadparm.c ../../lib/param/param_functions.c',
target='loadparm_ctx_table.c',
group='build_source',
rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT}')
bld.SAMBA3_PYTHON('pys3param',
source='pyparam.c',
deps='param',
public_deps='samba-hostconfig pytalloc-util talloc',
realname='samba/samba3/param.so')
bld.SAMBA3_SUBSYSTEM('param_service',
source='service.c',
deps = 'USER_UTIL param PRINTING')
bld.SAMBA3_BINARY('test_lp_load',
source='test_lp_load.c',
deps='''
talloc
param
popt_samba3''',
install=False)