1# $FreeBSD$ 2 3# Vendor sources and generated files 4LDNSDIR = ${.CURDIR}/../../contrib/ldns 5 6.PATH: ${LDNSDIR} ${LDNSDIR}/compat 7 8LIB= ldns 9PRIVATELIB= true 10 11CFLAGS+= -I${LDNSDIR} 12 13SRCS= buffer.c dane.c dname.c dnssec.c dnssec_sign.c dnssec_verify.c \ 14 dnssec_zone.c duration.c error.c higher.c host2str.c host2wire.c \ 15 keys.c net.c packet.c parse.c rbtree.c rdata.c resolver.c rr.c \ 16 rr_functions.c sha1.c sha2.c str2host.c tsig.c update.c util.c \ 17 wire2host.c zone.c 18 19SRCS+= b32_ntop.c b32_pton.c b64_ntop.c b64_pton.c 20 21DPADD+= ${LIBCRYPTO} 22LDADD+= -lcrypto 23 24WARNS ?= 3 25 26.include <bsd.lib.mk> 27