1 2.include <bsd.init.mk> 3 4.PATH: ${GOOGLETEST_SRCROOT}/src ${GOOGLETEST_SRCROOT}/test 5 6GTESTS+= googletest-death-test-test 7GTESTS+= googletest-filepath-test 8GTESTS+= googletest-listener-test 9GTESTS+= googletest-message-test 10GTESTS+= googletest-options-test 11GTESTS+= googletest-port-test 12GTESTS+= googletest-printers-test 13GTESTS+= googletest-test-part-test 14GTESTS+= gtest-typed-test_test 15GTESTS+= gtest_main_unittest 16GTESTS+= gtest_pred_impl_unittest 17GTESTS+= gtest_prod_test 18GTESTS+= gtest_skip_test 19GTESTS+= gtest_skip_in_environment_setup_test 20GTESTS+= gtest_sole_header_test 21GTESTS+= gtest_unittest 22 23CXXFLAGS+= -I${GOOGLETEST_SRCROOT}/include 24CXXFLAGS+= -I${GOOGLETEST_SRCROOT} 25 26SRCS.gtest-typed-test_test= \ 27 gtest-typed-test_test.cc \ 28 gtest-typed-test2_test.cc 29 30SRCS.gtest_prod_test= \ 31 gtest_prod_test.cc \ 32 production.cc 33 34LIBADD+= gtest_main 35 36LIBADD.googletest-port-test+= pthread 37LIBADD.gtest_unittest+= pthread 38 39CXXFLAGS.clang+= -Wno-error=missing-variable-declarations 40CXXFLAGS.clang+= -Wno-error=unused-but-set-variable 41MK_WERROR.gcc= no 42 43.include <bsd.test.mk> 44