summaryrefslogtreecommitdiff
path: root/source4/param/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-06 19:34:50 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-11 13:41:34 +1100
commitb21b012756dbb9e7022280b34d7103a5dcbea6d6 (patch)
treeda02a819454751095f72dde2235dd05e76c3c966 /source4/param/wscript_build
parent6bed57788c2341a92e1c4431ea764bf037431254 (diff)
downloadsamba-b21b012756dbb9e7022280b34d7103a5dcbea6d6.tar.gz
lib/param move source4 param code to the top level
This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
Diffstat (limited to 'source4/param/wscript_build')
-rw-r--r--source4/param/wscript_build26
1 files changed, 4 insertions, 22 deletions
diff --git a/source4/param/wscript_build b/source4/param/wscript_build
index 91e128f916c..80b2758766c 100644
--- a/source4/param/wscript_build
+++ b/source4/param/wscript_build
@@ -1,27 +1,5 @@
#!/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_GENERATOR('param_global_h',
- source= 'loadparm.c ../../script/mkparamdefs.pl',
- target='param_global.h',
- rule='${PERL} ${SRC[1].abspath(env)} ${SRC[0].abspath(env)} --file ${TGT} --generate-scope=GLOBAL')
-
-bld.SAMBA_LIBRARY('samba-hostconfig',
- source='loadparm.c generic.c util.c',
- pc_files='samba-hostconfig.pc',
- vnum='0.0.1',
- deps='DYNCONFIG',
- public_deps='samba-util param_local_h',
- public_headers='param.h',
- autoproto='param_proto.h',
- autoproto_extra_source='../../lib/param/param_functions.c'
- )
-
-
bld.SAMBA_SUBSYSTEM('PROVISION',
source='provision.c pyparam.c',
deps='LIBPYTHON pyparam_util ldb pytalloc-util pyldb-util',
@@ -64,6 +42,10 @@ bld.SAMBA_PYTHON('pyparam',
realname='samba/param.so'
)
+bld.SAMBA_SUBSYSTEM('param_options',
+ source='loadparm.c',
+ deps='samba-hostconfig')
+
bld.SAMBA_SUBSYSTEM('pyparam_util',
source='pyparam_util.c',