Sprinkle ${HAS_TESTS} in Makefiles

While here, reindent `SUBDIR.${MK_TESTS}`
This commit is contained in:
ngie 2019-02-20 06:03:21 +00:00
parent f380863fbc
commit 6d65890bd8
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>