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-actions.h 22MAIN_INCS+= gmock/gmock-cardinalities.h 23MAIN_INCS+= gmock/gmock-function-mocker.h 24MAIN_INCS+= gmock/gmock-matchers.h 25MAIN_INCS+= gmock/gmock-more-actions.h 26MAIN_INCS+= gmock/gmock-more-matchers.h 27MAIN_INCS+= gmock/gmock-nice-strict.h 28MAIN_INCS+= gmock/gmock-spec-builders.h 29MAIN_INCS+= gmock/gmock.h 30 31INTERNAL_INCSDIR= ${MAIN_INCSDIR}/internal 32INTERNAL_INCS+= gmock/internal/gmock-internal-utils.h 33INTERNAL_INCS+= gmock/internal/gmock-port.h 34INTERNAL_INCS+= gmock/internal/gmock-pp.h 35 36INTERNAL_CUSTOM_INCSDIR= ${INTERNAL_INCSDIR}/custom 37INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-generated-actions.h 38INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-matchers.h 39INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-port.h 40 41SRCS+= gmock-all.cc 42 43.include <bsd.lib.mk> 44