]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - lib/libunbound/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / lib / libunbound / Makefile
1 # $FreeBSD$
2
3 # Vendor sources and generated files
4 LDNSDIR= ${.CURDIR}/../../contrib/ldns
5 UNBOUNDDIR= ${.CURDIR}/../../contrib/unbound
6
7 # Hold my beer and watch this
8 .PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/iterator ${UNBOUNDDIR}/libunbound ${UNBOUNDDIR}/services ${UNBOUNDDIR}/services/cache ${UNBOUNDDIR}/util ${UNBOUNDDIR}/util/data ${UNBOUNDDIR}/util/storage ${UNBOUNDDIR}/validator 
9
10 LIB=    unbound
11 PRIVATELIB=
12
13 CFLAGS= -I${LDNSDIR} -I${UNBOUNDDIR}
14
15 SRCS=   alloc.c autotrust.c config_file.c configlexer.c configparser.c \
16         context.c dname.c dns.c dnstree.c fptr_wlist.c infra.c \
17         iter_delegpt.c iter_donotq.c iter_fwd.c iter_hints.c iter_priv.c \
18         iter_resptype.c iter_scrub.c iter_utils.c iterator.c libunbound.c \
19         libworker.c listen_dnsport.c localzone.c locks.c log.c lookup3.c \
20         lruhash.c mesh.c mini_event.c modstack.c module.c msgencode.c \
21         msgparse.c msgreply.c net_help.c netevent.c outbound_list.c \
22         outside_network.c packed_rrset.c random.c rbtree.c regional.c \
23         rrset.c rtt.c slabhash.c timehist.c tube.c val_anchor.c \
24         val_kcache.c val_kentry.c val_neg.c val_nsec.c val_nsec3.c \
25         val_secalgo.c val_sigcrypt.c val_utils.c validator.c \
26         winsock_event.c
27
28 WARNS?= 3
29
30 DPADD+= ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
31 LDADD+= -lssl -lcrypto -lpthread
32
33 .include <bsd.lib.mk>