From dde4d6fce9e3daa6a2332b9cbc0165a18fca0ccd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 28 May 2012 17:30:44 +1000 Subject: 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 --- lib/param/wscript_build | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/param/wscript_build') 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', -- cgit