1 ## Process this file with automake to produce Makefile.in.
3 ## Copyright (C) 2009 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 # Compile psyntax and boot-9 first, so that we get the speed benefit in
28 # the rest of the compilation. Also, if there is too much switching back
29 # and forth between interpreted and compiled code, we end up using more
30 # of the C stack than the interpreter would have; so avoid that by
31 # putting these core modules first.
34 ice-9/psyntax-pp.scm \
35 system/base/pmatch.scm system/base/syntax.scm \
36 system/base/compile.scm system/base/language.scm \
38 language/tree-il.scm \
39 language/ghil.scm language/glil.scm language/assembly.scm \
41 $(SCHEME_LANG_SOURCES) \
42 $(TREE_IL_LANG_SOURCES) \
43 $(GHIL_LANG_SOURCES) $(GLIL_LANG_SOURCES) \
44 $(ASSEMBLY_LANG_SOURCES) $(BYTECODE_LANG_SOURCES) \
45 $(OBJCODE_LANG_SOURCES) $(VALUE_LANG_SOURCES) \
52 $(ECMASCRIPT_LANG_SOURCES) \
53 $(BRAINFUCK_LANG_SOURCES) \
56 ## test.scm is not currently installed.
57 EXTRA_DIST += ice-9/test.scm ice-9/compile-psyntax.scm ice-9/ChangeLog-2008
59 # We expect this to never be invoked when there is not already
60 # ice-9/psyntax-pp.scm in %load-path, since compile-psyntax.scm depends
61 # on ice-9/syncase.scm, which does `(load-from-path "ice-9/psyntax-pp.scm")'.
62 # In other words, to bootstrap this file, you need to do something like:
63 # GUILE_LOAD_PATH=/usr/local/share/guile/1.5.4 make psyntax-pp.scm
64 include $(top_srcdir)/am/pre-inst-guile
65 ice-9/psyntax-pp.scm: ice-9/psyntax.scm
66 $(preinstguile) --no-autocompile -s $(srcdir)/ice-9/compile-psyntax.scm \
67 $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm
69 SCHEME_LANG_SOURCES = \
70 language/scheme/compile-ghil.scm \
71 language/scheme/spec.scm \
72 language/scheme/compile-tree-il.scm \
73 language/scheme/decompile-tree-il.scm \
74 language/scheme/inline.scm
76 TREE_IL_LANG_SOURCES = \
77 language/tree-il/primitives.scm \
78 language/tree-il/optimize.scm \
79 language/tree-il/analyze.scm \
80 language/tree-il/compile-glil.scm \
81 language/tree-il/spec.scm
84 language/ghil/spec.scm language/ghil/compile-glil.scm
87 language/glil/spec.scm language/glil/compile-assembly.scm \
88 language/glil/decompile-assembly.scm
90 ASSEMBLY_LANG_SOURCES = \
91 language/assembly/spec.scm \
92 language/assembly/compile-bytecode.scm \
93 language/assembly/decompile-bytecode.scm \
94 language/assembly/disassemble.scm
96 BYTECODE_LANG_SOURCES = \
97 language/bytecode/spec.scm
99 OBJCODE_LANG_SOURCES = \
100 language/objcode/spec.scm
102 VALUE_LANG_SOURCES = \
103 language/value/spec.scm
105 ECMASCRIPT_LANG_SOURCES = \
106 language/ecmascript/parse-lalr.scm \
107 language/ecmascript/tokenize.scm \
108 language/ecmascript/parse.scm \
109 language/ecmascript/impl.scm \
110 language/ecmascript/base.scm \
111 language/ecmascript/function.scm \
112 language/ecmascript/array.scm \
113 language/ecmascript/compile-ghil.scm \
114 language/ecmascript/spec.scm
116 BRAINFUCK_LANG_SOURCES = \
117 language/brainfuck/parse.scm \
118 language/brainfuck/compile-scheme.scm \
119 language/brainfuck/compile-tree-il.scm \
120 language/brainfuck/spec.scm
123 scripts/PROGRAM.scm \
124 scripts/autofrisk.scm \
125 scripts/compile.scm \
126 scripts/disassemble.scm \
127 scripts/display-commentary.scm \
128 scripts/doc-snarf.scm \
130 scripts/generate-autoload.scm \
133 scripts/read-scheme-source.scm \
134 scripts/read-text-outline.scm \
135 scripts/use2dot.scm \
136 scripts/snarf-check-and-output-texi.scm \
137 scripts/summarize-guile-TODO.scm \
138 scripts/scan-api.scm \
139 scripts/api-diff.scm \
140 scripts/read-rfc822.scm \
141 scripts/snarf-guile-m4-docs.scm
147 ice-9/and-let-star.scm \
149 ice-9/common-list.scm \
152 ice-9/documentation.scm \
156 ice-9/getopt-long.scm \
163 ice-9/networking.scm \
165 ice-9/occam-channel.scm \
176 ice-9/safe-r5rs.scm \
180 ice-9/stack-catch.scm \
182 ice-9/string-fun.scm \
185 ice-9/buffered-input.scm \
189 ice-9/pretty-print.scm \
191 ice-9/gap-buffer.scm \
192 ice-9/weak-vector.scm \
193 ice-9/deprecated.scm \
195 ice-9/serialize.scm \
202 srfi/srfi-4/gnu.scm \
226 rnrs/bytevector.scm \
229 EXTRA_DIST += scripts/ChangeLog-2008
230 EXTRA_DIST += scripts/README
234 oop/goops/active-slot.scm \
235 oop/goops/compile.scm \
236 oop/goops/composite-slot.scm \
237 oop/goops/describe.scm \
238 oop/goops/dispatch.scm \
239 oop/goops/internal.scm \
241 oop/goops/stklos.scm \
243 oop/goops/accessors.scm \
247 system/vm/debug.scm system/vm/frame.scm system/vm/instruction.scm \
248 system/vm/objcode.scm system/vm/profile.scm system/vm/program.scm \
249 system/vm/trace.scm system/vm/vm.scm \
253 system/repl/repl.scm system/repl/common.scm \
254 system/repl/command.scm
256 EXTRA_DIST += oop/ChangeLog-2008
259 ice-9/gds-client.scm \
261 system/repl/describe.scm \
262 ice-9/debugger/command-loop.scm \
263 ice-9/debugger/commands.scm \
264 ice-9/debugger/state.scm \
265 ice-9/debugger/trc.scm \
266 ice-9/debugger/utils.scm \
267 ice-9/debugging/example-fns.scm \
268 ice-9/debugging/ice-9-debugger-extensions.scm \
269 ice-9/debugging/steps.scm \
270 ice-9/debugging/trace.scm \
271 ice-9/debugging/traps.scm \
272 ice-9/debugging/trc.scm