lib/param move source4 param code to the top level
[sfrench/samba-autobuild/.git] / source4 / param / wscript_build
index 91e128f916c16a1c6ab35627f40672c4e461791f..80b2758766caf2d7c45d329c66a45215314646a5 100644 (file)
@@ -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',