freebsd-skq/lib/bind/isccfg/Makefile

31 lines
638 B
Makefile
Raw Normal View History

# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
LIB_BIND_REL= ..
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/lib/isccfg
.include "${LIB_BIND_DIR}/config.mk"
LIB= isccfg
.PATH: ${SRCDIR}
SRCS= log.c namedconf.c parser.c version.c
CFLAGS+= -I${SRCDIR}/include -I${.CURDIR}
DPADD= ${PTHREAD_DPADD}
LDADD= ${PTHREAD_LDADD}
.if defined(WITH_BIND_LIBS)
INCS= ${SRCDIR}/include/isccfg/cfg.h \
${SRCDIR}/include/isccfg/grammar.h \
${SRCDIR}/include/isccfg/log.h \
${SRCDIR}/include/isccfg/namedconf.h \
${SRCDIR}/include/isccfg/version.h
INCSDIR= ${INCLUDEDIR}/isccfg
.endif
.include <bsd.lib.mk>