summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-24 05:09:38 +0200
committerMichael Adam <obnox@samba.org>2013-09-24 23:00:35 +0200
commit9f15535821546884f9d969f66498c6cdd32f39b9 (patch)
tree9b14ff694007924d0359fe723844a98c8d6a6641
parent7e974dbd92d5ccec5286e0abd1c11f6834eeab02 (diff)
downloadsamba-9f15535821546884f9d969f66498c6cdd32f39b9.tar.gz
samba-9f15535821546884f9d969f66498c6cdd32f39b9.tar.bz2
samba-9f15535821546884f9d969f66498c6cdd32f39b9.zip
build: get rid of source variables and vars=locals() in source3/libgpo/gpext/wscript_build
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
-rw-r--r--source3/libgpo/gpext/wscript_build17
1 files changed, 5 insertions, 12 deletions
diff --git a/source3/libgpo/gpext/wscript_build b/source3/libgpo/gpext/wscript_build
index 7595fffe21..3a120a5aff 100644
--- a/source3/libgpo/gpext/wscript_build
+++ b/source3/libgpo/gpext/wscript_build
@@ -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'))