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