include.am 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # vim:ft=automake
  2. # Gearman server and library
  3. # Copyright (C) 2010-2012 DataDifferential LLC
  4. # Copyright (C) 2009 Brian Aker, Eric Day, Monty Taylor
  5. # Copyright (C) 2008 Brian Aker, Eric Day
  6. # All rights reserved.
  7. #
  8. # Use and distribution licensed under the BSD license. See
  9. # the COPYING file in the parent directory for full text.
  10. #
  11. # Included from Top Level Makefile.am
  12. # All paths should be given relative to the root
  13. noinst_HEADERS+= gearmand/error.hpp
  14. noinst_HEADERS+= gearmand/log.hpp
  15. sbin_PROGRAMS+= gearmand/gearmand
  16. BUILT_SOURCES+= configmake.h
  17. gearmand_gearmand_LDADD=
  18. gearmand_gearmand_CXXFLAGS=
  19. EXTRA_gearmand_gearmand_DEPENDENCIES=
  20. gearmand_gearmand_LDFLAGS=
  21. gearmand_gearmand_SOURCES=
  22. EXTRA_gearmand_gearmand_DEPENDENCIES+= configmake.h
  23. gearmand_gearmand_LDADD+= libgearman-server/libgearman-server.la
  24. gearmand_gearmand_LDFLAGS+= @BOOST_PROGRAM_OPTIONS_LIB@
  25. gearmand_gearmand_SOURCES+= configmake.h
  26. gearmand_gearmand_SOURCES+= gearmand/gearmand.cc
  27. gearmand_gearmand_SOURCES+= util/daemon.cc
  28. gearmand_gearmand_SOURCES+= util/pidfile.cc
  29. gearmand_gearmand_SOURCES+= libtest/cpu.cc
  30. gearmand_hostile_gearmand_CXXFLAGS=
  31. EXTRA_gearmand_hostile_gearmand_DEPENDENCIES=
  32. gearmand_hostile_gearmand_LDADD=
  33. gearmand_hostile_gearmand_LDFLAGS=
  34. gearmand_hostile_gearmand_SOURCES=
  35. gearmand_hostile_gearmand_CXXFLAGS+= $(gearmand_gearmand_CXXFLAGS)
  36. EXTRA_gearmand_hostile_gearmand_DEPENDENCIES+= $(EXTRA_gearmand_gearmand_DEPENDENCIES)
  37. gearmand_hostile_gearmand_LDADD+= @lt_cv_dlopen_libs@
  38. gearmand_hostile_gearmand_LDADD+= libgearman-server/libgearman-server.la
  39. if TARGET_HOSTILE
  40. gearmand_hostile_gearmand_LDADD+= libhostile/libhostile.la
  41. endif
  42. gearmand_hostile_gearmand_LDFLAGS+= $(gearmand_gearmand_LDFLAGS)
  43. gearmand_hostile_gearmand_SOURCES+= $(gearmand_gearmand_SOURCES)
  44. noinst_PROGRAMS+=gearmand/hostile_gearmand
  45. gearmand-valgrind: gearmand/gearmand
  46. $(LIBTOOL) --mode=execute valgrind --leak-check=yes gearmand/gearmand
  47. gearmand-debug: gearmand/gearmand
  48. $(LIBTOOL) --mode=execute gdb gearmand/gearmand
  49. internals: tests/libgearman-1.0/internals_test gearmand/gearmand
  50. @$(GDB_COMMAND) tests/libgearman-1.0/internals_test