freebsd-src/lib/googletest/gmock/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

# $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
INCSGROUPS= MAIN_INCS INTERNAL_INCS INTERNAL_CUSTOM_INCS
MAIN_INCSDIR= ${INCLUDEDIR}${PRIVATELIB:D/private/${LIB}}
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
INTERNAL_INCSDIR= ${MAIN_INCSDIR}/internal
INTERNAL_INCS+= gmock/internal/gmock-port.h
INTERNAL_INCS+= gmock/internal/gmock-internal-utils.h
INTERNAL_INCS+= gmock/internal/gmock-generated-internal-utils.h
INTERNAL_CUSTOM_INCSDIR= ${INTERNAL_INCSDIR}/custom
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>