[llvm-commits] CVS: llvm-java/test/Makefile.test

Alkis Evlogimenos alkis at cs.uiuc.edu
Wed Jul 14 01:30:45 PDT 2004



Changes in directory llvm-java/test:

Makefile.test added (r1.1)

---
Log message:

Add makefiles for automatically getting bytecode and llvm assmbly out
of classfiles.


---
Diffs of the changes:  (+17 -0)

Index: llvm-java/test/Makefile.test
diff -c /dev/null llvm-java/test/Makefile.test:1.1
*** /dev/null	Wed Jul 14 03:30:45 2004
--- llvm-java/test/Makefile.test	Wed Jul 14 03:30:35 2004
***************
*** 0 ****
--- 1,17 ----
+ ##==-- test/Makefile.test - Common make rules Java tests -*- makefile -*--====##
+ #
+ #                     The LLVM Compiler Infrastructure
+ #
+ # This file was developed by the LLVM research group and is distributed under
+ # the University of Illinois Open Source License. See LICENSE.TXT for details.
+ #
+ ##===----------------------------------------------------------------------===##
+ 
+ # rule to build raw bytecode from a classfile
+ Output/%.rbc: %.class Output/.dir
+ 	$(CLASS2LLVM) $* | $(LLVMTOOLCURRENT)/opt$(EXEEXT) -mem2reg > $@
+ 
+ %.ll: %.rbc
+ 	$(LLVMTOOLCURRENT)/llvm-dis$(EXEEXT) < $< > $@
+ 
+ include $(LEVEL)/Makefile.common





More information about the llvm-commits mailing list