3 bld
.SAMBA_LIBRARY('dnsserver_common',
4 source
='dnsserver_common.c',
5 deps
='samba-util samba-errors ldbsamba clidns',
7 install
=bld
.AD_DC_BUILD_IS_ENABLED()
10 bld
.SAMBA_MODULE('service_dns',
11 source
='dns_server.c dns_query.c dns_update.c dns_utils.c dns_crypto.c',
13 init_function
='server_service_dns_init',
14 deps
='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba clidns gensec auth samba_server_gensec dnsserver_common',
16 internal_module
=False,
17 enabled
=bld
.AD_DC_BUILD_IS_ENABLED()
20 # a bind9 dlz module giving access to the Samba DNS SAM
21 bld
.SAMBA_LIBRARY('dlz_bind9',
23 cflags
='-DBIND_VERSION_9_8',
25 link_name
='modules/bind9/dlz_bind9.so',
26 realname
='dlz_bind9.so',
27 install_path
='${MODULESDIR}/bind9',
28 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
29 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
31 bld
.SAMBA_LIBRARY('dlz_bind9_9',
33 cflags
='-DBIND_VERSION_9_9',
35 link_name
='modules/bind9/dlz_bind9_9.so',
36 realname
='dlz_bind9_9.so',
37 install_path
='${MODULESDIR}/bind9',
38 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
39 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
41 bld
.SAMBA_LIBRARY('dlz_bind9_10',
43 cflags
='-DBIND_VERSION_9_10',
45 link_name
='modules/bind9/dlz_bind9_10.so',
46 realname
='dlz_bind9_10.so',
47 install_path
='${MODULESDIR}/bind9',
48 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
49 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
51 bld
.SAMBA_LIBRARY('dlz_bind9_11',
53 cflags
='-DBIND_VERSION_9_11',
55 link_name
='modules/bind9/dlz_bind9_11.so',
56 realname
='dlz_bind9_11.so',
57 install_path
='${MODULESDIR}/bind9',
58 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
59 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
61 bld
.SAMBA_LIBRARY('dlz_bind9_for_torture',
63 cflags
='-DBIND_VERSION_9_8',
65 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
66 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
69 bld
.SAMBA_PYTHON('python_dsdb_dns',
71 deps
='samdb pyldb-util pyrpc_util dnsserver_common pytalloc-util',
72 realname
='samba/dsdb_dns.so')