diff options
Diffstat (limited to 'lib/libldns/Makefile')
-rw-r--r-- | lib/libldns/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/libldns/Makefile b/lib/libldns/Makefile index 34ffe7d2ed73..68ee26076f6b 100644 --- a/lib/libldns/Makefile +++ b/lib/libldns/Makefile @@ -1,4 +1,3 @@ -# $FreeBSD$ # Vendor sources and generated files LDNSDIR = ${SRCTOP}/contrib/ldns @@ -10,17 +9,22 @@ LIB= ldns PRIVATELIB= true CFLAGS+= -I${LDNSDIR} +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L 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 + dnssec_zone.c duration.c edns.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+= b64_ntop.c b64_pton.c LIBADD= ssl crypto -WARNS ?= 3 +WARNS?= 3 + +CWARNFLAGS.edns.c= ${NO_WSTRICT_PROTOTYPES} +CWARNFLAGS.parse.c= ${NO_WUSE_AFTER_FREE} +CWARNFLAGS.sha2.c= ${NO_WARRAY_PARAMETER} .include <bsd.lib.mk> |