X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=Makefile.common;h=a157abaef274178cbfb12efda11b5230a73b9a5e;hp=d33d3da9b86614dbec0873f603b10e7b1d922959;hb=2507c58ca21ee01c359cd5ddf2fe84eea16366ee;hpb=6ca9e444ac03259aa86e13b9d1146e185f666abf diff --git a/Makefile.common b/Makefile.common index d33d3da9b86..a157abaef27 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,10 +1,10 @@ #===-- Makefile.common - 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. -# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# #===------------------------------------------------------------------------===# # # This file is included by all of the LLVM makefiles. This file defines common @@ -15,8 +15,8 @@ # The following functionality can be set by setting incoming variables. # The variable $(LEVEL) *must* be set: # -# 1. LEVEL - The level of the current subdirectory from the top of the -# source directory. This level should be expressed as a path, for +# 1. LEVEL - The level of the current subdirectory from the top of the +# source directory. This level should be expressed as a path, for # example, ../.. for two levels deep. # # 2. DIRS - A list of subdirectories to be built. Fake targets are set up @@ -28,10 +28,9 @@ # built in any order. All DIRS are built in order before PARALLEL_DIRS are # built, which are then built in any order. # -# 4. Source - If specified, this sets the source code filenames. If this -# is not set, it defaults to be all of the .cpp, .c, .y, and .l files -# in the current directory. Also, if you want to build files in addition -# to the local files, you can use the ExtraSource variable +# 4. SOURCES - If specified, this sets the source code filenames. If this +# is not set, it defaults to be all of the .cpp, .c, .y, and .l files +# in the current directory. # # 5. SourceDir - If specified, this specifies a directory that the source files # are in, if they are not in the current directory. This should include a @@ -39,24 +38,24 @@ # # 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