Makefile.am 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 this directory for full text.
  7. ACLOCAL_AMFLAGS= -I m4
  8. bin_PROGRAMS =
  9. sbin_PROGRAMS =
  10. noinst_PROGRAMS =
  11. lib_LTLIBRARIES =
  12. noinst_LTLIBRARIES =
  13. nobase_pkginclude_HEADERS =
  14. noinst_HEADERS =
  15. EXTRA_DIST =
  16. SUBDIRS = \
  17. . \
  18. tests
  19. include benchmark/include.am
  20. include bin/include.am
  21. include examples/include.am
  22. include gearmand/include.am
  23. include libgearman/include.am
  24. include libgearman-server/include.am
  25. include docs/man_list
  26. EXTRA_DIST+= \
  27. docs/Doxyfile.api \
  28. docs/Doxyfile.dev \
  29. docs/api_header.html \
  30. docs/dev_header.html \
  31. docs/doxygen.h \
  32. scripts/gearmand-init \
  33. scripts/gearmand.xml \
  34. scripts/gearmand \
  35. scripts/README.solaris \
  36. support/gearmand.spec
  37. pkgconfigdir = $(libdir)/pkgconfig
  38. pkgconfig_DATA = support/gearmand.pc
  39. docs: all
  40. ${DOXYGEN} docs/Doxyfile.api
  41. ${DOXYGEN} docs/Doxyfile.dev
  42. test: check
  43. valgrind:
  44. (cd tests; ${MAKE} valgrind)
  45. rpm: all dist
  46. cp gearmand-$(VERSION).tar.gz ~/rpmbuild/SOURCES/
  47. rpmbuild -ba support/gearmand.spec
  48. cp ~/rpmbuild/RPMS/x86_64/gearmand-$(VERSION)*.rpm .
  49. cp ~/rpmbuild/SRPMS/gearmand-$(VERSION)*.rpm .