Commit | Line | Data |
---|---|---|
3bb299b3 LC |
1 | ## Process this file with automake to produce Makefile.in. |
2 | ## | |
d062a8c1 | 3 | ## Copyright (C) 2009, 2010, 2011, 2012 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 | 62 | $(BRAINFUCK_LANG_SOURCES) \ |
73124c6c AW |
63 | $(LIB_SOURCES) \ |
64 | $(WEB_SOURCES) | |
3bb299b3 | 65 | |
58df2e43 | 66 | ## test.scm is not currently installed. |
cb65f76c AR |
67 | EXTRA_DIST += \ |
68 | ice-9/test.scm \ | |
69 | ice-9/compile-psyntax.scm \ | |
cb65f76c | 70 | ice-9/ChangeLog-2008 |
4fb23c17 NJ |
71 | ETAGS_ARGS += \ |
72 | ice-9/test.scm \ | |
73 | ice-9/compile-psyntax.scm \ | |
74 | ice-9/ChangeLog-2008 | |
58df2e43 | 75 | |
dbb39d9c | 76 | ice-9/psyntax-pp.scm.gen: |
6b8bc6f8 | 77 | $(top_builddir_absolute)/meta/guile --no-auto-compile -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 | ||
f7012874 | 82 | # Keep this rule in sync with that in `am/guilec'. |
c439c756 | 83 | ice-9/psyntax-pp.go: ice-9/psyntax.scm ice-9/psyntax-pp.scm |
f7012874 | 84 | $(AM_V_GUILEC)GUILE_AUTO_COMPILE=0 \ |
a0a8dd62 LC |
85 | $(top_builddir)/meta/uninstalled-env \ |
86 | guild compile --target="$(host)" $(GUILE_WARNINGS) \ | |
f7012874 LC |
87 | -L "$(abs_srcdir)" -L "$(abs_builddir)" \ |
88 | -L "$(abs_top_srcdir)/guile-readline" \ | |
a0a8dd62 | 89 | -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm" |
58df2e43 | 90 | |
3bb299b3 | 91 | SCHEME_LANG_SOURCES = \ |
b81d329e AW |
92 | language/scheme/spec.scm \ |
93 | language/scheme/compile-tree-il.scm \ | |
27c8177f | 94 | language/scheme/decompile-tree-il.scm |
3bb299b3 | 95 | |
9efc833d | 96 | TREE_IL_LANG_SOURCES = \ |
55ae815b | 97 | language/tree-il/primitives.scm \ |
b275fb26 | 98 | language/tree-il/peval.scm \ |
c21c89b1 | 99 | language/tree-il/fix-letrec.scm \ |
b275fb26 AW |
100 | language/tree-il/optimize.scm \ |
101 | language/tree-il/canonicalize.scm \ | |
cf10678f | 102 | language/tree-il/analyze.scm \ |
b275fb26 | 103 | language/tree-il/inline.scm \ |
cf10678f | 104 | language/tree-il/compile-glil.scm \ |
6d2d6897 | 105 | language/tree-il/debug.scm \ |
cf10678f | 106 | language/tree-il/spec.scm |
811d10f5 | 107 | |
3bb299b3 | 108 | GLIL_LANG_SOURCES = \ |
860f569a AW |
109 | language/glil/spec.scm language/glil/compile-assembly.scm \ |
110 | language/glil/decompile-assembly.scm | |
3bb299b3 LC |
111 | |
112 | ASSEMBLY_LANG_SOURCES = \ | |
113 | language/assembly/spec.scm \ | |
114 | language/assembly/compile-bytecode.scm \ | |
115 | language/assembly/decompile-bytecode.scm \ | |
116 | language/assembly/disassemble.scm | |
117 | ||
118 | BYTECODE_LANG_SOURCES = \ | |
119 | language/bytecode/spec.scm | |
120 | ||
121 | OBJCODE_LANG_SOURCES = \ | |
122 | language/objcode/spec.scm | |
123 | ||
124 | VALUE_LANG_SOURCES = \ | |
125 | language/value/spec.scm | |
126 | ||
127 | ECMASCRIPT_LANG_SOURCES = \ | |
3bb299b3 LC |
128 | language/ecmascript/tokenize.scm \ |
129 | language/ecmascript/parse.scm \ | |
3bb299b3 LC |
130 | language/ecmascript/impl.scm \ |
131 | language/ecmascript/base.scm \ | |
132 | language/ecmascript/function.scm \ | |
133 | language/ecmascript/array.scm \ | |
eb1482ac | 134 | language/ecmascript/compile-tree-il.scm \ |
8f9b9683 | 135 | language/ecmascript/spec.scm |
3bb299b3 | 136 | |
e4257331 AW |
137 | ELISP_LANG_SOURCES = \ |
138 | language/elisp/lexer.scm \ | |
139 | language/elisp/parser.scm \ | |
140 | language/elisp/bindings.scm \ | |
141 | language/elisp/compile-tree-il.scm \ | |
142 | language/elisp/runtime.scm \ | |
143 | language/elisp/runtime/function-slot.scm \ | |
e4257331 | 144 | language/elisp/runtime/value-slot.scm \ |
8295b7c4 BT |
145 | language/elisp/runtime/macros.scm \ |
146 | language/elisp/runtime/subrs.scm \ | |
e4257331 AW |
147 | language/elisp/spec.scm |
148 | ||
6370a6ad | 149 | BRAINFUCK_LANG_SOURCES = \ |
6370a6ad | 150 | language/brainfuck/parse.scm \ |
5c27902e AW |
151 | language/brainfuck/compile-scheme.scm \ |
152 | language/brainfuck/compile-tree-il.scm \ | |
153 | language/brainfuck/spec.scm | |
6370a6ad | 154 | |
6d66647d | 155 | SCRIPTS_SOURCES = \ |
6d66647d AW |
156 | scripts/autofrisk.scm \ |
157 | scripts/compile.scm \ | |
158 | scripts/disassemble.scm \ | |
159 | scripts/display-commentary.scm \ | |
160 | scripts/doc-snarf.scm \ | |
161 | scripts/frisk.scm \ | |
162 | scripts/generate-autoload.scm \ | |
f4a76a31 | 163 | scripts/help.scm \ |
6d66647d | 164 | scripts/lint.scm \ |
9228f9eb | 165 | scripts/list.scm \ |
6d66647d AW |
166 | scripts/punify.scm \ |
167 | scripts/read-scheme-source.scm \ | |
168 | scripts/read-text-outline.scm \ | |
169 | scripts/use2dot.scm \ | |
170 | scripts/snarf-check-and-output-texi.scm \ | |
171 | scripts/summarize-guile-TODO.scm \ | |
172 | scripts/scan-api.scm \ | |
173 | scripts/api-diff.scm \ | |
174 | scripts/read-rfc822.scm \ | |
175 | scripts/snarf-guile-m4-docs.scm | |
176 | ||
1b101522 | 177 | SYSTEM_BASE_SOURCES = \ |
5f161164 AW |
178 | system/base/pmatch.scm \ |
179 | system/base/syntax.scm \ | |
180 | system/base/compile.scm \ | |
181 | system/base/language.scm \ | |
1b101522 | 182 | system/base/lalr.scm \ |
42090217 AW |
183 | system/base/message.scm \ |
184 | system/base/target.scm | |
5f161164 | 185 | |
58df2e43 | 186 | ICE_9_SOURCES = \ |
58df2e43 AW |
187 | ice-9/r4rs.scm \ |
188 | ice-9/r5rs.scm \ | |
2a8a127b | 189 | ice-9/deprecated.scm \ |
58df2e43 | 190 | ice-9/and-let-star.scm \ |
dd0d987f | 191 | ice-9/binary-ports.scm \ |
58df2e43 | 192 | ice-9/calling.scm \ |
da5d81a1 | 193 | ice-9/command-line.scm \ |
58df2e43 | 194 | ice-9/common-list.scm \ |
9b2a2a39 | 195 | ice-9/control.scm \ |
9225df3c | 196 | ice-9/curried-definitions.scm \ |
58df2e43 | 197 | ice-9/debug.scm \ |
58df2e43 | 198 | ice-9/documentation.scm \ |
d59dd06e | 199 | ice-9/eval-string.scm \ |
58df2e43 AW |
200 | ice-9/expect.scm \ |
201 | ice-9/format.scm \ | |
0d4e6ca3 | 202 | ice-9/futures.scm \ |
58df2e43 AW |
203 | ice-9/getopt-long.scm \ |
204 | ice-9/hcons.scm \ | |
205 | ice-9/i18n.scm \ | |
206 | ice-9/lineio.scm \ | |
207 | ice-9/ls.scm \ | |
208 | ice-9/mapping.scm \ | |
209 | ice-9/match.scm \ | |
210 | ice-9/networking.scm \ | |
211 | ice-9/null.scm \ | |
212 | ice-9/occam-channel.scm \ | |
213 | ice-9/optargs.scm \ | |
214 | ice-9/poe.scm \ | |
6f81b18a | 215 | ice-9/poll.scm \ |
58df2e43 AW |
216 | ice-9/popen.scm \ |
217 | ice-9/posix.scm \ | |
218 | ice-9/q.scm \ | |
219 | ice-9/rdelim.scm \ | |
220 | ice-9/receive.scm \ | |
221 | ice-9/regex.scm \ | |
222 | ice-9/runq.scm \ | |
223 | ice-9/rw.scm \ | |
224 | ice-9/safe-r5rs.scm \ | |
225 | ice-9/safe.scm \ | |
d8158b83 | 226 | ice-9/save-stack.scm \ |
b2e27da3 | 227 | ice-9/scm-style-repl.scm \ |
58df2e43 AW |
228 | ice-9/session.scm \ |
229 | ice-9/slib.scm \ | |
230 | ice-9/stack-catch.scm \ | |
231 | ice-9/streams.scm \ | |
232 | ice-9/string-fun.scm \ | |
233 | ice-9/syncase.scm \ | |
234 | ice-9/threads.scm \ | |
ff87b2bd | 235 | ice-9/top-repl.scm \ |
58df2e43 AW |
236 | ice-9/buffered-input.scm \ |
237 | ice-9/time.scm \ | |
238 | ice-9/history.scm \ | |
239 | ice-9/channel.scm \ | |
240 | ice-9/pretty-print.scm \ | |
241 | ice-9/ftw.scm \ | |
242 | ice-9/gap-buffer.scm \ | |
243 | ice-9/weak-vector.scm \ | |
58df2e43 AW |
244 | ice-9/list.scm \ |
245 | ice-9/serialize.scm \ | |
d062a8c1 AW |
246 | ice-9/vlist.scm \ |
247 | ice-9/local-eval.scm | |
58df2e43 AW |
248 | |
249 | SRFI_SOURCES = \ | |
250 | srfi/srfi-1.scm \ | |
251 | srfi/srfi-2.scm \ | |
252 | srfi/srfi-4.scm \ | |
ac8ed3db | 253 | srfi/srfi-4/gnu.scm \ |
58df2e43 AW |
254 | srfi/srfi-6.scm \ |
255 | srfi/srfi-8.scm \ | |
256 | srfi/srfi-9.scm \ | |
3d82d9a6 | 257 | srfi/srfi-9/gnu.scm \ |
58df2e43 AW |
258 | srfi/srfi-10.scm \ |
259 | srfi/srfi-11.scm \ | |
260 | srfi/srfi-13.scm \ | |
261 | srfi/srfi-14.scm \ | |
262 | srfi/srfi-16.scm \ | |
263 | srfi/srfi-17.scm \ | |
f176c584 | 264 | srfi/srfi-18.scm \ |
58df2e43 AW |
265 | srfi/srfi-19.scm \ |
266 | srfi/srfi-26.scm \ | |
56ec46a7 | 267 | srfi/srfi-27.scm \ |
58df2e43 AW |
268 | srfi/srfi-31.scm \ |
269 | srfi/srfi-34.scm \ | |
270 | srfi/srfi-35.scm \ | |
271 | srfi/srfi-37.scm \ | |
12708eeb | 272 | srfi/srfi-38.scm \ |
fdc8fd46 | 273 | srfi/srfi-42.scm \ |
58df2e43 | 274 | srfi/srfi-39.scm \ |
f16a2007 | 275 | srfi/srfi-45.scm \ |
58df2e43 | 276 | srfi/srfi-60.scm \ |
8175a07e | 277 | srfi/srfi-67.scm \ |
58df2e43 | 278 | srfi/srfi-69.scm \ |
822aacbc AW |
279 | srfi/srfi-88.scm \ |
280 | srfi/srfi-98.scm | |
58df2e43 | 281 | |
1ee2c72e | 282 | RNRS_SOURCES = \ |
e44d2e4d AW |
283 | rnrs/base.scm \ |
284 | rnrs/conditions.scm \ | |
285 | rnrs/control.scm \ | |
286 | rnrs/enums.scm \ | |
287 | rnrs/eval.scm \ | |
288 | rnrs/exceptions.scm \ | |
289 | rnrs/files.scm \ | |
290 | rnrs/hashtables.scm \ | |
291 | rnrs/lists.scm \ | |
292 | rnrs/mutable-pairs.scm \ | |
293 | rnrs/mutable-strings.scm \ | |
294 | rnrs/programs.scm \ | |
295 | rnrs/r5rs.scm \ | |
296 | rnrs/sorting.scm \ | |
297 | rnrs/syntax-case.scm \ | |
298 | rnrs/unicode.scm \ | |
299 | rnrs/arithmetic/bitwise.scm \ | |
300 | rnrs/arithmetic/fixnums.scm \ | |
301 | rnrs/arithmetic/flonums.scm \ | |
4c06cb2c | 302 | rnrs/bytevectors.scm \ |
e44d2e4d | 303 | rnrs/io/simple.scm \ |
60b240e9 | 304 | rnrs/io/ports.scm \ |
e44d2e4d AW |
305 | rnrs/records/inspection.scm \ |
306 | rnrs/records/procedural.scm \ | |
9d798af7 LC |
307 | rnrs/records/syntactic.scm \ |
308 | rnrs.scm | |
1ee2c72e | 309 | |
6d66647d AW |
310 | EXTRA_DIST += scripts/ChangeLog-2008 |
311 | EXTRA_DIST += scripts/README | |
312 | ||
58df2e43 AW |
313 | OOP_SOURCES = \ |
314 | oop/goops.scm \ | |
315 | oop/goops/active-slot.scm \ | |
316 | oop/goops/compile.scm \ | |
317 | oop/goops/composite-slot.scm \ | |
318 | oop/goops/describe.scm \ | |
319 | oop/goops/dispatch.scm \ | |
320 | oop/goops/internal.scm \ | |
321 | oop/goops/save.scm \ | |
322 | oop/goops/stklos.scm \ | |
323 | oop/goops/util.scm \ | |
324 | oop/goops/accessors.scm \ | |
325 | oop/goops/simple.scm | |
326 | ||
3b12702f AW |
327 | SYSTEM_SOURCES = \ |
328 | system/vm/inspect.scm \ | |
36b5e394 | 329 | system/vm/coverage.scm \ |
3b12702f AW |
330 | system/vm/frame.scm \ |
331 | system/vm/instruction.scm \ | |
332 | system/vm/objcode.scm \ | |
3b12702f AW |
333 | system/vm/program.scm \ |
334 | system/vm/trace.scm \ | |
c939b127 | 335 | system/vm/traps.scm \ |
b9badc35 | 336 | system/vm/trap-state.scm \ |
3b12702f | 337 | system/vm/vm.scm \ |
ab4779ff | 338 | system/foreign.scm \ |
3b12702f | 339 | system/xref.scm \ |
33df2ec7 AW |
340 | system/repl/debug.scm \ |
341 | system/repl/error-handling.scm \ | |
3b12702f | 342 | system/repl/common.scm \ |
33df2ec7 | 343 | system/repl/command.scm \ |
d30542c2 AW |
344 | system/repl/repl.scm \ |
345 | system/repl/server.scm | |
9c35c579 | 346 | |
47f3ce52 AW |
347 | LIB_SOURCES = \ |
348 | statprof.scm \ | |
349 | sxml/apply-templates.scm \ | |
350 | sxml/fold.scm \ | |
400a5dcb | 351 | sxml/match.scm \ |
47f3ce52 AW |
352 | sxml/simple.scm \ |
353 | sxml/ssax/input-parse.scm \ | |
354 | sxml/ssax.scm \ | |
355 | sxml/transform.scm \ | |
356 | sxml/xpath.scm \ | |
357 | texinfo.scm \ | |
358 | texinfo/docbook.scm \ | |
359 | texinfo/html.scm \ | |
360 | texinfo/indexing.scm \ | |
361 | texinfo/string-utils.scm \ | |
362 | texinfo/plain-text.scm \ | |
363 | texinfo/reflection.scm \ | |
364 | texinfo/serialize.scm | |
365 | ||
73124c6c | 366 | WEB_SOURCES = \ |
680c8c5a | 367 | web/client.scm \ |
440840c1 | 368 | web/http.scm \ |
ad05d4e8 | 369 | web/request.scm \ |
a9eeb2f4 | 370 | web/response.scm \ |
79ef79ee AW |
371 | web/server.scm \ |
372 | web/server/http.scm \ | |
73124c6c AW |
373 | web/uri.scm |
374 | ||
58df2e43 AW |
375 | EXTRA_DIST += oop/ChangeLog-2008 |
376 | ||
3bb299b3 | 377 | NOCOMP_SOURCES = \ |
d967913f | 378 | ice-9/match.upstream.scm \ |
47f3ce52 | 379 | ice-9/psyntax.scm \ |
b1e4c7cc | 380 | ice-9/r6rs-libraries.scm \ |
47f3ce52 | 381 | ice-9/quasisyntax.scm \ |
fdc8fd46 | 382 | srfi/srfi-42/ec.scm \ |
8175a07e | 383 | srfi/srfi-67/compare.scm \ |
1b101522 | 384 | system/base/lalr.upstream.scm \ |
47f3ce52 | 385 | system/repl/describe.scm \ |
400a5dcb | 386 | sxml/sxml-match.ss \ |
47f3ce52 AW |
387 | sxml/upstream/SSAX.scm \ |
388 | sxml/upstream/SXML-tree-trans.scm \ | |
389 | sxml/upstream/SXPath-old.scm \ | |
390 | sxml/upstream/assert.scm \ | |
391 | sxml/upstream/input-parse.scm |