OSDN Git Service

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