X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fnative%2Fvm%2FMakefile.am;h=9fdbf8bbfb8b72091574131d23c7f48da4696b82;hb=9f859ad50d3d5d98c185d40b86b2179bc4dc9aeb;hp=e36b432edf624f74d91d47b1a2062099f5aa8c1b;hpb=4c1ce25bc7446f215e35715eb93a10905a743ac2;p=cacao.git diff --git a/src/native/vm/Makefile.am b/src/native/vm/Makefile.am index e36b432ed..9fdbf8bbf 100644 --- a/src/native/vm/Makefile.am +++ b/src/native/vm/Makefile.am @@ -1,37 +1,110 @@ -## Process this file with automake to produce Makefile.in - -# $Id: Makefile.am 675 2003-11-24 20:48:41Z twisti $ - - -INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/jit -I$(top_srcdir)/jit/@ARCH_DIR@ - -EXTRA_DIST = - -noinst_LIBRARIES = libnat.a - -libnat_a_SOURCES = \ - Constructor.c \ - Field.c \ - FileChannelImpl.c \ - Method.c \ - Proxy.c \ - Runtime.c \ - Thread.c \ - VMClass.c \ - VMClassLoader.c \ - VMObject.c \ - VMObjectStreamClass.c \ - VMSecurityManager.c \ - VMSystem.c \ - JOWENNTest1.c - -#libgtk_a_SOURCES = \ - GdkGraphics.c \ - GdkPixbufDecoder.c \ - GtkComponentPeer.c \ - GtkFileDialogPeer.c \ - GtkLabelPeer.c \ - GtkScrollPanePeer.c +## src/native/vm/Makefile.am +## +## Copyright (C) 1996-2005, 2006, 2007 R. Grafl, A. Krall, C. Kruegel, +## C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring, +## E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, +## J. Wenninger, Institut f. Computersprachen - TU Wien +## +## 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., 51 Franklin Street, Fifth Floor, Boston, MA +## 02110-1301, USA. + + +AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR) -I$(top_builddir)/src + +LIBS = + +DIST_SUBDIRS = \ + cldc1.1 \ + gnu \ + sun + +if WITH_CLASSPATH_CLDC1_1 +SUBDIRS = \ + cldc1.1 + +NATIVEVM_LIB = \ + cldc1.1/libnativevmcore.la +endif + +if WITH_CLASSPATH_GNU +SUBDIRS = \ + gnu + +NATIVEVM_LIB = \ + gnu/libnativevmcore.la +endif + +if WITH_CLASSPATH_SUN +SUBDIRS = \ + sun + +NATIVEVM_LIB = \ + sun/libnativevmcore.la +endif + +if ENABLE_JAVASE +REFLECT_SOURCES = \ + reflect.c \ + reflect.h + +CLASSLOADER_SOURCES = \ + java_lang_ClassLoader.c \ + java_lang_ClassLoader.h + +JAVA_LANG_REFLECT_CONSTRUCTOR_SOURCES = \ + java_lang_reflect_Constructor.c \ + java_lang_reflect_Constructor.h + +JAVA_LANG_REFLECT_METHOD_SOURCES = \ + java_lang_reflect_Method.c \ + java_lang_reflect_Method.h + +JAVA_UTIL_CONCURRENT_ATOMIC_ATOMICLONG_SOURCES = \ + java_util_concurrent_atomic_AtomicLong.c \ + java_util_concurrent_atomic_AtomicLong.h + +SUN_MISC_UNSAFE_SOURCES = \ + sun_misc_Unsafe.c +endif + +noinst_LTLIBRARIES = \ + libnativevm.la + +libnativevm_la_SOURCES = \ + nativevm.c \ + nativevm.h \ + $(REFLECT_SOURCES) \ + \ + java_lang_Class.c \ + java_lang_Class.h \ + $(CLASSLOADER_SOURCES) \ + java_lang_Object.c \ + java_lang_Object.h \ + java_lang_Runtime.c \ + java_lang_Runtime.h \ + java_lang_Thread.c \ + java_lang_Thread.h \ + $(JAVA_LANG_REFLECT_CONSTRUCTOR_SOURCES) \ + $(JAVA_LANG_REFLECT_METHOD_SOURCES) \ + $(JAVA_UTIL_CONCURRENT_ATOMIC_ATOMICLONG_SOURCES) \ + $(SUN_MISC_UNSAFE_SOURCES) + +libnativevm_la_LIBADD = \ + $(NATIVEVM_LIB) ## Local variables: