# $NetBSD: Makefile,v 1.14 2017/05/15 13:38:34 manu Exp $ LIB=dns #USE_SHLIBDIR= yes .include .include "${.CURDIR}/../Makefile.inc" DIST= ${IDIST}/lib/dns .include "${DIST}/api" .include "${DIST}/mapapi" LIBDPLIBS+= isc ${.CURDIR}/../libisc .PATH.c: ${DIST}/unix ${DIST}/sec/dst ${DIST} CPPFLAGS+= -I${BIND_SRCDIR}/include/dns -I${DIST} CPPFLAGS+= -DMAPAPI=\"${MAPAPI}\" -DMAJOR=\"${MAJORVER}.${MINORVER}\" CWARNFLAGS.clang+= -Wno-tautological-constant-out-of-range-compare .for f in lookup byaddr request sdb validator COPTS.${f}.c+= -Wno-pointer-sign -fno-strict-aliasing .endfor DNSSEC_SRCS= dst_api.c dst_lib.c dst_parse.c dst_result.c \ gssapictx.c hmac_link.c key.c openssl_link.c \ openssldh_link.c openssldsa_link.c opensslrsa_link.c \ opensslecdsa_link.c opensslgost_link.c .if ${MKKERBEROS} != "no" DNSSEC_SRCS+= gssapi_link.c spnego.c .endif SRCS= acl.c acache.c adb.c byaddr.c cache.c callbacks.c clientinfo.c \ compress.c client.c tsec.c ecdb.c \ db.c dbiterator.c dbtable.c diff.c dispatch.c dlz.c dns64.c dnssec.c \ ds.c forward.c iptable.c journal.c keydata.c keytable.c lib.c log.c \ lookup.c master.c masterdump.c message.c name.c ncache.c nsec.c \ nsec3.c order.c peer.c portlist.c rbt.c rbtdb.c rbtdb64.c rcode.c \ rdata.c rdatalist.c rdataset.c rdatasetiter.c rdataslab.c \ request.c resolver.c result.c rootns.c rpz.c rriterator.c rrl.c sdb.c \ soa.c ssu.c ssu_external.c stats.c tcpmsg.c time.c timer.c tkey.c \ tsig.c ttl.c private.c validator.c version.c view.c xfrin.c zone.c \ zonekey.c zt.c sdlz.c update.c ${DNSSEC_SRCS} .include