diff options
Diffstat (limited to 'usr.sbin/rndc-confgen/Makefile')
-rw-r--r-- | usr.sbin/rndc-confgen/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/usr.sbin/rndc-confgen/Makefile b/usr.sbin/rndc-confgen/Makefile new file mode 100644 index 0000000..2474920 --- /dev/null +++ b/usr.sbin/rndc-confgen/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +BIND_DIR= ${.CURDIR}/../../contrib/bind9 +LIB_BIND_REL= ../../lib/bind +LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL} +SRCDIR= ${BIND_DIR}/bin/confgen + +.include "${LIB_BIND_DIR}/config.mk" + +PROG= rndc-confgen + +.PATH: ${SRCDIR}/unix +SRCS+= os.c + +.PATH: ${SRCDIR} +SRCS+= rndc-confgen.c keygen.c util.c + +CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR} + +WARNS?= 3 + +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> |