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
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
19 .
include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
20 .
include "${BIND_DIR}/lib/bind9/api"
24 CFLAGS
+= -DLIBINTERFACE
=${LIBINTERFACE} -DLIBREVISION
=${LIBREVISION} -DLIBAGE
=${LIBAGE}
26 .PATH
: ${BIND_DIR}/lib
/bind9
27 SRCS
+= check.c version.c getaddresses.c