build: list source of subsys PROFILE directly in definition
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 06:58:00 +0000 (08:58 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:23:58 +0000 (20:23 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index d12f37fd3b635edef55bd5707486d4e99393df58..8add31a8a239e67a24cb176f5ea8982354087ea8 100755 (executable)
@@ -3,7 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-PROFILE_SRC = '''profile/profile.c'''
 PROFILES_SRC = '''utils/profiles.c'''
 
 OPLOCK_SRC = '''smbd/oplock.c smbd/oplock_irix.c smbd/oplock_linux.c'''
@@ -796,9 +795,8 @@ bld.SAMBA3_SUBSYSTEM('LOCKING',
                     FNAME_UTIL''')
 
 bld.SAMBA3_SUBSYSTEM('PROFILE',
-                    source='${PROFILE_SRC}',
-                    deps='samba-util',
-                    vars=locals())
+                    source='profile/profile.c',
+                    deps='samba-util')
 
 bld.SAMBA3_SUBSYSTEM('PRINTBASE',
                     source=PRINTBASE_SRC,