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