* configure.ac: New switch for disabling -O2 (--disable-optimizations).
[cacao.git] / Makefile.am
index aa988691a79595fac0ecc8b15315d0d3a536df5b..069cd4fe1196f180db2fe4ff65cc1ed96980fa5d 100644 (file)
-## Process this file with automake to produce Makefile.in
-
-# $Id: Makefile.am 664 2003-11-21 18:24:01Z jowenn $
-
-@SET_MAKE@
+## Makefile.am
+##
+## Copyright (C) 1996-2005, 2006, 2008
+## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
+##
+## This file is part of CACAO.
+##
+## This program is free software; you can redistribute it and/or
+## modify it under the terms of the GNU General Public License as
+## published by the Free Software Foundation; either version 2, or (at
+## your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.
+
+
+ACLOCAL_AMFLAGS = -I m4
 
 MAINTAINERCLEANFILES = Makefile.in configure
-ALLSUBDIRS = mm toolbox threads jit nat tst doc jvmtst
-SUBDIRS = classpathbin $(ALLSUBDIRS)
-DIST_SUBDIRS = $(ALLSUBDIRS)
-
-EXTRA_DIST = \
-       html/cacaoinstall.html \
-       html/cacaoman.html \
-       html/index.html \
-       jni.c \
-       main.h \
-       natcalls.h \
-       nativecalls.h
-
-CLEANFILES = \
-       jit/@ARCH_DIR@/asmpart.o \
-       jit/@ARCH_DIR@/offsets.h \
-       nativetable.hh \
-       nativetypes.hh
-
-bin_PROGRAMS = cacao
-noinst_PROGRAMS = cacaoh
-
-INCLUDES = -I$(top_srcdir)/jit/@ARCH_DIR@ -I$(top_srcdir)/jit
-
-BOEHM_LIBS = mm/libboehm.a mm/boehm-gc/.libs/libgc.a
-
-cacao_SOURCES = \
-       asmpart.h \
-       builtin.c \
-       builtin.h \
-       global.h \
-       loader.c \
-       loader.h \
-       main.c \
-       native.c \
-       native.h \
-       jni.h \
-       tables.c \
-       tables.h \
-       unzip.c
 
-cacao_LDADD = \
-       jit/libjit.a \
-       jit/loop/libloop.a \
-       jit/@ARCH_DIR@/libarch.a \
-       toolbox/libtoolbox.a \
-       $(BOEHM_LIBS) \
-       @THREAD_OBJ@ \
-       classpathbin/@ARCH_DIR@/native/jni/java-io/.libs/libjavaio.a \
-       classpathbin/@ARCH_DIR@/native/jni/java-nio/.libs/libjavanio.a \
-       classpathbin/@ARCH_DIR@/native/jni/java-net/.libs/libjavanet.a \
-       classpathbin/@ARCH_DIR@/native/jni/java-util/.libs/libjavautil.a \
-       classpathbin/@ARCH_DIR@/native/jni/java-lang/.libs/libjavalang.a \
-       classpathbin/@ARCH_DIR@/native/jni/java-lang/.libs/libjavalangreflect.a @AWT_OBJS@ @ZIP_LIBS@
+SUBDIRS = \
+       contrib \
+       doc \
+       man \
+       src \
+       tests
 
