xref: /freebsd/usr.sbin/unbound/daemon/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
18f8790cdSDag-Erling Smørgrav# Vendor sources and generated files
262f32e06SEnji CooperLDNSDIR= ${SRCTOP}/contrib/ldns
362f32e06SEnji CooperUNBOUNDDIR= ${SRCTOP}/contrib/unbound
4*2ba1d497SDag-Erling SmørgravLIBUNBOUNDDIR=${SRCTOP}/lib/libunbound
58f8790cdSDag-Erling Smørgrav
665b390aaSDag-Erling Smørgrav.PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/daemon ${UNBOUNDDIR}/util ${UNBOUNDDIR}/util/shm_side ${UNBOUNDDIR}/doc
78f8790cdSDag-Erling Smørgrav
8b70d78d6SDag-Erling SmørgravPROG=	local-unbound
965b390aaSDag-Erling SmørgravSRCS=	acl_list.c cachedump.c daemon.c remote.c shm_main.c stats.c \
1065b390aaSDag-Erling Smørgrav	ub_event.c unbound.c worker.c
11bf081e99SJustin HibbitsCFLAGS+=	-I${UNBOUNDDIR} -I${LDNSDIR}
12*2ba1d497SDag-Erling SmørgravCFLAGS+=	-I${LIBUNBOUNDDIR} -I${.CURDIR}
13c6db8143SBaptiste DaroussinLIBADD=	unbound util ssl crypto pthread
14b70d78d6SDag-Erling SmørgravMAN=	local-unbound.8 local-unbound.conf.5
158f8790cdSDag-Erling Smørgrav
168f8790cdSDag-Erling Smørgrav.include <bsd.prog.mk>
17