Makefile.am 1006 B

12345678910111213141516171819202122232425262728293031
  1. AUTOMAKE_OPTIONS = subdir-objects
  2. ACLOCAL_AMFLAGS = -I m4
  3. template = src/template
  4. bin_PROGRAMS = $(template)
  5. src_template_SOURCES = src/main.cpp
  6. noinst_PROGRAMS = tests/template.test
  7. noinst_LTLIBRARIES=tests/libgtest.la
  8. tests_libgtest_la_CXXFLAGS=-isystem tests/gtest-1.7.0/include -isystem tests/gmock-1.7.0/include -I tests/gtest-1.7.0 -I tests/gmock-1.7.0
  9. tests_libgtest_la_LDFLAGS=-lpthread
  10. tests_libgtest_la_SOURCES= \
  11. tests/gtest-1.7.0/src/gtest-all.cc \
  12. tests/gmock-1.7.0/src/gmock-all.cc
  13. tests_template_test_CXXFLAGS=-I tests/gtest-1.7.0/include -I tests/gmock-1.7.0/include -Wno-unused -DGTEST_TAP_PRINT_TO_STDOUT
  14. tests_template_test_LDADD=tests/libgtest.la
  15. tests_template_test_SOURCES= \
  16. tests/gtest-tap-listener/samples/src/gtest_main.cc \
  17. tests/test.cpp
  18. TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(top_srcdir)/tap-driver.sh
  19. testdir = tests
  20. TESTS_ENVIRONMENT = program=$(template) \
  21. testdir=$(top_srcdir)/$(testdir)
  22. TESTS = \
  23. $(testdir)/test.test \
  24. $(testdir)/template.test