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