dlz-bind: Add support for BIND 9.11.x
[Samba.git] / source4 / dns_server / wscript_build
blob396ed768d6d42b66d4aa9fb5aec0fd297a558356
1 #!/usr/bin/env python
3 bld.SAMBA_LIBRARY('dnsserver_common',
4 source='dnsserver_common.c',
5 deps='samba-util samba-errors ldbsamba clidns',
6 private_library=True,
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',
11 subsystem='service',
12 init_function='server_service_dns_init',
13 deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba clidns gensec auth samba_server_gensec dnsserver_common',
14 local_include=False,
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',
21 source='dlz_bind9.c',
22 cflags='-DBIND_VERSION_9_8',
23 private_library=True,
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',
31 source='dlz_bind9.c',
32 cflags='-DBIND_VERSION_9_9',
33 private_library=True,
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',
41 source='dlz_bind9.c',
42 cflags='-DBIND_VERSION_9_10',
43 private_library=True,
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',
51 source='dlz_bind9.c',
52 cflags='-DBIND_VERSION_9_11',
53 private_library=True,
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',
61 source='dlz_bind9.c',
62 cflags='-DBIND_VERSION_9_8',
63 private_library=True,
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',
69 source='pydns.c',
70 deps='samdb pyldb-util pyrpc_util dnsserver_common pytalloc-util',
71 realname='samba/dsdb_dns.so')