2019-02-13 04:58:15 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
|
|
|
|
.PATH: ${GOOGLEMOCK_SRCROOT}/include ${GOOGLEMOCK_SRCROOT}/src
|
|
|
|
|
|
|
|
LIB_CXX= gmock
|
|
|
|
SHLIB_MAJOR= 0
|
|
|
|
PRIVATELIB= true
|
|
|
|
|
|
|
|
CXXFLAGS+= -I${GOOGLEMOCK_SRCROOT}/include
|
|
|
|
CXXFLAGS+= -I${GOOGLEMOCK_SRCROOT}
|
|
|
|
CXXFLAGS+= -I${GOOGLETEST_SRCROOT}/include
|
|
|
|
|
|
|
|
LIBADD+= gtest
|
|
|
|
LDFLAGS+= -L${.OBJDIR:H}/gtest
|
|
|
|
|
2019-02-19 22:46:50 +00:00
|
|
|
INCSGROUPS= MAIN_INCS INTERNAL_INCS INTERNAL_CUSTOM_INCS
|
|
|
|
|
2019-02-21 04:47:44 +00:00
|
|
|
MAIN_INCSDIR= ${INCLUDEDIR}${PRIVATELIB:D/private/${LIB}}
|
2019-02-13 04:58:15 +00:00
|
|
|
MAIN_INCS+= gmock/gmock-matchers.h
|
|
|
|
MAIN_INCS+= gmock/gmock-more-actions.h
|
|
|
|
MAIN_INCS+= gmock/gmock-generated-actions.h
|
|
|
|
MAIN_INCS+= gmock/gmock-generated-matchers.h
|
|
|
|
MAIN_INCS+= gmock/gmock-generated-nice-strict.h
|
|
|
|
MAIN_INCS+= gmock/gmock-more-matchers.h
|
|
|
|
MAIN_INCS+= gmock/gmock-generated-function-mockers.h
|
|
|
|
MAIN_INCS+= gmock/gmock-cardinalities.h
|
|
|
|
MAIN_INCS+= gmock/gmock-spec-builders.h
|
|
|
|
MAIN_INCS+= gmock/gmock.h
|
|
|
|
MAIN_INCS+= gmock/gmock-actions.h
|
|
|
|
|
2019-02-21 04:47:44 +00:00
|
|
|
INTERNAL_INCSDIR= ${MAIN_INCSDIR}/internal
|
2019-02-13 04:58:15 +00:00
|
|
|
INTERNAL_INCS+= gmock/internal/gmock-port.h
|
|
|
|
INTERNAL_INCS+= gmock/internal/gmock-internal-utils.h
|
|
|
|
INTERNAL_INCS+= gmock/internal/gmock-generated-internal-utils.h
|
|
|
|
|
2019-02-21 04:47:44 +00:00
|
|
|
INTERNAL_CUSTOM_INCSDIR= ${INTERNAL_INCSDIR}/custom
|
2019-02-13 04:58:15 +00:00
|
|
|
INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-port.h
|
|
|
|
INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-matchers.h
|
|
|
|
INTERNAL_CUSTOM_INCS+= gmock/internal/custom/gmock-generated-actions.h
|
|
|
|
|
|
|
|
SRCS+= gmock-all.cc
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|