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