libdrizzle.am 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # vim:ft=automake
  2. # Gearman server and library
  3. # Copyright (C) 2011 Data Differential, http://datadifferential.com/
  4. # All rights reserved.
  5. #
  6. # Use and distribution licensed under the BSD license. See
  7. # the COPYING file in the parent directory for full text.
  8. #
  9. # Included from Top Level Makefile.am
  10. # All paths should be given relative to the root
  11. #
  12. tests_drizzle_test_CXXFLAGS=
  13. tests_drizzle_test_SOURCES=
  14. tests_drizzle_test_DEPENDENCIES=
  15. tests_drizzle_test_LDADD=
  16. tests_drizzle_test_SOURCES+= tests/basic.cc
  17. tests_drizzle_test_SOURCES+= tests/drizzle_test.cc
  18. tests_drizzle_test_DEPENDENCIES+= ${CLIENT_LDADD}
  19. tests_drizzle_test_LDADD+= ${CLIENT_LDADD}
  20. if HAVE_LIBDRIZZLE
  21. tests_drizzle_test_LDADD+= $(libdrizzle_LIBS)
  22. tests_drizzle_test_CXXFLAGS+= $(libdrizzle_CFLAGS)
  23. endif
  24. check_PROGRAMS += tests/drizzle_test
  25. noinst_PROGRAMS += tests/drizzle_test
  26. test-drizzle: tests/drizzle_test gearmand/gearmand
  27. @tests/drizzle_test
  28. gdb-drizzle: tests/drizzle_test gearmand/gearmand
  29. @$(GDB_COMMAND) tests/drizzle_test
  30. helgrind-drizzle: tests/drizzle_test gearmand/gearmand
  31. @$(HELGRIND_COMMAND) tests/drizzle_test
  32. valgrind-drizzle: tests/drizzle_test gearmand/gearmand
  33. @$(VALGRIND_COMMAND) tests/drizzle_test