2004-09-21 19:01:48 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
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/nsupdate
|
|
|
|
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
|
|
|
|
PROG= nsupdate
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
SRCS+= nsupdate.c
|
|
|
|
|
|
|
|
CFLAGS+= -I${SRCDIR}/include
|
2007-06-02 23:19:58 +00:00
|
|
|
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
|
2011-07-16 11:20:54 +00:00
|
|
|
CFLAGS+= -DSESSION_KEYFILE=\"/var/run/named/session.key\"
|
2004-09-21 19:01:48 +00:00
|
|
|
|
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
|
|
|
|
2010-01-02 10:27:05 +00:00
|
|
|
WARNS?= 1
|
|
|
|
|
2008-12-23 22:51:10 +00:00
|
|
|
MAN= nsupdate.1
|
2004-09-21 19:01:48 +00:00
|
|
|
|
2006-12-15 18:02:20 +00:00
|
|
|
MANFILTER= sed -e "s@/etc/named\.conf@/etc/namedb/named.conf@g" \
|
|
|
|
-e "s@^\.HP [0-9]* @@"
|
2004-09-26 06:36:11 +00:00
|
|
|
|
2004-09-21 19:01:48 +00:00
|
|
|
.include <bsd.prog.mk>
|