aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/unbound/daemon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/unbound/daemon/Makefile')
-rw-r--r--usr.sbin/unbound/daemon/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.sbin/unbound/daemon/Makefile b/usr.sbin/unbound/daemon/Makefile
new file mode 100644
index 000000000000..b43d381fa230
--- /dev/null
+++ b/usr.sbin/unbound/daemon/Makefile
@@ -0,0 +1,16 @@
+# Vendor sources and generated files
+LDNSDIR= ${SRCTOP}/contrib/ldns
+UNBOUNDDIR= ${SRCTOP}/contrib/unbound
+LIBUNBOUNDDIR=${SRCTOP}/lib/libunbound
+
+.PATH: ${UNBOUNDDIR} ${UNBOUNDDIR}/daemon ${UNBOUNDDIR}/util ${UNBOUNDDIR}/util/shm_side ${UNBOUNDDIR}/doc
+
+PROG= local-unbound
+SRCS= acl_list.c cachedump.c daemon.c remote.c shm_main.c stats.c \
+ ub_event.c unbound.c worker.c
+CFLAGS+= -I${UNBOUNDDIR} -I${LDNSDIR}
+CFLAGS+= -I${LIBUNBOUNDDIR} -I${.CURDIR}
+LIBADD= unbound util ssl crypto pthread
+MAN= local-unbound.8 local-unbound.conf.5
+
+.include <bsd.prog.mk>