]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libunbound/Makefile
Upgrade Unbound to 1.6.0. More to follow.
[FreeBSD/FreeBSD.git] / lib / libunbound / Makefile
1 # $FreeBSD$
2
3 PACKAGE=lib${LIB}
4 # Vendor sources and generated files
5 LDNSDIR= ${SRCTOP}/contrib/ldns
6 UNBOUNDDIR= ${SRCTOP}/contrib/unbound
7
8 # Hold my beer and watch this
9 .PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/cachedb ${UNBOUNDDIR}/dns64 ${UNBOUNDDIR}/iterator ${UNBOUNDDIR}/sldns ${UNBOUNDDIR}/libunbound ${UNBOUNDDIR}/services ${UNBOUNDDIR}/services/cache ${UNBOUNDDIR}/util ${UNBOUNDDIR}/util/data ${UNBOUNDDIR}/util/storage ${UNBOUNDDIR}/validator 
10
11 LIB=    unbound
12 PRIVATELIB=
13 PACKAGE=        unbound
14
15 CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR} -I${.OBJDIR}
16
17 SRCS=   alloc.c as112.c autotrust.c cachedb.c config_file.c configlexer.l \
18         configparser.y context.c dname.c dns.c dns64.c dnstree.c \
19         fptr_wlist.c infra.c iter_delegpt.c iter_donotq.c iter_fwd.c \
20         iter_hints.c iter_priv.c iter_resptype.c iter_scrub.c iter_utils.c \
21         iterator.c keyraw.c libunbound.c libworker.c listen_dnsport.c \
22         localzone.c locks.c log.c lookup3.c lruhash.c mesh.c mini_event.c \
23         modstack.c module.c msgencode.c msgparse.c msgreply.c net_help.c \
24         netevent.c outbound_list.c outside_network.c packed_rrset.c parse.c \
25         parseutil.c random.c rbtree.c regional.c rrdef.c rrset.c rtt.c \
26         sbuffer.c slabhash.c str2wire.c timehist.c tube.c \
27         ub_event_pluggable.c val_anchor.c val_kcache.c val_kentry.c \
28         val_neg.c val_nsec.c val_nsec3.c val_secalgo.c val_sigcrypt.c \
29         val_utils.c validator.c view.c winsock_event.c wire2str.c
30
31 WARNS?= 3
32
33 LIBADD= ssl crypto pthread
34
35 # Misnamed file in upstream source
36 configlexer.l: configlexer.lex
37         ${CP} ${.ALLSRC} ${.TARGET}
38 CLEANFILES+= configlexer.l
39
40 # Symbol prefix for lex and yacc
41 LFLAGS= -Pub_c_
42 YFLAGS= -pub_c_ -d
43
44 .include <bsd.lib.mk>