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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/import-googletest-1.8.1/; revision=344339
5 changed files with 11 additions and 4 deletions

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>

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>

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>

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>

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>