[llvm-commits] CVS: llvm-java/Makefile.rules
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Jul 15 04:28:54 PDT 2004
Changes in directory llvm-java:
Makefile.rules updated: 1.3 -> 1.4
---
Log message:
Add runtime and move some rules to Makefile.rules. Now we link to the
runtime (which is currently almost empty :-)).
---
Diffs of the changes: (+12 -0)
Index: llvm-java/Makefile.rules
diff -u llvm-java/Makefile.rules:1.3 llvm-java/Makefile.rules:1.4
--- llvm-java/Makefile.rules:1.3 Tue Jul 13 19:29:15 2004
+++ llvm-java/Makefile.rules Thu Jul 15 06:28:44 2004
@@ -15,3 +15,15 @@
endif
CLASS2LLVM := $(LEVEL)/tools/Debug/class2llvm$(EXEEXT)
+LDIS := $(LLVMTOOLCURRENT)/llvm-dis$(EXEEXT)
+LAS := $(LLVMTOOLCURRENT)/llvm-as$(EXEEXT)
+LLINK := $(LLVMTOOLCURRENT)/llvm-link$(EXEEXT)
+LOPT := $(LLVMTOOLCURRENT)/opt$(EXEEXT)
+
+# rule to make assembly from bytecode
+%.dis-ll: %.bc
+ $(LDIS) < $< > $@
+
+# rule to make bytecode from assembly
+%.bc: %.ll
+ $(LAS) < $< > $@
More information about the llvm-commits
mailing list