2010-10-12 08:23:32 +04:00
#!/usr/bin/env python
2014-07-30 10:01:11 +04:00
bld.SAMBA_LIBRARY('dnsserver_common',
source='dnsserver_common.c',
2016-01-04 04:01:53 +03:00
deps='samba-util samba-errors ldbsamba clidns',
2014-07-30 10:01:11 +04:00
private_library=True,
2017-07-04 07:11:12 +03:00
install=bld.AD_DC_BUILD_IS_ENABLED()
)
2014-07-30 10:01:11 +04:00
2010-11-15 02:44:30 +03:00
bld.SAMBA_MODULE('service_dns',
2012-09-05 10:24:52 +04:00
source='dns_server.c dns_query.c dns_update.c dns_utils.c dns_crypto.c',
2010-10-12 08:23:32 +04:00
subsystem='service',
init_function='server_service_dns_init',
2014-07-30 10:01:11 +04:00
deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba clidns gensec auth samba_server_gensec dnsserver_common',
2010-11-15 02:44:30 +03:00
local_include=False,
internal_module=False,
2012-05-21 13:45:12 +04:00
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2010-10-12 08:23:32 +04:00
)
2010-12-06 06:12:07 +03:00
# a bind9 dlz module giving access to the Samba DNS SAM
2014-10-20 09:32:42 +04:00
bld.SAMBA_LIBRARY('dlz_bind9_10',
source='dlz_bind9.c',
cflags='-DBIND_VERSION_9_10',
private_library=True,
link_name='modules/bind9/dlz_bind9_10.so',
realname='dlz_bind9_10.so',
install_path='${MODULESDIR}/bind9',
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
enabled=bld.AD_DC_BUILD_IS_ENABLED())
2016-09-26 17:51:03 +03:00
bld.SAMBA_LIBRARY('dlz_bind9_11',
source='dlz_bind9.c',
cflags='-DBIND_VERSION_9_11',
private_library=True,
link_name='modules/bind9/dlz_bind9_11.so',
realname='dlz_bind9_11.so',
install_path='${MODULESDIR}/bind9',
2018-08-08 12:43:03 +03:00
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
enabled=bld.AD_DC_BUILD_IS_ENABLED())
bld.SAMBA_LIBRARY('dlz_bind9_12',
source='dlz_bind9.c',
cflags='-DBIND_VERSION_9_12',
private_library=True,
link_name='modules/bind9/dlz_bind9_12.so',
realname='dlz_bind9_12.so',
install_path='${MODULESDIR}/bind9',
2016-09-26 17:51:03 +03:00
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
enabled=bld.AD_DC_BUILD_IS_ENABLED())
2020-09-11 05:24:51 +03:00
bld.SAMBA_LIBRARY('dlz_bind9_14',
source='dlz_bind9.c',
cflags='-DBIND_VERSION_9_14',
private_library=True,
link_name='modules/bind9/dlz_bind9_14.so',
realname='dlz_bind9_14.so',
install_path='${MODULESDIR}/bind9',
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
enabled=bld.AD_DC_BUILD_IS_ENABLED())
2020-09-11 05:34:07 +03:00
bld.SAMBA_LIBRARY('dlz_bind9_16',
source='dlz_bind9.c',
cflags='-DBIND_VERSION_9_16',
private_library=True,
link_name='modules/bind9/dlz_bind9_16.so',
realname='dlz_bind9_16.so',
install_path='${MODULESDIR}/bind9',
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
enabled=bld.AD_DC_BUILD_IS_ENABLED())
2012-09-06 08:26:57 +04:00
bld.SAMBA_LIBRARY('dlz_bind9_for_torture',
source='dlz_bind9.c',
2021-04-24 06:25:44 +03:00
cflags='-DBIND_VERSION_9_16',
2012-09-06 08:26:57 +04:00
private_library=True,
2014-07-30 10:40:32 +04:00
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
2012-09-06 08:26:57 +04:00
enabled=bld.AD_DC_BUILD_IS_ENABLED())
2015-09-22 03:11:04 +03:00
2019-02-15 06:37:48 +03:00
pyldb_util = bld.pyembed_libname('pyldb-util')
pyrpc_util = bld.pyembed_libname('pyrpc_util')
pytalloc_util = bld.pyembed_libname('pytalloc-util')
2015-09-22 03:11:04 +03:00
2019-02-15 06:37:48 +03:00
bld.SAMBA_PYTHON('python_dsdb_dns',
source='pydns.c',
deps='samdb %s %s dnsserver_common %s' % (
pyldb_util, pyrpc_util, pytalloc_util),
2020-09-17 22:27:41 +03:00
realname='samba/dsdb_dns.so')