1# $FreeBSD$ 2 3# Vendor sources and generated files 4LDNSDIR= ${.CURDIR}/../../contrib/ldns 5UNBOUNDDIR= ${.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 10LIB= unbound 11PRIVATELIB= 12 13CFLAGS= -I${LDNSDIR} -I${UNBOUNDDIR} 14 15SRCS= 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 28WARNS?= 3 29 30DPADD+= ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD} 31LDADD+= -lssl -lcrypto -lpthread 32 33.include <bsd.lib.mk> 34