d6ceb6db22
This includes a return to building with threads, since one of the major focuses of the 9.4.x branch is to improve thread performance.
35 lines
768 B
Makefile
35 lines
768 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
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= aclconf.c log.c namedconf.c parser.c version.c
|
|
|
|
CFLAGS+= -I${SRCDIR}/include -I${.CURDIR}
|
|
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
|
|
|
|
DPADD= ${PTHREAD_DPADD}
|
|
LDADD= ${PTHREAD_LDADD}
|
|
|
|
.if ${MK_BIND_LIBS} != "no"
|
|
INCS= ${SRCDIR}/include/isccfg/aclconf.h \
|
|
${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>
|