[llvm-commits] CVS: llvm-java/test/Programs/SingleSource/UnitTests/Makefile

Alkis Evlogimenos alkis at cs.uiuc.edu
Mon Dec 13 18:59:45 PST 2004



Changes in directory llvm-java/test/Programs/SingleSource/UnitTests:

Makefile updated: 1.31 -> 1.32
---
Log message:

Make rules pick up any java files in a directory and compile
them. There is no need to add them explicitely now.


---
Diffs of the changes:  (+9 -42)

Index: llvm-java/test/Programs/SingleSource/UnitTests/Makefile
diff -u llvm-java/test/Programs/SingleSource/UnitTests/Makefile:1.31 llvm-java/test/Programs/SingleSource/UnitTests/Makefile:1.32
--- llvm-java/test/Programs/SingleSource/UnitTests/Makefile:1.31	Sun Dec 12 22:45:50 2004
+++ llvm-java/test/Programs/SingleSource/UnitTests/Makefile	Mon Dec 13 20:59:34 2004
@@ -8,50 +8,20 @@
 ##===----------------------------------------------------------------------===##
 LEVEL := ../../../..
 
-JAVA_TESTS := AbstractCall \
-	Arithm \
-	Array \
-	BigConstants \
-	Call \
-	FieldAccess \
-	FloatCompare \
-	ForLoop \
-	If \
-	InnerClass \
-	InstanceOf \
-	InterfaceCall \
-	Lists \
-	Lists1 \
-	Lists2 \
-	LongCompare \
-	LookupSwitch \
-	Numbers \
-	StaticInitializers \
-	TableSwitch \
-	Test \
-	VirtualCall \
-	VTable \
-	ackermann \
-	ary \
-	fibo \
-	heapsort \
-	methcall \
-	nestedloop \
-	objinst \
-	sieve \
-	random \
-	takfp \
-#	Strings \
-#	MultipleInterfaces \
-#	MultiArray \
-
-
 CPPFLAGS+=-I$(BUILD_SRC_ROOT)/include/llvm/Java
 BYTECODE_LIBRARY=1
 SHARED_LIBRARY=1
 LIBRARYNAME=test
 
-EXTRA_OBJS = $(LibDir)/libtest.bca
+include $(LEVEL)/Makefile.common
+
+EXTRA_OBJS = $(LibName.BCA)
+
+BUILD_JAVA_SOURCES=1
+
+include ../Makefile.singlesrc
+
+$(EXTRA_OBJS): Test.h
 
 Test.h: Output/Test.class
 	$(Verb)$(Echo) Creating JNI header for class $(basename $(notdir $<))
@@ -61,6 +31,3 @@
 clean::
 	$(Verb)rm -f Test.h
 
-include ../Makefile.singlesrc
-
-$(EXTRA_OBJS): Test.h






More information about the llvm-commits mailing list