Commit | Line | Data |
---|---|---|
3bb299b3 LC |
1 | ## Process this file with automake to produce Makefile.in. |
2 | ## | |
3 | ## Copyright (C) 2009 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 | |
8 | ## it under the terms of the GNU General Public License as | |
9 | ## published by the Free Software Foundation; either version 2, 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 General Public License for more details. | |
16 | ## | |
17 | ## You should have received a copy of the GNU General Public | |
18 | ## License along with GUILE; see the file COPYING. If not, write | |
19 | ## to the Free Software Foundation, Inc., 51 Franklin Street, Fifth | |
20 | ## Floor, Boston, MA 02110-1301 USA | |
21 | ||
22 | # Build the compiler and VM support first to avoid stack overflows | |
23 | # when building the rest. | |
24 | SUBDIRS = . ice-9 srfi oop | |
25 | ||
26 | # We're at the root of the module hierarchy. | |
27 | modpath = | |
28 | ||
29 | SOURCES = \ | |
30 | system/base/pmatch.scm system/base/syntax.scm \ | |
31 | system/base/compile.scm system/base/language.scm \ | |
32 | \ | |
33 | system/vm/debug.scm system/vm/frame.scm system/vm/instruction.scm \ | |
34 | system/vm/objcode.scm system/vm/profile.scm system/vm/program.scm \ | |
35 | system/vm/trace.scm system/vm/vm.scm \ | |
36 | \ | |
37 | system/repl/repl.scm system/repl/common.scm \ | |
38 | system/repl/command.scm \ | |
39 | \ | |
40 | language/ghil.scm language/glil.scm language/assembly.scm \ | |
41 | \ | |
42 | $(SCHEME_LANG_SOURCES) $(ECMASCRIPT_LANG_SOURCES) \ | |
43 | $(GHIL_LANG_SOURCES) $(GLIL_LANG_SOURCES) \ | |
44 | $(ASSEMBLY_LANG_SOURCES) $(BYTECODE_LANG_SOURCES) \ | |
45 | $(OBJCODE_LANG_SOURCES) $(VALUE_LANG_SOURCES) | |
46 | ||
47 | SCHEME_LANG_SOURCES = \ | |
237f96e7 | 48 | language/scheme/amatch.scm language/scheme/expand.scm \ |
3bb299b3 LC |
49 | language/scheme/compile-ghil.scm language/scheme/spec.scm \ |
50 | language/scheme/inline.scm | |
51 | ||
52 | GHIL_LANG_SOURCES = \ | |
53 | language/ghil/spec.scm language/ghil/compile-glil.scm | |
54 | ||
55 | GLIL_LANG_SOURCES = \ | |
56 | language/glil/spec.scm language/glil/compile-assembly.scm | |
57 | ||
58 | ASSEMBLY_LANG_SOURCES = \ | |
59 | language/assembly/spec.scm \ | |
60 | language/assembly/compile-bytecode.scm \ | |
61 | language/assembly/decompile-bytecode.scm \ | |
62 | language/assembly/disassemble.scm | |
63 | ||
64 | BYTECODE_LANG_SOURCES = \ | |
65 | language/bytecode/spec.scm | |
66 | ||
67 | OBJCODE_LANG_SOURCES = \ | |
68 | language/objcode/spec.scm | |
69 | ||
70 | VALUE_LANG_SOURCES = \ | |
71 | language/value/spec.scm | |
72 | ||
73 | ECMASCRIPT_LANG_SOURCES = \ | |
74 | language/ecmascript/parse-lalr.scm \ | |
75 | language/ecmascript/tokenize.scm \ | |
76 | language/ecmascript/parse.scm \ | |
77 | language/ecmascript/spec.scm \ | |
78 | language/ecmascript/impl.scm \ | |
79 | language/ecmascript/base.scm \ | |
80 | language/ecmascript/function.scm \ | |
81 | language/ecmascript/array.scm \ | |
82 | language/ecmascript/compile-ghil.scm | |
83 | ||
84 | NOCOMP_SOURCES = \ | |
85 | system/repl/describe.scm | |
86 | ||
87 | include $(top_srcdir)/am/guilec |