build: get rid of source variables and vars=locals() in source3/libgpo/gpext/wscript_...
authorMichael Adam <obnox@samba.org>
Tue, 24 Sep 2013 03:09:38 +0000 (05:09 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 24 Sep 2013 21:00:35 +0000 (23:00 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/libgpo/gpext/wscript_build

index 7595fffe2175045bc3a032f404b24fae4c2eea5f..3a120a5aff0299cd7e149480dc4559b0bd17cb01 100644 (file)
@@ -1,19 +1,12 @@
 #!/usr/bin/env python
 
-GPEXT_REGISTRY_SRC = 'registry.c'
-GPEXT_SCRIPTS_SRC = 'scripts.c'
-GPEXT_SECURITY_SRC = 'security.c'
-
-GPEXT_SRC = '''../../../libgpo/gpext/gpext.c'''
-
 bld.SAMBA3_SUBSYSTEM('gpext',
-                    source=GPEXT_SRC,
-                    deps='samba-util samba3core gpo',
-                    vars=locals())
+                    source='../../../libgpo/gpext/gpext.c',
+                    deps='samba-util samba3core gpo')
 
 bld.SAMBA3_MODULE('gpext_registry',
                  subsystem='gpext',
-                 source=GPEXT_REGISTRY_SRC,
+                 source='registry.c',
                  deps='NDR_PREG',
                  init_function='',
                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('gpext_registry'),
@@ -21,14 +14,14 @@ bld.SAMBA3_MODULE('gpext_registry',
 
 bld.SAMBA3_MODULE('gpext_scripts',
                  subsystem='gpext',
-                 source=GPEXT_SCRIPTS_SRC,
+                 source='scripts.c',
                  init_function='',
                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('gpext_scripts'),
                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('gpext_scripts'))
 
 bld.SAMBA3_MODULE('gpext_security',
                  subsystem='gpext',
-                 source=GPEXT_SECURITY_SRC,
+                 source='security.c',
                  init_function='',
                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('gpext_security'),
                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('gpext_security'))