summaryrefslogtreecommitdiff
path: root/source4/dns_server/wscript_build
blob: e508fcdbe65f73b7cf264cb3bee6079976becaf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env python

bld.SAMBA_MODULE('service_dns',
        source='dns_server.c dns_query.c dns_update.c dns_utils.c',
        subsystem='service',
        init_function='server_service_dns_init',
        deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET ldbsamba LIBCLI_DNS',
        local_include=False,
        internal_module=False,
        )

# a bind9 dlz module giving access to the Samba DNS SAM
bld.SAMBA_LIBRARY('dlz_bind9',
                  source='dlz_bind9.c',
                  cflags='-DBIND_VERSION_9_8',
                  private_library=True,
                  link_name='modules/bind9/dlz_bind9.so',
                  realname='dlz_bind9.so',
                  install_path='${MODULESDIR}/bind9',
                  deps='samba-hostconfig samdb gensec popt')

bld.SAMBA_LIBRARY('dlz_bind9_9',
                  source='dlz_bind9.c',
                  cflags='-DBIND_VERSION_9_9',
                  private_library=True,
                  link_name='modules/bind9/dlz_bind9_9.so',
                  realname='dlz_bind9.so',
                  install_path='${MODULESDIR}/bind9',
                  deps='samba-hostconfig samdb gensec popt')