Commit | Line | Data |
---|---|---|
3bb299b3 LC |
1 | ## Process this file with automake to produce Makefile.in. |
2 | ## | |
3 | ## Copyright (C) 2009 Free Software Foundation, Inc. | |
4 | ## | |
5 | ## This file is part of GUILE. | |
6 | ## | |
53befeb7 NJ |
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 | |
3bb299b3 LC |
10 | ## (at your option) any later version. |
11 | ## | |
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 | |
53befeb7 | 15 | ## GNU Lesser General Public License for more details. |
3bb299b3 | 16 | ## |
53befeb7 NJ |
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 | |
3bb299b3 | 21 | |
6d66647d AW |
22 | include $(top_srcdir)/am/guilec |
23 | ||
3bb299b3 LC |
24 | # We're at the root of the module hierarchy. |
25 | modpath = | |
26 | ||
58df2e43 AW |
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. | |
32 | ||
3bb299b3 | 33 | SOURCES = \ |
811d10f5 | 34 | ice-9/psyntax-pp.scm \ |
3bb299b3 LC |
35 | system/base/pmatch.scm system/base/syntax.scm \ |
36 | system/base/compile.scm system/base/language.scm \ | |
37 | \ | |
811d10f5 | 38 | language/tree-il.scm \ |
3bb299b3 LC |
39 | language/ghil.scm language/glil.scm language/assembly.scm \ |
40 | \ | |
bac02722 | 41 | $(SCHEME_LANG_SOURCES) \ |
811d10f5 | 42 | $(TREE_IL_LANG_SOURCES) \ |
3bb299b3 LC |
43 | $(GHIL_LANG_SOURCES) $(GLIL_LANG_SOURCES) \ |
44 | $(ASSEMBLY_LANG_SOURCES) $(BYTECODE_LANG_SOURCES) \ | |
6d66647d AW |
45 | $(OBJCODE_LANG_SOURCES) $(VALUE_LANG_SOURCES) \ |
46 | \ | |
58df2e43 AW |
47 | $(ICE_9_SOURCES) \ |
48 | $(SRFI_SOURCES) \ | |
1ee2c72e | 49 | $(RNRS_SOURCES) \ |
58df2e43 | 50 | $(OOP_SOURCES) \ |
9c35c579 | 51 | $(SYSTEM_SOURCES) \ |
bac02722 | 52 | $(ECMASCRIPT_LANG_SOURCES) \ |
6d66647d | 53 | $(SCRIPTS_SOURCES) |
3bb299b3 | 54 | |
58df2e43 AW |
55 | ## test.scm is not currently installed. |
56 | EXTRA_DIST += ice-9/test.scm ice-9/compile-psyntax.scm ice-9/ChangeLog-2008 | |
57 | ||
58 | # We expect this to never be invoked when there is not already | |
59 | # ice-9/psyntax-pp.scm in %load-path, since compile-psyntax.scm depends | |
60 | # on ice-9/syncase.scm, which does `(load-from-path "ice-9/psyntax-pp.scm")'. | |
61 | # In other words, to bootstrap this file, you need to do something like: | |
62 | # GUILE_LOAD_PATH=/usr/local/share/guile/1.5.4 make psyntax-pp.scm | |
63 | include $(top_srcdir)/am/pre-inst-guile | |
64 | ice-9/psyntax-pp.scm: ice-9/psyntax.scm | |
55dce020 | 65 | $(preinstguile) --no-autocompile -s $(srcdir)/ice-9/compile-psyntax.scm \ |
58df2e43 AW |
66 | $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm |
67 | ||
3bb299b3 | 68 | SCHEME_LANG_SOURCES = \ |
b81d329e AW |
69 | language/scheme/compile-ghil.scm \ |
70 | language/scheme/spec.scm \ | |
71 | language/scheme/compile-tree-il.scm \ | |
72 | language/scheme/decompile-tree-il.scm \ | |
3bb299b3 LC |
73 | language/scheme/inline.scm |
74 | ||
9efc833d | 75 | TREE_IL_LANG_SOURCES = \ |
55ae815b | 76 | language/tree-il/primitives.scm \ |
cf10678f AW |
77 | language/tree-il/optimize.scm \ |
78 | language/tree-il/analyze.scm \ | |
79 | language/tree-il/compile-glil.scm \ | |
80 | language/tree-il/spec.scm | |
811d10f5 | 81 | |
3bb299b3 LC |
82 | GHIL_LANG_SOURCES = \ |
83 | language/ghil/spec.scm language/ghil/compile-glil.scm | |
84 | ||
85 | GLIL_LANG_SOURCES = \ | |
860f569a AW |
86 | language/glil/spec.scm language/glil/compile-assembly.scm \ |
87 | language/glil/decompile-assembly.scm | |
3bb299b3 LC |
88 | |
89 | ASSEMBLY_LANG_SOURCES = \ | |
90 | language/assembly/spec.scm \ | |
91 | language/assembly/compile-bytecode.scm \ | |
92 | language/assembly/decompile-bytecode.scm \ | |
93 | language/assembly/disassemble.scm | |
94 | ||
95 | BYTECODE_LANG_SOURCES = \ | |
96 | language/bytecode/spec.scm | |
97 | ||
98 | OBJCODE_LANG_SOURCES = \ | |
99 | language/objcode/spec.scm | |
100 | ||
101 | VALUE_LANG_SOURCES = \ | |
102 | language/value/spec.scm | |
103 | ||
104 | ECMASCRIPT_LANG_SOURCES = \ | |
105 | language/ecmascript/parse-lalr.scm \ | |
106 | language/ecmascript/tokenize.scm \ | |
107 | language/ecmascript/parse.scm \ | |
3bb299b3 LC |
108 | language/ecmascript/impl.scm \ |
109 | language/ecmascript/base.scm \ | |
110 | language/ecmascript/function.scm \ | |
111 | language/ecmascript/array.scm \ | |
8f9b9683 AW |
112 | language/ecmascript/compile-ghil.scm \ |
113 | language/ecmascript/spec.scm | |
3bb299b3 | 114 | |
6d66647d AW |
115 | SCRIPTS_SOURCES = \ |
116 | scripts/PROGRAM.scm \ | |
117 | scripts/autofrisk.scm \ | |
118 | scripts/compile.scm \ | |
119 | scripts/disassemble.scm \ | |
120 | scripts/display-commentary.scm \ | |
121 | scripts/doc-snarf.scm \ | |
122 | scripts/frisk.scm \ | |
123 | scripts/generate-autoload.scm \ | |
124 | scripts/lint.scm \ | |
125 | scripts/punify.scm \ | |
126 | scripts/read-scheme-source.scm \ | |
127 | scripts/read-text-outline.scm \ | |
128 | scripts/use2dot.scm \ | |
129 | scripts/snarf-check-and-output-texi.scm \ | |
130 | scripts/summarize-guile-TODO.scm \ | |
131 | scripts/scan-api.scm \ | |
132 | scripts/api-diff.scm \ | |
133 | scripts/read-rfc822.scm \ | |
134 | scripts/snarf-guile-m4-docs.scm | |
135 | ||
58df2e43 AW |
136 | ICE_9_SOURCES = \ |
137 | ice-9/boot-9.scm \ | |
138 | ice-9/r4rs.scm \ | |
139 | ice-9/r5rs.scm \ | |
140 | ice-9/and-let-star.scm \ | |
141 | ice-9/calling.scm \ | |
142 | ice-9/common-list.scm \ | |
143 | ice-9/debug.scm \ | |
144 | ice-9/debugger.scm \ | |
145 | ice-9/documentation.scm \ | |
146 | ice-9/emacs.scm \ | |
58df2e43 AW |
147 | ice-9/expect.scm \ |
148 | ice-9/format.scm \ | |
149 | ice-9/getopt-long.scm \ | |
150 | ice-9/hcons.scm \ | |
151 | ice-9/i18n.scm \ | |
152 | ice-9/lineio.scm \ | |
153 | ice-9/ls.scm \ | |
154 | ice-9/mapping.scm \ | |
155 | ice-9/match.scm \ | |
156 | ice-9/networking.scm \ | |
157 | ice-9/null.scm \ | |
158 | ice-9/occam-channel.scm \ | |
159 | ice-9/optargs.scm \ | |
160 | ice-9/poe.scm \ | |
161 | ice-9/popen.scm \ | |
162 | ice-9/posix.scm \ | |
163 | ice-9/q.scm \ | |
164 | ice-9/rdelim.scm \ | |
165 | ice-9/receive.scm \ | |
166 | ice-9/regex.scm \ | |
167 | ice-9/runq.scm \ | |
168 | ice-9/rw.scm \ | |
169 | ice-9/safe-r5rs.scm \ | |
170 | ice-9/safe.scm \ | |
171 | ice-9/session.scm \ | |
172 | ice-9/slib.scm \ | |
173 | ice-9/stack-catch.scm \ | |
174 | ice-9/streams.scm \ | |
175 | ice-9/string-fun.scm \ | |
176 | ice-9/syncase.scm \ | |
177 | ice-9/threads.scm \ | |
178 | ice-9/buffered-input.scm \ | |
179 | ice-9/time.scm \ | |
180 | ice-9/history.scm \ | |
181 | ice-9/channel.scm \ | |
182 | ice-9/pretty-print.scm \ | |
183 | ice-9/ftw.scm \ | |
184 | ice-9/gap-buffer.scm \ | |
185 | ice-9/weak-vector.scm \ | |
186 | ice-9/deprecated.scm \ | |
187 | ice-9/list.scm \ | |
188 | ice-9/serialize.scm \ | |
189 | ice-9/gds-server.scm | |
190 | ||
191 | SRFI_SOURCES = \ | |
192 | srfi/srfi-1.scm \ | |
193 | srfi/srfi-2.scm \ | |
194 | srfi/srfi-4.scm \ | |
195 | srfi/srfi-6.scm \ | |
196 | srfi/srfi-8.scm \ | |
197 | srfi/srfi-9.scm \ | |
198 | srfi/srfi-10.scm \ | |
199 | srfi/srfi-11.scm \ | |
200 | srfi/srfi-13.scm \ | |
201 | srfi/srfi-14.scm \ | |
202 | srfi/srfi-16.scm \ | |
203 | srfi/srfi-17.scm \ | |
f176c584 | 204 | srfi/srfi-18.scm \ |
58df2e43 AW |
205 | srfi/srfi-19.scm \ |
206 | srfi/srfi-26.scm \ | |
207 | srfi/srfi-31.scm \ | |
208 | srfi/srfi-34.scm \ | |
209 | srfi/srfi-35.scm \ | |
210 | srfi/srfi-37.scm \ | |
211 | srfi/srfi-39.scm \ | |
212 | srfi/srfi-60.scm \ | |
213 | srfi/srfi-69.scm \ | |
822aacbc AW |
214 | srfi/srfi-88.scm \ |
215 | srfi/srfi-98.scm | |
58df2e43 | 216 | |
1ee2c72e LC |
217 | RNRS_SOURCES = \ |
218 | rnrs/bytevector.scm \ | |
219 | rnrs/io/ports.scm | |
220 | ||
6d66647d AW |
221 | EXTRA_DIST += scripts/ChangeLog-2008 |
222 | EXTRA_DIST += scripts/README | |
223 | ||
58df2e43 AW |
224 | OOP_SOURCES = \ |
225 | oop/goops.scm \ | |
226 | oop/goops/active-slot.scm \ | |
227 | oop/goops/compile.scm \ | |
228 | oop/goops/composite-slot.scm \ | |
229 | oop/goops/describe.scm \ | |
230 | oop/goops/dispatch.scm \ | |
231 | oop/goops/internal.scm \ | |
232 | oop/goops/save.scm \ | |
233 | oop/goops/stklos.scm \ | |
234 | oop/goops/util.scm \ | |
235 | oop/goops/accessors.scm \ | |
236 | oop/goops/simple.scm | |
237 | ||
9c35c579 AW |
238 | SYSTEM_SOURCES = \ |
239 | system/vm/debug.scm system/vm/frame.scm system/vm/instruction.scm \ | |
240 | system/vm/objcode.scm system/vm/profile.scm system/vm/program.scm \ | |
241 | system/vm/trace.scm system/vm/vm.scm \ | |
242 | \ | |
243 | system/xref.scm \ | |
244 | \ | |
245 | system/repl/repl.scm system/repl/common.scm \ | |
246 | system/repl/command.scm | |
247 | ||
58df2e43 AW |
248 | EXTRA_DIST += oop/ChangeLog-2008 |
249 | ||
3bb299b3 | 250 | NOCOMP_SOURCES = \ |
58df2e43 AW |
251 | ice-9/gds-client.scm \ |
252 | ice-9/psyntax.scm \ | |
253 | system/repl/describe.scm \ | |
254 | ice-9/debugger/command-loop.scm \ | |
255 | ice-9/debugger/commands.scm \ | |
256 | ice-9/debugger/state.scm \ | |
257 | ice-9/debugger/trc.scm \ | |
258 | ice-9/debugger/utils.scm \ | |
259 | ice-9/debugging/example-fns.scm \ | |
260 | ice-9/debugging/ice-9-debugger-extensions.scm \ | |
261 | ice-9/debugging/steps.scm \ | |
262 | ice-9/debugging/trace.scm \ | |
263 | ice-9/debugging/traps.scm \ | |
f176c584 | 264 | ice-9/debugging/trc.scm |