* src/native/vm/Makefile.am (libnativevm_la_SOURCES): Fixed nativevm
[cacao.git] / src / native / vm / Makefile.am
index c3d7f6ff9760fa79bc333d2ce4a245bbffc07fe9..f7f843f7a213a03c7f5a3d8eb8dd86549317179e 100644 (file)
@@ -27,10 +27,10 @@ LIBS =
 
 DIST_SUBDIRS = \
        cldc1.1 \
-       gnu \
-       sun
+       gnuclasspath \
+       openjdk
 
-if WITH_CLASSPATH_CLDC1_1
+if WITH_JAVA_RUNTIME_LIBRARY_CLDC1_1
 SUBDIRS = \
        cldc1.1
 
@@ -38,41 +38,38 @@ NATIVEVM_LIB = \
        cldc1.1/libnativevmcore.la
 endif
 
-if WITH_CLASSPATH_GNU
+if WITH_JAVA_RUNTIME_LIBRARY_GNU_CLASSPATH
 SUBDIRS = \
-       gnu
+       gnuclasspath
 
 NATIVEVM_LIB = \
-       gnu/libnativevmcore.la
+       gnuclasspath/libnativevmcore.la
 endif
 
-if WITH_CLASSPATH_SUN
+if WITH_JAVA_RUNTIME_LIBRARY_OPENJDK
 SUBDIRS = \
-       sun
+       openjdk
 
 NATIVEVM_LIB = \
-       sun/libnativevmcore.la
+       openjdk/libnativevmcore.la
 endif
 
 if ENABLE_JAVASE
-REFLECT_SOURCES = \
-       reflect.c \
-       reflect.h
+REFLECTION_SOURCES = \
+       reflection.cpp \
+       reflection.hpp
 
 SUN_MISC_UNSAFE_SOURCES = \
-       sun_misc_Unsafe.c
+       sun_misc_Unsafe.cpp
 endif
 
 noinst_LTLIBRARIES = \
        libnativevm.la
 
 libnativevm_la_SOURCES = \
-       nativevm.c \
-       nativevm.h \
-       $(REFLECT_SOURCES) \
-       \
-       java_lang_Class.c \
-       java_lang_Class.h \
+       nativevm.cpp \
+       nativevm.hpp \
+       $(REFLECTION_SOURCES) \
        $(SUN_MISC_UNSAFE_SOURCES)
 
 libnativevm_la_LIBADD = \