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