summaryrefslogtreecommitdiffstats
path: root/libcli/dns/wscript_build
blob: 2d90aa7ec0ffbe87babb60c42ae05e5817628fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python

bld.SAMBA_LIBRARY('clidns',
        source='dns.c resolvconf.c',
        public_deps='LIBTSOCKET tevent-util ndr-standard',
        private_library=True)

bld.SAMBA_BINARY('resolvconftest',
                  source='resolvconftest.c',
                  deps='clidns',
                  enabled=bld.CONFIG_SET('HAVE_FMEMOPEN'),
                  for_selftest=True)

bld.SAMBA_SUBSYSTEM('dns_lookup',
                    source='dns_lookup.c',
                    public_deps='clidns')

bld.SAMBA_BINARY('dns_lookuptest',
                  source='dns_lookuptest.c',
                  deps='dns_lookup',
                  for_selftest=True)