From 651cf893903147cf6d3f1ccb6432c2661cdc36c5 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 14 Oct 2013 15:39:10 +1300 Subject: s3/param: Autogenerate parameters prototypes again after proto.h was frozen This autogenerates the parameters so that we can keep everything in sync easier, particularly when adding new parameters. This will also make it easier to move to a fully autogenerated system in the future, as it reduces special cases. Andrew Bartlett Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher --- source3/param/wscript_build | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/param') diff --git a/source3/param/wscript_build b/source3/param/wscript_build index 278d5f5d5f..643c27eac4 100644 --- a/source3/param/wscript_build +++ b/source3/param/wscript_build @@ -13,6 +13,11 @@ bld.SAMBA_GENERATOR('s3_param_global_h', target='param_global.h', rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT} --generate-scope=GLOBAL') +bld.SAMBA_GENERATOR('s3_param_proto_h', + source= '../../script/mks3param_proto.pl loadparm.c ../../lib/param/param_functions.c', + target='param_proto.h', + rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT}') + bld.SAMBA3_PYTHON('pys3param', source='pyparam.c', deps='param', -- cgit