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