summaryrefslogtreecommitdiff
path: root/lib/param/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-05-28 17:30:44 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-05-30 04:15:12 +0200
commitdde4d6fce9e3daa6a2332b9cbc0165a18fca0ccd (patch)
tree8f7d0776908c11f53271eb517400f01115d58ad4 /lib/param/wscript_build
parent3dcea0f6c7d8cd08a4affe3b54061cdcb2de1c50 (diff)
downloadsamba-dde4d6fce9e3daa6a2332b9cbc0165a18fca0ccd.tar.gz
samba-dde4d6fce9e3daa6a2332b9cbc0165a18fca0ccd.tar.bz2
samba-dde4d6fce9e3daa6a2332b9cbc0165a18fca0ccd.zip
lib/param: Put common FN_ macros into param_functions.c
This will in turn make it possible to put the actual parameter definitions in common. Andrew Bartlett
Diffstat (limited to 'lib/param/wscript_build')
-rw-r--r--lib/param/wscript_build12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/param/wscript_build b/lib/param/wscript_build
index 13b7709abf..10e05a3072 100644
--- a/lib/param/wscript_build
+++ b/lib/param/wscript_build
@@ -1,20 +1,20 @@
#!/usr/bin/env python
bld.SAMBA_GENERATOR('param_local_h',
- source= 'param_functions.c ../../script/mkparamdefs.pl',
+ source= '../../script/mkparamdefs.pl param_functions.c ',
target='param_local.h',
- rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT} --generate-scope=LOCAL')
+ rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} --file ${TGT} --generate-scope=LOCAL')
bld.SAMBA_GENERATOR('s3_param_h',
- source= 'loadparm.c ../../script/mks3param.pl',
+ source= ' ../../script/mks3param.pl loadparm.c param_functions.c',
target='s3_param.h',
- rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT}')
+ rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT}')
bld.SAMBA_GENERATOR('param_global_h',
- source= 'loadparm.c ../../script/mkparamdefs.pl',
+ source= '../../script/mkparamdefs.pl loadparm.c param_functions.c',
target='param_global.h',
- rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
+ rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
bld.SAMBA_LIBRARY('server-role',
source='loadparm_server_role.c',