s3: Fix Coverity ID 2686 -- RESOURCE_LEAK
[Samba/gebeck_regimport.git] / source4 / dns_server / wscript_build
blobe508fcdbe65f73b7cf264cb3bee6079976becaf8
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',
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,
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 gensec popt')
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.so',
28 install_path='${MODULESDIR}/bind9',
29 deps='samba-hostconfig samdb gensec popt')