OSDN Git Service

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