27 lines
585 B
Makefile
27 lines
585 B
Makefile
# $FreeBSD$
|
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
|
LIB_BIND_REL= ../../lib/bind
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
|
SRCDIR= ${BIND_DIR}/bin/nsupdate
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
PROG= nsupdate
|
|
|
|
.PATH: ${SRCDIR}
|
|
SRCS+= nsupdate.c
|
|
|
|
CFLAGS+= -I${SRCDIR}/include
|
|
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
|
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
|
|
|
MAN= nsupdate.1
|
|
|
|
MANFILTER= sed -e "s@/etc/named\.conf@/etc/namedb/named.conf@g" \
|
|
-e "s@^\.HP [0-9]* @@"
|
|
|
|
.include <bsd.prog.mk>
|