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