freebsd-nq/usr.sbin/rndc/Makefile

29 lines
595 B
Makefile
Raw Normal View History

# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../contrib/bind9
LIB_BIND_REL= ../../lib/bind
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/bin/rndc
.include "${LIB_BIND_DIR}/config.mk"
PROG= rndc
.PATH: ${SRCDIR}/unix
SRCS+= os.c
.PATH: ${SRCDIR}
SRCS+= rndc.c util.c
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR}
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD}
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD}
MAN= rndc.8 rndc.conf.5
MANFILTER= sed -e "s@/etc/rndc\.conf@/etc/namedb/rndc.conf@g" \
-e "s@/etc/rndc\.key@/etc/namedb/rndc.key@g"
.include <bsd.prog.mk>