1 ## src/native/include/Makefile.am
3 ## Copyright (C) 1996-2005, 2006, 2007, 2008
4 ## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
6 ## This file is part of CACAO.
8 ## This program is free software; you can redistribute it and/or
9 ## modify it under the terms of the GNU General Public License as
10 ## published by the Free Software Foundation; either version 2, or (at
11 ## your option) any later version.
13 ## This program is distributed in the hope that it will be useful, but
14 ## WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ## General Public License for more details.
18 ## You should have received a copy of the GNU General Public License
19 ## along with this program; if not, write to the Free Software
20 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 JAVAHCMD = $(JAVAH) -jni -bootclasspath $(BOOTCLASSPATH)
27 if WITH_JAVA_RUNTIME_LIBRARY_CLDC1_1
28 IMPLEMENTED_VM_CLASSES_HEADER_FILES = \
29 com_sun_cldc_io_ResourceInputStream.h \
30 com_sun_cldc_io_j2me_socket_Protocol.h \
31 com_sun_cldchi_io_ConsoleOutputStream.h \
32 com_sun_cldchi_jvm_FileDescriptor.h \
33 com_sun_cldchi_jvm_JVM.h \
40 if WITH_JAVA_RUNTIME_LIBRARY_GNU_CLASSPATH
41 IMPLEMENTED_VM_CLASSES_HEADER_FILES = \
42 gnu_classpath_VMStackWalker.h \
43 gnu_classpath_VMSystemProperties.h \
44 gnu_java_lang_VMCPStringBuilder.h \
45 gnu_java_lang_management_VMClassLoadingMXBeanImpl.h \
46 gnu_java_lang_management_VMMemoryMXBeanImpl.h \
47 gnu_java_lang_management_VMRuntimeMXBeanImpl.h \
48 gnu_java_lang_management_VMThreadMXBeanImpl.h \
50 java_lang_VMClassLoader.h \
51 java_lang_VMObject.h \
52 java_lang_VMRuntime.h \
53 java_lang_VMString.h \
54 java_lang_VMSystem.h \
55 java_lang_VMThread.h \
56 java_lang_VMThrowable.h \
57 java_lang_management_VMManagementFactory.h \
58 java_lang_reflect_VMConstructor.h \
59 java_lang_reflect_VMField.h \
60 java_lang_reflect_VMMethod.h \
61 java_lang_reflect_VMProxy.h \
62 java_security_VMAccessController.h \
63 java_util_concurrent_atomic_AtomicLong.h \
67 IMPLEMENTED_VM_CLASSES_HEADER_FILES += \
68 sun_reflect_ConstantPool.h
72 if WITH_JAVA_RUNTIME_LIBRARY_OPENJDK
73 IMPLEMENTED_VM_CLASSES_HEADER_FILES = \
78 JVMTI_HEADER_FILES = \
79 gnu_classpath_jdwp_VMFrame.h \
80 gnu_classpath_jdwp_VMMethod.h \
81 gnu_classpath_jdwp_VMVirtualMachine.h \
82 gnu_classpath_jdwp_event_EventRequest.h \
83 gnu_classpath_jdwp_util_VariableTable.h
90 $(IMPLEMENTED_VM_CLASSES_HEADER_FILES)
92 if WITH_JAVA_RUNTIME_LIBRARY_GNU_CLASSPATH
94 VM_ZIP = $(top_builddir)/src/classes/vm.zip
98 if WITH_JAVA_RUNTIME_LIBRARY_CLDC1_1
100 VM_ZIP = $(top_builddir)/src/classes/vm.zip
104 noinst_DATA = $(DO_HEADER_FILES)
106 $(DO_HEADER_FILES): $(CACAOH) $(VM_ZIP) $(CLASSPATH_CLASSES)
107 @class=`echo $@ | sed -e 's/\.h$$//' -e 's/_/\./g'`; \
108 echo "$(JAVAHCMD) -d . $$class"; \
109 $(JAVAHCMD) -d . $$class
114 ## indent-tabs-mode: t
117 ## compile-command: "automake --add-missing"