freebsd-skq/usr.sbin/rndc-confgen/Makefile
des 96f2eb8f8a Disable thread support in BIND. It appears to reduce performance rather
than increase it, and seems to be the cause of the memory leaks which some
users have reported.

Requested by:	dougb
MFC after:	5 days
2005-07-25 14:44:11 +00:00

30 lines
626 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}
LDADD+= ${BIND_LDADD} ${CRYPTO_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>