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_12',
63 cflags
='-DBIND_VERSION_9_12',
65 link_name
='modules/bind9/dlz_bind9_12.so',
66 realname
='dlz_bind9_12.so',
67 install_path
='${MODULESDIR}/bind9',
68 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
69 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
71 bld
.SAMBA_LIBRARY('dlz_bind9_for_torture',
73 cflags
='-DBIND_VERSION_9_8',
75 deps
='samba-hostconfig samdb-common gensec popt dnsserver_common',
76 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())
78 pyldb_util
= bld
.pyembed_libname('pyldb-util')
79 pyrpc_util
= bld
.pyembed_libname('pyrpc_util')
80 pytalloc_util
= bld
.pyembed_libname('pytalloc-util')
82 bld
.SAMBA_PYTHON('python_dsdb_dns',
84 deps
='samdb %s %s dnsserver_common %s' % (
85 pyldb_util
, pyrpc_util
, pytalloc_util
),
86 realname
='samba/dsdb_dns.so',
87 enabled
=bld
.AD_DC_BUILD_IS_ENABLED())