diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-01 23:22:24 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-06 17:37:51 +1000 |
commit | 1dfc6fa558e7735341a7095aa46e5568a4f56cfe (patch) | |
tree | 80c2474135ebb6eedb8287b2a469e3dd5754a68c /source4/param/wscript_build | |
parent | 521687be0d4bcd6326417696fabdce6506824b99 (diff) | |
download | samba-1dfc6fa558e7735341a7095aa46e5568a4f56cfe.tar.gz samba-1dfc6fa558e7735341a7095aa46e5568a4f56cfe.tar.bz2 samba-1dfc6fa558e7735341a7095aa46e5568a4f56cfe.zip |
s4-param Add hook between Samba3 and Samba4 loadparm systems.
In the top level build, this allows calls to code that requires a
lpcfg_ style loadparm_context, while using the global parameters
loaded from the source3 loadparm code.
Andrew Bartlett
Diffstat (limited to 'source4/param/wscript_build')
-rw-r--r-- | source4/param/wscript_build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/param/wscript_build b/source4/param/wscript_build index 72674e5574..98e838133e 100644 --- a/source4/param/wscript_build +++ b/source4/param/wscript_build @@ -1,5 +1,10 @@ #!/usr/bin/env python +bld.SAMBA_GENERATOR('s3_param_h', + source= 'loadparm.c ../script/mks3param.pl', + target='s3_param.h', + rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT}') + bld.SAMBA_LIBRARY('samba-hostconfig', source='loadparm.c generic.c util.c', pc_files='samba-hostconfig.pc', |