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}
|
2011-07-16 11:20:54 +00:00
|
|
|
SRCDIR= ${BIND_DIR}/bin/confgen
|
2004-09-21 19:01:48 +00:00
|
|
|
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
|
|
|
|
PROG= rndc-confgen
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}/unix
|
|
|
|
SRCS+= os.c
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|
2011-07-16 11:20:54 +00:00
|
|
|
SRCS+= rndc-confgen.c keygen.c util.c
|
2004-09-21 19:01:48 +00:00
|
|
|
|
|
|
|
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR}
|
|
|
|
|
2010-01-02 11:07:44 +00:00
|
|
|
WARNS?= 3
|
|
|
|
|
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
|
|
|
|
|
|
|
MAN= rndc-confgen.8
|
|
|
|
|
2004-09-26 06:36:11 +00:00
|
|
|
MANFILTER= sed -e 's@fI/etc\\fR.*@fI/etc/namedb\\fR@' \
|
|
|
|
-e '/^sysconfdir$$/d' \
|
|
|
|
-e '/was specified as when BIND was built)/d'
|
|
|
|
|
2004-09-21 19:01:48 +00:00
|
|
|
.include <bsd.prog.mk>
|