temporarily disable elisp exception tests
[bpt/guile.git] / Makefile.am
... / ...
CommitLineData
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,
5## 2014 Free Software Foundation, Inc.
6##
7## This file is part of GUILE.
8##
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
12## (at your option) any later version.
13##
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
17## GNU Lesser General Public License for more details.
18##
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
23
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
28
29SUBDIRS = \
30 lib \
31 meta \
32 libguile \
33 module \
34 guile-readline \
35 examples \
36 emacs \
37 test-suite \
38 benchmark-suite \
39 gc-benchmarks \
40 am \
41 doc
42
43libguileincludedir = $(pkgincludedir)/$(GUILE_EFFECTIVE_VERSION)
44libguileinclude_HEADERS = libguile.h
45
46schemelibdir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)
47schemelib_DATA = libguile/guile-procedures.txt
48
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
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" \
66 > $@.tmp
67 @mv $@.tmp $@
68
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 \
77 gnulib-local/build-aux/git-version-gen.diff \
78 libguile/texi-fragments-to-docstrings \
79 gdbinit
80
81TESTS = check-guile
82TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@
83
84ACLOCAL_AMFLAGS = -I m4
85
86CLEANFILES = libguile/guile-procedures.txt
87DISTCLEANFILES = check-guile.log
88
89DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
90
91dist-hook: gen-ChangeLog gen-tarball-version
92
93clean-local:
94 rm -rf cache/
95
96CONFIG_STATUS_DEPENDENCIES = GUILE-VERSION
97
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
108BUILT_SOURCES += $(top_srcdir)/.version
109$(top_srcdir)/.version:
110 echo $(VERSION) > $@-t && mv $@-t $@
111gen-tarball-version:
112 echo $(VERSION) > $(distdir)/.tarball-version
113
114# Makefile.am ends here