build: list source of binary nmblookup directly in source, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 07:49:10 +0000 (09:49 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:25:39 +0000 (20:25 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index abafe29fd0a0126a4f7b197fa01beefe877fb0e0..7e5cd1f9a60994c746ed719c81f5bce66c17c6d7 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-NMBLOOKUP_SRC = '''utils/nmblookup.c'''
-
 SMBTORTURE_SRC1 = '''torture/torture.c torture/nbio.c torture/scanner.c torture/utable.c
                 torture/denytest.c torture/mangle_test.c
                 torture/nbench.c
@@ -1280,13 +1278,12 @@ bld.SAMBA3_BINARY('smbget',
                  smbclient''')
 
 bld.SAMBA3_BINARY('nmblookup',
-                 source=NMBLOOKUP_SRC,
+                 source='utils/nmblookup.c',
                  deps='''
                  talloc
                  param
                  popt_samba3
-                 LIBNMB''',
-                 vars=locals())
+                 LIBNMB''')
 
 bld.SAMBA3_BINARY('smbtorture' + bld.env.suffix3,
                  source=SMBTORTURE_SRC,