xref: /freebsd/lib/googletest/gtest/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1f3c5273dSEnji Cooper.include <bsd.init.mk>
2f3c5273dSEnji Cooper
3f3c5273dSEnji Cooper.PATH:	${GOOGLETEST_SRCROOT}/include ${GOOGLETEST_SRCROOT}/src
4f3c5273dSEnji Cooper
5f3c5273dSEnji CooperLIB_CXX=	gtest
6f3c5273dSEnji CooperSHLIB_MAJOR=	0
7f3c5273dSEnji CooperPRIVATELIB=	true
8f3c5273dSEnji Cooper
9f3c5273dSEnji CooperCXXFLAGS+=	-I${GOOGLETEST_SRCROOT}/include
10f3c5273dSEnji CooperCXXFLAGS+=	-I${GOOGLETEST_SRCROOT}
11f3c5273dSEnji Cooper
12f3c5273dSEnji CooperINCSGROUPS=	MAIN_INCS INTERNAL_INCS INTERNAL_CUSTOM_INCS
13f3c5273dSEnji Cooper
14c1bcc48bSEnji CooperMAIN_INCSDIR=	${INCLUDEDIR}${PRIVATELIB:D/private/${LIB}}
15*28f6c2f2SEnji CooperMAIN_INCS+=	gtest/gtest-assertion-result.h
16f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest-death-test.h
17*28f6c2f2SEnji CooperMAIN_INCS+=	gtest/gtest-matchers.h
18f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest-message.h
19f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest-param-test.h
20f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest-printers.h
21f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest-spi.h
22f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest-test-part.h
23f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest-typed-test.h
24f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest.h
25f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest_pred_impl.h
26f3c5273dSEnji CooperMAIN_INCS+=	gtest/gtest_prod.h
27f3c5273dSEnji Cooper
28c1bcc48bSEnji CooperINTERNAL_INCSDIR=	${MAIN_INCSDIR}/internal
29f3c5273dSEnji CooperINTERNAL_INCS+=	gtest/internal/gtest-death-test-internal.h
30f3c5273dSEnji CooperINTERNAL_INCS+=	gtest/internal/gtest-filepath.h
31f3c5273dSEnji CooperINTERNAL_INCS+=	gtest/internal/gtest-internal.h
32f3c5273dSEnji CooperINTERNAL_INCS+=	gtest/internal/gtest-param-util.h
33f3c5273dSEnji CooperINTERNAL_INCS+=	gtest/internal/gtest-port-arch.h
34f3c5273dSEnji CooperINTERNAL_INCS+=	gtest/internal/gtest-port.h
35f3c5273dSEnji CooperINTERNAL_INCS+=	gtest/internal/gtest-string.h
36f3c5273dSEnji CooperINTERNAL_INCS+=	gtest/internal/gtest-type-util.h
37f3c5273dSEnji Cooper
38c1bcc48bSEnji CooperINTERNAL_CUSTOM_INCSDIR= ${INTERNAL_INCSDIR}/custom
39f3c5273dSEnji CooperINTERNAL_CUSTOM_INCS+=	gtest/internal/custom/gtest-port.h
40f3c5273dSEnji CooperINTERNAL_CUSTOM_INCS+=	gtest/internal/custom/gtest-printers.h
41f3c5273dSEnji CooperINTERNAL_CUSTOM_INCS+=	gtest/internal/custom/gtest.h
42f3c5273dSEnji Cooper
43f3c5273dSEnji CooperSRCS+=		gtest-all.cc
44f3c5273dSEnji Cooper
45b4af4f93SKyle EvansLIBADD+=	pthread regex
46f3c5273dSEnji Cooper
47f3c5273dSEnji Cooper.include <bsd.lib.mk>
48