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 system/vm/debug.scm system/vm/frame.scm system/vm/instruction.scm \
39 system/vm/objcode.scm system/vm/profile.scm system/vm/program.scm \
40 system/vm/trace.scm system/vm/vm.scm \
44 system/repl/repl.scm system/repl/common.scm \
45 system/repl/command.scm \
47 language/ghil.scm language/glil.scm language/assembly.scm \
49 $(SCHEME_LANG_SOURCES) $(ECMASCRIPT_LANG_SOURCES) \
50 $(GHIL_LANG_SOURCES) $(GLIL_LANG_SOURCES) \
51 $(ASSEMBLY_LANG_SOURCES) $(BYTECODE_LANG_SOURCES) \
52 $(OBJCODE_LANG_SOURCES) $(VALUE_LANG_SOURCES) \
60 ## test.scm is not currently installed.
61 EXTRA_DIST += ice-9/test.scm ice-9/compile-psyntax.scm ice-9/ChangeLog-2008
63 # We expect this to never be invoked when there is not already
64 # ice-9/psyntax-pp.scm in %load-path, since compile-psyntax.scm depends
65 # on ice-9/syncase.scm, which does `(load-from-path "ice-9/psyntax-pp.scm")'.
66 # In other words, to bootstrap this file, you need to do something like:
67 # GUILE_LOAD_PATH=/usr/local/share/guile/1.5.4 make psyntax-pp.scm
68 include $(top_srcdir)/am/pre-inst-guile
69 ice-9/psyntax-pp.scm: ice-9/psyntax.scm
70 $(preinstguile) -s $(srcdir)/ice-9/compile-psyntax.scm \
71 $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm
73 SCHEME_LANG_SOURCES = \
74 language/scheme/amatch.scm language/scheme/expand.scm \
75 language/scheme/compile-ghil.scm language/scheme/spec.scm \
76 language/scheme/inline.scm
79 language/ghil/spec.scm language/ghil/compile-glil.scm
82 language/glil/spec.scm language/glil/compile-assembly.scm \
83 language/glil/decompile-assembly.scm
85 ASSEMBLY_LANG_SOURCES = \
86 language/assembly/spec.scm \
87 language/assembly/compile-bytecode.scm \
88 language/assembly/decompile-bytecode.scm \
89 language/assembly/disassemble.scm
91 BYTECODE_LANG_SOURCES = \
92 language/bytecode/spec.scm
94 OBJCODE_LANG_SOURCES = \
95 language/objcode/spec.scm
97 VALUE_LANG_SOURCES = \
98 language/value/spec.scm
100 ECMASCRIPT_LANG_SOURCES = \
101 language/ecmascript/parse-lalr.scm \
102 language/ecmascript/tokenize.scm \
103 language/ecmascript/parse.scm \
104 language/ecmascript/spec.scm \
105 language/ecmascript/impl.scm \
106 language/ecmascript/base.scm \
107 language/ecmascript/function.scm \
108 language/ecmascript/array.scm \
109 language/ecmascript/compile-ghil.scm
112 scripts/PROGRAM.scm \
113 scripts/autofrisk.scm \
114 scripts/compile.scm \
115 scripts/disassemble.scm \
116 scripts/display-commentary.scm \
117 scripts/doc-snarf.scm \
119 scripts/generate-autoload.scm \
122 scripts/read-scheme-source.scm \
123 scripts/read-text-outline.scm \
124 scripts/use2dot.scm \
125 scripts/snarf-check-and-output-texi.scm \
126 scripts/summarize-guile-TODO.scm \
127 scripts/scan-api.scm \
128 scripts/api-diff.scm \
129 scripts/read-rfc822.scm \
130 scripts/snarf-guile-m4-docs.scm
136 ice-9/and-let-star.scm \
138 ice-9/common-list.scm \
141 ice-9/documentation.scm \
143 ice-9/expand-support.scm \
146 ice-9/getopt-long.scm \
153 ice-9/networking.scm \
155 ice-9/occam-channel.scm \
166 ice-9/safe-r5rs.scm \
170 ice-9/stack-catch.scm \
172 ice-9/string-fun.scm \
175 ice-9/buffered-input.scm \
179 ice-9/pretty-print.scm \
181 ice-9/gap-buffer.scm \
182 ice-9/weak-vector.scm \
183 ice-9/deprecated.scm \
185 ice-9/serialize.scm \
212 EXTRA_DIST += scripts/ChangeLog-2008
213 EXTRA_DIST += scripts/README
217 oop/goops/active-slot.scm \
218 oop/goops/compile.scm \
219 oop/goops/composite-slot.scm \
220 oop/goops/describe.scm \
221 oop/goops/dispatch.scm \
222 oop/goops/internal.scm \
224 oop/goops/stklos.scm \
226 oop/goops/accessors.scm \
229 EXTRA_DIST += oop/ChangeLog-2008
232 ice-9/gds-client.scm \
234 system/repl/describe.scm \
235 ice-9/debugger/command-loop.scm \
236 ice-9/debugger/commands.scm \
237 ice-9/debugger/state.scm \
238 ice-9/debugger/trc.scm \
239 ice-9/debugger/utils.scm \
240 ice-9/debugging/example-fns.scm \
241 ice-9/debugging/ice-9-debugger-extensions.scm \
242 ice-9/debugging/steps.scm \
243 ice-9/debugging/trace.scm \
244 ice-9/debugging/traps.scm \
245 ice-9/debugging/trc.scm \