tests/krb5: Add tests for account salt calculation
[Samba.git] / source4 / dns_server / wscript_build
blobe97c85de44a81f6ff69e80210178205911ffa671
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_14',
72 source='dlz_bind9.c',
73 cflags='-DBIND_VERSION_9_14',
74 private_library=True,
75 link_name='modules/bind9/dlz_bind9_14.so',
76 realname='dlz_bind9_14.so',
77 install_path='${MODULESDIR}/bind9',
78 deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
79 enabled=bld.AD_DC_BUILD_IS_ENABLED())
81 bld.SAMBA_LIBRARY('dlz_bind9_16',
82 source='dlz_bind9.c',
83 cflags='-DBIND_VERSION_9_16',
84 private_library=True,
85 link_name='modules/bind9/dlz_bind9_16.so',
86 realname='dlz_bind9_16.so',
87 install_path='${MODULESDIR}/bind9',
88 deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
89 enabled=bld.AD_DC_BUILD_IS_ENABLED())
91 bld.SAMBA_LIBRARY('dlz_bind9_for_torture',
92 source='dlz_bind9.c',
93 cflags='-DBIND_VERSION_9_8',
94 private_library=True,
95 deps='samba-hostconfig samdb-common gensec popt dnsserver_common',
96 enabled=bld.AD_DC_BUILD_IS_ENABLED())
98 pyldb_util = bld.pyembed_libname('pyldb-util')
99 pyrpc_util = bld.pyembed_libname('pyrpc_util')
100 pytalloc_util = bld.pyembed_libname('pytalloc-util')
102 bld.SAMBA_PYTHON('python_dsdb_dns',
103 source='pydns.c',
104 deps='samdb %s %s dnsserver_common %s' % (
105 pyldb_util, pyrpc_util, pytalloc_util),
106 realname='samba/dsdb_dns.so',
107 enabled=bld.AD_DC_BUILD_IS_ENABLED())