1 #,===-- Makefile.rules.am - Common make rules for LLVM ------*- Makefile -*--===#
3 # The LLVM Compiler Infrastructure
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.
8 #===------------------------------------------------------------------------===#
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
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@
26 # Shared library extension for this platform.
29 # Executable file extension for this platform.
32 # Target operating system for which LLVM will be compiled.
35 # Target hardware architecture
38 # Endian-ness of the target
41 # Path to the C++ compiler to use. This is an optional setting, which defaults
42 # to whatever your gmake defaults to.
45 # Path to the CC binary, which use used by testcases for native builds.
48 # Path to the Python interpreter
54 # Libraries needed by tools
57 # Path to the library archiver program.
60 # The pathnames of the Flex and Bison programs, respectively.
65 # Paths to miscellaneous programs.
73 MKDIR = @abs_top_srcdir@/autoconf/mkinstalldirs
81 ETAGSFLAGS = @ETAGSFLAGS@
83 # Determine the target for which LLVM should generate code.
84 LLVMGCCARCH := @target@/3.4-llvm
86 # Full pathnames of LLVM C/C++ front-end 'cc1' and 'cc1plus' binaries:
88 LCC1XX = @LLVMCC1PLUS@
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
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@
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):
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
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
110 # This option tells the Makefiles to produce verbose output.
111 # It essentially prints the commands that make is executing
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