Makefile.am 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. # vim:ft=automake
  2. #
  3. # Gearman server and library
  4. # Copyright (C) 2011-2012 DataDifferential LLC, http://datadifferential.com/
  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 this directory for full text.
  10. ACLOCAL_AMFLAGS= -I m4
  11. bin_PROGRAMS=
  12. sbin_PROGRAMS=
  13. check_PROGRAMS=
  14. noinst_PROGRAMS=
  15. lib_LTLIBRARIES=
  16. noinst_LTLIBRARIES=
  17. check_LTLIBRARIES=
  18. nobase_include_HEADERS=
  19. noinst_HEADERS=
  20. man1_MANS=
  21. man3_MANS=
  22. man8_MANS=
  23. DISTCLEANFILES=
  24. MAINTAINERCLEANFILES=
  25. EXTRA_DIST=
  26. CLEANFILES=
  27. BUILT_SOURCES=
  28. TESTS=
  29. XFAIL_TESTS=
  30. .PHONY=
  31. dist_man_MANS=
  32. man_MANS=
  33. #includes additional rules from aminclude.am
  34. @INC_AMINCLUDE@
  35. DISTCLEANFILES+= aminclude.am
  36. # Should always be first
  37. include libtest/include.am
  38. include libhostile/include.am
  39. include libhashkit-1.0/include.am
  40. include libgearmancore/include.am
  41. include libhashkit/include.am
  42. include benchmark/include.am
  43. include bin/include.am
  44. include examples/include.am
  45. include gearmand/include.am
  46. include libgearman-server/include.am
  47. include libgearman/include.am
  48. include libgearman-1.0/include.am
  49. include util/include.am
  50. include tests/include.am
  51. include support/include.am
  52. include docs/include.am
  53. include man/include.am
  54. include m4/include.am
  55. TESTS += $(bin_PROGRAMS)
  56. TESTS += $(check_PROGRAMS)
  57. XFAIL_TESTS += $(bin_PROGRAMS)
  58. EXTRA_DIST+= HACKING
  59. EXTRA_DIST+= scripts/README.solaris
  60. test: check
  61. BUILT_SOURCES+= configmake.h
  62. CLEANFILES+= configmake.h configmake.h-t
  63. configmake.h: Makefile
  64. @rm -f $@-t $@
  65. @{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  66. echo '#define SYSCONFDIR "$(sysconfdir)"'; \
  67. echo '#define GEARMAND_CONFIG "$(sysconfdir)/gearmand.conf"'; \
  68. echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
  69. echo '#define GEARMAND_PID "$(localstatedir)/gearmand.pid"'; \
  70. } | sed '/""/d' > $@-t
  71. @if diff $@-t $@ >/dev/null 2>&1 ; then \
  72. rm @-t ; \
  73. else \
  74. mv $@-t $@ ; \
  75. fi
  76. clean-local: clean-libtest-check clean-docs-check
  77. maintainer-clean-local:
  78. find . -type f -name '*~' -exec rm -f '{}' \;
  79. -rm -f @PACKAGE@-*.rpm
  80. -rm -f @PACKAGE@-*.tar.gz
  81. -rm -f man/*.1
  82. -rm -f man/*.3
  83. -rm -f man/*.8
  84. -rm Makefile.in
  85. -rm aclocal.m4
  86. -rm build-aux/config.guess
  87. -rm build-aux/config.sub
  88. -rm build-aux/depcomp
  89. -rm build-aux/install-sh
  90. -rm build-aux/ltmain.sh
  91. -rm build-aux/missing
  92. -rm build-aux/test-driver
  93. -rm gear_config.in
  94. -rm config.log
  95. -rm config.status
  96. -rm configure
  97. -rm m4/libtool.m4
  98. -rm m4/ltoptions.m4
  99. -rm m4/ltsugar.m4
  100. -rm m4/ltversion.m4
  101. -rm m4/lt~obsolete.m4
  102. -rmdir build-aux
  103. -rm -rf ${top_builddir}/html
  104. include rpm.am
  105. merge-clean:
  106. @find ./ | $(GREP) \.gcda | xargs rm -f
  107. @find ./ | $(GREP) \.gcno | xargs rm -f
  108. @find ./ | $(GREP) \.gz | xargs rm -f
  109. @find ./ | $(GREP) \.moved | xargs rm -r -f
  110. @find ./ | $(GREP) \\.orig | xargs rm -f
  111. @find ./ | $(GREP) \.rej | xargs rm -f
  112. @rm -f *\.rpm
  113. @find ./ | $(GREP) \.THIS | xargs rm -f
  114. @find ./ | $(GREP) \.OTHER | xargs rm -f
  115. @find ./ | $(GREP) \.BASE | xargs rm -f
  116. @find ./ | $(GREP) \~$$ | xargs rm -f
  117. @echo "Files that need to be either removed or checked in:"
  118. @bzr unknowns