reflection, loader fix (before it did offer an unloaded (not found) class as loaded...
[cacao.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 # $Id: Makefile.am 682 2003-12-01 15:33:30Z jowenn $
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
48 cacao_LDADD = \
49         jit/libjit.a \
50         jit/loop/libloop.a \
51         jit/@ARCH_DIR@/libarch.a \
52         toolbox/libtoolbox.a \
53         nat/libnat.a \
54         $(BOEHM_LIBS) \
55         @THREAD_OBJ@ \
56         classpathbin/@ARCH_DIR@/native/jni/java-io/.libs/libjavaio.a \
57         classpathbin/@ARCH_DIR@/native/jni/java-nio/.libs/libjavanio.a \
58         classpathbin/@ARCH_DIR@/native/jni/java-net/.libs/libjavanet.a \
59         classpathbin/@ARCH_DIR@/native/jni/java-util/.libs/libjavautil.a \
60         classpathbin/@ARCH_DIR@/native/jni/java-lang/.libs/libjavalang.a \
61         classpathbin/@ARCH_DIR@/native/jni/java-lang/.libs/libjavalangreflect.a @AWT_OBJS@ @ZIP_LIBS@
62         
63
64 cacao_DEPENDENCIES = \
65         jit/libjit.a \
66         jit/loop/libloop.a \
67         jit/@ARCH_DIR@/libarch.a \
68         toolbox/libtoolbox.a \
69         $(BOEHM_LIBS) \
70         @THREAD_OBJ@
71
72 cacaoh_SOURCES = \
73         headers.c \
74         tables.c \
75         loader.c \
76         builtin.c \
77         unzip.c
78
79 cacaoh_LDADD = \
80         toolbox/libtoolbox.a \
81         $(BOEHM_LIBS) \
82         @THREAD_OBJ@  @ZIP_LIBS@
83
84 cacaoh_DEPENDENCIES = \
85         toolbox/libtoolbox.a \
86         $(BOEHM_LIBS) \
87         @THREAD_OBJ@
88
89
90 nativetypes.hh jit/@ARCH_DIR@/offsets.h nativetable.hh: cacaoh Makefile.am Makefile
91         CLASSPATH=./classpathbin/@ARCH_DIR@/lib ./cacaoh \
92         java.lang.String \
93         java.lang.Class \
94         java.io.FileDescriptor \
95         gnu.java.nio.SelectorImpl \
96         gnu.java.nio.FileLockImpl \
97         gnu.java.lang.reflect.TypeSignature \
98         gnu.java.math.MPN \
99         gnu.classpath.RawData \
100         gnu.classpath.Configuration \
101         java.io.OutputStream \
102         java.io.PrintWriter \
103         java.io.FileInputStream \
104         java.io.File \
105         java.lang.SecurityManager \
106         java.lang.VMSecurityManager \
107         java.io.VMObjectStreamClass \
108         java.io.ObjectInputStream \
109         java.io.RandomAccessFile \
110         java.io.Writer \
111         java.io.DataInput \
112         java.io.DataInputStream \
113         java.io.OutputStreamWriter \
114         java.io.FileWriter \
115         java.net.NetworkInterface \
116         java.net.SocketImpl \
117         java.net.PlainSocketImpl \
118         java.net.DatagramSocketImpl \
119         java.net.InetAddress \
120         java.net.DatagramPacket \
121         java.net.PlainDatagramSocketImpl \
122         java.nio.CharBufferImpl \
123         java.nio.channels.FileChannelImpl \
124         java.nio.DoubleBufferImpl \
125         java.nio.LongBufferImpl \
126         java.nio.ByteOrder \
127         java.nio.ShortBufferImpl \
128         java.nio.IntBufferImpl \
129         java.nio.DirectByteBufferImpl \
130         java.nio.FloatBufferImpl \
131         java.sql.Connection \
132         java.lang.Math \
133         java.lang.StringBuffer \
134         java.lang.reflect.Array \
135         java.lang.reflect.Modifier \
136         java.lang.reflect.Proxy \
137         java.lang.Double \
138         java.lang.Compiler \
139         java.lang.Byte \
140         java.lang.Character \
141         java.lang.Integer \
142         java.lang.Long \
143         java.lang.Short \
144         java.lang.Boolean \
145         java.lang.StackTraceElement \
146         java.lang.Float \
147         java.lang.Object \
148         java.lang.RuntimePermission \
149         java.lang.System \
150         java.lang.StrictMath \
151         java.lang.ClassLoader \
152         java.lang.Process \
153         java.lang.UnsatisfiedLinkError \
154         java.text.Collator \
155         java.util.zip.Deflater \
156         java.util.zip.Inflater \
157         java.util.TimeZone \
158         java.util.Locale \
159         java.util.Hashtable \
160         java.beans.PropertyEditor \
161         java.security.cert.Certificate \
162         java.security.cert.X509Certificate \
163         java.security.AccessController \
164         javax.swing.Popup \
165         javax.swing.UIManager \
166         java.lang.VMClass \
167         java.lang.reflect.Field \
168         java.lang.reflect.Constructor \
169         java.lang.reflect.Method \
170         java.lang.ThreadGroup \
171         java.lang.Thread \
172         java.lang.VMDouble \
173         java.lang.VMFloat \
174         java.lang.Cloneable \
175         java.lang.VMObject \
176         java.lang.VMClassLoader \
177         java.io.PrintStream \
178         java.lang.VMSystem \
179         java.util.Properties \
180         java.lang.Runtime \
181         java.lang.Throwable \
182         gnu.java.security.x509.X509Certificate  \
183         java.lang.JOWENNTest1 \
184         @AWTPEERS@
185
186 native.c: nativetypes.hh jit/@ARCH_DIR@/offsets.h nativetable.hh
187
188 checkjvm:
189         $(MAKE) -C jvmtst $@
190
191
192 ## Local variables:
193 ## mode: Makefile
194 ## indent-tabs-mode: t
195 ## c-basic-offset: 4
196 ## tab-width: 8
197 ## compile-command: "automake --add-missing"
198 ## End: