Commit | Line | Data |
---|---|---|
3bb299b3 LC |
1 | ## Process this file with automake to produce Makefile.in. |
2 | ## | |
3b12702f | 3 | ## Copyright (C) 2009, 2010 Free Software Foundation, Inc. |
3bb299b3 LC |
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 | ||
c439c756 AW |
27 | # Build eval.go first. |
28 | $(GOBJECTS): ice-9/eval.go | |
29 | CLEANFILES += ice-9/eval.go | |
5161a3c0 AW |
30 | nobase_mod_DATA += ice-9/eval.scm |
31 | nobase_ccache_DATA += ice-9/eval.go | |
32 | EXTRA_DIST += ice-9/eval.scm | |
4fb23c17 | 33 | ETAGS_ARGS += ice-9/eval.scm |
5161a3c0 | 34 | |
5f161164 AW |
35 | # We can compile these in any order, but it's fastest if we compile |
36 | # psyntax and boot-9 first, then the compiler itself, then the rest of | |
37 | # the code. | |
38 | SOURCES = \ | |
39 | ice-9/psyntax-pp.scm \ | |
40 | ice-9/boot-9.scm \ | |
41 | \ | |
42 | language/tree-il.scm \ | |
43 | language/glil.scm \ | |
44 | language/assembly.scm \ | |
45 | $(TREE_IL_LANG_SOURCES) \ | |
46 | $(GLIL_LANG_SOURCES) \ | |
47 | $(ASSEMBLY_LANG_SOURCES) \ | |
48 | $(BYTECODE_LANG_SOURCES) \ | |
49 | $(OBJCODE_LANG_SOURCES) \ | |
50 | $(VALUE_LANG_SOURCES) \ | |
51 | $(SCHEME_LANG_SOURCES) \ | |
52 | $(SYSTEM_BASE_SOURCES) \ | |
53 | \ | |
54 | $(ICE_9_SOURCES) \ | |
55 | $(SRFI_SOURCES) \ | |
56 | $(RNRS_SOURCES) \ | |
57 | $(OOP_SOURCES) \ | |
58 | $(SYSTEM_SOURCES) \ | |
59 | $(SCRIPTS_SOURCES) \ | |
60 | $(ECMASCRIPT_LANG_SOURCES) \ | |
e4257331 | 61 | $(ELISP_LANG_SOURCES) \ |
47f3ce52 AW |
62 | $(BRAINFUCK_LANG_SOURCES) \ |
63 | $(LIB_SOURCES) | |
3bb299b3 | 64 | |
58df2e43 | 65 | ## test.scm is not currently installed. |
cb65f76c AR |
66 | EXTRA_DIST += \ |
67 | ice-9/test.scm \ | |
68 | ice-9/compile-psyntax.scm \ | |
cb65f76c | 69 | ice-9/ChangeLog-2008 |
4fb23c17 NJ |
70 | ETAGS_ARGS += \ |
71 | ice-9/test.scm \ | |
72 | ice-9/compile-psyntax.scm \ | |
73 | ice-9/ChangeLog-2008 | |
58df2e43 | 74 | |
58df2e43 | 75 | include $(top_srcdir)/am/pre-inst-guile |
dbb39d9c | 76 | ice-9/psyntax-pp.scm.gen: |
55dce020 | 77 | $(preinstguile) --no-autocompile -s $(srcdir)/ice-9/compile-psyntax.scm \ |
58df2e43 | 78 | $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm |
90812095 | 79 | |
736aff00 LC |
80 | .PHONY: ice-9/psyntax-pp.scm.gen |
81 | ||
c439c756 AW |
82 | ice-9/psyntax-pp.go: ice-9/psyntax.scm ice-9/psyntax-pp.scm |
83 | $(AM_V_GUILEC) GUILE_AUTO_COMPILE=0 \ | |
90812095 AW |
84 | $(top_builddir)/meta/uninstalled-env \ |
85 | guile-tools compile $(GUILE_WARNINGS) -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm" | |
58df2e43 | 86 | |
3bb299b3 | 87 | SCHEME_LANG_SOURCES = \ |
b81d329e AW |
88 | language/scheme/spec.scm \ |
89 | language/scheme/compile-tree-il.scm \ | |
27c8177f | 90 | language/scheme/decompile-tree-il.scm |
3bb299b3 | 91 | |
9efc833d | 92 | TREE_IL_LANG_SOURCES = \ |
55ae815b | 93 | language/tree-il/primitives.scm \ |
cf10678f | 94 | language/tree-il/optimize.scm \ |
dab0f9d5 | 95 | language/tree-il/inline.scm \ |
c21c89b1 | 96 | language/tree-il/fix-letrec.scm \ |
cf10678f AW |
97 | language/tree-il/analyze.scm \ |
98 | language/tree-il/compile-glil.scm \ | |
99 | language/tree-il/spec.scm | |
811d10f5 | 100 | |
3bb299b3 | 101 | GLIL_LANG_SOURCES = \ |
860f569a AW |
102 | language/glil/spec.scm language/glil/compile-assembly.scm \ |
103 | language/glil/decompile-assembly.scm | |
3bb299b3 LC |
104 | |
105 | ASSEMBLY_LANG_SOURCES = \ | |
106 | language/assembly/spec.scm \ | |
107 | language/assembly/compile-bytecode.scm \ | |
108 | language/assembly/decompile-bytecode.scm \ | |
109 | language/assembly/disassemble.scm | |
110 | ||
111 | BYTECODE_LANG_SOURCES = \ | |
112 | language/bytecode/spec.scm | |
113 | ||
114 | OBJCODE_LANG_SOURCES = \ | |
115 | language/objcode/spec.scm | |
116 | ||
117 | VALUE_LANG_SOURCES = \ | |
118 | language/value/spec.scm | |
119 | ||
120 | ECMASCRIPT_LANG_SOURCES = \ | |
3bb299b3 LC |
121 | language/ecmascript/tokenize.scm \ |
122 | language/ecmascript/parse.scm \ | |
3bb299b3 LC |
123 | language/ecmascript/impl.scm \ |
124 | language/ecmascript/base.scm \ | |
125 | language/ecmascript/function.scm \ | |
126 | language/ecmascript/array.scm \ | |
eb1482ac | 127 | language/ecmascript/compile-tree-il.scm \ |
8f9b9683 | 128 | language/ecmascript/spec.scm |
3bb299b3 | 129 | |
e4257331 AW |
130 | ELISP_LANG_SOURCES = \ |
131 | language/elisp/lexer.scm \ | |
132 | language/elisp/parser.scm \ | |
133 | language/elisp/bindings.scm \ | |
134 | language/elisp/compile-tree-il.scm \ | |
135 | language/elisp/runtime.scm \ | |
136 | language/elisp/runtime/function-slot.scm \ | |
137 | language/elisp/runtime/macro-slot.scm \ | |
138 | language/elisp/runtime/value-slot.scm \ | |
139 | language/elisp/spec.scm | |
140 | ||
6370a6ad | 141 | BRAINFUCK_LANG_SOURCES = \ |
6370a6ad | 142 | language/brainfuck/parse.scm \ |
5c27902e AW |
143 | language/brainfuck/compile-scheme.scm \ |
144 | language/brainfuck/compile-tree-il.scm \ | |
145 | language/brainfuck/spec.scm | |
6370a6ad | 146 | |
6d66647d AW |
147 | SCRIPTS_SOURCES = \ |
148 | scripts/PROGRAM.scm \ | |
149 | scripts/autofrisk.scm \ | |
150 | scripts/compile.scm \ | |
151 | scripts/disassemble.scm \ | |
152 | scripts/display-commentary.scm \ | |
153 | scripts/doc-snarf.scm \ | |
154 | scripts/frisk.scm \ | |
155 | scripts/generate-autoload.scm \ | |
156 | scripts/lint.scm \ | |
157 | scripts/punify.scm \ | |
158 | scripts/read-scheme-source.scm \ | |
159 | scripts/read-text-outline.scm \ | |
160 | scripts/use2dot.scm \ | |
161 | scripts/snarf-check-and-output-texi.scm \ | |
162 | scripts/summarize-guile-TODO.scm \ | |
163 | scripts/scan-api.scm \ | |
164 | scripts/api-diff.scm \ | |
165 | scripts/read-rfc822.scm \ | |
166 | scripts/snarf-guile-m4-docs.scm | |
167 | ||
1b101522 | 168 | SYSTEM_BASE_SOURCES = \ |
5f161164 AW |
169 | system/base/pmatch.scm \ |
170 | system/base/syntax.scm \ | |
171 | system/base/compile.scm \ | |
172 | system/base/language.scm \ | |
1b101522 | 173 | system/base/lalr.scm \ |
5f161164 AW |
174 | system/base/message.scm |
175 | ||
58df2e43 | 176 | ICE_9_SOURCES = \ |
58df2e43 AW |
177 | ice-9/r4rs.scm \ |
178 | ice-9/r5rs.scm \ | |
2a8a127b | 179 | ice-9/deprecated.scm \ |
58df2e43 AW |
180 | ice-9/and-let-star.scm \ |
181 | ice-9/calling.scm \ | |
182 | ice-9/common-list.scm \ | |
9b2a2a39 | 183 | ice-9/control.scm \ |
9225df3c | 184 | ice-9/curried-definitions.scm \ |
58df2e43 AW |
185 | ice-9/debug.scm \ |
186 | ice-9/debugger.scm \ | |
187 | ice-9/documentation.scm \ | |
58df2e43 AW |
188 | ice-9/expect.scm \ |
189 | ice-9/format.scm \ | |
190 | ice-9/getopt-long.scm \ | |
191 | ice-9/hcons.scm \ | |
192 | ice-9/i18n.scm \ | |
193 | ice-9/lineio.scm \ | |
194 | ice-9/ls.scm \ | |
195 | ice-9/mapping.scm \ | |
196 | ice-9/match.scm \ | |
197 | ice-9/networking.scm \ | |
198 | ice-9/null.scm \ | |
199 | ice-9/occam-channel.scm \ | |
200 | ice-9/optargs.scm \ | |
201 | ice-9/poe.scm \ | |
202 | ice-9/popen.scm \ | |
203 | ice-9/posix.scm \ | |
204 | ice-9/q.scm \ | |
205 | ice-9/rdelim.scm \ | |
206 | ice-9/receive.scm \ | |
207 | ice-9/regex.scm \ | |
208 | ice-9/runq.scm \ | |
209 | ice-9/rw.scm \ | |
210 | ice-9/safe-r5rs.scm \ | |
211 | ice-9/safe.scm \ | |
d8158b83 | 212 | ice-9/save-stack.scm \ |
b2e27da3 | 213 | ice-9/scm-style-repl.scm \ |
58df2e43 AW |
214 | ice-9/session.scm \ |
215 | ice-9/slib.scm \ | |
216 | ice-9/stack-catch.scm \ | |
217 | ice-9/streams.scm \ | |
218 | ice-9/string-fun.scm \ | |
219 | ice-9/syncase.scm \ | |
220 | ice-9/threads.scm \ | |
ff87b2bd | 221 | ice-9/top-repl.scm \ |
58df2e43 AW |
222 | ice-9/buffered-input.scm \ |
223 | ice-9/time.scm \ | |
224 | ice-9/history.scm \ | |
225 | ice-9/channel.scm \ | |
226 | ice-9/pretty-print.scm \ | |
227 | ice-9/ftw.scm \ | |
228 | ice-9/gap-buffer.scm \ | |
229 | ice-9/weak-vector.scm \ | |
58df2e43 AW |
230 | ice-9/list.scm \ |
231 | ice-9/serialize.scm \ | |
22ec6a31 LC |
232 | ice-9/gds-server.scm \ |
233 | ice-9/vlist.scm | |
58df2e43 AW |
234 | |
235 | SRFI_SOURCES = \ | |
236 | srfi/srfi-1.scm \ | |
237 | srfi/srfi-2.scm \ | |
238 | srfi/srfi-4.scm \ | |
ac8ed3db | 239 | srfi/srfi-4/gnu.scm \ |
58df2e43 AW |
240 | srfi/srfi-6.scm \ |
241 | srfi/srfi-8.scm \ | |
242 | srfi/srfi-9.scm \ | |
3d82d9a6 | 243 | srfi/srfi-9/gnu.scm \ |
58df2e43 AW |
244 | srfi/srfi-10.scm \ |
245 | srfi/srfi-11.scm \ | |
246 | srfi/srfi-13.scm \ | |
247 | srfi/srfi-14.scm \ | |
248 | srfi/srfi-16.scm \ | |
249 | srfi/srfi-17.scm \ | |
f176c584 | 250 | srfi/srfi-18.scm \ |
58df2e43 AW |
251 | srfi/srfi-19.scm \ |
252 | srfi/srfi-26.scm \ | |
253 | srfi/srfi-31.scm \ | |
254 | srfi/srfi-34.scm \ | |
255 | srfi/srfi-35.scm \ | |
256 | srfi/srfi-37.scm \ | |
257 | srfi/srfi-39.scm \ | |
258 | srfi/srfi-60.scm \ | |
259 | srfi/srfi-69.scm \ | |
822aacbc AW |
260 | srfi/srfi-88.scm \ |
261 | srfi/srfi-98.scm | |
58df2e43 | 262 | |
1ee2c72e | 263 | RNRS_SOURCES = \ |
e44d2e4d AW |
264 | rnrs.scm \ |
265 | rnrs/base.scm \ | |
266 | rnrs/conditions.scm \ | |
267 | rnrs/control.scm \ | |
268 | rnrs/enums.scm \ | |
269 | rnrs/eval.scm \ | |
270 | rnrs/exceptions.scm \ | |
271 | rnrs/files.scm \ | |
272 | rnrs/hashtables.scm \ | |
273 | rnrs/lists.scm \ | |
274 | rnrs/mutable-pairs.scm \ | |
275 | rnrs/mutable-strings.scm \ | |
276 | rnrs/programs.scm \ | |
277 | rnrs/r5rs.scm \ | |
278 | rnrs/sorting.scm \ | |
279 | rnrs/syntax-case.scm \ | |
280 | rnrs/unicode.scm \ | |
281 | rnrs/arithmetic/bitwise.scm \ | |
282 | rnrs/arithmetic/fixnums.scm \ | |
283 | rnrs/arithmetic/flonums.scm \ | |
4c06cb2c | 284 | rnrs/bytevectors.scm \ |
e44d2e4d | 285 | rnrs/io/simple.scm \ |
60b240e9 | 286 | rnrs/io/ports.scm \ |
e44d2e4d AW |
287 | rnrs/records/inspection.scm \ |
288 | rnrs/records/procedural.scm \ | |
289 | rnrs/records/syntactic.scm | |
1ee2c72e | 290 | |
6d66647d AW |
291 | EXTRA_DIST += scripts/ChangeLog-2008 |
292 | EXTRA_DIST += scripts/README | |
293 | ||
58df2e43 AW |
294 | OOP_SOURCES = \ |
295 | oop/goops.scm \ | |
296 | oop/goops/active-slot.scm \ | |
297 | oop/goops/compile.scm \ | |
298 | oop/goops/composite-slot.scm \ | |
299 | oop/goops/describe.scm \ | |
300 | oop/goops/dispatch.scm \ | |
301 | oop/goops/internal.scm \ | |
302 | oop/goops/save.scm \ | |
303 | oop/goops/stklos.scm \ | |
304 | oop/goops/util.scm \ | |
305 | oop/goops/accessors.scm \ | |
306 | oop/goops/simple.scm | |
307 | ||
3b12702f AW |
308 | SYSTEM_SOURCES = \ |
309 | system/vm/inspect.scm \ | |
36b5e394 | 310 | system/vm/coverage.scm \ |
3b12702f AW |
311 | system/vm/frame.scm \ |
312 | system/vm/instruction.scm \ | |
313 | system/vm/objcode.scm \ | |
3b12702f AW |
314 | system/vm/program.scm \ |
315 | system/vm/trace.scm \ | |
316 | system/vm/vm.scm \ | |
ab4779ff | 317 | system/foreign.scm \ |
3b12702f | 318 | system/xref.scm \ |
33df2ec7 AW |
319 | system/repl/debug.scm \ |
320 | system/repl/error-handling.scm \ | |
3b12702f | 321 | system/repl/common.scm \ |
33df2ec7 AW |
322 | system/repl/command.scm \ |
323 | system/repl/repl.scm | |
9c35c579 | 324 | |
47f3ce52 AW |
325 | LIB_SOURCES = \ |
326 | statprof.scm \ | |
327 | sxml/apply-templates.scm \ | |
328 | sxml/fold.scm \ | |
400a5dcb | 329 | sxml/match.scm \ |
47f3ce52 AW |
330 | sxml/simple.scm \ |
331 | sxml/ssax/input-parse.scm \ | |
332 | sxml/ssax.scm \ | |
333 | sxml/transform.scm \ | |
334 | sxml/xpath.scm \ | |
335 | texinfo.scm \ | |
336 | texinfo/docbook.scm \ | |
337 | texinfo/html.scm \ | |
338 | texinfo/indexing.scm \ | |
339 | texinfo/string-utils.scm \ | |
340 | texinfo/plain-text.scm \ | |
341 | texinfo/reflection.scm \ | |
342 | texinfo/serialize.scm | |
343 | ||
58df2e43 AW |
344 | EXTRA_DIST += oop/ChangeLog-2008 |
345 | ||
3bb299b3 | 346 | NOCOMP_SOURCES = \ |
47f3ce52 | 347 | ice-9/gds-client.scm \ |
d967913f | 348 | ice-9/match.upstream.scm \ |
47f3ce52 | 349 | ice-9/psyntax.scm \ |
b1e4c7cc | 350 | ice-9/r6rs-libraries.scm \ |
47f3ce52 | 351 | ice-9/quasisyntax.scm \ |
1b101522 | 352 | system/base/lalr.upstream.scm \ |
47f3ce52 AW |
353 | system/repl/describe.scm \ |
354 | ice-9/debugger/command-loop.scm \ | |
355 | ice-9/debugger/commands.scm \ | |
356 | ice-9/debugger/state.scm \ | |
357 | ice-9/debugger/trc.scm \ | |
358 | ice-9/debugger/utils.scm \ | |
359 | ice-9/debugging/example-fns.scm \ | |
360 | ice-9/debugging/steps.scm \ | |
361 | ice-9/debugging/trace.scm \ | |
362 | ice-9/debugging/traps.scm \ | |
363 | ice-9/debugging/trc.scm \ | |
400a5dcb | 364 | sxml/sxml-match.ss \ |
47f3ce52 AW |
365 | sxml/upstream/SSAX.scm \ |
366 | sxml/upstream/SXML-tree-trans.scm \ | |
367 | sxml/upstream/SXPath-old.scm \ | |
368 | sxml/upstream/assert.scm \ | |
369 | sxml/upstream/input-parse.scm |