s3-waf: move build rules into libaddns directory.
authorGünther Deschner <gd@samba.org>
Fri, 19 Nov 2010 12:33:06 +0000 (13:33 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 22 Nov 2010 10:25:18 +0000 (11:25 +0100)
Guenther

source3/libaddns/wscript_build [new file with mode: 0644]
source3/wscript_build

diff --git a/source3/libaddns/wscript_build b/source3/libaddns/wscript_build
new file mode 100644 (file)
index 0000000..63d7661
--- /dev/null
@@ -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())
index 308fae1a1d40639037821c29da788c1687f4b3c9..56d7198b878d98d971d64fa47491b9b3a2006a0d 100644 (file)
@@ -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()