aboutsummaryrefslogtreecommitdiff
path: root/lib/atf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/atf/Makefile')
-rw-r--r--lib/atf/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/atf/Makefile b/lib/atf/Makefile
index 0da9aa8a46aa..a191f0da4d47 100644
--- a/lib/atf/Makefile
+++ b/lib/atf/Makefile
@@ -27,9 +27,13 @@
.include <bsd.own.mk>
-SUBDIR= \
- libatf-c \
- libatf-c++
+SUBDIR= libatf-c \
+ libatf-c++ \
+ ${_tests}
+
+.if ${MK_TESTS} != "no"
+_tests= tests
+.endif
.ORDER: ${SUBDIR}