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