summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 08:47:20 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:23:47 +0200
commitde8aaf06937fdc4782fce25e1276c945bafb6712 (patch)
tree2f588c9481746e1929f8a245f04f6e8646a2cf35 /source3/wscript_build
parentf21fefb378deec5a372cc7458093a6a54b390aef (diff)
downloadsamba-de8aaf06937fdc4782fce25e1276c945bafb6712.tar.gz
samba-de8aaf06937fdc4782fce25e1276c945bafb6712.tar.bz2
samba-de8aaf06937fdc4782fce25e1276c945bafb6712.zip
build: list sources of subsys LOCKING directly in def, remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index c6d453c2e1..8f54fd7690 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -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}',