1 ## Process this file with automake to produce Makefile.in.
3 ## Copyright (C) 2009, 2010, 2011, 2012, 2013,
4 ## 2014 Free Software Foundation, Inc.
6 ## This file is part of GUILE.
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
11 ## (at your option) any later version.
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
16 ## GNU Lesser General Public License for more details.
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
23 include $(top_srcdir)/am/guilec
25 # We're at the root of the module hierarchy.
28 # Build eval.go first.
29 $(GOBJECTS): ice-9/eval.go
30 CLEANFILES += ice-9/eval.go
31 nobase_mod_DATA += ice-9/eval.scm
32 nobase_ccache_DATA += ice-9/eval.go
33 EXTRA_DIST += ice-9/eval.scm
34 ETAGS_ARGS += ice-9/eval.scm
36 ice-9/boot-9.go: ice-9/boot-9.scm ice-9/quasisyntax.scm ice-9/r6rs-libraries.scm
37 ice-9/match.go: ice-9/match.scm ice-9/match.upstream.scm
39 # We can compile these in any order, but it's fastest if we compile
40 # psyntax and boot-9 first, then the compiler itself, then the rest of
43 ice-9/psyntax-pp.scm \
47 language/tree-il/peval.scm \
48 language/tree-il/cse.scm \
50 language/tree-il.scm \
52 language/assembly.scm \
53 $(TREE_IL_LANG_SOURCES) \
54 $(GLIL_LANG_SOURCES) \
55 $(ASSEMBLY_LANG_SOURCES) \
56 $(BYTECODE_LANG_SOURCES) \
57 $(OBJCODE_LANG_SOURCES) \
58 $(VALUE_LANG_SOURCES) \
59 $(SCHEME_LANG_SOURCES) \
60 $(SYSTEM_BASE_SOURCES) \
68 $(ECMASCRIPT_LANG_SOURCES) \
69 $(ELISP_LANG_SOURCES) \
70 $(BRAINFUCK_LANG_SOURCES) \
74 ## test.scm is not currently installed.
77 ice-9/compile-psyntax.scm \
81 ice-9/compile-psyntax.scm \
84 ice-9/psyntax-pp.scm.gen:
85 GUILE_INSTALL_LOCALE=1 GUILE_AUTO_COMPILE=0 \
86 $(top_builddir_absolute)/meta/guile -s $(srcdir)/ice-9/compile-psyntax.scm \
87 $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm
89 .PHONY: ice-9/psyntax-pp.scm.gen
91 # Keep this rule in sync with that in `am/guilec'.
92 ice-9/psyntax-pp.go: ice-9/psyntax.scm ice-9/psyntax-pp.scm
93 $(AM_V_GUILEC)GUILE_INSTALL_LOCALE=1 GUILE_AUTO_COMPILE=0 \
94 $(top_builddir)/meta/uninstalled-env \
95 guild compile --target="$(host)" $(GUILE_WARNINGS) \
96 -L "$(abs_srcdir)" -L "$(abs_builddir)" \
97 -L "$(abs_top_srcdir)/guile-readline" \
98 -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm"
100 SCHEME_LANG_SOURCES = \
101 language/scheme/spec.scm \
102 language/scheme/compile-tree-il.scm \
103 language/scheme/decompile-tree-il.scm
105 TREE_IL_LANG_SOURCES = \
106 language/tree-il/primitives.scm \
107 language/tree-il/effects.scm \
108 language/tree-il/fix-letrec.scm \
109 language/tree-il/optimize.scm \
110 language/tree-il/canonicalize.scm \
111 language/tree-il/analyze.scm \
112 language/tree-il/inline.scm \
113 language/tree-il/compile-glil.scm \
114 language/tree-il/debug.scm \
115 language/tree-il/spec.scm
117 GLIL_LANG_SOURCES = \
118 language/glil/spec.scm language/glil/compile-assembly.scm
120 ASSEMBLY_LANG_SOURCES = \
121 language/assembly/spec.scm \
122 language/assembly/compile-bytecode.scm \
123 language/assembly/decompile-bytecode.scm \
124 language/assembly/disassemble.scm
126 BYTECODE_LANG_SOURCES = \
127 language/bytecode/spec.scm
129 OBJCODE_LANG_SOURCES = \
130 language/objcode/spec.scm
132 VALUE_LANG_SOURCES = \
133 language/value/spec.scm
135 ECMASCRIPT_LANG_SOURCES = \
136 language/ecmascript/tokenize.scm \
137 language/ecmascript/parse.scm \
138 language/ecmascript/impl.scm \
139 language/ecmascript/base.scm \
140 language/ecmascript/function.scm \
141 language/ecmascript/array.scm \
142 language/ecmascript/compile-tree-il.scm \
143 language/ecmascript/spec.scm
145 ELISP_LANG_SOURCES = \
146 language/elisp/lexer.scm \
147 language/elisp/parser.scm \
148 language/elisp/bindings.scm \
149 language/elisp/compile-tree-il.scm \
150 language/elisp/runtime.scm \
151 language/elisp/runtime/function-slot.scm \
152 language/elisp/runtime/value-slot.scm \
153 language/elisp/runtime/macros.scm \
154 language/elisp/runtime/subrs.scm \
155 language/elisp/spec.scm
157 BRAINFUCK_LANG_SOURCES = \
158 language/brainfuck/parse.scm \
159 language/brainfuck/compile-scheme.scm \
160 language/brainfuck/compile-tree-il.scm \
161 language/brainfuck/spec.scm
164 scripts/compile.scm \
165 scripts/disassemble.scm \
166 scripts/display-commentary.scm \
167 scripts/doc-snarf.scm \
169 scripts/generate-autoload.scm \
174 scripts/read-scheme-source.scm \
175 scripts/read-text-outline.scm \
176 scripts/use2dot.scm \
177 scripts/snarf-check-and-output-texi.scm \
178 scripts/summarize-guile-TODO.scm \
179 scripts/api-diff.scm \
180 scripts/read-rfc822.scm \
181 scripts/snarf-guile-m4-docs.scm \
182 scripts/autofrisk.scm \
185 SYSTEM_BASE_SOURCES = \
186 system/base/pmatch.scm \
187 system/base/syntax.scm \
188 system/base/compile.scm \
189 system/base/language.scm \
190 system/base/lalr.scm \
191 system/base/message.scm \
192 system/base/target.scm \
193 system/base/types.scm \
199 ice-9/deprecated.scm \
200 ice-9/and-let-star.scm \
201 ice-9/binary-ports.scm \
203 ice-9/command-line.scm \
204 ice-9/common-list.scm \
206 ice-9/curried-definitions.scm \
208 ice-9/documentation.scm \
209 ice-9/eval-string.scm \
213 ice-9/getopt-long.scm \
214 ice-9/hash-table.scm \
222 ice-9/networking.scm \
224 ice-9/occam-channel.scm \
236 ice-9/safe-r5rs.scm \
238 ice-9/save-stack.scm \
239 ice-9/scm-style-repl.scm \
242 ice-9/stack-catch.scm \
244 ice-9/string-fun.scm \
248 ice-9/buffered-input.scm \
252 ice-9/pretty-print.scm \
254 ice-9/gap-buffer.scm \
255 ice-9/weak-vector.scm \
257 ice-9/serialize.scm \
258 ice-9/local-eval.scm \
261 srfi/srfi-64.go: srfi/srfi-64.scm srfi/srfi-64/testing.scm
266 srfi/srfi-4/gnu.scm \
270 srfi/srfi-9/gnu.scm \
301 rnrs/conditions.scm \
305 rnrs/exceptions.scm \
307 rnrs/hashtables.scm \
309 rnrs/mutable-pairs.scm \
310 rnrs/mutable-strings.scm \
314 rnrs/syntax-case.scm \
316 rnrs/arithmetic/bitwise.scm \
317 rnrs/arithmetic/fixnums.scm \
318 rnrs/arithmetic/flonums.scm \
319 rnrs/bytevectors.scm \
322 rnrs/records/inspection.scm \
323 rnrs/records/procedural.scm \
324 rnrs/records/syntactic.scm \
327 EXTRA_DIST += scripts/ChangeLog-2008
328 EXTRA_DIST += scripts/README
332 oop/goops/active-slot.scm \
333 oop/goops/compile.scm \
334 oop/goops/composite-slot.scm \
335 oop/goops/describe.scm \
336 oop/goops/dispatch.scm \
337 oop/goops/internal.scm \
339 oop/goops/stklos.scm \
341 oop/goops/accessors.scm \
345 system/vm/inspect.scm \
346 system/vm/coverage.scm \
347 system/vm/frame.scm \
348 system/vm/instruction.scm \
349 system/vm/objcode.scm \
350 system/vm/program.scm \
351 system/vm/trace.scm \
352 system/vm/traps.scm \
353 system/vm/trap-state.scm \
356 system/foreign-object.scm \
358 system/repl/debug.scm \
359 system/repl/error-handling.scm \
360 system/repl/common.scm \
361 system/repl/command.scm \
362 system/repl/repl.scm \
363 system/repl/server.scm \
364 system/repl/coop-server.scm
368 sxml/apply-templates.scm \
372 sxml/ssax/input-parse.scm \
377 texinfo/docbook.scm \
379 texinfo/indexing.scm \
380 texinfo/string-utils.scm \
381 texinfo/plain-text.scm \
382 texinfo/reflection.scm \
383 texinfo/serialize.scm
391 web/server/http.scm \
394 EXTRA_DIST += oop/ChangeLog-2008
397 ice-9/match.upstream.scm \
399 ice-9/r6rs-libraries.scm \
400 ice-9/quasisyntax.scm \
401 srfi/srfi-42/ec.scm \
402 srfi/srfi-64/testing.scm \
403 srfi/srfi-67/compare.scm \
404 system/base/lalr.upstream.scm \
405 system/repl/describe.scm \
407 sxml/upstream/SSAX.scm \
408 sxml/upstream/SXML-tree-trans.scm \
409 sxml/upstream/SXPath-old.scm \
410 sxml/upstream/assert.scm \
411 sxml/upstream/input-parse.scm