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