etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / bin / named / Makefile
blobb2102422bcaf49c8a0cb32a7c16e3dd2d7185daa
1 # $NetBSD: Makefile,v 1.9 2015/01/25 15:51:53 christos Exp $
3 .include <bsd.own.mk>
5 PROG= named
6 MAN= named.8 lwresd.8 named.conf.5
7 BINDIR= /usr/sbin
8 LINKS= ${BINDIR}/named ${BINDIR}/lwresd
10 .if defined(__MINIX)
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)
25 .for f in client
26 COPTS.${f}.c+= -fno-strict-aliasing
27 .endfor
28 .endif
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}
43 LDADD+=-lblacklist
44 DPADD+=${LIBBLACKLIST}
45 .include <bsd.prog.mk>