1 # $NetBSD: Makefile,v 1.9 2015/01/25 15:51:53 christos Exp $
6 MAN
= named
.8 lwresd
.8 named.conf
.5
8 LINKS
= ${BINDIR}/named
${BINDIR}/lwresd
11 CWARNFLAGS.gcc
+= -Wno-maybe-uninitialized
12 .
endif # defined(__MINIX)
14 .
include "${.CURDIR}/../Makefile.inc"
16 DIST
=${IDIST}/bin
/named
17 CPPFLAGS
+=-I
${DIST}/include -I
${DIST}/unix
/include -DCONFIGARGS
=\"defaults
\"
18 CPPFLAGS
+=-DNO_VERSION_DATE
-DPRODUCT
=\"BIND
\" -DSRCID
=\"${SRCID}\"
19 CPPFLAGS
+=-DDESCRIPTION
=\"\
(Extended\ Support\ Version\
)\"
20 CPPFLAGS
+=-DBUILDER
=\"make
\" # I am tempted to say Bob
22 .
include "${IDIST}/srcid"
24 .if defined
(HAVE_GCC
) || defined
(HAVE_LLVM
)
26 COPTS.
${f}.c
+= -fno-strict-aliasing
30 CWARNFLAGS.clang
+= -Wno-tautological-constant-out-of-range-compare
32 .PATH
: ${DIST}/unix
${DIST}
34 SRCS_UNIX
= os.c dlz_dlopen_driver.c
35 SRCS
= builtin.c client.c config.c control.c controlconf.c \
36 interfacemgr.c listenlist.c log.c logconf.c \
37 lwaddr.c lwdclient.c lwderror.c \
38 lwdgabn.c lwdgnba.c lwdgrbn.c lwdnoop.c lwresd.c lwsearch.c \
39 main.c notify.c query.c server.c sortlist.c statschannel.c \
40 pfilter.c tkeyconf.c tsigconf.c \
41 update.c xfrout.c zoneconf.c
${SRCS_UNIX}
44 DPADD
+=${LIBBLACKLIST}
45 .
include <bsd.prog.mk
>