1 # $NetBSD: Makefile,v 1.13 2014/03/01 03:24:41 christos Exp $
8 .
include "${.CURDIR}/../Makefile.inc"
11 #LSC: -Wno-maybe-uninitialized while compiling with -DNDEBUG -Os
12 CWARNFLAGS.gcc
+= -Wno-maybe-uninitialized
13 .
endif # defined(__MINIX)
15 DIST
= ${IDIST}/lib
/dns
16 .
include "${DIST}/api"
17 .
include "${DIST}/mapapi"
19 LIBDPLIBS
+= isc
${.CURDIR
}/..
/libisc
21 .PATH.c
: ${DIST}/unix
${DIST}/sec
/dst
${DIST}
22 CPPFLAGS
+= -I
${BIND_SRCDIR}/include/dns
-I
${DIST}
23 CPPFLAGS
+= -DMAPAPI
=\"${MAPAPI}\" -DMAJOR
=\"${MAJORVER}.
${MINORVER}\"
25 CWARNFLAGS.clang
+= -Wno-tautological-constant-out-of-range-compare
27 .for f in lookup byaddr request sdb validator
28 COPTS.
${f}.c
+= -Wno-pointer-sign
-fno-strict-aliasing
31 DNSSEC_SRCS
= dst_api.c dst_lib.c dst_parse.c dst_result.c \
32 gssapi_link.c gssapictx.c hmac_link.c key.c openssl_link.c \
33 openssldh_link.c openssldsa_link.c opensslrsa_link.c \
34 opensslecdsa_link.c opensslgost_link.c spnego.c
36 SRCS
= acl.c acache.c adb.c byaddr.c cache.c callbacks.c clientinfo.c \
37 compress.c client.c tsec.c ecdb.c \
38 db.c dbiterator.c dbtable.c diff.c dispatch.c dlz.c dns64.c dnssec.c \
39 ds.c forward.c iptable.c journal.c keydata.c keytable.c lib.c log.c \
40 lookup.c master.c masterdump.c message.c name.c ncache.c nsec.c \
41 nsec3.c order.c peer.c portlist.c rbt.c rbtdb.c rbtdb64.c rcode.c \
42 rdata.c rdatalist.c rdataset.c rdatasetiter.c rdataslab.c \
43 request.c resolver.c result.c rootns.c rpz.c rriterator.c rrl.c sdb.c \
44 soa.c ssu.c ssu_external.c stats.c tcpmsg.c time.c timer.c tkey.c \
45 tsig.c ttl.c private.c validator.c version.c view.c xfrin.c zone.c \
46 zonekey.c zt.c sdlz.c update.c
${DNSSEC_SRCS}