freebsd-dev/lib/libldns/Makefile
Dag-Erling Smørgrav 1a5d9b871d LDNS needs OpenSSL. This wasn't a problem as long as it was only build
statically, since any program using it would have to link with it anyway.

Approved by:	re (blanket)
2013-09-08 19:39:18 +00:00

27 lines
596 B
Makefile

# $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 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
DPADD+= ${LIBCRYPTO}
LDADD+= -lcrypto
WARNS ?= 3
.include <bsd.lib.mk>