build: list sources of binary ntlm_auth directly in dev, remove vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 08:02:11 +0000 (10:02 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:26:26 +0000 (20:26 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 8407c2a45f1ceabce928e00d283871cb9a18a269..95775c45bda06acc3524c2bb9a8ae721ae3dbcee 100755 (executable)
@@ -3,10 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-NTLM_AUTH_SRC1 = '''utils/ntlm_auth.c utils/ntlm_auth_diagnostics.c'''
-
-NTLM_AUTH_SRC = '''${NTLM_AUTH_SRC1}'''
-
 VLP_SRC = '''printing/tests/vlp.c'''
 
 RPC_OPEN_TCP_SRC = 'torture/rpc_open_tcp.c'
@@ -1380,15 +1376,14 @@ bld.SAMBA3_BINARY('versiontest',
                  vars=locals())
 
 bld.SAMBA3_BINARY('ntlm_auth',
-                 source=NTLM_AUTH_SRC,
+                 source='''utils/ntlm_auth.c utils/ntlm_auth_diagnostics.c''',
                  deps='''
                  talloc
                  krb5samba
                  iniparser
                  libsmb
                  popt_samba3
-                 LIBNTLMSSP gse gensec''',
-                 vars=locals())
+                 LIBNTLMSSP gse gensec''')
 
 bld.SAMBA3_BINARY('timelimit',
                  source='script/tests/timelimit.c',