add (scripts help)
[bpt/guile.git] / module / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2 ##
3 ## Copyright (C) 2009, 2010, 2011 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 # 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
34
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) \
61 $(ELISP_LANG_SOURCES) \
62 $(BRAINFUCK_LANG_SOURCES) \
63 $(LIB_SOURCES) \
64 $(WEB_SOURCES)
65
66 ## test.scm is not currently installed.
67 EXTRA_DIST += \
68 ice-9/test.scm \
69 ice-9/compile-psyntax.scm \
70 ice-9/ChangeLog-2008
71 ETAGS_ARGS += \
72 ice-9/test.scm \
73 ice-9/compile-psyntax.scm \
74 ice-9/ChangeLog-2008
75
76 ice-9/psyntax-pp.scm.gen:
77 $(top_builddir_absolute)/meta/guile --no-auto-compile -s $(srcdir)/ice-9/compile-psyntax.scm \
78 $(srcdir)/ice-9/psyntax.scm $(srcdir)/ice-9/psyntax-pp.scm
79
80 .PHONY: ice-9/psyntax-pp.scm.gen
81
82 ice-9/psyntax-pp.go: ice-9/psyntax.scm ice-9/psyntax-pp.scm
83 $(AM_V_GUILEC) GUILE_AUTO_COMPILE=0 \
84 $(top_builddir)/meta/uninstalled-env \
85 guild compile $(GUILE_WARNINGS) -o "ice-9/psyntax-pp.go" "$(srcdir)/ice-9/psyntax.scm"
86
87 SCHEME_LANG_SOURCES = \
88 language/scheme/spec.scm \
89 language/scheme/compile-tree-il.scm \
90 language/scheme/decompile-tree-il.scm
91
92 TREE_IL_LANG_SOURCES = \
93 language/tree-il/primitives.scm \
94 language/tree-il/optimize.scm \
95 language/tree-il/inline.scm \
96 language/tree-il/fix-letrec.scm \
97 language/tree-il/analyze.scm \
98 language/tree-il/compile-glil.scm \
99 language/tree-il/spec.scm
100
101 GLIL_LANG_SOURCES = \
102 language/glil/spec.scm language/glil/compile-assembly.scm \
103 language/glil/decompile-assembly.scm
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 = \
121 language/ecmascript/tokenize.scm \
122 language/ecmascript/parse.scm \
123 language/ecmascript/impl.scm \
124 language/ecmascript/base.scm \
125 language/ecmascript/function.scm \
126 language/ecmascript/array.scm \
127 language/ecmascript/compile-tree-il.scm \
128 language/ecmascript/spec.scm
129
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/value-slot.scm \
138 language/elisp/runtime/macros.scm \
139 language/elisp/runtime/subrs.scm \
140 language/elisp/spec.scm
141
142 BRAINFUCK_LANG_SOURCES = \
143 language/brainfuck/parse.scm \
144 language/brainfuck/compile-scheme.scm \
145 language/brainfuck/compile-tree-il.scm \
146 language/brainfuck/spec.scm
147
148 SCRIPTS_SOURCES = \
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/help.scm \
157 scripts/lint.scm \
158 scripts/list.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 system/base/target.scm
178
179 ICE_9_SOURCES = \
180 ice-9/r4rs.scm \
181 ice-9/r5rs.scm \
182 ice-9/deprecated.scm \
183 ice-9/and-let-star.scm \
184 ice-9/binary-ports.scm \
185 ice-9/calling.scm \
186 ice-9/command-line.scm \
187 ice-9/common-list.scm \
188 ice-9/control.scm \
189 ice-9/curried-definitions.scm \
190 ice-9/debug.scm \
191 ice-9/documentation.scm \
192 ice-9/eval-string.scm \
193 ice-9/expect.scm \
194 ice-9/format.scm \
195 ice-9/futures.scm \
196 ice-9/getopt-long.scm \
197 ice-9/hcons.scm \
198 ice-9/i18n.scm \
199 ice-9/lineio.scm \
200 ice-9/ls.scm \
201 ice-9/mapping.scm \
202 ice-9/match.scm \
203 ice-9/networking.scm \
204 ice-9/null.scm \
205 ice-9/occam-channel.scm \
206 ice-9/optargs.scm \
207 ice-9/poe.scm \
208 ice-9/poll.scm \
209 ice-9/popen.scm \
210 ice-9/posix.scm \
211 ice-9/q.scm \
212 ice-9/rdelim.scm \
213 ice-9/receive.scm \
214 ice-9/regex.scm \
215 ice-9/runq.scm \
216 ice-9/rw.scm \
217 ice-9/safe-r5rs.scm \
218 ice-9/safe.scm \
219 ice-9/save-stack.scm \
220 ice-9/scm-style-repl.scm \
221 ice-9/session.scm \
222 ice-9/slib.scm \
223 ice-9/stack-catch.scm \
224 ice-9/streams.scm \
225 ice-9/string-fun.scm \
226 ice-9/syncase.scm \
227 ice-9/threads.scm \
228 ice-9/top-repl.scm \
229 ice-9/buffered-input.scm \
230 ice-9/time.scm \
231 ice-9/history.scm \
232 ice-9/channel.scm \
233 ice-9/pretty-print.scm \
234 ice-9/ftw.scm \
235 ice-9/gap-buffer.scm \
236 ice-9/weak-vector.scm \
237 ice-9/list.scm \
238 ice-9/serialize.scm \
239 ice-9/vlist.scm
240
241 SRFI_SOURCES = \
242 srfi/srfi-1.scm \
243 srfi/srfi-2.scm \
244 srfi/srfi-4.scm \
245 srfi/srfi-4/gnu.scm \
246 srfi/srfi-6.scm \
247 srfi/srfi-8.scm \
248 srfi/srfi-9.scm \
249 srfi/srfi-9/gnu.scm \
250 srfi/srfi-10.scm \
251 srfi/srfi-11.scm \
252 srfi/srfi-13.scm \
253 srfi/srfi-14.scm \
254 srfi/srfi-16.scm \
255 srfi/srfi-17.scm \
256 srfi/srfi-18.scm \
257 srfi/srfi-19.scm \
258 srfi/srfi-26.scm \
259 srfi/srfi-27.scm \
260 srfi/srfi-31.scm \
261 srfi/srfi-34.scm \
262 srfi/srfi-35.scm \
263 srfi/srfi-37.scm \
264 srfi/srfi-38.scm \
265 srfi/srfi-42.scm \
266 srfi/srfi-39.scm \
267 srfi/srfi-45.scm \
268 srfi/srfi-60.scm \
269 srfi/srfi-67.scm \
270 srfi/srfi-69.scm \
271 srfi/srfi-88.scm \
272 srfi/srfi-98.scm
273
274 RNRS_SOURCES = \
275 rnrs/base.scm \
276 rnrs/conditions.scm \
277 rnrs/control.scm \
278 rnrs/enums.scm \
279 rnrs/eval.scm \
280 rnrs/exceptions.scm \
281 rnrs/files.scm \
282 rnrs/hashtables.scm \
283 rnrs/lists.scm \
284 rnrs/mutable-pairs.scm \
285 rnrs/mutable-strings.scm \
286 rnrs/programs.scm \
287 rnrs/r5rs.scm \
288 rnrs/sorting.scm \
289 rnrs/syntax-case.scm \
290 rnrs/unicode.scm \
291 rnrs/arithmetic/bitwise.scm \
292 rnrs/arithmetic/fixnums.scm \
293 rnrs/arithmetic/flonums.scm \
294 rnrs/bytevectors.scm \
295 rnrs/io/simple.scm \
296 rnrs/io/ports.scm \
297 rnrs/records/inspection.scm \
298 rnrs/records/procedural.scm \
299 rnrs/records/syntactic.scm \
300 rnrs.scm
301
302 EXTRA_DIST += scripts/ChangeLog-2008
303 EXTRA_DIST += scripts/README
304
305 OOP_SOURCES = \
306 oop/goops.scm \
307 oop/goops/active-slot.scm \
308 oop/goops/compile.scm \
309 oop/goops/composite-slot.scm \
310 oop/goops/describe.scm \
311 oop/goops/dispatch.scm \
312 oop/goops/internal.scm \
313 oop/goops/save.scm \
314 oop/goops/stklos.scm \
315 oop/goops/util.scm \
316 oop/goops/accessors.scm \
317 oop/goops/simple.scm
318
319 SYSTEM_SOURCES = \
320 system/vm/inspect.scm \
321 system/vm/coverage.scm \
322 system/vm/frame.scm \
323 system/vm/instruction.scm \
324 system/vm/objcode.scm \
325 system/vm/program.scm \
326 system/vm/trace.scm \
327 system/vm/traps.scm \
328 system/vm/trap-state.scm \
329 system/vm/vm.scm \
330 system/foreign.scm \
331 system/xref.scm \
332 system/repl/debug.scm \
333 system/repl/error-handling.scm \
334 system/repl/common.scm \
335 system/repl/command.scm \
336 system/repl/repl.scm \
337 system/repl/server.scm
338
339 LIB_SOURCES = \
340 statprof.scm \
341 sxml/apply-templates.scm \
342 sxml/fold.scm \
343 sxml/match.scm \
344 sxml/simple.scm \
345 sxml/ssax/input-parse.scm \
346 sxml/ssax.scm \
347 sxml/transform.scm \
348 sxml/xpath.scm \
349 texinfo.scm \
350 texinfo/docbook.scm \
351 texinfo/html.scm \
352 texinfo/indexing.scm \
353 texinfo/string-utils.scm \
354 texinfo/plain-text.scm \
355 texinfo/reflection.scm \
356 texinfo/serialize.scm
357
358 WEB_SOURCES = \
359 web/client.scm \
360 web/http.scm \
361 web/request.scm \
362 web/response.scm \
363 web/server.scm \
364 web/server/http.scm \
365 web/uri.scm
366
367 EXTRA_DIST += oop/ChangeLog-2008
368
369 NOCOMP_SOURCES = \
370 ice-9/match.upstream.scm \
371 ice-9/psyntax.scm \
372 ice-9/r6rs-libraries.scm \
373 ice-9/quasisyntax.scm \
374 srfi/srfi-42/ec.scm \
375 srfi/srfi-67/compare.scm \
376 system/base/lalr.upstream.scm \
377 system/repl/describe.scm \
378 sxml/sxml-match.ss \
379 sxml/upstream/SSAX.scm \
380 sxml/upstream/SXML-tree-trans.scm \
381 sxml/upstream/SXPath-old.scm \
382 sxml/upstream/assert.scm \
383 sxml/upstream/input-parse.scm