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