summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()