2015-10-23 13:29:03 +00:00
|
|
|
## Process this file with automake to produce Makefile.in.
|
|
|
|
|
##
|
|
|
|
|
## Copyright (C) 2009, 2010, 2011, 2012, 2013,
|
2018-01-05 17:44:00 +01:00
|
|
|
## 2014, 2015, 2018 Free Software Foundation, Inc.
|
2015-10-23 13:29:03 +00:00
|
|
|
##
|
|
|
|
|
## This file is part of GUILE.
|
|
|
|
|
##
|
|
|
|
|
## 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
|
|
|
|
|
## (at your option) any later version.
|
|
|
|
|
##
|
|
|
|
|
## 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
|
|
|
|
|
## GNU Lesser General Public License for more details.
|
|
|
|
|
##
|
|
|
|
|
## 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
|
|
|
|
|
|
|
|
|
|
|
2015-12-01 10:48:04 +01:00
|
|
|
GUILE_WARNINGS =
|
2018-01-05 17:44:00 +01:00
|
|
|
# Loading eval.go happens before boot and therefore before modules are
|
|
|
|
|
# resolved. For some reason if compiled without resolve-primitives,
|
|
|
|
|
# attempts to resolve primitives at boot fail; weird. Should fix this
|
|
|
|
|
# but in the meantime we turn on primitive resolution (which normally
|
|
|
|
|
# only happens at -O2).
|
|
|
|
|
GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives
|
2016-01-29 10:21:44 +01:00
|
|
|
|
|
|
|
|
include $(top_srcdir)/am/bootstrap.am
|
2015-10-23 13:29:03 +00:00
|
|
|
|
2015-10-23 16:38:49 +02:00
|
|
|
# We must build the evaluator first, so that we can be sure to control
|
2018-10-25 13:53:47 +02:00
|
|
|
# the stack. Then, we build the syntax-case macro expander before the
|
|
|
|
|
# rest, in order to speed up parallel builds.
|
|
|
|
|
ice-9/psyntax-pp.go: | ice-9/eval.go
|
|
|
|
|
|
|
|
|
|
$(filter-out ice-9/eval.go ice-9/psyntax-pp.go, $(GOBJECTS)): | \
|
|
|
|
|
ice-9/psyntax-pp.go
|