freebsd-src/usr.sbin/rndc-confgen/Makefile

25 lines
499 B
Makefile
Raw Normal View History

# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../contrib/bind9
LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
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
.include <bsd.prog.mk>