2 # Vendor sources and generated files
3 LDNSDIR= ${SRCTOP}/contrib/ldns
4 UNBOUNDDIR= ${SRCTOP}/contrib/unbound
5 LIBUNBOUNDDIR=${SRCTOP}/lib/libunbound
7 .PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/smallapp ${UNBOUNDDIR}/util ${UNBOUNDDIR}/doc
9 PROG= local-unbound-checkconf
10 SRCS= ub_event.c unbound-checkconf.c worker_cb.c
11 CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR}
12 CFLAGS+= -I${LIBUNBOUNDDIR} -I${.CURDIR}
13 LIBADD= unbound pthread
14 MAN= local-unbound-checkconf.8
16 .include <bsd.prog.mk>