build: list sources of binary smbstatus directly in def, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 07:18:48 +0000 (09:18 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:24:33 +0000 (20:24 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 64129eb1f76e24c5eaf8149914704ed924c57d92..c7733d406cb152d4ee6568ea9d3b686cb7e586cb 100755 (executable)
@@ -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,