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