1 # Automake file 2 3 ACLOCAL_AMFLAGS = -I m4 4 5 # We define the global AM_CPPFLAGS as everything we compile includes from these 6 # directories. 7 AM_CPPFLAGS = -I$(srcdir)/../include/ 8 9 # Modifies compiler and linker flags for pthreads compatibility. 10 if HAVE_PTHREADS 11 AM_CXXFLAGS = @PTHREAD_CFLAGS@ -DGTEST_HAS_PTHREAD=1 12 AM_LIBS = @PTHREAD_LIBS@ 13 else 14 AM_CXXFLAGS = -DGTEST_HAS_PTHREAD=0 15 endif 16 17 # Build rules for libraries. 18 noinst_LTLIBRARIES = ../lib/libgtest.la 19 ___lib_libgtest_la_SOURCES = ../src/gtest-all.cpp 20 21