3 bld
.SAMBA_LIBRARY('dnsserver_common',
4 source
='dnsserver_common.c',
5 deps
='samba-util samba-errors ldbsamba clidns',
7 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
9 bld
.SAMBA_MODULE('service_dns',
10 source
='dns_server.c dns_query.c dns_update.c dns_utils.c dns_crypto.c',
12 init_function
='server_service_dns_init',
13 deps
='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba clidns gensec auth samba_server_gensec dnsserver_common',
15 internal_module
=False,
16 enabled
=bld
.AD_DC_BUILD_IS_ENABLED()
19 # a bind9 dlz module giving access to the Samba DNS SAM
20 bld
.SAMBA_LIBRARY('dlz_bind9',
22 cflags
='-DBIND_VERSION_9_8',
24 link_name
='modules/bind9/dlz_bind9.so',
25 realname
='dlz_bind9.so',
26 install_path
='${MODULESDIR}/bind9',
27 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
28 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
30 bld
.SAMBA_LIBRARY('dlz_bind9_9',
32 cflags
='-DBIND_VERSION_9_9',
34 link_name
='modules/bind9/dlz_bind9_9.so',
35 realname
='dlz_bind9_9.so',
36 install_path
='${MODULESDIR}/bind9',
37 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
38 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
40 bld
.SAMBA_LIBRARY('dlz_bind9_10',
42 cflags
='-DBIND_VERSION_9_10',
44 link_name
='modules/bind9/dlz_bind9_10.so',
45 realname
='dlz_bind9_10.so',
46 install_path
='${MODULESDIR}/bind9',
47 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
48 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
50 bld
.SAMBA_LIBRARY('dlz_bind9_11',
52 cflags
='-DBIND_VERSION_9_11',
54 link_name
='modules/bind9/dlz_bind9_11.so',
55 realname
='dlz_bind9_11.so',
56 install_path
='${MODULESDIR}/bind9',
57 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
58 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
60 bld
.SAMBA_LIBRARY('dlz_bind9_for_torture',
62 cflags
='-DBIND_VERSION_9_8',
64 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
65 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
68 bld
.SAMBA_PYTHON('python_dsdb_dns',
70 deps
='samdb pyldb-util pyrpc_util dnsserver_common pytalloc-util',
71 realname
='samba/dsdb_dns.so')