Makefile.am 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. ## Process this file with automake to produce Makefile.in.
  2. ##
  3. ## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006, 2007,
  4. ## 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
  5. ##
  6. ## This file is part of GUILE.
  7. ##
  8. ## GUILE is free software; you can redistribute it and/or modify it
  9. ## under the terms of the GNU Lesser General Public License as
  10. ## published by the Free Software Foundation; either version 3, or
  11. ## (at your option) any later version.
  12. ##
  13. ## GUILE is distributed in the hope that it will be useful, but
  14. ## WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. ## GNU Lesser General Public License for more details.
  17. ##
  18. ## You should have received a copy of the GNU Lesser General Public
  19. ## License along with GUILE; see the file COPYING.LESSER. If not,
  20. ## write to the Free Software Foundation, Inc., 51 Franklin Street,
  21. ## Fifth Floor, Boston, MA 02110-1301 USA
  22. # want automake 1.10 or higher so that AM_GNU_GETTEXT can tell automake that
  23. # config.rpath is needed
  24. #
  25. AUTOMAKE_OPTIONS = 1.10
  26. SUBDIRS = \
  27. lib \
  28. meta \
  29. libguile \
  30. module \
  31. guile-readline \
  32. examples \
  33. emacs \
  34. test-suite \
  35. benchmark-suite \
  36. gc-benchmarks \
  37. am \
  38. doc
  39. libguileincludedir = $(pkgincludedir)/$(GUILE_EFFECTIVE_VERSION)
  40. libguileinclude_HEADERS = libguile.h
  41. schemelibdir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)
  42. schemelib_DATA = libguile/guile-procedures.txt
  43. # Build it from here so that all the modules are compiled by the time we
  44. # build it.
  45. libguile/guile-procedures.txt: libguile/guile-procedures.texi
  46. $(AM_V_GEN) \
  47. $(top_builddir)/meta/guile --no-auto-compile \
  48. "$(srcdir)/libguile/texi-fragments-to-docstrings" \
  49. "$(builddir)/libguile/guile-procedures.texi" \
  50. > $@.tmp
  51. @mv $@.tmp $@
  52. EXTRA_DIST = LICENSE HACKING GUILE-VERSION \
  53. m4/ChangeLog-2008 \
  54. m4/gnulib-cache.m4 \
  55. ChangeLog-2008 \
  56. .version \
  57. gnulib-local/lib/localcharset.h.diff \
  58. gnulib-local/lib/localcharset.c.diff \
  59. gnulib-local/m4/clock_time.m4.diff \
  60. gnulib-local/build-aux/git-version-gen.diff \
  61. libguile/texi-fragments-to-docstrings \
  62. gdbinit
  63. TESTS = check-guile
  64. TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@
  65. ACLOCAL_AMFLAGS = -I m4
  66. CLEANFILES = libguile/guile-procedures.txt
  67. DISTCLEANFILES = check-guile.log
  68. DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
  69. dist-hook: gen-ChangeLog gen-tarball-version
  70. clean-local:
  71. rm -rf cache/
  72. CONFIG_STATUS_DEPENDENCIES = GUILE-VERSION
  73. gen_start_rev = 61db429e251bfd2f75cb4632972e0238056eb24b
  74. .PHONY: gen-ChangeLog
  75. gen-ChangeLog:
  76. if test -d .git; then \
  77. $(top_srcdir)/build-aux/gitlog-to-changelog \
  78. $(gen_start_rev)..HEAD > $(distdir)/cl-t; \
  79. rm -f $(distdir)/ChangeLog; \
  80. mv $(distdir)/cl-t $(distdir)/ChangeLog; \
  81. fi
  82. BUILT_SOURCES = $(top_srcdir)/.version
  83. $(top_srcdir)/.version:
  84. echo $(VERSION) > $@-t && mv $@-t $@
  85. gen-tarball-version:
  86. echo $(VERSION) > $(distdir)/.tarball-version
  87. # Makefile.am ends here