summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-11-19 13:33:06 +0100
committerGünther Deschner <gd@samba.org>2010-11-22 11:25:18 +0100
commitf28b2073b8ca119605658244d5be00542ad47223 (patch)
treea0fcc5eec2f687dd51089cf61092766ea2c50cc3
parent2ac5cedb719d220db412d0bdc69e34bad9ab26f1 (diff)
downloadsamba-f28b2073b8ca119605658244d5be00542ad47223.tar.gz
samba-f28b2073b8ca119605658244d5be00542ad47223.tar.bz2
samba-f28b2073b8ca119605658244d5be00542ad47223.zip
s3-waf: move build rules into libaddns directory.
Guenther
-rw-r--r--source3/libaddns/wscript_build7
-rw-r--r--source3/wscript_build11
2 files changed, 8 insertions, 10 deletions
diff --git a/source3/libaddns/wscript_build b/source3/libaddns/wscript_build
new file mode 100644
index 0000000000..63d766140a
--- /dev/null
+++ b/source3/libaddns/wscript_build
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+
+bld.SAMBA_LIBRARY('libaddns',
+ source='dnsrecord.c dnsutils.c dnssock.c dnsgss.c dnsmarshall.c',
+ public_deps='talloc krb5 k5crypto com_err gssapi gssapi_krb5',
+ private_library=True,
+ vars=locals())
diff --git a/source3/wscript_build b/source3/wscript_build
index 308fae1a1d..56d7198b87 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -183,10 +183,6 @@ PARAM_WITHOUT_REG_SRC = '''param/loadparm.c param/util.c param/loadparm_server_r
KRBCLIENT_SRC = '''libads/kerberos.c libads/ads_status.c'''
-LIBADDNS_SRC0 = '''libaddns/dnsrecord.c libaddns/dnsutils.c libaddns/dnssock.c
- libaddns/dnsgss.c libaddns/dnsmarshall.c'''
-LIBADDNS_SRC = '''${LIBADDNS_SRC0}'''
-
LIBGPO_SRC0 = '''../libgpo/gpo_ldap.c ../libgpo/gpo_ini.c ../libgpo/gpo_util.c
../libgpo/gpo_fetch.c libgpo/gpo_filesync.c ../libgpo/gpo_sec.c
libgpo/gpo_reg.c'''
@@ -927,12 +923,6 @@ bld.SAMBA_LIBRARY('smbsharemodes',
private_library=True,
vars=locals())
-bld.SAMBA_LIBRARY('libaddns',
- source=LIBADDNS_SRC,
- public_deps='talloc krb5 k5crypto com_err gssapi gssapi_krb5',
- private_library=True,
- vars=locals())
-
bld.SAMBA_SUBSYSTEM('LIBMSRPC',
source='${LIBMSRPC_SRC}',
deps='ndr NDR_SECURITY NDR_DCERPC NDR_SCHANNEL',
@@ -1510,6 +1500,7 @@ bld.RECURSE('winbindd')
bld.RECURSE('libgpo/gpext')
bld.RECURSE('pam_smbpass')
bld.RECURSE('rpc_server')
+bld.RECURSE('libaddns')
bld.ENFORCE_GROUP_ORDERING()
bld.CHECK_PROJECT_RULES()