llvm.org GIT mirror llvm / e430a1e
Projects no longer need to specify LLVM_OBJ_ROOT. Also, for the prdirs target, don't let make print out all of the echo commands before the echos get echo'd git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8034 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
2 changed file(s) with 18 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
3131 #
3232 # 6. LLVM_SRC_ROOT - If specified, points to the top of the LLVM source tree.
3333 #
34 # 7. LLVM_OBJ_ROOT - If specified, points to the top directory where LLVM
35 # object files are placed.
36 #
3734 # 8. BUILD_SRC_DIR - The directory which contains the current set of Makefiles
3835 # and usually the source code too (unless SourceDir is set).
3936 #
4542 # placed.
4643 #
4744 # For building,
48 # LLVM, LLVM_SRC_ROOT = BUILD_SRC_ROOT, and
49 # LLVM_OBJ_ROOT = BUILD_OBJ_ROOT.
45 # LLVM, LLVM_SRC_ROOT = BUILD_SRC_ROOT
5046 #
5147 #===-----------------------------------------------------------------------====
5248
126122 # Set the LLVM object directory.
127123 #
128124 ifndef LLVM_OBJ_ROOT
129 LLVM_OBJ_ROOT := $(BUILD_OBJ_ROOT)
125 LLVM_OBJ_ROOT := $(shell cd $(BUILD_OBJ_DIR); cd $(LLVM_SRC_ROOT); pwd)
130126 endif
131127
132128 ###########################################################################
160156
161157 # Print out the directories used for building
162158 prdirs::
163 echo "Home Offset : " $(HOME_OBJ_ROOT)
164 echo "Build Source Root: " $(BUILD_SRC_ROOT)
165 echo "Build Source Dir : " $(BUILD_SRC_DIR)
166 echo "Build Object Root: " $(BUILD_OBJ_ROOT)
167 echo "Build Object Dir : " $(BUILD_OBJ_DIR)
168 echo "LLVM Source Root: " $(LLVM_SRC_ROOT)
169 echo "LLVM Object Root: " $(LLVM_OBJ_ROOT)
159 @echo "Home Offset : " $(HOME_OBJ_ROOT)
160 @echo "Build Source Root: " $(BUILD_SRC_ROOT)
161 @echo "Build Source Dir : " $(BUILD_SRC_DIR)
162 @echo "Build Object Root: " $(BUILD_OBJ_ROOT)
163 @echo "Build Object Dir : " $(BUILD_OBJ_DIR)
164 @echo "LLVM Source Root: " $(LLVM_SRC_ROOT)
165 @echo "LLVM Object Root: " $(LLVM_OBJ_ROOT)
170166
171167 ###########################################################################
172168 # Suffixes and implicit rules:
3131 #
3232 # 6. LLVM_SRC_ROOT - If specified, points to the top of the LLVM source tree.
3333 #
34 # 7. LLVM_OBJ_ROOT - If specified, points to the top directory where LLVM
35 # object files are placed.
36 #
3734 # 8. BUILD_SRC_DIR - The directory which contains the current set of Makefiles
3835 # and usually the source code too (unless SourceDir is set).
3936 #
4542 # placed.
4643 #
4744 # For building,
48 # LLVM, LLVM_SRC_ROOT = BUILD_SRC_ROOT, and
49 # LLVM_OBJ_ROOT = BUILD_OBJ_ROOT.
45 # LLVM, LLVM_SRC_ROOT = BUILD_SRC_ROOT
5046 #
5147 #===-----------------------------------------------------------------------====
5248
126122 # Set the LLVM object directory.
127123 #
128124 ifndef LLVM_OBJ_ROOT
129 LLVM_OBJ_ROOT := $(BUILD_OBJ_ROOT)
125 LLVM_OBJ_ROOT := $(shell cd $(BUILD_OBJ_DIR); cd $(LLVM_SRC_ROOT); pwd)
130126 endif
131127
132128 ###########################################################################
160156
161157 # Print out the directories used for building
162158 prdirs::
163 echo "Home Offset : " $(HOME_OBJ_ROOT)
164 echo "Build Source Root: " $(BUILD_SRC_ROOT)
165 echo "Build Source Dir : " $(BUILD_SRC_DIR)
166 echo "Build Object Root: " $(BUILD_OBJ_ROOT)
167 echo "Build Object Dir : " $(BUILD_OBJ_DIR)
168 echo "LLVM Source Root: " $(LLVM_SRC_ROOT)
169 echo "LLVM Object Root: " $(LLVM_OBJ_ROOT)
159 @echo "Home Offset : " $(HOME_OBJ_ROOT)
160 @echo "Build Source Root: " $(BUILD_SRC_ROOT)
161 @echo "Build Source Dir : " $(BUILD_SRC_DIR)
162 @echo "Build Object Root: " $(BUILD_OBJ_ROOT)
163 @echo "Build Object Dir : " $(BUILD_OBJ_DIR)
164 @echo "LLVM Source Root: " $(LLVM_SRC_ROOT)
165 @echo "LLVM Object Root: " $(LLVM_OBJ_ROOT)
170166
171167 ###########################################################################
172168 # Suffixes and implicit rules: