1.include <bsd.init.mk> 2 3.PATH: ${GOOGLETEST_SRCROOT}/include ${GOOGLETEST_SRCROOT}/src 4 5LIB_CXX= gtest 6SHLIB_MAJOR= 0 7PRIVATELIB= true 8 9CXXFLAGS+= -I${GOOGLETEST_SRCROOT}/include 10CXXFLAGS+= -I${GOOGLETEST_SRCROOT} 11 12INCSGROUPS= MAIN_INCS INTERNAL_INCS INTERNAL_CUSTOM_INCS 13 14MAIN_INCSDIR= ${INCLUDEDIR}${PRIVATELIB:D/private/${LIB}} 15MAIN_INCS+= gtest/gtest-assertion-result.h 16MAIN_INCS+= gtest/gtest-death-test.h 17MAIN_INCS+= gtest/gtest-matchers.h 18MAIN_INCS+= gtest/gtest-message.h 19MAIN_INCS+= gtest/gtest-param-test.h 20MAIN_INCS+= gtest/gtest-printers.h 21MAIN_INCS+= gtest/gtest-spi.h 22MAIN_INCS+= gtest/gtest-test-part.h 23MAIN_INCS+= gtest/gtest-typed-test.h 24MAIN_INCS+= gtest/gtest.h 25MAIN_INCS+= gtest/gtest_pred_impl.h 26MAIN_INCS+= gtest/gtest_prod.h 27 28INTERNAL_INCSDIR= ${MAIN_INCSDIR}/internal 29INTERNAL_INCS+= gtest/internal/gtest-death-test-internal.h 30INTERNAL_INCS+= gtest/internal/gtest-filepath.h 31INTERNAL_INCS+= gtest/internal/gtest-internal.h 32INTERNAL_INCS+= gtest/internal/gtest-param-util.h 33INTERNAL_INCS+= gtest/internal/gtest-port-arch.h 34INTERNAL_INCS+= gtest/internal/gtest-port.h 35INTERNAL_INCS+= gtest/internal/gtest-string.h 36INTERNAL_INCS+= gtest/internal/gtest-type-util.h 37 38INTERNAL_CUSTOM_INCSDIR= ${INTERNAL_INCSDIR}/custom 39INTERNAL_CUSTOM_INCS+= gtest/internal/custom/gtest-port.h 40INTERNAL_CUSTOM_INCS+= gtest/internal/custom/gtest-printers.h 41INTERNAL_CUSTOM_INCS+= gtest/internal/custom/gtest.h 42 43SRCS+= gtest-all.cc 44 45LIBADD+= pthread regex 46 47.include <bsd.lib.mk> 48