-
-cacao_DEPENDENCIES = \
-       jit/libjit.a \
-       jit/loop/libloop.a \
-       jit/@ARCH_DIR@/libarch.a \
-       toolbox/libtoolbox.a \
-       $(BOEHM_LIBS) \
-       @THREAD_OBJ@
-
-cacaoh_SOURCES = \
-       headers.c \
-       tables.c \
-       loader.c \
-       builtin.c \
-       unzip.c
-
-cacaoh_LDADD = \
-       toolbox/libtoolbox.a \
-       $(BOEHM_LIBS) \
-       @THREAD_OBJ@  @ZIP_LIBS@
-
-cacaoh_DEPENDENCIES = \
-       toolbox/libtoolbox.a \
-       $(BOEHM_LIBS) \
-       @THREAD_OBJ@
-
-
-nativetypes.hh jit/@ARCH_DIR@/offsets.h nativetable.hh: cacaoh Makefile.am Makefile
-       CLASSPATH=./classpathbin/@ARCH_DIR@/lib ./cacaoh \
-       java.lang.Class \
-       java.io.FileDescriptor \
-       gnu.java.nio.SelectorImpl \
-       gnu.java.nio.FileLockImpl \
-       gnu.java.lang.reflect.TypeSignature \
-       gnu.java.math.MPN \
-       gnu.classpath.RawData \
-       gnu.classpath.Configuration \
-       java.io.OutputStream \
-       java.io.PrintWriter \
-       java.io.FileInputStream \
-       java.io.File \
-       java.lang.SecurityManager \
-       java.lang.VMSecurityManager \
-       java.io.VMObjectStreamClass \
-       java.io.ObjectInputStream \
-       java.io.RandomAccessFile \
-       java.io.Writer \
-       java.io.DataInput \
-       java.io.DataInputStream \
-       java.io.OutputStreamWriter \
-       java.io.FileWriter \
-       java.net.NetworkInterface \
-       java.net.SocketImpl \
-       java.net.PlainSocketImpl \
-       java.net.DatagramSocketImpl \
-       java.net.InetAddress \
-       java.net.DatagramPacket \
-       java.net.PlainDatagramSocketImpl \
-       java.nio.CharBufferImpl \
-       java.nio.channels.FileChannelImpl \
-       java.nio.DoubleBufferImpl \
-       java.nio.LongBufferImpl \
-       java.nio.ByteOrder \
-       java.nio.ShortBufferImpl \
-       java.nio.IntBufferImpl \
-       java.nio.DirectByteBufferImpl \
-       java.nio.FloatBufferImpl \
-       java.sql.Connection \
-       java.lang.Math \
-       java.lang.StringBuffer \
-       java.lang.reflect.Array \
-       java.lang.reflect.Modifier \
-       java.lang.reflect.Proxy \
-       java.lang.Double \
-       java.lang.Compiler \
-       java.lang.Integer \
-       java.lang.StackTraceElement \
-       java.lang.Float \
-       java.lang.Object \
-       java.lang.RuntimePermission \
-       java.lang.System \
-       java.lang.StrictMath \
-       java.lang.ClassLoader \
-       java.lang.Process \
-       java.lang.UnsatisfiedLinkError \
-       java.text.Collator \
-       java.util.zip.Deflater \
-       java.util.zip.Inflater \
-       java.util.TimeZone \
-       java.util.Locale \
-       java.util.Hashtable \
-       java.beans.PropertyEditor \
-       java.security.cert.Certificate \
-       java.security.cert.X509Certificate \
-       java.security.AccessController \
-       javax.swing.Popup \
-       javax.swing.UIManager \
-       java.lang.VMClass \
-       java.lang.reflect.Field \
-       java.lang.reflect.Constructor \
-       java.lang.reflect.Method \
-       java.lang.ThreadGroup \
-       java.lang.Thread \
-       java.lang.VMDouble \
-       java.lang.VMFloat \
-       java.lang.Cloneable \
-       java.lang.VMObject \
-       java.lang.VMClassLoader \
-       java.io.PrintStream \
-       java.lang.VMSystem \
-       java.util.Properties \
-       java.lang.Runtime \
-       java.lang.Throwable \
-       java.lang.String \
-       gnu.java.security.x509.X509Certificate  \
-       java.lang.JOWENNTest1 \
-       @AWTPEERS@
-
-native.c: nativetypes.hh jit/@ARCH_DIR@/offsets.h nativetable.hh
-
-checkjvm:
-       $(MAKE) -C jvmtst $@
+EXTRA_DIST = \
+       ChangeLog-1998 \
+       ChangeLog-1999 \
+       ChangeLog-2000 \
+       ChangeLog-2001 \
+       ChangeLog-2002 \
+       ChangeLog-2003 \
+       ChangeLog-2004 \
+       ChangeLog-2005 \
+       ChangeLog-2006 \
+       ChangeLog-2007 \
+       THIRDPARTY
 
 
 ## Local variables: