Rewrite emitCastOperation, refactoring parts of it into emitIntegerCast, and
[oota-llvm.git] / Makefile_config
1 #,===-- Makefile.rules.am - Common make rules for LLVM ------*- Makefile -*--===#
2 #
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by Reid Spencer and is distributed under the 
6 # University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 #===------------------------------------------------------------------------===#
9
10 # Options for all automake makefiles
11 ACLOCAL_AMFLAGS  = -I autoconf -I autoconf/m4 --output=autoconf/aclocal.m4
12 AUTOMAKE_OPTIONS = foreign dejagnu dist-zip nostdinc
13
14 # Autoconf configured values
15 LLVM_PREFIX    := @LLVM_PREFIX@
16 LLVM_BINDIR    := @LLVM_BINDIR@
17 LLVM_LIBDIR    := @LLVM_LIBDIR@
18 LLVM_DATADIR   := @LLVM_DATADIR@
19 LLVM_DOCSDIR   := @LLVM_DOCSDIR@
20 LLVM_ETCDIR    := @LLVM_ETCDIR@
21 LLVM_INCLUDEDIR:= @LLVM_INCLUDEDIR@ 
22 LLVM_INFODIR   := @LLVM_INFODIR@
23 LLVM_MANDIR    := @LLVM_MANDIR@
24 BUILDMODE      := @BUILDMODE@
25
26 # Shared library extension for this platform.
27 SHLIBEXT = @SHLIBEXT@
28
29 # Executable file extension for this platform.
30 EXEEXT = @EXEEXT@
31
32 # Target operating system for which LLVM will be compiled.
33 OS=@OS@
34
35 # Target hardware architecture
36 ARCH=@ARCH@
37
38 # Endian-ness of the target
39 ENDIAN=@ENDIAN@
40
41 # Path to the C++ compiler to use.  This is an optional setting, which defaults
42 # to whatever your gmake defaults to.
43 CXX = @CXX@
44
45 # Path to the CC binary, which use used by testcases for native builds.
46 CC := @CC@
47
48 # Path to the Python interpreter
49 PYTHON := @PYTHON@
50
51 # Linker flags.
52 LDFLAGS+=@LDFLAGS@
53
54 # Libraries needed by tools
55 TOOLLINKOPTS=@LIBS@
56
57 # Path to the library archiver program.
58 AR_PATH = @AR@
59
60 # The pathnames of the Flex and Bison programs, respectively.
61 YACC     = @YACC@
62 BISON    = @BISON@
63 FLEX     = @LEX@
64
65 # Paths to miscellaneous programs.
66 RPWD    = pwd
67 SED     = sed
68 RM      = rm
69 CP      = cp
70 LN      = ln
71 CMP     = cmp
72 ECHO    = echo
73 MKDIR   = @abs_top_srcdir@/autoconf/mkinstalldirs
74 DATE    = date
75 MV      = mv
76 VERB    := @
77 IGNORE  := true
78 INSTALL = @INSTALL@
79 DOT     = @DOT@
80 ETAGS   = @ETAGS@
81 ETAGSFLAGS = @ETAGSFLAGS@
82
83 # Determine the target for which LLVM should generate code.
84 LLVMGCCARCH := @target@/3.4-llvm
85
86 # Full pathnames of LLVM C/C++ front-end 'cc1' and 'cc1plus' binaries:
87 LCC1 = @LLVMCC1@
88 LCC1XX = @LLVMCC1PLUS@
89
90 # Path to directory where object files should be stored during a build.
91 # Set OBJ_ROOT to "." if you do not want to use a separate place for
92 # object files.
93 OBJ_ROOT := .
94
95 # Path to location for LLVM C/C++ front-end. You can modify this if you
96 # want to override the value set by configure.
97 LLVMGCCDIR := @LLVMGCCDIR@
98
99 # These are options that can either be enabled here, or can be enabled on the
100 # make command line (ie, make ENABLE_PROFILING=1):
101
102 # When ENABLE_OPTIMIZED is enabled, Release builds of all of the LLVM code are
103 # turned on, and Debug builds are turned off.
104 #ENABLE_OPTIMIZED = 1
105
106 # When ENABLE_PROFILING is enabled, the llvm source base is built with profile
107 # information to allow gprof to be used to get execution frequencies.
108 #ENABLE_PROFILING = 1
109
110 # This option tells the Makefiles to produce verbose output.
111 # It essentially prints the commands that make is executing
112 #VERBOSE = 1
113
114
115 # Include the rules.
116 # WARNING NOTE WARNING NOTE WARNING NOTE WARNING NOTE
117 # The inclusion of Makefile_rules MUST be done such that there is a space
118 # before "include". This prevents automake from processing the file and
119 # simply passes the inclusion on to GNU Make. The rules in Makefile_rules
120 # depend on this. DO NOT REMOVE THE SPACE BEFORE "include"
121  include $(top_srcdir)/Makefile_rules