modified: makefile
[GalaxyCodeBases.git] / c_cpp / etc / jellyfish / gtest.mk
blobd82a4a4ab34db91205561f2fe804ec018d2d2cef
1 ##############################
2 # Gtest build.
3 ##############################
4 # Build rules for libraries.
5 check_LTLIBRARIES = libgtest.la libgtest_main.la
7 libgtest_la_SOURCES = unit_tests/gtest/src/gtest-all.cc
8 libgtest_main_la_SOURCES = unit_tests/gtest/src/gtest_main.cc
9 libgtest_main_la_LIBADD = libgtest.la
10 libgtest_la_CXXFLAGS = -I$(top_srcdir)/unit_tests/gtest \
11 -I$(top_srcdir)/unit_tests/gtest/include
12 libgtest_main_la_CXXFLAGS = -I$(top_srcdir)/unit_tests/gtest \
13 -I$(top_srcdir)/unit_tests/gtest/include
15 # gtest source files that we don't compile directly. They are
16 # #included by gtest-all.cc.
17 GTEST_SRC = unit_tests/gtest/src/gtest-death-test.cc \
18 unit_tests/gtest/src/gtest-filepath.cc \
19 unit_tests/gtest/src/gtest-internal-inl.h \
20 unit_tests/gtest/src/gtest-port.cc \
21 unit_tests/gtest/src/gtest-printers.cc \
22 unit_tests/gtest/src/gtest-test-part.cc \
23 unit_tests/gtest/src/gtest-typed-test.cc \
24 unit_tests/gtest/src/gtest.cc
26 EXTRA_DIST += $(GTEST_SRC)
28 # Headers, not installed
29 GTEST_I = unit_tests/gtest/include/gtest
30 noinst_HEADERS = $(GTEST_I)/gtest-death-test.h \
31 $(GTEST_I)/gtest-message.h \
32 $(GTEST_I)/gtest-param-test.h \
33 $(GTEST_I)/gtest-printers.h $(GTEST_I)/gtest-spi.h \
34 $(GTEST_I)/gtest-test-part.h \
35 $(GTEST_I)/gtest-typed-test.h $(GTEST_I)/gtest.h \
36 $(GTEST_I)/gtest_pred_impl.h $(GTEST_I)/gtest_prod.h \
37 $(GTEST_I)/internal/gtest-death-test-internal.h \
38 $(GTEST_I)/internal/gtest-filepath.h \
39 $(GTEST_I)/internal/gtest-internal.h \
40 $(GTEST_I)/internal/gtest-linked_ptr.h \
41 $(GTEST_I)/internal/gtest-param-util-generated.h \
42 $(GTEST_I)/internal/gtest-param-util.h \
43 $(GTEST_I)/internal/gtest-port.h \
44 $(GTEST_I)/internal/gtest-string.h \
45 $(GTEST_I)/internal/gtest-tuple.h \
46 $(GTEST_I)/internal/gtest-type-util.h