summaryrefslogtreecommitdiffstats
path: root/lib/libldns/Makefile
blob: db4b989506fbc99da03838573a3503e439409642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $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 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

DPADD+=	${LIBCRYPTO}
LDADD+=	-lcrypto

WARNS ?= 3

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud