added the typechecker (not yet complete)
[cacao.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 # $Id: Makefile.am 696 2003-12-06 20:10:05Z edwin $
4
5 @SET_MAKE@
6
7 MAINTAINERCLEANFILES = Makefile.in configure
8 ALLSUBDIRS = mm toolbox threads jit nat tst doc jvmtst
9 SUBDIRS = classpathbin $(ALLSUBDIRS)
10 DIST_SUBDIRS = $(ALLSUBDIRS)
11
12 EXTRA_DIST = \
13         html/cacaoinstall.html \
14         html/cacaoman.html \
15         html/index.html \
16         main.h \
17         natcalls.h \
18         nativecalls.h
19
20 CLEANFILES = \
21         jit/@ARCH_DIR@/offsets.h \
22         nativetable.hh \
23         nativetypes.hh
24
25 bin_PROGRAMS = cacao
26 noinst_PROGRAMS = cacaoh
27
28 INCLUDES = -I$(top_srcdir)/jit/@ARCH_DIR@ -I$(top_srcdir)/jit
29
30 BOEHM_LIBS = mm/libboehm.a mm/boehm-gc/.libs/libgc.a
31
32 cacao_SOURCES = \
33         asmpart.h \
34         builtin.c \
35         builtin.h \
36         global.h \
37         loader.c \
38         loader.h \
39         main.c \
40         native.c \
41         native.h \
42         jni.c \
43         jni.h \
44         tables.c \
45         tables.h \
46         unzip.c \
47         typeinfo.c \
48         typeinfo.h
49
50 cacao_LDADD = \
51         jit/libjit.a \
52         jit/loop/libloop.a \
53         jit/@ARCH_DIR@/libarch.a \
54         toolbox/libtoolbox.a \
55         nat/libnat.a \
56         $(BOEHM_LIBS) \
57         @THREAD_OBJ@ \
58         classpathbin/@ARCH_DIR@/native/jni/java-io/.libs/libjavaio.a \
59         classpathbin/@ARCH_DIR@/native/jni/java-nio/.libs/libjavanio.a \
60         classpathbin/@ARCH_DIR@/native/jni/java-net/.libs/libjavanet.a \
61         classpathbin/@ARCH_DIR@/native/jni/java-util/.libs/libjavautil.a \
62         classpathbin/@ARCH_DIR@/native/jni/java-lang/.libs/libjavalang.a \
63         classpathbin/@ARCH_DIR@/native/jni/java-lang/.libs/libjavalangreflect.a @AWT_OBJS@ @ZIP_LIBS@
64         
65
66 cacao_DEPENDENCIES = \
67         jit/libjit.a \
68         jit/loop/libloop.a \
69         jit/@ARCH_DIR@/libarch.a \
70         toolbox/libtoolbox.a \
71         $(BOEHM_LIBS) \
72         @THREAD_OBJ@
73
74 cacaoh_SOURCES = \
75         headers.c \
76         tables.c \
77         loader.c \
78         builtin.c \
79         unzip.c
80
81 cacaoh_LDADD = \
82         toolbox/libtoolbox.a \
83         $(BOEHM_LIBS) \
84         @THREAD_OBJ@  @ZIP_LIBS@
85
86 cacaoh_DEPENDENCIES = \
87         toolbox/libtoolbox.a \
88         $(BOEHM_LIBS) \
89         @THREAD_OBJ@
90
91
92 nativetypes.hh jit/@ARCH_DIR@/offsets.h nativetable.hh: cacaoh Makefile.am Makefile
93         CLASSPATH=./classpathbin/@ARCH_DIR@/lib ./cacaoh \
94         java.lang.String \
95         java.lang.Class \
96         java.io.FileDescriptor \
97         gnu.java.nio.SelectorImpl \
98         gnu.java.nio.FileLockImpl \
99         gnu.java.lang.reflect.TypeSignature \
100         gnu.java.math.MPN \
101         gnu.classpath.RawData \
102         gnu.classpath.Configuration \
103         java.io.OutputStream \
104         java.io.PrintWriter \
105         java.io.FileInputStream \
106         java.io.File \
107         java.lang.SecurityManager \
108         java.lang.VMSecurityManager \
109         java.io.VMObjectStreamClass \
110         java.io.ObjectInputStream \
111         java.io.RandomAccessFile \
112         java.io.Writer \
113         java.io.DataInput \
114         java.io.DataInputStream \
115         java.io.OutputStreamWriter \
116         java.io.FileWriter \
117         java.net.NetworkInterface \
118         java.net.SocketImpl \
119         java.net.PlainSocketImpl \
120         java.net.DatagramSocketImpl \
121         java.net.InetAddress \
122         java.net.DatagramPacket \
123         java.net.PlainDatagramSocketImpl \
124         java.nio.CharBufferImpl \
125         java.nio.channels.FileChannelImpl \
126         java.nio.DoubleBufferImpl \
127         java.nio.LongBufferImpl \
128         java.nio.ByteOrder \
129         java.nio.ShortBufferImpl \
130         java.nio.IntBufferImpl \
131         java.nio.DirectByteBufferImpl \
132         java.nio.FloatBufferImpl \
133         java.sql.Connection \
134         java.lang.Math \
135         java.lang.StringBuffer \
136         java.lang.reflect.Array \
137         java.lang.reflect.Modifier \
138         java.lang.reflect.Proxy \
139         java.lang.Double \
140         java.lang.Compiler \
141         java.lang.Byte \
142         java.lang.Character \
143         java.lang.Integer \
144         java.lang.Long \
145         java.lang.Short \
146         java.lang.Boolean \
147         java.lang.StackTraceElement \
148         java.lang.Float \
149         java.lang.Object \
150         java.lang.RuntimePermission \
151         java.lang.System \
152         java.lang.StrictMath \
153         java.lang.ClassLoader \
154         java.lang.Process \
155         java.lang.UnsatisfiedLinkError \
156         java.text.Collator \
157         java.util.zip.Deflater \
158         java.util.zip.Inflater \
159         java.util.TimeZone \
160         java.util.Locale \
161         java.util.Hashtable \
162         java.beans.PropertyEditor \
163         java.security.cert.Certificate \
164         java.security.cert.X509Certificate \
165         java.security.AccessController \
166         javax.swing.Popup \
167         javax.swing.UIManager \
168         java.lang.VMClass \
169         java.lang.reflect.Field \
170         java.lang.reflect.Constructor \
171         java.lang.reflect.Method \
172         java.lang.ThreadGroup \
173         java.lang.Thread \
174         java.lang.VMDouble \
175         java.lang.VMFloat \
176         java.lang.Cloneable \
177         java.lang.VMObject \
178         java.lang.VMClassLoader \
179         java.io.PrintStream \
180         java.lang.VMSystem \
181         java.util.Properties \
182         java.lang.Runtime \
183         java.lang.Throwable \
184         gnu.java.security.x509.X509Certificate  \
185         java.lang.JOWENNTest1 \
186         @AWTPEERS@
187
188 native.c: nativetypes.hh jit/@ARCH_DIR@/offsets.h nativetable.hh
189
190 checkjvm:
191         $(MAKE) -C jvmtst $@
192
193
194 ## Local variables:
195 ## mode: Makefile
196 ## indent-tabs-mode: t
197 ## c-basic-offset: 4
198 ## tab-width: 8
199 ## compile-command: "automake --add-missing"
200 ## End: