summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-23 08:01:39 +0200
committerMichael Adam <obnox@samba.org>2013-09-23 20:22:56 +0200
commita21616574b5f87fc229a9f1a9c2161d3bbf9253f (patch)
tree3f8f5be5718f0da95b82da6150bf95fda60024b1 /source3/wscript_build
parent40f19d60db8dd2d2d86a9713bd0274b7f33866e4 (diff)
downloadsamba-a21616574b5f87fc229a9f1a9c2161d3bbf9253f.tar.gz
samba-a21616574b5f87fc229a9f1a9c2161d3bbf9253f.tar.bz2
samba-a21616574b5f87fc229a9f1a9c2161d3bbf9253f.zip
build: list sources of library ads directly in sources, removing vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build26
1 files changed, 14 insertions, 12 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 85bfd5e248..6fec6adbd7 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,15 +3,6 @@
from samba_utils import *
import samba_version, samba3
-LIBADS_SRC = '''libads/ldap.c
- libads/sasl.c libads/sasl_wrapping.c
- libads/krb5_setpw.c
- libads/kerberos_util.c
- libads/ldap_user.c
- libads/ads_struct.c libads/kerberos_keytab.c
- libads/disp_sec.c libads/ldap_utils.c
- libads/ldap_schema.c libads/util.c libads/ndr.c'''
-
LIBADS_SERVER_SRC = '''libads/authdata.c'''
LIBADS_PRINTER_SRC = '''libads/ldap_printer.c'''
@@ -754,10 +745,21 @@ bld.SAMBA3_LIBRARY('smbldap',
public_headers='include/smbldap.h include/smb_ldap.h')
bld.SAMBA3_LIBRARY('ads',
- source=LIBADS_SRC,
+ source='''libads/ldap.c
+ libads/sasl.c
+ libads/sasl_wrapping.c
+ libads/krb5_setpw.c
+ libads/kerberos_util.c
+ libads/ldap_user.c
+ libads/ads_struct.c
+ libads/kerberos_keytab.c
+ libads/disp_sec.c
+ libads/ldap_utils.c
+ libads/ldap_schema.c
+ libads/util.c
+ libads/ndr.c''',
deps='cli-ldap-common krb5samba ldap lber KRBCLIENT param LIBNMB libsmb DCUTIL smbldap',
- private_library=True,
- vars=locals())
+ private_library=True)
bld.SAMBA3_SUBSYSTEM('LIBADS_SERVER',
source=LIBADS_SERVER_SRC,