Makefile.am 2.8 KB

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