Makefile.config.in revision 7659545ceef542dc9951673e1f9085ef2d045699
1#===-- Makefile.config - Local configuration for LLVM ------*- makefile -*--====
2#
3# This file is included by Makefile.common.  It defines paths and other
4# values specific to a particular installation of LLVM.
5#===-----------------------------------------------------------------------====
6
7#
8# Target operating system for which LLVM will be compiled.
9#
10OS=@OS@
11
12#
13# Target hardware architecture
14#
15ARCH=@ARCH@
16
17# Path to the C++ compiler to use.  This is an optional setting, which defaults
18# to whatever your gmake defaults to.
19#
20# Under Linux, for some reason the compiler driver wants to search the PATH to
21# find the system assembler, which breaks if the LLVM assembler is in our path.
22# Hack it to use the assembler in /usr/bin directly.
23#
24CXX = @CXX@
25
26# We have the same problem with the CC binary, which use used by testcases for
27# native builds.
28#
29CC := @CC@
30
31#
32# Compilation flags for the C and C++ compilers.
33#
34CPPFLAGS+=@DEFS@
35CCFLAGS+=@DEFS@
36LDFLAGS+=@LDFLAGS@
37
38#
39# Removed since it prevents the tests from working properly.
40#
41#LIBS+=@LIBS@
42
43#
44# Libraries needed by tools
45#
46TOOLLINKOPTS=@LIBS@
47
48#
49# Path to the archiver program.
50#
51AR_PATH = @AR@
52
53#
54# The pathnames of the Flex and Bison programs, respectively.
55#
56BISON    = @YACC@
57FLEX     = @LEX@
58
59#
60# Paths to miscellaneous programs.
61#
62SED     = @SED@
63RM      = @RM@
64ECHO    = @ECHO@
65MKDIR   = @abs_top_srcdir@/mkinstalldirs
66DATE    = @DATE@
67MV      = @MV@
68INSTALL = @INSTALL@
69DOT     = @DOT@
70ETAGS   = @ETAGS@
71
72#
73# Determine the target for which LLVM should generate code.
74#
75LLVMGCCARCH := @target@/3.4-llvm
76
77# Path to directory where object files should be stored during a build.
78# Set OBJ_ROOT to "." if you do not want to use a separate place for
79# object files.
80# 
81#OBJ_ROOT = .
82OBJ_ROOT := @OBJROOT@
83
84# Path to location for LLVM front-end this should only be specified here if you
85# want to override the value set in Makefile.$(uname)
86#
87LLVMGCCDIR := @LLVMGCCDIR@
88
89# When this setting is set to true, programs in the llvm/test/Programs hierarchy
90# are not recompiled from source code.  Instead, the bytecode for the file is
91# pulled from the BYTECODE_REPOSITORY directory.  This can be useful when disk
92# space is limited or when you just don't want to spend time running the C
93# frontend.
94#
95#USE_PRECOMPILED_BYTECODE := 1
96@UPB@
97
98# This path specifies the cannonical location of bytecode files for compiled
99# versions of the test/Programs/* programs.  This is used as the bytecode source
100# when USE_PRECOMPILED_BYTECODE is specified or when source code is not
101# available for the program (such as SPEC).
102#
103BYTECODE_REPOSITORY := @BCR@
104
105# Path to location for purify, this is only needed if you build with
106# ENABLE_PURIFY=1
107# 
108PURIFY = @PURIFY@
109
110#
111# SPEC benchmarks:
112#	Set the USE_SPEC variable to enable the use of the SPEC benchmarks.
113#	You must provide the SPEC benchmarks on your own.
114#
115@USE_SPEC@
116
117#
118# Path to the SPEC benchmarks.  If you have the SPEC benchmarks, place the
119# path here.
120#
121#SPEC_ROOT := /home/vadve/shared/benchmarks/speccpu2000/benchspec
122SPEC_ROOT := @SPEC_ROOT@
123
124#
125# Path to the PAPI code.  This is used by the reoptimizer only.
126#
127#PAPIDIR := /home/vadve/shared/papi-2.3.4.1
128PAPIDIR := @PAPIDIR@
129
130# These are options that can either be enabled here, or can be enabled on the
131# make command line (ie, make ENABLE_PROFILING=1)
132#
133
134# When ENABLE_OPTIMIZED is enabled, Release builds of all of the LLVM code are
135# turned on, and Debug builds are turned off.
136#
137#ENABLE_OPTIMIZED = 1
138@ENABLE_OPTIMIZED@
139
140# When ENABLE_PROFILING is enabled, the llvm source base is built with profile
141# information to allow gprof to be used to get execution frequencies.
142#
143#ENABLE_PROFILING = 1
144@ENABLE_PROFILING@
145
146#
147# This open tells the Makefiles to produce verbose output.
148# It essentially prints the commands that make is executing
149#
150#VERBOSE = 1
151
152# When ENABLE_PURIFY is set to 1, the LLVM tools are linked with purify (which
153# must be locally installed) to allow for some automated memory error debugging.
154#
155#ENABLE_PURIFY = 1
156@ENABLE_PURIFY@
157
158#
159# Enable JIT for this platform
160#
161@JIT@
162
163#
164# Disable LLC diffs for testing.
165#
166@DISABLE_LLC_DIFFS@
167
168