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