summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile1
-rw-r--r--usr.bin/drill/Makefile19
2 files changed, 20 insertions, 0 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 65187c5..6852c7a 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -265,6 +265,7 @@ SUBDIR+= compile_et
.endif
.if ${MK_LDNS_UTILS} != "no"
+SUBDIR+= drill
SUBDIR+= host
.endif
diff --git a/usr.bin/drill/Makefile b/usr.bin/drill/Makefile
new file mode 100644
index 0000000..a963bfc
--- /dev/null
+++ b/usr.bin/drill/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+# Vendor sources and generated files
+LDNSDIR= ${.CURDIR}/../../contrib/ldns
+
+.PATH: ${LDNSDIR}/drill
+
+PROG= drill
+SRCS= drill.c drill_util.c error.c root.c work.c \
+ chasetrace.c dnssec.c securetrace.c
+CFLAGS+= -I${LDNSDIR}
+NO_WERROR= true
+MAN= drill.1
+
+DPADD+= ${LIBLDNS} ${LIBCRYPTO}
+LDADD+= -lldns -lcrypto
+USEPRIVATELIB= ldns
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud