2013-02-15 13:44:18 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
# Vendor sources and generated files
|
|
|
|
LDNSDIR = ${.CURDIR}/../../contrib/ldns
|
|
|
|
|
2013-04-13 22:45:41 +00:00
|
|
|
.PATH: ${LDNSDIR} ${LDNSDIR}/compat
|
2013-02-15 13:44:18 +00:00
|
|
|
|
2013-04-14 00:59:56 +00:00
|
|
|
LIB= ldns
|
2013-09-08 10:04:26 +00:00
|
|
|
PRIVATELIB= true
|
2013-04-14 00:59:56 +00:00
|
|
|
|
|
|
|
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 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
|
2013-04-13 22:45:41 +00:00
|
|
|
|
2013-09-08 19:39:18 +00:00
|
|
|
DPADD+= ${LIBCRYPTO}
|
|
|
|
LDADD+= -lcrypto
|
|
|
|
|
2013-02-15 13:44:18 +00:00
|
|
|
WARNS ?= 3
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|