summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
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',