include.am 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. gearmand_gearmand_CXXFLAGS+= $(BOOST_CPPFLAGS)
  23. EXTRA_gearmand_gearmand_DEPENDENCIES+= configmake.h
  24. gearmand_gearmand_LDADD+= libgearman-server/libgearman-server.la
  25. gearmand_gearmand_LDFLAGS+= $(BOOST_PROGRAM_OPTIONS_LDFLAGS)
  26. gearmand_gearmand_SOURCES+= configmake.h
  27. gearmand_gearmand_SOURCES+= gearmand/gearmand.cc
  28. gearmand_gearmand_SOURCES+= util/daemon.cc
  29. gearmand_gearmand_SOURCES+= util/pidfile.cc
  30. gearmand_gearmand_SOURCES+= libtest/cpu.cc
  31. gearmand_hostile_gearmand_CXXFLAGS=
  32. EXTRA_gearmand_hostile_gearmand_DEPENDENCIES=
  33. gearmand_hostile_gearmand_LDADD=
  34. gearmand_hostile_gearmand_LDFLAGS=
  35. gearmand_hostile_gearmand_SOURCES=
  36. gearmand_hostile_gearmand_CXXFLAGS+= $(gearmand_gearmand_CXXFLAGS)
  37. EXTRA_gearmand_hostile_gearmand_DEPENDENCIES+= $(EXTRA_gearmand_gearmand_DEPENDENCIES)
  38. gearmand_hostile_gearmand_LDADD+= @DL_LIB@
  39. gearmand_hostile_gearmand_LDADD+= libgearman-server/libgearman-server.la
  40. if TARGET_HOSTILE
  41. gearmand_hostile_gearmand_LDADD+= libhostile/libhostile.la
  42. endif
  43. gearmand_hostile_gearmand_LDFLAGS+= $(gearmand_gearmand_LDFLAGS)
  44. gearmand_hostile_gearmand_SOURCES+= $(gearmand_gearmand_SOURCES)
  45. noinst_PROGRAMS+=gearmand/hostile_gearmand
  46. gearmand-valgrind: gearmand/gearmand
  47. $(LIBTOOL) --mode=execute valgrind --leak-check=yes gearmand/gearmand
  48. gearmand-debug: gearmand/gearmand
  49. $(LIBTOOL) --mode=execute gdb gearmand/gearmand
  50. internals: tests/libgearman-1.0/internals_test gearmand/gearmand
  51. @$(GDB_COMMAND) tests/libgearman-1.0/internals_test