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 $
7 .
include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
9 .PATH
: ${BIND_DIR}/bin
/dig
10 .PATH
: ${BIND_DIR}/doc
/man
13 SRCS
= host.c dighost.c
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
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
32 .
include <bsd.prog.mk
>