We need to override java/lang/VMString class to efficiently
implement VMString.intern() method.

Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 Makefile |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 45c736d..07182ce 100644
--- a/Makefile
+++ b/Makefile
@@ -215,7 +215,7 @@ arch/$(ARCH)/insn-selector.c: monoburg FORCE
        $(E) "  MONOBURG" $@
        $(Q) $(MONOBURG) -p -e $(MB_DEFINES) $(@:.c=.brg) > $@
 
-$(PROGRAM): monoburg $(CLASSPATH_CONFIG) compile $(RUNTIME_CLASSES)
+$(PROGRAM): monoburg $(CLASSPATH_CONFIG) compile runtime-classes
        $(E) "  LD      " $@
        $(Q) $(CC) $(DEFAULT_CFLAGS) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS) 
$(DEFAULT_LIBS)
 
@@ -294,9 +294,13 @@ jasmin-regression: FORCE
        $(Q) $(JASMIN) $(JASMIN_OPTS) -d regression 
$(JASMIN_REGRESSION_TEST_SUITE_CLASSES) > /dev/null
 .PHONY: jasmin-regression
 
-$(RUNTIME_CLASSES): %.class: %.java
+runtime-classes: FORCE $(RUNTIME_CLASSES)
+       $(E) "  ZIP     " $@
+       $(Q) cd runtime/classpath && zip -r -q ../runtime.zip .
+
+$(RUNTIME_CLASSES): %.class:%.java
        $(E) "  JAVAC   " $@
-       $(Q) $(JAVAC) -cp $(GLIBJ) $(JAVAC_OPTS) -d runtime/classpath $<
+       $(Q) $(JAVAC) -classpath $(GLIBJ) $(JAVAC_OPTS) -d runtime/classpath $<
 
 lib: $(CLASSPATH_CONFIG)
        make -C lib/ JAVAC=$(JAVAC) GLIBJ=$(GLIBJ)
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to