freebsd-skq/usr.sbin/rndc-confgen/Makefile
dougb 6828e8e3e5 Update bmake glue for the BIND 9.4.1 import.
This includes a return to building with threads, since one of the
major focuses of the 9.4.x branch is to improve thread performance.
2007-06-02 23:19:58 +00:00

30 lines
660 B
Makefile

# $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-confgen
.PATH: ${SRCDIR}/unix
SRCS+= os.c
.PATH: ${SRCDIR}
SRCS+= rndc-confgen.c util.c
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR}
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
MAN= rndc-confgen.8
MANFILTER= sed -e 's@fI/etc\\fR.*@fI/etc/namedb\\fR@' \
-e '/^sysconfdir$$/d' \
-e '/was specified as when BIND was built)/d'
.include <bsd.prog.mk>