afd1d9cfea1ec67849a2ba72d7d97fa6e02fac08
[kai/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',
5         subsystem='service',
6         init_function='server_service_dns_init',
7         deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba LIBCLI_DNS',
8         local_include=False,
9         internal_module=False,
10         )
11
12 # a bind9 dlz module giving access to the Samba DNS SAM
13 bld.SAMBA_LIBRARY('dlz_bind9',
14                   source='dlz_bind9.c',
15                   cflags='-DBIND_VERSION_9_8',
16                   private_library=True,
17                   link_name='modules/bind9/dlz_bind9.so',
18                   realname='dlz_bind9.so',
19                   install_path='${MODULESDIR}/bind9',
20                   deps='samba-hostconfig samdb-common gensec popt')
21
22 bld.SAMBA_LIBRARY('dlz_bind9_9',
23                   source='dlz_bind9.c',
24                   cflags='-DBIND_VERSION_9_9',
25                   private_library=True,
26                   link_name='modules/bind9/dlz_bind9_9.so',
27                   realname='dlz_bind9_9.so',
28                   install_path='${MODULESDIR}/bind9',
29                   deps='samba-hostconfig samdb-common gensec popt')