* configure.ac: New switch for disabling -O2 (--disable-optimizations).
[cacao.git] / Makefile.am
index 3a022ff5e7882ca3eb5b0e721f1d43442258c1dc..069cd4fe1196f180db2fe4ff65cc1ed96980fa5d 100644 (file)
-## Process this file with automake to produce Makefile.in
-
-# $Id: Makefile.am 218 2003-02-04 12:47:51Z stefan $
-
-@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
-SUBDIRS = toolbox mm alpha i386 jit comp nat threads mips tst doc narray jvmtst
-
-EXTRA_DIST = html/cacaoinstall.html html/cacaoman.html html/index.html \
-                               jni.c
-
-CLEANFILES = @SYSDEP_DIR@/asmpart.o \
-             @SYSDEP_DIR@/offsets.h \
-                nativetable.hh \
-                nativetypes.hh
-
-bin_PROGRAMS = cacao
-noinst_PROGRAMS = cacaoh
-
-INCLUDES=-I$(top_srcdir)/@SYSDEP_DIR@ -I$(top_srcdir)/jit -I@SYSDEP_DIR@ -I$(top_srcdir)
-
-cacao_SOURCES = \
-       asmpart.h \
-       builtin.c \
-       builtin.h \
-       callargs.h \
-       @COMPILER_SOURCES@ \
-       global.h \
-       jit.c \
-       jit.h \
-       loader.c \
-       loader.h \
-       main.c \
-       native.c \
-       native.h \
-       jni.h \
-       tables.c \
-       tables.h 
-
-EXTRA_cacao_SOURCES = \
-       compiler.c \
-       compiler.h 
-
-cacao_LDADD = \
-       @SYSDEP_DIR@/asmpart.o \
-       @COMPILER_OBJECTS@ \
-       toolbox/libtoolbox.a \
-       @GC_OBJ@ \
-    @THREAD_OBJ@
-
-cacao_DEPENDENCIES = \
-       @SYSDEP_DIR@/asmpart.o \
-       @COMPILER_OBJECTS@ \
-       toolbox/libtoolbox.a \
-       @GC_OBJ@ \
-       @THREAD_OBJ@
-
-cacaoh_SOURCES = headers.c tables.c loader.c builtin.c
-cacaoh_LDADD = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
-cacaoh_DEPENDENCIES = toolbox/libtoolbox.a @GC_OBJ@ @THREAD_OBJ@
-
-native.c: nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh
-
-nativetypes.hh @SYSDEP_DIR@/offsets.h nativetable.hh: cacaoh
-       ./cacaoh \
-               java.lang.Object \
-               java.lang.String \
-               java.lang.ClassLoader \
-               java.lang.Class \
-               java.lang.Compiler \
-               java.lang.Integer \
-               java.lang.Double \
-               java.lang.Float \
-               java.lang.Math \
-               java.lang.Package \
-               java.lang.Runtime \
-               java.lang.SecurityManager \
-               java.lang.Exception \
-               java.io.PrintStream \
-               java.io.InputStream \
-               java.lang.System \
-               java.lang.Thread \
-               java.lang.ThreadGroup \
-               java.lang.Throwable \
-               java.lang.reflect.Array \
-               java.lang.reflect.Constructor \
-               java.lang.reflect.Field \
-               java.lang.reflect.Method \
-               java.lang.reflect.Modifier \
-               java.io.FileDescriptor \
-               java.io.FileInputStream \
-               java.io.FileOutputStream \
-               java.io.FileSystem \
-               java.io.ObjectInputStream \
-               java.io.ObjectStreamClass \
-               java.io.RandomAccessFile \
-               java.util.ResourceBundle \
-               java.util.jar.JarFile \
-               java.util.zip.Adler32 \
-               java.util.zip.CRC32 \
-               java.util.zip.Deflater \
-               java.util.zip.Inflater \
-               java.util.zip.ZipEntry \
-               java.util.zip.ZipFile \
-               java.util.Properties \
-               java.util.Date \
-               java.math.BigInteger \
-               java.net.InetAddress \
-               java.net.InetAddressImpl \
-               java.net.DatagramPacket \
-               java.net.PlainDatagramSocketImpl \
-               java.net.SocketImpl \
-               java.net.PlainSocketImpl \
-               java.net.SocketInputStream \
-               java.net.SocketOutputStream \
-               java.security.PrivilegedActionException \
-               java.security.PrivilegedAction \
-               java.security.PrivilegedExceptionAction \
-               java.security.AccessController \
-               java.io.File \
-               java.io.UnixFileSystem \
-               java.lang.ClassLoader_NativeLibrary
 
-@SYSDEP_DIR@/asmpart.o: $(top_srcdir)/@SYSDEP_DIR@/asmpart.S @SYSDEP_DIR@/offsets.h
-       @CC@ $(INCLUDES) -c -g -o $@ $<
+SUBDIRS = \
+       contrib \
+       doc \
+       man \
+       src \
+       tests
+
+EXTRA_DIST = \
+       ChangeLog-1998 \
+       ChangeLog-1999 \
+       ChangeLog-2000 \
+       ChangeLog-2001 \
+       ChangeLog-2002 \
+       ChangeLog-2003 \
+       ChangeLog-2004 \
+       ChangeLog-2005 \
+       ChangeLog-2006 \
+       ChangeLog-2007 \
+       THIRDPARTY
 
-checkjvm:
-       $(MAKE) -C jvmtst $@
 
 ## Local variables:
 ## mode: Makefile
 ## indent-tabs-mode: t
 ## c-basic-offset: 4
-## tab-width: 4
+## tab-width: 8
 ## compile-command: "automake --add-missing"
 ## End: