xref: /freebsd/lib/googletest/gmock_main/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1f3c5273dSEnji Cooper.include <bsd.init.mk>
2f3c5273dSEnji Cooper
3f3c5273dSEnji Cooper.PATH:	${GOOGLEMOCK_SRCROOT}/include ${GOOGLEMOCK_SRCROOT}/src
4f3c5273dSEnji Cooper
5f3c5273dSEnji CooperLIB_CXX=	gmock_main
6f3c5273dSEnji CooperSHLIB_MAJOR=	0
7f3c5273dSEnji CooperPRIVATELIB=	true
8f3c5273dSEnji Cooper
9f3c5273dSEnji CooperCXXFLAGS+=	-I${GOOGLEMOCK_SRCROOT}/include
10f3c5273dSEnji CooperCXXFLAGS+=	-I${GOOGLEMOCK_SRCROOT}
11f3c5273dSEnji CooperCXXFLAGS+=	-I${GOOGLETEST_SRCROOT}/include
12f3c5273dSEnji Cooper
13*df131617SEnji CooperLIBADD+=	gmock
14*df131617SEnji Cooper# NB: LDFLAGS added for buildworld builds
15*df131617SEnji CooperLDFLAGS+=	-L${LIBGTESTDIR}
16*df131617SEnji CooperLDFLAGS+=	-L${LIBGMOCKDIR}
17*df131617SEnji Cooper
18f3c5273dSEnji CooperSRCS+=		gmock_main.cc
19f3c5273dSEnji Cooper
20f3c5273dSEnji Cooper.include <bsd.lib.mk>
21