Makefile.am 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. ## Process this file with automake to create Makefile.in
  2. ## Makefile for Automake.
  3. # Copyright (C) 1995-2017 Free Software Foundation, Inc.
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. ## Might be updated later.
  15. CLEANFILES =
  16. DISTCLEANFILES =
  17. MAINTAINERCLEANFILES =
  18. EXTRA_DIST =
  19. TAGS_FILES =
  20. dist_noinst_DATA =
  21. nodist_noinst_DATA =
  22. dist_noinst_SCRIPTS =
  23. nodist_noinst_SCRIPTS =
  24. ## ------------ ##
  25. ## Top level. ##
  26. ## ------------ ##
  27. EXTRA_DIST += \
  28. bootstrap \
  29. GNUmakefile \
  30. HACKING \
  31. PLANS
  32. # We want a handful of substitutions to be fully-expanded by make;
  33. # then use config.status to substitute the remainder where a single
  34. # expansion is sufficient. We use a funny notation here to avoid
  35. # configure substitutions in our text.
  36. do_subst = ( sed \
  37. -e "s,[@]configure_input[@],Generated from $$in; do not edit by hand.,g" \
  38. -e 's,[@]datadir[@],$(datadir),g' \
  39. -e 's,[@]amdir[@],$(amdir),g' \
  40. -e 's,[@]bindir[@],$(bindir),g' \
  41. -e 's,[@]docdir[@],$(docdir),g' \
  42. -e 's,[@]pkgvdatadir[@],$(pkgvdatadir),g' \
  43. -e 's,[@]scriptdir[@],$(scriptdir),g' \
  44. -e 's,[@]automake_acdir[@],$(automake_acdir),g' \
  45. -e 's,[@]system_acdir[@],$(system_acdir),g' \
  46. ## Hack to avoid a spurious substitution in the Automake script (part 1).
  47. -e 's,[@]am__isrc[@],!!@!!am__isrc!!@!!,g' \
  48. | $(SHELL) ./config.status --file=- \
  49. ## Hack to avoid a spurious substitution in the Automake script (part 2).
  50. | sed -e 's,!!@!!am__isrc!!@!!,@''am__isrc@,g' \
  51. )
  52. # Generated files shouldn't contain unexpanded '@substitutions@', and
  53. # should be made read-only, to prevent them from being edited by mistake
  54. # instead of the file the are generated from.
  55. generated_file_finalize = $(AM_V_at) \
  56. if LC_ALL=C grep '@[a-zA-Z0-9_][a-zA-Z0-9_]*@' $@-t; then \
  57. echo "$@ contains unexpanded substitution (see lines above)"; \
  58. exit 1; \
  59. fi; \
  60. chmod a-w $@-t && mv -f $@-t $@
  61. # For some tests or targets, we need to have the just-build automake and
  62. # aclocal scripts avaiable on PATH.
  63. extend_PATH = \
  64. { PATH='$(abs_builddir)/t/wrap$(PATH_SEPARATOR)'$$PATH && export PATH; }
  65. # The master location for INSTALL is lib/INSTALL.
  66. # This is where "make fetch" will install new versions.
  67. # Make sure we also update this copy.
  68. INSTALL: lib/INSTALL
  69. $(AM_V_GEN)cp $(srcdir)/lib/INSTALL $@
  70. # We don't use the default name for the autom4te cache directory,
  71. # so we need this.
  72. maintainer-clean-local:
  73. rm -rf .autom4te.cache
  74. # So that automake won't complain about the missing ChangeLog.
  75. # The real rule for ChangeLog generation is now in maintainer/maint.mk
  76. # (as it is maintainer-specific).
  77. ChangeLog:
  78. # Third-party, obsolescent or experimental stuff.
  79. EXTRA_DIST += \
  80. contrib/tap-driver.pl \
  81. contrib/check-html.am \
  82. contrib/multilib/README \
  83. contrib/multilib/config-ml.in \
  84. contrib/multilib/symlink-tree \
  85. contrib/multilib/multilib.am \
  86. contrib/multilib/multi.m4 \
  87. contrib/README
  88. # Older files, kept mostly for historical interest.
  89. EXTRA_DIST += \
  90. old/ChangeLog-tests \
  91. old/ChangeLog.96 \
  92. old/ChangeLog.98 \
  93. old/ChangeLog.00 \
  94. old/ChangeLog.01 \
  95. old/ChangeLog.02 \
  96. old/ChangeLog.03 \
  97. old/ChangeLog.04 \
  98. old/ChangeLog.09 \
  99. old/ChangeLog.11 \
  100. old/TODO
  101. # Maintainer-specific files and scripts.
  102. EXTRA_DIST += \
  103. maintainer/am-ft \
  104. maintainer/am-xft \
  105. maintainer/rename-tests \
  106. maintainer/maint.mk \
  107. maintainer/syntax-checks.mk
  108. # Most work delegated to sub-dir makefile fragments.
  109. include $(srcdir)/bin/Makefile.inc
  110. include $(srcdir)/doc/Makefile.inc
  111. include $(srcdir)/lib/Makefile.inc
  112. include $(srcdir)/lib/Automake/Makefile.inc
  113. include $(srcdir)/lib/am/Makefile.inc
  114. include $(srcdir)/m4/Makefile.inc
  115. include $(srcdir)/t/Makefile.inc
  116. # vim: ft=automake noet