OSDN Git Service

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