Makefile.am 3.1 KB

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