build: list sources of subsys LIBNTLMSSP in definition, removing vars=locals()
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 06:28:14 +0000 (08:28 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:23:11 +0000 (20:23 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index 4fa1afb3262994944424860baf9aca5a1e8d197e..57660ae4e7f7c6b9f1bc06d718e5550b412b6fff 100755 (executable)
@@ -3,10 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-LIBNTLMSSP_SRC = '''
-               libsmb/ntlmssp.c
-               libsmb/ntlmssp_wrap.c'''
-
 TLDAP_SRC = '''lib/tldap.c lib/tldap_util.c lib/util_tsock.c'''
 
 LIBSMB_SRC = '''libsmb/clientgen.c libsmb/cliconnect.c libsmb/clifile.c
@@ -682,9 +678,9 @@ bld.SAMBA3_LIBRARY('smbd_shim',
                    private_library=True)
 
 bld.SAMBA3_SUBSYSTEM('LIBNTLMSSP',
-                    source=LIBNTLMSSP_SRC,
-                    deps='NDR_NTLMSSP NTLMSSP_COMMON wbclient',
-                    vars=locals())
+                    source='''libsmb/ntlmssp.c
+                    libsmb/ntlmssp_wrap.c''',
+                    deps='NDR_NTLMSSP NTLMSSP_COMMON wbclient')
 
 bld.SAMBA3_SUBSYSTEM('auth_generic',
                     source='libsmb/auth_generic.c',