aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/host
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-09-21 19:01:48 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-09-21 19:01:48 +0000
commitcd3ee173f95b226e43b4637c7d66afac0fac26e0 (patch)
treeee65309033b0451fbda3772ae513fcd9b3dec47a /usr.bin/host
parent95c973ff5291e7e1cfe8c0d3d26f90b89d6130c2 (diff)
Notes
Diffstat (limited to 'usr.bin/host')
-rw-r--r--usr.bin/host/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/usr.bin/host/Makefile b/usr.bin/host/Makefile
index a81d9e7562a4..b4d07ad96455 100644
--- a/usr.bin/host/Makefile
+++ b/usr.bin/host/Makefile
@@ -1,11 +1,21 @@
# $FreeBSD$
-USE_LIBBIND= yes
-.include "${.CURDIR}/../../usr.sbin/named/Makefile.inc"
+BIND_DIR= ${.CURDIR}/../../contrib/bind9
+LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
+SRCDIR= ${BIND_DIR}/bin/dig
-.PATH: ${BIND_DIR}/bin/host
-.PATH: ${BIND_DIR}/doc/man
+.include "${LIB_BIND_DIR}/config.mk"
-PROG= host
+PROG= host
+
+.PATH: ${SRCDIR}
+SRCS+= dighost.c host.c
+
+CFLAGS+= -I${SRCDIR}/include
+
+DPADD+= ${BIND_DPADD}
+LDADD+= ${BIND_LDADD}
+
+MAN= host.1
.include <bsd.prog.mk>