summaryrefslogtreecommitdiffstats
path: root/lib/libunbound/Makefile
blob: eab23e19fdd6b1a198d219a589042e8a01703d2e (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
27
28
29
30
31
32
33
# $FreeBSD$

# Vendor sources and generated files
LDNSDIR= ${.CURDIR}/../../contrib/ldns
UNBOUNDDIR= ${.CURDIR}/../../contrib/unbound

# Hold my beer and watch this
.PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/iterator ${UNBOUNDDIR}/libunbound ${UNBOUNDDIR}/services ${UNBOUNDDIR}/services/cache ${UNBOUNDDIR}/util ${UNBOUNDDIR}/util/data ${UNBOUNDDIR}/util/storage ${UNBOUNDDIR}/validator 

LIB=	unbound
PRIVATELIB=

CFLAGS=	-I${LDNSDIR} -I${UNBOUNDDIR}

SRCS=	alloc.c autotrust.c config_file.c configlexer.c configparser.c \
	context.c dname.c dns.c dnstree.c fptr_wlist.c infra.c \
	iter_delegpt.c iter_donotq.c iter_fwd.c iter_hints.c iter_priv.c \
	iter_resptype.c iter_scrub.c iter_utils.c iterator.c libunbound.c \
	libworker.c listen_dnsport.c localzone.c locks.c log.c lookup3.c \
	lruhash.c mesh.c mini_event.c modstack.c module.c msgencode.c \
	msgparse.c msgreply.c net_help.c netevent.c outbound_list.c \
	outside_network.c packed_rrset.c random.c rbtree.c regional.c \
	rrset.c rtt.c slabhash.c timehist.c tube.c val_anchor.c \
	val_kcache.c val_kentry.c val_neg.c val_nsec.c val_nsec3.c \
	val_secalgo.c val_sigcrypt.c val_utils.c validator.c \
	winsock_event.c

WARNS?=	3

DPADD+=	${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
LDADD+=	-lssl -lcrypto -lpthread

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