[llvm-commits] CVS: llvm-test/Makefile.common.in
John Criswell
criswell at cs.uiuc.edu
Thu Sep 2 12:07:24 PDT 2004
Changes in directory llvm-test:
Makefile.common.in added (r1.1)
---
Log message:
Adding Makefile.common.in.
---
Diffs of the changes: (+23 -0)
Index: llvm-test/Makefile.common.in
diff -c /dev/null llvm-test/Makefile.common.in:1.1
*** /dev/null Thu Sep 2 14:07:21 2004
--- llvm-test/Makefile.common.in Thu Sep 2 14:07:11 2004
***************
*** 0 ****
--- 1,23 ----
+ #
+ # Configure the location of the LLVM object root. We know it is two
+ # directories up. The source tree location we do not know; let the LLVM
+ # Makefiles find it for us.
+ #
+ LLVM_OBJ_ROOT=$(LEVEL)/../..
+
+ #
+ # Grab the LLVM configuration file.
+ #
+ include $(LEVEL)/../../Makefile.config
+
+ #
+ # Reconfigure the source directories
+ #
+ BUILD_SRC_ROOT:=$(LLVM_SRC_ROOT)/projects/testsuite
+ BUILD_SRC_DIR := $(subst //,/,$(BUILD_SRC_ROOT)/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
+
+ #
+ # Include LLVM's build rules.
+ #
+ include $(LLVM_SRC_ROOT)/Makefile.rules
+
More information about the llvm-commits
mailing list