s3:rpc_server: Remove dead code
[Samba.git] / source4 / dns_server / wscript_build
blob8a8466d096f8446fddbfd384c5631943eac7d67f
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 install=bld.AD_DC_BUILD_IS_ENABLED()
10 bld.SAMBA_MODULE('service_dns',
11 source='dns_server.c dns_query.c dns_update.c dns_utils.c dns_crypto.c',
12 subsystem='service',
13 init_function='server_service_dns_init',
14 deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba clidns gensec auth samba_server_gensec dnsserver_common',
15 local_include=False,
16 internal_module=False,
17 enabled=bld.AD_DC_BUILD_IS_ENABLED()
20 # a bind9 dlz module giving access to the Samba DNS SAM
21 bld.SAMBA_LIBRARY('dlz_bind9',
22 source='dlz_bind9.c',
23 cflags='-DBIND_VERSION_9_8',
24 private_library=True,
25 link_name='modules/bind9/dlz_bind9.so',
26 realname='dlz_bind9.so',
27 install_path='${MODULESDIR}/bind9',
28 deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
29 enabled=bld.AD_DC_BUILD_IS_ENABLED())
31 bld.SAMBA_LIBRARY('dlz_bind9_9',
32 source='dlz_bind9.c',
33 cflags='-DBIND_VERSION_9_9',
34 private_library=True,
35 link_name='modules/bind9/dlz_bind9_9.so',
36 realname='dlz_bind9_9.so',
37 install_path='${MODULESDIR}/bind9',
38 deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
39 enabled=bld.AD_DC_BUILD_IS_ENABLED())
41 bld.SAMBA_LIBRARY('dlz_bind9_10',
42 source='dlz_bind9.c',
43 cflags='-DBIND_VERSION_9_10',
44 private_library=True,
45 link_name='modules/bind9/dlz_bind9_10.so',
46 realname='dlz_bind9_10.so',
47 install_path='${MODULESDIR}/bind9',
48 deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
49 enabled=bld.AD_DC_BUILD_IS_ENABLED())
51 bld.SAMBA_LIBRARY('dlz_bind9_11',
52 source='dlz_bind9.c',
53 cflags='-DBIND_VERSION_9_11',
54 private_library=True,
55 link_name='modules/bind9/dlz_bind9_11.so',
56 realname='dlz_bind9_11.so',
57 install_path='${MODULESDIR}/bind9',
58 deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
59 enabled=bld.AD_DC_BUILD_IS_ENABLED())
61 bld.SAMBA_LIBRARY('dlz_bind9_12',
62 source='dlz_bind9.c',
63 cflags='-DBIND_VERSION_9_12',
64 private_library=True,
65 link_name='modules/bind9/dlz_bind9_12.so',
66 realname='dlz_bind9_12.so',
67 install_path='${MODULESDIR}/bind9',
68 deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
69 enabled=bld.AD_DC_BUILD_IS_ENABLED())
71 bld.SAMBA_LIBRARY('dlz_bind9_for_torture',
72 source='dlz_bind9.c',
73 cflags='-DBIND_VERSION_9_8',
74 private_library=True,
75 deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
76 enabled=bld.AD_DC_BUILD_IS_ENABLED())
78 pyldb_util = bld.pyembed_libname('pyldb-util')
79 pyrpc_util = bld.pyembed_libname('pyrpc_util')
80 pytalloc_util = bld.pyembed_libname('pytalloc-util')
82 bld.SAMBA_PYTHON('python_dsdb_dns',
83 source='pydns.c',
84 deps='samdb %s %s dnsserver_common %s' % (
85 pyldb_util, pyrpc_util, pytalloc_util),
86 realname='samba/dsdb_dns.so',
87 enabled=bld.AD_DC_BUILD_IS_ENABLED())