summaryrefslogtreecommitdiffstats
path: root/usr.bin/host/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/host/Makefile')
-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 a81d9e7..b4d07ad 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>
OpenPOWER on IntegriCloud