BIND - Update BIND to 9.5.2
[dragonfly.git] / usr.bin / host / Makefile
blobe95002e84de6516030cf224917d9c9899c795d11
1 # $FreeBSD: src/usr.bin/dig/Makefile,v 1.7 1999/11/30 06:25:16 peter Exp $
2 # $DragonFly: src/usr.bin/host/Makefile,v 1.6 2007/08/27 16:50:54 pavalos Exp $
4 USE_LIBBIND= yes
5 USE_LIBBIND9= yes
6 USE_LIBISC= yes
7 .include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
9 .PATH: ${BIND_DIR}/bin/dig
10 .PATH: ${BIND_DIR}/doc/man
12 PROG= host
13 SRCS= host.c dighost.c
14 WARNS?= 1
16 CFLAGS+= -I${.CURDIR}/../../usr.sbin/named \
17 -I${.CURDIR}/../../usr.sbin/named/include \
18 -I${BIND_DIR}/lib/bind9/include \
19 -I${BIND_DIR}/bin/dig/include
21 .if ${MACHINE_ARCH} == "i386"
22 CFLAGS+= -I${BIND_DIR}/lib/isc/x86_32/include
23 CFLAGS+= -DISC_PLATFORM_USETHREADS
24 CFLAGS+= -DISC_PLATFORM_USEGCCASM
25 .endif
26 .if ${MACHINE_ARCH} == "x86_64"
27 CFLAGS+= -I${BIND_DIR}/lib/isc/x86_64/include
28 CFLAGS+= -DISC_PLATFORM_USETHREADS
29 CFLAGS+= -DISC_PLATFORM_USESTDASM
30 .endif
32 .include <bsd.prog.mk>