1996-12-03 05:34:34 +00:00
|
|
|
## Process this file with automake to produce Makefile.in.
|
1998-10-19 15:25:43 +00:00
|
|
|
##
|
2011-03-06 22:26:49 +01:00
|
|
|
## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006, 2007,
|
2014-03-12 00:02:01 +01:00
|
|
|
## 2008, 2009, 2010, 2011, 2012, 2013,
|
2016-10-12 12:01:54 +02:00
|
|
|
## 2014, 2015, 2016 Free Software Foundation, Inc.
|
1998-10-19 15:25:43 +00:00
|
|
|
##
|
|
|
|
|
## This file is part of GUILE.
|
2001-04-30 01:42:14 +00:00
|
|
|
##
|
2009-06-17 00:22:09 +01:00
|
|
|
## GUILE is free software; you can redistribute it and/or modify it
|
|
|
|
|
## under the terms of the GNU Lesser General Public License as
|
|
|
|
|
## published by the Free Software Foundation; either version 3, or
|
1998-10-19 15:25:43 +00:00
|
|
|
## (at your option) any later version.
|
2001-04-30 01:42:14 +00:00
|
|
|
##
|
1998-10-19 15:25:43 +00:00
|
|
|
## GUILE is distributed in the hope that it will be useful, but
|
|
|
|
|
## WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2009-06-17 00:22:09 +01:00
|
|
|
## GNU Lesser General Public License for more details.
|
2001-04-30 01:42:14 +00:00
|
|
|
##
|
2009-06-17 00:22:09 +01:00
|
|
|
## You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
## License along with GUILE; see the file COPYING.LESSER. If not,
|
|
|
|
|
## write to the Free Software Foundation, Inc., 51 Franklin Street,
|
|
|
|
|
## Fifth Floor, Boston, MA 02110-1301 USA
|
1996-12-03 05:34:34 +00:00
|
|
|
|
2007-01-15 22:54:26 +00:00
|
|
|
# want automake 1.10 or higher so that AM_GNU_GETTEXT can tell automake that
|
|
|
|
|
# config.rpath is needed
|
|
|
|
|
#
|
|
|
|
|
AUTOMAKE_OPTIONS = 1.10
|
2001-05-31 13:17:00 +00:00
|
|
|
|
2010-10-06 10:24:45 +02:00
|
|
|
SUBDIRS = \
|
|
|
|
|
lib \
|
|
|
|
|
meta \
|
|
|
|
|
libguile \
|
2015-10-23 13:29:03 +00:00
|
|
|
bootstrap \
|
2010-10-06 10:24:45 +02:00
|
|
|
module \
|
|
|
|
|
guile-readline \
|
|
|
|
|
examples \
|
|
|
|
|
emacs \
|
|
|
|
|
test-suite \
|
|
|
|
|
benchmark-suite \
|
2011-03-06 22:26:49 +01:00
|
|
|
gc-benchmarks \
|
2010-10-06 10:24:45 +02:00
|
|
|
am \
|
|
|
|
|
doc
|
1996-12-03 05:34:34 +00:00
|
|
|
|
2016-01-29 10:21:44 +01:00
|
|
|
DIST_SUBDIRS = $(SUBDIRS) prebuilt
|
|
|
|
|
|
2010-03-16 21:37:12 +01:00
|
|
|
libguileincludedir = $(pkgincludedir)/$(GUILE_EFFECTIVE_VERSION)
|
|
|
|
|
libguileinclude_HEADERS = libguile.h
|
2000-05-01 22:11:24 +00:00
|
|
|
|
2013-03-21 19:17:13 +01:00
|
|
|
schemelibdir = $(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)
|
|
|
|
|
schemelib_DATA = libguile/guile-procedures.txt
|
|
|
|
|
|
2014-03-12 00:02:01 +01:00
|
|
|
# Our own implementation of Gnulib's lock interface.
|
|
|
|
|
noinst_HEADERS = lib/glthread/lock.h
|
|
|
|
|
|
|
|
|
|
# Our lib/glthreads/lock.h header indirectly includes
|
|
|
|
|
# libguile/scmconfig.h. Make sure it is built before we recurse into
|
|
|
|
|
# lib/.
|
|
|
|
|
BUILT_SOURCES = libguile/scmconfig.h
|
|
|
|
|
libguile/scmconfig.h:
|
|
|
|
|
$(MAKE) -C libguile scmconfig.h
|
|
|
|
|
|
2013-03-21 19:17:13 +01:00
|
|
|
# Build it from here so that all the modules are compiled by the time we
|
|
|
|
|
# build it.
|
|
|
|
|
libguile/guile-procedures.txt: libguile/guile-procedures.texi
|
|
|
|
|
$(AM_V_GEN) \
|
|
|
|
|
$(top_builddir)/meta/guile --no-auto-compile \
|
|
|
|
|
"$(srcdir)/libguile/texi-fragments-to-docstrings" \
|
|
|
|
|
"$(builddir)/libguile/guile-procedures.texi" \
|
2013-03-22 00:52:16 +01:00
|
|
|
> $@.tmp
|
|
|
|
|
@mv $@.tmp $@
|
2013-03-21 19:17:13 +01:00
|
|
|
|
2012-07-07 11:10:49 +02:00
|
|
|
EXTRA_DIST = LICENSE HACKING GUILE-VERSION \
|
|
|
|
|
m4/ChangeLog-2008 \
|
|
|
|
|
m4/gnulib-cache.m4 \
|
|
|
|
|
ChangeLog-2008 \
|
|
|
|
|
.version \
|
|
|
|
|
gnulib-local/lib/localcharset.h.diff \
|
|
|
|
|
gnulib-local/lib/localcharset.c.diff \
|
|
|
|
|
gnulib-local/m4/clock_time.m4.diff \
|
2013-03-21 19:17:13 +01:00
|
|
|
gnulib-local/build-aux/git-version-gen.diff \
|
2013-07-17 15:11:51 +02:00
|
|
|
libguile/texi-fragments-to-docstrings \
|
|
|
|
|
gdbinit
|
2000-06-12 14:03:12 +00:00
|
|
|
|
2001-01-26 13:44:57 +00:00
|
|
|
TESTS = check-guile
|
2011-12-15 01:31:16 +01:00
|
|
|
TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@
|
2001-01-26 13:44:57 +00:00
|
|
|
|
2008-11-30 19:37:29 +01:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2002-03-31 10:33:22 +00:00
|
|
|
|
2013-03-22 00:52:16 +01:00
|
|
|
CLEANFILES = libguile/guile-procedures.txt
|
2002-04-17 17:35:56 +00:00
|
|
|
DISTCLEANFILES = check-guile.log
|
2002-03-31 10:33:22 +00:00
|
|
|
|
2009-11-17 23:31:45 +01:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
|
|
|
|
|
|
2016-10-12 12:01:54 +02:00
|
|
|
dist-hook: gen-ChangeLog gen-tarball-version assert-no-store-file-names
|
2009-06-19 12:32:01 +02:00
|
|
|
|
2009-08-20 17:56:44 +02:00
|
|
|
clean-local:
|
|
|
|
|
rm -rf cache/
|
|
|
|
|
|
2010-03-19 12:01:55 +01:00
|
|
|
CONFIG_STATUS_DEPENDENCIES = GUILE-VERSION
|
|
|
|
|
|
2009-06-19 12:32:01 +02:00
|
|
|
gen_start_rev = 61db429e251bfd2f75cb4632972e0238056eb24b
|
|
|
|
|
.PHONY: gen-ChangeLog
|
|
|
|
|
gen-ChangeLog:
|
|
|
|
|
if test -d .git; then \
|
|
|
|
|
$(top_srcdir)/build-aux/gitlog-to-changelog \
|
|
|
|
|
$(gen_start_rev)..HEAD > $(distdir)/cl-t; \
|
|
|
|
|
rm -f $(distdir)/ChangeLog; \
|
|
|
|
|
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
|
|
|
|
|
fi
|
|
|
|
|
|
2016-10-12 12:01:54 +02:00
|
|
|
# Make sure we're not shipping a file that embeds a /gnu/store file
|
|
|
|
|
# name, for maintainers who use Guix.
|
|
|
|
|
.PHONY: assert-no-store-file-names
|
|
|
|
|
assert-no-store-file-names:
|
|
|
|
|
if grep -rE "/gnu/store/[a-z0-9]{32}-" $(distdir) ; \
|
|
|
|
|
then \
|
|
|
|
|
echo "error: store file names embedded in the distribution" >&2 ; \
|
|
|
|
|
exit 1 ; \
|
|
|
|
|
fi
|
|
|
|
|
|
2014-03-12 00:02:01 +01:00
|
|
|
BUILT_SOURCES += $(top_srcdir)/.version
|
2010-05-30 00:14:02 +02:00
|
|
|
$(top_srcdir)/.version:
|
|
|
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
|
gen-tarball-version:
|
|
|
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
|
|
|
|
|
2002-03-31 10:33:22 +00:00
|
|
|
# Makefile.am ends here
|