]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/Makefile.in
coretypes.h (struct simple_bitmap_def, [...]): New core types.
[thirdparty/gcc.git] / gcc / Makefile.in
CommitLineData
73458fb7
NN
1# Makefile for GNU Compiler Collection
2# Run 'configure' to generate Makefile from Makefile.in
3
4c4b3eb0 4# Copyright (C) 1987, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
703fdf5a 5# 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
6a4d4e8a 6# 2008, 2009, 2010 Free Software Foundation, Inc.
79d8453e 7
1322177d 8#This file is part of GCC.
79d8453e 9
1322177d 10#GCC is free software; you can redistribute it and/or modify
79d8453e 11#it under the terms of the GNU General Public License as published by
9dcd6f09 12#the Free Software Foundation; either version 3, or (at your option)
79d8453e
RS
13#any later version.
14
1322177d 15#GCC is distributed in the hope that it will be useful,
79d8453e
RS
16#but WITHOUT ANY WARRANTY; without even the implied warranty of
17#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18#GNU General Public License for more details.
19
20#You should have received a copy of the GNU General Public License
9dcd6f09
NC
21#along with GCC; see the file COPYING3. If not see
22#<http://www.gnu.org/licenses/>.
79d8453e
RS
23
24# The targets for external use include:
52c0e446 25# all, doc, install, install-cross, install-cross-rest,
8b1f719a 26# uninstall, TAGS, mostlyclean, clean, distclean, maintainer-clean.
79d8453e 27
6c80a645 28# This is the default target.
73458fb7
NN
29# Set by autoconf to "all.internal" for a native build, or
30# "all.cross" to build a cross compiler.
31all: @ALL@
32
33# Depend on this to specify a phony target portably.
34force:
35
36# This tells GNU make version 3 not to export the variables
37# defined in this file into the environment (and thus recursive makes).
38.NOEXPORT:
39# And this tells it not to automatically pass command-line variables
40# to recursive makes.
41MAKEOVERRIDES =
6c80a645 42
03787dfd 43# Suppress smart makes who think they know how to automake yacc and flex file
2e494f70 44.y.c:
03787dfd 45.l.c:
2e494f70 46
73458fb7
NN
47# The only suffixes we want for implicit rules are .c and .o, so clear
48# the list and add them. This speeds up GNU Make, and allows -r to work.
49# For i18n support, we also need .gmo, .po, .pox.
50# This must come before the language makefile fragments to allow them to
51# add suffixes and rules of their own.
52.SUFFIXES:
53.SUFFIXES: .c .o .po .pox .gmo
54
55# -------------------------------
56# Standard autoconf-set variables
57# -------------------------------
58
4665e56c
NN
59build=@build@
60host=@host@
73458fb7 61target=@target@
e165d61b 62target_noncanonical:=@target_noncanonical@
73458fb7
NN
63
64# Sed command to transform gcc to installed name.
e165d61b 65program_transform_name := @program_transform_name@
73458fb7
NN
66
67# -----------------------------
68# Directories used during build
69# -----------------------------
70
71# Directory where sources are, from where we are.
72srcdir = @srcdir@
ad3a7ce3 73gcc_docdir = @srcdir@/doc
71cbe2c1
KC
74
75# Directory where sources are, absolute.
76abs_srcdir = @abs_srcdir@
77abs_docdir = @abs_srcdir@/doc
3859c32a 78
5da9128a
PB
79# Top build directory for this package, relative to here.
80top_builddir = .
3bbd5a19 81
da0f6381
PB
82# The absolute path to the current directory.
83objdir := $(shell pwd)
73458fb7 84
215c351a 85host_subdir=@host_subdir@
71b5d516 86build_subdir=@build_subdir@
3bbd5a19 87target_subdir=@target_subdir@
57255173 88build_libsubdir=@build_libsubdir@
71b5d516 89
3bbd5a19 90# Top build directory for the "Cygnus tree", relative to $(top_builddir).
215c351a 91ifeq ($(host_subdir),.)
3bbd5a19 92toplevel_builddir := ..
215c351a 93else
3bbd5a19 94toplevel_builddir := ../..
215c351a
PB
95endif
96
3bbd5a19
PB
97build_objdir := $(toplevel_builddir)/$(build_subdir)
98build_libobjdir := $(toplevel_builddir)/$(build_libsubdir)
99target_objdir := $(toplevel_builddir)/$(target_subdir)
100
65455962
KC
101# --------
102# Defined vpaths
103# --------
104
105# Directory where sources are, from where we are.
106VPATH = @srcdir@
107
5340bbea 108# We define a vpath for the sources of the .texi files here because they
65455962
KC
109# are split between multiple directories and we would rather use one implicit
110# pattern rule for everything.
111# This vpath could be extended within the Make-lang fragments.
112
d683ec81
PB
113vpath %.texi $(gcc_docdir)
114vpath %.texi $(gcc_docdir)/include
65455962 115
73458fb7
NN
116# --------
117# UNSORTED
118# --------
119
79d8453e
RS
120# Variables that exist for you to override.
121# See below for how to change them for certain systems.
122
013a2ee0 123# List of language subdirectories.
19361834 124SUBDIRS =@subdirs@ build
013a2ee0 125
79d8453e 126# Selection of languages to be made.
cc11cc9b 127CONFIG_LANGUAGES = @all_selected_languages@
4977bab6 128LANGUAGES = c gcov$(exeext) gcov-dump$(exeext) $(CONFIG_LANGUAGES)
79d8453e 129
00afcaa0 130# Default values for variables overridden in Makefile fragments.
78faa32d 131# CFLAGS is for the user to override to, e.g., do a cross build with -O2.
b8dad04b 132# TCFLAGS is used for compilations with the GCC just built.
00afcaa0
PB
133# T_CFLAGS is used for all compilations and is overridden by t-* files.
134T_CFLAGS =
b8dad04b 135TCFLAGS =
ec6c7392 136CFLAGS = @CFLAGS@
00020c16 137CXXFLAGS = @CXXFLAGS@
cc11cc9b 138LDFLAGS = @LDFLAGS@
b8dad04b 139
22aa533e
NS
140# Flags to determine code coverage. When coverage is disabled, this will
141# contain the optimization flags, as you normally want code coverage
e61a2eb7 142# without optimization.
22aa533e 143COVERAGE_FLAGS = @coverage_flags@
160e2e4f 144coverageexts = .{gcda,gcno}
22aa533e 145
8b1f719a 146# The warning flags are separate from CFLAGS because people tend to
5b67ad6f
DA
147# override optimization flags and we'd like them to still have warnings
148# turned on. These flags are also used to pass other stage dependent
149# flags from configure. The user is free to explicitly turn these flags
150# off if they wish.
b8dad04b 151# LOOSE_WARN are the warning flags to use when compiling something
8dd9a120 152# which is only compiled with gcc, such as libgcc.
00020c16 153# C_LOOSE_WARN is similar, but with C-only warnings.
8b1f719a 154# STRICT_WARN are the additional warning flags to
8dd9a120 155# apply to the back end and some front ends, which may be compiled
8b1f719a 156# with other compilers.
00020c16 157# C_STRICT_WARN is similar, with C-only warnings.
3bbd5a19 158LOOSE_WARN = @loose_warn@
00020c16 159C_LOOSE_WARN = @c_loose_warn@
8b1f719a 160STRICT_WARN = @strict_warn@
00020c16 161C_STRICT_WARN = @c_strict_warn@
b8dad04b 162
204250d2
RH
163# This is set by --enable-checking. The idea is to catch forgotten
164# "extern" tags in header files.
165NOCOMMON_FLAG = @nocommon_flag@
166
73e232f0 167# This is set by --disable-maintainer-mode (default) to "#"
e9c4897b 168MAINT := @MAINT@
73e232f0 169
414d23ae
HPN
170# These are set by --enable-checking=valgrind.
171RUN_GEN = @valgrind_command@
172VALGRIND_DRIVER_DEFINES = @valgrind_path_defines@
173
b8dad04b
ZW
174# This is how we control whether or not the additional warnings are applied.
175.-warn = $(STRICT_WARN)
9a43b902 176build-warn = $(STRICT_WARN)
00020c16
ILT
177GCC_WARN_CFLAGS = $(LOOSE_WARN) $(C_LOOSE_WARN) $($(@D)-warn) $(if $(filter-out $(STRICT_WARN),$($(@D)-warn)),,$(C_STRICT_WARN)) $(NOCOMMON_FLAG) $($@-warn)
178GCC_WARN_CXXFLAGS = $(LOOSE_WARN) $($(@D)-warn) $(NOCOMMON_FLAG) $($@-warn)
dd859b8a 179
89a42ac8
ZW
180# These files are to have specific diagnostics suppressed, or are not to
181# be subject to -Werror:
87f85ea0 182# flex output may yield harmless "no previous prototype" warnings
406176be 183build/gengtype-lex.o-warn = -Wno-error
1f57487c
RO
184# mips-tfile.c contains -Wcast-qual warnings.
185mips-tfile.o-warn = -Wno-error
12bd5a1e 186expmed.o-warn = -Wno-error
b8dad04b
ZW
187
188# All warnings have to be shut off in stage1 if the compiler used then
189# isn't gcc; configure determines that. WARN_CFLAGS will be either
00020c16
ILT
190# $(GCC_WARN_CFLAGS), or nothing. Similarly, WARN_CXXFLAGS will be
191# either $(GCC_WARN_CXXFLAGS), or nothing.
b8dad04b 192WARN_CFLAGS = @warn_cflags@
00020c16 193WARN_CXXFLAGS = @warn_cxxflags@
b8dad04b 194
f5d394a6
DB
195CPPFLAGS = @CPPFLAGS@
196
ab87f8c8 197AWK = @AWK@
b614ee64 198CC = @CC@
00020c16 199CXX = @CXX@
1e608388 200BISON = @BISON@
0777e4c6 201BISONFLAGS =
1e608388
ZW
202FLEX = @FLEX@
203FLEXFLAGS =
f6a874ac 204AR = @AR@
79d8453e 205AR_FLAGS = rc
f6a874ac 206NM = @NM@
6822468a 207RANLIB = @RANLIB@
343a6100 208RANLIB_FLAGS = @ranlib_flags@
73458fb7 209
ed2eaa9f
ILT
210# Libraries to use on the host.
211HOST_LIBS = @HOST_LIBS@
212
00020c16
ILT
213# The name of the compiler to use.
214ENABLE_BUILD_WITH_CXX = @ENABLE_BUILD_WITH_CXX@
215ifneq ($(ENABLE_BUILD_WITH_CXX),yes)
7980bfb8
ILT
216COMPILER = $(CC)
217COMPILER_FLAGS = $(CFLAGS)
c607156f
ILT
218LINKER = $(CC)
219LINKER_FLAGS = $(CFLAGS)
00020c16
ILT
220else
221COMPILER = $(CXX)
222COMPILER_FLAGS = $(CXXFLAGS)
ed2eaa9f
ILT
223# If HOST_LIBS is set, then the user is controlling the libraries to
224# link against. In that case, link with $(CC) so that the -lstdc++
225# library is not introduced. If HOST_LIBS is not set, link with
226# $(CXX) to pick up -lstdc++.
227ifeq ($(HOST_LIBS),)
00020c16
ILT
228LINKER = $(CXX)
229LINKER_FLAGS = $(CXXFLAGS)
ed2eaa9f
ILT
230else
231LINKER = $(CC)
232LINKER_FLAGS = $(CFLAGS)
233endif
00020c16 234endif
7980bfb8 235
73458fb7
NN
236# -------------------------------------------
237# Programs which operate on the build machine
238# -------------------------------------------
239
b41e09a7 240SHELL = @SHELL@
1e6347d8
RO
241# pwd command to use. Allow user to override default by setting PWDCMD in
242# the environment to account for automounters. The make variable must not
243# be called PWDCMD, otherwise the value set here is passed to make
244# subprocesses and overrides the setting from the user's environment.
8c90b13a
L
245# Don't use PWD since it is a common shell environment variable and we
246# don't want to corrupt it.
247PWD_COMMAND = $${PWDCMD-pwd}
79d8453e 248# on sysV, define this as cp.
3c18ea24 249INSTALL = @INSTALL@
ac64120e
JW
250# Some systems may be missing symbolic links, regular links, or both.
251# Allow configure to check this and use "ln -s", "ln", or "cp" as appropriate.
252LN=@LN@
253LN_S=@LN_S@
79d8453e 254# These permit overriding just for certain files.
fca9d4b0
MH
255INSTALL_PROGRAM = @INSTALL_PROGRAM@
256INSTALL_DATA = @INSTALL_DATA@
7c1e8336 257INSTALL_SCRIPT = @INSTALL@
09fa0705 258MAKEINFO = @MAKEINFO@
a541f69d 259MAKEINFOFLAGS = --no-split
d8984b6e 260TEXI2DVI = texi2dvi
b5422ad7 261TEXI2PDF = texi2pdf
9d65c5cb 262TEXI2HTML = $(MAKEINFO) --html
fd939e46 263TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl
77bd67cb 264POD2MAN = pod2man --center="GNU" --release="gcc-$(version)"
5262d6b6 265# Some versions of `touch' (such as the version on Solaris 2.8)
d9835ae8 266# do not correctly set the timestamp due to buggy versions of `utime'
5262d6b6 267# in the kernel. So, we use `echo' instead.
d9835ae8 268STAMP = echo timestamp >
703fdf5a
RW
269# If necessary (e.g., when using the MSYS shell on Microsoft Windows)
270# translate the shell's notion of absolute pathnames to the native
271# spelling.
a0e527e3 272build_file_translate = @build_file_translate@
d9835ae8 273
73458fb7
NN
274# Make sure the $(MAKE) variable is defined.
275@SET_MAKE@
276
947c6b00
NN
277# Locate mkinstalldirs.
278mkinstalldirs=$(SHELL) $(srcdir)/../mkinstalldirs
279
a4e4a2d6
RW
280# write_entries_to_file - writes each entry in a list
281# to the specified file. Entries are written in chunks of
282# $(write_entries_to_file_split) to accomodate systems with
283# severe command-line-length limitations.
284# Parameters:
285# $(1): variable containing entries to iterate over
286# $(2): output file
287write_entries_to_file_split = 50
288write_entries_to_file = $(shell rm -f $(2) || :) $(shell touch $(2)) \
289 $(foreach range, \
290 $(shell i=1; while test $$i -le $(words $(1)); do \
291 echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
1b77ee03
MM
292 $(shell echo "$(wordlist $(range), \
293 $(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1))" \
2fdb618d 294 | tr ' ' '\012' >> $(2)))
a4e4a2d6 295
73458fb7
NN
296# --------
297# UNSORTED
298# --------
299
300# Some compilers can't handle cc -c blah.c -o foo/blah.o.
301# In stage2 and beyond, we force this to "-o $@" since we know we're using gcc.
302OUTPUT_OPTION = @OUTPUT_OPTION@
303
b8dad04b
ZW
304# This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
305# -I../zlib, unless we were configured with --with-system-zlib, in which
306# case both are empty.
307ZLIB = @zlibdir@ -lz
308ZLIBINC = @zlibinc@
79d8453e 309
6de9cd9a
DN
310# How to find GMP
311GMPLIBS = @GMPLIBS@
312GMPINC = @GMPINC@
313
f8bf9252
SP
314# How to find PPL
315PPLLIBS = @PPLLIBS@
316PPLINC = @PPLINC@
317
318# How to find CLOOG
319CLOOGLIBS = @CLOOGLIBS@
320CLOOGINC = @CLOOGINC@
321
d7f09764
DN
322# How to find libelf
323LIBELFLIBS = @LIBELFLIBS@
324LIBELFINC = @LIBELFINC@
325
326# Set to 'yes' if the LTO front end is enabled.
327enable_lto = @enable_lto@
328
3bec79c5
DK
329# Set according to LTO object file format.
330LTO_BINARY_READER = @LTO_BINARY_READER@
331LTO_USE_LIBELF = @LTO_USE_LIBELF@
332
eeb971c9
EB
333# Compiler needed for plugin support
334PLUGINCC = @CC@
335
336# Flags needed for plugin support
337PLUGINCFLAGS = @CFLAGS@
338
339# Libs and linker options needed for plugin support
68a607d8
DN
340PLUGINLIBS = @pluginlibs@
341
bf016de8
RAE
342enable_plugin = @enable_plugin@
343
6046b0ed 344CPPLIB = ../libcpp/libcpp.a
4f4e53dd
PB
345CPPINC = -I$(srcdir)/../libcpp/include
346
909e2256 347# Where to find decNumber
79b87c74 348enable_decimal_float = @enable_decimal_float@
909e2256 349DECNUM = $(srcdir)/../libdecnumber
79b87c74
MM
350DECNUMFMT = $(srcdir)/../libdecnumber/$(enable_decimal_float)
351DECNUMINC = -I$(DECNUM) -I$(DECNUMFMT) -I../libdecnumber
909e2256
JG
352LIBDECNUMBER = ../libdecnumber/libdecnumber.a
353
ba1811f1 354# Target to use when installing include directory. Either
ff3aaf17 355# install-headers-tar, install-headers-cpio or install-headers-cp.
3c18ea24 356INSTALL_HEADERS_DIR = @build_install_headers_dir@
ba1811f1 357
d7371761
RK
358# Header files that are made available under the same name
359# to programs compiled with GCC.
b7f0fff2 360USER_H = $(srcdir)/ginclude/float.h \
d57a4b98
RH
361 $(srcdir)/ginclude/iso646.h \
362 $(srcdir)/ginclude/stdarg.h \
363 $(srcdir)/ginclude/stdbool.h \
364 $(srcdir)/ginclude/stddef.h \
365 $(srcdir)/ginclude/varargs.h \
0f996086 366 $(srcdir)/ginclude/stdfix.h \
d57a4b98 367 $(EXTRA_HEADERS)
d7371761 368
617a1b71
PB
369UNWIND_H = $(srcdir)/unwind-generic.h
370
fa958513 371# The GCC to use for compiling crt*.o.
bf428f48 372# Usually the one we just built.
fa958513 373# Don't use this as a dependency--use $(GCC_PASSES).
4977bab6 374GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./xgcc -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include -L$(objdir)/../ld
79d8453e
RS
375
376# This is used instead of ALL_CFLAGS when compiling with GCC_FOR_TARGET.
da0f6381 377# It specifies -B./.
3c9a2b55 378# It also specifies -isystem ./include to find, e.g., stddef.h.
00020c16 379GCC_CFLAGS=$(CFLAGS_FOR_TARGET) $(INTERNAL_CFLAGS) $(T_CFLAGS) $(LOOSE_WARN) $(C_LOOSE_WARN) -Wold-style-definition $($@-warn) -isystem ./include $(TCFLAGS)
79d8453e 380
73458fb7
NN
381# ---------------------------------------------------
382# Programs which produce files for the target machine
383# ---------------------------------------------------
7e717196 384
4ac29b33 385AR_FOR_TARGET := $(shell \
7e717196
JL
386 if [ -f $(objdir)/../binutils/ar ] ; then \
387 echo $(objdir)/../binutils/ar ; \
388 else \
4665e56c 389 if [ "$(host)" = "$(target)" ] ; then \
f6a874ac 390 echo $(AR); \
7e717196 391 else \
439020ec 392 t='$(program_transform_name)'; echo ar | sed -e $$t ; \
7e717196 393 fi; \
4ac29b33 394 fi)
5262d6b6 395AR_FLAGS_FOR_TARGET =
7bde2862
GK
396AR_CREATE_FOR_TARGET = $(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET) rc
397AR_EXTRACT_FOR_TARGET = $(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET) x
ed0db39f 398LIPO_FOR_TARGET = lipo
9f18db39 399ORIGINAL_AS_FOR_TARGET = @ORIGINAL_AS_FOR_TARGET@
4ac29b33 400RANLIB_FOR_TARGET := $(shell \
7e717196
JL
401 if [ -f $(objdir)/../binutils/ranlib ] ; then \
402 echo $(objdir)/../binutils/ranlib ; \
403 else \
4665e56c 404 if [ "$(host)" = "$(target)" ] ; then \
6dd05d08 405 echo $(RANLIB); \
7e717196 406 else \
439020ec 407 t='$(program_transform_name)'; echo ranlib | sed -e $$t ; \
7e717196 408 fi; \
4ac29b33 409 fi)
9f18db39
PB
410ORIGINAL_LD_FOR_TARGET = @ORIGINAL_LD_FOR_TARGET@
411ORIGINAL_NM_FOR_TARGET = @ORIGINAL_NM_FOR_TARGET@
412NM_FOR_TARGET = ./nm
ed0db39f
GK
413STRIP_FOR_TARGET := $(shell \
414 if [ -f $(objdir)/../binutils/strip ] ; then \
415 echo $(objdir)/../binutils/strip ; \
416 else \
417 if [ "$(host)" = "$(target)" ] ; then \
418 echo strip; \
419 else \
420 t='$(program_transform_name)'; echo strip | sed -e $$t ; \
421 fi; \
422 fi)
7e717196 423
73458fb7
NN
424# --------
425# UNSORTED
426# --------
427
4e872036
AS
428# Where to find some libiberty headers.
429HASHTAB_H = $(srcdir)/../include/hashtab.h
e980df8e 430OBSTACK_H = $(srcdir)/../include/obstack.h
5193cc6d 431SPLAY_TREE_H= $(srcdir)/../include/splay-tree.h
e980df8e
TT
432FIBHEAP_H = $(srcdir)/../include/fibheap.h
433PARTITION_H = $(srcdir)/../include/partition.h
434MD5_H = $(srcdir)/../include/md5.h
a80b0574 435DWARF2_H = $(srcdir)/../include/dwarf2.h
4e872036 436
d7f09764
DN
437# Linker plugin API headers
438LINKER_PLUGIN_API_H = $(srcdir)/../include/plugin-api.h
439LTO_SYMTAB_H = $(srcdir)/../include/lto-symtab.h
440
a078a589
ZW
441# Default native SYSTEM_HEADER_DIR, to be overridden by targets.
442NATIVE_SYSTEM_HEADER_DIR = /usr/include
512b62fb 443# Default cross SYSTEM_HEADER_DIR, to be overridden by targets.
4977bab6 444CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
512b62fb 445
a078a589 446# autoconf sets SYSTEM_HEADER_DIR to one of the above.
be448346
BS
447# Purge it of unneccessary internal relative paths
448# to directories that might not exist yet.
449# The sed idiom for this is to repeat the search-and-replace until it doesn't match, using :a ... ta.
70d0631e
RW
450# Use single quotes here to avoid nested double- and backquotes, this
451# macro is also used in a double-quoted context.
452SYSTEM_HEADER_DIR = `echo @SYSTEM_HEADER_DIR@ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`
a078a589 453
52c0e446 454# Control whether to run fixincludes.
0df47f66 455STMP_FIXINC = @STMP_FIXINC@
ac1284f9 456
40dc28fc
ILT
457# Test to see whether <limits.h> exists in the system header files.
458LIMITS_H_TEST = [ -f $(SYSTEM_HEADER_DIR)/limits.h ]
459
4977bab6
ZW
460# Directory for prefix to system directories, for
461# each of $(system_prefix)/usr/include, $(system_prefix)/usr/lib, etc.
462TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
463
2ed26f6b
ZW
464xmake_file=@xmake_file@
465tmake_file=@tmake_file@
aca600aa
AS
466TM_ENDIAN_CONFIG=@TM_ENDIAN_CONFIG@
467TM_MULTILIB_CONFIG=@TM_MULTILIB_CONFIG@
468TM_MULTILIB_EXCEPTIONS_CONFIG=@TM_MULTILIB_EXCEPTIONS_CONFIG@
3c18ea24
RK
469out_file=$(srcdir)/config/@out_file@
470out_object_file=@out_object_file@
471md_file=$(srcdir)/config/@md_file@
4977bab6 472tm_file_list=@tm_file_list@
e22340b0 473tm_include_list=@tm_include_list@
d5355cb2 474tm_defines=@tm_defines@
11642c3a 475tm_p_file_list=@tm_p_file_list@
e22340b0 476tm_p_include_list=@tm_p_include_list@
11642c3a 477build_xm_file_list=@build_xm_file_list@
e22340b0 478build_xm_include_list=@build_xm_include_list@
11642c3a
ZW
479build_xm_defines=@build_xm_defines@
480host_xm_file_list=@host_xm_file_list@
e22340b0 481host_xm_include_list=@host_xm_include_list@
11642c3a 482host_xm_defines=@host_xm_defines@
e22340b0
ZW
483xm_file_list=@xm_file_list@
484xm_include_list=@xm_include_list@
3d9d2476 485xm_defines=@xm_defines@
49a41726 486lang_checks=check-gcc
7134e605
JJ
487lang_checks_parallelized=check-gcc
488# This lists a couple of test files that take most time during check-gcc.
489# When doing parallelized check-gcc, these can run in parallel with the
490# remaining tests. Each word in this variable stands for work for one
491# make goal and one extra make goal is added to handle all the *.exp
492# files not handled explicitly already. If multiple *.exp files
493# should be run in the same runtest invocation (usually if they aren't
494# very long running, but still should be split of from the check-parallel-$lang
495# remaining tests runtest invocation), they should be concatenated with commas.
496# Note that [a-zA-Z] wildcards need to have []s prefixed with \ (needed
497# by tcl) and as the *.exp arguments are mached both as is and with
498# */ prefixed to it in runtest_file_p, it is usually desirable to include
499# a subdirectory name.
500check_gcc_parallelize=execute.exp=execute/2* \
501 execute.exp=execute/\[013-9a-zA-Z\]* \
502 compile.exp dg.exp \
ff12d3a6 503 dg-torture.exp,builtins.exp \
7134e605 504 struct-layout-1.exp,unsorted.exp,stackalign.exp,i386.exp
d7b42618 505lang_opt_files=@lang_opt_files@ $(srcdir)/c.opt $(srcdir)/common.opt
3c18ea24 506lang_specs_files=@lang_specs_files@
3103b7db 507lang_tree_files=@lang_tree_files@
11642c3a 508target_cpu_default=@target_cpu_default@
f25270fc 509GCC_THREAD_FILE=@thread_file@
d8bb17c8 510OBJC_BOEHM_GC=@objc_boehm_gc@
f24af81b 511GTHREAD_FLAGS=@gthread_flags@
0974c7d7 512extra_modes_file=@extra_modes_file@
75685792 513extra_opt_files=@extra_opt_files@
476d9098 514host_hook_obj=@out_host_hook_obj@
79d8453e 515
73458fb7
NN
516# ------------------------
517# Installation directories
518# ------------------------
519
79d8453e
RS
520# Common prefix for installation directories.
521# NOTE: This directory must exist when you start installation.
3c18ea24 522prefix = @prefix@
c844ddda
RS
523# Directory in which to put localized header files. On the systems with
524# gcc as the native cc, `local_prefix' may not be `prefix' which is
525# `/usr'.
0b2fbcb2 526# NOTE: local_prefix *should not* default from prefix.
3c18ea24 527local_prefix = @local_prefix@
2e494f70 528# Directory in which to put host dependent programs and libraries
3c18ea24 529exec_prefix = @exec_prefix@
79d8453e 530# Directory in which to put the executable for the command `gcc'
3c18ea24 531bindir = @bindir@
79d8453e 532# Directory in which to put the directories used by the compiler.
3c18ea24 533libdir = @libdir@
a8ee6e2d
GK
534# Directory in which GCC puts its executables.
535libexecdir = @libexecdir@
73458fb7
NN
536
537# --------
538# UNSORTED
539# --------
540
a8ee6e2d 541# Directory in which the compiler finds libraries etc.
caa55b1e 542libsubdir = $(libdir)/gcc/$(target_noncanonical)/$(version)
a8ee6e2d 543# Directory in which the compiler finds executables
caa55b1e 544libexecsubdir = $(libexecdir)/gcc/$(target_noncanonical)/$(version)
bf016de8
RAE
545# Directory in which plugin headers are installed
546plugin_includedir = $(libsubdir)/plugin/include
91c7bd9b 547# Used to produce a relative $(gcc_tooldir) in gcc.o
1f72bfca 548unlibsubdir = ../../..
15c723f3
RS
549# $(prefix), expressed as a path relative to $(libsubdir).
550#
551# An explanation of the sed strings:
552# -e 's|^$(prefix)||' matches and eliminates 'prefix' from 'exec_prefix'
553# -e 's|/$$||' match a trailing forward slash and eliminates it
554# -e 's|^[^/]|/|' forces the string to start with a forward slash (*)
555# -e 's|/[^/]*|../|g' replaces each occurrence of /<directory> with ../
556#
557# (*) Note this pattern overwrites the first character of the string
558# with a forward slash if one is not already present. This is not a
559# problem because the exact names of the sub-directories concerned is
560# unimportant, just the number of them matters.
561#
562# The practical upshot of these patterns is like this:
563#
564# prefix exec_prefix result
565# ------ ----------- ------
566# /foo /foo/bar ../
567# /foo/ /foo/bar ../
568# /foo /foo/bar/ ../
569# /foo/ /foo/bar/ ../
570# /foo /foo/bar/ugg ../../
571libsubdir_to_prefix := \
572 $(unlibsubdir)/$(shell echo "$(libdir)" | \
573 sed -e 's|^$(prefix)||' -e 's|/$$||' -e 's|^[^/]|/|' \
574 -e 's|/[^/]*|../|g')
575# $(exec_prefix), expressed as a path relative to $(prefix).
576prefix_to_exec_prefix := \
577 $(shell echo "$(exec_prefix)" | \
578 sed -e 's|^$(prefix)||' -e 's|^/||' -e '/./s|$$|/|')
d062c304 579# Directory in which to find other cross-compilation tools and headers.
4c112cda 580dollar = @dollar@
d062c304
JL
581# Used in install-cross.
582gcc_tooldir = @gcc_tooldir@
2bbea3a6
RH
583# Used to install the shared libgcc.
584slibdir = @slibdir@
f098ead2 585# Since gcc_tooldir does not exist at build-time, use -B$(build_tooldir)/bin/
caa55b1e 586build_tooldir = $(exec_prefix)/$(target_noncanonical)
e2187d3b
BK
587# Directory in which the compiler finds target-independent g++ includes.
588gcc_gxx_include_dir = @gcc_gxx_include_dir@
49ba557e 589# Directory to search for site-specific includes.
793e9558
PB
590local_includedir = $(local_prefix)/include
591includedir = $(prefix)/include
0b2fbcb2 592# where the info files go
3c18ea24 593infodir = @infodir@
587a4ba6
L
594# Where cpp should go besides $prefix/bin if necessary
595cpp_install_dir = @cpp_install_dir@
ab87f8c8 596# where the locale files go
191bf464 597datadir = @datadir@
ab87f8c8 598localedir = $(datadir)/locale
79d8453e 599# Extension (if any) to put in installed man-page filename.
77bd67cb
JM
600man1ext = .1
601man7ext = .7
173712fb 602objext = .o
6e26218f
ILT
603exeext = @host_exeext@
604build_exeext = @build_exeext@
173712fb 605
79d8453e 606# Directory in which to put man pages.
a76b6b40
MH
607mandir = @mandir@
608man1dir = $(mandir)/man1
77bd67cb 609man7dir = $(mandir)/man7
62c13b81
RS
610# Dir for temp files.
611tmpdir = /tmp
79d8453e 612
22482f74
MS
613datarootdir = @datarootdir@
614docdir = @docdir@
9288b845 615# Directory in which to build HTML
22482f74 616build_htmldir = $(objdir)/HTML/gcc-$(version)
9d65c5cb 617# Directory in which to put HTML
22482f74 618htmldir = @htmldir@
9d65c5cb 619
ab87f8c8
JL
620# Whether we were configured with NLS.
621USE_NLS = @USE_NLS@
622
623# Internationalization library.
56694dd9
ZW
624LIBINTL = @LIBINTL@
625LIBINTL_DEP = @LIBINTL_DEP@
ab87f8c8 626
62c62a4f
RO
627# Character encoding conversion library.
628LIBICONV = @LIBICONV@
56694dd9 629LIBICONV_DEP = @LIBICONV_DEP@
62c62a4f 630
0a25f1f5 631# The GC method to be used on this system.
81bf3d9e 632GGC=@GGC@.o
0a25f1f5
RH
633
634# If a supplementary library is being used for the GC.
635GGC_LIB=
636
160633c6
MM
637# "true" if the target C library headers are unavailable; "false"
638# otherwise.
639inhibit_libc = @inhibit_libc@
640ifeq ($(inhibit_libc),true)
641INHIBIT_LIBC_CFLAGS = -Dinhibit_libc
642endif
643
79d8453e 644# Options to use when compiling libgcc2.a.
7337c67f 645#
2a4ea326 646LIBGCC2_DEBUG_CFLAGS = -g
d34a464a 647LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) \
fb201aa4 648 $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) \
160633c6
MM
649 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
650 $(INHIBIT_LIBC_CFLAGS)
56f9206d
ILT
651
652# Additional options to use when compiling libgcc2.a.
3c9a2b55 653# Some targets override this to -isystem include
56f9206d
ILT
654LIBGCC2_INCLUDES =
655
7bb7f3df 656# Additional target-dependent options for compiling libgcc2.a.
4c457b6b 657TARGET_LIBGCC2_CFLAGS =
7bb7f3df 658
cea3bd3e
RH
659# Options to use when compiling crtbegin/end.
660CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \
5e370570 661 -finhibit-size-directive -fno-inline -fno-exceptions \
c28e913a 662 -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize \
160633c6 663 $(INHIBIT_LIBC_CFLAGS)
cea3bd3e 664
4977bab6 665# Additional sources to handle exceptions; overridden by targets as needed.
52a11cbf 666LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde.c \
0bfa5f65 667 $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c
443728bb
L
668LIB2ADDEHSTATIC = $(LIB2ADDEH)
669LIB2ADDEHSHARED = $(LIB2ADDEH)
617a1b71 670LIB2ADDEHDEP = $(UNWIND_H) unwind-pe.h unwind.inc unwind-dw2-fde.h unwind-dw2.h
ce152ef8 671
443728bb
L
672# Don't build libunwind by default.
673LIBUNWIND =
674LIBUNWINDDEP =
675SHLIBUNWIND_LINK =
676SHLIBUNWIND_INSTALL =
677
0ad7574f
DE
678# nm flags to list global symbols in libgcc object files.
679SHLIB_NM_FLAGS = -pg
680
79d8453e
RS
681# List of extra executables that should be compiled for this target machine
682# that are used for compiling from source code to object code.
683# The rules for compiling them should be in the t-* file for the machine.
3c18ea24 684EXTRA_PASSES =@extra_passes@
79d8453e 685
2e494f70 686# Like EXTRA_PASSES, but these are used when linking.
3c18ea24 687EXTRA_PROGRAMS = @extra_programs@
2e494f70
RS
688
689# List of extra object files that should be compiled for this target machine.
79d8453e 690# The rules for compiling them should be in the t-* file for the machine.
3c18ea24 691EXTRA_PARTS = @extra_parts@
79d8453e 692
2e494f70
RS
693# List of extra object files that should be compiled and linked with
694# compiler proper (cc1, cc1obj, cc1plus).
3c18ea24 695EXTRA_OBJS = @extra_objs@
2e494f70 696
43554690
RK
697# List of extra object files that should be compiled and linked with
698# the gcc driver.
30500d84 699EXTRA_GCC_OBJS =@extra_gcc_objs@
43554690 700
f780d21b 701# List of additional header files to install.
3c18ea24 702EXTRA_HEADERS =@extra_headers_list@
f780d21b 703
207bf79d
JM
704# How to handle <stdint.h>.
705USE_GCC_STDINT = @use_gcc_stdint@
706
c38f02df
ILT
707# The configure script will set this to collect2$(exeext), except on a
708# (non-Unix) host which can not build collect2, for which it will be
709# set to empty.
710COLLECT2 = @collect2@
47547081 711
fa9518de 712# List of extra C and assembler files to add to static and shared libgcc2.
79d8453e 713# Assembler files should have names ending in `.asm'.
4c457b6b 714LIB2FUNCS_EXTRA =
79d8453e 715
fa9518de
FS
716# List of extra C and assembler files to add to static libgcc2.
717# Assembler files should have names ending in `.asm'.
718LIB2FUNCS_STATIC_EXTRA =
719
49721058
JM
720# List of functions not to build from libgcc2.c.
721LIB2FUNCS_EXCLUDE =
722
723# Target sfp-machine.h file.
724SFP_MACHINE =
725
79d8453e 726# Program to convert libraries.
4c457b6b 727LIBCONVERT =
79d8453e
RS
728
729# Control whether header files are installed.
e34a3d31 730INSTALL_HEADERS=install-headers install-mkheaders
79d8453e 731
09fa0705
ZW
732# Control whether Info documentation is built and installed.
733BUILD_INFO = @BUILD_INFO@
09fa0705 734
fd939e46
JM
735# Control whether manpages generated by texi2pod.pl can be rebuilt.
736GENERATED_MANPAGES = @GENERATED_MANPAGES@
737
66d7ffbf 738# Additional directories of header files to run fixincludes on.
4ab08223
RS
739# These should be directories searched automatically by default
740# just as /usr/include is.
4c457b6b 741# *Do not* use this for directories that happen to contain
4ab08223 742# header files, but are not searched automatically by default.
66d7ffbf
RS
743# On most systems, this is empty.
744OTHER_FIXINCLUDES_DIRS=
745
7c27f801 746# A list of all the language-specific executables.
3379e8ef 747COMPILERS = cc1$(exeext) @all_compilers@
7c27f801 748
acbbf3d9 749# List of things which should already be built whenever we try to use xgcc
79d8453e 750# to compile anything (without linking).
aaf93206 751GCC_PASSES=xgcc$(exeext) cc1$(exeext) specs $(EXTRA_PASSES)
79d8453e 752
79d8453e
RS
753# Directory to link to, when using the target `maketest'.
754DIR = ../gcc
755
a078a589 756# Native compiler for the build machine and its switches.
eaf9f3b2 757CC_FOR_BUILD = @CC_FOR_BUILD@
4977bab6 758BUILD_CFLAGS= @BUILD_CFLAGS@ -DGENERATOR_FILE
a078a589 759
7980bfb8
ILT
760# Native compiler that we use. This may be C++ some day.
761COMPILER_FOR_BUILD = $(CC_FOR_BUILD)
762BUILD_COMPILERFLAGS = $(BUILD_CFLAGS)
763
c607156f
ILT
764# Native linker that we use.
765LINKER_FOR_BUILD = $(CC_FOR_BUILD)
766BUILD_LINKERFLAGS = $(BUILD_CFLAGS)
767
a078a589 768# Native linker and preprocessor flags. For x-fragment overrides.
f8c33439 769BUILD_LDFLAGS=@BUILD_LDFLAGS@
4977bab6 770BUILD_CPPFLAGS=$(ALL_CPPFLAGS)
79d8453e 771
338023d4 772# Actual name to use when installing a native compiler.
e165d61b
KC
773GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
774GCC_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo gcc|sed '$(program_transform_name)')
775CPP_INSTALL_NAME := $(shell echo cpp|sed '$(program_transform_name)')
e165d61b
KC
776GCOV_INSTALL_NAME := $(shell echo gcov|sed '$(program_transform_name)')
777GCCBUG_INSTALL_NAME := $(shell echo gccbug|sed '$(program_transform_name)')
338023d4 778
e933cbe0
JL
779# Setup the testing framework, if you have one
780EXPECT = `if [ -f $${rootme}/../expect/expect ] ; then \
781 echo $${rootme}/../expect/expect ; \
782 else echo expect ; fi`
783
784RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
785 echo $${srcdir}/../dejagnu/runtest ; \
786 else echo runtest; fi`
787RUNTESTFLAGS =
788
68d69835 789# Extra flags to use when compiling crt{begin,end}.o.
4c457b6b 790CRTSTUFF_T_CFLAGS =
68d69835 791
522170ca 792# Extra flags to use when compiling [m]crt0.o.
4c457b6b 793CRT0STUFF_T_CFLAGS =
522170ca 794
e9a25f70
JL
795# "t" or nothing, for building multilibbed versions of, say, crtbegin.o.
796T =
797
fa958513 798# Should T contain a `=', libgcc/Makefile will make T_TARGET, setting
6c80a645
AO
799# $(T_TARGET) to the name of the actual target filename.
800T_TARGET =
801T_TARGET : $(T_TARGET)
802
3bd6d4c4
AO
803# This should name the specs file that we're going to install. Target
804# Makefiles may override it and name another file to be generated from
805# the built-in specs and installed as the default spec, as long as
806# they also introduce a rule to generate a file name specs, to be used
807# at build time.
808SPECS = specs
809
79d8453e
RS
810# End of variables for you to override.
811
4977bab6
ZW
812# GTM_H lists the config files that the generator files depend on,
813# while TM_H lists the ones ordinary gcc files depend on, which
814# includes several files generated by those generators.
e980df8e 815BCONFIG_H = bconfig.h $(build_xm_file_list)
4977bab6 816CONFIG_H = config.h $(host_xm_file_list)
1b0c37d7 817TCONFIG_H = tconfig.h $(xm_file_list)
4977bab6
ZW
818TM_P_H = tm_p.h $(tm_p_file_list)
819GTM_H = tm.h $(tm_file_list)
ac182688 820TM_H = $(GTM_H) insn-constants.h insn-flags.h options.h
4977bab6 821
a1286ef5 822# Variables for version information.
f08dd1f8
ZW
823BASEVER := $(srcdir)/BASE-VER # 4.x.y
824DEVPHASE := $(srcdir)/DEV-PHASE # experimental, prerelease, ""
825DATESTAMP := $(srcdir)/DATESTAMP # YYYYMMDD or empty
db5b4110 826REVISION := $(srcdir)/REVISION # [BRANCH revision XXXXXX]
a1286ef5 827
f08dd1f8
ZW
828BASEVER_c := $(shell cat $(BASEVER))
829DEVPHASE_c := $(shell cat $(DEVPHASE))
830DATESTAMP_c := $(shell cat $(DATESTAMP))
a1286ef5 831
db5b4110
L
832ifeq (,$(wildcard $(REVISION)))
833REVISION_c :=
834else
835REVISION_c := $(shell cat $(REVISION))
836endif
837
f08dd1f8 838version := $(BASEVER_c)
a1286ef5
ZW
839
840# For use in version.c - double quoted strings, with appropriate
841# surrounding punctuation and spaces, and with the datestamp and
842# development phase collapsed to the empty string in release mode
843# (i.e. if DEVPHASE_c is empty). The space immediately after the
844# comma in the $(if ...) constructs is significant - do not remove it.
f08dd1f8
ZW
845BASEVER_s := "\"$(BASEVER_c)\""
846DEVPHASE_s := "\"$(if $(DEVPHASE_c), ($(DEVPHASE_c)))\""
847DATESTAMP_s := "\"$(if $(DEVPHASE_c), $(DATESTAMP_c))\""
2f41c1d6
PB
848PKGVERSION_s:= "\"@PKGVERSION@\""
849BUGURL_s := "\"@REPORT_BUGS_TO@\""
850
851PKGVERSION := @PKGVERSION@
852BUGURL_TEXI := @REPORT_BUGS_TEXI@
a1286ef5 853
db5b4110
L
854ifdef REVISION_c
855REVISION_s := "\"$(if $(DEVPHASE_c), $(REVISION_c))\""
856else
cf8aba7f 857REVISION_s := "\"\""
db5b4110
L
858endif
859
e980df8e 860# Shorthand variables for dependency lists.
7a8cba34 861EXCEPT_H = except.h $(HASHTAB_) vecprim.h vecir.h
464778c0 862TOPLEV_H = toplev.h $(INPUT_H) bversion.h
e980df8e
TT
863TARGET_H = $(TM_H) target.h insn-modes.h
864MACHMODE_H = machmode.h mode-classes.def insn-modes.h
865HOOKS_H = hooks.h $(MACHMODE_H)
866HOSTHOOKS_DEF_H = hosthooks-def.h $(HOOKS_H)
867LANGHOOKS_DEF_H = langhooks-def.h $(HOOKS_H)
e63ea00c 868TARGET_DEF_H = target-def.h $(HOOKS_H) targhooks.h
e980df8e 869RTL_BASE_H = rtl.h rtl.def $(MACHMODE_H) reg-notes.def insn-notes.def \
e63ea00c
RW
870 $(INPUT_H) $(REAL_H) statistics.h vec.h $(FIXED_VALUE_H) alias.h
871FIXED_VALUE_H = fixed-value.h $(MACHMODE_H) double-int.h
f4ce02c5 872RTL_H = $(RTL_BASE_H) genrtl.h vecir.h
e980df8e
TT
873PARAMS_H = params.h params.def
874BUILTINS_DEF = builtins.def sync-builtins.def omp-builtins.def
c0ed0531
ILT
875TREE_H = tree.h all-tree.def tree.def c-common.def $(lang_tree_files) \
876 $(MACHMODE_H) tree-check.h $(BUILTINS_DEF) \
e63ea00c 877 $(INPUT_H) statistics.h vec.h treestruct.def $(HASHTAB_H) \
40013784
SB
878 double-int.h alias.h $(SYMTAB_H) options.h vecir.h \
879 $(REAL_H) $(FIXED_VALUE_H)
7a8cba34
SB
880REGSET_H = regset.h $(BITMAP_H) hard-reg-set.h
881BASIC_BLOCK_H = basic-block.h $(PREDICT_H) vec.h $(FUNCTION_H) cfghooks.h
726a989a 882GIMPLE_H = gimple.h gimple.def gsstruct.def pointer-set.h vec.h \
d086d311 883 $(GGC_H) $(BASIC_BLOCK_H) $(TM_H) $(TARGET_H) tree-ssa-operands.h \
f4ce02c5 884 tree-ssa-alias.h vecir.h
e980df8e
TT
885GCOV_IO_H = gcov-io.h gcov-iov.h auto-host.h
886COVERAGE_H = coverage.h $(GCOV_IO_H)
887DEMANGLE_H = $(srcdir)/../include/demangle.h
888RECOG_H = recog.h
889ALIAS_H = alias.h coretypes.h
890EMIT_RTL_H = emit-rtl.h
6a4d4e8a 891FLAGS_H = flags.h coretypes.h options.h
1d65f45c 892FUNCTION_H = function.h $(TREE_H) $(HASHTAB_H) vecprim.h
e980df8e
TT
893EXPR_H = expr.h insn-config.h $(FUNCTION_H) $(RTL_H) $(FLAGS_H) $(TREE_H) $(MACHMODE_H) $(EMIT_RTL_H)
894OPTABS_H = optabs.h insn-codes.h
b6feb796 895REGS_H = regs.h $(MACHMODE_H) $(OBSTACK_H) $(BASIC_BLOCK_H) $(FUNCTION_H)
7a8cba34
SB
896SCHED_INT_H = sched-int.h $(INSN_ATTR_H) $(BASIC_BLOCK_H) $(RTL_H) $(DF_H) \
897 vecprim.h $(REGSET_H)
e855c69d 898SEL_SCHED_IR_H = sel-sched-ir.h $(INSN_ATTR_H) $(BASIC_BLOCK_H) $(RTL_H) \
7a8cba34 899 $(GGC_H) $(BITMAP_H) vecprim.h $(SCHED_INT_H) $(CFGLOOP_H) $(REGSET_H)
e855c69d 900SEL_SCHED_DUMP_H = sel-sched-dump.h $(SEL_SCHED_IR_H)
9aae8d16 901INTEGRATE_H = integrate.h
e980df8e 902CFGLAYOUT_H = cfglayout.h $(BASIC_BLOCK_H)
7a8cba34
SB
903CFGLOOP_H = cfgloop.h $(BASIC_BLOCK_H) $(RTL_H) vecprim.h double-int.h \
904 $(BITMAP_H) sbitmap.h
e980df8e 905IPA_UTILS_H = ipa-utils.h $(TREE_H) $(CGRAPH_H)
e63ea00c 906IPA_REFERENCE_H = ipa-reference.h $(BITMAP_H) $(TREE_H)
e980df8e 907IPA_TYPE_ESCAPE_H = ipa-type-escape.h $(TREE_H)
7a8cba34
SB
908CGRAPH_H = cgraph.h vec.h $(TREE_H) $(BASIC_BLOCK_H) $(FUNCTION_H) \
909 cif-code.def ipa-ref.h ipa-ref-inline.h
910DF_H = df.h $(BITMAP_H) $(REGSET_H) sbitmap.h $(BASIC_BLOCK_H) \
911 alloc-pool.h $(TIMEVAR_H)
e980df8e
TT
912RESOURCE_H = resource.h hard-reg-set.h $(DF_H)
913DDG_H = ddg.h sbitmap.h $(DF_H)
914GCC_H = gcc.h version.h
e63ea00c 915GGC_H = ggc.h gtype-desc.h statistics.h
e980df8e 916TIMEVAR_H = timevar.h timevar.def
b6feb796 917INSN_ATTR_H = insn-attr.h $(INSN_ADDR_H)
e63ea00c 918INSN_ADDR_H = $(srcdir)/insn-addr.h vecprim.h
e980df8e
TT
919C_COMMON_H = c-common.h $(SPLAY_TREE_H) $(CPPLIB_H) $(GGC_H)
920C_PRAGMA_H = c-pragma.h $(CPPLIB_H)
aa14403d 921C_TREE_H = c-tree.h $(C_COMMON_H) $(TOPLEV_H) $(DIAGNOSTIC_H)
e63ea00c
RW
922SYSTEM_H = system.h hwint.h $(srcdir)/../include/libiberty.h \
923 $(srcdir)/../include/safe-ctype.h $(srcdir)/../include/filenames.h
e980df8e 924PREDICT_H = predict.h predict.def
d8044160
GK
925CPPLIB_H = $(srcdir)/../libcpp/include/line-map.h \
926 $(srcdir)/../libcpp/include/cpplib.h
e63ea00c 927INPUT_H = $(srcdir)/../libcpp/include/line-map.h input.h
e980df8e
TT
928DECNUM_H = $(DECNUM)/decContext.h $(DECNUM)/decDPD.h $(DECNUM)/decNumber.h \
929 $(DECNUMFMT)/decimal32.h $(DECNUMFMT)/decimal64.h \
930 $(DECNUMFMT)/decimal128.h $(DECNUMFMT)/decimal128Local.h
931MKDEPS_H = $(srcdir)/../libcpp/include/mkdeps.h
e63ea00c 932SYMTAB_H = $(srcdir)/../libcpp/include/symtab.h $(OBSTACK_H)
d8044160 933CPP_ID_DATA_H = $(CPPLIB_H) $(srcdir)/../libcpp/include/cpp-id-data.h
e63ea00c 934CPP_INTERNAL_H = $(srcdir)/../libcpp/internal.h $(CPP_ID_DATA_H)
7072a650
ILT
935TREE_PASS_H = tree-pass.h $(TIMEVAR_H)
936TREE_DUMP_H = tree-dump.h $(SPLAY_TREE_H) $(TREE_PASS_H)
e980df8e 937TREE_FLOW_H = tree-flow.h tree-flow-inline.h tree-ssa-operands.h \
7a8cba34 938 $(BITMAP_H) sbitmap.h $(BASIC_BLOCK_H) $(GIMPLE_H) \
5006671f
RG
939 $(HASHTAB_H) $(CGRAPH_H) $(IPA_REFERENCE_H) \
940 tree-ssa-alias.h
e980df8e 941TREE_SSA_LIVE_H = tree-ssa-live.h $(PARTITION_H) vecprim.h
464778c0 942TREE_VECTORIZER_H = tree-vectorizer.h $(TREE_DATA_REF_H)
4e3825db 943SSAEXPAND_H = ssaexpand.h $(TREE_SSA_LIVE_H)
e63ea00c 944PRETTY_PRINT_H = pretty-print.h $(INPUT_H) $(OBSTACK_H)
e980df8e
TT
945DIAGNOSTIC_H = diagnostic.h diagnostic.def $(PRETTY_PRINT_H) options.h
946C_PRETTY_PRINT_H = c-pretty-print.h $(PRETTY_PRINT_H) $(C_COMMON_H) $(TREE_H)
947SCEV_H = tree-scalar-evolution.h $(GGC_H) tree-chrec.h $(PARAMS_H)
948LAMBDA_H = lambda.h $(TREE_H) vec.h $(GGC_H)
223cf84d 949TREE_DATA_REF_H = tree-data-ref.h $(LAMBDA_H) omega.h graphds.h $(SCEV_H)
f4ce02c5 950TREE_INLINE_H = tree-inline.h vecir.h
e980df8e 951REAL_H = real.h $(MACHMODE_H)
058e97ec 952IRA_INT_H = ira.h ira-int.h $(CFGLOOP_H) alloc-pool.h
e980df8e 953DBGCNT_H = dbgcnt.h dbgcnt.def
464778c0 954EBITMAP_H = ebitmap.h sbitmap.h
d7f09764
DN
955LTO_STREAMER_H = lto-streamer.h $(LINKER_PLUGIN_API_H) $(TARGET_H) \
956 $(CGRAPH_H) vec.h vecprim.h $(TREE_H) $(GIMPLE_H)
957TREE_VECTORIZER_H = tree-vectorizer.h $(TREE_DATA_REF_H)
3e293154 958IPA_PROP_H = ipa-prop.h $(TREE_H) vec.h $(CGRAPH_H)
e63ea00c
RW
959GSTAB_H = gstab.h stab.def
960BITMAP_H = bitmap.h $(HASHTAB_H) statistics.h
090fa0ab
GF
961GCC_PLUGIN_H = gcc-plugin.h highlev-plugin-common.h $(CONFIG_H) $(SYSTEM_H) \
962 $(HASHTAB_H)
3e17e31d 963PLUGIN_H = plugin.h $(GCC_PLUGIN_H)
0c463e16 964PLUGIN_VERSION_H = plugin-version.h configargs.h
c4df8f8c 965
544eb21e 966#\f
79d8453e
RS
967# Now figure out from those variables how to compile and link.
968
a078a589
ZW
969# IN_GCC distinguishes between code compiled into GCC itself and other
970# programs built during a bootstrap.
2989d30c
GK
971# autoconf inserts -DCROSS_DIRECTORY_STRUCTURE if we are building a
972# cross compiler which does not use the native headers and libraries.
8733892f 973INTERNAL_CFLAGS = -DIN_GCC @CROSS@
79d8453e 974
83599948 975# This is the variable actually used when we compile. If you change this,
a6a5e4c9 976# you probably want to update BUILD_CFLAGS in configure.ac
da0f6381
PB
977ALL_CFLAGS = $(T_CFLAGS) \
978 $(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) @DEFS@
79d8453e 979
00020c16
ILT
980# The C++ version.
981ALL_CXXFLAGS = $(T_CFLAGS) $(CXXFLAGS) $(INTERNAL_CFLAGS) \
982 $(COVERAGE_FLAGS) $(WARN_CXXFLAGS) @DEFS@
983
3a6ebcdc
PB
984# Likewise. Put INCLUDES at the beginning: this way, if some autoconf macro
985# puts -I options in CPPFLAGS, our include files in the srcdir will always
986# win against random include files in /usr/include.
da0f6381 987ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS)
79d8453e 988
7980bfb8 989# This is the variable to use when using $(COMPILER).
00020c16 990ifneq ($(ENABLE_BUILD_WITH_CXX),yes)
7980bfb8 991ALL_COMPILERFLAGS = $(ALL_CFLAGS)
00020c16
ILT
992else
993ALL_COMPILERFLAGS = $(ALL_CXXFLAGS)
994endif
7980bfb8 995
c607156f 996# This is the variable to use when using $(LINKER).
00020c16 997ifneq ($(ENABLE_BUILD_WITH_CXX),yes)
c607156f 998ALL_LINKERFLAGS = $(ALL_CFLAGS)
00020c16
ILT
999else
1000ALL_LINKERFLAGS = $(ALL_CXXFLAGS)
1001endif
c607156f 1002
71b5d516 1003# Build and host support libraries.
06f0b04c 1004LIBIBERTY = ../libiberty/libiberty.a
57255173 1005BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/libiberty.a
79d8453e 1006
935bfb44 1007# Dependencies on the intl and portability libraries.
909e2256 1008LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) $(LIBDECNUMBER)
79d8453e
RS
1009
1010# Likewise, for use in the tools that must run on this machine
1011# even if we are cross-building GCC.
4977bab6 1012BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
79d8453e
RS
1013
1014# How to link with both our special library facilities
1015# and the system's installed libraries.
00020c16
ILT
1016LIBS = @LIBS@ $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBIBERTY) $(LIBDECNUMBER) \
1017 $(HOST_LIBS)
d7f09764
DN
1018BACKENDLIBS = $(CLOOGLIBS) $(PPLLIBS) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \
1019 $(ZLIB) $(LIBELFLIBS)
7d600178
RO
1020# Any system libraries needed just for GNAT.
1021SYSLIBS = @GNAT_LIBEXC@
1022
3d4e720a
ST
1023# Used from ada/Make-lang.in
1024GNATBIND = @GNATBIND@
1025GNATMAKE = @GNATMAKE@
1026
62c9aa5f
ZW
1027# Libs needed (at present) just for jcf-dump.
1028LDEXP_LIB = @LDEXP_LIB@
1029
79d8453e
RS
1030# Likewise, for use in the tools that must run on this machine
1031# even if we are cross-building GCC.
4977bab6 1032BUILD_LIBS = $(BUILD_LIBIBERTY)
79d8453e 1033
0b50988a 1034BUILD_RTL = build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o \
0458fe77 1035 build/min-insn-modes.o build/gensupport.o build/print-rtl.o
3b620440 1036BUILD_ERRORS = build/errors.o
79d8453e
RS
1037
1038# Specify the directories to be searched for header files.
1039# Both . and srcdir are used, in that order,
eaf4e618 1040# so that *config.h will be found in the compilation
79d8453e 1041# subdirectory rather than in the source directory.
b8dad04b
ZW
1042# -I$(@D) and -I$(srcdir)/$(@D) cause the subdirectory of the file
1043# currently being compiled, in both source trees, to be examined as well.
6eb95e99 1044# libintl.h will be found in ../intl if we are using the included libintl.
b8dad04b 1045INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
6de9cd9a 1046 -I$(srcdir)/../include @INCINTL@ \
f8bf9252 1047 $(CPPINC) $(GMPINC) $(DECNUMINC) \
d7f09764 1048 $(PPLINC) $(CLOOGINC) $(LIBELFINC)
79d8453e 1049
e980df8e 1050.c.o:
7980bfb8 1051 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION)
79d8453e 1052
544eb21e 1053#\f
73458fb7
NN
1054# Support for additional languages (other than C).
1055# C can be supported this way too (leave for later).
013a2ee0 1056
2ed26f6b 1057LANG_MAKEFRAGS = @all_lang_makefrags@
3c18ea24 1058LANG_MAKEFILES = @all_lang_makefiles@
013a2ee0
DE
1059
1060# Flags to pass to recursive makes.
8b1f719a 1061# CC is set by configure.
013a2ee0 1062# ??? The choices here will need some experimenting with.
e158a5fb
MM
1063
1064export AR_FOR_TARGET
1065export AR_CREATE_FOR_TARGET
1066export AR_FLAGS_FOR_TARGET
1067export AR_EXTRACT_FOR_TARGET
1068export AWK
e158a5fb
MM
1069export DESTDIR
1070export GCC_FOR_TARGET
1071export INCLUDES
1072export INSTALL_DATA
1073export LIB1ASMSRC
1074export LIBGCC2_CFLAGS
040b1c5a 1075export LIPO_FOR_TARGET
e158a5fb
MM
1076export MACHMODE_H
1077export NM_FOR_TARGET
040b1c5a 1078export STRIP_FOR_TARGET
e158a5fb
MM
1079export RANLIB_FOR_TARGET
1080export libsubdir
1081export slibdir
1082
8b1f719a 1083FLAGS_TO_PASS = \
da0f6381 1084 "ADA_CFLAGS=$(ADA_CFLAGS)" \
013a2ee0
DE
1085 "BISON=$(BISON)" \
1086 "BISONFLAGS=$(BISONFLAGS)" \
5b67ad6f 1087 "CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \
013a2ee0 1088 "LDFLAGS=$(LDFLAGS)" \
1e608388
ZW
1089 "FLEX=$(FLEX)" \
1090 "FLEXFLAGS=$(FLEXFLAGS)" \
ac64120e
JW
1091 "LN=$(LN)" \
1092 "LN_S=$(LN_S)" \
013a2ee0
DE
1093 "MAKEINFO=$(MAKEINFO)" \
1094 "MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \
03bbd83f 1095 "MAKEOVERRIDES=" \
013a2ee0 1096 "SHELL=$(SHELL)" \
aab26e16 1097 "exeext=$(exeext)" \
6e26218f 1098 "build_exeext=$(build_exeext)" \
aab26e16 1099 "objext=$(objext)" \
013a2ee0
DE
1100 "exec_prefix=$(exec_prefix)" \
1101 "prefix=$(prefix)" \
3bf810d8 1102 "local_prefix=$(local_prefix)" \
8f8d3278 1103 "gxx_include_dir=$(gcc_gxx_include_dir)" \
f098ead2 1104 "build_tooldir=$(build_tooldir)" \
91c7bd9b 1105 "gcc_tooldir=$(gcc_tooldir)" \
013a2ee0 1106 "bindir=$(bindir)" \
a8ee6e2d 1107 "libexecsubdir=$(libsubdir)" \
2d09b640 1108 "datarootdir=$(datarootdir)" \
ab87f8c8 1109 "datadir=$(datadir)" \
ab87f8c8 1110 "localedir=$(localedir)"
544eb21e 1111#\f
79d8453e
RS
1112# Lists of files for various purposes.
1113
75685792
RS
1114# All option source files
1115ALL_OPT_FILES=$(lang_opt_files) $(extra_opt_files)
1116
aac69a49
NC
1117# Target specific, C specific object file
1118C_TARGET_OBJS=@c_target_objs@
1119
1120# Target specific, C++ specific object file
1121CXX_TARGET_OBJS=@cxx_target_objs@
1122
c776a6d0
DF
1123# Target specific, Fortran specific object file
1124FORTRAN_TARGET_OBJS=@fortran_target_objs@
1125
14c7833c 1126# Object files for gcc driver.
8dc3f290 1127GCC_OBJS = gcc.o opts-common.o gcc-options.o
14c7833c 1128
3cb88565 1129# Language-specific object files for C and Objective C.
aaed0206 1130C_AND_OBJC_OBJS = attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
0b6f2917 1131 c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o \
670637ee 1132 c-ppoutput.o c-cppbuiltin.o \
27bf414c 1133 c-objc-common.o c-dump.o c-pch.o c-parser.o $(C_TARGET_OBJS) \
953ff289 1134 c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o
3cb88565 1135
79d8453e 1136# Language-specific object files for C.
27bf414c 1137C_OBJS = c-lang.o stub-objc.o $(C_AND_OBJC_OBJS)
e8066a5d 1138
79d8453e 1139# Language-independent object files.
d5dc6bad
ILT
1140# We put the insn-*.o files first so that a parallel make will build
1141# them sooner, because they are large and otherwise tend to be the
1142# last objects to finish building.
d1bd0ded 1143OBJS-common = \
d5dc6bad
ILT
1144 insn-attrtab.o \
1145 insn-automata.o \
1146 insn-emit.o \
1147 insn-extract.o \
1148 insn-modes.o \
1149 insn-opinit.o \
1150 insn-output.o \
1151 insn-peep.o \
1152 insn-preds.o \
1153 insn-recog.o \
1154 $(GGC) \
1155 alias.o \
1156 alloc-pool.o \
6fb5fa3c 1157 auto-inc-dec.o \
d5dc6bad
ILT
1158 bb-reorder.o \
1159 bitmap.o \
1160 bt-load.o \
1161 builtins.o \
1162 caller-save.o \
1163 calls.o \
1164 cfg.o \
1165 cfganal.o \
1166 cfgbuild.o \
1167 cfgcleanup.o \
1168 cfgexpand.o \
1169 cfghooks.o \
1170 cfglayout.o \
1171 cfgloop.o \
1172 cfgloopanal.o \
1173 cfgloopmanip.o \
1174 cfgrtl.o \
1175 combine.o \
c7a0240a 1176 combine-stack-adj.o \
d5dc6bad
ILT
1177 convert.o \
1178 coverage.o \
1179 cse.o \
1180 cselib.o \
1181 dbxout.o \
6fb5fa3c
DB
1182 dbgcnt.o \
1183 dce.o \
d5dc6bad
ILT
1184 ddg.o \
1185 debug.o \
cc806ac1 1186 df-byte-scan.o \
d5dc6bad
ILT
1187 df-core.o \
1188 df-problems.o \
1189 df-scan.o \
1190 dfp.o \
1191 diagnostic.o \
1192 dojump.o \
1193 dominance.o \
1194 domwalk.o \
1195 double-int.o \
6fb5fa3c 1196 dse.o \
d5dc6bad
ILT
1197 dwarf2asm.o \
1198 dwarf2out.o \
53a853de 1199 ebitmap.o \
d5dc6bad
ILT
1200 emit-rtl.o \
1201 et-forest.o \
1202 except.o \
1203 explow.o \
1204 expmed.o \
1205 expr.o \
1206 final.o \
1e1ba002 1207 fixed-value.o \
d5dc6bad
ILT
1208 fold-const.o \
1209 function.o \
1210 fwprop.o \
1211 gcse.o \
1212 genrtl.o \
1213 ggc-common.o \
726a989a
RB
1214 gimple.o \
1215 gimple-iterator.o \
cbdd87d4 1216 gimple-fold.o \
d5dc6bad 1217 gimple-low.o \
726a989a 1218 gimple-pretty-print.o \
d5dc6bad 1219 gimplify.o \
d5dc6bad 1220 graph.o \
66f97d31 1221 graphds.o \
f8bf9252 1222 graphite.o \
204b560f
SP
1223 graphite-blocking.o \
1224 graphite-clast-to-gimple.o \
1225 graphite-dependences.o \
1226 graphite-interchange.o \
1227 graphite-poly.o \
1228 graphite-ppl.o \
1229 graphite-scop-detection.o \
1230 graphite-sese-to-poly.o \
d5dc6bad
ILT
1231 gtype-desc.o \
1232 haifa-sched.o \
1233 hooks.o \
1234 ifcvt.o \
87a0ebfd 1235 implicit-zee.o \
6fb5fa3c 1236 init-regs.o \
d5dc6bad
ILT
1237 integrate.o \
1238 intl.o \
058e97ec
VM
1239 ira.o \
1240 ira-build.o \
1241 ira-costs.o \
1242 ira-conflicts.o \
1243 ira-color.o \
1244 ira-emit.o \
1245 ira-lives.o \
d5dc6bad
ILT
1246 jump.o \
1247 lambda-code.o \
1248 lambda-mat.o \
1249 lambda-trans.o \
1250 langhooks.o \
1251 lcm.o \
1252 lists.o \
d5dc6bad
ILT
1253 loop-doloop.o \
1254 loop-init.o \
1255 loop-invariant.o \
1256 loop-iv.o \
1257 loop-unroll.o \
1258 loop-unswitch.o \
e53a16e7 1259 lower-subreg.o \
d7f09764
DN
1260 lto-cgraph.o \
1261 lto-streamer-in.o \
1262 lto-streamer-out.o \
1263 lto-section-in.o \
1264 lto-section-out.o \
1265 lto-symtab.o \
1266 lto-opts.o \
1267 lto-streamer.o \
d7f09764 1268 lto-compress.o \
52c76998 1269 mcf.o \
d5dc6bad
ILT
1270 mode-switching.o \
1271 modulo-sched.o \
3d8864c0 1272 omega.o \
d5dc6bad
ILT
1273 omp-low.o \
1274 optabs.o \
1275 options.o \
1276 opts-common.o \
1277 opts.o \
1278 params.o \
1279 passes.o \
68a607d8 1280 plugin.o \
d5dc6bad
ILT
1281 pointer-set.o \
1282 postreload-gcse.o \
1283 postreload.o \
1284 predict.o \
1285 pretty-print.o \
1286 print-rtl.o \
1287 print-tree.o \
1288 profile.o \
1289 real.o \
d49b6e1e 1290 realmpfr.o \
d5dc6bad
ILT
1291 recog.o \
1292 reg-stack.o \
fac41238 1293 regcprop.o \
2af2dbdc 1294 reginfo.o \
d5dc6bad
ILT
1295 regmove.o \
1296 regrename.o \
6fb5fa3c 1297 regstat.o \
d5dc6bad
ILT
1298 reload.o \
1299 reload1.o \
1300 reorg.o \
1301 resource.o \
1302 rtl-error.o \
d5dc6bad
ILT
1303 rtl.o \
1304 rtlanal.o \
1305 rtlhooks.o \
1306 sbitmap.o \
1307 sched-deps.o \
1308 sched-ebb.o \
1309 sched-rgn.o \
1310 sched-vis.o \
1311 sdbout.o \
e855c69d
AB
1312 sel-sched-ir.o \
1313 sel-sched-dump.o \
1314 sel-sched.o \
204b560f 1315 sese.o \
d5dc6bad 1316 simplify-rtx.o \
b4da855a 1317 sparseset.o \
d5dc6bad 1318 sreal.o \
6fb5fa3c 1319 stack-ptr-mod.o \
9fe0cb7d 1320 statistics.o \
d5dc6bad
ILT
1321 stmt.o \
1322 stor-layout.o \
df35c271 1323 store-motion.o \
d5dc6bad 1324 stringpool.o \
d5dc6bad
ILT
1325 targhooks.o \
1326 timevar.o \
1327 toplev.o \
1328 tracer.o \
1329 tree-affine.o \
c2699190 1330 tree-call-cdce.o \
d5dc6bad
ILT
1331 tree-cfg.o \
1332 tree-cfgcleanup.o \
1333 tree-chrec.o \
1334 tree-complex.o \
1335 tree-data-ref.o \
1336 tree-dfa.o \
cf835838 1337 tree-diagnostic.o \
d5dc6bad
ILT
1338 tree-dump.o \
1339 tree-eh.o \
d5dc6bad
ILT
1340 tree-if-conv.o \
1341 tree-into-ssa.o \
1342 tree-iterator.o \
dea61d92 1343 tree-loop-distribution.o \
d5dc6bad
ILT
1344 tree-loop-linear.o \
1345 tree-nested.o \
1346 tree-nrv.o \
1347 tree-object-size.o \
1348 tree-optimize.o \
1349 tree-outof-ssa.o \
5f40b3cb 1350 tree-parloops.o \
d5dc6bad 1351 tree-phinodes.o \
bbc8a8dc 1352 tree-predcom.o \
d5dc6bad
ILT
1353 tree-pretty-print.o \
1354 tree-profile.o \
1355 tree-scalar-evolution.o \
1356 tree-sra.o \
b6e99746 1357 tree-switch-conversion.o \
d5dc6bad
ILT
1358 tree-ssa-address.o \
1359 tree-ssa-alias.o \
1360 tree-ssa-ccp.o \
1361 tree-ssa-coalesce.o \
1362 tree-ssa-copy.o \
1363 tree-ssa-copyrename.o \
1364 tree-ssa-dce.o \
1365 tree-ssa-dom.o \
1366 tree-ssa-dse.o \
1367 tree-ssa-forwprop.o \
18d08014 1368 tree-ssa-ifcombine.o \
d5dc6bad
ILT
1369 tree-ssa-live.o \
1370 tree-ssa-loop-ch.o \
1371 tree-ssa-loop-im.o \
1372 tree-ssa-loop-ivcanon.o \
1373 tree-ssa-loop-ivopts.o \
1374 tree-ssa-loop-manip.o \
1375 tree-ssa-loop-niter.o \
1376 tree-ssa-loop-prefetch.o \
1377 tree-ssa-loop-unswitch.o \
1378 tree-ssa-loop.o \
1379 tree-ssa-math-opts.o \
1380 tree-ssa-operands.o \
1381 tree-ssa-phiopt.o \
67514449 1382 tree-ssa-phiprop.o \
d5dc6bad
ILT
1383 tree-ssa-pre.o \
1384 tree-ssa-propagate.o \
1385 tree-ssa-reassoc.o \
89fb70a3 1386 tree-ssa-sccvn.o \
d5dc6bad
ILT
1387 tree-ssa-sink.o \
1388 tree-ssa-structalias.o \
1389 tree-ssa-ter.o \
1390 tree-ssa-threadedge.o \
1391 tree-ssa-threadupdate.o \
1392 tree-ssa-uncprop.o \
34f97b94 1393 tree-ssa-uninit.o \
d5dc6bad
ILT
1394 tree-ssa.o \
1395 tree-ssanames.o \
1396 tree-stdarg.o \
1397 tree-tailcall.o \
d5dc6bad
ILT
1398 tree-vect-generic.o \
1399 tree-vect-patterns.o \
ebfd146a
IR
1400 tree-vect-data-refs.o \
1401 tree-vect-stmts.o \
1402 tree-vect-loop.o \
1403 tree-vect-loop-manip.o \
1404 tree-vect-slp.o \
d5dc6bad 1405 tree-vectorizer.o \
d5dc6bad
ILT
1406 tree-vrp.o \
1407 tree.o \
1408 value-prof.o \
1409 var-tracking.o \
1410 varasm.o \
d5dc6bad
ILT
1411 vec.o \
1412 version.o \
1413 vmsdbgout.o \
1414 web.o \
1415 xcoffout.o
1416
1417# Target object files.
d1bd0ded 1418OBJS-md = $(out_object_file)
d1bd0ded 1419
d5dc6bad
ILT
1420# Language independent object files which are not used by all languages.
1421OBJS-archive = \
1422 $(EXTRA_OBJS) \
1423 $(host_hook_obj) \
1424 cgraph.o \
1425 cgraphbuild.o \
1426 cgraphunit.o \
670637ee
DF
1427 cppdefault.o \
1428 incpath.o \
d5dc6bad
ILT
1429 ipa-cp.o \
1430 ipa-inline.o \
1431 ipa-prop.o \
1432 ipa-pure-const.o \
1433 ipa-reference.o \
369451ec 1434 ipa-ref.o \
e1dc98b2 1435 ipa-struct-reorg.o \
d5dc6bad
ILT
1436 ipa-type-escape.o \
1437 ipa-utils.o \
1438 ipa.o \
43d861a5 1439 matrix-reorg.o \
670637ee 1440 prefix.o \
d5dc6bad
ILT
1441 tree-inline.o \
1442 tree-nomudflap.o \
1443 varpool.o
1444
1445OBJS = $(OBJS-common) $(OBJS-md) $(OBJS-archive)
d1bd0ded
GK
1446
1447OBJS-onestep = libbackend.o $(OBJS-archive)
79d8453e 1448
6cba282a
TT
1449# This lists all host object files, whether they are included in this
1450# compilation or not.
1451ALL_HOST_OBJS = $(GCC_OBJS) $(C_OBJS) $(OBJS) libbackend.o \
1452 @TREEBROWSER@ main.o gccspec.o version.o intl.o prefix.o cppspec.o \
1453 $(foreach v,$(CONFIG_LANGUAGES),$($(v)_OBJS)) \
1454 $(COLLECT2_OBJS) $(EXTRA_GCC_OBJS) \
1455 mips-tfile.o mips-tdump.o \
52c0e446 1456 $(GCOV_OBJS) $(GCOV_DUMP_OBJS)
6cba282a 1457
909e2256 1458BACKEND = main.o @TREEBROWSER@ libbackend.a $(CPPLIB) $(LIBDECNUMBER)
a36556a8 1459
8b1f719a 1460MOSTLYCLEANFILES = insn-flags.h insn-config.h insn-codes.h \
79d8453e 1461 insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \
e543e219 1462 insn-attr.h insn-attrtab.c insn-opinit.c insn-preds.c insn-constants.h \
279bb624 1463 tm-preds.h tm-constrs.h \
1c7352cd 1464 tree-check.h min-insn-modes.c insn-modes.c insn-modes.h \
11a67599 1465 genrtl.c genrtl.h gt-*.h gtype-*.h gtype-desc.c gtyp-input.list \
3fd30b88 1466 xgcc$(exeext) cpp$(exeext) cc1$(exeext) cc1*-dummy$(exeext) $(EXTRA_PASSES) \
8f7d850c 1467 $(EXTRA_PARTS) $(EXTRA_PROGRAMS) gcc-cross$(exeext) \
d7f09764 1468 $(SPECS) collect2$(exeext) lto-wrapper$(exeext) \
4977bab6 1469 gcov-iov$(build_exeext) gcov$(exeext) gcov-dump$(exeext) \
8b1f719a 1470 *.[0-9][0-9].* *.[si] *-checksum.c libbackend.a libgcc.mk
79d8453e 1471
3fe68d0a 1472# Defined in libgcc2.c, included only in the static library.
23af32e6
NS
1473LIB2FUNCS_ST = _eprintf __gcc_bcmp
1474
1475# Defined in libgcov.c, included only in gcov library
d1c38823
ZD
1476LIBGCOV = _gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta \
1477 _gcov_fork _gcov_execl _gcov_execlp _gcov_execle \
9885da8e 1478 _gcov_execv _gcov_execvp _gcov_execve \
6bad2617 1479 _gcov_interval_profiler _gcov_pow2_profiler _gcov_one_value_profiler \
079a182e
JH
1480 _gcov_indirect_call_profiler _gcov_average_profiler _gcov_ior_profiler \
1481 _gcov_merge_ior
3fe68d0a 1482
5198352e
JL
1483FPBIT_FUNCS = _pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf \
1484 _fpcmp_parts_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf \
1eb8759b 1485 _lt_sf _le_sf _unord_sf _si_to_sf _sf_to_si _negate_sf _make_sf \
88e83acb 1486 _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi _usi_to_sf
5198352e
JL
1487
1488DPBIT_FUNCS = _pack_df _unpack_df _addsub_df _mul_df _div_df \
1489 _fpcmp_parts_df _compare_df _eq_df _ne_df _gt_df _ge_df \
1eb8759b 1490 _lt_df _le_df _unord_df _si_to_df _df_to_si _negate_df _make_df \
88e83acb
AO
1491 _df_to_sf _df_to_tf _thenan_df _df_to_usi _usi_to_df
1492
1493TPBIT_FUNCS = _pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf \
1494 _fpcmp_parts_tf _compare_tf _eq_tf _ne_tf _gt_tf _ge_tf \
1495 _lt_tf _le_tf _unord_tf _si_to_tf _tf_to_si _negate_tf _make_tf \
1496 _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi _usi_to_tf
5198352e 1497
d190d56b
BE
1498D32PBIT_FUNCS = _addsub_sd _div_sd _mul_sd _plus_sd _minus_sd \
1499 _eq_sd _ne_sd _lt_sd _gt_sd _le_sd _ge_sd \
1500 _sd_to_si _sd_to_di _sd_to_usi _sd_to_udi \
1501 _si_to_sd _di_to_sd _usi_to_sd _udi_to_sd \
a6c9b188
L
1502 _sd_to_sf _sd_to_df _sd_to_xf _sd_to_tf \
1503 _sf_to_sd _df_to_sd _xf_to_sd _tf_to_sd \
d190d56b
BE
1504 _sd_to_dd _sd_to_td _unord_sd _conv_sd
1505
1506D64PBIT_FUNCS = _addsub_dd _div_dd _mul_dd _plus_dd _minus_dd \
1507 _eq_dd _ne_dd _lt_dd _gt_dd _le_dd _ge_dd \
1508 _dd_to_si _dd_to_di _dd_to_usi _dd_to_udi \
1509 _si_to_dd _di_to_dd _usi_to_dd _udi_to_dd \
a6c9b188
L
1510 _dd_to_sf _dd_to_df _dd_to_xf _dd_to_tf \
1511 _sf_to_dd _df_to_dd _xf_to_dd _tf_to_dd \
d190d56b
BE
1512 _dd_to_sd _dd_to_td _unord_dd _conv_dd
1513
1514D128PBIT_FUNCS = _addsub_td _div_td _mul_td _plus_td _minus_td \
1515 _eq_td _ne_td _lt_td _gt_td _le_td _ge_td \
1516 _td_to_si _td_to_di _td_to_usi _td_to_udi \
1517 _si_to_td _di_to_td _usi_to_td _udi_to_td \
a6c9b188
L
1518 _td_to_sf _td_to_df _td_to_xf _td_to_tf \
1519 _sf_to_td _df_to_td _xf_to_td _tf_to_td \
d190d56b
BE
1520 _td_to_sd _td_to_dd _unord_td _conv_td
1521
fc6aa0a9
AH
1522# These might cause a divide overflow trap and so are compiled with
1523# unwinder info.
1524LIB2_DIVMOD_FUNCS = _divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4
1525
544eb21e 1526#\f
013a2ee0
DE
1527# Language makefile fragments.
1528
1529# The following targets define the interface between us and the languages.
1530#
a078a589 1531# all.cross, start.encap, rest.encap,
bd97af06 1532# install-common, install-info, install-man,
436a88a6 1533# uninstall,
a03ad584 1534# mostlyclean, clean, distclean, maintainer-clean,
013a2ee0 1535#
62b81e45
MM
1536# Each language is linked in with a series of hooks. The name of each
1537# hooked is "lang.${target_name}" (eg: lang.info). Configure computes
1538# and adds these here. We use double-colon rules for some of the hooks;
1539# double-colon rules should be preferred for any new hooks.
013a2ee0 1540
2ed26f6b 1541# language hooks, generated by configure
3c18ea24 1542@language_hooks@
013a2ee0 1543
2ed26f6b
ZW
1544# per-language makefile fragments
1545ifneq ($(LANG_MAKEFRAGS),)
1546include $(LANG_MAKEFRAGS)
1547endif
013a2ee0 1548
7e63a64e
RO
1549# target and host overrides must follow the per-language makefile fragments
1550# so they can override or augment language-specific variables
1551
1552# target overrides
1553ifneq ($(tmake_file),)
1554include $(tmake_file)
1555endif
1556
1557# host overrides
1558ifneq ($(xmake_file),)
1559include $(xmake_file)
1560endif
1561
c0ed0531
ILT
1562# all-tree.def includes all the tree.def files.
1563all-tree.def: s-alltree; @true
1564s-alltree: Makefile
1565 rm -f tmp-all-tree.def
1566 echo '#include "tree.def"' > tmp-all-tree.def
1567 echo 'END_OF_BASE_TREE_CODES' >> tmp-all-tree.def
1568 echo '#include "c-common.def"' >> tmp-all-tree.def
1569 ltf="$(lang_tree_files)"; for f in $$ltf; do \
1570 echo "#include \"$$f\""; \
1571 done | sed 's|$(srcdir)/||' >> tmp-all-tree.def
1572 $(SHELL) $(srcdir)/../move-if-change tmp-all-tree.def all-tree.def
1573 $(STAMP) s-alltree
1574
544eb21e 1575#\f
79d8453e 1576
73458fb7
NN
1577# -----------------------------
1578# Rebuilding this configuration
1579# -----------------------------
1580
f637f072
RÁE
1581# On the use of stamps:
1582# Consider the example of tree-check.h. It is constructed with build/gencheck.
1583# A simple rule to build tree-check.h would be
1584# tree-check.h: build/gencheck$(build_exeext)
1585# $(RUN_GEN) build/gencheck$(build_exeext) > tree-check.h
1586#
1587# but tree-check.h doesn't change every time gencheck changes. It would the
e980df8e 1588# nice if targets that depend on tree-check.h wouldn't be rebuild
f637f072
RÁE
1589# unnecessarily when tree-check.h is unchanged. To make this, tree-check.h
1590# must not be overwritten with a identical copy. One solution is to use a
1591# temporary file
1592# tree-check.h: build/gencheck$(build_exeext)
f7ca46d6 1593# $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
f637f072
RÁE
1594# $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
1595#
1596# This solution has a different problem. Since the time stamp of tree-check.h
1597# is unchanged, make will try to update tree-check.h every time it runs.
1598# To prevent this, one can add a stamp
1599# tree-check.h: s-check
1600# s-check : build/gencheck$(build_exeext)
f7ca46d6 1601# $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
f637f072
RÁE
1602# $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
1603# $(STAMP) s-check
1604#
1605# The problem with this solution is that make thinks that tree-check.h is
1606# always unchanged. Make must be deceived into thinking that tree-check.h is
f7ca46d6 1607# rebuild by the "tree-check.h: s-check" rule. To do this, add a dummy command:
f637f072
RÁE
1608# tree-check.h: s-check; @true
1609# s-check : build/gencheck$(build_exeext)
f7ca46d6 1610# $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
f637f072
RÁE
1611# $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
1612# $(STAMP) s-check
1613#
1614# This is what is done in this makefile. Note that mkconfig.sh has a
1615# move-if-change built-in
1616
a1286ef5 1617Makefile: config.status $(srcdir)/Makefile.in $(LANG_MAKEFRAGS)
2ed26f6b
ZW
1618 LANGUAGES="$(CONFIG_LANGUAGES)" \
1619 CONFIG_HEADERS= \
e75f9147 1620 CONFIG_SHELL="$(SHELL)" \
2ed26f6b 1621 CONFIG_FILES=$@ $(SHELL) config.status
79d8453e 1622
11642c3a 1623config.h: cs-config.h ; @true
4977bab6 1624bconfig.h: cs-bconfig.h ; @true
11642c3a 1625tconfig.h: cs-tconfig.h ; @true
4977bab6 1626tm.h: cs-tm.h ; @true
11642c3a
ZW
1627tm_p.h: cs-tm_p.h ; @true
1628
1629cs-config.h: Makefile
4977bab6 1630 TARGET_CPU_DEFAULT="" \
e22340b0 1631 HEADERS="$(host_xm_include_list)" DEFINES="$(host_xm_defines)" \
11642c3a
ZW
1632 $(SHELL) $(srcdir)/mkconfig.sh config.h
1633
4977bab6
ZW
1634cs-bconfig.h: Makefile
1635 TARGET_CPU_DEFAULT="" \
e22340b0 1636 HEADERS="$(build_xm_include_list)" DEFINES="$(build_xm_defines)" \
4977bab6 1637 $(SHELL) $(srcdir)/mkconfig.sh bconfig.h
11642c3a 1638
0d24f4d1 1639cs-tconfig.h: Makefile
3d9d2476 1640 TARGET_CPU_DEFAULT="" \
232b67d9 1641 HEADERS="$(xm_include_list)" DEFINES="USED_FOR_TARGET $(xm_defines)" \
11642c3a
ZW
1642 $(SHELL) $(srcdir)/mkconfig.sh tconfig.h
1643
4977bab6
ZW
1644cs-tm.h: Makefile
1645 TARGET_CPU_DEFAULT="$(target_cpu_default)" \
e22340b0 1646 HEADERS="$(tm_include_list)" DEFINES="$(tm_defines)" \
4977bab6
ZW
1647 $(SHELL) $(srcdir)/mkconfig.sh tm.h
1648
11642c3a 1649cs-tm_p.h: Makefile
4977bab6 1650 TARGET_CPU_DEFAULT="" \
e22340b0 1651 HEADERS="$(tm_p_include_list)" DEFINES="" \
11642c3a
ZW
1652 $(SHELL) $(srcdir)/mkconfig.sh tm_p.h
1653
a6a5e4c9 1654# Don't automatically run autoconf, since configure.ac might be accidentally
e7f62dcf
NC
1655# newer than configure. Also, this writes into the source directory which
1656# might be on a read-only file system. If configured for maintainer mode
1657# then do allow autoconf to be run.
1658
6efbd53f
RW
1659AUTOCONF = autoconf
1660ACLOCAL = aclocal
1661ACLOCAL_AMFLAGS = -I ../config -I ..
1662aclocal_deps = \
1663 $(srcdir)/../libtool.m4 \
1664 $(srcdir)/../ltoptions.m4 \
1665 $(srcdir)/../ltsugar.m4 \
1666 $(srcdir)/../ltversion.m4 \
1667 $(srcdir)/../lt~obsolete.m4 \
1668 $(srcdir)/../config/acx.m4 \
1669 $(srcdir)/../config/codeset.m4 \
1670 $(srcdir)/../config/extensions.m4 \
1671 $(srcdir)/../config/gettext-sister.m4 \
1672 $(srcdir)/../config/iconv.m4 \
1673 $(srcdir)/../config/lcmessage.m4 \
1674 $(srcdir)/../config/lib-ld.m4 \
1675 $(srcdir)/../config/lib-link.m4 \
1676 $(srcdir)/../config/lib-prefix.m4 \
1677 $(srcdir)/../config/override.m4 \
1678 $(srcdir)/../config/progtest.m4 \
7c2a2dbf 1679 $(srcdir)/../config/stdint.m4 \
6efbd53f
RW
1680 $(srcdir)/../config/unwind_ipinfo.m4 \
1681 $(srcdir)/../config/warnings.m4 \
1682 $(srcdir)/acinclude.m4
1683
1684$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4
1685 (cd $(srcdir) && $(AUTOCONF))
1686
1687$(srcdir)/aclocal.m4 : @MAINT@ $(aclocal_deps)
1688 (cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS))
3c18ea24 1689
501a4819 1690gccbug: $(srcdir)/gccbug.in
5262d6b6 1691 CONFIG_FILES=gccbug CONFIG_HEADERS= ./config.status
501a4819 1692
da7ece9a 1693# cstamp-h.in controls rebuilding of config.in.
7c0ae5f1
DE
1694# It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
1695# delete it. A stamp file is needed as autoheader won't update the file if
1696# nothing has changed.
da7ece9a
DE
1697# It remains in the source directory and is part of the distribution.
1698# This follows what is done in shellutils, fileutils, etc.
5408f8d0
DE
1699# "echo timestamp" is used instead of touch to be consistent with other
1700# packages that use autoconf (??? perhaps also to avoid problems with patch?).
da7ece9a 1701# ??? Newer versions have a maintainer mode that may be useful here.
e7f62dcf
NC
1702
1703# Don't run autoheader automatically either.
1704# Only run it if maintainer mode is enabled.
6efbd53f 1705@MAINT@ AUTOHEADER = autoheader
e7f62dcf 1706@MAINT@ $(srcdir)/config.in: $(srcdir)/cstamp-h.in
a6a5e4c9 1707@MAINT@ $(srcdir)/cstamp-h.in: $(srcdir)/configure.ac
6efbd53f 1708@MAINT@ (cd $(srcdir) && $(AUTOHEADER))
e7f62dcf
NC
1709@MAINT@ @rm -f $(srcdir)/cstamp-h.in
1710@MAINT@ echo timestamp > $(srcdir)/cstamp-h.in
b7cb92ad 1711auto-host.h: cstamp-h ; @true
da7ece9a 1712cstamp-h: config.in config.status
2ed26f6b
ZW
1713 CONFIG_HEADERS=auto-host.h:config.in \
1714 CONFIG_FILES= \
1715 LANGUAGES="$(CONFIG_LANGUAGES)" $(SHELL) config.status
d68b51ef 1716
7c0ae5f1
DE
1717# Really, really stupid make features, such as SUN's KEEP_STATE, may force
1718# a target to build even if it is up-to-date. So we must verify that
1719# config.status does not exist before failing.
a1286ef5 1720config.status: $(srcdir)/configure $(srcdir)/config.gcc
7c0ae5f1 1721 @if [ ! -f config.status ] ; then \
436a88a6 1722 echo You must configure gcc. Look at http://gcc.gnu.org/install/ for details.; \
7c0ae5f1
DE
1723 false; \
1724 else \
71205e0b 1725 LANGUAGES="$(CONFIG_LANGUAGES)" $(SHELL) config.status --recheck; \
7c0ae5f1
DE
1726 fi
1727
73458fb7
NN
1728# --------
1729# UNSORTED
1730# --------
1731
3bbd5a19
PB
1732# Provide quickstrap as a target that people can type into the gcc directory,
1733# and that fails if you're not into it.
1734quickstrap: all
1735 cd $(toplevel_builddir) && $(MAKE) all-target-libgcc
1736
43297964 1737all.internal: start.encap rest.encap doc
79d8453e 1738# This is what to compile if making a cross-compiler.
b3b2cbc4 1739all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \
fa958513 1740 libgcc-support lang.all.cross doc @GENINSRC@ srcextra
79d8453e 1741# This is what must be made before installing GCC and converting libraries.
4871239e 1742start.encap: native xgcc$(exeext) cpp$(exeext) specs \
14da6073 1743 libgcc-support lang.start.encap @GENINSRC@ srcextra
eea77e5f 1744# These can't be made until after GCC can run.
52c0e446 1745rest.encap: lang.rest.encap
79d8453e
RS
1746# This is what is made with the host's compiler
1747# whether making a cross compiler or not.
6eb95e99 1748native: config.status auto-host.h build-@POSUB@ $(LANGUAGES) \
d7f09764 1749 $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2) lto-wrapper$(exeext)
79d8453e
RS
1750
1751# Define the names for selecting languages in LANGUAGES.
9d29a5b7 1752c: cc1$(exeext)
79d8453e 1753
bff3fc41 1754# Tell GNU make these are phony targets.
52c0e446 1755.PHONY: c
bff3fc41 1756
3aa072f2
RS
1757# On the target machine, finish building a cross compiler.
1758# This does the things that can't be done on the host machine.
fa958513 1759rest.cross: specs
3aa072f2 1760
3aa072f2
RS
1761# Recompile all the language-independent object files.
1762# This is used only if the user explicitly asks for it.
a36556a8 1763compilations: $(BACKEND)
79d8453e 1764
4f4e53dd 1765# This archive is strictly for the host.
d1bd0ded 1766libbackend.a: $(OBJS@onestep@)
a36556a8 1767 -rm -rf libbackend.a
d1bd0ded 1768 $(AR) $(AR_FLAGS) libbackend.a $(OBJS@onestep@)
343a6100 1769 -$(RANLIB) $(RANLIB_FLAGS) libbackend.a
6c1cc7fa 1770
acbbf3d9
RS
1771# We call this executable `xgcc' rather than `gcc'
1772# to avoid confusion if the current directory is in the path
1773# and CC is `gcc'. It is renamed to `gcc' when it is installed.
14c7833c 1774xgcc$(exeext): $(GCC_OBJS) gccspec.o version.o intl.o prefix.o \
e980df8e 1775 version.o $(LIBDEPS) $(EXTRA_GCC_OBJS)
c607156f 1776 $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(GCC_OBJS) \
7980bfb8 1777 gccspec.o intl.o prefix.o version.o $(EXTRA_GCC_OBJS) $(LIBS)
3aa072f2 1778
4871239e 1779# cpp is to cpp0 as gcc is to cc1.
922cf99e
ZW
1780# The only difference from xgcc is that it's linked with cppspec.o
1781# instead of gccspec.o.
14c7833c 1782cpp$(exeext): $(GCC_OBJS) cppspec.o version.o intl.o prefix.o \
e980df8e 1783 version.o $(LIBDEPS) $(EXTRA_GCC_OBJS)
c607156f 1784 $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(GCC_OBJS) \
7980bfb8 1785 cppspec.o intl.o prefix.o version.o $(EXTRA_GCC_OBJS) $(LIBS)
922cf99e 1786
3aa072f2 1787# Dump a specs file to make -B./ read these specs over installed ones.
3bd6d4c4 1788$(SPECS): xgcc$(exeext)
d521a023 1789 $(GCC_FOR_TARGET) -dumpspecs > tmp-specs
3bd6d4c4 1790 mv tmp-specs $(SPECS)
79d8453e 1791
acbbf3d9 1792# We do want to create an executable named `xgcc', so we can use it to
79d8453e
RS
1793# compile libgcc2.a.
1794# Also create gcc-cross, so that install-common will install properly.
b3b2cbc4 1795gcc-cross$(exeext): xgcc$(exeext)
aab26e16 1796 cp xgcc$(exeext) gcc-cross$(exeext)
79d8453e 1797
6bc7bc14 1798dummy-checksum.o : dummy-checksum.c $(CONFIG_H) $(SYSTEM_H)
e980df8e 1799
3fd30b88 1800cc1-dummy$(exeext): $(C_OBJS) dummy-checksum.o $(BACKEND) $(LIBDEPS)
c607156f 1801 $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) \
7980bfb8 1802 dummy-checksum.o $(BACKEND) $(LIBS) $(BACKENDLIBS)
3fd30b88 1803
c21376ab
JM
1804cc1-checksum.c : cc1-dummy$(exeext) build/genchecksum$(build_exeext)
1805 build/genchecksum$(build_exeext) cc1-dummy$(exeext) > $@
3fd30b88 1806
6bc7bc14 1807cc1-checksum.o : cc1-checksum.c $(CONFIG_H) $(SYSTEM_H)
e980df8e 1808
3fd30b88 1809cc1$(exeext): $(C_OBJS) cc1-checksum.o $(BACKEND) $(LIBDEPS)
c607156f 1810 $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) \
7980bfb8 1811 cc1-checksum.o $(BACKEND) $(LIBS) $(BACKENDLIBS)
79d8453e 1812
544eb21e 1813#\f
79d8453e 1814# Build libgcc.a.
a2ab7f2b 1815
52a11cbf 1816LIB2ADD = $(LIB2FUNCS_EXTRA)
fa9518de 1817LIB2ADD_ST = $(LIB2FUNCS_STATIC_EXTRA)
3ec83fc2 1818
fa958513
DJ
1819# All source files for libgcc are either in the source directory (in
1820# which case they will start with $(srcdir)), or generated into the build
1821# directory (in which case they will be relative paths).
1822srcdirify = $(patsubst $(srcdir)%,$$(gcc_srcdir)%,$(filter $(srcdir)%,$(1))) \
1823 $(patsubst %,$$(gcc_objdir)/%,$(filter-out $(srcdir)%,$(1)))
1824
1825# The distinction between these two variables is no longer relevant,
1826# so we combine them. Sort removes duplicates.
1827GCC_EXTRA_PARTS := $(sort $(EXTRA_MULTILIB_PARTS) $(EXTRA_PARTS))
1828
52c0e446 1829libgcc-support: libgcc.mvars stmp-int-hdrs $(TCONFIG_H) \
fa958513 1830 $(MACHMODE_H) $(FPBIT) $(DPBIT) $(TPBIT) $(LIB2ADD) \
8893239d 1831 $(LIB2ADD_ST) $(LIB2ADDEH) $(srcdir)/emutls.c gcov-iov.h $(SFP_MACHINE)
fa958513
DJ
1832
1833libgcc.mvars: config.status Makefile $(LIB2ADD) $(LIB2ADD_ST) specs \
be0fe523 1834 xgcc$(exeext)
fa958513
DJ
1835 : > tmp-libgcc.mvars
1836 echo LIB1ASMFUNCS = '$(LIB1ASMFUNCS)' >> tmp-libgcc.mvars
1837 echo LIB1ASMSRC = '$(LIB1ASMSRC)' >> tmp-libgcc.mvars
1838 echo LIB2FUNCS_ST = '$(LIB2FUNCS_ST)' >> tmp-libgcc.mvars
1839 echo LIB2FUNCS_EXCLUDE = '$(LIB2FUNCS_EXCLUDE)' >> tmp-libgcc.mvars
1840 echo LIBGCOV = '$(LIBGCOV)' >> tmp-libgcc.mvars
1841 echo LIB2ADD = '$(call srcdirify,$(LIB2ADD))' >> tmp-libgcc.mvars
1842 echo LIB2ADD_ST = '$(call srcdirify,$(LIB2ADD_ST))' >> tmp-libgcc.mvars
8893239d
RH
1843 echo LIB2ADDEH = '$(call srcdirify,$(LIB2ADDEH) $(srcdir)/emutls.c)' >> tmp-libgcc.mvars
1844 echo LIB2ADDEHSTATIC = '$(call srcdirify,$(LIB2ADDEHSTATIC) $(srcdir)/emutls.c)' >> tmp-libgcc.mvars
1845 echo LIB2ADDEHSHARED = '$(call srcdirify,$(LIB2ADDEHSHARED) $(srcdir)/emutls.c)' >> tmp-libgcc.mvars
fa958513
DJ
1846 echo LIB2_SIDITI_CONV_FUNCS = '$(LIB2_SIDITI_CONV_FUNCS)' >> tmp-libgcc.mvars
1847 echo LIBUNWIND = '$(call srcdirify,$(LIBUNWIND))' >> tmp-libgcc.mvars
1848 echo SHLIBUNWIND_LINK = '$(SHLIBUNWIND_LINK)' >> tmp-libgcc.mvars
1849 echo SHLIBUNWIND_INSTALL = '$(SHLIBUNWIND_INSTALL)' >> tmp-libgcc.mvars
1850 echo FPBIT = '$(FPBIT)' >> tmp-libgcc.mvars
1851 echo FPBIT_FUNCS = '$(FPBIT_FUNCS)' >> tmp-libgcc.mvars
1852 echo LIB2_DIVMOD_FUNCS = '$(LIB2_DIVMOD_FUNCS)' >> tmp-libgcc.mvars
1853 echo DPBIT = '$(DPBIT)' >> tmp-libgcc.mvars
1854 echo DPBIT_FUNCS = '$(DPBIT_FUNCS)' >> tmp-libgcc.mvars
1855 echo TPBIT = '$(TPBIT)' >> tmp-libgcc.mvars
1856 echo TPBIT_FUNCS = '$(TPBIT_FUNCS)' >> tmp-libgcc.mvars
1857 echo DFP_ENABLE = '$(DFP_ENABLE)' >> tmp-libgcc.mvars
1858 echo DFP_CFLAGS='$(DFP_CFLAGS)' >> tmp-libgcc.mvars
1859 echo D32PBIT='$(D32PBIT)' >> tmp-libgcc.mvars
1860 echo D32PBIT_FUNCS='$(D32PBIT_FUNCS)' >> tmp-libgcc.mvars
1861 echo D64PBIT='$(D64PBIT)' >> tmp-libgcc.mvars
1862 echo D64PBIT_FUNCS='$(D64PBIT_FUNCS)' >> tmp-libgcc.mvars
1863 echo D128PBIT='$(D128PBIT)' >> tmp-libgcc.mvars
1864 echo D128PBIT_FUNCS='$(D128PBIT_FUNCS)' >> tmp-libgcc.mvars
1865 echo GCC_EXTRA_PARTS = '$(GCC_EXTRA_PARTS)' >> tmp-libgcc.mvars
1866 echo SHLIB_LINK = '$(subst $(GCC_FOR_TARGET),$$(GCC_FOR_TARGET),$(SHLIB_LINK))' >> tmp-libgcc.mvars
1867 echo SHLIB_INSTALL = '$(SHLIB_INSTALL)' >> tmp-libgcc.mvars
1868 echo SHLIB_EXT = '$(SHLIB_EXT)' >> tmp-libgcc.mvars
1869 echo SHLIB_MKMAP = '$(call srcdirify,$(SHLIB_MKMAP))' >> tmp-libgcc.mvars
1870 echo SHLIB_MKMAP_OPTS = '$(SHLIB_MKMAP_OPTS)' >> tmp-libgcc.mvars
1871 echo SHLIB_MAPFILES = '$(call srcdirify,$(SHLIB_MAPFILES))' >> tmp-libgcc.mvars
1872 echo SHLIB_NM_FLAGS = '$(SHLIB_NM_FLAGS)' >> tmp-libgcc.mvars
1873 echo LIBGCC2_CFLAGS = '$(LIBGCC2_CFLAGS)' >> tmp-libgcc.mvars
47ad7893 1874 echo TARGET_LIBGCC2_CFLAGS = '$(TARGET_LIBGCC2_CFLAGS)' >> tmp-libgcc.mvars
f92518d7
RS
1875 echo LIBGCC_SYNC = '$(LIBGCC_SYNC)' >> tmp-libgcc.mvars
1876 echo LIBGCC_SYNC_CFLAGS = '$(LIBGCC_SYNC_CFLAGS)' >> tmp-libgcc.mvars
fa958513
DJ
1877 echo CRTSTUFF_CFLAGS = '$(CRTSTUFF_CFLAGS)' >> tmp-libgcc.mvars
1878 echo CRTSTUFF_T_CFLAGS = '$(CRTSTUFF_T_CFLAGS)' >> tmp-libgcc.mvars
1879 echo CRTSTUFF_T_CFLAGS_S = '$(CRTSTUFF_T_CFLAGS_S)' >> tmp-libgcc.mvars
7f142d33 1880 echo TARGET_SYSTEM_ROOT = '$(TARGET_SYSTEM_ROOT)' >> tmp-libgcc.mvars
fa958513
DJ
1881
1882 mv tmp-libgcc.mvars libgcc.mvars
79d8453e 1883
f6cdc7ea
DE
1884# Use the genmultilib shell script to generate the information the gcc
1885# driver program needs to select the library directory based on the
1886# switches.
e5e809f4
JL
1887multilib.h: s-mlib; @true
1888s-mlib: $(srcdir)/genmultilib Makefile
c49d2df6
JJ
1889 if test @enable_multilib@ = yes \
1890 || test -n "$(MULTILIB_OSDIRNAMES)"; then \
4d2fb38b
JJ
1891 $(SHELL) $(srcdir)/genmultilib \
1892 "$(MULTILIB_OPTIONS)" \
1893 "$(MULTILIB_DIRNAMES)" \
1894 "$(MULTILIB_MATCHES)" \
1895 "$(MULTILIB_EXCEPTIONS)" \
1896 "$(MULTILIB_EXTRA_OPTS)" \
1897 "$(MULTILIB_EXCLUSIONS)" \
5bbcd587 1898 "$(MULTILIB_OSDIRNAMES)" \
c49d2df6 1899 "@enable_multilib@" \
4d2fb38b
JJ
1900 > tmp-mlib.h; \
1901 else \
c49d2df6
JJ
1902 $(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' '' no \
1903 > tmp-mlib.h; \
4d2fb38b 1904 fi
88e3a2a3 1905 $(SHELL) $(srcdir)/../move-if-change tmp-mlib.h multilib.h
d9835ae8 1906 $(STAMP) s-mlib
f6cdc7ea 1907
79d8453e 1908# Compile two additional files that are linked with every program
32988c4a
RM
1909# linked using GCC on systems using COFF or ELF, for the sake of C++
1910# constructors.
11642c3a 1911$(T)crtbegin.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
4977bab6 1912 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
cea3bd3e 1913 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \
160633c6 1914 -c $(srcdir)/crtstuff.c -DCRT_BEGIN \
cea3bd3e 1915 -o $(T)crtbegin$(objext)
47a22692 1916
11642c3a 1917$(T)crtend.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
4977bab6 1918 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
cea3bd3e 1919 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \
160633c6 1920 -c $(srcdir)/crtstuff.c -DCRT_END \
cea3bd3e 1921 -o $(T)crtend$(objext)
32988c4a 1922
a9e6777f 1923# These are versions of crtbegin and crtend for shared libraries.
11642c3a 1924$(T)crtbeginS.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
4977bab6 1925 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
cea3bd3e 1926 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS_S) \
160633c6 1927 -c $(srcdir)/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \
a9e6777f 1928 -o $(T)crtbeginS$(objext)
32988c4a 1929
11642c3a 1930$(T)crtendS.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
4977bab6 1931 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
cea3bd3e 1932 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS_S) \
160633c6 1933 -c $(srcdir)/crtstuff.c -DCRT_END -DCRTSTUFFS_O \
a9e6777f 1934 -o $(T)crtendS$(objext)
522170ca 1935
275b60d6
JJ
1936# This is a version of crtbegin for -static links.
1937$(T)crtbeginT.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
4977bab6 1938 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
cea3bd3e 1939 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \
160633c6 1940 -c $(srcdir)/crtstuff.c -DCRT_BEGIN -DCRTSTUFFT_O \
275b60d6
JJ
1941 -o $(T)crtbeginT$(objext)
1942
3ec83fc2
RH
1943# Compile the start modules crt0.o and mcrt0.o that are linked with
1944# every program
891984af
JB
1945$(T)crt0.o: s-crt0 ; @true
1946$(T)mcrt0.o: s-crt0; @true
522170ca 1947
e5e809f4 1948s-crt0: $(CRT0_S) $(MCRT0_S) $(GCC_PASSES) $(CONFIG_H)
522170ca 1949 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(CRT0STUFF_T_CFLAGS) \
891984af 1950 -o $(T)crt0.o -c $(CRT0_S)
522170ca 1951 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(CRT0STUFF_T_CFLAGS) \
891984af 1952 -o $(T)mcrt0.o -c $(MCRT0_S)
d9835ae8 1953 $(STAMP) s-crt0
544eb21e 1954#\f
79d8453e
RS
1955# Compiling object files from source files.
1956
e980df8e
TT
1957# Note that dependencies on obstack.h are not written
1958# because that file is not part of GCC.
1959
1960# C language specific files.
1961
1962c-errors.o: c-errors.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
1963 $(C_TREE_H) $(FLAGS_H) $(DIAGNOSTIC_H) $(TM_P_H)
1964c-parser.o : c-parser.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
aa14403d 1965 $(GGC_H) $(TIMEVAR_H) $(C_TREE_H) $(INPUT_H) $(FLAGS_H) $(TOPLEV_H) output.h \
e63ea00c 1966 $(CPPLIB_H) gt-c-parser.h $(RTL_H) langhooks.h $(C_COMMON_H) $(C_PRAGMA_H) \
f4ce02c5 1967 vec.h $(TARGET_H) $(CGRAPH_H) $(PLUGIN_H)
e980df8e 1968
02ba6b22
KC
1969srcextra: gcc.srcextra lang.srcextra
1970
01d419ae 1971gcc.srcextra: gengtype-lex.c
03787dfd
KC
1972 -cp -p $^ $(srcdir)
1973
670637ee 1974incpath.o: incpath.c incpath.h $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) \
e980df8e
TT
1975 intl.h prefix.h coretypes.h $(TM_H) cppdefault.h $(TARGET_H) \
1976 $(MACHMODE_H)
1977
1978c-decl.o : c-decl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
1979 $(RTL_H) $(C_TREE_H) $(GGC_H) $(TARGET_H) $(FLAGS_H) $(FUNCTION_H) output.h \
f4ce02c5 1980 debug.h $(TOPLEV_H) intl.h $(TM_P_H) $(TREE_INLINE_H) $(TIMEVAR_H) \
e980df8e 1981 opts.h $(C_PRAGMA_H) gt-c-decl.h $(CGRAPH_H) $(HASHTAB_H) libfuncs.h \
a8da523f 1982 $(EXCEPT_H) $(LANGHOOKS_DEF_H) $(TREE_DUMP_H) $(C_COMMON_H) $(CPPLIB_H) \
f4ce02c5
SB
1983 $(DIAGNOSTIC_H) $(INPUT_H) langhooks.h tree-mudflap.h \
1984 pointer-set.h tree-iterator.h c-lang.h $(PLUGIN_H)
e980df8e
TT
1985c-typeck.o : c-typeck.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
1986 $(TREE_H) $(C_TREE_H) $(TARGET_H) $(FLAGS_H) intl.h output.h $(EXPR_H) \
f4ce02c5 1987 $(TOPLEV_H) langhooks.h $(TREE_FLOW_H) tree-iterator.h c-lang.h
e980df8e
TT
1988c-lang.o : c-lang.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
1989 $(C_TREE_H) $(DIAGNOSTIC_H) \
f4ce02c5 1990 langhooks.h $(LANGHOOKS_DEF_H) $(C_COMMON_H) gtype-c.h \
e980df8e
TT
1991 c-objc-common.h $(C_PRAGMA_H) c-common.def $(TREE_INLINE_H)
1992stub-objc.o : stub-objc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
1993 $(C_COMMON_H)
1994c-lex.o : c-lex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
40013784 1995 $(FIXED_VALUE_H) debug.h $(C_TREE_H) $(C_COMMON_H) $(SPLAY_TREE_H) \
aa14403d 1996 $(C_PRAGMA_H) $(INPUT_H) intl.h $(FLAGS_H) $(TOPLEV_H) output.h \
f4ce02c5
SB
1997 $(CPPLIB_H) $(TARGET_H) $(TIMEVAR_H)
1998c-ppoutput.o : c-ppoutput.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
e63ea00c 1999 $(C_COMMON_H) $(TREE_H) $(CPPLIB_H) $(CPP_INTERNAL_H) $(C_PRAGMA_H)
e980df8e 2000c-objc-common.o : c-objc-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
f4ce02c5 2001 $(TREE_H) $(C_TREE_H) $(FLAGS_H) $(DIAGNOSTIC_H) \
cf835838
JM
2002 langhooks.h $(GGC_H) $(C_PRETTY_PRINT_H) c-objc-common.h intl.h \
2003 tree-pretty-print.h
e980df8e 2004c-aux-info.o : c-aux-info.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
aa14403d 2005 $(C_TREE_H) $(FLAGS_H) $(TOPLEV_H)
e980df8e 2006c-convert.o : c-convert.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
aa14403d 2007 $(TREE_H) $(FLAGS_H) $(TOPLEV_H) $(C_COMMON_H) convert.h $(C_TREE_H) \
e980df8e
TT
2008 langhooks.h $(TARGET_H)
2009c-pragma.o: c-pragma.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
f4ce02c5 2010 $(TREE_H) $(FUNCTION_H) $(C_PRAGMA_H) $(TOPLEV_H) output.h $(TM_P_H) \
e63ea00c 2011 $(C_COMMON_H) $(TARGET_H) gt-c-pragma.h $(CPPLIB_H) $(FLAGS_H) $(DIAGNOSTIC_H) \
7ac8318c 2012 opts.h $(PLUGINS_H)
aa14403d 2013graph.o: graph.c $(SYSTEM_H) coretypes.h $(TM_H) $(TOPLEV_H) $(FLAGS_H) output.h \
e63ea00c
RW
2014 $(RTL_H) $(FUNCTION_H) hard-reg-set.h $(BASIC_BLOCK_H) graph.h $(OBSTACK_H) \
2015 $(CONFIG_H)
e980df8e
TT
2016sbitmap.o: sbitmap.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2017 $(FLAGS_H) hard-reg-set.h $(BASIC_BLOCK_H) $(OBSTACK_H)
2018ebitmap.o: ebitmap.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
e63ea00c
RW
2019 $(EBITMAP_H) $(RTL_H) $(FLAGS_H) $(OBSTACK_H)
2020sparseset.o: sparseset.c $(SYSTEM_H) sparseset.h $(CONFIG_H)
e980df8e 2021
dfb636dc 2022COLLECT2_OBJS = collect2.o collect2-aix.o tlink.o intl.o version.o
4e70264f 2023COLLECT2_LIBS = @COLLECT2_LIBS@
a2d25763 2024collect2$(exeext): $(COLLECT2_OBJS) $(LIBDEPS)
057f494b 2025# Don't try modifying collect2 (aka ld) in place--it might be linking this.
c607156f 2026 $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o T$@ \
4e70264f 2027 $(COLLECT2_OBJS) $(LIBS) $(COLLECT2_LIBS)
ff0a63e8 2028 mv -f T$@ $@
79d8453e 2029
e980df8e 2030collect2.o : collect2.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h \
dfb636dc 2031 $(OBSTACK_H) $(DEMANGLE_H) collect2.h collect2-aix.h version.h
7980bfb8 2032 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e 2033 -DTARGET_MACHINE=\"$(target_noncanonical)\" \
dfb636dc
RS
2034 -c $(srcdir)/collect2.c $(OUTPUT_OPTION) @TARGET_SYSTEM_ROOT_DEFINE@
2035
2036collect2-aix.o : collect2-aix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2037 collect2-aix.h
e980df8e
TT
2038
2039tlink.o: tlink.c $(DEMANGLE_H) $(HASHTAB_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2040 $(OBSTACK_H) collect2.h intl.h
2041
d7f09764 2042lto-wrapper$(exeext): lto-wrapper.o intl.o $(LIBDEPS)
66af4187 2043 $(COMPILER) $(ALL_COMPILERFLAGS) $(LDFLAGS) -o T$@ lto-wrapper.o intl.o $(LIBS)
d7f09764
DN
2044 mv -f T$@ $@
2045
2046lto-wrapper.o: lto-wrapper.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h
2047
e980df8e
TT
2048# A file used by all variants of C.
2049
2050c-common.o : c-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
aa14403d 2051 $(OBSTACK_H) $(C_COMMON_H) $(FLAGS_H) $(TOPLEV_H) output.h $(C_PRAGMA_H) \
e980df8e 2052 $(GGC_H) $(EXPR_H) $(TM_P_H) builtin-types.def builtin-attrs.def \
9aae8d16 2053 $(DIAGNOSTIC_H) gt-c-common.h langhooks.h $(RTL_H) \
e980df8e 2054 $(TARGET_H) $(C_TREE_H) tree-iterator.h langhooks.h tree-mudflap.h \
40013784 2055 intl.h opts.h $(CPPLIB_H) $(TREE_INLINE_H) $(HASHTAB_H) \
726a989a 2056 $(BUILTINS_DEF) $(CGRAPH_H) $(BASIC_BLOCK_H) $(TARGET_DEF_H) \
f4ce02c5 2057 libfuncs.h
e980df8e
TT
2058
2059c-pretty-print.o : c-pretty-print.c $(C_PRETTY_PRINT_H) \
40013784 2060 $(C_TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
cf835838 2061 $(DIAGNOSTIC_H) tree-iterator.h intl.h tree-pretty-print.h
e980df8e 2062
f4ce02c5
SB
2063c-opts.o : c-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2064 $(TREE_H) $(C_PRAGMA_H) $(FLAGS_H) $(TOPLEV_H) langhooks.h \
2065 $(DIAGNOSTIC_H) intl.h debug.h $(C_COMMON_H) \
2066 opts.h options.h $(MKDEPS_H) incpath.h cppdefault.h $(C_TREE_H)
7980bfb8 2067 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
2068 $< $(OUTPUT_OPTION) @TARGET_SYSTEM_ROOT_DEFINE@
2069
2070c-cppbuiltin.o : c-cppbuiltin.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
d4ea4622 2071 $(TREE_H) version.h $(C_COMMON_H) $(C_PRAGMA_H) $(FLAGS_H) \
40013784 2072 $(TOPLEV_H) output.h $(EXCEPT_H) $(TREE_H) $(TARGET_H) $(TM_P_H) \
d4ea4622 2073 $(BASEVER) debug.h
7980bfb8
ILT
2074 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
2075 -DBASEVER=$(BASEVER_s) $< $(OUTPUT_OPTION)
e980df8e
TT
2076
2077# A file used by all variants of C and some other languages.
2078
2079attribs.o : attribs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
aa14403d 2080 $(FLAGS_H) $(TOPLEV_H) output.h $(RTL_H) $(GGC_H) $(TM_P_H) \
464778c0 2081 $(TARGET_H) langhooks.h $(CPPLIB_H) $(PLUGIN_H)
e980df8e
TT
2082
2083c-format.o : c-format.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) langhooks.h \
aa14403d 2084 $(C_COMMON_H) $(FLAGS_H) $(TOPLEV_H) intl.h $(DIAGNOSTIC_H) alloc-pool.h \
e980df8e
TT
2085 c-format.h
2086
2087c-semantics.o : c-semantics.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
f4ce02c5
SB
2088 $(TREE_H) $(FLAGS_H) $(TOPLEV_H) output.h $(C_COMMON_H) $(FUNCTION_H) \
2089 langhooks.h $(SPLAY_TREE_H) $(TIMEVAR_H) tree-iterator.h
e980df8e
TT
2090
2091c-dump.o : c-dump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2092 $(C_TREE_H) $(TREE_DUMP_H)
2093
2094c-pch.o : c-pch.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(CPPLIB_H) $(TREE_H) \
aa14403d 2095 $(C_COMMON_H) output.h $(TOPLEV_H) $(C_PRAGMA_H) $(GGC_H) debug.h \
10d43c2d 2096 langhooks.h $(FLAGS_H) hosthooks.h version.h $(TARGET_H) opts.h \
613b1547 2097 $(TIMEVAR_H)
7980bfb8 2098 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
2099 -DHOST_MACHINE=\"$(host)\" -DTARGET_MACHINE=\"$(target)\" \
2100 $< $(OUTPUT_OPTION)
2101
f4ce02c5
SB
2102c-omp.o : c-omp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
2103 $(C_COMMON_H) $(TOPLEV_H) $(GIMPLE_H) langhooks.h
79d8453e 2104
e980df8e 2105# Language-independent files.
2fe3178b 2106
610c62ac 2107DRIVER_DEFINES = \
0deb20df 2108 -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
a8ee6e2d
GK
2109 -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
2110 -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
964ceda1 2111 -DDEFAULT_TARGET_VERSION=\"$(version)\" \
caa55b1e 2112 -DDEFAULT_TARGET_MACHINE=\"$(target_noncanonical)\" \
0deb20df 2113 -DSTANDARD_BINDIR_PREFIX=\"$(bindir)/\" \
15c723f3 2114 -DTOOLDIR_BASE_PREFIX=\"$(libsubdir_to_prefix)$(prefix_to_exec_prefix)\" \
4977bab6 2115 @TARGET_SYSTEM_ROOT_DEFINE@ \
414d23ae 2116 $(VALGRIND_DRIVER_DEFINES) \
e11ddaf5
NS
2117 `test "X$${SHLIB_LINK}" = "X" || test "@enable_shared@" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` \
2118 -DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\""
e980df8e
TT
2119
2120gcc.o: gcc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h multilib.h \
2121 Makefile $(lang_specs_files) specs.h prefix.h $(GCC_H) $(FLAGS_H) \
2122 configargs.h $(OBSTACK_H) opts.h
2123 (SHLIB_LINK='$(SHLIB_LINK)'; \
7980bfb8 2124 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
2125 $(DRIVER_DEFINES) \
2126 -c $(srcdir)/gcc.c $(OUTPUT_OPTION))
2127
2128gccspec.o: gccspec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H)
2129 (SHLIB_LINK='$(SHLIB_LINK)'; \
7980bfb8 2130 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
2131 $(DRIVER_DEFINES) \
2132 -c $(srcdir)/gccspec.c $(OUTPUT_OPTION))
2133
2134cppspec.o: cppspec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H)
08dc830e 2135
0d24f4d1
ZW
2136specs.h : s-specs ; @true
2137s-specs : Makefile
766c7ad1
ZW
2138 lsf="$(lang_specs_files)"; for f in $$lsf; do \
2139 echo "#include \"$$f\""; \
0d24f4d1 2140 done | sed 's|$(srcdir)/||' > tmp-specs.h
88e3a2a3 2141 $(SHELL) $(srcdir)/../move-if-change tmp-specs.h specs.h
0d24f4d1
ZW
2142 $(STAMP) s-specs
2143
776dc15d 2144optionlist: s-options ; @true
75685792
RS
2145s-options: $(ALL_OPT_FILES) Makefile $(srcdir)/opt-gather.awk
2146 $(AWK) -f $(srcdir)/opt-gather.awk $(ALL_OPT_FILES) > tmp-optionlist
776dc15d 2147 $(SHELL) $(srcdir)/../move-if-change tmp-optionlist optionlist
469ef4a3
ILT
2148 $(STAMP) s-options
2149
776dc15d
KC
2150options.c: optionlist $(srcdir)/opt-functions.awk $(srcdir)/optc-gen.awk
2151 $(AWK) -f $(srcdir)/opt-functions.awk -f $(srcdir)/optc-gen.awk \
d3dc619d 2152 -v header_name="config.h system.h coretypes.h tm.h" < $< > $@
776dc15d 2153
75685792
RS
2154options.h: s-options-h ; @true
2155s-options-h: optionlist $(srcdir)/opt-functions.awk $(srcdir)/opth-gen.awk
776dc15d 2156 $(AWK) -f $(srcdir)/opt-functions.awk -f $(srcdir)/opth-gen.awk \
75685792
RS
2157 < $< > tmp-options.h
2158 $(SHELL) $(srcdir)/../move-if-change tmp-options.h options.h
2159 $(STAMP) $@
776dc15d 2160
ab442df7
MM
2161options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TARGET_H) $(FLAGS_H) \
2162 $(TM_H) opts.h intl.h
e980df8e
TT
2163
2164gcc-options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) opts.h intl.h
7980bfb8
ILT
2165 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(OUTPUT_OPTION) \
2166 -DGCC_DRIVER options.c
e980df8e 2167
79d8453e
RS
2168dumpvers: dumpvers.c
2169
cf8aba7f 2170ifdef REVISION_c
e980df8e
TT
2171version.o: version.c version.h $(REVISION) $(DATESTAMP) $(BASEVER) $(DEVPHASE)
2172else
2173version.o: version.c version.h $(DATESTAMP) $(BASEVER) $(DEVPHASE)
2174endif
7980bfb8 2175 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
2176 -DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
2177 -DREVISION=$(REVISION_s) \
2178 -DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \
2179 -DBUGURL=$(BUGURL_s) -c $(srcdir)/version.c $(OUTPUT_OPTION)
2180
2181gtype-desc.o: gtype-desc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
b6feb796 2182 $(HASHTAB_H) $(SPLAY_TREE_H) $(OBSTACK_H) $(BITMAP_H) \
464778c0 2183 $(INPUT_H) $(TREE_H) $(RTL_H) $(FUNCTION_H) insn-config.h $(EXPR_H) \
e63ea00c
RW
2184 hard-reg-set.h $(BASIC_BLOCK_H) cselib.h $(INSN_ADDR_H) $(OPTABS_H) \
2185 libfuncs.h debug.h $(GGC_H) $(CGRAPH_H) $(TREE_FLOW_H) reload.h \
a8da523f 2186 $(CPP_ID_DATA_H) tree-chrec.h $(CFGLAYOUT_H) $(EXCEPT_H) output.h \
1d65f45c 2187 $(CFGLOOP_H) $(TARGET_H)
e980df8e 2188
ae2392a9
BS
2189ggc-common.o: ggc-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2190 $(GGC_H) $(HASHTAB_H) $(TOPLEV_H) $(PARAMS_H) hosthooks.h \
613b1547 2191 $(HOSTHOOKS_DEF_H) vec.h $(PLUGIN_H) $(TIMEVAR_H)
e980df8e
TT
2192
2193ggc-page.o: ggc-page.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
464778c0 2194 $(FLAGS_H) $(TOPLEV_H) $(GGC_H) $(TIMEVAR_H) $(TM_P_H) $(PARAMS_H) $(TREE_FLOW_H) $(PLUGIN_H)
e980df8e
TT
2195
2196ggc-zone.o: ggc-zone.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
aa14403d 2197 $(TREE_H) $(FLAGS_H) $(TOPLEV_H) $(GGC_H) $(TIMEVAR_H) $(TM_P_H) \
9aae8d16 2198 $(PARAMS_H) $(BITMAP_H) $(PLUGIN_H)
e980df8e
TT
2199
2200ggc-none.o: ggc-none.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(GGC_H) \
2201 $(BCONFIG_H)
2202
2203stringpool.o: stringpool.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2204 $(TREE_H) $(GGC_H) gt-stringpool.h $(CPPLIB_H) $(SYMTAB_H)
2205
2206prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) prefix.h \
2207 Makefile $(BASEVER)
7980bfb8 2208 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
2209 -DPREFIX=\"$(prefix)\" -DBASEVER=$(BASEVER_s) \
2210 -c $(srcdir)/prefix.c $(OUTPUT_OPTION)
2211
2212convert.o: convert.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
40013784 2213 $(FLAGS_H) convert.h $(TOPLEV_H) langhooks.h
e980df8e
TT
2214
2215double-int.o: double-int.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H)
2216
d7f09764
DN
2217# lto-compress.o needs $(ZLIBINC) added to the include flags.
2218lto-compress.o: lto-compress.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2219 $(TREE_H) langhooks.h $(LTO_HEADER_H) $(LTO_SECTION_H) \
3b2ce251 2220 lto-compress.h $(DIAGNOSTIC_H) $(TOPLEV_H)
66af4187 2221 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(ZLIBINC) $< $(OUTPUT_OPTION)
d7f09764
DN
2222
2223lto-cgraph.o: lto-cgraph.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2224 $(TM_H) $(TOPLEV_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \
9aae8d16 2225 $(HASHTAB_H) langhooks.h $(BASIC_BLOCK_H) \
d7f09764 2226 $(TREE_FLOW_H) $(CGRAPH_H) $(FUNCTION_H) $(GGC_H) $(DIAGNOSTIC_H) \
0bc1b77f 2227 except.h $(TIMEVAR_H) output.h pointer-set.h $(LTO_STREAMER_H) $(GCOV_IO_H)
d7f09764 2228lto-streamer-in.o: lto-streamer-in.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
9aae8d16 2229 $(TM_H) $(TOPLEV_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \
d7f09764
DN
2230 $(HASHTAB_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(TREE_PASS_H) $(CGRAPH_H) \
2231 $(FUNCTION_H) $(GGC_H) $(DIAGNOSTIC_H) libfuncs.h $(EXCEPT_H) debug.h \
2232 $(TIMEVAR_H) output.h $(IPA_UTILS_H) $(LTO_STREAMER_H)
2233lto-streamer-out.o : lto-streamer-out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2234 $(TM_H) $(TOPLEV_H) $(TREE_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \
9aae8d16 2235 $(HASHTAB_H) $(BASIC_BLOCK_H) tree-iterator.h \
d7f09764 2236 $(TREE_FLOW_H) $(TREE_PASS_H) $(CGRAPH_H) $(FUNCTION_H) $(GGC_H) \
3b2ce251 2237 $(DIAGNOSTIC_H) except.h $(LTO_STREAMER_H) $(TOPLEV_H)
d7f09764 2238lto-section-in.o: lto-section-in.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
9aae8d16 2239 $(TOPLEV_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \
d7f09764
DN
2240 $(HASHTAB_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(CGRAPH_H) $(FUNCTION_H) \
2241 $(GGC_H) $(DIAGNOSTIC_H) except.h $(TIMEVAR_H) output.h \
2242 $(LTO_STREAMER_H) lto-compress.h
2243lto-section-out.o : lto-section-out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2244 $(TM_H) $(TOPLEV_H) $(TREE_H) $(EXPR_H) $(PARAMS_H) input.h \
9aae8d16 2245 $(HASHTAB_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(TREE_PASS_H) \
d7f09764
DN
2246 $(CGRAPH_H) $(FUNCTION_H) $(GGC_H) except.h pointer-set.h \
2247 $(BITMAP_H) langhooks.h $(LTO_STREAMER_H) lto-compress.h
2248lto-symtab.o: lto-symtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2249 toplev.h $(TREE_H) $(GIMPLE_H) $(GGC_H) $(LAMBDA_H) $(HASHTAB_H) \
2250 $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H) gt-lto-symtab.h
2251lto-opts.o: lto-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
2252 $(HASHTAB_H) $(GGC_H) $(BITMAP_H) $(FLAGS_H) opts.h options.h \
2253 $(TARGET_H) $(TOPLEV_H) $(LTO_STREAMER_H)
2254lto-streamer.o: lto-streamer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2255 $(TM_H) $(TREE_H) $(GIMPLE_H) $(BITMAP_H) $(LTO_STREAMER_H) $(FLAGS_H) \
2256 $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(LTO_SYMTAB_H) $(TOPLEV_H)
e980df8e 2257langhooks.o : langhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
aa14403d 2258 $(TREE_H) $(TOPLEV_H) $(TREE_INLINE_H) $(RTL_H) insn-config.h $(INTEGRATE_H) \
e63ea00c 2259 langhooks.h $(TARGET_H) $(LANGHOOKS_DEF_H) $(FLAGS_H) $(GGC_H) $(DIAGNOSTIC_H) \
cf835838 2260 intl.h $(GIMPLE_H) $(CGRAPH_H) output.h tree-diagnostic.h
40013784 2261tree.o: tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
c0ed0531 2262 all-tree.def $(FLAGS_H) $(FUNCTION_H) $(PARAMS_H) \
1d65f45c 2263 $(TOPLEV_H) $(GGC_H) $(HASHTAB_H) $(TARGET_H) output.h $(TM_P_H) \
40013784
SB
2264 langhooks.h gt-tree.h $(TREE_INLINE_H) tree-iterator.h \
2265 $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(OBSTACK_H) pointer-set.h \
464778c0 2266 tree-pass.h $(LANGHOOKS_DEF_H) $(DIAGNOSTIC_H) $(CGRAPH_H) $(TIMEVAR_H) \
cf835838 2267 $(EXCEPT_H) debug.h intl.h tree-diagnostic.h tree-pretty-print.h
e980df8e 2268tree-dump.o: tree-dump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
aa14403d 2269 $(TREE_H) langhooks.h $(TOPLEV_H) $(SPLAY_TREE_H) $(TREE_DUMP_H) \
40013784 2270 tree-iterator.h $(TREE_PASS_H) $(DIAGNOSTIC_H)
e980df8e 2271tree-inline.o : tree-inline.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
e63ea00c 2272 $(TREE_H) $(RTL_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) $(INPUT_H) insn-config.h \
3e014341 2273 $(HASHTAB_H) $(TOPLEV_H) langhooks.h $(TREE_INLINE_H) $(CGRAPH_H) \
086058c2 2274 intl.h $(FUNCTION_H) $(GIMPLE_H) \
a8da523f 2275 debug.h $(DIAGNOSTIC_H) $(EXCEPT_H) $(TREE_FLOW_H) tree-iterator.h tree-mudflap.h \
cf835838
JM
2276 $(IPA_PROP_H) value-prof.h $(TREE_PASS_H) $(TARGET_H) $(INTEGRATE_H) \
2277 tree-pretty-print.h
e980df8e 2278print-tree.o : print-tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
40013784 2279 $(GGC_H) langhooks.h tree-iterator.h \
cf835838 2280 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_PASS_H) gimple-pretty-print.h
e980df8e 2281stor-layout.o : stor-layout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
e63ea00c 2282 $(TREE_H) $(PARAMS_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) output.h $(RTL_H) \
e980df8e 2283 $(GGC_H) $(TM_P_H) $(TARGET_H) langhooks.h $(REGS_H) gt-stor-layout.h \
f82a627c 2284 $(TOPLEV_H) $(CGRAPH_H) $(TREE_INLINE_H) $(TREE_DUMP_H) $(GIMPLE_H)
5006671f 2285tree-ssa-structalias.o: tree-ssa-structalias.c \
e63ea00c 2286 $(SYSTEM_H) $(CONFIG_H) coretypes.h $(TM_H) $(GGC_H) $(OBSTACK_H) $(BITMAP_H) \
40013784 2287 $(FLAGS_H) $(TM_P_H) $(BASIC_BLOCK_H) output.h \
b6feb796 2288 $(DIAGNOSTIC_H) $(TOPLEV_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) \
237ee620 2289 $(GIMPLE_H) $(HASHTAB_H) $(FUNCTION_H) $(CGRAPH_H) \
7072a650
ILT
2290 $(TREE_PASS_H) $(TIMEVAR_H) alloc-pool.h $(SPLAY_TREE_H) $(PARAMS_H) \
2291 gt-tree-ssa-structalias.h $(CGRAPH_H) $(ALIAS_H) pointer-set.h
34f97b94 2292tree-ssa-uninit.o : tree-ssa-uninit.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2293 $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
34f97b94
XDL
2294 $(TOPLEV_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2295 $(TREE_DUMP_H) langhooks.h tree-pass.h $(BASIC_BLOCK_H) $(BITMAP_H) \
40013784 2296 $(FLAGS_H) $(HASHTAB_H) pointer-set.h \
cf835838 2297 $(GIMPLE_H) $(TREE_INLINE_H) gimple-pretty-print.h
e980df8e 2298tree-ssa.o : tree-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2299 $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
aa14403d 2300 $(TOPLEV_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
7072a650 2301 $(TREE_DUMP_H) langhooks.h $(TREE_PASS_H) $(BASIC_BLOCK_H) $(BITMAP_H) \
40013784 2302 $(FLAGS_H) $(GGC_H) $(HASHTAB_H) pointer-set.h \
cf835838
JM
2303 $(GIMPLE_H) $(TREE_INLINE_H) $(TARGET_H) tree-pretty-print.h \
2304 gimple-pretty-print.h
e980df8e 2305tree-into-ssa.o : tree-into-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2306 $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
e980df8e 2307 $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
40013784
SB
2308 langhooks.h domwalk.h $(TREE_PASS_H) $(PARAMS_H) $(BASIC_BLOCK_H) \
2309 $(BITMAP_H) $(CFGLOOP_H) $(FLAGS_H) $(HASHTAB_H) \
cf835838
JM
2310 $(GIMPLE_H) $(TREE_INLINE_H) vecprim.h tree-pretty-print.h \
2311 gimple-pretty-print.h
e980df8e
TT
2312tree-ssa-ter.o : tree-ssa-ter.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2313 $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
cf835838
JM
2314 $(TREE_SSA_LIVE_H) $(BITMAP_H) $(FLAGS_H) tree-pretty-print.h \
2315 gimple-pretty-print.h
e980df8e
TT
2316tree-ssa-coalesce.o : tree-ssa-coalesce.c $(TREE_FLOW_H) $(CONFIG_H) \
2317 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
cf835838
JM
2318 $(TREE_SSA_LIVE_H) $(BITMAP_H) $(FLAGS_H) $(HASHTAB_H) $(TOPLEV_H) \
2319 tree-pretty-print.h
e980df8e
TT
2320tree-outof-ssa.o : tree-outof-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2321 $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
7072a650 2322 $(TREE_PASS_H) $(TREE_SSA_LIVE_H) $(BASIC_BLOCK_H) $(BITMAP_H) $(GGC_H) \
cf835838
JM
2323 $(TOPLEV_H) $(EXPR_H) $(SSAEXPAND_H) tree-pretty-print.h \
2324 gimple-pretty-print.h
e980df8e
TT
2325tree-ssa-dse.o : tree-ssa-dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2326 $(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) $(TM_P_H) $(BASIC_BLOCK_H) \
7072a650 2327 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) domwalk.h $(FLAGS_H) \
dc874b53 2328 $(DIAGNOSTIC_H) $(TIMEVAR_H) langhooks.h
e980df8e 2329tree-ssa-forwprop.o : tree-ssa-forwprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 2330 $(TM_H) $(TREE_H) $(TM_P_H) $(BASIC_BLOCK_H) \
7072a650 2331 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
cf835838 2332 langhooks.h $(FLAGS_H) $(GIMPLE_H) tree-pretty-print.h
5a3db6d5 2333tree-ssa-phiprop.o : tree-ssa-phiprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 2334 $(TM_H) $(TREE_H) $(TM_P_H) $(BASIC_BLOCK_H) \
7072a650 2335 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
cf835838 2336 langhooks.h $(FLAGS_H) tree-pretty-print.h gimple-pretty-print.h
e980df8e
TT
2337tree-ssa-ifcombine.o : tree-ssa-ifcombine.c $(CONFIG_H) $(SYSTEM_H) \
2338 coretypes.h $(TM_H) $(TREE_H) $(BASIC_BLOCK_H) \
cf835838
JM
2339 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
2340 tree-pretty-print.h
e980df8e 2341tree-ssa-phiopt.o : tree-ssa-phiopt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 2342 $(TM_H) $(GGC_H) $(TREE_H) $(TM_P_H) $(BASIC_BLOCK_H) \
7072a650 2343 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) langhooks.h $(FLAGS_H) \
e63ea00c 2344 $(DIAGNOSTIC_H) $(TIMEVAR_H) pointer-set.h domwalk.h
e980df8e 2345tree-nrv.o : tree-nrv.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 2346 $(TM_H) $(TREE_H) $(FUNCTION_H) $(BASIC_BLOCK_H) $(FLAGS_H) \
7072a650 2347 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TIMEVAR_H) $(TREE_DUMP_H) $(TREE_PASS_H) \
cf835838 2348 langhooks.h tree-pretty-print.h
e980df8e 2349tree-ssa-copy.o : tree-ssa-copy.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2350 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h $(DIAGNOSTIC_H) \
e980df8e 2351 $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
7072a650 2352 $(BASIC_BLOCK_H) $(TREE_PASS_H) langhooks.h tree-ssa-propagate.h \
cf835838 2353 $(FLAGS_H) $(CFGLOOP_H) tree-pretty-print.h gimple-pretty-print.h
e980df8e 2354tree-ssa-propagate.o : tree-ssa-propagate.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2355 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h \
e980df8e 2356 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
7072a650 2357 $(TREE_DUMP_H) $(BASIC_BLOCK_H) $(TREE_PASS_H) langhooks.h \
e63ea00c 2358 tree-ssa-propagate.h vec.h value-prof.h gt-tree-ssa-propagate.h $(FLAGS_H) \
cf835838 2359 $(GIMPLE_H) gimple-pretty-print.h
e980df8e 2360tree-ssa-dom.o : tree-ssa-dom.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2361 $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
e980df8e 2362 $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
7072a650 2363 $(BASIC_BLOCK_H) domwalk.h $(TREE_PASS_H) $(FLAGS_H) langhooks.h \
cf835838
JM
2364 tree-ssa-propagate.h $(CFGLOOP_H) $(PARAMS_H) tree-pretty-print.h \
2365 gimple-pretty-print.h
e980df8e 2366tree-ssa-uncprop.o : tree-ssa-uncprop.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2367 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h \
e980df8e 2368 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
7072a650 2369 $(TREE_DUMP_H) $(BASIC_BLOCK_H) domwalk.h $(TREE_PASS_H) $(FLAGS_H) \
40013784 2370 langhooks.h tree-ssa-propagate.h
e980df8e 2371tree-ssa-threadedge.o : tree-ssa-threadedge.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2372 $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(FLAGS_H) $(TM_P_H) \
e63ea00c
RW
2373 $(BASIC_BLOCK_H) $(CFGLOOP_H) output.h $(EXPR_H) \
2374 $(FUNCTION_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TREE_DUMP_H) $(TREE_FLOW_H) \
40013784 2375 $(TREE_PASS_H) tree-ssa-propagate.h langhooks.h \
7072a650 2376 $(PARAMS_H)
e980df8e 2377tree-ssa-threadupdate.o : tree-ssa-threadupdate.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2378 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h \
e980df8e 2379 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
7072a650 2380 $(BASIC_BLOCK_H) $(FLAGS_H) $(TREE_PASS_H) $(CFGLOOP_H)
e980df8e 2381tree-ssanames.o : tree-ssanames.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 2382 $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_PASS_H)
e980df8e 2383tree-phinodes.o : tree-phinodes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
9aae8d16 2384 $(TM_H) $(TREE_H) $(GGC_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) \
464778c0 2385 gt-tree-phinodes.h $(RTL_H) $(TOPLEV_H) $(GIMPLE_H)
e980df8e 2386domwalk.o : domwalk.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
7a8cba34 2387 $(BASIC_BLOCK_H) domwalk.h sbitmap.h
e980df8e
TT
2388tree-ssa-live.o : tree-ssa-live.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2389 $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
cf835838
JM
2390 $(TREE_SSA_LIVE_H) $(BITMAP_H) $(TOPLEV_H) debug.h $(FLAGS_H) \
2391 tree-pretty-print.h gimple-pretty-print.h
e980df8e 2392tree-ssa-copyrename.o : tree-ssa-copyrename.c $(TREE_FLOW_H) $(CONFIG_H) \
7072a650
ILT
2393 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) \
2394 $(TREE_PASS_H) $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_SSA_LIVE_H) \
2395 $(BASIC_BLOCK_H) $(BITMAP_H) $(FLAGS_H) $(HASHTAB_H) langhooks.h \
cf835838 2396 $(GIMPLE_H) $(TREE_INLINE_H) $(GIMPLE_H) tree-pretty-print.h
e980df8e 2397tree-ssa-pre.o : tree-ssa-pre.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2398 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(FIBHEAP_H) \
7072a650
ILT
2399 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) langhooks.h \
2400 $(CFGLOOP_H) alloc-pool.h $(BASIC_BLOCK_H) $(BITMAP_H) $(HASHTAB_H) \
2401 $(GIMPLE_H) $(TREE_INLINE_H) tree-iterator.h tree-ssa-sccvn.h $(PARAMS_H) \
cf835838
JM
2402 $(DBGCNT_H) tree-scalar-evolution.h tree-pretty-print.h \
2403 gimple-pretty-print.h
e980df8e 2404tree-ssa-sccvn.o : tree-ssa-sccvn.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2405 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(FIBHEAP_H) \
7072a650 2406 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) $(CFGLOOP_H) \
726a989a 2407 alloc-pool.h $(BASIC_BLOCK_H) $(BITMAP_H) langhooks.h $(HASHTAB_H) $(GIMPLE_H) \
e980df8e 2408 $(TREE_INLINE_H) tree-iterator.h tree-ssa-propagate.h tree-ssa-sccvn.h \
cf835838 2409 $(PARAMS_H) tree-pretty-print.h gimple-pretty-print.h
e980df8e 2410tree-vrp.o : tree-vrp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
7072a650 2411 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(GGC_H) \
e980df8e 2412 $(BASIC_BLOCK_H) tree-ssa-propagate.h $(FLAGS_H) $(TREE_DUMP_H) \
cf835838
JM
2413 $(CFGLOOP_H) $(SCEV_H) $(TIMEVAR_H) $(TOPLEV_H) intl.h tree-pretty-print.h \
2414 gimple-pretty-print.h
e980df8e 2415tree-cfg.o : tree-cfg.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2416 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) $(FLAGS_H) output.h \
e980df8e 2417 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
7072a650 2418 $(TREE_DUMP_H) $(EXCEPT_H) langhooks.h $(CFGLOOP_H) $(TREE_PASS_H) \
40013784 2419 $(CFGLAYOUT_H) $(BASIC_BLOCK_H) $(TOPLEV_H) \
cf835838
JM
2420 value-prof.h tree-ssa-propagate.h $(TREE_INLINE_H) tree-pretty-print.h \
2421 gimple-pretty-print.h
e980df8e 2422tree-cfgcleanup.o : tree-cfgcleanup.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2423 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) $(FLAGS_H) output.h \
aa14403d 2424 $(DIAGNOSTIC_H) $(TOPLEV_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
7072a650 2425 $(TREE_DUMP_H) $(EXCEPT_H) langhooks.h $(CFGLOOP_H) $(TREE_PASS_H) \
40013784 2426 $(CFGLAYOUT_H) $(BASIC_BLOCK_H) $(HASHTAB_H) $(TOPLEV_H) \
223cf84d 2427 tree-ssa-propagate.h $(SCEV_H)
e980df8e 2428tree-tailcall.o : tree-tailcall.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2429 $(TREE_H) $(TM_P_H) $(FUNCTION_H) $(TM_H) coretypes.h \
7072a650 2430 $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(EXCEPT_H) $(TREE_PASS_H) $(FLAGS_H) langhooks.h \
cf835838 2431 $(BASIC_BLOCK_H) $(DBGCNT_H) gimple-pretty-print.h
e980df8e 2432tree-ssa-sink.o : tree-ssa-sink.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2433 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
7072a650 2434 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) alloc-pool.h \
e63ea00c 2435 $(BASIC_BLOCK_H) $(BITMAP_H) $(CFGLOOP_H) $(FIBHEAP_H) $(HASHTAB_H) \
cf835838
JM
2436 langhooks.h $(GIMPLE_H) $(TREE_INLINE_H) tree-iterator.h \
2437 gimple-pretty-print.h
e980df8e 2438tree-nested.o: tree-nested.c $(CONFIG_H) $(SYSTEM_H) $(TM_H) $(TREE_H) \
40013784 2439 $(TM_P_H) $(FUNCTION_H) $(TREE_DUMP_H) $(TREE_INLINE_H) \
726a989a 2440 tree-iterator.h $(GIMPLE_H) $(CGRAPH_H) $(EXPR_H) langhooks.h \
40013784 2441 gt-tree-nested.h coretypes.h $(TREE_FLOW_H) pointer-set.h
e980df8e
TT
2442tree-if-conv.o: tree-if-conv.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2443 $(TREE_H) $(FLAGS_H) $(TIMEVAR_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) \
40013784 2444 $(CFGLOOP_H) $(TREE_DATA_REF_H) $(TREE_PASS_H) $(DIAGNOSTIC_H) \
cf835838 2445 $(TREE_DUMP_H) tree-pretty-print.h gimple-pretty-print.h
e980df8e 2446tree-iterator.o : tree-iterator.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
726a989a 2447 coretypes.h $(GGC_H) tree-iterator.h $(GIMPLE_H) gt-tree-iterator.h
e980df8e 2448tree-dfa.o : tree-dfa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2449 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h $(DIAGNOSTIC_H) \
e980df8e
TT
2450 $(TREE_INLINE_H) $(HASHTAB_H) pointer-set.h $(FLAGS_H) $(FUNCTION_H) \
2451 $(TIMEVAR_H) convert.h $(TM_H) coretypes.h langhooks.h $(TREE_DUMP_H) \
cf835838
JM
2452 $(TREE_PASS_H) $(PARAMS_H) $(CGRAPH_H) $(BASIC_BLOCK_H) $(GIMPLE_H) \
2453 tree-pretty-print.h
e980df8e 2454tree-ssa-operands.o : tree-ssa-operands.c $(TREE_FLOW_H) $(CONFIG_H) \
e63ea00c 2455 $(SYSTEM_H) $(TREE_H) $(GGC_H) $(DIAGNOSTIC_H) $(TREE_INLINE_H) \
7072a650 2456 $(FLAGS_H) $(FUNCTION_H) $(TM_H) $(TIMEVAR_H) $(TREE_PASS_H) $(TOPLEV_H) \
cf835838
JM
2457 coretypes.h langhooks.h $(IPA_REFERENCE_H) tree-pretty-print.h \
2458 gimple-pretty-print.h
e980df8e 2459tree-eh.o : tree-eh.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784
SB
2460 $(TREE_H) $(TM_H) $(FLAGS_H) $(FUNCTION_H) $(EXCEPT_H) langhooks.h \
2461 $(GGC_H) $(TREE_PASS_H) coretypes.h $(TIMEVAR_H) pointer-set.h \
aa14403d 2462 $(TREE_DUMP_H) $(TREE_INLINE_H) tree-iterator.h $(TOPLEV_H)
e63ea00c 2463tree-ssa-loop.o : tree-ssa-loop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 2464 $(TREE_H) $(TM_P_H) $(BASIC_BLOCK_H) output.h \
7072a650 2465 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TREE_PASS_H) $(TIMEVAR_H) \
464778c0 2466 $(CFGLOOP_H) $(FLAGS_H) $(TREE_INLINE_H) $(SCEV_H) $(TOPLEV_H) $(TREE_VECTORIZER_H)
e980df8e 2467tree-ssa-loop-unswitch.o : tree-ssa-loop-unswitch.c $(TREE_FLOW_H) \
40013784 2468 $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) \
ccf5c864 2469 $(PARAMS_H) output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) \
40013784 2470 coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(BASIC_BLOCK_H) \
e980df8e
TT
2471 $(TREE_INLINE_H)
2472tree-ssa-address.o : tree-ssa-address.c $(TREE_FLOW_H) $(CONFIG_H) \
2473 $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) \
2474 output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
7072a650 2475 $(TREE_PASS_H) $(FLAGS_H) $(TREE_INLINE_H) $(RECOG_H) insn-config.h \
cf835838
JM
2476 $(EXPR_H) gt-tree-ssa-address.h $(GGC_H) tree-affine.h $(TARGET_H) \
2477 tree-pretty-print.h
e980df8e 2478tree-ssa-loop-niter.o : tree-ssa-loop-niter.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2479 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(PARAMS_H) \
e980df8e 2480 $(TREE_INLINE_H) output.h $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
223cf84d 2481 $(TOPLEV_H) $(FLAGS_H) $(TREE_PASS_H) $(TREE_DATA_REF_H) \
cf835838 2482 $(BASIC_BLOCK_H) $(GGC_H) intl.h tree-pretty-print.h gimple-pretty-print.h
e980df8e 2483tree-ssa-loop-ivcanon.o : tree-ssa-loop-ivcanon.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2484 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(PARAMS_H) \
e980df8e 2485 $(TREE_INLINE_H) output.h $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
cf835838
JM
2486 $(FLAGS_H) $(TREE_PASS_H) $(SCEV_H) $(BASIC_BLOCK_H) $(TARGET_H) \
2487 tree-pretty-print.h gimple-pretty-print.h
e980df8e
TT
2488tree-ssa-loop-ch.o : tree-ssa-loop-ch.c $(TREE_FLOW_H) $(CONFIG_H) \
2489 $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(TREE_INLINE_H) \
2490 output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
40013784 2491 $(TREE_PASS_H) $(FLAGS_H) $(BASIC_BLOCK_H)
e980df8e 2492tree-ssa-loop-prefetch.o: tree-ssa-loop-prefetch.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2493 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(EXPR_H) \
e980df8e 2494 output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
40013784
SB
2495 $(TREE_PASS_H) $(RECOG_H) insn-config.h $(HASHTAB_H) \
2496 $(CFGLOOP_H) $(PARAMS_H) langhooks.h $(BASIC_BLOCK_H) \
223cf84d 2497 $(TOPLEV_H) langhooks.h $(TREE_INLINE_H) $(TREE_DATA_REF_H) \
cf835838 2498 $(OPTABS_H) tree-pretty-print.h
e980df8e 2499tree-predcom.o: tree-predcom.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TM_P_H) \
223cf84d 2500 $(CFGLOOP_H) $(TREE_FLOW_H) $(GGC_H) $(TREE_DATA_REF_H) \
7072a650 2501 $(PARAMS_H) $(DIAGNOSTIC_H) $(TREE_PASS_H) $(TM_H) coretypes.h \
cf835838 2502 tree-affine.h $(TREE_INLINE_H) tree-pretty-print.h
e980df8e 2503tree-ssa-loop-ivopts.o : tree-ssa-loop-ivopts.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2504 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(EXPR_H) \
e980df8e 2505 output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
7072a650 2506 $(TREE_PASS_H) $(GGC_H) $(RECOG_H) insn-config.h $(HASHTAB_H) $(SCEV_H) \
40013784 2507 $(CFGLOOP_H) $(PARAMS_H) langhooks.h $(BASIC_BLOCK_H) \
cf835838
JM
2508 tree-affine.h pointer-set.h $(TARGET_H) tree-pretty-print.h \
2509 gimple-pretty-print.h
e980df8e 2510tree-affine.o : tree-affine.c tree-affine.h $(CONFIG_H) pointer-set.h \
40013784 2511 $(SYSTEM_H) $(TREE_H) $(GIMPLE_H) \
cf835838
JM
2512 output.h $(DIAGNOSTIC_H) coretypes.h $(TREE_DUMP_H) $(FLAGS_H) \
2513 tree-pretty-print.h
e980df8e 2514tree-ssa-loop-manip.o : tree-ssa-loop-manip.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2515 $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
e63ea00c 2516 $(BASIC_BLOCK_H) output.h $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) \
7072a650 2517 $(TIMEVAR_H) $(CFGLOOP_H) $(TREE_PASS_H) $(CFGLAYOUT_H) \
08dab97a 2518 $(SCEV_H) $(PARAMS_H) $(TREE_INLINE_H) langhooks.h
e980df8e 2519tree-ssa-loop-im.o : tree-ssa-loop-im.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2520 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) domwalk.h \
e980df8e 2521 $(PARAMS_H) output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
40013784 2522 $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) $(BASIC_BLOCK_H) \
cf835838
JM
2523 pointer-set.h tree-affine.h tree-ssa-propagate.h gimple-pretty-print.h \
2524 tree-pretty-print.h
e63ea00c 2525tree-ssa-math-opts.o : tree-ssa-math-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 2526 $(TM_H) $(FLAGS_H) $(TREE_H) $(TREE_FLOW_H) $(TIMEVAR_H) \
464778c0 2527 $(TREE_PASS_H) alloc-pool.h $(BASIC_BLOCK_H) $(TARGET_H) \
cf835838 2528 $(DIAGNOSTIC_H) $(RTL_H) $(EXPR_H) $(OPTABS_H) gimple-pretty-print.h
e980df8e 2529tree-ssa-alias.o : tree-ssa-alias.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2530 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) $(TREE_INLINE_H) $(FLAGS_H) \
e980df8e 2531 $(FUNCTION_H) $(TIMEVAR_H) convert.h $(TM_H) coretypes.h langhooks.h \
7072a650 2532 $(TREE_DUMP_H) $(TREE_PASS_H) $(PARAMS_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
40013784 2533 $(GIMPLE_H) vec.h \
cf835838
JM
2534 $(IPA_TYPE_ESCAPE_H) vecprim.h pointer-set.h alloc-pool.h \
2535 tree-pretty-print.h
e980df8e 2536tree-ssa-reassoc.o : tree-ssa-reassoc.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 2537 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
7072a650 2538 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) \
40013784 2539 tree-iterator.h $(BASIC_BLOCK_H) $(GIMPLE_H) $(TREE_INLINE_H) \
cf835838
JM
2540 vec.h langhooks.h alloc-pool.h pointer-set.h $(CFGLOOP_H) \
2541 tree-pretty-print.h gimple-pretty-print.h
e980df8e 2542tree-optimize.o : tree-optimize.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
40013784 2543 $(TREE_H) $(TM_P_H) $(GGC_H) output.h \
090fa0ab
GF
2544 $(DIAGNOSTIC_H) $(BASIC_BLOCK_H) $(FLAGS_H) $(TIMEVAR_H) $(TM_H) \
2545 coretypes.h $(TREE_DUMP_H) $(TOPLEV_H) $(FUNCTION_H) langhooks.h \
2546 $(FLAGS_H) $(CGRAPH_H) $(PLUGIN_H) \
7072a650 2547 $(TREE_INLINE_H) tree-mudflap.h $(GGC_H) graph.h $(CGRAPH_H) \
7a8cba34 2548 $(TREE_PASS_H) $(CFGLOOP_H) $(EXCEPT_H) $(REGSET_H)
e63ea00c 2549
e980df8e 2550c-gimplify.o : c-gimplify.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
9aae8d16 2551 $(C_TREE_H) $(C_COMMON_H) $(DIAGNOSTIC_H) $(GIMPLE_H) \
aa14403d 2552 $(FLAGS_H) langhooks.h $(TOPLEV_H) $(RTL_H) $(TREE_FLOW_H) $(LANGHOOKS_DEF_H) \
e980df8e
TT
2553 $(TM_H) coretypes.h $(C_PRETTY_PRINT_H) $(CGRAPH_H) $(BASIC_BLOCK_H) \
2554 hard-reg-set.h $(TREE_DUMP_H) $(TREE_INLINE_H)
726a989a 2555gimplify.o : gimplify.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(GIMPLE_H) \
9aae8d16 2556 $(DIAGNOSTIC_H) $(GIMPLE_H) $(TREE_INLINE_H) langhooks.h \
e980df8e 2557 $(LANGHOOKS_DEF_H) $(TREE_FLOW_H) $(CGRAPH_H) $(TIMEVAR_H) $(TM_H) \
a8da523f 2558 coretypes.h $(EXCEPT_H) $(FLAGS_H) $(RTL_H) $(FUNCTION_H) $(EXPR_H) output.h \
aa14403d 2559 $(GGC_H) gt-gimplify.h $(HASHTAB_H) $(TARGET_H) $(TOPLEV_H) $(OPTABS_H) \
cf835838 2560 $(SPLAY_TREE_H) vec.h tree-iterator.h tree-pass.h tree-pretty-print.h
726a989a
RB
2561gimple-iterator.o : gimple-iterator.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2562 $(TREE_H) $(GIMPLE_H) $(TREE_FLOW_H) value-prof.h
cbdd87d4
RG
2563gimple-fold.o : gimple-fold.c $(TREE_FLOW_H) $(CONFIG_H) \
2564 $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h \
2565 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2566 $(TREE_DUMP_H) $(BASIC_BLOCK_H) $(TREE_PASS_H) langhooks.h \
2567 tree-ssa-propagate.h value-prof.h $(FLAGS_H) $(TARGET_H)
e980df8e 2568gimple-low.o : gimple-low.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
9aae8d16 2569 $(DIAGNOSTIC_H) $(GIMPLE_H) $(TREE_INLINE_H) langhooks.h \
e980df8e 2570 $(LANGHOOKS_DEF_H) $(TREE_FLOW_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
7072a650 2571 $(EXCEPT_H) $(FLAGS_H) $(RTL_H) $(FUNCTION_H) $(EXPR_H) $(TREE_PASS_H) \
464778c0 2572 $(HASHTAB_H) $(TOPLEV_H) tree-iterator.h
e980df8e 2573omp-low.o : omp-low.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
726a989a 2574 $(RTL_H) $(GIMPLE_H) $(TREE_INLINE_H) langhooks.h $(DIAGNOSTIC_H) \
7072a650
ILT
2575 $(TREE_FLOW_H) $(TIMEVAR_H) $(FLAGS_H) $(EXPR_H) $(TOPLEV_H) \
2576 $(TREE_PASS_H) $(GGC_H) $(EXCEPT_H) $(SPLAY_TREE_H) $(OPTABS_H) \
464778c0 2577 $(CFGLOOP_H) tree-iterator.h gt-omp-low.h
e980df8e
TT
2578tree-browser.o : tree-browser.c tree-browser.def $(CONFIG_H) $(SYSTEM_H) \
2579 $(TREE_H) $(TREE_INLINE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) \
cf835838 2580 $(TM_H) coretypes.h tree-pretty-print.h
e980df8e 2581omega.o : omega.c omega.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
b6feb796 2582 $(GGC_H) $(TREE_H) $(DIAGNOSTIC_H) $(TREE_PASS_H) $(PARAMS_H)
e980df8e 2583tree-chrec.o: tree-chrec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 2584 $(GGC_H) $(TREE_H) $(SCEV_H) $(TREE_PASS_H) $(PARAMS_H) \
cf835838 2585 $(DIAGNOSTIC_H) $(CFGLOOP_H) $(TREE_FLOW_H) $(FLAGS_H) tree-pretty-print.h
e980df8e 2586tree-scalar-evolution.o: tree-scalar-evolution.c $(CONFIG_H) $(SYSTEM_H) \
40013784 2587 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) \
e980df8e 2588 $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) \
223cf84d 2589 $(TIMEVAR_H) $(CFGLOOP_H) $(SCEV_H) $(TREE_PASS_H) $(FLAGS_H) \
cf835838 2590 gt-tree-scalar-evolution.h tree-pretty-print.h gimple-pretty-print.h
e980df8e 2591tree-data-ref.o: tree-data-ref.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 2592 $(GGC_H) $(FLAGS_H) $(TREE_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
e980df8e 2593 $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
cf835838
JM
2594 $(TREE_DATA_REF_H) $(TREE_PASS_H) langhooks.h tree-pretty-print.h \
2595 gimple-pretty-print.h
204b560f
SP
2596sese.o: sese.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2597 $(GGC_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TOPLEV_H) \
464778c0
RW
2598 $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) tree-chrec.h \
2599 $(TREE_DATA_REF_H) tree-scalar-evolution.h tree-pass.h domwalk.h value-prof.h \
cf835838 2600 pointer-set.h $(GIMPLE_H) sese.h tree-pretty-print.h
f8bf9252
SP
2601graphite.o: graphite.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2602 $(GGC_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TOPLEV_H) \
ccf5c864 2603 $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) $(GIMPLE_H) \
8e88f9fd 2604 $(PREDICT_H) $(TREE_DATA_REF_H) tree-pass.h graphite.h \
204b560f
SP
2605 pointer-set.h value-prof.h graphite-ppl.h sese.h \
2606 graphite-scop-detection.h graphite-clast-to-gimple.h \
2607 graphite-poly.h graphite-sese-to-poly.h
2608graphite-blocking.o: graphite-blocking.c $(CONFIG_H) $(SYSTEM_H) \
2609 coretypes.h \
464778c0 2610 $(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) output.h $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
204b560f 2611 $(TOPLEV_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
464778c0 2612 $(GIMPLE_H) $(TREE_DATA_REF_H) tree-pass.h domwalk.h value-prof.h \
204b560f
SP
2613 graphite.h graphite-poly.h graphite-ppl.h
2614graphite-clast-to-gimple.o: graphite-clast-to-gimple.c $(CONFIG_H) \
bd32f344 2615 $(SYSTEM_H) coretypes.h $(TM_H) langhooks.h \
204b560f
SP
2616 $(GGC_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TOPLEV_H) \
2617 $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) $(GIMPLE_H) \
464778c0 2618 $(TREE_DATA_REF_H) tree-pass.h domwalk.h graphite.h \
204b560f
SP
2619 pointer-set.h value-prof.h graphite-ppl.h sese.h \
2620 graphite-scop-detection.h graphite-clast-to-gimple.h graphite-poly.h \
2621 graphite-dependences.h
2622graphite-dependences.o: graphite-dependences.c $(CONFIG_H) $(SYSTEM_H) \
2623 coretypes.h \
2624 $(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
2625 $(TOPLEV_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
464778c0 2626 $(GIMPLE_H) $(TREE_DATA_REF_H) tree-pass.h domwalk.h \
204b560f
SP
2627 graphite.h graphite-poly.h graphite-ppl.h graphite-dependences.h
2628graphite-interchange.o: graphite-interchange.c $(CONFIG_H) $(SYSTEM_H) \
2629 coretypes.h \
464778c0 2630 $(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) output.h $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
204b560f 2631 $(TOPLEV_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
464778c0 2632 $(GIMPLE_H) $(TREE_DATA_REF_H) tree-pass.h domwalk.h value-prof.h \
204b560f
SP
2633 graphite.h graphite-poly.h graphite-ppl.h
2634graphite-poly.o: graphite-poly.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2635 $(GGC_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TOPLEV_H) \
2636 $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) $(GIMPLE_H) \
464778c0 2637 $(TREE_DATA_REF_H) tree-pass.h domwalk.h graphite.h graphite-dependences.h \
cf835838
JM
2638 pointer-set.h value-prof.h graphite-ppl.h sese.h output.h graphite-poly.h \
2639 tree-pretty-print.h gimple-pretty-print.h
204b560f
SP
2640graphite-ppl.o: graphite-ppl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2641 $(GGC_H) graphite-ppl.h
2642graphite-scop-detection.o: graphite-scop-detection.c $(CONFIG_H) $(SYSTEM_H) \
2643 $(GGC_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TOPLEV_H) \
2644 $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) $(GIMPLE_H) \
464778c0 2645 $(TREE_DATA_REF_H) tree-pass.h domwalk.h graphite.h $(TM_H) \
204b560f
SP
2646 value-prof.h graphite-ppl.h sese.h pointer-set.h coretypes.h \
2647 graphite-scop-detection.h graphite-poly.h
2648graphite-sese-to-poly.o: graphite-sese-to-poly.c $(CONFIG_H) \
2649 $(SYSTEM_H) coretypes.h $(TM_H) \
2650 $(GGC_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TOPLEV_H) \
2651 $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) $(GIMPLE_H) \
464778c0 2652 $(TREE_DATA_REF_H) tree-pass.h domwalk.h graphite.h \
204b560f
SP
2653 pointer-set.h value-prof.h graphite-ppl.h sese.h \
2654 graphite-scop-detection.h graphite-sese-to-poly.h $(PARAMS_H) \
2655 graphite-clast-to-gimple.h graphite-poly.h
ebfd146a
IR
2656tree-vect-loop.o: tree-vect-loop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2657 $(TM_H) $(GGC_H) $(TREE_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) \
464778c0 2658 $(TREE_DUMP_H) $(CFGLOOP_H) $(CFGLAYOUT_H) $(EXPR_H) $(RECOG_H) $(OPTABS_H) \
cf835838
JM
2659 $(TOPLEV_H) $(SCEV_H) $(TREE_VECTORIZER_H) tree-pretty-print.h \
2660 gimple-pretty-print.h
ebfd146a
IR
2661tree-vect-loop-manip.o: tree-vect-loop-manip.c $(CONFIG_H) $(SYSTEM_H) \
2662 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
464778c0 2663 $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(CFGLAYOUT_H) $(EXPR_H) $(TOPLEV_H) \
cf835838
JM
2664 $(SCEV_H) $(TREE_VECTORIZER_H) langhooks.h tree-pretty-print.h \
2665 gimple-pretty-print.h
e980df8e 2666tree-vect-patterns.o: tree-vect-patterns.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
e63ea00c 2667 $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
ebfd146a 2668 $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(EXPR_H) $(OPTABS_H) $(PARAMS_H) \
cf835838
JM
2669 $(TREE_DATA_REF_H) $(TREE_VECTORIZER_H) $(RECOG_H) $(TOPLEV_H) \
2670 gimple-pretty-print.h
ebfd146a
IR
2671tree-vect-slp.o: tree-vect-slp.c $(CONFIG_H) $(SYSTEM_H) \
2672 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \
464778c0 2673 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(CFGLAYOUT_H) \
cf835838
JM
2674 $(EXPR_H) $(RECOG_H) $(OPTABS_H) $(TREE_VECTORIZER_H) tree-pretty-print.h \
2675 gimple-pretty-print.h
ebfd146a
IR
2676tree-vect-stmts.o: tree-vect-stmts.c $(CONFIG_H) $(SYSTEM_H) \
2677 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \
464778c0 2678 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(CFGLAYOUT_H) \
cf835838
JM
2679 $(EXPR_H) $(RECOG_H) $(OPTABS_H) $(TOPLEV_H) $(TREE_VECTORIZER_H) \
2680 langhooks.h tree-pretty-print.h gimple-pretty-print.h
ebfd146a
IR
2681tree-vect-data-refs.o: tree-vect-data-refs.c $(CONFIG_H) $(SYSTEM_H) \
2682 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \
2683 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) \
cf835838
JM
2684 $(EXPR_H) $(OPTABS_H) $(SCEV_H) $(TREE_VECTORIZER_H) $(TOPLEV_H) \
2685 tree-pretty-print.h gimple-pretty-print.h
e980df8e 2686tree-vectorizer.o: tree-vectorizer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
ebfd146a 2687 $(TM_H) $(GGC_H) $(TREE_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) \
cf835838
JM
2688 $(CFGLOOP_H) $(TREE_PASS_H) $(TREE_VECTORIZER_H) $(TIMEVAR_H) \
2689 tree-pretty-print.h
e980df8e 2690tree-loop-linear.o: tree-loop-linear.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 2691 $(TM_H) $(OPTABS_H) $(TREE_H) $(BASIC_BLOCK_H) \
e980df8e 2692 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
223cf84d
TG
2693 $(TREE_PASS_H) $(TREE_DATA_REF_H) $(EXPR_H) $(LAMBDA_H) \
2694 $(TARGET_H) $(OBSTACK_H)
e980df8e 2695tree-loop-distribution.o: tree-loop-distribution.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 2696 $(TM_H) $(OPTABS_H) $(TREE_H) $(BASIC_BLOCK_H) \
e980df8e 2697 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
223cf84d 2698 $(TREE_PASS_H) $(TREE_DATA_REF_H) $(EXPR_H) \
40013784 2699 langhooks.h $(TREE_VECTORIZER_H)
e980df8e 2700tree-parloops.o: tree-parloops.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 2701 $(TREE_FLOW_H) $(TREE_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \
223cf84d 2702 $(DIAGNOSTIC_H) $(TREE_PASS_H) langhooks.h gt-tree-parloops.h \
cf835838 2703 $(TREE_VECTORIZER_H) tree-pretty-print.h gimple-pretty-print.h
e980df8e 2704tree-stdarg.o: tree-stdarg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
7072a650 2705 $(TREE_H) $(FUNCTION_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_PASS_H) \
cf835838 2706 tree-stdarg.h $(TARGET_H) langhooks.h gimple-pretty-print.h
e980df8e 2707tree-object-size.o: tree-object-size.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
7072a650 2708 $(TM_H) $(TREE_H) $(TOPLEV_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) \
cf835838
JM
2709 $(TREE_PASS_H) tree-ssa-propagate.h tree-pretty-print.h \
2710 gimple-pretty-print.h
726a989a 2711gimple.o : gimple.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
38d2336a 2712 $(GGC_H) $(GIMPLE_H) $(TOPLEV_H) $(DIAGNOSTIC_H) gt-gimple.h \
d7f09764
DN
2713 $(TREE_FLOW_H) value-prof.h $(FLAGS_H) $(DEMANGLE_H) \
2714 $(TARGET_H) $(ALIAS_H)
726a989a 2715gimple-pretty-print.o : gimple-pretty-print.c $(CONFIG_H) $(SYSTEM_H) \
40013784 2716 $(TREE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) $(TREE_FLOW_H) \
cf835838
JM
2717 $(TM_H) coretypes.h $(TREE_PASS_H) $(GIMPLE_H) value-prof.h \
2718 tree-pretty-print.h gimple-pretty-print.h
e980df8e 2719tree-mudflap.o : $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TREE_INLINE_H) \
464778c0 2720 $(GIMPLE_H) $(DIAGNOSTIC_H) $(DEMANGLE_H) $(HASHTAB_H) langhooks.h tree-mudflap.h \
7072a650 2721 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(CGRAPH_H) $(GGC_H) \
40013784
SB
2722 gt-tree-mudflap.h $(BASIC_BLOCK_H) $(FLAGS_H) $(FUNCTION_H) \
2723 $(TM_P_H) $(TREE_FLOW_H) $(TOPLEV_H) $(GIMPLE_H) tree-iterator.h
e980df8e 2724tree-nomudflap.o : $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TREE_INLINE_H) \
726a989a 2725 $(C_TREE_H) $(C_COMMON_H) $(GIMPLE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) \
9aae8d16 2726 output.h langhooks.h tree-mudflap.h $(TM_H) coretypes.h \
7072a650 2727 $(GGC_H) gt-tree-mudflap.h $(TREE_PASS_H) $(TOPLEV_H)
e980df8e 2728tree-pretty-print.o : tree-pretty-print.c $(CONFIG_H) $(SYSTEM_H) \
40013784 2729 $(TREE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) $(TREE_FLOW_H) \
223cf84d 2730 $(TM_H) coretypes.h tree-iterator.h $(SCEV_H) langhooks.h \
cf835838
JM
2731 $(TREE_PASS_H) value-prof.h output.h tree-pretty-print.h
2732tree-diagnostic.o : tree-diagnostic.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2733 $(TREE_H) $(DIAGNOSTIC_H) tree-diagnostic.h langhooks.h $(LANGHOOKS_DEF_H)
e980df8e 2734fold-const.o : fold-const.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784
SB
2735 $(TREE_H) $(FLAGS_H) $(TOPLEV_H) $(HASHTAB_H) $(EXPR_H) $(RTL_H) \
2736 $(GGC_H) $(TM_P_H) langhooks.h $(MD5_H) intl.h $(TARGET_H) \
d49b6e1e 2737 $(GIMPLE_H) realmpfr.h
cf835838
JM
2738diagnostic.o : diagnostic.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2739 version.h $(FLAGS_H) $(INPUT_H) $(TOPLEV_H) intl.h $(DIAGNOSTIC_H) \
2740 diagnostic.def opts.h $(PLUGIN_H)
aa14403d 2741opts.o : opts.c opts.h options.h $(TOPLEV_H) $(CONFIG_H) $(SYSTEM_H) \
b38f3813 2742 coretypes.h $(TREE_H) $(TM_H) langhooks.h $(GGC_H) $(EXPR_H) $(RTL_H) \
e980df8e 2743 output.h $(DIAGNOSTIC_H) $(TM_P_H) $(INSN_ATTR_H) intl.h $(TARGET_H) \
b6feb796 2744 $(FLAGS_H) $(PARAMS_H) $(TREE_PASS_H) $(DBGCNT_H) debug.h \
203a92e3 2745 $(PLUGIN_H) $(EXCEPT_H) $(LTO_STREAMER_H)
e980df8e
TT
2746opts-common.o : opts-common.c opts.h $(CONFIG_H) $(SYSTEM_H) \
2747 coretypes.h intl.h
2748targhooks.o : targhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
aa14403d 2749 $(EXPR_H) $(TM_H) $(RTL_H) $(TM_P_H) $(FUNCTION_H) output.h $(TOPLEV_H) \
e980df8e 2750 $(MACHMODE_H) $(TARGET_DEF_H) $(TARGET_H) $(GGC_H) gt-targhooks.h \
464778c0 2751 $(OPTABS_H) $(RECOG_H) reload.h hard-reg-set.h
e980df8e 2752
134ef638
BE
2753bversion.h: s-bversion; @true
2754s-bversion: BASE-VER
2755 echo "#define BUILDING_GCC_MAJOR `echo $(BASEVER_c) | sed -e 's/^\([0-9]*\).*$$/\1/'`" > bversion.h
2756 echo "#define BUILDING_GCC_MINOR `echo $(BASEVER_c) | sed -e 's/^[0-9]*\.\([0-9]*\).*$$/\1/'`" >> bversion.h
2757 echo "#define BUILDING_GCC_PATCHLEVEL `echo $(BASEVER_c) | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$$/\1/'`" >> bversion.h
2758 echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + BUILDING_GCC_MINOR)" >> bversion.h
2759 $(STAMP) s-bversion
2760
e980df8e 2761toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
e63ea00c 2762 version.h $(RTL_H) $(FUNCTION_H) $(FLAGS_H) xcoffout.h $(INPUT_H) \
e980df8e 2763 $(INSN_ATTR_H) output.h $(DIAGNOSTIC_H) debug.h insn-config.h intl.h \
aa14403d 2764 $(RECOG_H) Makefile $(TOPLEV_H) dwarf2out.h sdbout.h dbxout.h $(EXPR_H) \
a8da523f 2765 hard-reg-set.h $(BASIC_BLOCK_H) graph.h $(EXCEPT_H) $(REGS_H) $(TIMEVAR_H) \
058e97ec 2766 value-prof.h $(PARAMS_H) $(TM_P_H) reload.h ira.h dwarf2asm.h $(TARGET_H) \
e980df8e
TT
2767 langhooks.h insn-flags.h $(CFGLAYOUT_H) $(CFGLOOP_H) hosthooks.h \
2768 $(CGRAPH_H) $(COVERAGE_H) alloc-pool.h $(GGC_H) $(INTEGRATE_H) \
40013784 2769 opts.h params.def tree-mudflap.h $(TREE_PASS_H) $(GIMPLE_H) \
cf835838
JM
2770 tree-ssa-alias.h $(PLUGIN_H) realmpfr.h tree-diagnostic.h \
2771 tree-pretty-print.h
7980bfb8 2772 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
2773 -DTARGET_NAME=\"$(target_noncanonical)\" \
2774 -c $(srcdir)/toplev.c $(OUTPUT_OPTION)
2775
2776passes.o : passes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
e63ea00c 2777 $(RTL_H) $(FUNCTION_H) $(FLAGS_H) xcoffout.h $(INPUT_H) $(INSN_ATTR_H) output.h \
aa14403d 2778 $(DIAGNOSTIC_H) debug.h insn-config.h intl.h $(RECOG_H) $(TOPLEV_H) \
e980df8e 2779 dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
a8da523f 2780 graph.h $(EXCEPT_H) $(REGS_H) $(TIMEVAR_H) value-prof.h \
e980df8e 2781 $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) \
40013784 2782 langhooks.h insn-flags.h $(CFGLAYOUT_H) $(CFGLOOP_H) \
7072a650 2783 hosthooks.h $(CGRAPH_H) $(COVERAGE_H) $(TREE_PASS_H) $(TREE_DUMP_H) \
e980df8e 2784 $(GGC_H) $(INTEGRATE_H) $(CPPLIB_H) opts.h $(TREE_FLOW_H) $(TREE_INLINE_H) \
090fa0ab
GF
2785 gt-passes.h $(DF_H) $(PREDICT_H) $(LTO_HEADER_H) $(LTO_SECTION_OUT_H) \
2786 $(PLUGIN_H)
e980df8e 2787
68a607d8 2788plugin.o : plugin.c $(PLUGIN_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h \
ae2392a9 2789 $(TOPLEV_H) $(TREE_H) $(TREE_PASS_H) intl.h $(PLUGIN_VERSION_H) $(GGC_H)
cf8aba7f 2790
aa14403d 2791main.o : main.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TOPLEV_H)
e980df8e
TT
2792
2793host-default.o : host-default.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2794 hosthooks.h $(HOSTHOOKS_DEF_H)
2795
2796rtl-error.o: rtl-error.c $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
aa14403d 2797 $(INSN_ATTR_H) insn-config.h $(INPUT_H) $(TOPLEV_H) intl.h $(DIAGNOSTIC_H) \
b6feb796 2798 $(CONFIG_H)
e980df8e
TT
2799
2800rtl.o : rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
40013784 2801 $(GGC_H) $(BCONFIG_H) insn-notes.def reg-notes.def $(TOPLEV_H)
e980df8e
TT
2802
2803print-rtl.o : print-rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2804 $(RTL_H) $(TREE_H) hard-reg-set.h $(BASIC_BLOCK_H) $(FLAGS_H) \
cf835838 2805 $(BCONFIG_H) $(DIAGNOSTIC_H) cselib.h $(TREE_PASS_H) tree-pretty-print.h
aa14403d 2806rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TOPLEV_H) \
40013784 2807 $(RTL_H) hard-reg-set.h $(TM_P_H) insn-config.h $(RECOG_H) \
e980df8e
TT
2808 $(FLAGS_H) $(REGS_H) output.h $(TARGET_H) $(FUNCTION_H) $(TREE_H) \
2809 $(DF_H)
2810
2811varasm.o : varasm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2812 $(RTL_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) hard-reg-set.h $(REGS_H) \
237ee620 2813 output.h $(TOPLEV_H) xcoffout.h debug.h $(GGC_H) $(TM_P_H) \
e980df8e 2814 $(HASHTAB_H) $(TARGET_H) langhooks.h gt-varasm.h $(BASIC_BLOCK_H) \
40013784 2815 $(CFGLAYOUT_H) $(CGRAPH_H) targhooks.h tree-mudflap.h \
d7f09764 2816 tree-iterator.h
e980df8e 2817function.o : function.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
726a989a 2818 $(TREE_H) $(CFGLAYOUT_H) $(GIMPLE_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) \
e980df8e 2819 $(OPTABS_H) libfuncs.h $(REGS_H) hard-reg-set.h insn-config.h $(RECOG_H) \
a8da523f 2820 output.h $(TOPLEV_H) $(EXCEPT_H) $(HASHTAB_H) $(GGC_H) $(TM_P_H) langhooks.h \
e980df8e 2821 gt-function.h $(TARGET_H) $(BASIC_BLOCK_H) $(INTEGRATE_H) $(PREDICT_H) \
7072a650 2822 $(TREE_PASS_H) $(DF_H) $(TIMEVAR_H) vecprim.h
9fe0cb7d 2823statistics.o : statistics.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
7072a650 2824 $(TREE_PASS_H) $(TREE_DUMP_H) $(HASHTAB_H) statistics.h $(TM_H) $(FUNCTION_H)
e980df8e
TT
2825stmt.o : stmt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2826 $(TREE_H) $(FLAGS_H) $(FUNCTION_H) insn-config.h hard-reg-set.h $(EXPR_H) \
a8da523f 2827 libfuncs.h $(EXCEPT_H) $(RECOG_H) $(TOPLEV_H) output.h $(GGC_H) $(TM_P_H) \
464778c0 2828 langhooks.h $(PREDICT_H) $(OPTABS_H) $(TARGET_H) $(GIMPLE_H) $(MACHMODE_H) \
7a8cba34 2829 $(REGS_H) alloc-pool.h $(PRETTY_PRINT_H) $(BITMAP_H)
e980df8e 2830except.o : except.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
a8da523f 2831 $(TREE_H) $(FLAGS_H) $(EXCEPT_H) $(FUNCTION_H) $(EXPR_H) libfuncs.h \
e980df8e 2832 langhooks.h insn-config.h hard-reg-set.h $(BASIC_BLOCK_H) output.h \
aa14403d 2833 dwarf2asm.h dwarf2out.h $(TOPLEV_H) $(HASHTAB_H) intl.h $(GGC_H) \
bbf531f0 2834 gt-except.h $(CGRAPH_H) $(INTEGRATE_H) $(DIAGNOSTIC_H) $(DWARF2_H) \
cf835838 2835 $(TARGET_H) $(TM_P_H) $(TREE_PASS_H) $(TIMEVAR_H) $(TREE_FLOW_H) \
7a8cba34 2836 tree-pretty-print.h sbitmap.h
e980df8e
TT
2837expr.o : expr.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2838 $(TREE_H) $(FLAGS_H) $(FUNCTION_H) $(REGS_H) $(EXPR_H) $(OPTABS_H) \
2839 libfuncs.h $(INSN_ATTR_H) insn-config.h $(RECOG_H) output.h \
086058c2 2840 typeclass.h hard-reg-set.h $(TOPLEV_H) hard-reg-set.h $(EXCEPT_H) \
40013784 2841 reload.h langhooks.h intl.h $(TM_P_H) $(TARGET_H) \
e980df8e 2842 tree-iterator.h gt-expr.h $(MACHMODE_H) $(TIMEVAR_H) $(TREE_FLOW_H) \
4e3825db 2843 $(TREE_PASS_H) $(DF_H) $(DIAGNOSTIC_H) vecprim.h $(SSAEXPAND_H)
e980df8e
TT
2844dojump.o : dojump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
2845 $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) $(OPTABS_H) $(INSN_ATTR_H) insn-config.h \
40e90eac 2846 langhooks.h $(GGC_H) gt-dojump.h vecprim.h $(BASIC_BLOCK_H) output.h
e980df8e 2847builtins.o : builtins.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
726a989a 2848 $(TREE_H) $(GIMPLE_H) $(FLAGS_H) $(TARGET_H) $(FUNCTION_H) $(REGS_H) \
e980df8e 2849 $(EXPR_H) $(OPTABS_H) insn-config.h $(RECOG_H) output.h typeclass.h \
a8da523f 2850 hard-reg-set.h $(TOPLEV_H) hard-reg-set.h $(EXCEPT_H) $(TM_P_H) $(PREDICT_H) \
d49b6e1e 2851 libfuncs.h langhooks.h $(BASIC_BLOCK_H) tree-mudflap.h realmpfr.h \
e63ea00c 2852 $(BUILTINS_DEF) $(MACHMODE_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) value-prof.h
e980df8e
TT
2853calls.o : calls.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2854 $(TREE_H) $(FLAGS_H) $(EXPR_H) $(OPTABS_H) langhooks.h $(TARGET_H) \
aa14403d 2855 libfuncs.h $(REGS_H) $(TOPLEV_H) output.h $(FUNCTION_H) $(TIMEVAR_H) $(TM_P_H) \
a8da523f 2856 $(CGRAPH_H) $(EXCEPT_H) sbitmap.h $(DBGCNT_H) $(TREE_FLOW_H)
e980df8e 2857expmed.o : expmed.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
40013784 2858 $(FLAGS_H) insn-config.h $(EXPR_H) $(OPTABS_H) $(RECOG_H) \
aa14403d 2859 $(TOPLEV_H) $(TM_P_H) langhooks.h $(DF_H) $(TARGET_H)
e980df8e
TT
2860explow.o : explow.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
2861 $(FLAGS_H) hard-reg-set.h insn-config.h $(EXPR_H) $(OPTABS_H) $(RECOG_H) \
a8da523f 2862 $(TOPLEV_H) $(EXCEPT_H) $(FUNCTION_H) $(GGC_H) $(TM_P_H) langhooks.h gt-explow.h \
e980df8e
TT
2863 $(TARGET_H) output.h
2864optabs.o : optabs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2865 $(TREE_H) $(FLAGS_H) insn-config.h $(EXPR_H) $(OPTABS_H) libfuncs.h \
40013784 2866 $(RECOG_H) reload.h $(TOPLEV_H) $(GGC_H) $(TM_P_H) $(EXCEPT_H) \
e980df8e
TT
2867 gt-optabs.h $(BASIC_BLOCK_H) $(TARGET_H) $(FUNCTION_H)
2868dbxout.o : dbxout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2869 $(RTL_H) $(FLAGS_H) $(REGS_H) debug.h $(TM_P_H) $(TARGET_H) $(FUNCTION_H) \
e63ea00c 2870 langhooks.h insn-config.h reload.h $(GSTAB_H) xcoffout.h output.h dbxout.h \
aa14403d 2871 $(TOPLEV_H) $(GGC_H) $(OBSTACK_H) $(EXPR_H) gt-dbxout.h
e980df8e
TT
2872debug.o : debug.c debug.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H)
2873sdbout.o : sdbout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) debug.h \
2874 $(TREE_H) $(GGC_H) $(RTL_H) $(REGS_H) $(FLAGS_H) insn-config.h \
aa14403d 2875 output.h $(TOPLEV_H) $(TM_P_H) gsyms.h langhooks.h $(TARGET_H) sdbout.h \
b6feb796 2876 gt-sdbout.h reload.h
e980df8e 2877dwarf2out.o : dwarf2out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
bbf531f0 2878 $(TREE_H) version.h $(RTL_H) $(DWARF2_H) debug.h $(FLAGS_H) insn-config.h \
40013784 2879 output.h $(DIAGNOSTIC_H) hard-reg-set.h $(REGS_H) $(EXPR_H) \
a8da523f 2880 libfuncs.h $(TOPLEV_H) dwarf2out.h reload.h $(GGC_H) $(EXCEPT_H) dwarf2asm.h \
e980df8e 2881 $(TM_P_H) langhooks.h $(HASHTAB_H) gt-dwarf2out.h $(TARGET_H) $(CGRAPH_H) \
cf835838
JM
2882 $(MD5_H) $(INPUT_H) $(FUNCTION_H) $(GIMPLE_H) $(TREE_PASS_H) \
2883 $(TREE_FLOW_H) tree-pretty-print.h
e980df8e
TT
2884dwarf2asm.o : dwarf2asm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2885 $(FLAGS_H) $(RTL_H) $(TREE_H) output.h dwarf2asm.h $(TM_P_H) $(GGC_H) \
bbf531f0 2886 gt-dwarf2asm.h $(DWARF2_H) $(SPLAY_TREE_H) $(TARGET_H)
e980df8e 2887vmsdbgout.o : vmsdbgout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) version.h \
e63ea00c 2888 $(FLAGS_H) $(RTL_H) output.h vmsdbg.h debug.h langhooks.h $(FUNCTION_H) $(TARGET_H)
e980df8e 2889xcoffout.o : xcoffout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
aa14403d 2890 $(TREE_H) $(RTL_H) xcoffout.h $(FLAGS_H) $(TOPLEV_H) output.h dbxout.h \
e63ea00c 2891 $(GGC_H) $(TARGET_H) debug.h $(GSTAB_H) xcoff.h
e980df8e
TT
2892emit-rtl.o : emit-rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2893 $(TREE_H) $(FLAGS_H) $(FUNCTION_H) $(REGS_H) insn-config.h $(RECOG_H) \
aa14403d 2894 $(GGC_H) $(EXPR_H) hard-reg-set.h $(BITMAP_H) $(TOPLEV_H) $(BASIC_BLOCK_H) \
7072a650 2895 $(HASHTAB_H) $(TM_P_H) debug.h langhooks.h $(TREE_PASS_H) gt-emit-rtl.h \
40013784 2896 $(DF_H) $(PARAMS_H) $(TARGET_H)
e980df8e 2897real.o : real.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
d49b6e1e
SB
2898 $(TOPLEV_H) $(TM_P_H) $(REAL_H) dfp.h realmpfr.h
2899realmpfr.o : realmpfr.c realmpfr.h $(CONFIG_H) $(SYSTEM_H) $(REAL_H)
e980df8e 2900dfp.o : dfp.c dfp.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
aa14403d 2901 $(TOPLEV_H) $(TM_P_H) $(REAL_H) $(DECNUM_H)
e980df8e 2902fixed-value.o: fixed-value.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 2903 $(TREE_H) $(REAL_H) $(TOPLEV_H)
e980df8e
TT
2904integrate.o : integrate.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2905 $(RTL_H) $(TREE_H) $(FLAGS_H) debug.h $(INTEGRATE_H) insn-config.h \
40013784 2906 $(EXPR_H) $(REGS_H) intl.h $(FUNCTION_H) output.h $(RECOG_H) \
a8da523f 2907 $(EXCEPT_H) $(TOPLEV_H) $(PARAMS_H) $(TM_P_H) $(TARGET_H) langhooks.h \
7072a650 2908 gt-integrate.h $(GGC_H) $(TREE_PASS_H) $(DF_H)
e980df8e
TT
2909jump.o : jump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2910 $(FLAGS_H) hard-reg-set.h $(REGS_H) insn-config.h $(RECOG_H) $(EXPR_H) \
40013784 2911 $(EXCEPT_H) $(FUNCTION_H) $(TREE_PASS_H) $(DIAGNOSTIC_H) \
aa14403d 2912 $(TOPLEV_H) $(INSN_ATTR_H) $(TM_P_H) reload.h $(PREDICT_H) \
e980df8e
TT
2913 $(TIMEVAR_H) $(TARGET_H)
2914simplify-rtx.o : simplify-rtx.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 2915 $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
aa14403d 2916 $(RECOG_H) $(EXPR_H) $(TOPLEV_H) output.h $(FUNCTION_H) $(GGC_H) $(TM_P_H) \
e980df8e
TT
2917 $(TREE_H) $(TARGET_H)
2918cgraph.o : cgraph.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
aa14403d 2919 langhooks.h $(TOPLEV_H) $(FLAGS_H) $(GGC_H) $(TARGET_H) $(CGRAPH_H) \
e980df8e 2920 gt-cgraph.h output.h intl.h $(BASIC_BLOCK_H) debug.h $(HASHTAB_H) \
d7f09764 2921 $(TREE_INLINE_H) $(TREE_DUMP_H) $(TREE_FLOW_H) cif-code.def \
a940b4d9 2922 value-prof.h $(EXCEPT_H) $(IPA_UTILS_H)
e980df8e 2923cgraphunit.o : cgraphunit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
aa14403d 2924 $(TREE_H) langhooks.h $(TREE_INLINE_H) $(TOPLEV_H) $(FLAGS_H) $(GGC_H) \
726a989a 2925 $(TARGET_H) $(CGRAPH_H) intl.h pointer-set.h $(FUNCTION_H) $(GIMPLE_H) \
237ee620 2926 $(TREE_FLOW_H) $(TREE_PASS_H) debug.h $(DIAGNOSTIC_H) \
771578a0 2927 $(FIBHEAP_H) output.h $(PARAMS_H) $(RTL_H) $(TIMEVAR_H) $(IPA_PROP_H) \
cf835838
JM
2928 gt-cgraphunit.h tree-iterator.h $(COVERAGE_H) $(TREE_DUMP_H) \
2929 tree-pretty-print.h gimple-pretty-print.h
e980df8e 2930cgraphbuild.o : cgraphbuild.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
726a989a 2931 $(TREE_H) langhooks.h $(CGRAPH_H) intl.h pointer-set.h $(GIMPLE_H) \
de61f467 2932 $(TREE_FLOW_H) $(TREE_PASS_H) $(IPA_UTILS_H) $(EXCEPT_H)
e980df8e 2933varpool.o : varpool.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
e63ea00c 2934 $(TREE_H) $(CGRAPH_H) langhooks.h $(DIAGNOSTIC_H) $(HASHTAB_H) \
726a989a 2935 $(GGC_H) $(TIMEVAR_H) debug.h $(TARGET_H) output.h $(GIMPLE_H) \
e63ea00c
RW
2936 $(TREE_FLOW_H) gt-varpool.h
2937ipa.o : ipa.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(CGRAPH_H) \
464778c0 2938 $(TREE_PASS_H) $(TIMEVAR_H) $(GIMPLE_H) $(GGC_H)
3e293154
MJ
2939ipa-prop.o : ipa-prop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2940 langhooks.h $(GGC_H) $(TARGET_H) $(CGRAPH_H) $(IPA_PROP_H) $(DIAGNOSTIC_H) \
7072a650 2941 $(TREE_FLOW_H) $(TM_H) $(TREE_PASS_H) $(FLAGS_H) $(TREE_H) \
cf835838
JM
2942 $(TREE_INLINE_H) $(GIMPLE_H) $(GIMPLE_FOLD_H) $(TIMEVAR_H) \
2943 tree-pretty-print.h gimple-pretty-print.h
369451ec
JH
2944ipa-ref.o : ipa-ref.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2945 langhooks.h $(GGC_H) $(TARGET_H) $(CGRAPH_H) $(TREE_H) $(TARGET_H) \
2946 $(TREE_FLOW_H) $(TM_H) $(TREE_PASS_H) $(FLAGS_H) $(TREE_H) $(GGC_H)
e980df8e 2947ipa-cp.o : ipa-cp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
7072a650
ILT
2948 $(TREE_H) $(TARGET_H) $(CGRAPH_H) $(IPA_PROP_H) $(TREE_FLOW_H) \
2949 $(TREE_PASS_H) $(FLAGS_H) $(TIMEVAR_H) $(DIAGNOSTIC_H) $(TREE_DUMP_H) \
cf835838 2950 $(TREE_INLINE_H) $(FIBHEAP_H) $(PARAMS_H) tree-pretty-print.h
e980df8e 2951matrix-reorg.o : matrix-reorg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
237ee620 2952 $(TM_H) $(TREE_H) $(RTL_H) $(TREE_INLINE_H) $(TREE_FLOW_H) \
aa14403d 2953 tree-flow-inline.h langhooks.h $(HASHTAB_H) $(TOPLEV_H) $(FLAGS_H) $(GGC_H) \
e63ea00c 2954 debug.h $(TARGET_H) $(CGRAPH_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(PARAMS_H) \
237ee620 2955 $(FIBHEAP_H) intl.h $(FUNCTION_H) $(BASIC_BLOCK_H) $(CFGLOOP_H) \
464778c0 2956 tree-iterator.h $(TREE_PASS_H) opts.h $(TREE_DATA_REF_H) tree-ssa-sccvn.h
e980df8e
TT
2957ipa-inline.o : ipa-inline.c gt-ipa-inline.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2958 $(TREE_H) langhooks.h $(TREE_INLINE_H) $(FLAGS_H) $(CGRAPH_H) intl.h \
7072a650 2959 $(DIAGNOSTIC_H) $(FIBHEAP_H) $(PARAMS_H) $(TIMEVAR_H) $(TREE_PASS_H) \
cf835838
JM
2960 $(HASHTAB_H) $(COVERAGE_H) $(GGC_H) $(TREE_FLOW_H) $(RTL_H) $(IPA_PROP_H) \
2961 $(EXCEPT_H) gimple-pretty-print.h
e980df8e
TT
2962ipa-utils.o : ipa-utils.c $(IPA_UTILS_H) $(CONFIG_H) $(SYSTEM_H) \
2963 coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
237ee620 2964 pointer-set.h $(GGC_H) $(GIMPLE_H) $(SPLAY_TREE_H) \
7072a650 2965 $(CGRAPH_H) output.h $(FLAGS_H) $(TREE_PASS_H) $(TIMEVAR_H) $(DIAGNOSTIC_H)
e980df8e
TT
2966ipa-reference.o : ipa-reference.c $(CONFIG_H) $(SYSTEM_H) \
2967 coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
237ee620 2968 pointer-set.h $(GGC_H) $(IPA_REFERENCE_H) $(IPA_UTILS_H) $(SPLAY_TREE_H) \
7072a650 2969 $(GIMPLE_H) $(CGRAPH_H) output.h $(FLAGS_H) $(TREE_PASS_H) \
f3380641 2970 $(TIMEVAR_H) $(DIAGNOSTIC_H) $(FUNCTION_H) $(LTO_STREAMER_H) $(TOPLEV_H)
e980df8e
TT
2971ipa-pure-const.o : ipa-pure-const.c $(CONFIG_H) $(SYSTEM_H) \
2972 coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
237ee620 2973 pointer-set.h $(GGC_H) $(IPA_UTILS_H) $(TARGET_H) \
7072a650 2974 $(GIMPLE_H) $(CGRAPH_H) output.h $(FLAGS_H) $(TREE_PASS_H) $(TIMEVAR_H) \
cf835838
JM
2975 $(DIAGNOSTIC_H) $(CFGLOOP_H) $(SCEV_H) $(LTO_STREAMER_H) \
2976 gimple-pretty-print.h
e980df8e
TT
2977ipa-type-escape.o : ipa-type-escape.c $(CONFIG_H) $(SYSTEM_H) \
2978 coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
237ee620 2979 pointer-set.h $(GGC_H) $(IPA_TYPE_ESCAPE_H) $(IPA_UTILS_H) $(SPLAY_TREE_H) \
7072a650 2980 $(GIMPLE_H) $(CGRAPH_H) output.h $(FLAGS_H) $(TREE_PASS_H) \
cf835838 2981 $(TIMEVAR_H) $(DIAGNOSTIC_H) $(FUNCTION_H) tree-pretty-print.h
e980df8e 2982ipa-struct-reorg.o: ipa-struct-reorg.c ipa-struct-reorg.h $(CONFIG_H) $(SYSTEM_H) \
726a989a 2983 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) $(GIMPLE_H) tree-inline.h \
237ee620 2984 $(TREE_FLOW_H) langhooks.h pointer-set.h $(HASHTAB_H) $(TOPLEV_H) \
e63ea00c
RW
2985 $(FLAGS_H) debug.h $(TARGET_H) $(CGRAPH_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
2986 $(PARAMS_H) $(FIBHEAP_H) intl.h $(FUNCTION_H) $(BASIC_BLOCK_H) tree-iterator.h \
237ee620 2987 $(TREE_PASS_H) opts.h $(IPA_TYPE_ESCAPE_H) $(TREE_DUMP_H) \
cf835838 2988 $(GIMPLE_H) tree-pretty-print.h gimple-pretty-print.h
e980df8e
TT
2989
2990coverage.o : coverage.c $(GCOV_IO_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2991 $(TM_H) $(RTL_H) $(TREE_H) $(FLAGS_H) output.h $(REGS_H) $(EXPR_H) \
aa14403d 2992 $(FUNCTION_H) $(TOPLEV_H) $(GGC_H) langhooks.h $(COVERAGE_H) gt-coverage.h \
650cfcab
NV
2993 $(HASHTAB_H) tree-iterator.h $(CGRAPH_H) $(TREE_PASS_H) gcov-io.c $(TM_P_H) \
2994 $(DIAGNOSTIC_H) intl.h
e980df8e 2995cselib.o : cselib.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
40013784 2996 $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(RECOG_H) \
b5b8b0ac
AO
2997 $(EMIT_RTL_H) $(TOPLEV_H) output.h $(FUNCTION_H) $(TREE_PASS_H) \
2998 cselib.h gt-cselib.h $(GGC_H) $(TM_P_H) $(PARAMS_H) alloc-pool.h \
7a8cba34 2999 $(HASHTAB_H) $(TARGET_H) $(BITMAP_H)
e980df8e 3000cse.o : cse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(REGS_H) \
aa14403d 3001 hard-reg-set.h $(FLAGS_H) insn-config.h $(RECOG_H) $(EXPR_H) $(TOPLEV_H) \
e980df8e 3002 output.h $(FUNCTION_H) $(BASIC_BLOCK_H) $(GGC_H) $(TM_P_H) $(TIMEVAR_H) \
7072a650 3003 $(EXCEPT_H) $(TARGET_H) $(PARAMS_H) rtlhooks-def.h $(TREE_PASS_H) \
40013784 3004 $(DF_H) $(DBGCNT_H)
e980df8e 3005dce.o : dce.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
35debead 3006 $(TREE_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) $(EXCEPT_H) $(DF_H) cselib.h \
7072a650 3007 $(DBGCNT_H) dce.h $(TIMEVAR_H) $(TREE_PASS_H) $(DBGCNT_H) $(TM_P_H)
e980df8e
TT
3008dse.o : dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3009 $(TREE_H) $(TM_P_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
7072a650 3010 $(RECOG_H) $(EXPR_H) $(DF_H) cselib.h $(DBGCNT_H) $(TIMEVAR_H) \
7a8cba34
SB
3011 $(TREE_PASS_H) alloc-pool.h $(ALIAS_H) dse.h $(OPTABS_H) $(TARGET_H) \
3012 $(BITMAP_H)
e980df8e 3013fwprop.o : fwprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
aa14403d 3014 $(TOPLEV_H) insn-config.h $(RECOG_H) $(FLAGS_H) $(OBSTACK_H) $(BASIC_BLOCK_H) \
7072a650 3015 output.h $(DF_H) alloc-pool.h $(TIMEVAR_H) $(TREE_PASS_H) $(TARGET_H) \
c6741572 3016 $(TM_P_H) $(CFGLOOP_H) $(EMIT_RTL_H) domwalk.h
e980df8e 3017web.o : web.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
aa14403d 3018 hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h $(TOPLEV_H) \
4143fd36 3019 insn-config.h $(RECOG_H) $(DF_H) $(OBSTACK_H) $(TIMEVAR_H) $(TREE_PASS_H)
87a0ebfd
ST
3020implicit-zee.o : implicit-zee.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3021 hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h \
3022 $(DF_H) $(TIMEVAR_H) tree-pass.h $(RECOG_H) $(EXPR_H) \
40013784 3023 $(REGS_H) $(TREE_H) $(TM_P_H) insn-config.h $(INSN_ATTR_H) $(TOPLEV_H) \
87a0ebfd 3024 $(TARGET_H) $(OPTABS_H) insn-codes.h rtlhooks-def.h $(PARAMS_H) $(CGRAPH_H)
e980df8e 3025gcse.o : gcse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
40013784 3026 $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(GGC_H) \
df35c271 3027 $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h $(TOPLEV_H) \
464778c0 3028 $(TM_P_H) $(PARAMS_H) cselib.h $(EXCEPT_H) gt-gcse.h $(TREE_H) $(TIMEVAR_H) \
7a8cba34
SB
3029 intl.h $(OBSTACK_H) $(TREE_PASS_H) $(DF_H) $(DBGCNT_H) $(TARGET_H) \
3030 $(DF_H)
df35c271 3031store-motion.o : store-motion.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
40013784 3032 $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(GGC_H) \
aa14403d 3033 $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h $(TOPLEV_H) \
237ee620 3034 $(TM_P_H) $(EXCEPT_H) $(TREE_H) $(TIMEVAR_H) \
7072a650 3035 intl.h $(OBSTACK_H) $(TREE_PASS_H) $(DF_H) $(DBGCNT_H)
e980df8e
TT
3036resource.o : resource.c $(CONFIG_H) $(RTL_H) hard-reg-set.h $(SYSTEM_H) \
3037 coretypes.h $(TM_H) $(REGS_H) $(FLAGS_H) output.h $(RESOURCE_H) $(DF_H) \
a8da523f 3038 $(FUNCTION_H) $(TOPLEV_H) $(INSN_ATTR_H) $(EXCEPT_H) $(PARAMS_H) $(TM_P_H)
e980df8e
TT
3039lcm.o : lcm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(REGS_H) \
3040 hard-reg-set.h $(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(RECOG_H) \
7a8cba34 3041 $(BASIC_BLOCK_H) $(TM_P_H) $(FUNCTION_H) output.h sbitmap.h
e980df8e
TT
3042mode-switching.o : mode-switching.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3043 $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3044 $(INSN_ATTR_H) $(RECOG_H) $(BASIC_BLOCK_H) $(TM_P_H) $(FUNCTION_H) \
40013784 3045 output.h $(TREE_PASS_H) $(TIMEVAR_H) $(DF_H) $(TARGET_H)
e980df8e 3046tree-ssa-dce.o : tree-ssa-dce.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
40013784 3047 $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) \
7072a650 3048 coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) $(BASIC_BLOCK_H) \
cf835838
JM
3049 $(GGC_H) $(GIMPLE_H) $(CFGLOOP_H) $(SCEV_H) tree-pretty-print.h \
3050 gimple-pretty-print.h
c2699190 3051tree-call-cdce.o : tree-call-cdce.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
40013784 3052 $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) \
7072a650 3053 coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) $(BASIC_BLOCK_H) \
cf835838 3054 $(GIMPLE_H) gimple-pretty-print.h
e980df8e 3055tree-ssa-ccp.o : tree-ssa-ccp.c $(TREE_FLOW_H) $(CONFIG_H) \
40013784 3056 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h \
e980df8e 3057 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
7072a650 3058 $(TREE_DUMP_H) $(BASIC_BLOCK_H) $(TREE_PASS_H) langhooks.h \
464778c0 3059 tree-ssa-propagate.h value-prof.h $(FLAGS_H) $(TARGET_H) $(TOPLEV_H) \
cf835838 3060 $(DBGCNT_H) tree-pretty-print.h gimple-pretty-print.h
0674b9d0 3061tree-sra.o : tree-sra.c $(CONFIG_H) $(SYSTEM_H) coretypes.h alloc-pool.h \
07ffa034
MJ
3062 $(TM_H) $(TREE_H) $(GIMPLE_H) $(CGRAPH_H) $(TREE_FLOW_H) $(IPA_PROP_H) \
3063 $(DIAGNOSTIC_H) statistics.h $(TREE_DUMP_H) $(TIMEVAR_H) $(PARAMS_H) \
cf835838 3064 $(TARGET_H) $(FLAGS_H) $(EXPR_H) tree-pretty-print.h
b6e99746
MJ
3065tree-switch-conversion.o : tree-switch-conversion.c $(CONFIG_H) $(SYSTEM_H) \
3066 $(TREE_H) $(TM_P_H) $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TREE_INLINE_H) \
726a989a 3067 $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) $(GIMPLE_H) \
7072a650 3068 $(TREE_PASS_H) $(FLAGS_H) $(EXPR_H) $(BASIC_BLOCK_H) output.h \
cf835838
JM
3069 $(GGC_H) $(OBSTACK_H) $(PARAMS_H) $(CPPLIB_H) $(PARAMS_H) \
3070 gimple-pretty-print.h
e980df8e 3071tree-complex.o : tree-complex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
40013784 3072 $(TM_H) $(FLAGS_H) $(TREE_FLOW_H) $(GIMPLE_H) \
7072a650 3073 tree-iterator.h $(TREE_PASS_H) tree-ssa-propagate.h $(DIAGNOSTIC_H)
e980df8e 3074tree-vect-generic.o : tree-vect-generic.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
7072a650 3075 $(TM_H) $(TREE_FLOW_H) $(GIMPLE_H) tree-iterator.h $(TREE_PASS_H) \
40013784 3076 $(FLAGS_H) $(OPTABS_H) $(MACHMODE_H) $(EXPR_H) \
e980df8e
TT
3077 langhooks.h $(FLAGS_H) $(DIAGNOSTIC_H) gt-tree-vect-generic.h $(GGC_H) \
3078 coretypes.h insn-codes.h
3079df-core.o : df-core.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3080 insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \
e63ea00c 3081 hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) $(BITMAP_H) sbitmap.h $(TIMEVAR_H) \
7072a650 3082 $(TM_P_H) $(FLAGS_H) output.h $(TREE_PASS_H) $(PARAMS_H)
e980df8e
TT
3083df-problems.o : df-problems.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3084 $(RTL_H) insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \
e63ea00c 3085 hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) $(BITMAP_H) sbitmap.h $(TIMEVAR_H) \
a8da523f 3086 $(TM_P_H) $(FLAGS_H) output.h $(EXCEPT_H) dce.h vecprim.h
e980df8e
TT
3087df-scan.o : df-scan.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3088 insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \
e63ea00c
RW
3089 hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) $(BITMAP_H) sbitmap.h $(TIMEVAR_H) \
3090 $(TM_P_H) $(FLAGS_H) $(TARGET_H) $(TARGET_DEF_H) $(TREE_H) output.h \
7072a650 3091 $(TREE_PASS_H)
cc806ac1 3092df-byte-scan.o : df-byte-scan.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
464778c0 3093 $(TM_P_H) $(DF_H) output.h $(DBGCNT_H)
e980df8e 3094regstat.o : regstat.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
a8da523f 3095 $(TM_P_H) $(FLAGS_H) $(REGS_H) output.h $(EXCEPT_H) hard-reg-set.h \
e980df8e
TT
3096 $(BASIC_BLOCK_H) $(TIMEVAR_H) $(DF_H)
3097var-tracking.o : var-tracking.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3098 $(RTL_H) $(TREE_H) hard-reg-set.h insn-config.h reload.h $(FLAGS_H) \
3099 $(BASIC_BLOCK_H) output.h sbitmap.h alloc-pool.h $(FIBHEAP_H) $(HASHTAB_H) \
4a4d4c08 3100 $(REGS_H) $(EXPR_H) $(TIMEVAR_H) $(TREE_PASS_H) $(TREE_FLOW_H) \
457eeaae 3101 cselib.h $(TARGET_H) $(TOPLEV_H) $(PARAMS_H) $(DIAGNOSTIC_H) pointer-set.h \
cf835838 3102 $(RECOG_H) tree-pretty-print.h
e980df8e
TT
3103profile.o : profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3104 $(TREE_H) $(FLAGS_H) output.h $(REGS_H) $(EXPR_H) $(FUNCTION_H) \
aa14403d 3105 $(TOPLEV_H) $(COVERAGE_H) $(TREE_FLOW_H) value-prof.h cfghooks.h \
7072a650 3106 $(CFGLOOP_H) $(TIMEVAR_H) $(TREE_PASS_H) profile.h
52c76998
PY
3107mcf.o : mcf.c profile.h $(CONFIG_H) $(SYSTEM_H) $(TM_H) coretypes.h \
3108 $(BASIC_BLOCK_H) output.h langhooks.h $(GCOV_IO_H) $(TREE_H)
e980df8e 3109tree-profile.o : tree-profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 3110 $(TM_H) $(TREE_H) $(FLAGS_H) $(REGS_H) $(EXPR_H) \
aa14403d 3111 $(FUNCTION_H) $(TOPLEV_H) $(COVERAGE_H) $(TREE_H) value-prof.h $(TREE_DUMP_H) \
40013784 3112 $(TREE_PASS_H) $(TREE_FLOW_H) $(TIMEVAR_H) gt-tree-profile.h $(CGRAPH_H)
e980df8e
TT
3113value-prof.o : value-prof.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3114 $(BASIC_BLOCK_H) hard-reg-set.h value-prof.h $(EXPR_H) output.h $(FLAGS_H) \
3115 $(RECOG_H) insn-config.h $(OPTABS_H) $(REGS_H) $(GGC_H) $(DIAGNOSTIC_H) \
3116 $(TREE_H) $(COVERAGE_H) $(RTL_H) $(GCOV_IO_H) $(TREE_FLOW_H) \
cf835838
JM
3117 tree-flow-inline.h $(TIMEVAR_H) $(TREE_PASS_H) $(TOPLEV_H) pointer-set.h \
3118 tree-pretty-print.h gimple-pretty-print.h
e980df8e
TT
3119loop-doloop.o : loop-doloop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3120 $(RTL_H) $(FLAGS_H) $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) $(TM_P_H) \
aa14403d 3121 $(TOPLEV_H) $(CFGLOOP_H) output.h $(PARAMS_H) $(TARGET_H)
e980df8e
TT
3122alloc-pool.o : alloc-pool.c $(CONFIG_H) $(SYSTEM_H) alloc-pool.h $(HASHTAB_H)
3123auto-inc-dec.o : auto-inc-dec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3124 $(TREE_H) $(RTL_H) $(TM_P_H) hard-reg-set.h $(BASIC_BLOCK_H) insn-config.h \
a8da523f 3125 $(REGS_H) $(FLAGS_H) output.h $(FUNCTION_H) $(EXCEPT_H) $(TOPLEV_H) $(RECOG_H) \
d4ebfa65 3126 $(EXPR_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H) $(DBGCNT_H) $(TARGET_H)
e980df8e 3127cfg.o : cfg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(FLAGS_H) \
a8da523f 3128 $(REGS_H) hard-reg-set.h output.h $(TOPLEV_H) $(FUNCTION_H) $(EXCEPT_H) $(GGC_H) \
e980df8e 3129 $(TM_P_H) $(TIMEVAR_H) $(OBSTACK_H) $(TREE_H) alloc-pool.h \
7072a650 3130 $(HASHTAB_H) $(DF_H) $(CFGLOOP_H) $(TREE_FLOW_H) $(TREE_PASS_H)
e980df8e 3131cfghooks.o: cfghooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
aa14403d 3132 $(TREE_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(TIMEVAR_H) $(TOPLEV_H) $(CFGLOOP_H)
e980df8e
TT
3133cfgexpand.o : cfgexpand.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
3134 $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) \
7072a650 3135 coretypes.h $(TREE_DUMP_H) $(EXCEPT_H) langhooks.h $(TREE_PASS_H) $(RTL_H) \
aa14403d 3136 $(DIAGNOSTIC_H) $(TOPLEV_H) $(BASIC_BLOCK_H) $(FLAGS_H) debug.h $(PARAMS_H) \
cf835838 3137 value-prof.h $(TREE_INLINE_H) $(TARGET_H) $(SSAEXPAND_H) \
7a8cba34 3138 tree-pretty-print.h gimple-pretty-print.h $(BITMAP_H) sbitmap.h
e980df8e
TT
3139cfgrtl.o : cfgrtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3140 $(FLAGS_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
2a34bece
EB
3141 output.h $(TOPLEV_H) $(FUNCTION_H) $(EXCEPT_H) $(TM_P_H) $(INSN_ATTR_H) \
3142 insn-config.h $(EXPR_H) \
e980df8e 3143 $(CFGLAYOUT_H) $(CFGLOOP_H) $(OBSTACK_H) $(TARGET_H) $(TREE_H) \
7072a650 3144 $(TREE_PASS_H) $(DF_H) $(GGC_H)
e980df8e
TT
3145cfganal.o : cfganal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3146 $(BASIC_BLOCK_H) hard-reg-set.h insn-config.h $(RECOG_H) $(TM_P_H) \
7a8cba34 3147 $(TIMEVAR_H) $(OBSTACK_H) $(TOPLEV_H) vecprim.h sbitmap.h $(BITMAP_H)
e980df8e 3148cfgbuild.o : cfgbuild.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
aa14403d 3149 $(FLAGS_H) $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h $(TOPLEV_H) \
7a8cba34 3150 $(FUNCTION_H) $(EXCEPT_H) $(TIMEVAR_H) $(TREE_H) $(EXPR_H) sbitmap.h
e980df8e
TT
3151cfgcleanup.o : cfgcleanup.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3152 $(RTL_H) $(TIMEVAR_H) hard-reg-set.h output.h $(FLAGS_H) $(RECOG_H) \
aa14403d 3153 $(TOPLEV_H) insn-config.h cselib.h $(TARGET_H) $(TM_P_H) $(PARAMS_H) \
7072a650 3154 $(REGS_H) $(EMIT_RTL_H) $(CFGLAYOUT_H) $(TREE_PASS_H) $(CFGLOOP_H) $(EXPR_H) \
e63ea00c 3155 $(DF_H) $(DBGCNT_H) dce.h
e980df8e
TT
3156cfgloop.o : cfgloop.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) coretypes.h $(TM_H) \
3157 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(FLAGS_H) $(FUNCTION_H) \
aa14403d 3158 $(OBSTACK_H) $(TOPLEV_H) $(TREE_FLOW_H) $(TREE_H) pointer-set.h output.h \
e980df8e
TT
3159 $(GGC_H)
3160cfgloopanal.o : cfgloopanal.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
3161 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) coretypes.h $(TM_H) \
058e97ec 3162 $(OBSTACK_H) output.h graphds.h $(PARAMS_H)
e63ea00c 3163graphds.o : graphds.c graphds.h $(CONFIG_H) $(SYSTEM_H) $(BITMAP_H) $(OBSTACK_H) \
e980df8e
TT
3164 coretypes.h vec.h vecprim.h
3165loop-iv.o : loop-iv.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(BASIC_BLOCK_H) \
3166 hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) coretypes.h $(TM_H) $(OBSTACK_H) \
aa14403d 3167 output.h intl.h $(TOPLEV_H) $(DF_H) $(HASHTAB_H)
e980df8e 3168loop-invariant.o : loop-invariant.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
1833192f
VM
3169 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) $(RECOG_H) \
3170 coretypes.h $(TM_H) $(TM_P_H) $(FUNCTION_H) $(FLAGS_H) $(DF_H) \
3171 $(OBSTACK_H) output.h $(HASHTAB_H) $(EXCEPT_H) $(PARAMS_H) $(REGS_H) ira.h
e980df8e
TT
3172cfgloopmanip.o : cfgloopmanip.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
3173 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) output.h \
a213b219 3174 coretypes.h $(TM_H) cfghooks.h $(OBSTACK_H) $(TREE_FLOW_H)
e980df8e
TT
3175loop-init.o : loop-init.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(GGC_H) \
3176 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) \
7072a650
ILT
3177 coretypes.h $(TM_H) $(OBSTACK_H) $(TREE_PASS_H) $(TIMEVAR_H) $(FLAGS_H) \
3178 $(DF_H)
e980df8e
TT
3179loop-unswitch.o : loop-unswitch.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TM_H) \
3180 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) $(PARAMS_H) \
3181 output.h $(EXPR_H) coretypes.h $(TM_H) $(OBSTACK_H)
3182loop-unroll.o: loop-unroll.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TM_H) \
3183 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) $(PARAMS_H) \
3184 output.h $(EXPR_H) coretypes.h $(TM_H) $(HASHTAB_H) $(RECOG_H) \
3185 $(OBSTACK_H)
3186dominance.o : dominance.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
aa14403d 3187 hard-reg-set.h $(BASIC_BLOCK_H) et-forest.h $(OBSTACK_H) $(TOPLEV_H) \
7a8cba34 3188 $(TIMEVAR_H) graphds.h vecprim.h pointer-set.h $(BITMAP_H)
e980df8e
TT
3189et-forest.o : et-forest.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3190 et-forest.h alloc-pool.h $(BASIC_BLOCK_H)
3191combine.o : combine.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3192 $(FLAGS_H) $(FUNCTION_H) insn-config.h $(INSN_ATTR_H) $(REGS_H) $(EXPR_H) \
40013784 3193 rtlhooks-def.h $(BASIC_BLOCK_H) $(RECOG_H) hard-reg-set.h \
aa14403d 3194 $(TOPLEV_H) $(TM_P_H) $(TREE_H) $(TARGET_H) output.h $(PARAMS_H) $(OPTABS_H) \
7072a650 3195 insn-codes.h $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H) vecprim.h $(CGRAPH_H)
2af2dbdc 3196reginfo.o : reginfo.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
e63ea00c 3197 hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) addresses.h $(REGS_H) insn-config.h \
40013784 3198 $(RECOG_H) reload.h $(TOPLEV_H) $(FUNCTION_H) output.h $(GGC_H) \
2af2dbdc 3199 $(TM_P_H) $(EXPR_H) $(TIMEVAR_H) gt-reginfo.h $(HASHTAB_H) \
7072a650 3200 $(TARGET_H) $(TREE_PASS_H) $(DF_H) ira.h
e980df8e 3201bitmap.o : bitmap.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
e63ea00c 3202 $(FLAGS_H) $(GGC_H) gt-bitmap.h $(BITMAP_H) $(OBSTACK_H) $(HASHTAB_H)
e980df8e 3203vec.o : vec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h vec.h $(GGC_H) \
464778c0 3204 $(TOPLEV_H) $(HASHTAB_H)
e980df8e
TT
3205reload.o : reload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3206 $(FLAGS_H) output.h $(EXPR_H) $(OPTABS_H) reload.h $(RECOG_H) \
aa14403d 3207 hard-reg-set.h insn-config.h $(REGS_H) $(FUNCTION_H) real.h $(TOPLEV_H) \
40013784 3208 addresses.h $(TM_P_H) $(PARAMS_H) $(TARGET_H) $(DF_H) ira.h
e980df8e
TT
3209reload1.o : reload1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3210 $(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) hard-reg-set.h insn-config.h \
aa14403d 3211 $(BASIC_BLOCK_H) $(RECOG_H) output.h $(FUNCTION_H) $(TOPLEV_H) $(TM_P_H) \
40013784 3212 addresses.h $(EXCEPT_H) $(TREE_H) $(FLAGS_H) $(MACHMODE_H) \
f6129d66 3213 $(OBSTACK_H) $(DF_H) $(TARGET_H) $(EMIT_RTL_H) ira.h
e980df8e
TT
3214rtlhooks.o : rtlhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3215 rtlhooks-def.h $(EXPR_H) $(RECOG_H)
3216postreload.o : postreload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 3217 $(RTL_H) $(FLAGS_H) $(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) \
e980df8e 3218 hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) $(RECOG_H) output.h \
a8da523f 3219 $(FUNCTION_H) $(TOPLEV_H) cselib.h $(TM_P_H) $(EXCEPT_H) $(TREE_H) $(MACHMODE_H) \
7072a650 3220 $(OBSTACK_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H) $(DBGCNT_H)
e980df8e
TT
3221postreload-gcse.o : postreload-gcse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3222 $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
aa14403d 3223 $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h $(TOPLEV_H) \
a8da523f 3224 $(TM_P_H) $(EXCEPT_H) $(TREE_H) $(TARGET_H) $(HASHTAB_H) intl.h $(OBSTACK_H) \
40013784 3225 $(PARAMS_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DBGCNT_H)
e980df8e
TT
3226caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3227 $(FLAGS_H) $(REGS_H) hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) $(FUNCTION_H) \
aa14403d 3228 addresses.h $(RECOG_H) reload.h $(EXPR_H) $(TOPLEV_H) $(TM_P_H) $(DF_H) \
464778c0 3229 output.h gt-caller-save.h $(GGC_H)
a8da523f 3230bt-load.o : bt-load.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(EXCEPT_H) \
e980df8e 3231 $(RTL_H) hard-reg-set.h $(REGS_H) $(TM_P_H) $(FIBHEAP_H) output.h $(EXPR_H) \
7072a650
ILT
3232 $(TARGET_H) $(FLAGS_H) $(INSN_ATTR_H) $(FUNCTION_H) $(TREE_PASS_H) \
3233 $(TOPLEV_H) $(DF_H) vecprim.h $(RECOG_H)
e980df8e
TT
3234reorg.o : reorg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3235 conditions.h hard-reg-set.h $(BASIC_BLOCK_H) $(REGS_H) insn-config.h \
a8da523f 3236 $(INSN_ATTR_H) $(EXCEPT_H) $(RECOG_H) $(FUNCTION_H) $(FLAGS_H) output.h \
aa14403d 3237 $(EXPR_H) $(TOPLEV_H) $(PARAMS_H) $(TM_P_H) $(OBSTACK_H) $(RESOURCE_H) \
7072a650 3238 $(TIMEVAR_H) $(TARGET_H) $(TREE_PASS_H)
e980df8e 3239alias.o : alias.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
aa14403d 3240 $(FLAGS_H) hard-reg-set.h $(BASIC_BLOCK_H) $(REGS_H) $(TOPLEV_H) output.h \
e980df8e
TT
3241 $(ALIAS_H) $(EMIT_RTL_H) $(GGC_H) $(FUNCTION_H) cselib.h $(TREE_H) $(TM_P_H) \
3242 langhooks.h $(TARGET_H) gt-alias.h $(TIMEVAR_H) $(CGRAPH_H) \
9aae8d16 3243 $(SPLAY_TREE_H) $(IPA_TYPE_ESCAPE_H) $(DF_H) $(TREE_PASS_H) \
55b34b5f 3244 tree-ssa-alias.h pointer-set.h $(TREE_FLOW_H)
e980df8e 3245stack-ptr-mod.o : stack-ptr-mod.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
7072a650 3246 $(TM_H) $(TREE_H) $(RTL_H) $(REGS_H) $(EXPR_H) $(TREE_PASS_H) \
e980df8e
TT
3247 $(BASIC_BLOCK_H) $(FLAGS_H) output.h $(DF_H)
3248init-regs.o : init-regs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
7072a650 3249 $(TM_H) $(TREE_H) $(RTL_H) $(REGS_H) $(EXPR_H) $(TREE_PASS_H) \
e980df8e 3250 $(BASIC_BLOCK_H) $(FLAGS_H) $(DF_H)
058e97ec
VM
3251ira-build.o: ira-build.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3252 $(TARGET_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
3253 insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) \
464778c0 3254 $(PARAMS_H) $(DF_H) sparseset.h $(IRA_INT_H) output.h reload.h
058e97ec 3255ira-costs.o: ira-costs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
464778c0
RW
3256 hard-reg-set.h $(RTL_H) $(EXPR_H) $(TM_P_H) $(FLAGS_H) $(BASIC_BLOCK_H) \
3257 $(REGS_H) addresses.h insn-config.h $(RECOG_H) $(TOPLEV_H) $(TARGET_H) \
3258 $(PARAMS_H) $(IRA_INT_H)
058e97ec
VM
3259ira-conflicts.o: ira-conflicts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3260 $(TARGET_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
3261 insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) $(PARAMS_H) \
f2c2d5e3 3262 $(DF_H) sparseset.h addresses.h $(IRA_INT_H)
058e97ec
VM
3263ira-color.o: ira-color.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3264 $(TARGET_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
464778c0 3265 $(EXPR_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) reload.h $(PARAMS_H) \
058e97ec
VM
3266 $(DF_H) $(SPLAY_TREE_H) $(IRA_INT_H)
3267ira-emit.o: ira-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
464778c0
RW
3268 $(REGS_H) $(RTL_H) $(TM_P_H) $(TARGET_H) $(FLAGS_H) hard-reg-set.h \
3269 $(BASIC_BLOCK_H) $(EXPR_H) $(RECOG_H) $(PARAMS_H) $(TIMEVAR_H) \
3b2ce251 3270 $(TREE_PASS_H) output.h reload.h $(DF_H) $(IRA_INT_H)
058e97ec 3271ira-lives.o: ira-lives.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
a8da523f 3272 $(TARGET_H) $(RTL_H) $(REGS_H) $(EXCEPT_H) hard-reg-set.h $(FLAGS_H) \
058e97ec
VM
3273 insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) $(PARAMS_H) \
3274 $(DF_H) sparseset.h $(IRA_INT_H)
3275ira.o: ira.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
464778c0
RW
3276 $(TM_H) $(REGS_H) $(RTL_H) $(TM_P_H) $(TARGET_H) $(FLAGS_H) $(OBSTACK_H) \
3277 $(BITMAP_H) hard-reg-set.h $(BASIC_BLOCK_H) \
3278 $(EXPR_H) $(RECOG_H) $(PARAMS_H) $(TIMEVAR_H) $(TREE_PASS_H) output.h \
3b2ce251 3279 $(EXCEPT_H) reload.h $(TOPLEV_H) $(INTEGRATE_H) $(DF_H) $(GGC_H) $(IRA_INT_H)
e980df8e 3280regmove.o : regmove.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
7072a650 3281 insn-config.h $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H)\
e980df8e 3282 $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
1833192f 3283 $(EXPR_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) $(EXCEPT_H) ira.h reload.h
e980df8e 3284combine-stack-adj.o : combine-stack-adj.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
7072a650 3285 $(TM_H) $(RTL_H) insn-config.h $(TIMEVAR_H) $(TREE_PASS_H) \
e980df8e 3286 $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
a8da523f 3287 $(EXPR_H) $(BASIC_BLOCK_H) $(TOPLEV_H) $(TM_P_H) $(DF_H) $(EXCEPT_H) reload.h
e980df8e 3288ddg.o : ddg.c $(DDG_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TARGET_H) \
aa14403d 3289 $(TOPLEV_H) $(RTL_H) $(TM_P_H) $(REGS_H) $(FUNCTION_H) \
a8da523f 3290 $(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(EXCEPT_H) $(RECOG_H) \
e63ea00c 3291 $(SCHED_INT_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(EXPR_H) $(BITMAP_H) \
e980df8e
TT
3292 hard-reg-set.h sbitmap.h $(TM_H)
3293modulo-sched.o : modulo-sched.c $(DDG_H) $(CONFIG_H) $(CONFIG_H) $(SYSTEM_H) \
aa14403d 3294 coretypes.h $(TARGET_H) $(TOPLEV_H) $(RTL_H) $(TM_P_H) $(REGS_H) $(FUNCTION_H) \
a8da523f 3295 $(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(EXCEPT_H) $(RECOG_H) \
e980df8e 3296 $(SCHED_INT_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(EXPR_H) $(PARAMS_H) \
7072a650 3297 cfghooks.h $(GCOV_IO_H) hard-reg-set.h $(TM_H) $(TIMEVAR_H) $(TREE_PASS_H) \
e980df8e
TT
3298 $(DF_H) $(DBGCNT_H)
3299haifa-sched.o : haifa-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3300 $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(FUNCTION_H) \
a8da523f 3301 $(INSN_ATTR_H) $(TOPLEV_H) $(RECOG_H) $(EXCEPT_H) $(TM_P_H) $(TARGET_H) output.h \
464778c0 3302 $(PARAMS_H) $(DBGCNT_H) $(CFGLOOP_H) ira.h
e980df8e
TT
3303sched-deps.o : sched-deps.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3304 $(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
a8da523f 3305 $(FUNCTION_H) $(INSN_ATTR_H) $(TOPLEV_H) $(RECOG_H) $(EXCEPT_H) cselib.h \
d4ebfa65 3306 ira.h $(PARAMS_H) $(TM_P_H) ira.h $(TARGET_H)
e980df8e
TT
3307sched-rgn.o : sched-rgn.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3308 $(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
a8da523f 3309 $(FUNCTION_H) $(INSN_ATTR_H) $(TOPLEV_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
464778c0 3310 $(TM_P_H) sel-sched.h $(TARGET_H) $(CFGLAYOUT_H) $(TIMEVAR_H) $(TREE_PASS_H) \
e855c69d 3311 $(DBGCNT_H)
e980df8e
TT
3312sched-ebb.o : sched-ebb.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3313 $(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
a8da523f 3314 $(FUNCTION_H) $(INSN_ATTR_H) $(TOPLEV_H) $(RECOG_H) $(EXCEPT_H) $(TM_P_H) \
e63ea00c 3315 $(PARAMS_H) $(CFGLAYOUT_H) $(TARGET_H) output.h
e980df8e
TT
3316sched-vis.o : sched-vis.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3317 $(RTL_H) $(SCHED_INT_H) hard-reg-set.h $(BASIC_BLOCK_H) $(OBSTACK_H) \
40013784 3318 $(TREE_PASS_H) $(INSN_ATTR_H)
e855c69d
AB
3319sel-sched.o : sel-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3320 $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
464778c0
RW
3321 $(FUNCTION_H) $(INSN_ATTR_H) $(TOPLEV_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
3322 $(TM_P_H) output.h $(TARGET_H) $(TIMEVAR_H) $(TREE_PASS_H) \
3323 $(SCHED_INT_H) $(GGC_H) $(TREE_H) langhooks.h rtlhooks-def.h \
3324 $(SEL_SCHED_IR_H) $(SEL_SCHED_DUMP_H) sel-sched.h $(DBGCNT_H)
e855c69d
AB
3325sel-sched-dump.o : sel-sched-dump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3326 $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
464778c0 3327 $(FUNCTION_H) $(INSN_ATTR_H) $(TOPLEV_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
7072a650 3328 $(TM_P_H) $(TARGET_H) $(CFGLAYOUT_H) $(TIMEVAR_H) $(TREE_PASS_H) \
464778c0
RW
3329 $(SEL_SCHED_DUMP_H) $(GGC_H) $(TREE_H) $(LANGHOOKS_DEF_H) $(SEL_SCHED_IR_H) \
3330 output.h $(BASIC_BLOCK_H) cselib.h
e855c69d
AB
3331sel-sched-ir.o : sel-sched-ir.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3332 $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
464778c0
RW
3333 $(FUNCTION_H) $(INSN_ATTR_H) $(TOPLEV_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
3334 $(TM_P_H) $(TARGET_H) $(TIMEVAR_H) $(TREE_PASS_H) $(SCHED_INT_H) $(GGC_H) \
3335 $(TREE_H) langhooks.h rtlhooks-def.h $(SEL_SCHED_IR_H) $(SEL_SCHED_DUMP_H)
e980df8e
TT
3336final.o : final.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3337 $(TREE_H) $(FLAGS_H) intl.h $(REGS_H) $(RECOG_H) conditions.h \
3338 insn-config.h $(INSN_ATTR_H) $(FUNCTION_H) output.h hard-reg-set.h \
7072a650
ILT
3339 $(EXCEPT_H) debug.h xcoffout.h $(TOPLEV_H) reload.h dwarf2out.h \
3340 $(TREE_PASS_H) $(BASIC_BLOCK_H) $(TM_P_H) $(TARGET_H) $(EXPR_H) \
40013784 3341 $(CFGLAYOUT_H) dbxout.h $(TIMEVAR_H) $(CGRAPH_H) $(COVERAGE_H) \
464778c0 3342 $(DF_H) vecprim.h $(GGC_H) $(CFGLOOP_H) $(PARAMS_H) $(TREE_FLOW_H)
e980df8e
TT
3343recog.o : recog.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3344 $(FUNCTION_H) $(BASIC_BLOCK_H) $(REGS_H) $(RECOG_H) $(EXPR_H) \
aa14403d 3345 $(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(TOPLEV_H) output.h reload.h \
40013784 3346 addresses.h $(TM_P_H) $(TIMEVAR_H) $(TREE_PASS_H) hard-reg-set.h \
dbc42c44 3347 $(DF_H) $(DBGCNT_H) $(TARGET_H)
e980df8e
TT
3348reg-stack.o : reg-stack.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3349 $(RTL_H) $(TREE_H) $(RECOG_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
aa14403d 3350 insn-config.h $(TOPLEV_H) reload.h $(FUNCTION_H) $(TM_P_H) $(GGC_H) \
9aae8d16 3351 $(BASIC_BLOCK_H) $(CFGLAYOUT_H) output.h $(TIMEVAR_H) \
7072a650 3352 $(TREE_PASS_H) $(TARGET_H) vecprim.h $(DF_H)
e980df8e
TT
3353sreal.o: sreal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) sreal.h
3354predict.o: predict.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3355 $(TREE_H) $(FLAGS_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) \
a8da523f 3356 hard-reg-set.h output.h $(TOPLEV_H) $(RECOG_H) $(FUNCTION_H) $(EXCEPT_H) \
e980df8e
TT
3357 $(TM_P_H) $(PREDICT_H) sreal.h $(PARAMS_H) $(TARGET_H) $(CFGLOOP_H) \
3358 $(COVERAGE_H) $(SCEV_H) $(GGC_H) predict.def $(TIMEVAR_H) $(TREE_DUMP_H) \
7072a650 3359 $(TREE_FLOW_H) $(TREE_PASS_H) $(EXPR_H) pointer-set.h
aa14403d 3360lists.o: lists.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TOPLEV_H) \
e980df8e
TT
3361 $(RTL_H) $(GGC_H) gt-lists.h
3362bb-reorder.o : bb-reorder.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3363 $(RTL_H) $(FLAGS_H) $(TIMEVAR_H) output.h $(CFGLAYOUT_H) $(FIBHEAP_H) \
3364 $(TARGET_H) $(FUNCTION_H) $(TM_P_H) $(OBSTACK_H) $(EXPR_H) $(REGS_H) \
7072a650 3365 $(PARAMS_H) $(TOPLEV_H) $(TREE_PASS_H) $(DF_H)
e980df8e
TT
3366tracer.o : tracer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3367 $(TREE_H) $(BASIC_BLOCK_H) hard-reg-set.h output.h $(CFGLAYOUT_H) \
3368 $(FLAGS_H) $(TIMEVAR_H) $(PARAMS_H) $(COVERAGE_H) $(FIBHEAP_H) \
7072a650 3369 $(TREE_PASS_H) $(TREE_FLOW_H) $(TREE_INLINE_H)
e980df8e
TT
3370cfglayout.o : cfglayout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3371 $(RTL_H) $(TREE_H) insn-config.h $(BASIC_BLOCK_H) hard-reg-set.h output.h \
3372 $(FUNCTION_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(TARGET_H) gt-cfglayout.h \
7072a650 3373 $(GGC_H) alloc-pool.h $(FLAGS_H) $(OBSTACK_H) $(TREE_PASS_H) vecprim.h \
e980df8e
TT
3374 $(DF_H)
3375timevar.o : timevar.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
aa14403d 3376 $(TIMEVAR_H) $(FLAGS_H) intl.h $(TOPLEV_H) $(RTL_H) timevar.def
fac41238
PB
3377regcprop.o : regcprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3378 $(RTL_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
3379 output.h $(RECOG_H) $(FUNCTION_H) $(OBSTACK_H) $(FLAGS_H) $(TM_P_H) \
3380 addresses.h reload.h $(TOPLEV_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H)
e980df8e
TT
3381regrename.o : regrename.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3382 $(RTL_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
3383 output.h $(RECOG_H) $(FUNCTION_H) $(OBSTACK_H) $(FLAGS_H) $(TM_P_H) \
7072a650 3384 addresses.h reload.h $(TOPLEV_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H)
e980df8e 3385ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
aa14403d 3386 $(REGS_H) $(TOPLEV_H) $(FLAGS_H) insn-config.h $(FUNCTION_H) $(RECOG_H) \
a8da523f 3387 $(TARGET_H) $(BASIC_BLOCK_H) $(EXPR_H) output.h $(EXCEPT_H) $(TM_P_H) \
40013784 3388 $(OPTABS_H) $(CFGLOOP_H) hard-reg-set.h $(TIMEVAR_H) \
7072a650 3389 $(TREE_PASS_H) $(DF_H) $(DBGCNT_H)
e980df8e 3390lambda-mat.o : lambda-mat.c $(LAMBDA_H) $(GGC_H) $(SYSTEM_H) $(CONFIG_H) \
726a989a 3391 $(TM_H) coretypes.h $(TREE_H) $(TREE_FLOW_H)
e980df8e 3392lambda-trans.o: lambda-trans.c $(LAMBDA_H) $(GGC_H) $(SYSTEM_H) $(CONFIG_H) \
726a989a 3393 $(TM_H) coretypes.h $(TARGET_H) $(TREE_H) $(TREE_FLOW_H)
e980df8e
TT
3394lambda-code.o: lambda-code.c $(LAMBDA_H) $(GGC_H) $(SYSTEM_H) $(CONFIG_H) \
3395 $(TM_H) $(OPTABS_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) \
3396 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
223cf84d
TG
3397 $(TREE_DATA_REF_H) $(EXPR_H) coretypes.h $(TARGET_H) \
3398 $(TREE_PASS_H) vec.h vecprim.h $(OBSTACK_H) pointer-set.h
3399params.o : params.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(PARAMS_H) \
3400 $(TOPLEV_H)
e980df8e
TT
3401pointer-set.o: pointer-set.c pointer-set.h $(CONFIG_H) $(SYSTEM_H)
3402hooks.o: hooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(HOOKS_H)
3403pretty-print.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h $(PRETTY_PRINT_H) \
cf835838 3404 $(GGC_H)
e980df8e 3405errors.o : errors.c $(CONFIG_H) $(SYSTEM_H) errors.h $(BCONFIG_H)
3b2ce251 3406dbgcnt.o: dbgcnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TOPLEV_H) $(DBGCNT_H) \
e63ea00c 3407 $(TM_H) $(RTL_H) output.h
e980df8e
TT
3408lower-subreg.o : lower-subreg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3409 $(MACHMODE_H) $(TM_H) $(RTL_H) $(TM_P_H) $(TIMEVAR_H) $(FLAGS_H) \
e63ea00c 3410 insn-config.h $(BASIC_BLOCK_H) $(RECOG_H) $(OBSTACK_H) $(BITMAP_H) \
7072a650 3411 $(EXPR_H) $(EXCEPT_H) $(REGS_H) $(TREE_PASS_H) $(DF_H)
e980df8e
TT
3412
3413$(out_object_file): $(out_file) $(CONFIG_H) coretypes.h $(TM_H) $(TREE_H) \
3414 $(RTL_H) $(REGS_H) hard-reg-set.h insn-config.h conditions.h \
aa14403d 3415 output.h $(INSN_ATTR_H) $(SYSTEM_H) $(TOPLEV_H) $(TARGET_H) libfuncs.h \
e980df8e 3416 $(TARGET_DEF_H) $(FUNCTION_H) $(SCHED_INT_H) $(TM_P_H) $(EXPR_H) \
464778c0 3417 langhooks.h $(GGC_H) $(OPTABS_H) $(REAL_H) tm-constrs.h $(GIMPLE_H) $(DF_H) \
bdfbd9df 3418 cselib.h
7980bfb8 3419 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
3420 $(out_file) $(OUTPUT_OPTION)
3421
4e0db2ce
RK
3422# Build auxiliary files that support ecoff format.
3423mips-tfile: mips-tfile.o version.o $(LIBDEPS)
c607156f 3424 $(LINKER) $(LINKERFLAGS) $(LDFLAGS) -o $@ \
7980bfb8 3425 mips-tfile.o version.o $(LIBS)
4e0db2ce 3426
e980df8e 3427mips-tfile.o : mips-tfile.c $(CONFIG_H) $(RTL_H) $(SYSTEM_H) coretypes.h \
e63ea00c 3428 $(TM_H) version.h $(srcdir)/../include/getopt.h $(GSTAB_H) intl.h
e980df8e 3429
4e0db2ce 3430mips-tdump: mips-tdump.o version.o $(LIBDEPS)
c607156f 3431 $(LINKER) $(LINKERFLAGS) $(LDFLAGS) -o $@ \
7980bfb8 3432 mips-tdump.o version.o $(LIBS)
4e0db2ce 3433
e980df8e
TT
3434mips-tdump.o : mips-tdump.c $(CONFIG_H) $(RTL_H) $(SYSTEM_H) coretypes.h \
3435 $(TM_H) version.h $(srcdir)/../include/getopt.h stab.def
3436
3437# FIXME: writing proper dependencies for this is a *LOT* of work.
3438libbackend.o : $(OBJS-common:.o=.c) $(out_file) \
3439 insn-config.h insn-flags.h insn-codes.h insn-constants.h \
3440 insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h
7980bfb8 3441 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
3442 -DTARGET_NAME=\"$(target_noncanonical)\" \
3443 -DLOCALEDIR=\"$(localedir)\" \
3444 -c $(filter %.c,$^) -o $@ \
3445 -DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
3446 -DREVISION=$(REVISION_s) \
3447 -DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \
3448 -DBUGURL=$(BUGURL_s) -combine
3449
544eb21e 3450#\f
4c457b6b 3451# Generate header and source files from the machine description,
79d8453e
RS
3452# and compile them.
3453
1b0c37d7 3454.PRECIOUS: insn-config.h insn-flags.h insn-codes.h insn-constants.h \
79d8453e 3455 insn-emit.c insn-recog.c insn-extract.c insn-output.c insn-peep.c \
e543e219 3456 insn-attr.h insn-attrtab.c insn-preds.c
79d8453e 3457
26be549a
RH
3458# Dependencies for the md file. The first time through, we just assume
3459# the md file itself and the generated dependency file (in order to get
3460# it built). The second time through we have the dependency file.
3461-include mddeps.mk
3462MD_DEPS = s-mddeps $(md_file) $(MD_INCLUDES)
3463
3464s-mddeps: $(md_file) $(MD_INCLUDES) build/genmddeps$(build_exeext)
3465 $(RUN_GEN) build/genmddeps$(build_exeext) $(md_file) > tmp-mddeps
3466 $(SHELL) $(srcdir)/../move-if-change tmp-mddeps mddeps.mk
3467 $(STAMP) s-mddeps
3468
e980df8e
TT
3469# Header dependencies for generated source files.
3470genrtl.o : genrtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H)\
e63ea00c 3471 $(GGC_H) $(OBSTACK_H)
e980df8e 3472insn-attrtab.o : insn-attrtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 3473 $(TM_H) $(RTL_H) $(REGS_H) output.h $(INSN_ATTR_H) \
aa14403d 3474 insn-config.h $(TOPLEV_H) $(RECOG_H) $(TM_P_H) $(FLAGS_H)
e980df8e 3475insn-automata.o : insn-automata.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 3476 $(TM_H) $(RTL_H) $(REGS_H) output.h $(INSN_ATTR_H) \
aa14403d 3477 insn-config.h $(TOPLEV_H) $(RECOG_H) $(TM_P_H) $(FLAGS_H)
e980df8e 3478insn-emit.o : insn-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 3479 $(RTL_H) $(TM_P_H) $(FUNCTION_H) $(EXPR_H) $(OPTABS_H) \
e63ea00c 3480 dfp.h $(FLAGS_H) output.h insn-config.h hard-reg-set.h $(RECOG_H) \
aa14403d 3481 $(RESOURCE_H) reload.h $(TOPLEV_H) $(REGS_H) tm-constrs.h $(GGC_H) \
e63ea00c 3482 $(BASIC_BLOCK_H) $(INTEGRATE_H)
e980df8e 3483insn-extract.o : insn-extract.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
aa14403d 3484 $(TM_H) $(RTL_H) $(TOPLEV_H) insn-config.h $(RECOG_H)
e980df8e 3485insn-modes.o : insn-modes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 3486 $(MACHMODE_H)
e980df8e 3487insn-opinit.o : insn-opinit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
e63ea00c
RW
3488 $(TM_H) $(RTL_H) $(TM_P_H) insn-config.h $(FLAGS_H) $(RECOG_H) \
3489 $(EXPR_H) $(OPTABS_H) reload.h
e980df8e 3490insn-output.o : insn-output.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
40013784 3491 $(TM_H) $(RTL_H) $(GGC_H) $(REGS_H) conditions.h \
e980df8e 3492 hard-reg-set.h insn-config.h $(INSN_ATTR_H) $(EXPR_H) output.h \
40013784 3493 $(RECOG_H) $(FUNCTION_H) $(TOPLEV_H) $(FLAGS_H) insn-codes.h $(TM_P_H)\
e980df8e
TT
3494 $(TARGET_H) tm-constrs.h
3495insn-peep.o : insn-peep.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
40013784 3496 insn-config.h $(RTL_H) $(TM_P_H) $(REGS_H) output.h \
a8da523f 3497 $(RECOG_H) $(EXCEPT_H) $(FUNCTION_H) $(TOPLEV_H) $(FLAGS_H) tm-constrs.h
e980df8e
TT
3498insn-preds.o : insn-preds.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3499 $(TM_H) $(RTL_H) $(TREE_H) insn-config.h $(RECOG_H) output.h \
3500 $(FLAGS_H) $(FUNCTION_H) hard-reg-set.h $(RESOURCE_H) $(TM_P_H) \
40013784 3501 $(TOPLEV_H) reload.h $(REGS_H) tm-constrs.h
e980df8e
TT
3502insn-recog.o : insn-recog.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3503 $(TM_H) $(RTL_H) insn-config.h $(RECOG_H) output.h $(FLAGS_H) \
40013784
SB
3504 $(FUNCTION_H) hard-reg-set.h $(RESOURCE_H) $(TM_P_H) $(TOPLEV_H) \
3505 reload.h $(REGS_H) tm-constrs.h
e980df8e 3506
cbbbdc2c
ZW
3507# For each of the files generated by running a generator program over
3508# the machine description, the following pair of static pattern rules
3509# runs the generator program only if the machine description has changed,
3510# but touches the target file only when its contents actually change.
3511# The "; @true" construct forces Make to recheck the timestamp on the
3512# target file.
3513
d3dc619d 3514simple_generated_h = insn-attr.h insn-codes.h insn-config.h insn-flags.h
cbbbdc2c 3515
8c94f366
ZW
3516simple_generated_c = insn-attrtab.c insn-automata.c insn-emit.c \
3517 insn-extract.c insn-opinit.c insn-output.c \
3518 insn-peep.c insn-recog.c
cbbbdc2c
ZW
3519
3520$(simple_generated_h): insn-%.h: s-%; @true
3521
1c7352cd
ZW
3522$(simple_generated_h:insn-%.h=s-%): s-%: build/gen%$(build_exeext) \
3523 $(MD_DEPS) insn-conditions.md
3524 $(RUN_GEN) build/gen$*$(build_exeext) $(md_file) \
3525 insn-conditions.md > tmp-$*.h
cbbbdc2c
ZW
3526 $(SHELL) $(srcdir)/../move-if-change tmp-$*.h insn-$*.h
3527 $(STAMP) s-$*
3528
3529$(simple_generated_c): insn-%.c: s-%; @true
1c7352cd
ZW
3530$(simple_generated_c:insn-%.c=s-%): s-%: build/gen%$(build_exeext) \
3531 $(MD_DEPS) insn-conditions.md
3532 $(RUN_GEN) build/gen$*$(build_exeext) $(md_file) \
3533 insn-conditions.md > tmp-$*.c
cbbbdc2c
ZW
3534 $(SHELL) $(srcdir)/../move-if-change tmp-$*.c insn-$*.c
3535 $(STAMP) s-$*
3536
6cba282a 3537generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \
21a495fb 3538 $(simple_generated_h) specs.h \
6cba282a
TT
3539 tree-check.h genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
3540 $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h
3541
3542# In order for parallel make to really start compiling the expensive
3543# objects from $(OBJS-common) as early as possible, build all their
3544# prerequisites strictly before all objects.
3545$(ALL_HOST_OBJS) : | $(generated_files)
3546
1c7352cd
ZW
3547# genconstants needs to run before insn-conditions.md is available
3548# (because the constants may be used in the conditions).
3549insn-constants.h: s-constants; @true
3550s-constants: build/genconstants$(build_exeext) $(MD_DEPS)
3551 $(RUN_GEN) build/genconstants$(build_exeext) $(md_file) \
3552 > tmp-constants.h
3553 $(SHELL) $(srcdir)/../move-if-change tmp-constants.h insn-constants.h
3554 $(STAMP) s-constants
3555
cbbbdc2c
ZW
3556# gencheck doesn't read the machine description, and the file produced
3557# doesn't use the insn-* convention.
3558tree-check.h: s-check ; @true
3559s-check : build/gencheck$(build_exeext)
3560 $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
3561 $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
3562 $(STAMP) s-check
2199e5fa 3563
1c7352cd 3564# gencondmd doesn't use the standard naming convention.
e980df8e 3565build/gencondmd.c: s-conditions; @true
1c7352cd
ZW
3566s-conditions: $(MD_DEPS) build/genconditions$(build_exeext)
3567 $(RUN_GEN) build/genconditions$(build_exeext) $(md_file) > tmp-condmd.c
e980df8e 3568 $(SHELL) $(srcdir)/../move-if-change tmp-condmd.c build/gencondmd.c
1c7352cd
ZW
3569 $(STAMP) s-conditions
3570
3571insn-conditions.md: s-condmd; @true
3572s-condmd: build/gencondmd$(build_exeext)
3573 $(RUN_GEN) build/gencondmd$(build_exeext) > tmp-cond.md
3574 $(SHELL) $(srcdir)/../move-if-change tmp-cond.md insn-conditions.md
3575 $(STAMP) s-condmd
3576
3577
cbbbdc2c
ZW
3578# These files are generated by running the same generator more than
3579# once with different options, so they have custom rules. The
3580# stampfile idiom is the same.
3581genrtl.c: s-genrtl; @true
3582genrtl.h: s-genrtl-h; @true
2199e5fa 3583
3b620440 3584s-genrtl: build/gengenrtl$(build_exeext)
3b620440 3585 $(RUN_GEN) build/gengenrtl$(build_exeext) > tmp-genrtl.c
88e3a2a3 3586 $(SHELL) $(srcdir)/../move-if-change tmp-genrtl.c genrtl.c
d9835ae8 3587 $(STAMP) s-genrtl
1b0c37d7 3588
cbbbdc2c
ZW
3589s-genrtl-h: build/gengenrtl$(build_exeext)
3590 $(RUN_GEN) build/gengenrtl$(build_exeext) -h > tmp-genrtl.h
3591 $(SHELL) $(srcdir)/../move-if-change tmp-genrtl.h genrtl.h
3592 $(STAMP) s-genrtl-h
3593
3594insn-modes.c: s-modes; @true
3595insn-modes.h: s-modes-h; @true
3596min-insn-modes.c: s-modes-m; @true
0974c7d7 3597
3b620440 3598s-modes: build/genmodes$(build_exeext)
cbbbdc2c
ZW
3599 $(RUN_GEN) build/genmodes$(build_exeext) > tmp-modes.c
3600 $(SHELL) $(srcdir)/../move-if-change tmp-modes.c insn-modes.c
3601 $(STAMP) s-modes
3602
3603s-modes-h: build/genmodes$(build_exeext)
3b620440 3604 $(RUN_GEN) build/genmodes$(build_exeext) -h > tmp-modes.h
88e3a2a3 3605 $(SHELL) $(srcdir)/../move-if-change tmp-modes.h insn-modes.h
cbbbdc2c
ZW
3606 $(STAMP) s-modes-h
3607
3608s-modes-m: build/genmodes$(build_exeext)
3b620440 3609 $(RUN_GEN) build/genmodes$(build_exeext) -m > tmp-min-modes.c
88e3a2a3 3610 $(SHELL) $(srcdir)/../move-if-change tmp-min-modes.c min-insn-modes.c
cbbbdc2c 3611 $(STAMP) s-modes-m
0974c7d7 3612
cbbbdc2c
ZW
3613insn-preds.c: s-preds; @true
3614tm-preds.h: s-preds-h; @true
279bb624 3615tm-constrs.h: s-constrs-h; @true
1b0c37d7 3616
26be549a 3617s-preds: $(MD_DEPS) build/genpreds$(build_exeext)
3b620440 3618 $(RUN_GEN) build/genpreds$(build_exeext) $(md_file) > tmp-preds.c
e543e219 3619 $(SHELL) $(srcdir)/../move-if-change tmp-preds.c insn-preds.c
1b0c37d7
ZW
3620 $(STAMP) s-preds
3621
cbbbdc2c
ZW
3622s-preds-h: $(MD_DEPS) build/genpreds$(build_exeext)
3623 $(RUN_GEN) build/genpreds$(build_exeext) -h $(md_file) > tmp-preds.h
3624 $(SHELL) $(srcdir)/../move-if-change tmp-preds.h tm-preds.h
3625 $(STAMP) s-preds-h
e543e219 3626
279bb624
DE
3627s-constrs-h: $(MD_DEPS) build/genpreds$(build_exeext)
3628 $(RUN_GEN) build/genpreds$(build_exeext) -c $(md_file) > tmp-constrs.h
3629 $(SHELL) $(srcdir)/../move-if-change tmp-constrs.h tm-constrs.h
3630 $(STAMP) s-constrs-h
3631
2d593c86 3632GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \
f4ce02c5 3633 $(srcdir)/vecprim.h $(srcdir)/vecir.h \
2d593c86 3634 $(host_xm_file_list) \
4f4e53dd 3635 $(tm_file_list) $(HASHTAB_H) $(SPLAY_TREE_H) $(srcdir)/bitmap.h \
4862826d 3636 $(srcdir)/alias.h $(srcdir)/coverage.c $(srcdir)/rtl.h \
b6feb796 3637 $(srcdir)/optabs.h $(srcdir)/tree.h $(srcdir)/libfuncs.h $(SYMTAB_H) \
69c32ec8 3638 $(srcdir)/real.h $(srcdir)/function.h $(srcdir)/insn-addr.h $(srcdir)/hwint.h \
1e1ba002 3639 $(srcdir)/fixed-value.h \
46c30019 3640 $(srcdir)/output.h $(srcdir)/cfgloop.h \
369451ec 3641 $(srcdir)/cselib.h $(srcdir)/basic-block.h $(srcdir)/ipa-ref.h $(srcdir)/cgraph.h \
78187f5a 3642 $(srcdir)/reload.h $(srcdir)/caller-save.c \
988d1653 3643 $(srcdir)/alias.c $(srcdir)/bitmap.c $(srcdir)/cselib.c $(srcdir)/cgraph.c \
43d861a5 3644 $(srcdir)/ipa-prop.c $(srcdir)/ipa-cp.c $(srcdir)/ipa-inline.c $(srcdir)/matrix-reorg.c \
e1dc98b2 3645 $(srcdir)/dbxout.c $(srcdir)/ipa-struct-reorg.c $(srcdir)/dwarf2out.c $(srcdir)/dwarf2asm.c \
726a989a 3646 $(srcdir)/tree-vect-generic.c \
11a67599 3647 $(srcdir)/dojump.c \
9994a182 3648 $(srcdir)/emit-rtl.c $(srcdir)/except.h $(srcdir)/explow.c $(srcdir)/expr.c \
aa331cc5 3649 $(srcdir)/expr.h \
9994a182 3650 $(srcdir)/function.c $(srcdir)/except.c \
e2500fed 3651 $(srcdir)/gcse.c $(srcdir)/integrate.c $(srcdir)/lists.c $(srcdir)/optabs.c \
2af2dbdc 3652 $(srcdir)/profile.c $(srcdir)/reginfo.c $(srcdir)/mcf.c \
aeceeb06 3653 $(srcdir)/reg-stack.c $(srcdir)/cfglayout.c $(srcdir)/cfglayout.h \
7efcb746 3654 $(srcdir)/sdbout.c $(srcdir)/stor-layout.c \
8a89dbd2 3655 $(srcdir)/stringpool.c $(srcdir)/tree.c $(srcdir)/varasm.c \
726a989a
RB
3656 $(srcdir)/gimple.h $(srcdir)/gimple.c \
3657 $(srcdir)/tree-mudflap.c $(srcdir)/tree-flow.h \
ac182688 3658 $(srcdir)/tree-ssanames.c $(srcdir)/tree-eh.c $(srcdir)/tree-ssa-address.c \
726a989a
RB
3659 $(srcdir)/tree-cfg.c \
3660 $(srcdir)/tree-dfa.c \
6de9cd9a 3661 $(srcdir)/tree-iterator.c $(srcdir)/gimplify.c \
726a989a
RB
3662 $(srcdir)/tree-chrec.h \
3663 $(srcdir)/tree-scalar-evolution.c \
456cde30 3664 $(srcdir)/tree-ssa-operands.h \
8a76829c 3665 $(srcdir)/tree-profile.c $(srcdir)/tree-nested.c \
726a989a
RB
3666 $(srcdir)/varpool.c \
3667 $(srcdir)/tree-parloops.c \
3668 $(srcdir)/omp-low.c \
7be82279 3669 $(srcdir)/targhooks.c $(out_file) $(srcdir)/passes.c $(srcdir)/cgraphunit.c \
726a989a
RB
3670 $(srcdir)/tree-ssa-propagate.c \
3671 $(srcdir)/tree-phinodes.c \
9187e02d 3672 $(srcdir)/tree-ssa-structalias.c \
d7f09764 3673 $(srcdir)/lto-symtab.c \
5006671f 3674 $(srcdir)/tree-ssa-alias.h \
fb3f88cc 3675 $(srcdir)/ipa-prop.h \
49ba8180 3676 $(srcdir)/lto-streamer.h \
e2500fed
GK
3677 @all_gtfiles@
3678
8de8de02
OH
3679# Compute the list of GT header files from the corresponding C sources,
3680# possibly nested within config or language subdirectories. Match gengtype's
3681# behavior in this respect: gt-LANG-file.h for "file" anywhere within a LANG
3682# language subdir, gt-file.h otherwise (no subdir indication for config/
3683# related sources).
3684
3685GTFILES_H = $(subst /,-, \
3686 $(shell echo $(patsubst $(srcdir)/%,gt-%, \
3687 $(patsubst %.c,%.h, \
3688 $(filter %.c, $(GTFILES)))) \
5cff8550 3689 | sed -e "s|/[^ ]*/|/|g" -e "s|gt-config/|gt-|g"))
11a67599
ZW
3690
3691GTFILES_LANG_H = $(patsubst [%], gtype-%.h, $(filter [%], $(GTFILES)))
3692ALL_GTFILES_H := $(sort $(GTFILES_H) $(GTFILES_LANG_H))
3693
3694# $(GTFILES) may be too long to put on a command line, so we have to
3695# write it out to a file (taking care not to do that in a way that
3696# overflows a command line!) and then have gengtype read the file in.
2f035a33 3697
11a67599
ZW
3698$(ALL_GTFILES_H) gtype-desc.c gtype-desc.h : s-gtype ; @true
3699
3700gtyp-input.list: s-gtyp-input ; @true
3701s-gtyp-input: Makefile
a4e4a2d6 3702 @: $(call write_entries_to_file,$(GTFILES),tmp-gi.list)
11a67599
ZW
3703 $(SHELL) $(srcdir)/../move-if-change tmp-gi.list gtyp-input.list
3704 $(STAMP) s-gtyp-input
3705
3706s-gtype: build/gengtype$(build_exeext) $(filter-out [%], $(GTFILES)) \
3707 gtyp-input.list
3708 $(RUN_GEN) build/gengtype$(build_exeext) $(srcdir) gtyp-input.list
e2500fed
GK
3709 $(STAMP) s-gtype
3710
544eb21e 3711#\f
cbbbdc2c 3712# How to compile object files to run on the build machine.
4b09846b 3713
e980df8e 3714build/%.o : # dependencies provided by explicit rule later
7980bfb8
ILT
3715 $(COMPILER_FOR_BUILD) -c $(BUILD_COMPILERFLAGS) $(BUILD_CPPFLAGS) \
3716 -o $@ $<
e980df8e
TT
3717
3718# Header dependencies for the programs that generate source code.
3719# These are library modules...
3720build/errors.o : errors.c $(BCONFIG_H) $(SYSTEM_H) errors.h
3721build/gensupport.o: gensupport.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
3722 $(GTM_H) $(RTL_BASE_H) $(OBSTACK_H) errors.h $(HASHTAB_H) \
3723 gensupport.h
3724build/ggc-none.o : ggc-none.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
3725 $(GGC_H)
3726build/min-insn-modes.o : min-insn-modes.c $(BCONFIG_H) $(SYSTEM_H) \
3727 $(MACHMODE_H)
3728build/print-rtl.o: print-rtl.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
3729 $(GTM_H) $(RTL_BASE_H)
3730build/read-rtl.o: read-rtl.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
3731 $(GTM_H) $(RTL_BASE_H) $(OBSTACK_H) $(HASHTAB_H) gensupport.h
3732build/rtl.o: rtl.c $(BCONFIG_H) coretypes.h $(GTM_H) $(SYSTEM_H) \
40013784 3733 $(RTL_H) $(GGC_H) errors.h
e980df8e 3734build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h vec.h \
aa14403d 3735 $(GGC_H) $(TOPLEV_H)
e980df8e
TT
3736build/gencondmd.o : build/gencondmd.c $(BCONFIG_H) $(SYSTEM_H) \
3737 coretypes.h $(GTM_H) insn-constants.h $(RTL_H) $(TM_P_H) \
40013784 3738 $(FUNCTION_H) $(REGS_H) $(RECOG_H) output.h $(FLAGS_H) \
a8da523f 3739 $(RESOURCE_H) $(TOPLEV_H) reload.h $(EXCEPT_H) tm-constrs.h
0b50988a
EB
3740# This pulls in tm-pred.h which contains inline functions wrapping up
3741# predicates from the back-end so those functions must be discarded.
3742# No big deal since gencondmd.c is a dummy file for non-GCC compilers.
3743build/gencondmd.o : \
3744 BUILD_CFLAGS := $(filter-out -fkeep-inline-functions, $(BUILD_CFLAGS))
4977bab6 3745
e980df8e
TT
3746# ...these are the programs themselves.
3747build/genattr.o : genattr.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3748 coretypes.h $(GTM_H) errors.h gensupport.h
3749build/genattrtab.o : genattrtab.c $(RTL_BASE_H) $(OBSTACK_H) \
3750 $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) errors.h $(GGC_H) \
3751 gensupport.h
3752build/genautomata.o : genautomata.c $(RTL_BASE_H) $(OBSTACK_H) \
3753 $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) errors.h vec.h \
3754 $(HASHTAB_H) gensupport.h
bfefafc6 3755build/gencheck.o : gencheck.c all-tree.def $(BCONFIG_H) $(GTM_H) \
726a989a 3756 $(SYSTEM_H) coretypes.h $(lang_tree_files) gimple.def
e980df8e
TT
3757build/genchecksum.o : genchecksum.c $(BCONFIG_H) $(SYSTEM_H) $(MD5_H)
3758build/gencodes.o : gencodes.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3759 coretypes.h $(GTM_H) errors.h gensupport.h
3760build/genconditions.o : genconditions.c $(RTL_BASE_H) $(BCONFIG_H) \
3761 $(SYSTEM_H) coretypes.h $(GTM_H) errors.h
3762build/genconfig.o : genconfig.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3763 coretypes.h $(GTM_H) errors.h gensupport.h
3764build/genconstants.o : genconstants.c $(RTL_BASE_H) $(BCONFIG_H) \
3765 $(SYSTEM_H) coretypes.h $(GTM_H) errors.h
3766build/genemit.o : genemit.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3767 coretypes.h $(GTM_H) errors.h gensupport.h
3768build/genextract.o : genextract.c $(RTL_BASE_H) $(BCONFIG_H) \
3769 $(SYSTEM_H) coretypes.h $(GTM_H) errors.h gensupport.h vecprim.h
3770build/genflags.o : genflags.c $(RTL_BASE_H) $(OBSTACK_H) $(BCONFIG_H) \
3771 $(SYSTEM_H) coretypes.h $(GTM_H) errors.h gensupport.h
3772build/gengenrtl.o : gengenrtl.c $(BCONFIG_H) $(SYSTEM_H) rtl.def
3773build/gengtype-lex.o : gengtype-lex.c gengtype.h $(BCONFIG_H) $(SYSTEM_H)
3774build/gengtype-parse.o : gengtype-parse.c gengtype.h $(BCONFIG_H) \
3775 $(SYSTEM_H)
3776build/gengtype.o : gengtype.c $(BCONFIG_H) $(SYSTEM_H) gengtype.h \
0277fabf 3777 rtl.def insn-notes.def errors.h double-int.h $(HASHTAB_H)
e980df8e
TT
3778build/genmddeps.o: genmddeps.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
3779 $(GTM_H) $(RTL_BASE_H) errors.h gensupport.h
3780build/genmodes.o : genmodes.c $(BCONFIG_H) $(SYSTEM_H) errors.h \
3781 $(HASHTAB_H) machmode.def $(extra_modes_file)
3782build/genopinit.o : genopinit.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3783 coretypes.h $(GTM_H) errors.h gensupport.h
3784build/genoutput.o : genoutput.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3785 coretypes.h $(GTM_H) errors.h gensupport.h
3786build/genpeep.o : genpeep.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
aa14403d 3787 coretypes.h $(GTM_H) errors.h gensupport.h $(TOPLEV_H)
e980df8e
TT
3788build/genpreds.o : genpreds.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3789 coretypes.h $(GTM_H) errors.h gensupport.h $(OBSTACK_H)
3790build/genrecog.o : genrecog.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3791 coretypes.h $(GTM_H) errors.h gensupport.h
3792
cbbbdc2c 3793# Compile the programs that generate insn-* from the machine description.
7980bfb8 3794# They are compiled with $(COMPILER_FOR_BUILD), and associated libraries,
cbbbdc2c
ZW
3795# since they need to run on this machine
3796# even if GCC is being compiled to run on some other machine.
1b0c37d7 3797
cbbbdc2c
ZW
3798# As a general rule...
3799build/gen%$(build_exeext): build/gen%.o $(BUILD_LIBDEPS)
c607156f 3800 $(LINKER_FOR_BUILD) $(BUILD_LINKERFLAGS) $(BUILD_LDFLAGS) -o $@ \
cbbbdc2c 3801 $(filter-out $(BUILD_LIBDEPS), $^) $(BUILD_LIBS)
1b0c37d7 3802
0458fe77 3803# All these programs use the MD reader ($(BUILD_RTL)).
8c94f366
ZW
3804genprogmd = attr attrtab automata codes conditions config constants emit \
3805 extract flags mddeps opinit output peep preds recog
0458fe77 3806$(genprogmd:%=build/gen%$(build_exeext)): $(BUILD_RTL) $(BUILD_ERRORS)
1c7352cd 3807
0b50988a 3808# These programs need libs over and above what they get from the above list.
8c94f366 3809build/genautomata$(build_exeext) : BUILD_LIBS += -lm
d5706a1e 3810
0458fe77 3811# These programs are not linked with the MD reader.
cbbbdc2c
ZW
3812build/gengenrtl$(build_exeext) : $(BUILD_ERRORS)
3813build/genmodes$(build_exeext) : $(BUILD_ERRORS)
01d419ae
ZW
3814build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \
3815 $(BUILD_ERRORS)
e2500fed 3816
cbbbdc2c 3817# Generated source files for gengtype.
03787dfd
KC
3818gengtype-lex.c : gengtype-lex.l
3819 -$(FLEX) $(FLEXFLAGS) -o$@ $<
fae15c93 3820
e980df8e
TT
3821#\f
3822# Remake internationalization support.
3823intl.o: intl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h Makefile
7980bfb8 3824 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
3825 -DLOCALEDIR=\"$(localedir)\" \
3826 -c $(srcdir)/intl.c $(OUTPUT_OPTION)
3827
544eb21e 3828#\f
52c0e446 3829# Remake cpp.
79d8453e 3830
d059a239
FF
3831PREPROCESSOR_DEFINES = \
3832 -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
f686ec05 3833 -DFIXED_INCLUDE_DIR=\"$(libsubdir)/include-fixed\" \
d059a239 3834 -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
caa55b1e 3835 -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \
98c2359b 3836 -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
793e9558 3837 -DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \
4977bab6 3838 -DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \
047d636f 3839 -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \
925af765
RS
3840 -DPREFIX=\"$(prefix)/\" \
3841 -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
047d636f 3842 @TARGET_SYSTEM_ROOT_DEFINE@
79d8453e 3843
e980df8e
TT
3844cppdefault.o: cppdefault.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3845 cppdefault.h Makefile
7980bfb8 3846 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
e980df8e
TT
3847 $(PREPROCESSOR_DEFINES) \
3848 -c $(srcdir)/cppdefault.c $(OUTPUT_OPTION)
3849
7bd95cc1
BK
3850# Note for the stamp targets, we run the program `true' instead of
3851# having an empty command (nothing following the semicolon).
3852
e980df8e
TT
3853# gcov-iov.c is run on the build machine to generate gcov-iov.h from version.c
3854build/gcov-iov.o: gcov-iov.c $(BCONFIG_H) coretypes.h $(GTM_H) \
3855 $(SYSTEM_H) coretypes.h $(TM_H)
3856
3b620440 3857build/gcov-iov$(build_exeext): build/gcov-iov.o
c607156f 3858 $(LINKER_FOR_BUILD) $(BUILD_LINKERFLAGS) $(BUILD_LDFLAGS) \
7980bfb8 3859 build/gcov-iov.o -o $@
3b620440 3860
28068c2c 3861gcov-iov.h: s-iov
a1286ef5
ZW
3862s-iov: build/gcov-iov$(build_exeext) $(BASEVER) $(DEVPHASE)
3863 build/gcov-iov$(build_exeext) '$(BASEVER_c)' '$(DEVPHASE_c)' \
3864 > tmp-gcov-iov.h
88e3a2a3 3865 $(SHELL) $(srcdir)/../move-if-change tmp-gcov-iov.h gcov-iov.h
28068c2c 3866 $(STAMP) s-iov
4977bab6 3867
e980df8e
TT
3868gcov.o: gcov.c gcov-io.c $(GCOV_IO_H) intl.h $(SYSTEM_H) coretypes.h $(TM_H) \
3869 $(CONFIG_H) version.h
3870gcov-dump.o: gcov-dump.c gcov-io.c $(GCOV_IO_H) $(SYSTEM_H) coretypes.h \
e63ea00c 3871 $(TM_H) $(CONFIG_H) version.h
e980df8e 3872
b3d1f5b4 3873GCOV_OBJS = gcov.o intl.o version.o errors.o
ab87f8c8 3874gcov$(exeext): $(GCOV_OBJS) $(LIBDEPS)
c607156f 3875 $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_OBJS) $(LIBS) -o $@
b3d1f5b4 3876GCOV_DUMP_OBJS = gcov-dump.o version.o errors.o
4977bab6 3877gcov-dump$(exeext): $(GCOV_DUMP_OBJS) $(LIBDEPS)
c607156f 3878 $(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_DUMP_OBJS) \
7980bfb8 3879 $(LIBS) -o $@
544eb21e 3880#\f
f686ec05 3881# Build the include directories. The stamp files are stmp-* rather than
e5e809f4 3882# s-* so that mostlyclean does not force the include directory to
ba1811f1
ILT
3883# be rebuilt.
3884
f686ec05 3885# Build the include directories.
d6aec9aa 3886stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list
ba1811f1
ILT
3887# Copy in the headers provided with gcc.
3888# The sed command gets just the last file name component;
3889# this is necessary because VPATH could add a dirname.
3890# Using basename would be simpler, but some systems don't have it.
c85f7c16 3891# The touch command is here to workaround an AIX/Linux NFS bug.
7bfe3c97 3892 -if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
f686ec05 3893 -if [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx include-fixed; fi
d7371761
RK
3894 for file in .. $(USER_H); do \
3895 if [ X$$file != X.. ]; then \
3896 realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
d9835ae8 3897 $(STAMP) include/$$realfile; \
ae678a13
JW
3898 rm -f include/$$realfile; \
3899 cp $$file include; \
3900 chmod a+r include/$$realfile; \
d7371761 3901 fi; \
ba1811f1 3902 done
778f0e89 3903 rm -f include/unwind.h
617a1b71 3904 cp $(UNWIND_H) include/unwind.h
1d9edd01 3905 chmod a+r include/unwind.h
207bf79d
JM
3906 rm -f include/stdint.h
3907 if [ $(USE_GCC_STDINT) = wrap ]; then \
3908 rm -f include/stdint-gcc.h; \
3909 cp $(srcdir)/ginclude/stdint-gcc.h include/stdint-gcc.h; \
1d9edd01 3910 chmod a+r include/stdint-gcc.h; \
207bf79d 3911 cp $(srcdir)/ginclude/stdint-wrap.h include/stdint.h; \
c8c520dd 3912 chmod a+r include/stdint.h; \
207bf79d
JM
3913 elif [ $(USE_GCC_STDINT) = provide ]; then \
3914 cp $(srcdir)/ginclude/stdint-gcc.h include/stdint.h; \
c8c520dd 3915 chmod a+r include/stdint.h; \
207bf79d 3916 fi
14da6073
JM
3917 set -e; for ml in `cat fixinc_list`; do \
3918 sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
3919 multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
3920 fix_dir=include-fixed$${multi_dir}; \
3921 if $(LIMITS_H_TEST) ; then \
3922 cat $(srcdir)/limitx.h $(srcdir)/glimits.h $(srcdir)/limity.h > tmp-xlimits.h; \
3923 else \
3924 cat $(srcdir)/glimits.h > tmp-xlimits.h; \
3925 fi; \
3926 $(mkinstalldirs) $${fix_dir}; \
3927 chmod a+rx $${fix_dir} || true; \
3928 rm -f $${fix_dir}/limits.h; \
3929 mv tmp-xlimits.h $${fix_dir}/limits.h; \
3930 chmod a+r $${fix_dir}/limits.h; \
3931 done
e7f62ad3 3932# Install the README
f686ec05
JM
3933 rm -f include-fixed/README
3934 cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
3935 chmod a+r include-fixed/README
d9835ae8 3936 $(STAMP) $@
e7f62ad3 3937
4977bab6
ZW
3938.PHONY: install-gcc-tooldir
3939install-gcc-tooldir:
947c6b00 3940 $(mkinstalldirs) $(DESTDIR)$(gcc_tooldir)
4977bab6 3941
5cd37749 3942macro_list: s-macro_list; @true
d3dc619d 3943s-macro_list : $(GCC_PASSES)
53c7ffe7 3944 echo | $(GCC_FOR_TARGET) -E -dM - | \
8160ab35
MK
3945 sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
3946 -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
5cd37749
JG
3947 sort -u > tmp-macro_list
3948 $(SHELL) $(srcdir)/../move-if-change tmp-macro_list macro_list
3949 $(STAMP) s-macro_list
53c7ffe7 3950
14da6073
JM
3951fixinc_list: s-fixinc_list; @true
3952s-fixinc_list : $(GCC_PASSES)
3953# Build up a list of multilib directories and corresponding sysroot
3954# suffixes, in form sysroot;multilib.
3955 if $(GCC_FOR_TARGET) -print-sysroot-headers-suffix > /dev/null 2>&1; then \
3956 set -e; for ml in `$(GCC_FOR_TARGET) -print-multi-lib`; do \
3957 multi_dir=`echo $${ml} | sed -e 's/;.*$$//'`; \
3958 flags=`echo $${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
3959 sfx=`$(GCC_FOR_TARGET) $${flags} -print-sysroot-headers-suffix`; \
3960 if [ "$${multi_dir}" = "." ]; \
3961 then multi_dir=""; \
3962 else \
3963 multi_dir=/$${multi_dir}; \
3964 fi; \
3965 echo "$${sfx};$${multi_dir}"; \
3966 done; \
3967 else \
3968 echo ";"; \
3969 fi > tmp-fixinc_list
3970 $(SHELL) $(srcdir)/../move-if-change tmp-fixinc_list fixinc_list
3971 $(STAMP) s-fixinc_list
3972
144023ad
AO
3973# The line below is supposed to avoid accidentally matching the
3974# built-in suffix rule `.o:' to build fixincl out of fixincl.o. You'd
3975# expect fixincl to be newer than fixincl.o, such that this situation
3976# would never come up. As it turns out, if you use ccache with
3977# CCACHE_HARDLINK enabled, the compiler doesn't embed the current
3978# working directory in object files (-g absent, or -fno-working-dir
3979# present), and build and host are the same, fixincl for the host will
3980# build after fixincl for the build machine, getting a cache hit,
a4d05547 3981# thereby updating the timestamp of fixincl.o in the host tree.
144023ad
AO
3982# Because of CCACHE_HARDLINK, this will also update the timestamp in
3983# the build tree, and so fixincl in the build tree will appear to be
3984# out of date. Yuck.
3985../$(build_subdir)/fixincludes/fixincl: ; @ :
3986
ba1811f1 3987# Build fixed copies of system files.
be448346
BS
3988# Abort if no system headers available, unless building a crosscompiler.
3989# FIXME: abort unless building --without-headers would be more accurate and less ugly
14da6073 3990stmp-fixinc: gsyslimits.h macro_list fixinc_list \
215c351a
PB
3991 $(build_objdir)/fixincludes/fixincl \
3992 $(build_objdir)/fixincludes/fixinc.sh
f686ec05
JM
3993 rm -rf include-fixed; mkdir include-fixed
3994 -chmod a+rx include-fixed
cc11cc9b
PB
3995 if [ -d ../prev-gcc ]; then \
3996 cd ../prev-gcc && \
9fb03bd8 3997 $(MAKE) real-$(INSTALL_HEADERS_DIR) DESTDIR=`pwd`/../gcc/ \
cc11cc9b 3998 libsubdir=. ; \
3dc4a939 3999 else \
14da6073
JM
4000 set -e; for ml in `cat fixinc_list`; do \
4001 sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
4002 multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
4003 fix_dir=include-fixed$${multi_dir}; \
4004 if ! $(inhibit_libc) && test ! -d ${SYSTEM_HEADER_DIR}; then \
4005 echo The directory that should contain system headers does not exist: >&2 ; \
4006 echo " ${SYSTEM_HEADER_DIR}" >&2 ; \
4007 tooldir_sysinc=`echo "${gcc_tooldir}/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \
4008 if test "x${SYSTEM_HEADER_DIR}" = "x$${tooldir_sysinc}"; \
4009 then sleep 1; else exit 1; fi; \
4010 fi; \
4011 $(mkinstalldirs) $${fix_dir}; \
4012 chmod a+rx $${fix_dir} || true; \
4013 (TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \
4014 SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
1d93c860 4015 gcc_dir=`${PWD_COMMAND}` ; \
14da6073
JM
4016 export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
4017 cd $(build_objdir)/fixincludes && \
1d93c860 4018 $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
14da6073
JM
4019 $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
4020 rm -f $${fix_dir}/syslimits.h; \
4021 if [ -f $${fix_dir}/limits.h ]; then \
4022 mv $${fix_dir}/limits.h $${fix_dir}/syslimits.h; \
4023 else \
4024 cp $(srcdir)/gsyslimits.h $${fix_dir}/syslimits.h; \
4025 fi; \
4026 chmod a+r $${fix_dir}/syslimits.h; \
4027 done; \
53c7ffe7 4028 fi
d9835ae8 4029 $(STAMP) stmp-fixinc
544eb21e 4030#\f
79d8453e
RS
4031# Remake the info files.
4032
51817b10 4033doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug
a541f69d
KC
4034
4035INFOFILES = doc/cpp.info doc/gcc.info doc/gccint.info \
4036 doc/gccinstall.info doc/cppinternals.info
4037
4038info: $(INFOFILES) lang.info @GENINSRC@ srcinfo lang.srcinfo
4039
4040srcinfo: $(INFOFILES)
4041 -cp -p $^ $(srcdir)/doc
65455962 4042
a1286ef5
ZW
4043TEXI_CPP_FILES = cpp.texi fdl.texi cppenv.texi cppopts.texi \
4044 gcc-common.texi gcc-vers.texi
65455962 4045
a1286ef5
ZW
4046TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \
4047 standards.texi invoke.texi extend.texi md.texi objc.texi \
4048 gcov.texi trouble.texi bugreport.texi service.texi \
7f9766e4 4049 contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi \
a1286ef5 4050 fdl.texi contrib.texi cppenv.texi cppopts.texi \
c32097d8 4051 implement-c.texi implement-cxx.texi arm-neon-intrinsics.texi
65455962 4052
a1286ef5
ZW
4053TEXI_GCCINT_FILES = gccint.texi gcc-common.texi gcc-vers.texi \
4054 contribute.texi makefile.texi configterms.texi options.texi \
929769f4 4055 portability.texi interface.texi passes.texi \
a1286ef5
ZW
4056 rtl.texi md.texi tm.texi hostconfig.texi fragments.texi \
4057 configfiles.texi collect2.texi headerdirs.texi funding.texi \
7f9766e4 4058 gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi \
01e0ef5a 4059 sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi \
fb201767 4060 loop.texi generic.texi gimple.texi plugins.texi
65455962 4061
e5fc6da8 4062TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi \
3b4ed48b 4063 gcc-common.texi gcc-vers.texi
65455962 4064
a1286ef5
ZW
4065TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
4066
4067# gcc-vers.texi is generated from the version files.
4068gcc-vers.texi: $(BASEVER) $(DEVPHASE)
4069 (echo "@set version-GCC $(BASEVER_c)"; \
4070 if [ "$(DEVPHASE_c)" = "experimental" ]; \
4071 then echo "@set DEVELOPMENT"; \
4072 else echo "@clear DEVELOPMENT"; \
4073 fi) > $@T
a0e527e3 4074 $(build_file_translate) echo @set srcdir $(abs_srcdir) >> $@T
2f41c1d6
PB
4075 if [ -n "$(PKGVERSION)" ]; then \
4076 echo "@set VERSION_PACKAGE $(PKGVERSION)" >> $@T; \
4077 fi
4078 echo "@set BUGURL $(BUGURL_TEXI)" >> $@T; \
a1286ef5
ZW
4079 mv -f $@T $@
4080
65455962 4081
b5422ad7 4082# The *.1, *.7, *.info, *.dvi, and *.pdf files are being generated from implicit
cb7c0b5a 4083# patterns. To use them, put each of the specific targets with its
65455962 4084# specific dependencies but no build commands.
e2500fed 4085
a541f69d
KC
4086doc/cpp.info: $(TEXI_CPP_FILES)
4087doc/gcc.info: $(TEXI_GCC_FILES)
4088doc/gccint.info: $(TEXI_GCCINT_FILES)
4089doc/cppinternals.info: $(TEXI_CPPINT_FILES)
d7f8491b 4090
a541f69d 4091doc/%.info: %.texi
1f9b3087 4092 if [ x$(BUILD_INFO) = xinfo ]; then \
ad3a7ce3
CD
4093 $(MAKEINFO) $(MAKEINFOFLAGS) -I . -I $(gcc_docdir) \
4094 -I $(gcc_docdir)/include -o $@ $<; \
1f9b3087 4095 fi
23de1fbf 4096
63069342 4097# Duplicate entry to handle renaming of gccinstall.info
a541f69d 4098doc/gccinstall.info: $(TEXI_GCCINSTALL_FILES)
63069342 4099 if [ x$(BUILD_INFO) = xinfo ]; then \
ad3a7ce3
CD
4100 $(MAKEINFO) $(MAKEINFOFLAGS) -I $(gcc_docdir) \
4101 -I $(gcc_docdir)/include -o $@ $<; \
63069342
KC
4102 fi
4103
a541f69d
KC
4104doc/cpp.dvi: $(TEXI_CPP_FILES)
4105doc/gcc.dvi: $(TEXI_GCC_FILES)
4106doc/gccint.dvi: $(TEXI_GCCINT_FILES)
4107doc/cppinternals.dvi: $(TEXI_CPPINT_FILES)
63069342 4108
b5422ad7
BM
4109doc/cpp.pdf: $(TEXI_CPP_FILES)
4110doc/gcc.pdf: $(TEXI_GCC_FILES)
4111doc/gccint.pdf: $(TEXI_GCCINT_FILES)
4112doc/cppinternals.pdf: $(TEXI_CPPINT_FILES)
4113
22482f74
MS
4114$(build_htmldir)/cpp/index.html: $(TEXI_CPP_FILES)
4115$(build_htmldir)/gcc/index.html: $(TEXI_GCC_FILES)
4116$(build_htmldir)/gccint/index.html: $(TEXI_GCCINT_FILES)
4117$(build_htmldir)/cppinternals/index.html: $(TEXI_CPPINT_FILES)
9d65c5cb 4118
a541f69d 4119dvi:: doc/gcc.dvi doc/gccint.dvi doc/gccinstall.dvi doc/cpp.dvi \
dedfa466 4120 doc/cppinternals.dvi lang.dvi
8dbda01e 4121
a541f69d 4122doc/%.dvi: %.texi
a1286ef5 4123 $(TEXI2DVI) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
95e30ecc 4124
63069342 4125# Duplicate entry to handle renaming of gccinstall.dvi
a541f69d 4126doc/gccinstall.dvi: $(TEXI_GCCINSTALL_FILES)
a1286ef5 4127 $(TEXI2DVI) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
d7f8491b 4128
bcc3d150
BM
4129PDFFILES = doc/gcc.pdf doc/gccint.pdf doc/gccinstall.pdf doc/cpp.pdf \
4130 doc/cppinternals.pdf
4131
4132pdf:: $(PDFFILES) lang.pdf
b5422ad7
BM
4133
4134doc/%.pdf: %.texi
4135 $(TEXI2PDF) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
4136
4137# Duplicate entry to handle renaming of gccinstall.pdf
4138doc/gccinstall.pdf: $(TEXI_GCCINSTALL_FILES)
4139 $(TEXI2PDF) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
4140
9288b845
CD
4141# List the directories or single hmtl files which are installed by
4142# install-html. The lang.html file triggers language fragments to build
55bcd32b 4143# html documentation.
9288b845
CD
4144HTMLS_INSTALL=$(build_htmldir)/cpp $(build_htmldir)/gcc \
4145 $(build_htmldir)/gccinstall $(build_htmldir)/gccint \
4146 $(build_htmldir)/cppinternals
4147
4148# List the html file targets.
4149HTMLS_BUILD=$(build_htmldir)/cpp/index.html $(build_htmldir)/gcc/index.html \
22482f74
MS
4150 $(build_htmldir)/gccinstall/index.html $(build_htmldir)/gccint/index.html \
4151 $(build_htmldir)/cppinternals/index.html lang.html
9d65c5cb 4152
9288b845 4153html:: $(HTMLS_BUILD)
22482f74
MS
4154
4155$(build_htmldir)/%/index.html: %.texi
9d65c5cb
MS
4156 $(mkinstalldirs) $(@D)
4157 rm -f $(@D)/*
4158 $(TEXI2HTML) -I $(abs_docdir) -I $(abs_docdir)/include -o $(@D) $<
4159
4160# Duplicate entry to handle renaming of gccinstall
22482f74 4161$(build_htmldir)/gccinstall/index.html: $(TEXI_GCCINSTALL_FILES)
9d65c5cb
MS
4162 $(mkinstalldirs) $(@D)
4163 echo rm -f $(@D)/*
a1e6d1ce
MLI
4164 SOURCEDIR=$(abs_docdir) \
4165 DESTDIR=$(@D) \
4166 $(SHELL) $(srcdir)/doc/install.texi2html
9d65c5cb 4167
a541f69d
KC
4168MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1 doc/gfdl.7 doc/gpl.7 doc/fsf-funding.7
4169
5340bbea 4170generated-manpages: man
ce5c1cf3
KC
4171
4172man: $(MANFILES) lang.man @GENINSRC@ srcman lang.srcman
a541f69d
KC
4173
4174srcman: $(MANFILES)
4175 -cp -p $^ $(srcdir)/doc
c01a508e 4176
a541f69d 4177doc/%.1: %.pod
6280c439 4178 $(STAMP) $@
65455962 4179 -($(POD2MAN) --section=1 $< > $(@).T$$$$ && \
6280c439
MM
4180 mv -f $(@).T$$$$ $@) || \
4181 (rm -f $(@).T$$$$ && exit 1)
6280c439 4182
a541f69d 4183doc/%.7: %.pod
6280c439 4184 $(STAMP) $@
65455962 4185 -($(POD2MAN) --section=7 $< > $(@).T$$$$ && \
6280c439
MM
4186 mv -f $(@).T$$$$ $@) || \
4187 (rm -f $(@).T$$$$ && exit 1)
65455962
KC
4188
4189%.pod: %.texi
4190 $(STAMP) $@
2f41c1d6 4191 -$(TEXI2POD) -DBUGURL="$(BUGURL_TEXI)" $< > $@
65455962
KC
4192
4193.INTERMEDIATE: cpp.pod gcc.pod gfdl.pod fsf-funding.pod
4194cpp.pod: cpp.texi cppenv.texi cppopts.texi
4195
4196# These next rules exist because the output name is not the same as
cb7c0b5a 4197# the input name, so our implicit %.pod rule will not work.
65455962 4198
4db19cc7 4199gcc.pod: invoke.texi cppenv.texi cppopts.texi gcc-vers.texi
65455962
KC
4200 $(STAMP) $@
4201 -$(TEXI2POD) $< > $@
4202gfdl.pod: fdl.texi
4203 $(STAMP) $@
4204 -$(TEXI2POD) $< > $@
4205fsf-funding.pod: funding.texi
4206 $(STAMP) $@
4207 -$(TEXI2POD) $< > $@
7f9766e4
JM
4208gpl.pod: gpl_v3.texi
4209 $(STAMP) $@
4210 -$(TEXI2POD) $< > $@
77bd67cb 4211
544eb21e 4212#\f
79d8453e
RS
4213# Deletion of files made during compilation.
4214# There are four levels of this:
f1908d70 4215# `mostlyclean', `clean', `distclean' and `maintainer-clean'.
79d8453e 4216# `mostlyclean' is useful while working on a particular type of machine.
2e494f70 4217# It deletes most, but not all, of the files made by compilation.
79d8453e 4218# It does not delete libgcc.a or its parts, so it won't have to be recompiled.
2e494f70 4219# `clean' deletes everything made by running `make all'.
47547081 4220# `distclean' also deletes the files made by config.
f1908d70 4221# `maintainer-clean' also deletes everything that could be regenerated
63d9b81c
RK
4222# automatically, except for `configure'.
4223# We remove as much from the language subdirectories as we can
013a2ee0 4224# (less duplicated code).
79d8453e 4225
6eb95e99 4226mostlyclean: lang.mostlyclean
8b1f719a 4227 -rm -f $(MOSTLYCLEANFILES)
66a82a79 4228 -rm -f *$(objext)
22aa533e 4229 -rm -f *$(coverageexts)
3b620440
KC
4230# Delete build programs
4231 -rm -f build/*
26be549a 4232 -rm -f mddeps.mk
e5e809f4 4233# Delete other built files.
c0ed0531 4234 -rm -f specs.h options.c options.h
e5e809f4
JL
4235# Delete the stamp and temporary files.
4236 -rm -f s-* tmp-* stamp-* stmp-*
013a2ee0 4237 -rm -f */stamp-* */tmp-*
2e494f70 4238# Delete debugging dump files.
61098249 4239 -rm -f *.[0-9][0-9].* */*.[0-9][0-9].*
2e494f70 4240# Delete some files made during installation.
52c0e446 4241 -rm -f specs $(SPECS)
b548dffb 4242 -rm -f collect collect2 mips-tfile mips-tdump
2e494f70
RS
4243# Delete unwanted output files from TeX.
4244 -rm -f *.toc *.log *.vr *.fn *.cp *.tp *.ky *.pg
013a2ee0 4245 -rm -f */*.toc */*.log */*.vr */*.fn */*.cp */*.tp */*.ky */*.pg
47547081
RS
4246# Delete sorted indices we don't actually use.
4247 -rm -f gcc.vrs gcc.kys gcc.tps gcc.pgs gcc.fns
2e494f70 4248# Delete core dumps.
013a2ee0 4249 -rm -f core */core
11a67599
ZW
4250# Delete file generated for gengtype
4251 -rm -f gtyp-input.list
8ac9d31f
TJ
4252# Delete files generated by gengtype.c
4253 -rm -f gtype-*
4254 -rm -f gt-*
3fd30b88
GK
4255# Delete genchecksum outputs
4256 -rm -f *-checksum.c
79d8453e 4257
47547081
RS
4258# Delete all files made by compilation
4259# that don't exist in the distribution.
6eb95e99 4260clean: mostlyclean lang.clean
23af32e6 4261 -rm -f libgcc.a libgcc_eh.a libgcov.a
3b415018 4262 -rm -f libgcc_s*
443728bb 4263 -rm -f libunwind*
4977bab6 4264 -rm -f config.h tconfig.h bconfig.h tm_p.h tm.h
776dc15d 4265 -rm -f options.c options.h optionlist
11642c3a 4266 -rm -f cs-*
a541f69d 4267 -rm -f doc/*.dvi
b5422ad7 4268 -rm -f doc/*.pdf
14da6073
JM
4269# Delete the include directories.
4270 -rm -rf include include-fixed
75ed5d8b 4271# Delete files used by the "multilib" facility (including libgcc subdirs).
f6cdc7ea 4272 -rm -f multilib.h tmpmultilib*
75ed5d8b
DE
4273 -if [ "x$(MULTILIB_DIRNAMES)" != x ] ; then \
4274 rm -rf $(MULTILIB_DIRNAMES); \
4275 else if [ "x$(MULTILIB_OPTIONS)" != x ] ; then \
4276 rm -rf `echo $(MULTILIB_OPTIONS) | sed -e 's/\// /g'`; \
4277 fi ; fi
79d8453e 4278
47547081
RS
4279# Delete all files that users would normally create
4280# while building and installing GCC.
6eb95e99 4281distclean: clean lang.distclean
11642c3a 4282 -rm -f auto-host.h auto-build.h
d1209685 4283 -rm -f cstamp-h
63d9b81c 4284 -rm -f config.status config.run config.cache config.bak
d232dfa4 4285 -rm -f Make-lang Make-hooks Make-host Make-target
ad854f24 4286 -rm -f Makefile *.oaux
f24af81b 4287 -rm -f gthr-default.h
27bf414c 4288 -rm -f TAGS */TAGS
338023d4 4289 -rm -f *.asm
a051ad3a 4290 -rm -f site.exp site.bak testsuite/site.exp testsuite/site.bak
ad854f24 4291 -rm -f testsuite/*.log testsuite/*.sum
1bb1f121 4292 -cd testsuite && rm -f x *.x *.x? *.exe *.rpo *.o *.s *.S *.c
4977bab6 4293 -cd testsuite && rm -f *.out *.gcov *$(coverageexts)
f362c762 4294 -rm -rf ${QMTEST_DIR} stamp-qmtest
06f0b04c 4295 -rm -f cxxmain.c
fa958513 4296 -rm -f gccbug .gdbinit configargs.h
c01a508e 4297 -rm -f gcov.pod
ad854f24
ZW
4298# Delete po/*.gmo only if we are not building in the source directory.
4299 -if [ ! -f po/exgettext ]; then rm -f po/*.gmo; fi
4adbd5dd 4300 -rmdir ada cp f java objc intl po testsuite plugin 2>/dev/null
2e494f70 4301
63d9b81c 4302# Get rid of every file that's generated from some other file, except for `configure'.
79d8453e 4303# Most of these files ARE PRESENT in the GCC distribution.
63d9b81c
RK
4304maintainer-clean:
4305 @echo 'This command is intended for maintainers to use; it'
4306 @echo 'deletes files that may need special tools to rebuild.'
6eb95e99 4307 $(MAKE) lang.maintainer-clean distclean
17db6582
JM
4308 -rm -f cpp.??s cpp.*aux
4309 -rm -f gcc.??s gcc.*aux
b5422ad7 4310 -rm -f $(gcc_docdir)/*.info $(gcc_docdir)/*.1 $(gcc_docdir)/*.7 $(gcc_docdir)/*.dvi $(gcc_docdir)/*.pdf
544eb21e 4311#\f
79d8453e 4312# Entry points `install' and `uninstall'.
2e494f70 4313# Also use `install-collect2' to install collect2 when the config files don't.
79d8453e 4314
ba1811f1 4315# Copy the compiler files into directories where they will be run.
aab26e16
RK
4316# Install the driver last so that the window when things are
4317# broken is small.
fa958513 4318install: install-common $(INSTALL_HEADERS) \
6eb95e99 4319 install-cpp install-man install-info install-@POSUB@ \
d7f09764 4320 install-driver install-lto-wrapper
79d8453e 4321
bf016de8
RAE
4322ifeq ($(enable_plugin),yes)
4323install: install-plugin
4324endif
4325
587a4ba6 4326# Handle cpp installation.
47b528da 4327install-cpp: installdirs cpp$(exeext)
439020ec
KC
4328 -rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
4329 -$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
4330 -if [ x$(cpp_install_dir) != x ]; then \
4331 rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
4332 $(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
4333 else true; fi
587a4ba6 4334
69cbb85a 4335# Create the installation directories.
a8ee6e2d 4336# $(libdir)/gcc/include isn't currently searched by cpp.
69cbb85a 4337installdirs:
947c6b00
NN
4338 $(mkinstalldirs) $(DESTDIR)$(libsubdir)
4339 $(mkinstalldirs) $(DESTDIR)$(libexecsubdir)
4340 $(mkinstalldirs) $(DESTDIR)$(bindir)
4341 $(mkinstalldirs) $(DESTDIR)$(includedir)
4342 $(mkinstalldirs) $(DESTDIR)$(infodir)
4343 $(mkinstalldirs) $(DESTDIR)$(slibdir)
4344 $(mkinstalldirs) $(DESTDIR)$(man1dir)
4345 $(mkinstalldirs) $(DESTDIR)$(man7dir)
79d8453e 4346
bf016de8 4347PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3e17e31d 4348 $(TOPLEV_H) $(BASIC_BLOCK_H) $(GIMPLE_H) $(TREE_PASS_H) $(GCC_PLUGIN_H) \
090fa0ab 4349 $(GGC_H) $(TREE_DUMP_H) $(PRETTY_PRINT_H) opts.h $(PARAMS_H) plugin.def \
cac1b0ee
BS
4350 $(tm_file_list) $(tm_include_list) $(tm_p_file_list) $(tm_p_include_list) \
4351 $(host_xm_file_list) $(host_xm_include_list) $(xm_include_list) \
2a4c0366 4352 intl.h $(PLUGIN_VERSION_H) $(DIAGNOSTIC_H) $(C_COMMON_H) $(C_PRETTY_PRINT_H) \
2ab43a52 4353 tree-iterator.h $(PLUGIN_H) $(TREE_FLOW_H) langhooks.h incpath.h debug.h \
fba48836 4354 except.h tree-ssa-sccvn.h real.h output.h $(IPA_UTILS_H) \
33887751 4355 $(C_PRAGMA_H) $(CPPLIB_H) $(FUNCTION_H) \
2a5e9d16 4356 cppdefault.h flags.h $(MD5_H) params.def params.h prefix.h tree-inline.h \
01094033 4357 $(IPA_PROP_H) $(RTL_H) $(TM_P_H) $(CFGLOOP_H) $(EMIT_RTL_H) version.h
bf016de8 4358
090fa0ab
GF
4359# generate the 'build fragment' b-header-vars
4360s-header-vars: Makefile
4361 rm -f tmp-header-vars
4362 $(foreach header_var,$(shell sed < Makefile -e 's/^\([A-Z0-9_]*_H\)[ ]*=.*/\1/p' -e d),echo $(header_var)=$(shell echo $($(header_var):$(srcdir)/%=.../%) | sed -e 's~\.\.\./config/~config/~' -e 's~\.\.\..*/~~') >> tmp-header-vars;) \
4363 $(SHELL) $(srcdir)/../move-if-change tmp-header-vars b-header-vars
4364 $(STAMP) s-header-vars
4365
bf016de8 4366# Install the headers needed to build a plugin.
090fa0ab 4367install-plugin: installdirs lang.install-plugin s-header-vars
bf016de8
RAE
4368# We keep the directory structure for files in config and .def files. All
4369# other files are flattened to a single directory.
4370 $(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
2fdb618d 4371 headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`; \
3b3e44eb 4372 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
bf016de8
RAE
4373 for file in $$headers; do \
4374 if [ -f $$file ] ; then \
4375 path=$$file; \
4376 elif [ -f $(srcdir)/$$file ]; then \
4377 path=$(srcdir)/$$file; \
4378 else continue; \
4379 fi; \
4380 case $$path in \
3b3e44eb 4381 "$(srcdir)"/config/* | "$(srcdir)"/*.def ) \
9419a9fd 4382 base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
bf016de8
RAE
4383 *) base=`basename $$path` ;; \
4384 esac; \
4385 dest=$(plugin_includedir)/$$base; \
86e3c83a 4386 echo $(INSTALL_DATA) $$path $(DESTDIR)$$dest; \
bf016de8 4387 dir=`dirname $$dest`; \
86e3c83a
MK
4388 $(mkinstalldirs) $(DESTDIR)$$dir; \
4389 $(INSTALL_DATA) $$path $(DESTDIR)$$dest; \
bf016de8 4390 done
090fa0ab 4391 $(INSTALL_DATA) b-header-vars $(DESTDIR)$(plugin_includedir)/b-header-vars
bf016de8 4392
79d8453e 4393# Install the compiler executables built during cross compilation.
fa958513 4394install-common: native lang.install-common installdirs
79d8453e
RS
4395 for file in $(COMPILERS); do \
4396 if [ -f $$file ] ; then \
a8ee6e2d
GK
4397 rm -f $(DESTDIR)$(libexecsubdir)/$$file; \
4398 $(INSTALL_PROGRAM) $$file $(DESTDIR)$(libexecsubdir)/$$file; \
79d8453e
RS
4399 else true; \
4400 fi; \
4401 done
c38f02df 4402 for file in $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2) ..; do \
79d8453e 4403 if [ x"$$file" != x.. ]; then \
a8ee6e2d
GK
4404 rm -f $(DESTDIR)$(libexecsubdir)/$$file; \
4405 $(INSTALL_PROGRAM) $$file $(DESTDIR)$(libexecsubdir)/$$file; \
79d8453e
RS
4406 else true; fi; \
4407 done
e90f1b9d
MM
4408# We no longer install the specs file because its presence makes the
4409# driver slower, and because people who need it can recreate it by
4410# using -dumpspecs. We remove any old version because it would
4411# otherwise override the specs built into the driver.
8ff61ea7 4412 rm -f $(DESTDIR)$(libsubdir)/specs
ca363bb6 4413# Install gcov if it was compiled.
59a64126
DE
4414 -if [ -f gcov$(exeext) ]; \
4415 then \
3743ea05 4416 rm -f $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
90961eff 4417 $(INSTALL_PROGRAM) gcov$(exeext) $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
59a64126 4418 fi
90961eff 4419 $(INSTALL_SCRIPT) gccbug $(DESTDIR)$(bindir)/$(GCCBUG_INSTALL_NAME)
aab26e16 4420
5340bbea 4421# Install the driver program as $(target_noncanonical)-gcc,
caa55b1e 4422# $(target_noncanonical)-gcc-$(version)
91c7bd9b 4423# and also as either gcc (if native) or $(gcc_tooldir)/bin/gcc.
e658449e 4424install-driver: installdirs xgcc$(exeext)
439020ec
KC
4425 -rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
4426 -$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
f03668f6 4427 -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext)
439020ec 4428 -( cd $(DESTDIR)$(bindir) && \
f03668f6 4429 $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) )
173712fb 4430 -if [ -f gcc-cross$(exeext) ] ; then \
90961eff
AJ
4431 if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \
4432 rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
4433 $(INSTALL_PROGRAM) gcc-cross$(exeext) $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
79d8453e
RS
4434 else true; fi; \
4435 else \
caa55b1e 4436 rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-tmp$(exeext); \
90961eff 4437 ( cd $(DESTDIR)$(bindir) && \
caa55b1e
NN
4438 $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-tmp$(exeext) && \
4439 mv -f $(target_noncanonical)-gcc-tmp$(exeext) $(GCC_TARGET_INSTALL_NAME)$(exeext) ); \
79d8453e 4440 fi
79d8453e 4441
0b2fbcb2 4442# Install the info files.
feb9ea1a 4443# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
ee5b121e 4444# to do the install.
97ae108d
MM
4445install-info:: doc installdirs \
4446 $(DESTDIR)$(infodir)/cpp.info \
4447 $(DESTDIR)$(infodir)/gcc.info \
4448 $(DESTDIR)$(infodir)/cppinternals.info \
ee312cd0 4449 $(DESTDIR)$(infodir)/gccinstall.info \
dedfa466
PB
4450 $(DESTDIR)$(infodir)/gccint.info \
4451 lang.install-info
97ae108d 4452
a541f69d 4453$(DESTDIR)$(infodir)/%.info: doc/%.info installdirs
97ae108d
MM
4454 rm -f $@
4455 if [ -f $< ]; then \
4456 for f in $(<)*; do \
17db6582 4457 realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
90961eff 4458 $(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
3d56d025 4459 chmod a-x $(DESTDIR)$(infodir)/$$realfile; \
17db6582
JM
4460 done; \
4461 else true; fi
ee5b121e 4462 -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
a89f5df3
JM
4463 if [ -f $@ ]; then \
4464 install-info --dir-file=$(DESTDIR)$(infodir)/dir $@; \
f8c86b58 4465 else true; fi; \
265ce5bb 4466 else true; fi;
0b2fbcb2 4467
bcc3d150
BM
4468pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
4469
4470install-pdf: $(PDFFILES) lang.install-pdf
4471 @$(NORMAL_INSTALL)
4472 test -z "$(pdfdir)/gcc" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)/gcc"
4473 @list='$(PDFFILES)'; for p in $$list; do \
4474 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
4475 f=$(pdf__strip_dir) \
4476 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/gcc/$$f'"; \
4477 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/gcc/$$f"; \
4478 done
4479
9288b845 4480html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
d3dc619d 4481
55bcd32b 4482install-html: $(HTMLS_BUILD) lang.install-html
9288b845 4483 @$(NORMAL_INSTALL)
ab7efd91 4484 test -z "$(htmldir)" || $(mkinstalldirs) "$(DESTDIR)$(htmldir)"
9288b845
CD
4485 @list='$(HTMLS_INSTALL)'; for p in $$list; do \
4486 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
4487 f=$(html__strip_dir) \
4488 if test -d "$$d$$p"; then \
ab7efd91
CD
4489 echo " $(mkinstalldirs) '$(DESTDIR)$(htmldir)/$$f'"; \
4490 $(mkinstalldirs) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
9288b845
CD
4491 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
4492 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
4493 else \
4494 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
4495 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
4496 fi; \
4497 done
4498
79d8453e 4499# Install the man pages.
7bfb5ccc 4500install-man: lang.install-man \
a541f69d 4501 $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext) \
52ccb3d2
GK
4502 $(DESTDIR)$(man1dir)/$(CPP_INSTALL_NAME)$(man1ext) \
4503 $(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext) \
a541f69d
KC
4504 $(DESTDIR)$(man7dir)/fsf-funding$(man7ext) \
4505 $(DESTDIR)$(man7dir)/gfdl$(man7ext) \
4506 $(DESTDIR)$(man7dir)/gpl$(man7ext)
4507
7bfb5ccc 4508$(DESTDIR)$(man7dir)/%$(man7ext): doc/%.7 installdirs
a541f69d
KC
4509 -rm -f $@
4510 -$(INSTALL_DATA) $< $@
4511 -chmod a-x $@
4512
7bfb5ccc 4513$(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext): doc/gcc.1 installdirs
a541f69d 4514 -rm -f $@
5340bbea 4515 -$(INSTALL_DATA) $< $@
a541f69d
KC
4516 -chmod a-x $@
4517
7bfb5ccc 4518$(DESTDIR)$(man1dir)/$(CPP_INSTALL_NAME)$(man1ext): doc/cpp.1 installdirs
52ccb3d2 4519 -rm -f $@
5340bbea 4520 -$(INSTALL_DATA) $< $@
52ccb3d2
GK
4521 -chmod a-x $@
4522
7bfb5ccc 4523$(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext): doc/gcov.1 installdirs
a541f69d 4524 -rm -f $@
5340bbea 4525 -$(INSTALL_DATA) $< $@
a541f69d 4526 -chmod a-x $@
79d8453e 4527
ba1811f1 4528# Install all the header files built in the include subdirectory.
fecd6201 4529install-headers: $(INSTALL_HEADERS_DIR)
ba1811f1
ILT
4530# Fix symlinks to absolute paths in the installed include directory to
4531# point to the installed directory, not the build directory.
ac64120e 4532# Don't need to use LN_S here since we really do need ln -s and no substitutes.
f686ec05 4533 -files=`cd $(DESTDIR)$(libsubdir)/include-fixed; find . -type l -print 2>/dev/null`; \
ba1811f1 4534 if [ $$? -eq 0 ]; then \
f686ec05 4535 dir=`cd include-fixed; ${PWD_COMMAND}`; \
ba1811f1 4536 for i in $$files; do \
f686ec05 4537 dest=`ls -ld $(DESTDIR)$(libsubdir)/include-fixed/$$i | sed -n 's/.*-> //p'`; \
ba1811f1 4538 if expr "$$dest" : "$$dir.*" > /dev/null; then \
f686ec05
JM
4539 rm -f $(DESTDIR)$(libsubdir)/include-fixed/$$i; \
4540 ln -s `echo $$i | sed "s|/[^/]*|/..|g" | sed 's|/..$$||'``echo "$$dest" | sed "s|$$dir||"` $(DESTDIR)$(libsubdir)/include-fixed/$$i; \
ba1811f1
ILT
4541 fi; \
4542 done; \
4543 fi
79d8453e 4544
ba1811f1 4545# Create or recreate the gcc private include file directory.
69cbb85a 4546install-include-dir: installdirs
d3dc619d 4547 $(mkinstalldirs) $(DESTDIR)$(libsubdir)/include
f686ec05 4548 -rm -rf $(DESTDIR)$(libsubdir)/include-fixed
f686ec05 4549 mkdir $(DESTDIR)$(libsubdir)/include-fixed
f686ec05 4550 -chmod a+rx $(DESTDIR)$(libsubdir)/include-fixed
ba1811f1 4551
f08dd1f8
ZW
4552# Create or recreate the install-tools include file directory.
4553itoolsdir = $(libexecsubdir)/install-tools
4554itoolsdatadir = $(libsubdir)/install-tools
4555install-itoolsdirs: installdirs
4556 $(mkinstalldirs) $(DESTDIR)$(itoolsdatadir)/include
4557 $(mkinstalldirs) $(DESTDIR)$(itoolsdir)
4558
ba1811f1 4559# Install the include directory using tar.
52c0e446 4560install-headers-tar: stmp-int-hdrs install-include-dir
965c3f43
AO
4561# We use `pwd`/include instead of just include to problems with CDPATH
4562# Unless a full pathname is provided, some shells would print the new CWD,
4563# found in CDPATH, corrupting the output. We could just redirect the
4564# output of `cd', but some shells lose on redirection within `()'s
8c90b13a 4565 (cd `${PWD_COMMAND}`/include ; \
90961eff 4566 tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; tar xpf - )
f686ec05
JM
4567 (cd `${PWD_COMMAND}`/include-fixed ; \
4568 tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - )
e6431ec5
RS
4569# /bin/sh on some systems returns the status of the first tar,
4570# and that can lose with GNU tar which always writes a full block.
4571# So use `exit 0' to ignore its exit status.
ba1811f1
ILT
4572
4573# Install the include directory using cpio.
52c0e446 4574install-headers-cpio: stmp-int-hdrs install-include-dir
965c3f43 4575# See discussion about the use of `pwd` above
8c90b13a 4576 cd `${PWD_COMMAND}`/include ; \
90961eff 4577 find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include
f686ec05
JM
4578 cd `${PWD_COMMAND}`/include-fixed ; \
4579 find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include-fixed
79d8453e 4580
ff3aaf17 4581# Install the include directory using cp.
52c0e446 4582install-headers-cp: stmp-int-hdrs install-include-dir
90961eff 4583 cp -p -r include $(DESTDIR)$(libsubdir)
f686ec05 4584 cp -p -r include-fixed $(DESTDIR)$(libsubdir)
ff3aaf17 4585
9fb03bd8
DJ
4586# Targets without dependencies, for use in prev-gcc during bootstrap.
4587real-install-headers-tar:
f686ec05
JM
4588 (cd `${PWD_COMMAND}`/include-fixed ; \
4589 tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - )
9fb03bd8
DJ
4590
4591real-install-headers-cpio:
f686ec05
JM
4592 cd `${PWD_COMMAND}`/include-fixed ; \
4593 find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include-fixed
9fb03bd8
DJ
4594
4595real-install-headers-cp:
f686ec05 4596 cp -p -r include-fixed $(DESTDIR)$(libsubdir)
9fb03bd8 4597
53c7ffe7 4598# Install supporting files for fixincludes to be run later.
52c0e446 4599install-mkheaders: stmp-int-hdrs install-itoolsdirs \
14da6073 4600 macro_list fixinc_list
53c7ffe7
GK
4601 $(INSTALL_DATA) $(srcdir)/gsyslimits.h \
4602 $(DESTDIR)$(itoolsdatadir)/gsyslimits.h
4603 $(INSTALL_DATA) macro_list $(DESTDIR)$(itoolsdatadir)/macro_list
14da6073
JM
4604 $(INSTALL_DATA) fixinc_list $(DESTDIR)$(itoolsdatadir)/fixinc_list
4605 set -e; for ml in `cat fixinc_list`; do \
4606 multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
4607 $(mkinstalldirs) $(DESTDIR)$(itoolsdatadir)/include$${multi_dir}; \
4608 $(INSTALL_DATA) include-fixed$${multidir}/limits.h $(DESTDIR)$(itoolsdatadir)/include$${multi_dir}/limits.h; \
4609 done
4610 $(INSTALL_SCRIPT) $(srcdir)/../mkinstalldirs \
90961eff 4611 $(DESTDIR)$(itoolsdir)/mkinstalldirs ; \
14da6073
JM
4612 sysroot_headers_suffix='$${sysroot_headers_suffix}'; \
4613 echo 'SYSTEM_HEADER_DIR="'"$(SYSTEM_HEADER_DIR)"'"' \
a8ee6e2d 4614 > $(DESTDIR)$(itoolsdatadir)/mkheaders.conf
e34a3d31 4615 echo 'OTHER_FIXINCLUDES_DIRS="$(OTHER_FIXINCLUDES_DIRS)"' \
a8ee6e2d 4616 >> $(DESTDIR)$(itoolsdatadir)/mkheaders.conf
a8ee6e2d
GK
4617 echo 'STMP_FIXINC="$(STMP_FIXINC)"' \
4618 >> $(DESTDIR)$(itoolsdatadir)/mkheaders.conf
e34a3d31 4619
10da1131 4620# Use this target to install the program `collect2' under the name `collect2'.
69cbb85a 4621install-collect2: collect2 installdirs
a8ee6e2d 4622 $(INSTALL_PROGRAM) collect2$(exeext) $(DESTDIR)$(libexecsubdir)/collect2$(exeext)
2e494f70 4623# Install the driver program as $(libsubdir)/gcc for collect2.
a8ee6e2d 4624 $(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(libexecsubdir)/gcc$(exeext)
2e494f70 4625
d7f09764
DN
4626# Install lto-wrapper.
4627install-lto-wrapper: lto-wrapper$(exeext)
4628 $(INSTALL_PROGRAM) lto-wrapper$(exeext) $(DESTDIR)$(libexecsubdir)/lto-wrapper$(exeext)
7ac8318c 4629
79d8453e 4630# Cancel installation by deleting the installed files.
6eb95e99 4631uninstall: lang.uninstall
90961eff 4632 -rm -rf $(DESTDIR)$(libsubdir)
a8ee6e2d 4633 -rm -rf $(DESTDIR)$(libexecsubdir)
90961eff 4634 -rm -rf $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
90961eff 4635 -rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
1e730c5c 4636 -if [ x$(cpp_install_dir) != x ]; then \
90961eff 4637 rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
1e730c5c 4638 else true; fi
90961eff
AJ
4639 -rm -rf $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext)
4640 -rm -rf $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext)
90961eff 4641 -rm -rf $(DESTDIR)$(man1dir)/cpp$(man1ext)
90961eff
AJ
4642 -rm -f $(DESTDIR)$(infodir)/cpp.info* $(DESTDIR)$(infodir)/gcc.info*
4643 -rm -f $(DESTDIR)$(infodir)/cppinternals.info* $(DESTDIR)$(infodir)/gccint.info*
544eb21e 4644#\f
4c457b6b 4645# These targets are for the dejagnu testsuites. The file site.exp
e933cbe0
JL
4646# contains global variables that all the testsuites will use.
4647
e933cbe0
JL
4648target_subdir = @target_subdir@
4649
4650site.exp: ./config.status Makefile
4651 @echo "Making a new config file..."
4652 -@rm -f ./tmp?
d9835ae8 4653 @$(STAMP) site.exp
e933cbe0
JL
4654 -@mv site.exp site.bak
4655 @echo "## these variables are automatically generated by make ##" > ./tmp0
4656 @echo "# Do not edit here. If you wish to override these values" >> ./tmp0
4657 @echo "# add them to the last section" >> ./tmp0
8c90b13a
L
4658 @echo "set rootme \"`${PWD_COMMAND}`\"" >> ./tmp0
4659 @echo "set srcdir \"`cd ${srcdir}; ${PWD_COMMAND}`\"" >> ./tmp0
4665e56c
NN
4660 @echo "set host_triplet $(host)" >> ./tmp0
4661 @echo "set build_triplet $(build)" >> ./tmp0
e933cbe0 4662 @echo "set target_triplet $(target)" >> ./tmp0
caa55b1e 4663 @echo "set target_alias $(target_noncanonical)" >> ./tmp0
5340bbea 4664 @echo "set libiconv \"$(LIBICONV)\"" >> ./tmp0
e933cbe0
JL
4665# CFLAGS is set even though it's empty to show we reserve the right to set it.
4666 @echo "set CFLAGS \"\"" >> ./tmp0
76438597 4667 @echo "set CXXFLAGS \"\"" >> ./tmp0
5aa33bdb
JJ
4668 @echo "set HOSTCC \"$(CC)\"" >> ./tmp0
4669 @echo "set HOSTCFLAGS \"$(CFLAGS)\"" >> ./tmp0
4d936aca
JJ
4670# When running the tests we set GCC_EXEC_PREFIX to the install tree so that
4671# files that have already been installed there will be found. The -B option
4672# overrides it, so use of GCC_EXEC_PREFIX will not result in using GCC files
4673# from the install tree.
4674 @echo "set TEST_GCC_EXEC_PREFIX \"$(libdir)/gcc/\"" >> ./tmp0
4091fa5f 4675 @echo "set TESTING_IN_BUILD_TREE 1" >> ./tmp0
22fdd65e 4676 @echo "set HAVE_LIBSTDCXX_V3 1" >> ./tmp0
68a607d8
DN
4677 @if test "@enable_plugin@" = "yes" ; then \
4678 echo "set ENABLE_PLUGIN 1" >> ./tmp0; \
eeb971c9
EB
4679 echo "set PLUGINCC \"$(PLUGINCC)\"" >> ./tmp0; \
4680 echo "set PLUGINCFLAGS \"$(PLUGINCFLAGS)\"" >> ./tmp0; \
68a607d8
DN
4681 echo "set GMPINC \"$(GMPINC)\"" >> ./tmp0; \
4682 fi
d7f09764
DN
4683 @if test "@enable_lto@" = "yes" ; then \
4684 echo "set ENABLE_LTO 1" >> ./tmp0; \
4685 fi
e933cbe0
JL
4686# If newlib has been configured, we need to pass -B to gcc so it can find
4687# newlib's crt0.o if it exists. This will cause a "path prefix not used"
4688# message if it doesn't, but the testsuite is supposed to ignore the message -
4689# it's too difficult to tell when to and when not to pass -B (not all targets
4690# have crt0's). We could only add the -B if ../newlib/crt0.o exists, but that
4691# seems like too selective a test.
4692# ??? Another way to solve this might be to rely on linker scripts. Then
4693# theoretically the -B won't be needed.
4694# We also need to pass -L ../ld so that the linker can find ldscripts.
6a1b7268 4695 @if [ -d $(objdir)/../$(target_subdir)/newlib ] \
4665e56c 4696 && [ "${host}" != "${target}" ]; then \
6a1b7268
NN
4697 echo "set newlib_cflags \"-I$(objdir)/../$(target_subdir)/newlib/targ-include -I\$$srcdir/../newlib/libc/include\"" >> ./tmp0; \
4698 echo "set newlib_ldflags \"-B$(objdir)/../$(target_subdir)/newlib/\"" >> ./tmp0; \
e933cbe0
JL
4699 echo "append CFLAGS \" \$$newlib_cflags\"" >> ./tmp0; \
4700 echo "append CXXFLAGS \" \$$newlib_cflags\"" >> ./tmp0; \
4701 echo "append LDFLAGS \" \$$newlib_ldflags\"" >> ./tmp0; \
4702 else true; \
4703 fi
4704 @if [ -d $(objdir)/../ld ] ; then \
4705 echo "append LDFLAGS \" -L$(objdir)/../ld\"" >> ./tmp0; \
4706 else true; \
4707 fi
ccdb9251 4708 echo "set tmpdir $(objdir)/testsuite" >> ./tmp0
e933cbe0 4709 @echo "set srcdir \"\$${srcdir}/testsuite\"" >> ./tmp0
6ccfe27c
JJ
4710 @if [ "X$(ALT_CC_UNDER_TEST)" != "X" ] ; then \
4711 echo "set ALT_CC_UNDER_TEST \"$(ALT_CC_UNDER_TEST)\"" >> ./tmp0; \
4712 else true; \
4713 fi
fa870451 4714 @if [ "X$(ALT_CXX_UNDER_TEST)" != "X" ] ; then \
6ccfe27c 4715 echo "set ALT_CXX_UNDER_TEST \"$(ALT_CXX_UNDER_TEST)\"" >> ./tmp0; \
fa870451
JJ
4716 else true; \
4717 fi
4718 @if [ "X$(COMPAT_OPTIONS)" != "X" ] ; then \
6ccfe27c 4719 echo "set COMPAT_OPTIONS \"$(COMPAT_OPTIONS)\"" >> ./tmp0; \
fa870451
JJ
4720 else true; \
4721 fi
e933cbe0
JL
4722 @echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
4723 @cat ./tmp0 > site.exp
4724 @cat site.bak | sed \
4725 -e '1,/^## All variables above are.*##/ d' >> site.exp
4726 -@rm -f ./tmp?
4727
71a94577 4728CHECK_TARGETS = check-gcc @check_languages@
cbc59f01 4729
e933cbe0
JL
4730check: $(CHECK_TARGETS)
4731
7134e605
JJ
4732check-subtargets: $(patsubst %,%-subtargets,$(CHECK_TARGETS))
4733
a738a85c 4734# The idea is to parallelize testing of multilibs, for example:
7dd232a8 4735# make -j3 check-gcc//sh-hms-sim/{-m1,-m2,-m3,-m3e,-m4}/{,-nofpu}
a738a85c
AO
4736# will run 3 concurrent sessions of check-gcc, eventually testing
4737# all 10 combinations. GNU make is required, as is a shell that expands
4738# alternations within braces.
49a41726
JM
4739lang_checks_parallel = $(lang_checks:=//%)
4740$(lang_checks_parallel): site.exp
7dd232a8
AO
4741 target=`echo "$@" | sed 's,//.*,,'`; \
4742 variant=`echo "$@" | sed 's,^[^/]*//,,'`; \
a738a85c
AO
4743 vardots=`echo "$$variant" | sed 's,/,.,g'`; \
4744 $(MAKE) TESTSUITEDIR="testsuite.$$vardots" \
4745 RUNTESTFLAGS="--target_board=$$variant $(RUNTESTFLAGS)" \
4746 "$$target"
4747
4748TESTSUITEDIR = testsuite
4749
4750$(TESTSUITEDIR)/site.exp: site.exp
577092ba 4751 -test -d $(TESTSUITEDIR) || mkdir $(TESTSUITEDIR)
a738a85c 4752 -rm -f $@
453897b4 4753 sed '/set tmpdir/ s|testsuite$$|$(TESTSUITEDIR)|' < site.exp > $@
a738a85c 4754
7134e605
JJ
4755# This is only used for check-% targets that aren't parallelized.
4756$(filter-out $(lang_checks_parallelized),$(lang_checks)): check-% : site.exp
4adbd5dd 4757 -test -d plugin || mkdir plugin
577092ba 4758 -test -d $(TESTSUITEDIR) || mkdir $(TESTSUITEDIR)
fea4cfe0 4759 test -d $(TESTSUITEDIR)/$* || mkdir $(TESTSUITEDIR)/$*
8c90b13a
L
4760 -(rootme=`${PWD_COMMAND}`; export rootme; \
4761 srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
fea4cfe0
L
4762 cd $(TESTSUITEDIR)/$*; \
4763 rm -f tmp-site.exp; \
453897b4 4764 sed '/set tmpdir/ s|testsuite$$|$(TESTSUITEDIR)/$*|' \
fea4cfe0 4765 < ../../site.exp > tmp-site.exp; \
88405bd3 4766 $(SHELL) $${srcdir}/../move-if-change tmp-site.exp site.exp; \
d8bb17c8
OP
4767 EXPECT=${EXPECT} ; export EXPECT ; \
4768 if [ -f $${rootme}/../expect/expect ] ; then \
88405bd3 4769 TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
d8bb17c8 4770 export TCL_LIBRARY ; fi ; \
4b09846b 4771 $(RUNTEST) --tool $* $(RUNTESTFLAGS))
d8bb17c8 4772
7134e605
JJ
4773$(patsubst %,%-subtargets,$(filter-out $(lang_checks_parallelized),$(lang_checks))): check-%-subtargets:
4774 @echo check-$*
4775
4776check_p_tool=$(firstword $(subst _, ,$*))
4777check_p_vars=$(check_$(check_p_tool)_parallelize)
4778check_p_subno=$(word 2,$(subst _, ,$*))
4779check_p_comma=,
4780check_p_subwork=$(subst $(check_p_comma), ,$(if $(check_p_subno),$(word $(check_p_subno),$(check_p_vars))))
4781check_p_numbers=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
4782check_p_subdir=$(subst _,,$*)
4783check_p_subdirs=$(wordlist 1,$(words $(check_$*_parallelize)),$(check_p_numbers))
4784
4785# For parallelized check-% targets, this decides whether parallelization
4786# is desirable (if -jN is used and RUNTESTFLAGS doesn't contain anything
4787# but optionally --target_board argument). If it is desirable,
4788# recursive make is run with check-parallel-$lang{,1,2,3,4,5} etc. goals,
4789# which can be executed in parallel, as they are run in separate directories.
4790# check-parallel-$lang{1,2,3,4,5} etc. goals invoke runtest with the longest
4791# running *.exp files from the testsuite, as determined by check_$lang_parallelize
4792# variable. The check-parallel-$lang goal in that case invokes runtest with
4793# all the remaining *.exp files not handled by the separate goals.
4794# Afterwards contrib/dg-extract-results.sh is used to merge the sum and log
4795# files. If parallelization isn't desirable, only one recursive make
4796# is run with check-parallel-$lang goal and check_$lang_parallelize variable
4797# cleared to say that no additional arguments beyond $(RUNTESTFLAGS)
4798# should be passed to runtest.
4799#
4800# To parallelize some language check, add the corresponding check-$lang
4801# to lang_checks_parallelized variable and define check_$lang_parallelize
4802# variable (see above check_gcc_parallelize description).
4803$(lang_checks_parallelized): check-% : site.exp
4804 @if [ -z "$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \
4805 && [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \
4806 $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \
4807 check-parallel-$* \
4808 $(patsubst %,check-parallel-$*_%, $(check_p_subdirs)); \
4809 for file in $(TESTSUITEDIR)/$*/$* \
4810 $(patsubst %,$(TESTSUITEDIR)/$*%/$*,$(check_p_subdirs));\
4811 do \
4812 mv -f $$file.sum $$file.sum.sep; mv -f $$file.log $$file.log.sep; \
4813 done; \
4814 $(SHELL) $(srcdir)/../contrib/dg-extract-results.sh \
4815 $(TESTSUITEDIR)/$*/$*.sum.sep \
4816 $(patsubst %,$(TESTSUITEDIR)/$*%/$*.sum.sep,$(check_p_subdirs)) \
4817 > $(TESTSUITEDIR)/$*/$*.sum; \
4818 $(SHELL) $(srcdir)/../contrib/dg-extract-results.sh -L \
4819 $(TESTSUITEDIR)/$*/$*.log.sep \
4820 $(patsubst %,$(TESTSUITEDIR)/$*%/$*.log.sep,$(check_p_subdirs)) \
4821 > $(TESTSUITEDIR)/$*/$*.log; \
4822 else \
4823 $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \
4824 check_$*_parallelize= check-parallel-$*; \
4825 fi
4826
4827# Just print the parallelized subtargets for those that want to split
4828# the testing across machines.
4829$(patsubst %,%-subtargets,$(lang_checks_parallelized)): check-%-subtargets:
4830 @echo check-parallel-$* \
4831 $(patsubst %,check-parallel-$*_%, $(check_p_subdirs))
4832
4833# In the if [ -n "$(check_p_subno)" ] case runtest should be given the name of
4834# the given *.exp file(s). See comment above check_gcc_parallelize variable
4835# for details on the content of these variables.
4836#
4837# In the elif [ -n "$(check_p_vars)" ] case runtest should be given
4838# names of all the *.exp files for this tool that aren't already handled by
4839# other goals. First it finds all the *.exp files for this tool, then
4840# prunes those already specified in check_$lang_parallelize or duplicates.
4841#
4842# Otherwise check-$lang isn't parallelized and runtest is invoked just with
4843# the $(RUNTESTFLAGS) arguments.
4844check-parallel-% : site.exp
4adbd5dd 4845 -test -d plugin || mkdir plugin
7134e605
JJ
4846 -test -d $(TESTSUITEDIR) || mkdir $(TESTSUITEDIR)
4847 test -d $(TESTSUITEDIR)/$(check_p_subdir) || mkdir $(TESTSUITEDIR)/$(check_p_subdir)
4848 -(rootme=`${PWD_COMMAND}`; export rootme; \
4849 srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
4850 cd $(TESTSUITEDIR)/$(check_p_subdir); \
4851 rm -f tmp-site.exp; \
453897b4 4852 sed '/set tmpdir/ s|testsuite$$|$(TESTSUITEDIR)/$(check_p_subdir)|' \
7134e605
JJ
4853 < ../../site.exp > tmp-site.exp; \
4854 $(SHELL) $${srcdir}/../move-if-change tmp-site.exp site.exp; \
4855 EXPECT=${EXPECT} ; export EXPECT ; \
4856 if [ -f $${rootme}/../expect/expect ] ; then \
4857 TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
4858 export TCL_LIBRARY ; fi ; \
7134e605
JJ
4859 runtestflags= ; \
4860 if [ -n "$(check_p_subno)" ] ; then \
4861 runtestflags="$(check_p_subwork)"; \
4862 elif [ -n "$(check_p_vars)" ] ; then \
4863 parts="`echo ' $(strip $(subst $(check_p_comma), ,$(check_p_vars))) ' \
4864 | sed 's/=[^ ]* / /g'`"; \
4865 for part in `find $$srcdir/testsuite/$(check_p_tool)* -name \*.exp` ; do \
4866 part=`basename $$part` ; \
4867 case " $$parts $$runtestflags " in \
4868 *" $$part "*) ;; \
4869 *) runtestflags="$$runtestflags $$part" ;; \
4870 esac ; \
4871 done ; \
4872 fi ; \
4873 $(RUNTEST) --tool $(check_p_tool) $(RUNTESTFLAGS) $$runtestflags)
4874
c36ae96c 4875check-consistency: testsuite/site.exp
8c90b13a
L
4876 -rootme=`${PWD_COMMAND}`; export rootme; \
4877 srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
c36ae96c
GK
4878 cd testsuite; \
4879 EXPECT=${EXPECT} ; export EXPECT ; \
4880 if [ -f $${rootme}/../expect/expect ] ; then \
88405bd3 4881 TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
c36ae96c
GK
4882 export TCL_LIBRARY ; fi ; \
4883 $(RUNTEST) --tool consistency $(RUNTESTFLAGS)
4884
f362c762
MM
4885# QMTest targets
4886
4887# The path to qmtest.
4888QMTEST_PATH=qmtest
4889
4890# The flags to pass to qmtest.
4891QMTESTFLAGS=
4892
4893# The flags to pass to "qmtest run".
d7068b3d 4894QMTESTRUNFLAGS=-f none --result-stream dejagnu_stream.DejaGNUStream
f362c762
MM
4895
4896# The command to use to invoke qmtest.
4897QMTEST=${QMTEST_PATH} ${QMTESTFLAGS}
4898
4899# The tests (or suites) to run.
d7068b3d 4900QMTEST_GPP_TESTS=g++
f362c762
MM
4901
4902# The subdirectory of the OBJDIR that will be used to store the QMTest
4903# test database configuration and that will be used for temporary
4904# scratch space during QMTest's execution.
62363d99 4905QMTEST_DIR=qmtestsuite
f362c762
MM
4906
4907# Create the QMTest database configuration.
4908${QMTEST_DIR} stamp-qmtest:
d7068b3d
MM
4909 ${QMTEST} -D ${QMTEST_DIR} create-tdb \
4910 -c gcc_database.GCCDatabase \
7134e605 4911 -a srcdir=`cd ${srcdir}/testsuite && ${PWD_COMMAND}` && \
d7068b3d 4912 $(STAMP) stamp-qmtest
f362c762
MM
4913
4914# Create the QMTest context file.
4915${QMTEST_DIR}/context: stamp-qmtest
d7068b3d
MM
4916 rm -f $@
4917 echo "CompilerTable.languages=c cplusplus" >> $@
4918 echo "CompilerTable.c_kind=GCC" >> $@
4919 echo "CompilerTable.c_path=${objdir}/xgcc" >> $@
4920 echo "CompilerTable.c_options=-B${objdir}/" >> $@
4921 echo "CompilerTable.cplusplus_kind=GCC" >> $@
4922 echo "CompilerTable.cplusplus_path=${objdir}/g++" >> $@
4923 echo "CompilerTable.cplusplus_options=-B${objdir}/" >> $@
caa55b1e 4924 echo "DejaGNUTest.target=${target_noncanonical}" >> $@
f362c762
MM
4925
4926# Run the G++ testsuite using QMTest.
d7068b3d 4927qmtest-g++: ${QMTEST_DIR}/context
f362c762 4928 cd ${QMTEST_DIR} && ${QMTEST} run ${QMTESTRUNFLAGS} -C context \
d7068b3d 4929 -o g++.qmr ${QMTEST_GPP_TESTS}
f362c762
MM
4930
4931# Use the QMTest GUI.
4932qmtest-gui: ${QMTEST_DIR}/context
4933 cd ${QMTEST_DIR} && ${QMTEST} gui -C context
4934
f362c762
MM
4935.PHONY: qmtest-g++
4936
efdc7e19
RH
4937# Run Paranoia on real.c.
4938
40013784 4939paranoia.o: $(srcdir)/../contrib/paranoia.cc $(CONFIG_H) $(SYSTEM_H) $(TREE_H)
3a6ebcdc 4940 g++ -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION)
efdc7e19
RH
4941
4942paranoia: paranoia.o real.o $(LIBIBERTY)
4943 g++ -o $@ paranoia.o real.o $(LIBIBERTY)
4944
79d8453e
RS
4945# These exist for maintenance purposes.
4946
4947# Update the tags table.
65ebbf81 4948TAGS: lang.tags
7d60db05
JM
4949 (cd $(srcdir); \
4950 incs= ; \
4951 list='$(SUBDIRS)'; for dir in $$list; do \
4952 if test -f $$dir/TAGS; then \
4953 incs="$$incs --include $$dir/TAGS.sub"; \
4954 fi; \
4955 done; \
b2d244d1 4956 etags -o TAGS.sub *.h *.c; \
7d60db05 4957 etags --include TAGS.sub $$incs)
79d8453e 4958
39e73137 4959# -----------------------------------------------------
5b7874aa
ZW
4960# Rules for generating translated message descriptions.
4961# Disabled by autoconf if the tools are not available.
39e73137 4962# -----------------------------------------------------
5b7874aa
ZW
4963
4964XGETTEXT = @XGETTEXT@
4965GMSGFMT = @GMSGFMT@
4966MSGMERGE = msgmerge
5c3c3683 4967CATALOGS = $(patsubst %,po/%,@CATALOGS@)
5b7874aa 4968
0f81faf6 4969.PHONY: build- install- build-po install-po update-po
5b7874aa
ZW
4970
4971# Dummy rules to deal with dependencies produced by use of
4972# "build-@POSUB@" and "install-@POSUB@" above, when NLS is disabled.
4973build-: ; @true
4974install-: ; @true
4975
4976build-po: $(CATALOGS)
4977
4978# This notation should be acceptable to all Make implementations used
4979# by people who are interested in updating .po files.
4980update-po: $(CATALOGS:.gmo=.pox)
4981
9f6682b7
ZW
4982# N.B. We do not attempt to copy these into $(srcdir). The snapshot
4983# script does that.
5b7874aa 4984.po.gmo:
fc0cd180 4985 $(mkinstalldirs) po
bc524dd0 4986 $(GMSGFMT) --statistics -o $@ $<
5b7874aa 4987
9f6682b7
ZW
4988# The new .po has to be gone over by hand, so we deposit it into
4989# build/po with a different extension.
a1286ef5 4990# If build/po/gcc.pot exists, use it (it was just created),
359cd11e 4991# else use the one in srcdir.
5b7874aa 4992.po.pox:
fc0cd180 4993 $(mkinstalldirs) po
a1286ef5
ZW
4994 $(MSGMERGE) $< `if test -f po/gcc.pot; \
4995 then echo po/gcc.pot; \
4996 else echo $(srcdir)/po/gcc.pot; fi` -o $@
5b7874aa 4997
9f6682b7
ZW
4998# This rule has to look for .gmo modules in both srcdir and
4999# the cwd, and has to check that we actually have a catalog
5000# for each language, in case they weren't built or included
5001# with the distribution.
5b7874aa 5002install-po:
947c6b00 5003 $(mkinstalldirs) $(DESTDIR)$(datadir)
318b7749 5004 cats="$(CATALOGS)"; for cat in $$cats; do \
9f6682b7
ZW
5005 lang=`basename $$cat | sed 's/\.gmo$$//'`; \
5006 if [ -f $$cat ]; then :; \
5007 elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \
5008 else continue; \
5009 fi; \
5b7874aa 5010 dir=$(localedir)/$$lang/LC_MESSAGES; \
947c6b00
NN
5011 echo $(mkinstalldirs) $(DESTDIR)$$dir; \
5012 $(mkinstalldirs) $(DESTDIR)$$dir || exit 1; \
a1286ef5
ZW
5013 echo $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/gcc.mo; \
5014 $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/gcc.mo; \
5b7874aa
ZW
5015 done
5016
5017# Rule for regenerating the message template (gcc.pot).
5018# Instead of forcing everyone to edit POTFILES.in, which proved impractical,
5019# this rule has no dependencies and always regenerates gcc.pot. This is
5020# relatively harmless since the .po files do not directly depend on it.
5021# Note that exgettext has an awk script embedded in it which requires a
5022# fairly modern (POSIX-compliant) awk.
359cd11e 5023# The .pot file is left in the build directory.
a1286ef5 5024gcc.pot: po/gcc.pot
fb72a0a3 5025po/gcc.pot: force
fc0cd180 5026 $(mkinstalldirs) po
02ba6b22 5027 $(MAKE) srcextra
5b7874aa 5028 AWK=$(AWK) $(SHELL) $(srcdir)/po/exgettext \
a1286ef5 5029 $(XGETTEXT) gcc $(srcdir)