HAMMER - Stabilize and refactor volume removal
[dragonfly.git] / lib / libbind9 / Makefile
blobccec89ed1682d906ddacf8b59e9eae0efa13a63c
1 # $DragonFly: src/lib/libbind9/Makefile,v 1.1 2006/09/20 21:48:39 victor Exp $
3 BIND_DIR=${.CURDIR}/../../contrib/bind
4 .include "${BIND_DIR}/lib/isc/api"
5 CFLAGS+= -I${.CURDIR}/../../usr.sbin/named \
6 -I${.CURDIR}/../../usr.sbin/named/include \
7 -I${BIND_DIR}/lib/bind9/include
9 .if ${MACHINE_ARCH} == "i386"
10 CFLAGS+= -I${BIND_DIR}/lib/isc/x86_32/include
11 CFLAGS+= -DISC_PLATFORM_USETHREADS
12 CFLAGS+= -DISC_PLATFORM_USEGCCASM
13 .endif
14 .if ${MACHINE_ARCH} == "x86_64"
15 CFLAGS+= -I${BIND_DIR}/lib/isc/x86_64/include
16 CFLAGS+= -DISC_PLATFORM_USETHREADS
17 CFLAGS+= -DISC_PLATFORM_USESTDASM
18 .endif
19 .include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
20 .include "${BIND_DIR}/lib/bind9/api"
22 LIB= bind9
24 CFLAGS+= -DLIBINTERFACE=${LIBINTERFACE} -DLIBREVISION=${LIBREVISION} -DLIBAGE=${LIBAGE}
26 .PATH: ${BIND_DIR}/lib/bind9
27 SRCS+= check.c version.c getaddresses.c
29 WARNS?= 1
31 .include <bsd.lib.mk>