1# $FreeBSD$ 2 3# Vendor sources and generated files 4LDNSDIR = ${SRCTOP}/contrib/ldns 5 6PACKAGE=lib${LIB} 7.PATH: ${LDNSDIR} ${LDNSDIR}/compat 8 9LIB= ldns 10PRIVATELIB= true 11 12CFLAGS+= -I${LDNSDIR} 13CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L 14 15SRCS= buffer.c dane.c dname.c dnssec.c dnssec_sign.c dnssec_verify.c \ 16 dnssec_zone.c duration.c edns.c error.c higher.c host2str.c \ 17 host2wire.c keys.c net.c packet.c parse.c radix.c rbtree.c rdata.c \ 18 resolver.c rr.c rr_functions.c sha1.c sha2.c str2host.c tsig.c \ 19 update.c util.c wire2host.c zone.c 20 21SRCS+= b64_ntop.c b64_pton.c 22 23LIBADD= ssl crypto 24 25WARNS?= 3 26 27CWARNFLAGS.edns.c= ${NO_WSTRICT_PROTOTYPES} 28CWARNFLAGS.parse.c= ${NO_WUSE_AFTER_FREE} 29CWARNFLAGS.sha2.c= ${NO_WARRAY_PARAMETER} 30 31.include <bsd.lib.mk> 32