diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-10-14 13:47:27 +1300 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-10-16 09:28:02 +0200 |
commit | 6ac33b7f2ec574af356e5286831952519026246e (patch) | |
tree | d93e3e337618fd8c449ab76507a1d72de48ead92 /source3/param | |
parent | 785e8d8c326eeb5f76b41584cf7ca86bee9feab4 (diff) | |
download | samba-6ac33b7f2ec574af356e5286831952519026246e.tar.gz samba-6ac33b7f2ec574af356e5286831952519026246e.tar.bz2 samba-6ac33b7f2ec574af356e5286831952519026246e.zip |
build: Move loadparm-related build rules to source3/param/wscript_build
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/wscript_build | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/source3/param/wscript_build b/source3/param/wscript_build new file mode 100644 index 0000000000..278d5f5d5f --- /dev/null +++ b/source3/param/wscript_build @@ -0,0 +1,32 @@ +#!/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', + rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT} --generate-scope=GLOBAL') + +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) |