summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 09:18:48 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:24:33 +0200
commitc0b8ceb21eef58b37aeb5ab686db17a2fe2e356f (patch)
tree0b640dfd23acb7f025640f664ee4c8cff56ebacd
parent95ab312169f12d086ac1664d86a3485308d0c9f5 (diff)
downloadsamba-c0b8ceb21eef58b37aeb5ab686db17a2fe2e356f.tar.gz
samba-c0b8ceb21eef58b37aeb5ab686db17a2fe2e356f.tar.bz2
samba-c0b8ceb21eef58b37aeb5ab686db17a2fe2e356f.zip
build: list sources of binary smbstatus directly in def, remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xsource3/wscript_build9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 64129eb1f7..c7733d406c 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,8 +3,6 @@
from samba_utils import *
import samba_version, samba3
-STATUS_SRC = '''utils/status.c utils/status_profile.c smbd/notify_internal.c'''
-
SMBCONTROL_SRC = '''utils/smbcontrol.c'''
SMBTREE_SRC = '''utils/smbtree.c'''
@@ -1254,15 +1252,16 @@ bld.SAMBA3_BINARY('smbta-util',
vars=locals())
bld.SAMBA3_BINARY('smbstatus',
- source=STATUS_SRC,
+ source='''utils/status.c
+ utils/status_profile.c
+ smbd/notify_internal.c''',
deps='''
talloc
param
popt_samba3
smbd_base
LOCKING
- PROFILE''',
- vars=locals())
+ PROFILE''')
bld.SAMBA3_BINARY('smbcontrol',
source=SMBCONTROL_SRC,