1 ## Process this file with automake to produce Makefile.in.
3 ## Copyright (C) 2009, 2010, 2011, 2012, 2013 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 VM_TARGETS := system/vm/assembler.go system/vm/disassembler.go
36 $(VM_TARGETS): $(top_builddir)/libguile/vm-operations.h
38 ice-9/boot-9.go: ice-9/boot-9.scm ice-9/quasisyntax.scm ice-9/r6rs-libraries.scm
39 ice-9/match.go: ice-9/match.scm ice-9/match.upstream.scm
41 # We can compile these in any order, but it's fastest if we compile
42 # psyntax and boot-9 first, then the compiler itself, then the rest of
45 ice-9/psyntax-pp.scm \
49 language/tree-il/peval.scm \
50 language/tree-il/cse.scm \
52 language/tree-il.scm \
53 $(TREE_IL_LANG_SOURCES) \
56 $(VALUE_LANG_SOURCES) \
57 $(SCHEME_LANG_SOURCES) \
58 $(SYSTEM_BASE_SOURCES) \
66 $(ECMASCRIPT_LANG_SOURCES) \
67 $(ELISP_LANG_SOURCES) \
68 $(BRAINFUCK_LANG_SOURCES) \
72 ## test.scm is not currently installed.
75 ice-9/compile-psyntax.scm \
79 ice-9/compile-psyntax.scm \
82 ice-9/psyntax-pp.scm.gen:
83 $(top_builddir_absolute)/meta/guile --no-auto-compile -s $(srcdir)/ice-9/compile-psyntax.scm \
84 $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm
86 .PHONY: ice-9/psyntax-pp.scm.gen
88 # Keep this rule in sync with that in `am/guilec'.
89 ice-9/psyntax-pp.go: ice-9/psyntax.scm ice-9/psyntax-pp.scm
90 $(AM_V_GUILEC)GUILE_AUTO_COMPILE=0 \
91 $(top_builddir)/meta/uninstalled-env \
92 guild compile --target="$(host)" $(GUILE_WARNINGS) \
93 -L "$(abs_srcdir)" -L "$(abs_builddir)" \
94 -L "$(abs_top_srcdir)/guile-readline" \
95 -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm"
97 SCHEME_LANG_SOURCES = \
98 language/scheme/spec.scm \
99 language/scheme/compile-tree-il.scm \
100 language/scheme/decompile-tree-il.scm
102 TREE_IL_LANG_SOURCES = \
103 language/tree-il/primitives.scm \
104 language/tree-il/effects.scm \
105 language/tree-il/fix-letrec.scm \
106 language/tree-il/optimize.scm \
107 language/tree-il/canonicalize.scm \
108 language/tree-il/analyze.scm \
109 language/tree-il/inline.scm \
110 language/tree-il/compile-cps.scm \
111 language/tree-il/debug.scm \
112 language/tree-il/spec.scm
116 language/cps/arities.scm \
117 language/cps/closure-conversion.scm \
118 language/cps/compile-rtl.scm \
119 language/cps/constructors.scm \
120 language/cps/contification.scm \
121 language/cps/dfg.scm \
122 language/cps/elide-values.scm \
123 language/cps/primitives.scm \
124 language/cps/reify-primitives.scm \
125 language/cps/slot-allocation.scm \
126 language/cps/spec.scm \
127 language/cps/verify.scm
131 language/rtl/spec.scm
133 VALUE_LANG_SOURCES = \
134 language/value/spec.scm
136 ECMASCRIPT_LANG_SOURCES = \
137 language/ecmascript/tokenize.scm \
138 language/ecmascript/parse.scm \
139 language/ecmascript/impl.scm \
140 language/ecmascript/base.scm \
141 language/ecmascript/function.scm \
142 language/ecmascript/array.scm \
143 language/ecmascript/compile-tree-il.scm \
144 language/ecmascript/spec.scm
146 ELISP_LANG_SOURCES = \
147 language/elisp/falias.scm \
148 language/elisp/lexer.scm \
149 language/elisp/parser.scm \
150 language/elisp/bindings.scm \
151 language/elisp/compile-tree-il.scm \
152 language/elisp/runtime.scm \
153 language/elisp/runtime/function-slot.scm \
154 language/elisp/runtime/value-slot.scm \
155 language/elisp/spec.scm
157 BRAINFUCK_LANG_SOURCES = \
158 language/brainfuck/parse.scm \
159 language/brainfuck/compile-scheme.scm \
160 language/brainfuck/compile-tree-il.scm \
161 language/brainfuck/spec.scm
164 scripts/compile.scm \
165 scripts/disassemble.scm \
166 scripts/display-commentary.scm \
167 scripts/doc-snarf.scm \
169 scripts/generate-autoload.scm \
174 scripts/read-scheme-source.scm \
175 scripts/read-text-outline.scm \
176 scripts/use2dot.scm \
177 scripts/snarf-check-and-output-texi.scm \
178 scripts/summarize-guile-TODO.scm \
179 scripts/api-diff.scm \
180 scripts/read-rfc822.scm \
181 scripts/snarf-guile-m4-docs.scm
183 SYSTEM_BASE_SOURCES = \
184 system/base/pmatch.scm \
185 system/base/syntax.scm \
186 system/base/compile.scm \
187 system/base/language.scm \
188 system/base/lalr.scm \
189 system/base/message.scm \
190 system/base/target.scm \
195 ice-9/deprecated.scm \
196 ice-9/and-let-star.scm \
197 ice-9/binary-ports.scm \
199 ice-9/command-line.scm \
200 ice-9/common-list.scm \
202 ice-9/curried-definitions.scm \
204 ice-9/documentation.scm \
205 ice-9/eval-string.scm \
209 ice-9/getopt-long.scm \
217 ice-9/networking.scm \
219 ice-9/occam-channel.scm \
221 ice-9/peg/simplify-tree.scm \
222 ice-9/peg/codegen.scm \
223 ice-9/peg/cache.scm \
224 ice-9/peg/using-parsers.scm \
225 ice-9/peg/string-peg.scm \
236 ice-9/safe-r5rs.scm \
238 ice-9/save-stack.scm \
239 ice-9/scm-style-repl.scm \
242 ice-9/stack-catch.scm \
244 ice-9/string-fun.scm \
248 ice-9/buffered-input.scm \
252 ice-9/pretty-print.scm \
254 ice-9/gap-buffer.scm \
255 ice-9/weak-vector.scm \
257 ice-9/serialize.scm \
262 # This functionality is missing on systems without `fork'---i.e., Windows.
263 ICE_9_SOURCES += ice-9/popen.scm
265 # These modules rely on (ice-9 popen).
267 scripts/autofrisk.scm \
270 endif BUILD_ICE_9_POPEN
275 srfi/srfi-4/gnu.scm \
279 srfi/srfi-9/gnu.scm \
307 rnrs/conditions.scm \
311 rnrs/exceptions.scm \
313 rnrs/hashtables.scm \
315 rnrs/mutable-pairs.scm \
316 rnrs/mutable-strings.scm \
320 rnrs/syntax-case.scm \
322 rnrs/arithmetic/bitwise.scm \
323 rnrs/arithmetic/fixnums.scm \
324 rnrs/arithmetic/flonums.scm \
325 rnrs/bytevectors.scm \
328 rnrs/records/inspection.scm \
329 rnrs/records/procedural.scm \
330 rnrs/records/syntactic.scm \
333 EXTRA_DIST += scripts/ChangeLog-2008
334 EXTRA_DIST += scripts/README
338 oop/goops/active-slot.scm \
339 oop/goops/compile.scm \
340 oop/goops/composite-slot.scm \
341 oop/goops/describe.scm \
342 oop/goops/dispatch.scm \
343 oop/goops/internal.scm \
345 oop/goops/stklos.scm \
347 oop/goops/accessors.scm \
351 system/vm/inspect.scm \
352 system/vm/coverage.scm \
353 system/vm/dwarf.scm \
355 system/vm/linker.scm \
356 system/vm/frame.scm \
357 system/vm/instruction.scm \
358 system/vm/objcode.scm \
359 system/vm/program.scm \
360 system/vm/trace.scm \
361 system/vm/traps.scm \
362 system/vm/trap-state.scm \
363 system/vm/assembler.scm \
364 system/vm/debug.scm \
365 system/vm/disassembler.scm \
369 system/repl/debug.scm \
370 system/repl/error-handling.scm \
371 system/repl/common.scm \
372 system/repl/command.scm \
373 system/repl/repl.scm \
374 system/repl/server.scm
378 sxml/apply-templates.scm \
382 sxml/ssax/input-parse.scm \
387 texinfo/docbook.scm \
389 texinfo/indexing.scm \
390 texinfo/string-utils.scm \
391 texinfo/plain-text.scm \
392 texinfo/reflection.scm \
393 texinfo/serialize.scm
401 web/server/http.scm \
404 EXTRA_DIST += oop/ChangeLog-2008
407 language/elisp/boot.el
410 ice-9/match.upstream.scm \
412 ice-9/r6rs-libraries.scm \
413 ice-9/quasisyntax.scm \
414 srfi/srfi-42/ec.scm \
415 srfi/srfi-67/compare.scm \
416 system/base/lalr.upstream.scm \
417 system/repl/describe.scm \
419 sxml/upstream/SSAX.scm \
420 sxml/upstream/SXML-tree-trans.scm \
421 sxml/upstream/SXPath-old.scm \
422 sxml/upstream/assert.scm \
423 sxml/upstream/input-parse.scm