Sprinkle ${HAS_TESTS}
in Makefiles
While here, reindent `SUBDIR.${MK_TESTS}`
This commit is contained in:
parent
f380863fbc
commit
6d65890bd8
@ -7,6 +7,7 @@
|
||||
PROG_CXX= zfsd
|
||||
MAN= zfsd.8
|
||||
|
||||
SUBDIR.${MK_GOOGLETEST}+= tests
|
||||
HAS_TESTS=
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -47,6 +47,7 @@ SRCS+= gtest-all.cc
|
||||
|
||||
LIBADD+= pthread
|
||||
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
HAS_TESTS=
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user