summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-09-22 20:30:55 +0000
committerdes <des@FreeBSD.org>2013-09-22 20:30:55 +0000
commit819dbfe373eeb8d0c4961fa136119525067ba024 (patch)
treec83526275c484e2395cc0c010792d07124edd5ff /usr.bin
parent752a7a786f64701363c2727c927615419313b0d0 (diff)
downloadFreeBSD-src-819dbfe373eeb8d0c4961fa136119525067ba024.zip
FreeBSD-src-819dbfe373eeb8d0c4961fa136119525067ba024.tar.gz
Build and install drill(1).
Approved by: re (blanket)
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