xref: /freebsd/lib/googletest/gtest/Makefile (revision 783d3ff6d7fae619db8a7990b8a6387de0c677b5)
1
2.include <bsd.init.mk>
3
4.PATH:	${GOOGLETEST_SRCROOT}/include ${GOOGLETEST_SRCROOT}/src
5
6LIB_CXX=	gtest
7SHLIB_MAJOR=	0
8PRIVATELIB=	true
9
10CXXFLAGS+=	-I${GOOGLETEST_SRCROOT}/include
11CXXFLAGS+=	-I${GOOGLETEST_SRCROOT}
12
13INCSGROUPS=	MAIN_INCS INTERNAL_INCS INTERNAL_CUSTOM_INCS
14
15MAIN_INCSDIR=	${INCLUDEDIR}${PRIVATELIB:D/private/${LIB}}
16MAIN_INCS+=	gtest/gtest-assertion-result.h
17MAIN_INCS+=	gtest/gtest-death-test.h
18MAIN_INCS+=	gtest/gtest-matchers.h
19MAIN_INCS+=	gtest/gtest-message.h
20MAIN_INCS+=	gtest/gtest-param-test.h
21MAIN_INCS+=	gtest/gtest-printers.h
22MAIN_INCS+=	gtest/gtest-spi.h
23MAIN_INCS+=	gtest/gtest-test-part.h
24MAIN_INCS+=	gtest/gtest-typed-test.h
25MAIN_INCS+=	gtest/gtest.h
26MAIN_INCS+=	gtest/gtest_pred_impl.h
27MAIN_INCS+=	gtest/gtest_prod.h
28
29INTERNAL_INCSDIR=	${MAIN_INCSDIR}/internal
30INTERNAL_INCS+=	gtest/internal/gtest-death-test-internal.h
31INTERNAL_INCS+=	gtest/internal/gtest-filepath.h
32INTERNAL_INCS+=	gtest/internal/gtest-internal.h
33INTERNAL_INCS+=	gtest/internal/gtest-param-util.h
34INTERNAL_INCS+=	gtest/internal/gtest-port-arch.h
35INTERNAL_INCS+=	gtest/internal/gtest-port.h
36INTERNAL_INCS+=	gtest/internal/gtest-string.h
37INTERNAL_INCS+=	gtest/internal/gtest-type-util.h
38
39INTERNAL_CUSTOM_INCSDIR= ${INTERNAL_INCSDIR}/custom
40INTERNAL_CUSTOM_INCS+=	gtest/internal/custom/gtest-port.h
41INTERNAL_CUSTOM_INCS+=	gtest/internal/custom/gtest-printers.h
42INTERNAL_CUSTOM_INCS+=	gtest/internal/custom/gtest.h
43
44SRCS+=		gtest-all.cc
45
46LIBADD+=	pthread regex
47
48.include <bsd.lib.mk>
49