summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-01 14:36:25 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-07-02 12:31:34 +1000
commit4f3a155fb5e348abb76c5608dc7c765ef61a7781 (patch)
treee27237f025eb6d768895a89adfc5e1de62bf869b /source3/wscript_build
parentd4ef70a7645fb2fb21c565566c20619ff5d1a7ec (diff)
downloadsamba-4f3a155fb5e348abb76c5608dc7c765ef61a7781.tar.gz
samba-4f3a155fb5e348abb76c5608dc7c765ef61a7781.tar.bz2
samba-4f3a155fb5e348abb76c5608dc7c765ef61a7781.zip
s3-param Generate parameter tables
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build12
1 files changed, 11 insertions, 1 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 1489266ec6..301d851dd3 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -735,9 +735,19 @@ if bld.env.toplevel_build:
deps='''s3_param_h param''',
vars=locals())
+bld.SAMBA_GENERATOR('param/param_local_h',
+ source= 'param/loadparm.c ../script/mkparamdefs.pl',
+ target='param/param_local.h',
+ rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT} --generate-scope=LOCAL')
+
+bld.SAMBA_GENERATOR('param/param_global_h',
+ source= 'param/loadparm.c ../script/mkparamdefs.pl',
+ target='param/param_global.h',
+ rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
+
bld.SAMBA3_SUBSYSTEM('param',
source=PARAM_WITHOUT_REG_SRC,
- deps='samba-util PARAM_UTIL smbd_conn ldap lber LOADPARM_CTX samba3core smbconf''')
+ deps='samba-util PARAM_UTIL smbd_conn ldap lber LOADPARM_CTX samba3core smbconf param/param_local_h param/param_global_h''')
bld.SAMBA3_SUBSYSTEM('param_service',
source='param/service.c',