Makefile.am 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # Gearman server and library
  2. # Copyright (C) 2008 Brian Aker, Eric Day
  3. # All rights reserved.
  4. #
  5. # Use and distribution licensed under the BSD license. See
  6. # the COPYING file in the parent directory for full text.
  7. if HAVE_LIBDRIZZLE
  8. QUEUE_LIBDRIZZLE_H= queue_libdrizzle.h
  9. QUEUE_LIBDRIZZLE_C= queue_libdrizzle.c
  10. endif
  11. if HAVE_LIBMEMCACHED
  12. QUEUE_LIBMEMCACHED_H= queue_libmemcached.h
  13. QUEUE_LIBMEMCACHED_C= queue_libmemcached.c
  14. endif
  15. if HAVE_LIBSQLITE3
  16. QUEUE_LIBSQLITE3_H= queue_libsqlite3.h
  17. QUEUE_LIBSQLITE3_C= queue_libsqlite3.c
  18. endif
  19. if HAVE_LIBPQ
  20. QUEUE_LIBPQ_H= queue_libpq.h
  21. QUEUE_LIBPQ_C= queue_libpq.c
  22. endif
  23. lib_LTLIBRARIES= libgearman-server.la
  24. libgearman_serverincludedir= ${includedir}/libgearman-server
  25. dist_libgearman_serverinclude_HEADERS= \
  26. client.h \
  27. conf.h \
  28. conf_module.h \
  29. conn.h \
  30. constants.h \
  31. function.h \
  32. job.h \
  33. packet.h \
  34. server.h \
  35. structs.h \
  36. thread.h \
  37. worker.h \
  38. $(QUEUE_LIBDRIZZLE_H) \
  39. $(QUEUE_LIBMEMCACHED_H) \
  40. $(QUEUE_LIBSQLITE3_H) \
  41. $(QUEUE_LIBPQ_H) \
  42. protocol_http.h \
  43. gearmand.h \
  44. gearmand_thread.h \
  45. gearmand_con.h
  46. noinst_HEADERS= \
  47. common.h
  48. libgearman_server_la_SOURCES= \
  49. client.c \
  50. conf.c \
  51. conf_module.c \
  52. conn.c \
  53. function.c \
  54. job.c \
  55. packet.c \
  56. server.c \
  57. thread.c \
  58. worker.c \
  59. $(QUEUE_LIBDRIZZLE_C) \
  60. $(QUEUE_LIBMEMCACHED_C) \
  61. $(QUEUE_LIBSQLITE3_C) \
  62. $(QUEUE_LIBPQ_C) \
  63. protocol_http.c \
  64. gearmand.c \
  65. gearmand_thread.c \
  66. gearmand_con.c
  67. libgearman_server_la_CFLAGS= \
  68. ${AM_CFLAGS} \
  69. -DBUILDING_LIBGEARMAN
  70. libgearman_server_la_LDFLAGS= \
  71. -version-info \
  72. $(GEARMAN_SERVER_LIBRARY_VERSION)
  73. libgearman_server_la_LIBADD= \
  74. $(top_builddir)/libgearman/libgearman.la \
  75. $(LTLIBEVENT) \
  76. $(LTLIBDRIZZLE) \
  77. $(LTLIBMEMCACHED) \
  78. $(LTLIBSQLITE3) \
  79. $(LTLIBPQ)
  80. EXTRA_DIST= libgearman-server.ver