mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 16:49:40 +00:00
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.
32 lines
627 B
Makefile
32 lines
627 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/bind9
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
LIB= bind9
|
|
|
|
.PATH: ${SRCDIR}
|
|
SRCS= check.c getaddresses.c version.c
|
|
|
|
CFLAGS+= -I${SRCDIR}/include
|
|
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
|
|
|
|
DPADD= ${PTHREAD_DPADD}
|
|
LDADD= ${PTHREAD_LDADD}
|
|
|
|
.if ${MK_BIND_LIBS} != "no"
|
|
INCS= ${SRCDIR}/include/bind9/check.h \
|
|
${SRCDIR}/include/bind9/getaddresses.h \
|
|
${SRCDIR}/include/bind9/version.h
|
|
|
|
INCSDIR= ${INCLUDEDIR}/bind9
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|