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
8 ## it under the terms of the GNU General Public License as
9 ## published by the Free Software Foundation; either version 2, 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 General Public License for more details.
17 ## You should have received a copy of the GNU General Public
18 ## License along with GUILE; see the file COPYING. If not, write
19 ## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
20 ## 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) \
51 $(ECMASCRIPT_LANG_SOURCES) \
54 ## test.scm is not currently installed.
55 EXTRA_DIST += ice-9/test.scm ice-9/compile-psyntax.scm ice-9/ChangeLog-2008
57 # We expect this to never be invoked when there is not already
58 # ice-9/psyntax-pp.scm in %load-path, since compile-psyntax.scm depends
59 # on ice-9/syncase.scm, which does `(load-from-path "ice-9/psyntax-pp.scm")'.
60 # In other words, to bootstrap this file, you need to do something like:
61 # GUILE_LOAD_PATH=/usr/local/share/guile/1.5.4 make psyntax-pp.scm
62 include $(top_srcdir)/am/pre-inst-guile
63 ice-9/psyntax-pp.scm: ice-9/psyntax.scm
64 $(preinstguile) -s $(srcdir)/ice-9/compile-psyntax.scm \
65 $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm
67 SCHEME_LANG_SOURCES = \
68 language/scheme/compile-ghil.scm \
69 language/scheme/spec.scm \
70 language/scheme/compile-tree-il.scm \
71 language/scheme/decompile-tree-il.scm \
72 language/scheme/inline.scm
74 TREE_IL_LANG_SOURCES = \
75 language/tree-il/spec.scm language/tree-il/compile-glil.scm
78 language/ghil/spec.scm language/ghil/compile-glil.scm
81 language/glil/spec.scm language/glil/compile-assembly.scm \
82 language/glil/decompile-assembly.scm
84 ASSEMBLY_LANG_SOURCES = \
85 language/assembly/spec.scm \
86 language/assembly/compile-bytecode.scm \
87 language/assembly/decompile-bytecode.scm \
88 language/assembly/disassemble.scm
90 BYTECODE_LANG_SOURCES = \
91 language/bytecode/spec.scm
93 OBJCODE_LANG_SOURCES = \
94 language/objcode/spec.scm
96 VALUE_LANG_SOURCES = \
97 language/value/spec.scm
99 ECMASCRIPT_LANG_SOURCES = \
100 language/ecmascript/parse-lalr.scm \
101 language/ecmascript/tokenize.scm \
102 language/ecmascript/parse.scm \
103 language/ecmascript/spec.scm \
104 language/ecmascript/impl.scm \
105 language/ecmascript/base.scm \
106 language/ecmascript/function.scm \
107 language/ecmascript/array.scm \
108 language/ecmascript/compile-ghil.scm
111 scripts/PROGRAM.scm \
112 scripts/autofrisk.scm \
113 scripts/compile.scm \
114 scripts/disassemble.scm \
115 scripts/display-commentary.scm \
116 scripts/doc-snarf.scm \
118 scripts/generate-autoload.scm \
121 scripts/read-scheme-source.scm \
122 scripts/read-text-outline.scm \
123 scripts/use2dot.scm \
124 scripts/snarf-check-and-output-texi.scm \
125 scripts/summarize-guile-TODO.scm \
126 scripts/scan-api.scm \
127 scripts/api-diff.scm \
128 scripts/read-rfc822.scm \
129 scripts/snarf-guile-m4-docs.scm
135 ice-9/and-let-star.scm \
137 ice-9/common-list.scm \
140 ice-9/documentation.scm \
144 ice-9/getopt-long.scm \
151 ice-9/networking.scm \
153 ice-9/occam-channel.scm \
164 ice-9/safe-r5rs.scm \
168 ice-9/stack-catch.scm \
170 ice-9/string-fun.scm \
173 ice-9/buffered-input.scm \
177 ice-9/pretty-print.scm \
179 ice-9/gap-buffer.scm \
180 ice-9/weak-vector.scm \
181 ice-9/deprecated.scm \
183 ice-9/serialize.scm \
211 EXTRA_DIST += scripts/ChangeLog-2008
212 EXTRA_DIST += scripts/README
216 oop/goops/active-slot.scm \
217 oop/goops/compile.scm \
218 oop/goops/composite-slot.scm \
219 oop/goops/describe.scm \
220 oop/goops/dispatch.scm \
221 oop/goops/internal.scm \
223 oop/goops/stklos.scm \
225 oop/goops/accessors.scm \
229 system/vm/debug.scm system/vm/frame.scm system/vm/instruction.scm \
230 system/vm/objcode.scm system/vm/profile.scm system/vm/program.scm \
231 system/vm/trace.scm system/vm/vm.scm \
235 system/repl/repl.scm system/repl/common.scm \
236 system/repl/command.scm
238 EXTRA_DIST += oop/ChangeLog-2008
241 ice-9/gds-client.scm \
243 system/repl/describe.scm \
244 ice-9/debugger/command-loop.scm \
245 ice-9/debugger/commands.scm \
246 ice-9/debugger/state.scm \
247 ice-9/debugger/trc.scm \
248 ice-9/debugger/utils.scm \
249 ice-9/debugging/example-fns.scm \
250 ice-9/debugging/ice-9-debugger-extensions.scm \
251 ice-9/debugging/steps.scm \
252 ice-9/debugging/trace.scm \
253 ice-9/debugging/traps.scm \
254 ice-9/debugging/trc.scm