7fa2f2a62f
As suggested in D27598. This also supports MK_WERROR.clang=no and MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses. Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D27601
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
.PATH: ${GOOGLETEST_SRCROOT}/src ${GOOGLETEST_SRCROOT}/test
|
|
|
|
GTESTS+= googletest-death-test-test
|
|
GTESTS+= googletest-filepath-test
|
|
GTESTS+= googletest-linked-ptr-test
|
|
GTESTS+= googletest-listener-test
|
|
GTESTS+= gtest_main_unittest
|
|
GTESTS+= googletest-message-test
|
|
GTESTS+= googletest-options-test
|
|
GTESTS+= googletest-port-test
|
|
GTESTS+= gtest_pred_impl_unittest
|
|
GTESTS+= googletest-printers-test
|
|
GTESTS+= gtest_prod_test
|
|
GTESTS+= gtest_sole_header_test
|
|
GTESTS+= googletest-test-part-test
|
|
GTESTS+= gtest-typed-test_test
|
|
GTESTS+= gtest_skip_test
|
|
GTESTS+= gtest_skip_in_environment_setup_test
|
|
GTESTS+= gtest_unittest
|
|
|
|
CXXFLAGS+= -I${GOOGLETEST_SRCROOT}/include
|
|
CXXFLAGS+= -I${GOOGLETEST_SRCROOT}
|
|
|
|
SRCS.gtest-typed-test_test= \
|
|
gtest-typed-test_test.cc \
|
|
gtest-typed-test2_test.cc
|
|
|
|
SRCS.gtest_prod_test= \
|
|
gtest_prod_test.cc \
|
|
production.cc
|
|
|
|
LIBADD+= gtest gtest_main
|
|
|
|
LIBADD.googletest-port-test+= pthread
|
|
LIBADD.gtest_unittest+= pthread
|
|
|
|
# The next release will resolve a number of build warnings issues.
|
|
MK_WERROR= no
|
|
|
|
.include <bsd.test.mk>
|