6989f2567b5782322b0aba9c2eceafd39018985f
[garming/samba-autobuild/.git] / source4 / dns_server / wscript_build
1 #!/usr/bin/env python
2
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',
8         local_include=False,
9         internal_module=False,
10         enabled=bld.AD_DC_BUILD_IS_ENABLED()
11         )
12
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())
23
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())