Sprinkle ${HAS_TESTS} in Makefiles

While here, reindent `SUBDIR.${MK_TESTS}`
This commit is contained in:
Enji Cooper
2019-02-20 06:03:21 +00:00
parent 1ed7b003f6
commit fedec5d9ee
5 changed files with 11 additions and 4 deletions
+2 -1
View File
@@ -7,6 +7,7 @@
PROG_CXX= zfsd
MAN= zfsd.8
SUBDIR.${MK_GOOGLETEST}+= tests
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>
+3
View File
@@ -42,4 +42,7 @@ INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-generated-actions.h
SRCS+= gmock-all.cc
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
+2 -1
View File
@@ -19,6 +19,7 @@ LDFLAGS+= -L${LIBGMOCKDIR}
SRCS+= gmock_main.cc
SUBDIR.${MK_TESTS}+= tests
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
+2 -1
View File
@@ -47,6 +47,7 @@ SRCS+= gtest-all.cc
LIBADD+= pthread
SUBDIR.${MK_TESTS}+= tests
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>
+2 -1
View File
@@ -17,6 +17,7 @@ LDFLAGS+= -L${LIBGTESTDIR}
SRCS+= gtest_main.cc
SUBDIR.${MK_TESTS}+= tests
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>