summaryrefslogtreecommitdiffstats
path: root/lib/libldns
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-02-15 13:44:18 +0000
committerdes <des@FreeBSD.org>2013-02-15 13:44:18 +0000
commite6d4c5218f404b3d9409e27fb0fa1f60413ef6cb (patch)
treed957b587bb5a1e7defbd76792f0b178819595c24 /lib/libldns
parentb585f0db6b4ff1dffb058cc09881606f50a2dc53 (diff)
parent481a5cc876eaea3ecda6f120c33620aaab58f19d (diff)
downloadFreeBSD-src-e6d4c5218f404b3d9409e27fb0fa1f60413ef6cb.zip
FreeBSD-src-e6d4c5218f404b3d9409e27fb0fa1f60413ef6cb.tar.gz
Import LDNS and build it as an internal library.
Diffstat (limited to 'lib/libldns')
-rw-r--r--lib/libldns/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/libldns/Makefile b/lib/libldns/Makefile
new file mode 100644
index 0000000..268939e
--- /dev/null
+++ b/lib/libldns/Makefile
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+# Vendor sources and generated files
+LDNSDIR = ${.CURDIR}/../../contrib/ldns
+
+.PATH: ${LDNSDIR}
+
+LIB = ldns
+INTERNALLIB = true
+
+CFLAGS += -I${LDNSDIR}
+
+SRCS += buffer.c
+SRCS += dname.c
+SRCS += dnssec.c
+SRCS += dnssec_sign.c
+SRCS += dnssec_verify.c
+SRCS += dnssec_zone.c
+SRCS += duration.c
+SRCS += error.c
+SRCS += higher.c
+SRCS += host2str.c
+SRCS += host2wire.c
+SRCS += keys.c
+SRCS += net.c
+SRCS += packet.c
+SRCS += parse.c
+SRCS += rbtree.c
+SRCS += rdata.c
+SRCS += resolver.c
+SRCS += rr.c
+SRCS += rr_functions.c
+SRCS += sha1.c
+SRCS += sha2.c
+SRCS += str2host.c
+SRCS += tsig.c
+SRCS += update.c
+SRCS += util.c
+SRCS += wire2host.c
+SRCS += zone.c
+
+WARNS ?= 3
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud