[llvm-commits] CVS: llvm-java/Makefile.rules Makefile.common.in
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed Apr 21 11:34:02 PDT 2004
Changes in directory llvm-java:
Makefile.rules added (r1.1)
Makefile.common.in updated: 1.1 -> 1.2
---
Log message:
Add rule to compile java subtree
---
Diffs of the changes: (+27 -0)
Index: llvm-java/Makefile.rules
diff -c /dev/null llvm-java/Makefile.rules:1.1
*** /dev/null Wed Apr 21 11:33:58 2004
--- llvm-java/Makefile.rules Wed Apr 21 11:33:48 2004
***************
*** 0 ****
--- 1,16 ----
+ #===-- Makefile.rules - Common make rules for LLVM -------*- 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.
+ #
+ ##===----------------------------------------------------------------------===##
+
+ ifdef BUILD_JAVA_SOURCE
+ all:: .class-stamp
+ .class-stamp: $(shell find . -name '*.java')
+ $(JIKES) --bootclasspath $(BOOTCLASSPATH) $?
+ touch .class-stamp
+ endif
+
Index: llvm-java/Makefile.common.in
diff -u llvm-java/Makefile.common.in:1.1 llvm-java/Makefile.common.in:1.2
--- llvm-java/Makefile.common.in:1.1 Thu Apr 15 16:00:49 2004
+++ llvm-java/Makefile.common.in Wed Apr 21 11:33:48 2004
@@ -25,6 +25,17 @@
BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%, $(BUILD_OBJ_DIR)))
#
+# Additional utilities
+#
+JIKES=@JIKES@
+
+#
# Include LLVM's build rules.
#
include $(LLVM_SRC_ROOT)/Makefile.rules
+
+#
+# Include local build rules.
+#
+include $(LEVEL)/Makefile.rules
+
More information about the llvm-commits
mailing list