aboutsummaryrefslogtreecommitdiff
path: root/lib/libldns
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libldns')
-rw-r--r--lib/libldns/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libldns/Makefile b/lib/libldns/Makefile
new file mode 100644
index 000000000000..1acad7ded8b4
--- /dev/null
+++ b/lib/libldns/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+# Vendor sources and generated files
+LDNSDIR = ${.CURDIR}/../../contrib/ldns
+
+.PATH: ${LDNSDIR} ${LDNSDIR}/compat
+
+LIB= ldns
+PRIVATELIB= true
+
+CFLAGS+= -I${LDNSDIR}
+
+SRCS= buffer.c dane.c dname.c dnssec.c dnssec_sign.c dnssec_verify.c \
+ dnssec_zone.c duration.c error.c higher.c host2str.c host2wire.c \
+ keys.c net.c packet.c parse.c radix.c rbtree.c rdata.c resolver.c \
+ rr.c rr_functions.c sha1.c sha2.c str2host.c tsig.c update.c util.c \
+ wire2host.c zone.c
+
+#SRCS+= b32_ntop.c b32_pton.c b64_ntop.c b64_pton.c
+SRCS+= b64_ntop.c b64_pton.c
+
+DPADD+= ${LIBCRYPTO}
+LDADD+= -lcrypto
+
+WARNS ?= 3
+
+.include <bsd.lib.mk>