summaryrefslogtreecommitdiffstats
path: root/sbin/devd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/devd/Makefile')
-rw-r--r--sbin/devd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile
index c53f094..518e5e2 100644
--- a/sbin/devd/Makefile
+++ b/sbin/devd/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
PROG_CXX=devd
SRCS= devd.cc token.l parse.y y.tab.h
MAN= devd.8 devd.conf.5
@@ -16,4 +18,8 @@ CFLAGS+=-I. -I${.CURDIR}
CLEANFILES= y.output
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud