2010-10-12 06:23:32 +02:00
#!/usr/bin/env python
2014-07-30 08:01:11 +02:00
bld.SAMBA_LIBRARY('dnsserver_common',
source='dnsserver_common.c',
2016-01-04 01:01:53 +00:00
deps='samba-util samba-errors ldbsamba clidns',
2014-07-30 08:01:11 +02:00
private_library=True,
2017-07-04 16:11:12 +12:00
install=bld.AD_DC_BUILD_IS_ENABLED()
)
2014-07-30 08:01:11 +02:00
2010-11-15 00:44:30 +01:00
bld.SAMBA_MODULE('service_dns',
2012-09-05 08:24:52 +02:00
source='dns_server.c dns_query.c dns_update.c dns_utils.c dns_crypto.c',
2010-10-12 06:23:32 +02:00
subsystem='service',
init_function='server_service_dns_init',
2014-07-30 08:01:11 +02:00
deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba clidns gensec auth samba_server_gensec dnsserver_common',
2010-11-15 00:44:30 +01:00
local_include=False,
internal_module=False,
2012-05-21 12:45:12 +03:00
enabled=bld.AD_DC_BUILD_IS_ENABLED()
2010-10-12 06:23:32 +02:00
)
2010-12-06 14:12:07 +11:00
# a bind9 dlz module giving access to the Samba DNS SAM
bld.SAMBA_LIBRARY('dlz_bind9',
source='dlz_bind9.c',
2012-04-05 16:45:01 +10:00
cflags='-DBIND_VERSION_9_8',
2010-12-06 14:12:07 +11:00
private_library=True,
link_name='modules/bind9/dlz_bind9.so',
2011-10-25 21:47:24 +02:00
realname='dlz_bind9.so',
install_path='${MODULESDIR}/bind9',
2014-07-30 08:40:32 +02:00
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
2012-05-21 12:45:12 +03:00
enabled=bld.AD_DC_BUILD_IS_ENABLED())
2012-04-05 16:45:01 +10:00
bld.SAMBA_LIBRARY('dlz_bind9_9',
source='dlz_bind9.c',
cflags='-DBIND_VERSION_9_9',
private_library=True,
link_name='modules/bind9/dlz_bind9_9.so',
2012-04-22 11:05:46 +10:00
realname='dlz_bind9_9.so',
2012-04-05 16:45:01 +10:00
install_path='${MODULESDIR}/bind9',
2014-07-30 08:40:32 +02:00
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
2012-05-21 12:45:12 +03:00
enabled=bld.AD_DC_BUILD_IS_ENABLED())
2012-09-06 14:26:57 +10:00
2014-10-20 16:32:42 +11: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-27 00:51:03 +10: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',
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
enabled=bld.AD_DC_BUILD_IS_ENABLED())
2012-09-06 14:26:57 +10:00
bld.SAMBA_LIBRARY('dlz_bind9_for_torture',
source='dlz_bind9.c',
cflags='-DBIND_VERSION_9_8',
private_library=True,
2014-07-30 08:40:32 +02:00
deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
2012-09-06 14:26:57 +10:00
enabled=bld.AD_DC_BUILD_IS_ENABLED())
2015-09-22 12:11:04 +12:00
bld.SAMBA_PYTHON('python_dsdb_dns',
source='pydns.c',
2016-03-15 13:29:54 +13:00
deps='samdb pyldb-util pyrpc_util dnsserver_common pytalloc-util',
2015-09-22 12:11:04 +12:00
realname='samba/dsdb_dns.so')