summaryrefslogtreecommitdiff
path: root/source3/param/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-10-14 15:46:43 +1300
committerStefan Metzmacher <metze@samba.org>2013-10-16 09:31:41 +0200
commit033dc776de81b9674735f1ac0ed4085503068e60 (patch)
tree968913401088089412622365f7f3bc4a0bbf6b0b /source3/param/wscript_build
parent651cf893903147cf6d3f1ccb6432c2661cdc36c5 (diff)
downloadsamba-033dc776de81b9674735f1ac0ed4085503068e60.tar.gz
samba-033dc776de81b9674735f1ac0ed4085503068e60.tar.bz2
samba-033dc776de81b9674735f1ac0ed4085503068e60.zip
param: Autogenerate s3 lp_ctx glue table
This allows us to use more lpcfg_ functions without adding them manually. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/param/wscript_build')
-rw-r--r--source3/param/wscript_build5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/param/wscript_build b/source3/param/wscript_build
index 643c27eac4..673cb4d049 100644
--- a/source3/param/wscript_build
+++ b/source3/param/wscript_build
@@ -18,6 +18,11 @@ bld.SAMBA_GENERATOR('s3_param_proto_h',
target='param_proto.h',
rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT}')
+bld.SAMBA_GENERATOR('s3_loadparm_ctx_table_c',
+ source= ' ../../script/mks3param_ctx_table.pl ../../lib/param/loadparm.c ../../lib/param/param_functions.c',
+ target='loadparm_ctx_table.c',
+ 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',