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

index 7148620ee3e6daeac161dfbddaf1374247169fe5..3fb2d1553c64f7eb65255e581fbd982a19663f43 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-PLAINTEXT_AUTH_SRC = '''auth/pampass.c auth/pass_check.c'''
-
 SLCACHE_SRC = '''libsmb/samlogon_cache.c'''
 
 DCUTIL_SRC  = '''libsmb/namequery_dc.c libsmb/trustdom_cache.c libsmb/dsgetdcname.c'''
@@ -897,9 +895,8 @@ bld.SAMBA3_SUBSYSTEM('SERVICES',
                     deps='samba-util')
 
 bld.SAMBA3_SUBSYSTEM('PLAINTEXT_AUTH',
-                    source=PLAINTEXT_AUTH_SRC,
-                    deps='pam PAM_ERRORS',
-                    vars=locals())
+                    source='''auth/pampass.c auth/pass_check.c''',
+                    deps='pam PAM_ERRORS')
 
 bld.SAMBA3_SUBSYSTEM('PASSCHANGE',
                     source='libsmb/passchange.c',