1# $NetBSD: Makefile,v 1.3 2011/06/20 07:43:57 mrg Exp $ 2 3.include <bsd.own.mk> 4 5PROG= named 6MAN= named.8 lwresd.8 named.conf.5 7BINDIR= /usr/sbin 8LINKS= ${BINDIR}/named ${BINDIR}/lwresd 9 10.include "${.CURDIR}/../Makefile.inc" 11 12DIST=${IDIST}/bin/named 13CPPFLAGS+=-I${DIST}/include -I${DIST}/unix/include -DCONFIGARGS=\"defaults\" 14CPPFLAGS+=-DNO_VERSION_DATE 15 16.if defined(HAVE_GCC) 17.for f in client 18COPTS.${f}.c+= -fno-strict-aliasing 19.endfor 20.endif 21 22.PATH: ${DIST}/unix ${DIST} 23 24SRCS_UNIX= os.c dlz_dlopen_driver.c 25SRCS= builtin.c client.c config.c control.c controlconf.c \ 26 interfacemgr.c listenlist.c log.c logconf.c \ 27 lwaddr.c lwdclient.c lwderror.c \ 28 lwdgabn.c lwdgnba.c lwdgrbn.c lwdnoop.c lwresd.c lwsearch.c \ 29 main.c notify.c query.c server.c sortlist.c statschannel.c \ 30 tkeyconf.c tsigconf.c \ 31 update.c xfrout.c zoneconf.c ${SRCS_UNIX} 32 33.include <bsd.prog.mk> 34