## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
## 02110-1301, USA.
-##
-## $Id: Makefile.am 8262 2007-08-06 12:44:01Z panzi $
-## Process this file with automake to produce Makefile.in
EXTRA_DIST = \
$(VM_JAVA_FILES)
CLEANFILES = vm.zip
+if WITH_CLASSPATH_GNU
VM_JAVA_FILES = \
$(top_srcdir)/src/lib/gnu/gnu/classpath/VMStackWalker.java \
$(top_srcdir)/src/lib/gnu/gnu/classpath/VMSystemProperties.java \
classes/java/security/VMAccessController.class \
classes/sun/misc/Unsafe.class
-if WITH_CLASSPATH_GNU
if ENABLE_ANNOTATIONS
VM_JAVA_FILES += \
+ $(top_srcdir)/src/lib/gnu/sun/reflect/ConstantPool.java \
+ $(top_srcdir)/src/lib/gnu/sun/reflect/annotation/ExceptionProxy.java \
+ $(top_srcdir)/src/lib/gnu/sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java \
$(top_srcdir)/src/lib/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java \
$(top_srcdir)/src/lib/gnu/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java \
- $(top_srcdir)/src/lib/gnu/sun/reflect/ConstantPool.java \
$(top_srcdir)/src/lib/gnu/sun/reflect/annotation/AnnotationType.java \
$(top_srcdir)/src/lib/gnu/sun/reflect/annotation/AnnotationParser.java
VM_CLASS_FILES += \
+ classes/sun/reflect/ConstantPool.class \
+ classes/sun/reflect/annotation/ExceptionProxy.class \
+ classes/sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.class \
classes/sun/reflect/annotation/TypeNotPresentExceptionProxy.class \
classes/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.class \
- classes/sun/reflect/ConstantPool.class \
classes/sun/reflect/annotation/AnnotationType.class \
classes/sun/reflect/annotation/AnnotationParser.class
endif
+
+if ENABLE_ZLIB
+pkgdata_DATA = vm.zip
+else
+pkgdata_DATA = nozip
+endif
endif
+if WITH_CLASSPATH_CLDC1_1
+VM_JAVA_FILES = \
+ $(top_srcdir)/src/lib/cldc1.1/com/sun/cldchi/jvm/FileDescriptor.java
+
+VM_CLASS_FILES = \
+ classes/com/sun/cldchi/jvm/FileDescriptor.class
if ENABLE_ZLIB
pkgdata_DATA = vm.zip
+else
+pkgdata_DATA = nozip
+endif
+endif
+if WITH_CLASSPATH_GNU
+BOOTCLASSPATH = $(top_builddir)/src/lib/classes:$(CLASSPATH_CLASSES)
+else
+BOOTCLASSPATH = $(CLASSPATH_CLASSES)
+endif
+
+if ENABLE_ZLIB
VM_ZIP = ../vm.zip
vm.zip: $(VM_JAVA_FILES)
$(mkdir_p) classes
- $(JAVAC) -source 1.5 -target 1.5 -d classes $(VM_JAVA_FILES)
+ $(JAVAC) -bootclasspath $(BOOTCLASSPATH) -source 1.5 -target 1.5 -d classes $(VM_JAVA_FILES)
@if test "$(JAR)" = "zip" -o "$(JAR)" = "zip.exe"; then \
cd classes && $(JAR) -r -D $(VM_ZIP) .; \
else \
cd classes && $(JAR) cvf $(VM_ZIP) .; \
fi
else
-pkgdata_DATA = nozip
-
nozip: $(VM_JAVA_FILES)
$(mkdir_p) classes
- $(JAVAC) -d classes $(VM_JAVA_FILES)
+ $(JAVAC) -bootclasspath $(BOOTCLASSPATH) -source 1.5 -target 1.5 -d classes $(VM_JAVA_FILES)
endif
clean-local: