1*f3c5273dSEnji Cooper# $FreeBSD$ 2*f3c5273dSEnji Cooper 3*f3c5273dSEnji Cooper.include <bsd.init.mk> 4*f3c5273dSEnji Cooper 5*f3c5273dSEnji Cooper.PATH: ${GOOGLETEST_SRCROOT}/include ${GOOGLETEST_SRCROOT}/src 6*f3c5273dSEnji Cooper 7*f3c5273dSEnji CooperLIB_CXX= gtest 8*f3c5273dSEnji CooperSHLIB_MAJOR= 0 9*f3c5273dSEnji CooperPRIVATELIB= true 10*f3c5273dSEnji Cooper 11*f3c5273dSEnji CooperCXXFLAGS+= -I${GOOGLETEST_SRCROOT}/include 12*f3c5273dSEnji CooperCXXFLAGS+= -I${GOOGLETEST_SRCROOT} 13*f3c5273dSEnji Cooper 14*f3c5273dSEnji CooperINCSGROUPS= MAIN_INCS INTERNAL_INCS INTERNAL_CUSTOM_INCS 15*f3c5273dSEnji Cooper 16*f3c5273dSEnji CooperMAIN_INCSDIR= ${INCLUDEDIR}/gtest 17*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest-death-test.h 18*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest-message.h 19*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest-param-test.h 20*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest-printers.h 21*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest-spi.h 22*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest-test-part.h 23*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest-typed-test.h 24*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest.h 25*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest_pred_impl.h 26*f3c5273dSEnji CooperMAIN_INCS+= gtest/gtest_prod.h 27*f3c5273dSEnji Cooper 28*f3c5273dSEnji CooperINTERNAL_INCSDIR= ${INCLUDEDIR}/gtest/internal 29*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-death-test-internal.h 30*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-filepath.h 31*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-internal.h 32*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-linked_ptr.h 33*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-param-util-generated.h 34*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-param-util.h 35*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-port-arch.h 36*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-port.h 37*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-string.h 38*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-tuple.h 39*f3c5273dSEnji CooperINTERNAL_INCS+= gtest/internal/gtest-type-util.h 40*f3c5273dSEnji Cooper 41*f3c5273dSEnji CooperINTERNAL_CUSTOM_INCSDIR= ${INCLUDEDIR}/gtest/internal/custom 42*f3c5273dSEnji CooperINTERNAL_CUSTOM_INCS+= gtest/internal/custom/gtest-port.h 43*f3c5273dSEnji CooperINTERNAL_CUSTOM_INCS+= gtest/internal/custom/gtest-printers.h 44*f3c5273dSEnji CooperINTERNAL_CUSTOM_INCS+= gtest/internal/custom/gtest.h 45*f3c5273dSEnji Cooper 46*f3c5273dSEnji CooperSRCS+= gtest-all.cc 47*f3c5273dSEnji Cooper 48*f3c5273dSEnji CooperLIBADD+= pthread 49*f3c5273dSEnji Cooper 50*f3c5273dSEnji CooperSUBDIR.${MK_TESTS}+= tests 51*f3c5273dSEnji Cooper 52*f3c5273dSEnji Cooper.include <bsd.lib.mk> 53