Work around `gl_CANONICALIZE_LGPL' bug when cross-compiling to GNU/Hurd.
[bpt/guile.git] / Makefile.am
CommitLineData
733943b9 1## Process this file with automake to produce Makefile.in.
2764bd99 2##
364b6eb7 3## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006, 2007,
005de2e8 4## 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
2764bd99
JB
5##
6## This file is part of GUILE.
14353f06 7##
53befeb7
NJ
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
2764bd99 11## (at your option) any later version.
14353f06 12##
2764bd99
JB
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
53befeb7 16## GNU Lesser General Public License for more details.
14353f06 17##
53befeb7
NJ
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
733943b9 22
329e0394
KR
23# want automake 1.10 or higher so that AM_GNU_GETTEXT can tell automake that
24# config.rpath is needed
25#
26AUTOMAKE_OPTIONS = 1.10
f501d0d4 27
5f8760e4
AW
28SUBDIRS = \
29 lib \
30 meta \
31 libguile \
32 module \
33 guile-readline \
34 examples \
35 emacs \
36 test-suite \
37 benchmark-suite \
364b6eb7 38 gc-benchmarks \
5f8760e4
AW
39 am \
40 doc
733943b9 41
718815d7
AW
42libguileincludedir = $(pkgincludedir)/$(GUILE_EFFECTIVE_VERSION)
43libguileinclude_HEADERS = libguile.h
0479e5b7 44
c2c2b5a4
LC
45EXTRA_DIST = LICENSE HACKING GUILE-VERSION \
46 m4/ChangeLog-2008 \
005de2e8 47 m4/gnulib-cache.m4 \
c2c2b5a4
LC
48 ChangeLog-2008 \
49 .version \
50 gnulib-local/lib/localcharset.h.diff \
235c2804 51 gnulib-local/lib/localcharset.c.diff \
015b7087
LC
52 gnulib-local/m4/clock_time.m4.diff \
53 gnulib-local/m4/canonicalize.m4.diff
94f7baaf 54
1ff7abbe 55TESTS = check-guile
c2c2b5a4 56TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@
1ff7abbe 57
d051899d 58ACLOCAL_AMFLAGS = -I m4
0520dabb 59
9ea1cfc6 60DISTCLEANFILES = check-guile.log
0520dabb 61
13922e3f
LC
62DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
63
db10a69b 64dist-hook: gen-ChangeLog gen-tarball-version
5b55e293 65
48a0fe4d
AW
66clean-local:
67 rm -rf cache/
68
a6e60a95
AW
69CONFIG_STATUS_DEPENDENCIES = GUILE-VERSION
70
5b55e293
AW
71gen_start_rev = 61db429e251bfd2f75cb4632972e0238056eb24b
72.PHONY: gen-ChangeLog
73gen-ChangeLog:
74 if test -d .git; then \
75 $(top_srcdir)/build-aux/gitlog-to-changelog \
76 $(gen_start_rev)..HEAD > $(distdir)/cl-t; \
77 rm -f $(distdir)/ChangeLog; \
78 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
79 fi
80
db10a69b
LC
81BUILT_SOURCES = $(top_srcdir)/.version
82$(top_srcdir)/.version:
83 echo $(VERSION) > $@-t && mv $@-t $@
84gen-tarball-version:
85 echo $(VERSION) > $(distdir)/.tarball-version
86
0520dabb 87# Makefile.am ends here