1 ## Process this file with automake to produce Makefile.in.
3 ## Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
5 ## This file is part of GUILE.
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
10 ## (at your option) any later version.
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 Lesser General Public License for more details.
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
22 include $(top_srcdir)/am/guilec
24 # We're at the root of the module hierarchy.
27 # Build eval.go first.
28 $(GOBJECTS): ice-9/eval.go
29 CLEANFILES += ice-9/eval.go
30 nobase_mod_DATA += ice-9/eval.scm
31 nobase_ccache_DATA += ice-9/eval.go
32 EXTRA_DIST += ice-9/eval.scm
33 ETAGS_ARGS += ice-9/eval.scm
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
39 ice-9/psyntax-pp.scm \
43 language/tree-il/peval.scm \
44 language/tree-il/cse.scm \
46 language/tree-il.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) \
64 $(ECMASCRIPT_LANG_SOURCES) \
65 $(ELISP_LANG_SOURCES) \
66 $(BRAINFUCK_LANG_SOURCES) \
70 ## test.scm is not currently installed.
73 ice-9/compile-psyntax.scm \
77 ice-9/compile-psyntax.scm \
80 ice-9/psyntax-pp.scm.gen:
81 $(top_builddir_absolute)/meta/guile --no-auto-compile -s $(srcdir)/ice-9/compile-psyntax.scm \
82 $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm
84 .PHONY: ice-9/psyntax-pp.scm.gen
86 # Keep this rule in sync with that in `am/guilec'.
87 ice-9/psyntax-pp.go: ice-9/psyntax.scm ice-9/psyntax-pp.scm
88 $(AM_V_GUILEC)GUILE_AUTO_COMPILE=0 \
89 $(top_builddir)/meta/uninstalled-env \
90 guild compile --target="$(host)" $(GUILE_WARNINGS) \
91 -L "$(abs_srcdir)" -L "$(abs_builddir)" \
92 -L "$(abs_top_srcdir)/guile-readline" \
93 -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm"
95 SCHEME_LANG_SOURCES = \
96 language/scheme/spec.scm \
97 language/scheme/compile-tree-il.scm \
98 language/scheme/decompile-tree-il.scm
100 TREE_IL_LANG_SOURCES = \
101 language/tree-il/primitives.scm \
102 language/tree-il/effects.scm \
103 language/tree-il/fix-letrec.scm \
104 language/tree-il/optimize.scm \
105 language/tree-il/canonicalize.scm \
106 language/tree-il/analyze.scm \
107 language/tree-il/inline.scm \
108 language/tree-il/compile-glil.scm \
109 language/tree-il/debug.scm \
110 language/tree-il/spec.scm
112 GLIL_LANG_SOURCES = \
113 language/glil/spec.scm language/glil/compile-assembly.scm \
114 language/glil/decompile-assembly.scm
116 ASSEMBLY_LANG_SOURCES = \
117 language/assembly/spec.scm \
118 language/assembly/compile-bytecode.scm \
119 language/assembly/decompile-bytecode.scm \
120 language/assembly/disassemble.scm
122 BYTECODE_LANG_SOURCES = \
123 language/bytecode/spec.scm
125 OBJCODE_LANG_SOURCES = \
126 language/objcode/spec.scm
128 VALUE_LANG_SOURCES = \
129 language/value/spec.scm
131 ECMASCRIPT_LANG_SOURCES = \
132 language/ecmascript/tokenize.scm \
133 language/ecmascript/parse.scm \
134 language/ecmascript/impl.scm \
135 language/ecmascript/base.scm \
136 language/ecmascript/function.scm \
137 language/ecmascript/array.scm \
138 language/ecmascript/compile-tree-il.scm \
139 language/ecmascript/spec.scm
141 ELISP_LANG_SOURCES = \
142 language/elisp/lexer.scm \
143 language/elisp/parser.scm \
144 language/elisp/bindings.scm \
145 language/elisp/compile-tree-il.scm \
146 language/elisp/runtime.scm \
147 language/elisp/runtime/function-slot.scm \
148 language/elisp/runtime/value-slot.scm \
149 language/elisp/runtime/macros.scm \
150 language/elisp/runtime/subrs.scm \
151 language/elisp/spec.scm
153 BRAINFUCK_LANG_SOURCES = \
154 language/brainfuck/parse.scm \
155 language/brainfuck/compile-scheme.scm \
156 language/brainfuck/compile-tree-il.scm \
157 language/brainfuck/spec.scm
160 scripts/autofrisk.scm \
161 scripts/compile.scm \
162 scripts/disassemble.scm \
163 scripts/display-commentary.scm \
164 scripts/doc-snarf.scm \
166 scripts/generate-autoload.scm \
171 scripts/read-scheme-source.scm \
172 scripts/read-text-outline.scm \
173 scripts/use2dot.scm \
174 scripts/snarf-check-and-output-texi.scm \
175 scripts/summarize-guile-TODO.scm \
176 scripts/scan-api.scm \
177 scripts/api-diff.scm \
178 scripts/read-rfc822.scm \
179 scripts/snarf-guile-m4-docs.scm
181 SYSTEM_BASE_SOURCES = \
182 system/base/pmatch.scm \
183 system/base/syntax.scm \
184 system/base/compile.scm \
185 system/base/language.scm \
186 system/base/lalr.scm \
187 system/base/message.scm \
188 system/base/target.scm
193 ice-9/deprecated.scm \
194 ice-9/and-let-star.scm \
195 ice-9/binary-ports.scm \
197 ice-9/command-line.scm \
198 ice-9/common-list.scm \
200 ice-9/curried-definitions.scm \
202 ice-9/documentation.scm \
203 ice-9/eval-string.scm \
207 ice-9/getopt-long.scm \
214 ice-9/networking.scm \
216 ice-9/occam-channel.scm \
228 ice-9/safe-r5rs.scm \
230 ice-9/save-stack.scm \
231 ice-9/scm-style-repl.scm \
234 ice-9/stack-catch.scm \
236 ice-9/string-fun.scm \
240 ice-9/buffered-input.scm \
244 ice-9/pretty-print.scm \
246 ice-9/gap-buffer.scm \
247 ice-9/weak-vector.scm \
249 ice-9/serialize.scm \
255 srfi/srfi-4/gnu.scm \
259 srfi/srfi-9/gnu.scm \
286 rnrs/conditions.scm \
290 rnrs/exceptions.scm \
292 rnrs/hashtables.scm \
294 rnrs/mutable-pairs.scm \
295 rnrs/mutable-strings.scm \
299 rnrs/syntax-case.scm \
301 rnrs/arithmetic/bitwise.scm \
302 rnrs/arithmetic/fixnums.scm \
303 rnrs/arithmetic/flonums.scm \
304 rnrs/bytevectors.scm \
307 rnrs/records/inspection.scm \
308 rnrs/records/procedural.scm \
309 rnrs/records/syntactic.scm \
312 EXTRA_DIST += scripts/ChangeLog-2008
313 EXTRA_DIST += scripts/README
317 oop/goops/active-slot.scm \
318 oop/goops/compile.scm \
319 oop/goops/composite-slot.scm \
320 oop/goops/describe.scm \
321 oop/goops/dispatch.scm \
322 oop/goops/internal.scm \
324 oop/goops/stklos.scm \
326 oop/goops/accessors.scm \
330 system/vm/inspect.scm \
331 system/vm/coverage.scm \
332 system/vm/frame.scm \
333 system/vm/instruction.scm \
334 system/vm/objcode.scm \
335 system/vm/program.scm \
336 system/vm/trace.scm \
337 system/vm/traps.scm \
338 system/vm/trap-state.scm \
342 system/repl/debug.scm \
343 system/repl/error-handling.scm \
344 system/repl/common.scm \
345 system/repl/command.scm \
346 system/repl/repl.scm \
347 system/repl/server.scm
351 sxml/apply-templates.scm \
355 sxml/ssax/input-parse.scm \
360 texinfo/docbook.scm \
362 texinfo/indexing.scm \
363 texinfo/string-utils.scm \
364 texinfo/plain-text.scm \
365 texinfo/reflection.scm \
366 texinfo/serialize.scm
374 web/server/http.scm \
377 EXTRA_DIST += oop/ChangeLog-2008
380 ice-9/match.upstream.scm \
382 ice-9/r6rs-libraries.scm \
383 ice-9/quasisyntax.scm \
384 srfi/srfi-42/ec.scm \
385 srfi/srfi-67/compare.scm \
386 system/base/lalr.upstream.scm \
387 system/repl/describe.scm \
389 sxml/upstream/SSAX.scm \
390 sxml/upstream/SXML-tree-trans.scm \
391 sxml/upstream/SXPath-old.scm \
392 sxml/upstream/assert.scm \
393 sxml/upstream/input-parse.scm