62 lines
2.0 KiB
Makefile
62 lines
2.0 KiB
Makefile
|
# Nonstandard package files for distribution
|
||
|
EXTRA_DIST = \
|
||
|
LICENSE \
|
||
|
README.md \
|
||
|
include/gtest/gtest-param-test.h.pump \
|
||
|
include/gtest/internal/gtest-param-util-generated.h.pump \
|
||
|
include/gtest/internal/gtest-tuple.h.pump \
|
||
|
include/gtest/internal/gtest-type-util.h.pump
|
||
|
|
||
|
# gtest source files that we don't compile directly. They are
|
||
|
# #included by gtest-all.cc.
|
||
|
GTEST_SRC = \
|
||
|
src/gtest-death-test.cc \
|
||
|
src/gtest-filepath.cc \
|
||
|
src/gtest-internal-inl.h \
|
||
|
src/gtest-port.cc \
|
||
|
src/gtest-printers.cc \
|
||
|
src/gtest-test-part.cc \
|
||
|
src/gtest-typed-test.cc \
|
||
|
src/gtest.cc \
|
||
|
include/gtest/gtest-death-test.h \
|
||
|
include/gtest/gtest-message.h \
|
||
|
include/gtest/gtest-param-test.h \
|
||
|
include/gtest/gtest-printers.h \
|
||
|
include/gtest/gtest-spi.h \
|
||
|
include/gtest/gtest-test-part.h \
|
||
|
include/gtest/gtest-typed-test.h \
|
||
|
include/gtest/gtest.h \
|
||
|
include/gtest/gtest_pred_impl.h \
|
||
|
include/gtest/gtest_prod.h \
|
||
|
include/gtest/internal/gtest-death-test-internal.h \
|
||
|
include/gtest/internal/gtest-filepath.h \
|
||
|
include/gtest/internal/gtest-internal.h \
|
||
|
include/gtest/internal/gtest-linked_ptr.h \
|
||
|
include/gtest/internal/gtest-param-util-generated.h \
|
||
|
include/gtest/internal/gtest-param-util.h \
|
||
|
include/gtest/internal/gtest-port.h \
|
||
|
include/gtest/internal/gtest-port-arch.h \
|
||
|
include/gtest/internal/gtest-string.h \
|
||
|
include/gtest/internal/gtest-tuple.h \
|
||
|
include/gtest/internal/gtest-type-util.h \
|
||
|
include/gtest/internal/custom/gtest.h \
|
||
|
include/gtest/internal/custom/gtest-port.h \
|
||
|
include/gtest/internal/custom/gtest-printers.h
|
||
|
|
||
|
EXTRA_DIST += $(GTEST_SRC)
|
||
|
|
||
|
# We define the global AM_CPPFLAGS as everything we compile includes from these
|
||
|
# directories.
|
||
|
AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/include $(GTEST_CPPFLAGS)
|
||
|
AM_CXXFLAGS = $(GTEST_CXXFLAGS)
|
||
|
AM_LDFLAGS = $(GTEST_LDFLAGS)
|
||
|
LDADD = $(GTEST_LIBS)
|
||
|
|
||
|
# Build rules for libraries.
|
||
|
check_LTLIBRARIES = lib/libgtest.la lib/libgtest_main.la
|
||
|
|
||
|
lib_libgtest_la_SOURCES = src/gtest-all.cc
|
||
|
|
||
|
lib_libgtest_main_la_SOURCES = src/gtest_main.cc
|
||
|
lib_libgtest_main_la_LIBADD = lib/libgtest.la
|