OSDN Git Service

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