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

index 57660ae4e7f7c6b9f1bc06d718e5550b412b6fff..282e7fb26014cc21f780281af155a35bc8d77306 100755 (executable)
@@ -3,8 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-TLDAP_SRC = '''lib/tldap.c lib/tldap_util.c lib/util_tsock.c'''
-
 LIBSMB_SRC = '''libsmb/clientgen.c libsmb/cliconnect.c libsmb/clifile.c
              libsmb/clispnego.c
              libsmb/clirap.c libsmb/clierror.c libsmb/climessage.c
@@ -463,7 +461,9 @@ bld.SAMBA3_SUBSYSTEM('GROUPDB',
                     deps='tdb_compat')
 
 bld.SAMBA3_SUBSYSTEM('TLDAP',
-                    source=TLDAP_SRC,
+                    source='''lib/tldap.c
+                    lib/tldap_util.c
+                    lib/util_tsock.c''',
                     deps='asn1util LIBTSOCKET')
 
 # libpdb.so should not expose internal symbols that are only usable