1 1.2 christos # $NetBSD: Makefile,v 1.2 2019/01/09 16:55:23 christos Exp $ 2 1.1 christos 3 1.1 christos LIB=ns 4 1.1 christos #USE_SHLIBDIR= yes 5 1.1 christos 6 1.1 christos .include <bsd.own.mk> 7 1.1 christos 8 1.1 christos .include "${.CURDIR}/../Makefile.inc" 9 1.1 christos 10 1.1 christos DIST= ${IDIST}/lib/ns 11 1.1 christos .include "${DIST}/api" 12 1.1 christos 13 1.1 christos .PATH.c: ${DIST} 14 1.1 christos CPPFLAGS+= -I${BIND_SRCDIR}/include/ns -I${DIST} 15 1.1 christos 16 1.1 christos CWARNFLAGS.clang+= -Wno-tautological-constant-out-of-range-compare 17 1.1 christos 18 1.1 christos #.for f in lookup byaddr request sdb validator 19 1.1 christos #COPTS.${f}.c+= -Wno-pointer-sign -fno-strict-aliasing 20 1.1 christos #.endfor 21 1.1 christos 22 1.2 christos SRCS= client.c hooks.c interfacemgr.c lib.c listenlist.c \ 23 1.1 christos log.c notify.c query.c server.c sortlist.c stats.c \ 24 1.1 christos update.c version.c xfrout.c 25 1.1 christos 26 1.1 christos .include <bsd.lib.mk> 27