X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.common;h=ca8f33673ffbd33b7614ce4d2876ba72f8cc4d39;hb=fd98dc9a76b0b00b3f076fb9c09f698b1b592ab1;hp=2b0a6968d06b5b1ad67b5c887fb7012c860dde15;hpb=c74ea9f3b0f5e911f21cd211370ff192efa27edc;p=oota-llvm.git diff --git a/Makefile.common b/Makefile.common index 2b0a6968d06..ca8f33673ff 100644 --- a/Makefile.common +++ b/Makefile.common @@ -39,25 +39,29 @@ # # 6. LLVM_SRC_ROOT - If specified, points to the top of the LLVM source tree. # -# 8. BUILD_SRC_DIR - The directory which contains the current set of Makefiles +# 8. PROJ_SRC_DIR - The directory which contains the current set of Makefiles # and usually the source code too (unless SourceDir is set). # -# 9. BUILD_SRC_ROOT - The root directory of the source code being compiled. +# 9. PROJ_SRC_ROOT - The root directory of the source code being compiled. # -# 10. BUILD_OBJ_DIR - The directory where object code should be placed. +# 10. PROJ_OBJ_DIR - The directory where object code should be placed. # -# 11. BUILD_OBJ_ROOT - The root directory for where object code should be +# 11. PROJ_OBJ_ROOT - The root directory for where object code should be # placed. # # For building, -# LLVM, LLVM_SRC_ROOT = BUILD_SRC_ROOT +# LLVM, LLVM_SRC_ROOT = PROJ_SRC_ROOT # #===-----------------------------------------------------------------------==== # # Configuration file to set paths specific to local installation of LLVM # +ifndef LLVM_OBJ_ROOT include $(LEVEL)/Makefile.config +else +include $(LLVM_OBJ_ROOT)/Makefile.config +endif # # Include all of the build rules used for making LLVM