selftest: Make test_wbinfo.sh work with s3-winbindd
[Samba/wip.git] / source4 / dns_server / wscript_build
blob280f8de49c01e5a631efb69b433e566c750f4343
1 #!/usr/bin/env python
3 bld.SAMBA_MODULE('service_dns',
4 source='dns_server.c dns_query.c dns_update.c dns_utils.c dns_crypto.c',
5 subsystem='service',
6 init_function='server_service_dns_init',
7 deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba clidns gensec auth samba_server_gensec',
8 local_include=False,
9 internal_module=False,
10 enabled=bld.AD_DC_BUILD_IS_ENABLED()
13 # a bind9 dlz module giving access to the Samba DNS SAM
14 bld.SAMBA_LIBRARY('dlz_bind9',
15 source='dlz_bind9.c',
16 cflags='-DBIND_VERSION_9_8',
17 private_library=True,
18 link_name='modules/bind9/dlz_bind9.so',
19 realname='dlz_bind9.so',
20 install_path='${MODULESDIR}/bind9',
21 deps='samba-hostconfig samdb-common gensec popt',
22 enabled=bld.AD_DC_BUILD_IS_ENABLED())
24 bld.SAMBA_LIBRARY('dlz_bind9_9',
25 source='dlz_bind9.c',
26 cflags='-DBIND_VERSION_9_9',
27 private_library=True,
28 link_name='modules/bind9/dlz_bind9_9.so',
29 realname='dlz_bind9_9.so',
30 install_path='${MODULESDIR}/bind9',
31 deps='samba-hostconfig samdb-common gensec popt',
32 enabled=bld.AD_DC_BUILD_IS_ENABLED())
34 bld.SAMBA_LIBRARY('dlz_bind9_for_torture',
35 source='dlz_bind9.c',
36 cflags='-DBIND_VERSION_9_8',
37 private_library=True,
38 deps='samba-hostconfig samdb-common gensec popt',
39 enabled=bld.AD_DC_BUILD_IS_ENABLED())