1 ## Process this file with automake to produce Makefile.in.
3 ## Copyright (C) 2009, 2010 Free Software Foundation, Inc.
5 ## This file is part of GUILE.
7 ## GUILE is free software; you can redistribute it and/or modify it
8 ## under the terms of the GNU Lesser General Public License as
9 ## published by the Free Software Foundation; either version 3, or
10 ## (at your option) any later version.
12 ## GUILE is distributed in the hope that it will be useful, but
13 ## WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ## GNU Lesser General Public License for more details.
17 ## You should have received a copy of the GNU Lesser General Public
18 ## License along with GUILE; see the file COPYING.LESSER. If not,
19 ## write to the Free Software Foundation, Inc., 51 Franklin Street,
20 ## Fifth Floor, Boston, MA 02110-1301 USA
22 include $(top_srcdir)/am/guilec
24 # We're at the root of the module hierarchy.
27 # Build eval.go first.
28 $(GOBJECTS): ice-9/eval.go
29 CLEANFILES += ice-9/eval.go
30 nobase_mod_DATA += ice-9/eval.scm
31 nobase_ccache_DATA += ice-9/eval.go
32 EXTRA_DIST += ice-9/eval.scm
33 ETAGS_ARGS += ice-9/eval.scm
35 # We can compile these in any order, but it's fastest if we compile
36 # psyntax and boot-9 first, then the compiler itself, then the rest of
39 ice-9/psyntax-pp.scm \
42 language/tree-il.scm \
44 language/assembly.scm \
45 $(TREE_IL_LANG_SOURCES) \
46 $(GLIL_LANG_SOURCES) \
47 $(ASSEMBLY_LANG_SOURCES) \
48 $(BYTECODE_LANG_SOURCES) \
49 $(OBJCODE_LANG_SOURCES) \
50 $(VALUE_LANG_SOURCES) \
51 $(SCHEME_LANG_SOURCES) \
52 $(SYSTEM_BASE_SOURCES) \
60 $(ECMASCRIPT_LANG_SOURCES) \
61 $(ELISP_LANG_SOURCES) \
62 $(BRAINFUCK_LANG_SOURCES) \
65 ## test.scm is not currently installed.
68 ice-9/compile-psyntax.scm \
72 ice-9/compile-psyntax.scm \
75 include $(top_srcdir)/am/pre-inst-guile
76 ice-9/psyntax-pp.scm.gen:
77 $(preinstguile) --no-autocompile -s $(srcdir)/ice-9/compile-psyntax.scm \
78 $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm
80 .PHONY: ice-9/psyntax-pp.scm.gen
82 ice-9/psyntax-pp.go: ice-9/psyntax.scm ice-9/psyntax-pp.scm
83 $(AM_V_GUILEC) GUILE_AUTO_COMPILE=0 \
84 $(top_builddir)/meta/uninstalled-env \
85 guile-tools compile $(GUILE_WARNINGS) -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm"
87 SCHEME_LANG_SOURCES = \
88 language/scheme/spec.scm \
89 language/scheme/compile-tree-il.scm \
90 language/scheme/decompile-tree-il.scm
92 TREE_IL_LANG_SOURCES = \
93 language/tree-il/primitives.scm \
94 language/tree-il/optimize.scm \
95 language/tree-il/inline.scm \
96 language/tree-il/fix-letrec.scm \
97 language/tree-il/analyze.scm \
98 language/tree-il/compile-glil.scm \
99 language/tree-il/spec.scm
101 GLIL_LANG_SOURCES = \
102 language/glil/spec.scm language/glil/compile-assembly.scm \
103 language/glil/decompile-assembly.scm
105 ASSEMBLY_LANG_SOURCES = \
106 language/assembly/spec.scm \
107 language/assembly/compile-bytecode.scm \
108 language/assembly/decompile-bytecode.scm \
109 language/assembly/disassemble.scm
111 BYTECODE_LANG_SOURCES = \
112 language/bytecode/spec.scm
114 OBJCODE_LANG_SOURCES = \
115 language/objcode/spec.scm
117 VALUE_LANG_SOURCES = \
118 language/value/spec.scm
120 ECMASCRIPT_LANG_SOURCES = \
121 language/ecmascript/tokenize.scm \
122 language/ecmascript/parse.scm \
123 language/ecmascript/impl.scm \
124 language/ecmascript/base.scm \
125 language/ecmascript/function.scm \
126 language/ecmascript/array.scm \
127 language/ecmascript/compile-tree-il.scm \
128 language/ecmascript/spec.scm
130 ELISP_LANG_SOURCES = \
131 language/elisp/lexer.scm \
132 language/elisp/parser.scm \
133 language/elisp/bindings.scm \
134 language/elisp/compile-tree-il.scm \
135 language/elisp/runtime.scm \
136 language/elisp/runtime/function-slot.scm \
137 language/elisp/runtime/macro-slot.scm \
138 language/elisp/runtime/value-slot.scm \
139 language/elisp/spec.scm
141 BRAINFUCK_LANG_SOURCES = \
142 language/brainfuck/parse.scm \
143 language/brainfuck/compile-scheme.scm \
144 language/brainfuck/compile-tree-il.scm \
145 language/brainfuck/spec.scm
148 scripts/PROGRAM.scm \
149 scripts/autofrisk.scm \
150 scripts/compile.scm \
151 scripts/disassemble.scm \
152 scripts/display-commentary.scm \
153 scripts/doc-snarf.scm \
155 scripts/generate-autoload.scm \
158 scripts/read-scheme-source.scm \
159 scripts/read-text-outline.scm \
160 scripts/use2dot.scm \
161 scripts/snarf-check-and-output-texi.scm \
162 scripts/summarize-guile-TODO.scm \
163 scripts/scan-api.scm \
164 scripts/api-diff.scm \
165 scripts/read-rfc822.scm \
166 scripts/snarf-guile-m4-docs.scm
168 SYSTEM_BASE_SOURCES = \
169 system/base/pmatch.scm \
170 system/base/syntax.scm \
171 system/base/compile.scm \
172 system/base/language.scm \
173 system/base/lalr.scm \
174 system/base/message.scm
179 ice-9/deprecated.scm \
180 ice-9/and-let-star.scm \
182 ice-9/common-list.scm \
184 ice-9/curried-definitions.scm \
187 ice-9/documentation.scm \
190 ice-9/getopt-long.scm \
197 ice-9/networking.scm \
199 ice-9/occam-channel.scm \
210 ice-9/safe-r5rs.scm \
212 ice-9/save-stack.scm \
213 ice-9/scm-style-repl.scm \
216 ice-9/stack-catch.scm \
218 ice-9/string-fun.scm \
222 ice-9/buffered-input.scm \
226 ice-9/pretty-print.scm \
228 ice-9/gap-buffer.scm \
229 ice-9/weak-vector.scm \
231 ice-9/serialize.scm \
232 ice-9/gds-server.scm \
239 srfi/srfi-4/gnu.scm \
243 srfi/srfi-9/gnu.scm \
266 rnrs/conditions.scm \
270 rnrs/exceptions.scm \
272 rnrs/hashtables.scm \
274 rnrs/mutable-pairs.scm \
275 rnrs/mutable-strings.scm \
279 rnrs/syntax-case.scm \
281 rnrs/arithmetic/bitwise.scm \
282 rnrs/arithmetic/fixnums.scm \
283 rnrs/arithmetic/flonums.scm \
284 rnrs/bytevectors.scm \
287 rnrs/records/inspection.scm \
288 rnrs/records/procedural.scm \
289 rnrs/records/syntactic.scm
291 EXTRA_DIST += scripts/ChangeLog-2008
292 EXTRA_DIST += scripts/README
296 oop/goops/active-slot.scm \
297 oop/goops/compile.scm \
298 oop/goops/composite-slot.scm \
299 oop/goops/describe.scm \
300 oop/goops/dispatch.scm \
301 oop/goops/internal.scm \
303 oop/goops/stklos.scm \
305 oop/goops/accessors.scm \
309 system/vm/inspect.scm \
310 system/vm/coverage.scm \
311 system/vm/frame.scm \
312 system/vm/instruction.scm \
313 system/vm/objcode.scm \
314 system/vm/program.scm \
315 system/vm/trace.scm \
316 system/vm/traps.scm \
317 system/vm/trap-state.scm \
321 system/repl/debug.scm \
322 system/repl/error-handling.scm \
323 system/repl/common.scm \
324 system/repl/command.scm \
329 sxml/apply-templates.scm \
333 sxml/ssax/input-parse.scm \
338 texinfo/docbook.scm \
340 texinfo/indexing.scm \
341 texinfo/string-utils.scm \
342 texinfo/plain-text.scm \
343 texinfo/reflection.scm \
344 texinfo/serialize.scm
346 EXTRA_DIST += oop/ChangeLog-2008
349 ice-9/gds-client.scm \
350 ice-9/match.upstream.scm \
352 ice-9/r6rs-libraries.scm \
353 ice-9/quasisyntax.scm \
354 system/base/lalr.upstream.scm \
355 system/repl/describe.scm \
356 ice-9/debugger/command-loop.scm \
357 ice-9/debugger/commands.scm \
358 ice-9/debugger/state.scm \
359 ice-9/debugger/trc.scm \
360 ice-9/debugger/utils.scm \
361 ice-9/debugging/example-fns.scm \
362 ice-9/debugging/steps.scm \
363 ice-9/debugging/trace.scm \
364 ice-9/debugging/traps.scm \
365 ice-9/debugging/trc.scm \
367 sxml/upstream/SSAX.scm \
368 sxml/upstream/SXML-tree-trans.scm \
369 sxml/upstream/SXPath-old.scm \
370 sxml/upstream/assert.scm \
371 sxml/upstream/input-parse.scm