build: list sources of subsys LOCKING directly in def, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 06:47:20 +0000 (08:47 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:23:47 +0000 (20:23 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index c6d453c2e17b66985c6082a5e67ed46fbb6271e5..8f54fd76906907afae00758c2d290f5f4a2abcf1 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-LOCKING_SRC = '''locking/locking.c locking/brlock.c locking/posix.c locking/share_mode_lock.c'''
-
 PRIVILEGES_SRC = '''lib/privileges.c'''
 
 PASSDB_GET_SET_SRC = '''passdb/pdb_get_set.c'''
@@ -790,13 +788,15 @@ bld.SAMBA3_LIBRARY('smbd_base',
                     vars=locals())
 
 bld.SAMBA3_SUBSYSTEM('LOCKING',
-                    source='${LOCKING_SRC}',
+                    source='''locking/locking.c
+                    locking/brlock.c
+                    locking/posix.c
+                    locking/share_mode_lock.c''',
                     deps='''
                     tdb_compat
                     talloc
                     NDR_OPEN_FILES
-                    FNAME_UTIL''',
-                    vars=locals())
+                    FNAME_UTIL''')
 
 bld.SAMBA3_SUBSYSTEM('PROFILE',
                     source='${PROFILE_SRC}',