freebsd-dev/lib/bind/isccfg/Makefile
Doug Barton a2af6bc259 Fix the WANT_BIND_LIBS knob by correctly spelling it as WITH_BIND_LIBS
to match how similar syntax is used in the ports system. Thanks to kris
for pointing out my mistake here.

Install the lwres library unless the user defines NO_BIND, or the new
knob, NO_BIND_LIBS_LWRES. There is at least one potential customer
for this library in the wings. Thanks to nectar for the reminder.
2004-09-24 18:42:05 +00:00

31 lines
638 B
Makefile

# $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>