2004-09-21 20:01:48 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
2004-09-24 14:42:00 +01:00
|
|
|
LIB_BIND_REL= ../../lib/bind
|
|
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
2004-09-21 20:01:48 +01:00
|
|
|
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}
|
|
|
|
|
2004-09-22 13:13:58 +01:00
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
2004-09-21 20:01:48 +01:00
|
|
|
|
|
|
|
MAN= rndc-confgen.8
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|