llvm.org GIT mirror llvm / f1dd200
Remove some whitespace and fix up some comments. Take settings of LCC and LCC1XX from configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10902 91177308-0d34-0410-b5e6-96231b3b80d8 Brian Gaeke 15 years ago
1 changed file(s) with 9 addition(s) and 69 deletion(s). Raw diff Collapse all Expand all
11 #
22 # This file is included by Makefile.common. It defines paths and other
33 # values specific to a particular installation of LLVM.
4 #
45 #===-----------------------------------------------------------------------====
56
6 #
77 # Target operating system for which LLVM will be compiled.
8 #
98 OS=@OS@
109
11 #
1210 # Target hardware architecture
13 #
1411 ARCH=@ARCH@
1512
1613 # Path to the C++ compiler to use. This is an optional setting, which defaults
1916 # Under Linux, for some reason the compiler driver wants to search the PATH to
2017 # find the system assembler, which breaks if the LLVM assembler is in our path.
2118 # Hack it to use the assembler in /usr/bin directly.
22 #
2319 CXX = @CXX@
2420
2521 # We have the same problem with the CC binary, which use used by testcases for
2622 # native builds.
27 #
2823 CC := @CC@
2924
30 #
31 # Compilation flags for the C and C++ compilers.
32 #
33
34 #
35 # Removing the compiler flags for now. They interfere with the test suite
36 # (which has its own autoconf stuff), and we don't use -DHAVE_CONFIG_H anyway.
37 #
38 #CPPFLAGS+=@DEFS@
39 #CCFLAGS+=@DEFS@
25 # Linker flags.
4026 LDFLAGS+=@LDFLAGS@
4127
42 #
43 # Removed since it prevents the tests from working properly.
44 #
45 #LIBS+=@LIBS@
46
47 #
4828 # Libraries needed by tools
49 #
5029 TOOLLINKOPTS=@LIBS@
5130
52 #
53 # Path to the archiver program.
54 #
31 # Path to the library archiver program.
5532 AR_PATH = @AR@
5633
57 #
5834 # The pathnames of the Flex and Bison programs, respectively.
59 #
6035 YACC = @YACC@
6136 BISON = @BISON@
6237 FLEX = @LEX@
6338
64 #
6539 # Paths to miscellaneous programs.
66 #
6740 RPWD = pwd
6841 SED = sed
6942 RM = rm
7548 DOT = @DOT@
7649 ETAGS = @ETAGS@
7750
78 #
7951 # Determine the target for which LLVM should generate code.
80 #
8152 LLVMGCCARCH := @target@/3.4-llvm
53
54 # Full pathnames of LLVM C/C++ front-end 'cc1' and 'cc1plus' binaries:
55 LCC1 = @LLVMCC1@
56 LCC1XX = @LLVMCC1PLUS@
8257
8358 # Path to directory where object files should be stored during a build.
8459 # Set OBJ_ROOT to "." if you do not want to use a separate place for
8560 # object files.
86 #
87 #OBJ_ROOT = .
8861 OBJ_ROOT := .
8962
9063 # Path to location for LLVM front-end this should only be specified here if you
9164 # want to override the value set in Makefile.$(uname)
92 #
9365 LLVMGCCDIR := @LLVMGCCDIR@
9466
95 # When this setting is set to true, programs in the llvm/test/Programs hierarchy
67 # When this variable is set to 1, programs in the llvm/test/Programs hierarchy
9668 # are not recompiled from source code. Instead, the bytecode for the file is
9769 # pulled from the BYTECODE_REPOSITORY directory. This can be useful when disk
9870 # space is limited or when you just don't want to spend time running the C
9971 # frontend.
100 #
10172 #USE_PRECOMPILED_BYTECODE := 1
10273 @UPB@
10374
10576 # versions of the test/Programs/* programs. This is used as the bytecode source
10677 # when USE_PRECOMPILED_BYTECODE is specified or when source code is not
10778 # available for the program (such as SPEC).
108 #
10979 BYTECODE_REPOSITORY := @BCR@
11080
111 #
11281 # SPEC benchmarks:
11382 # Set the USE_SPEC variable to enable the use of the SPEC benchmarks.
11483 # You must provide the SPEC benchmarks on your own.
115 #
11684 @USE_SPEC@
11785
118 #
11986 # Path to the SPEC benchmarks. If you have the SPEC benchmarks, place the
12087 # path here.
121 #
12288 #SPEC_ROOT := /home/vadve/shared/benchmarks/speccpu2000/benchspec
12389 SPEC_ROOT := @SPEC_ROOT@
12490
125 #
12691 # Path to the PAPI code. This is used by the reoptimizer only.
127 #
12892 #PAPIDIR := /home/vadve/shared/papi-2.3.4.1
12993 PAPIDIR := @PAPIDIR@
13094
13195 # These are options that can either be enabled here, or can be enabled on the
132 # make command line (ie, make ENABLE_PROFILING=1)
133 #
96 # make command line (ie, make ENABLE_PROFILING=1):
13497
13598 # When ENABLE_OPTIMIZED is enabled, Release builds of all of the LLVM code are
13699 # turned on, and Debug builds are turned off.
137 #
138100 #ENABLE_OPTIMIZED = 1
139101 @ENABLE_OPTIMIZED@
140102
141103 # When ENABLE_PROFILING is enabled, the llvm source base is built with profile
142104 # information to allow gprof to be used to get execution frequencies.
143 #
144105 #ENABLE_PROFILING = 1
145106
146 #
147107 # This option tells the Makefiles to produce verbose output.
148108 # It essentially prints the commands that make is executing
149 #
150109 #VERBOSE = 1
151110
152 #
153111 # Enable JIT for this platform
154 #
155112 @JIT@
156113
157 #
158114 # Disable LLC diffs for testing.
159 #
160115 @DISABLE_LLC_DIFFS@
161116
162117 ###########################################################################
175130 #
176131 ###########################################################################
177132
178 #
179133 # Set the object build directory. By default, it is the current directory.
180 #
181134 ifndef BUILD_OBJ_DIR
182135 BUILD_OBJ_DIR := $(subst //,/,$(shell $(RPWD)))
183136 endif
184137
185 #
186138 # Set the root of the object directory.
187 #
188139 ifndef BUILD_OBJ_ROOT
189140 BUILD_OBJ_ROOT := $(subst //,/,$(shell cd $(BUILD_OBJ_DIR)/$(LEVEL); $(RPWD)))
190141 endif
191142
192 #
193143 # Set the source build directory. That is almost always the current directory.
194 #
195144 ifndef BUILD_SRC_DIR
196145 BUILD_SRC_DIR := $(subst //,/,@abs_top_srcdir@/$(patsubst $(BUILD_OBJ_ROOT)%,%,$(BUILD_OBJ_DIR)))
197146 endif
198147
199 #
200148 # Set the source root directory.
201 #
202149 ifndef BUILD_SRC_ROOT
203150 BUILD_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
204151 endif
205152
206 #
207153 # Set the LLVM object directory.
208 #
209154 ifndef LLVM_OBJ_ROOT
210155 ifdef LLVM_SRC_ROOT
211156 LLVM_OBJ_ROOT := $(shell cd $(LLVM_SRC_ROOT); $(RPWD))
214159 endif
215160 endif
216161
217 #
218162 # Set the LLVM source directory.
219163 # It is typically the root directory of what we're compiling now.
220 #
221164 ifndef LLVM_SRC_ROOT
222165 LLVM_SRC_ROOT := $(BUILD_SRC_ROOT)
223166 endif
224167
225 #
226168 # Set SourceDir for backwards compatbility.
227 #
228169 ifndef SourceDir
229170 SourceDir=$(BUILD_SRC_DIR)
230171 endif
231172
232173 # Installation directories, as provided by the configure script.
233
234174 exec_prefix = @exec_prefix@
235175 prefix = @prefix@
236176 program_transform_name = @program_transform_name@