After discussion with Kai move dns_hosts_file to a separate subsystem
and merge it into libaddns private library for s3/s4 client use.
Also remove dependency in libcli/nbt, the code from libcli/dns subsystems
is not used there at all.
Autobuild-User: Alexander Bokovoy <ab@samba.org>
Autobuild-Date: Fri May 25 22:22:44 CEST 2012 on sn-devel-104
bld.SAMBA_LIBRARY('addns',
source='dnsquery.c dnsrecord.c dnsutils.c dnssock.c dnsgss.c dnsmarshall.c error.c',
- public_deps='clidns samba-util gssapi uuid resolv',
+ public_deps='dnshostsfile samba-util gssapi uuid resolv',
private_library=True,
vars=locals())
#!/usr/bin/env python
-bld.SAMBA_LIBRARY('clidns',
- source='dns.c dns_hosts_file.c',
- public_deps='LIBTSOCKET tevent-util',
- private_library=True,
- vars=locals())
+bld.SAMBA_SUBSYSTEM('clidns',
+ source='dns.c',
+ public_deps='LIBTSOCKET tevent-util')
+
+bld.SAMBA_SUBSYSTEM('dnshostsfile',
+ source='dns_hosts_file.c',
+ public_deps='samba-util errors')
bld.SAMBA_SUBSYSTEM('lmhosts',
source='lmhosts.c',
- deps='clidns replace talloc'
+ deps='replace talloc'
)
bld.SAMBA_LIBRARY('cli-nbt',