fa2004e1f7
The OpenJIT project is an ongoing Java[tm] the programming language JIT compiler project as a collaborative effort between Tokyo Institute of Technology and Fujitsu Laboratory, partly sponsored by the Information Promotion Agency of Japan. OpenJIT is a "reflective" JIT compiler in that not only it is almost entirely written in Java, but also that it bootstraps and compiles itself during execution of the user program, and compiler components coexist as first-class objects in user heap space. This was imported from wip/jdk-openjit, provided by Todd Vierling <tv at pobox dot com> with some minor changes by me.
30 lines
880 B
Text
30 lines
880 B
Text
$NetBSD: patch-ac,v 1.1.1.1 2003/07/01 19:02:34 jlam Exp $
|
|
|
|
--- Makefile.in.orig Mon Feb 17 17:40:59 2003
|
|
+++ Makefile.in
|
|
@@ -156,10 +156,10 @@ org/OpenJIT/%.class: org/OpenJIT/%.java
|
|
$(OBJDIR)/%.o: %.c
|
|
$(COMPILE.c) -o $@ $<
|
|
|
|
-debug: .checkinstall org/OpenJIT/$(ARCH).class
|
|
+debug: org/OpenJIT/$(ARCH).class
|
|
$(MAKE) $(DEBUG) VARIANT=DBG
|
|
|
|
-optimized: .checkinstall org/OpenJIT/$(ARCH).class
|
|
+optimized: org/OpenJIT/$(ARCH).class
|
|
$(MAKE) $(OPTIMIZED) VARIANT=OPT
|
|
|
|
.checkinstall:
|
|
@@ -182,10 +182,10 @@ optimized: .checkinstall org/OpenJIT/$(A
|
|
fi
|
|
|
|
$(DEBUG): .objdir .libdir $(OBJS)
|
|
- $(LD) -G -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
|
|
+ $(CC) -shared -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
|
|
|
|
$(OPTIMIZED): .objdir .libdir $(OBJS)
|
|
- $(LD) -G -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
|
|
+ $(CC) -shared -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
|
|
|
|
install: all install-libs @INSTALL_OPENJITPKG@
|
|
|