libmemcached.am 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. t_memcached_CXXFLAGS=
  13. t_memcached_SOURCES=
  14. t_memcached_LDADD=
  15. t_memcached_SOURCES+= tests/basic.cc
  16. t_memcached_SOURCES+= tests/memcached_test.cc
  17. t_memcached_LDADD+= libgearman/libgearman.la
  18. t_memcached_LDADD+= libtest/libtest.la
  19. t_memcached_LDADD+= tests/libstartworker.la
  20. if HAVE_LIBMEMCACHED
  21. t_memcached_CXXFLAGS+= $(LIBMEMCACHED_CFLAGS)
  22. t_memcached_LDADD+= $(LIBMEMCACHED_UTIL_LIB)
  23. endif
  24. check_PROGRAMS+= t/memcached
  25. noinst_PROGRAMS+= t/memcached
  26. test-libmemcached: t/memcached gearmand/gearmand
  27. @t/memcached
  28. valgrind-libmemcached: t/memcached gearmand/gearmand
  29. @$(VALGRIND_COMMAND) t/memcached
  30. gdb-libmemcached: t/memcached gearmand/gearmand
  31. @$(GDB_COMMAND) t/memcached