summaryrefslogtreecommitdiffstats
path: root/lib/bind/isc
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2007-06-02 23:19:58 +0000
committerdougb <dougb@FreeBSD.org>2007-06-02 23:19:58 +0000
commit6828e8e3e514fe430f1754fada15a756032399a9 (patch)
tree1ad7fe01d625e91cc274254cd136ada12496158a /lib/bind/isc
parentadb4c6dae5410feb32b67abbcd13f4e4647c9f83 (diff)
downloadFreeBSD-src-6828e8e3e514fe430f1754fada15a756032399a9.zip
FreeBSD-src-6828e8e3e514fe430f1754fada15a756032399a9.tar.gz
Update bmake glue for the BIND 9.4.1 import.
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.
Diffstat (limited to 'lib/bind/isc')
-rw-r--r--lib/bind/isc/Makefile25
1 files changed, 16 insertions, 9 deletions
diff --git a/lib/bind/isc/Makefile b/lib/bind/isc/Makefile
index 0fd8342..22bcaa9 100644
--- a/lib/bind/isc/Makefile
+++ b/lib/bind/isc/Makefile
@@ -21,7 +21,7 @@ SRCS+= app.c dir.c entropy.c \
.PATH: ${SRCDIR}/nls
SRCS+= msgcat.c \
-.PATH: ${SRCDIR}/nothreads
+.PATH: ${SRCDIR}/pthreads
SRCS+= condition.c mutex.c \
thread.c
@@ -29,16 +29,20 @@ SRCS+= condition.c mutex.c \
SRCS+= inet_pton.c \
assertions.c base64.c bitstring.c buffer.c \
bufferlist.c commandline.c error.c event.c \
- hash.c heap.c hex.c hmacmd5.c \
+ hash.c heap.c hex.c hmacmd5.c hmacsha.c \
lex.c lfsr.c lib.c log.c md5.c \
mem.c mutexblock.c netaddr.c netscope.c ondestroy.c \
parseint.c print.c quota.c random.c \
- ratelimiter.c region.c result.c rwlock.c \
- serial.c sha1.c sockaddr.c string.c strtoul.c \
+ ratelimiter.c refcount.c region.c result.c rwlock.c \
+ serial.c sha1.c sha2.c sockaddr.c string.c strtoul.c \
symtab.c task.c taskpool.c timer.c version.c
-CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/nothreads/include
+CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/pthreads/include
CFLAGS+= -I${SRCDIR}/include -I${.CURDIR}
+CFLAGS+= -I${SRCDIR}/${ISC_ATOMIC_ARCH}/include
+
+DPADD= ${PTHREAD_DPADD}
+LDADD= ${PTHREAD_LDADD}
.if ${MK_BIND_LIBS} != "no"
INCS= ${SRCDIR}/include/isc/app.h \
@@ -60,6 +64,7 @@ INCS= ${SRCDIR}/include/isc/app.h \
${SRCDIR}/include/isc/heap.h \
${SRCDIR}/include/isc/hex.h \
${SRCDIR}/include/isc/hmacmd5.h \
+ ${SRCDIR}/include/isc/hmacsha.h \
${SRCDIR}/include/isc/interfaceiter.h \
${SRCDIR}/include/isc/ipv6.h \
${SRCDIR}/include/isc/lang.h \
@@ -91,6 +96,7 @@ INCS= ${SRCDIR}/include/isc/app.h \
${SRCDIR}/include/isc/rwlock.h \
${SRCDIR}/include/isc/serial.h \
${SRCDIR}/include/isc/sha1.h \
+ ${SRCDIR}/include/isc/sha2.h \
${SRCDIR}/include/isc/sockaddr.h \
${SRCDIR}/include/isc/socket.h \
${SRCDIR}/include/isc/stdio.h \
@@ -103,10 +109,10 @@ INCS= ${SRCDIR}/include/isc/app.h \
${SRCDIR}/include/isc/types.h \
${SRCDIR}/include/isc/util.h \
${SRCDIR}/include/isc/version.h \
- ${SRCDIR}/nothreads/include/isc/condition.h \
- ${SRCDIR}/nothreads/include/isc/mutex.h \
- ${SRCDIR}/nothreads/include/isc/once.h \
- ${SRCDIR}/nothreads/include/isc/thread.h \
+ ${SRCDIR}/pthreads/include/isc/condition.h \
+ ${SRCDIR}/pthreads/include/isc/mutex.h \
+ ${SRCDIR}/pthreads/include/isc/once.h \
+ ${SRCDIR}/pthreads/include/isc/thread.h \
${SRCDIR}/unix/include/isc/dir.h \
${SRCDIR}/unix/include/isc/int.h \
${SRCDIR}/unix/include/isc/keyboard.h \
@@ -118,6 +124,7 @@ INCS= ${SRCDIR}/include/isc/app.h \
${SRCDIR}/unix/include/isc/strerror.h \
${SRCDIR}/unix/include/isc/syslog.h \
${SRCDIR}/unix/include/isc/time.h \
+ ${SRCDIR}/${ISC_ATOMIC_ARCH}/include/isc/atomic.h \
isc/platform.h
INCSDIR= ${INCLUDEDIR}/isc
OpenPOWER on IntegriCloud