temporarily disable elisp exception tests
[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,
8f7887d6
LC
4## 2008, 2009, 2010, 2011, 2012, 2013,
5## 2014 Free Software Foundation, Inc.
2764bd99
JB
6##
7## This file is part of GUILE.
14353f06 8##
53befeb7
NJ
9## GUILE is free software; you can redistribute it and/or modify it
10## under the terms of the GNU Lesser General Public License as
11## published by the Free Software Foundation; either version 3, or
2764bd99 12## (at your option) any later version.
14353f06 13##
2764bd99
JB
14## GUILE is distributed in the hope that it will be useful, but
15## WITHOUT ANY WARRANTY; without even the implied warranty of
16## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53befeb7 17## GNU Lesser General Public License for more details.
14353f06 18##
53befeb7
NJ
19## You should have received a copy of the GNU Lesser General Public
20## License along with GUILE; see the file COPYING.LESSER. If not,
21## write to the Free Software Foundation, Inc., 51 Franklin Street,
22## Fifth Floor, Boston, MA 02110-1301 USA
733943b9 23
329e0394
KR
24# want automake 1.10 or higher so that AM_GNU_GETTEXT can tell automake that
25# config.rpath is needed
26#
27AUTOMAKE_OPTIONS = 1.10
f501d0d4 28
5f8760e4
AW
29SUBDIRS = \
30 lib \
31 meta \
32 libguile \
33 module \
34 guile-readline \
35 examples \
36 emacs \
37 test-suite \
38 benchmark-suite \
364b6eb7 39 gc-benchmarks \
5f8760e4
AW
40 am \
41 doc
733943b9 42
718815d7
AW
43libguileincludedir = $(pkgincludedir)/$(GUILE_EFFECTIVE_VERSION)
44libguileinclude_HEADERS = libguile.h
0479e5b7 45
6cfdc6b8
LC
46schemelibdir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)
47schemelib_DATA = libguile/guile-procedures.txt
48
8f7887d6
LC
49# Our own implementation of Gnulib's lock interface.
50noinst_HEADERS = lib/glthread/lock.h
51
52# Our lib/glthreads/lock.h header indirectly includes
53# libguile/scmconfig.h. Make sure it is built before we recurse into
54# lib/.
55BUILT_SOURCES = libguile/scmconfig.h
56libguile/scmconfig.h:
57 $(MAKE) -C libguile scmconfig.h
58
6cfdc6b8
LC
59# Build it from here so that all the modules are compiled by the time we
60# build it.
61libguile/guile-procedures.txt: libguile/guile-procedures.texi
62 $(AM_V_GEN) \
63 $(top_builddir)/meta/guile --no-auto-compile \
64 "$(srcdir)/libguile/texi-fragments-to-docstrings" \
65 "$(builddir)/libguile/guile-procedures.texi" \
c5c7c114
LC
66 > $@.tmp
67 @mv $@.tmp $@
6cfdc6b8 68
7e0ee59c
LC
69EXTRA_DIST = LICENSE HACKING GUILE-VERSION \
70 m4/ChangeLog-2008 \
71 m4/gnulib-cache.m4 \
72 ChangeLog-2008 \
73 .version \
74 gnulib-local/lib/localcharset.h.diff \
75 gnulib-local/lib/localcharset.c.diff \
76 gnulib-local/m4/clock_time.m4.diff \
6cfdc6b8 77 gnulib-local/build-aux/git-version-gen.diff \
e472f652
LC
78 libguile/texi-fragments-to-docstrings \
79 gdbinit
94f7baaf 80
1ff7abbe 81TESTS = check-guile
c2c2b5a4 82TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@
1ff7abbe 83
d051899d 84ACLOCAL_AMFLAGS = -I m4
0520dabb 85
c5c7c114 86CLEANFILES = libguile/guile-procedures.txt
9ea1cfc6 87DISTCLEANFILES = check-guile.log
0520dabb 88
13922e3f
LC
89DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
90
db10a69b 91dist-hook: gen-ChangeLog gen-tarball-version
5b55e293 92
48a0fe4d
AW
93clean-local:
94 rm -rf cache/
95
a6e60a95
AW
96CONFIG_STATUS_DEPENDENCIES = GUILE-VERSION
97
5b55e293
AW
98gen_start_rev = 61db429e251bfd2f75cb4632972e0238056eb24b
99.PHONY: gen-ChangeLog
100gen-ChangeLog:
101 if test -d .git; then \
102 $(top_srcdir)/build-aux/gitlog-to-changelog \
103 $(gen_start_rev)..HEAD > $(distdir)/cl-t; \
104 rm -f $(distdir)/ChangeLog; \
105 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
106 fi
107
8f7887d6 108BUILT_SOURCES += $(top_srcdir)/.version
db10a69b
LC
109$(top_srcdir)/.version:
110 echo $(VERSION) > $@-t && mv $@-t $@
111gen-tarball-version:
112 echo $(VERSION) > $(distdir)/.tarball-version
113
0520dabb 114# Makefile.am ends here