[llvm-commits] CVS: llvm/Makefile.rules
Reid Spencer
reid at x10sys.com
Mon Dec 27 00:50:38 PST 2004
Changes in directory llvm:
Makefile.rules updated: 1.279 -> 1.280
---
Log message:
Make it possible to reconfigure a project as well as just LLVM main dir.
---
Diffs of the changes: (+5 -4)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.279 llvm/Makefile.rules:1.280
--- llvm/Makefile.rules:1.279 Fri Dec 24 08:47:34 2004
+++ llvm/Makefile.rules Mon Dec 27 02:50:27 2004
@@ -63,8 +63,9 @@
SrcMakefiles := $(filter %Makefile %Makefile.tests,\
$(wildcard $(BUILD_SRC_DIR)/Makefile*))
ObjMakefiles := $(subst $(BUILD_SRC_DIR),$(BUILD_OBJ_DIR),$(SrcMakefiles))
-ConfigureScript := $(LLVM_SRC_ROOT)/configure
-ConfigStatusScript := $(LLVM_OBJ_ROOT)/config.status
+ConfigureScript := $(BUILD_SRC_ROOT)/configure
+ConfigStatusScript := $(BUILD_OBJ_ROOT)/config.status
+LConfigStatusScript:= $(LLVM_OBJ_ROOT)/config.status
MakefileConfigIn := $(LLVM_SRC_ROOT)/Makefile.config.in
MakefileConfig := $(LLVM_OBJ_ROOT)/Makefile.config
PreConditions := $(ConfigStatusScript) $(MakefileConfig) $(ObjMakefiles)
@@ -129,9 +130,9 @@
#------------------------------------------------------------------------
# Make sure the configuration makefile is up to date
#------------------------------------------------------------------------
-$(MakefileConfig): $(MakefileConfigIn) $(ConfigStatusScript)
+$(MakefileConfig): $(MakefileConfigIn) $(LConfigStatusScript)
$(Echo) Regenerating $@
- $(Verb) cd $(LLVM_OBJ_ROOT) ; $(ConfigStatusScript) Makefile.config
+ $(Verb) cd $(LLVM_OBJ_ROOT) ; $(LConfigStatusScript) Makefile.config
#------------------------------------------------------------------------
# If the Makefile in the source tree has been updated, copy it over into the
More information about the llvm-commits
mailing list