1# $FreeBSD$ 2 3.include <bsd.init.mk> 4 5.PATH: ${GOOGLEMOCK_SRCROOT}/include ${GOOGLEMOCK_SRCROOT}/src 6 7LIB_CXX= gmock 8SHLIB_MAJOR= 0 9PRIVATELIB= true 10 11CXXFLAGS+= -I${GOOGLEMOCK_SRCROOT}/include 12CXXFLAGS+= -I${GOOGLEMOCK_SRCROOT} 13CXXFLAGS+= -I${GOOGLETEST_SRCROOT}/include 14 15LIBADD+= gtest 16LDFLAGS+= -L${.OBJDIR:H}/gtest 17 18INCSGROUPS= MAIN_INCS INTERNAL_INCS INTERNAL_CUSTOM_INCS 19 20MAIN_INCSDIR= ${INCLUDEDIR}${PRIVATELIB:D/private/${LIB}} 21MAIN_INCS+= gmock/gmock-matchers.h 22MAIN_INCS+= gmock/gmock-more-actions.h 23MAIN_INCS+= gmock/gmock-generated-actions.h 24MAIN_INCS+= gmock/gmock-generated-matchers.h 25MAIN_INCS+= gmock/gmock-generated-nice-strict.h 26MAIN_INCS+= gmock/gmock-more-matchers.h 27MAIN_INCS+= gmock/gmock-generated-function-mockers.h 28MAIN_INCS+= gmock/gmock-cardinalities.h 29MAIN_INCS+= gmock/gmock-spec-builders.h 30MAIN_INCS+= gmock/gmock.h 31MAIN_INCS+= gmock/gmock-actions.h 32 33INTERNAL_INCSDIR= ${MAIN_INCSDIR}/internal 34INTERNAL_INCS+= gmock/internal/gmock-port.h 35INTERNAL_INCS+= gmock/internal/gmock-internal-utils.h 36INTERNAL_INCS+= gmock/internal/gmock-generated-internal-utils.h 37 38INTERNAL_CUSTOM_INCSDIR= ${INTERNAL_INCSDIR}/custom 39INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-port.h 40INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-matchers.h 41INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-generated-actions.h 42 43SRCS+= gmock-all.cc 44 45HAS_TESTS= 46SUBDIR.${MK_TESTS}+= tests 47 48.include <bsd.lib.mk> 49