1 # $NetBSD: Makefile,v 1.7 2026/01/15 21:35:19 christos Exp $ 2 3 LIBISPRIVATE=yes 4 .include <bsd.init.mk> 5 6 SIMDZONE=${NSD}/simdzone/src 7 .PATH: ${NSD}/compat ${NSD}/util ${SIMDZONE} ${SIMDZONE}/fallback 8 CPPFLAGS+=-I${SIMDZONE} 9 10 LIB=nsd 11 SRCS=\ 12 answer.c \ 13 axfr.c \ 14 bitset.c \ 15 buffer.c \ 16 configlexer.c \ 17 configparser.c \ 18 dname.c \ 19 dns.c \ 20 edns.c \ 21 iterated_hash.c \ 22 ixfr.c \ 23 ixfrcreate.c \ 24 lookup3.c \ 25 namedb.c \ 26 nsec3.c \ 27 options.c \ 28 packet.c \ 29 parser.c \ 30 popen3.c \ 31 proxy_protocol.c \ 32 query.c \ 33 radtree.c \ 34 radtree.c \ 35 rbtree.c \ 36 rdata.c \ 37 region-allocator.c \ 38 rrl.c \ 39 siphash.c \ 40 tsig-openssl.c \ 41 tsig.c \ 42 udb.c \ 43 util.c \ 44 verify.c \ 45 zone.c 46 47 SRCS+=\ 48 b64_ntop.c \ 49 b64_pton.c 50 51 LIBDPLIBS+= ${DPLIBS} 52 53 .include <bsd.lib.mk> 54 55 COPTS.tsig-openssl.c+= -Wno-error=deprecated-declarations 56 COPTS.iterated_hash.c+= -Wno-error=deprecated-declarations 57 58 59 # Use the generated files 60 .y.c: 61