1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1994-09-22 20:45:34 +00:00
|
|
|
|
2004-09-21 19:01:48 +00:00
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
2004-09-24 13:42:00 +00:00
|
|
|
LIB_BIND_REL= ../../lib/bind
|
|
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
2004-09-21 19:01:48 +00:00
|
|
|
SRCDIR= ${BIND_DIR}/bin/named
|
|
|
|
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
|
|
|
|
PROG= named
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}/unix
|
|
|
|
SRCS+= os.c
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|
2007-06-02 23:19:58 +00:00
|
|
|
SRCS+= builtin.c client.c config.c control.c \
|
2004-09-21 19:01:48 +00:00
|
|
|
controlconf.c interfacemgr.c \
|
|
|
|
listenlist.c log.c logconf.c main.c notify.c \
|
|
|
|
query.c server.c sortlist.c \
|
|
|
|
tkeyconf.c tsigconf.c update.c xfrout.c \
|
|
|
|
zoneconf.c \
|
|
|
|
lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
|
|
|
|
lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c
|
|
|
|
|
|
|
|
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR}
|
2007-06-02 23:19:58 +00:00
|
|
|
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
|
2004-09-21 19:01:48 +00:00
|
|
|
|
2006-08-13 05:32:10 +00:00
|
|
|
# Remove the date stamp to make it more obvious when real changes happen
|
|
|
|
CFLAGS+= -U__DATE__
|
|
|
|
|
2007-06-02 23:19:58 +00:00
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
2004-09-21 19:01:48 +00:00
|
|
|
|
2004-09-27 03:55:03 +00:00
|
|
|
MAN= named.8 lwresd.8 named.conf.5
|
2004-09-26 06:36:11 +00:00
|
|
|
|
|
|
|
MANFILTER= sed -e "s@/etc/named\.conf@/etc/namedb/named.conf@g"
|
2004-09-21 19:01:48 +00:00
|
|
|
|
|
|
|
LINKS= ${BINDIR}/named ${BINDIR}/lwresd
|
1994-09-22 20:45:34 +00:00
|
|
|
|
1996-08-29 21:38:16 +00:00
|
|
|
.include <bsd.prog.mk>
|