aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/dtrace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/usr.sbin/dtrace/Makefile')
-rw-r--r--cddl/usr.sbin/dtrace/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/cddl/usr.sbin/dtrace/Makefile b/cddl/usr.sbin/dtrace/Makefile
index 8c5e3abe5a07..551f6cf80031 100644
--- a/cddl/usr.sbin/dtrace/Makefile
+++ b/cddl/usr.sbin/dtrace/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/dtrace
PROG= dtrace
@@ -22,4 +24,8 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
LIBADD= dtrace
+.if ${MK_DTRACE_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>