comparison gcc/Makefile.in @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
comparison
equal deleted inserted replaced
15:561a7518be6b 16:04ced10e8804
1 # Makefile for GNU Compiler Collection 1 # Makefile for GNU Compiler Collection
2 # Run 'configure' to generate Makefile from Makefile.in 2 # Run 'configure' to generate Makefile from Makefile.in
3 3
4 # Copyright (C) 1987, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 4 # Copyright (C) 1987-2017 Free Software Foundation, Inc.
5 # 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
6 # 2008, 2009, 2010 Free Software Foundation, Inc.
7 5
8 #This file is part of GCC. 6 #This file is part of GCC.
9 7
10 #GCC is free software; you can redistribute it and/or modify 8 #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 9 #it under the terms of the GNU General Public License as published by
48 # the list and add them. This speeds up GNU Make, and allows -r to work. 46 # 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. 47 # For i18n support, we also need .gmo, .po, .pox.
50 # This must come before the language makefile fragments to allow them to 48 # This must come before the language makefile fragments to allow them to
51 # add suffixes and rules of their own. 49 # add suffixes and rules of their own.
52 .SUFFIXES: 50 .SUFFIXES:
53 .SUFFIXES: .c .o .po .pox .gmo 51 .SUFFIXES: .c .cc .o .po .pox .gmo
54 52
55 # ------------------------------- 53 # -------------------------------
56 # Standard autoconf-set variables 54 # Standard autoconf-set variables
57 # ------------------------------- 55 # -------------------------------
58 56
59 build=@build@ 57 build=@build@
60 host=@host@ 58 host=@host@
59 host_noncanonical=@host_noncanonical@
61 target=@target@ 60 target=@target@
62 target_noncanonical:=@target_noncanonical@ 61 target_noncanonical:=@target_noncanonical@
62
63 # Normally identical to target_noncanonical, except for compilers built
64 # as accelerator targets.
65 real_target_noncanonical:=@real_target_noncanonical@
66 accel_dir_suffix = @accel_dir_suffix@
63 67
64 # Sed command to transform gcc to installed name. 68 # Sed command to transform gcc to installed name.
65 program_transform_name := @program_transform_name@ 69 program_transform_name := @program_transform_name@
66 70
67 # ----------------------------- 71 # -----------------------------
73 gcc_docdir = @srcdir@/doc 77 gcc_docdir = @srcdir@/doc
74 78
75 # Directory where sources are, absolute. 79 # Directory where sources are, absolute.
76 abs_srcdir = @abs_srcdir@ 80 abs_srcdir = @abs_srcdir@
77 abs_docdir = @abs_srcdir@/doc 81 abs_docdir = @abs_srcdir@/doc
82
83 # Directory where sources are, relative to here.
84 top_srcdir = @top_srcdir@
78 85
79 # Top build directory for this package, relative to here. 86 # Top build directory for this package, relative to here.
80 top_builddir = . 87 top_builddir = .
81 88
82 # The absolute path to the current directory. 89 # The absolute path to the current directory.
115 122
116 # -------- 123 # --------
117 # UNSORTED 124 # UNSORTED
118 # -------- 125 # --------
119 126
127 # Extra flags to pass to indicate cross compilation, which
128 # might be used or tested by Make-lang fragments.
129 CROSS=@CROSS@
130
120 # Variables that exist for you to override. 131 # Variables that exist for you to override.
121 # See below for how to change them for certain systems. 132 # See below for how to change them for certain systems.
122 133
123 # List of language subdirectories. 134 # List of language subdirectories.
124 SUBDIRS =@subdirs@ build 135 SUBDIRS =@subdirs@ build
125 136
126 # Selection of languages to be made. 137 # Selection of languages to be made.
127 CONFIG_LANGUAGES = @all_selected_languages@ 138 CONFIG_LANGUAGES = @all_selected_languages@
128 LANGUAGES = c gcov$(exeext) gcov-dump$(exeext) $(CONFIG_LANGUAGES) 139 LANGUAGES = c gcov$(exeext) gcov-dump$(exeext) gcov-tool$(exeext) \
140 $(CONFIG_LANGUAGES)
129 141
130 # Default values for variables overridden in Makefile fragments. 142 # 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. 143 # 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. 144 # TCFLAGS is used for compilations with the GCC just built.
133 # T_CFLAGS is used for all compilations and is overridden by t-* files. 145 # T_CFLAGS is used for all compilations and is overridden by t-* files.
134 T_CFLAGS = 146 T_CFLAGS =
135 TCFLAGS = 147 TCFLAGS =
136 CFLAGS = @CFLAGS@ 148 CFLAGS = @CFLAGS@
137 CXXFLAGS = @CXXFLAGS@ 149 CXXFLAGS = @CXXFLAGS@
138 LDFLAGS = @LDFLAGS@ 150 LDFLAGS = @LDFLAGS@
151
152 # Should we build position-independent host code?
153 PICFLAG = @PICFLAG@
139 154
140 # Flags to determine code coverage. When coverage is disabled, this will 155 # Flags to determine code coverage. When coverage is disabled, this will
141 # contain the optimization flags, as you normally want code coverage 156 # contain the optimization flags, as you normally want code coverage
142 # without optimization. 157 # without optimization.
143 COVERAGE_FLAGS = @coverage_flags@ 158 COVERAGE_FLAGS = @coverage_flags@
162 177
163 # This is set by --enable-checking. The idea is to catch forgotten 178 # This is set by --enable-checking. The idea is to catch forgotten
164 # "extern" tags in header files. 179 # "extern" tags in header files.
165 NOCOMMON_FLAG = @nocommon_flag@ 180 NOCOMMON_FLAG = @nocommon_flag@
166 181
182 NOEXCEPTION_FLAGS = @noexception_flags@
183
184 ALIASING_FLAGS = @aliasing_flags@
185
167 # This is set by --disable-maintainer-mode (default) to "#" 186 # This is set by --disable-maintainer-mode (default) to "#"
187 # FIXME: 'MAINT' will always be set to an empty string, no matter if
188 # --disable-maintainer-mode is used or not. This is because the
189 # following will expand to "MAINT := " in maintainer mode, and to
190 # "MAINT := #" in non-maintainer mode, but because '#' starts a comment,
191 # they mean exactly the same thing for make.
168 MAINT := @MAINT@ 192 MAINT := @MAINT@
193
194 # The following provides the variable ENABLE_MAINTAINER_RULES that can
195 # be used in language Make-lang.in makefile fragments to enable
196 # maintainer rules. So, ENABLE_MAINTAINER_RULES is 'true' in
197 # maintainer mode, and '' otherwise.
198 @MAINT@ ENABLE_MAINTAINER_RULES = true
169 199
170 # These are set by --enable-checking=valgrind. 200 # These are set by --enable-checking=valgrind.
171 RUN_GEN = @valgrind_command@ 201 RUN_GEN = @valgrind_command@
172 VALGRIND_DRIVER_DEFINES = @valgrind_path_defines@ 202 VALGRIND_DRIVER_DEFINES = @valgrind_path_defines@
173 203
179 209
180 # These files are to have specific diagnostics suppressed, or are not to 210 # These files are to have specific diagnostics suppressed, or are not to
181 # be subject to -Werror: 211 # be subject to -Werror:
182 # flex output may yield harmless "no previous prototype" warnings 212 # flex output may yield harmless "no previous prototype" warnings
183 build/gengtype-lex.o-warn = -Wno-error 213 build/gengtype-lex.o-warn = -Wno-error
184 # mips-tfile.c contains -Wcast-qual warnings. 214 gengtype-lex.o-warn = -Wno-error
185 mips-tfile.o-warn = -Wno-error 215 libgcov-util.o-warn = -Wno-error
186 expmed.o-warn = -Wno-error 216 libgcov-driver-tool.o-warn = -Wno-error
217 libgcov-merge-tool.o-warn = -Wno-error
218 gimple-match.o-warn = -Wno-unused
219 generic-match.o-warn = -Wno-unused
220 dfp.o-warn = -Wno-strict-aliasing
187 221
188 # All warnings have to be shut off in stage1 if the compiler used then 222 # All warnings have to be shut off in stage1 if the compiler used then
189 # isn't gcc; configure determines that. WARN_CFLAGS will be either 223 # isn't gcc; configure determines that. WARN_CFLAGS will be either
190 # $(GCC_WARN_CFLAGS), or nothing. Similarly, WARN_CXXFLAGS will be 224 # $(GCC_WARN_CFLAGS), or nothing. Similarly, WARN_CXXFLAGS will be
191 # either $(GCC_WARN_CXXFLAGS), or nothing. 225 # either $(GCC_WARN_CXXFLAGS), or nothing.
209 243
210 # Libraries to use on the host. 244 # Libraries to use on the host.
211 HOST_LIBS = @HOST_LIBS@ 245 HOST_LIBS = @HOST_LIBS@
212 246
213 # The name of the compiler to use. 247 # The name of the compiler to use.
214 ENABLE_BUILD_WITH_CXX = @ENABLE_BUILD_WITH_CXX@
215 ifneq ($(ENABLE_BUILD_WITH_CXX),yes)
216 COMPILER = $(CC)
217 COMPILER_FLAGS = $(CFLAGS)
218 LINKER = $(CC)
219 LINKER_FLAGS = $(CFLAGS)
220 else
221 COMPILER = $(CXX) 248 COMPILER = $(CXX)
222 COMPILER_FLAGS = $(CXXFLAGS) 249 COMPILER_FLAGS = $(CXXFLAGS)
223 # If HOST_LIBS is set, then the user is controlling the libraries to 250 # If HOST_LIBS is set, then the user is controlling the libraries to
224 # link against. In that case, link with $(CC) so that the -lstdc++ 251 # link against. In that case, link with $(CC) so that the -lstdc++
225 # library is not introduced. If HOST_LIBS is not set, link with 252 # library is not introduced. If HOST_LIBS is not set, link with
228 LINKER = $(CXX) 255 LINKER = $(CXX)
229 LINKER_FLAGS = $(CXXFLAGS) 256 LINKER_FLAGS = $(CXXFLAGS)
230 else 257 else
231 LINKER = $(CC) 258 LINKER = $(CC)
232 LINKER_FLAGS = $(CFLAGS) 259 LINKER_FLAGS = $(CFLAGS)
260 endif
261
262 NO_PIE_CFLAGS = @NO_PIE_CFLAGS@
263 NO_PIE_FLAG = @NO_PIE_FLAG@
264
265 # We don't want to compile the compilers with -fPIE, it make PCH fail.
266 COMPILER += $(NO_PIE_CFLAGS)
267
268 # Link with -no-pie since we compile the compiler with -fno-PIE.
269 LINKER += $(NO_PIE_FLAG)
270
271 # Like LINKER, but use a mutex for serializing front end links.
272 ifeq (@DO_LINK_MUTEX@,true)
273 LLINKER = $(SHELL) $(srcdir)/lock-and-run.sh linkfe.lck $(LINKER)
274 else
275 LLINKER = $(LINKER)
276 endif
277
278 THIN_ARCHIVE_SUPPORT = @thin_archive_support@
279
280 USE_THIN_ARCHIVES = no
281 ifeq ($(THIN_ARCHIVE_SUPPORT),yes)
282 ifeq ($(AR_FLAGS),rc)
283 ifeq ($(RANLIB_FLAGS),)
284 USE_THIN_ARCHIVES = yes
285 endif
233 endif 286 endif
234 endif 287 endif
235 288
236 # ------------------------------------------- 289 # -------------------------------------------
237 # Programs which operate on the build machine 290 # Programs which operate on the build machine
279 # Locate mkinstalldirs. 332 # Locate mkinstalldirs.
280 mkinstalldirs=$(SHELL) $(srcdir)/../mkinstalldirs 333 mkinstalldirs=$(SHELL) $(srcdir)/../mkinstalldirs
281 334
282 # write_entries_to_file - writes each entry in a list 335 # write_entries_to_file - writes each entry in a list
283 # to the specified file. Entries are written in chunks of 336 # to the specified file. Entries are written in chunks of
284 # $(write_entries_to_file_split) to accomodate systems with 337 # $(write_entries_to_file_split) to accommodate systems with
285 # severe command-line-length limitations. 338 # severe command-line-length limitations.
286 # Parameters: 339 # Parameters:
287 # $(1): variable containing entries to iterate over 340 # $(1): variable containing entries to iterate over
288 # $(2): output file 341 # $(2): output file
289 write_entries_to_file_split = 50 342 write_entries_to_file_split = 50
293 echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \ 346 echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
294 $(shell echo "$(wordlist $(range), \ 347 $(shell echo "$(wordlist $(range), \
295 $(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1))" \ 348 $(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1))" \
296 | tr ' ' '\012' >> $(2))) 349 | tr ' ' '\012' >> $(2)))
297 350
351 # The jit documentation looks better if built with sphinx, but can be
352 # built with texinfo if sphinx is not available.
353 # configure sets "doc_build_sys" to "sphinx" or "texinfo" accordingly
354 doc_build_sys=@doc_build_sys@
355
298 # -------- 356 # --------
299 # UNSORTED 357 # UNSORTED
300 # -------- 358 # --------
301 359
302 # Some compilers can't handle cc -c blah.c -o foo/blah.o. 360 # Dependency tracking stuff.
303 # In stage2 and beyond, we force this to "-o $@" since we know we're using gcc. 361 CXXDEPMODE = @CXXDEPMODE@
304 OUTPUT_OPTION = @OUTPUT_OPTION@ 362 DEPDIR = @DEPDIR@
363 depcomp = $(SHELL) $(srcdir)/../depcomp
364
365 # In the past we used AC_PROG_CC_C_O and set this properly, but
366 # it was discovered that this hadn't worked in a long time, so now
367 # we just hard-code.
368 OUTPUT_OPTION = -o $@
305 369
306 # This is where we get zlib from. zlibdir is -L../zlib and zlibinc is 370 # This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
307 # -I../zlib, unless we were configured with --with-system-zlib, in which 371 # -I../zlib, unless we were configured with --with-system-zlib, in which
308 # case both are empty. 372 # case both are empty.
309 ZLIB = @zlibdir@ -lz 373 ZLIB = @zlibdir@ -lz
311 375
312 # How to find GMP 376 # How to find GMP
313 GMPLIBS = @GMPLIBS@ 377 GMPLIBS = @GMPLIBS@
314 GMPINC = @GMPINC@ 378 GMPINC = @GMPINC@
315 379
316 # How to find PPL 380 # How to find isl.
317 PPLLIBS = @PPLLIBS@ 381 ISLLIBS = @ISLLIBS@
318 PPLINC = @PPLINC@ 382 ISLINC = @ISLINC@
319
320 # How to find CLOOG
321 CLOOGLIBS = @CLOOGLIBS@
322 CLOOGINC = @CLOOGINC@
323 383
324 # Set to 'yes' if the LTO front end is enabled. 384 # Set to 'yes' if the LTO front end is enabled.
325 enable_lto = @enable_lto@ 385 enable_lto = @enable_lto@
326 386
327 # Compiler and flags needed for plugin support 387 # Compiler and flags needed for plugin support
328 ifneq ($(ENABLE_BUILD_WITH_CXX),yes)
329 PLUGINCC = @CC@
330 PLUGINCFLAGS = @CFLAGS@
331 else
332 PLUGINCC = @CXX@ 388 PLUGINCC = @CXX@
333 PLUGINCFLAGS = @CXXFLAGS@ 389 PLUGINCFLAGS = @CXXFLAGS@
334 endif
335 390
336 # Libs and linker options needed for plugin support 391 # Libs and linker options needed for plugin support
337 PLUGINLIBS = @pluginlibs@ 392 PLUGINLIBS = @pluginlibs@
338 393
339 enable_plugin = @enable_plugin@ 394 enable_plugin = @enable_plugin@
395
396 enable_host_shared = @enable_host_shared@
397
398 enable_as_accelerator = @enable_as_accelerator@
340 399
341 CPPLIB = ../libcpp/libcpp.a 400 CPPLIB = ../libcpp/libcpp.a
342 CPPINC = -I$(srcdir)/../libcpp/include 401 CPPINC = -I$(srcdir)/../libcpp/include
343 402
344 # Where to find decNumber 403 # Where to find decNumber
345 enable_decimal_float = @enable_decimal_float@ 404 enable_decimal_float = @enable_decimal_float@
346 DECNUM = $(srcdir)/../libdecnumber 405 DECNUM = $(srcdir)/../libdecnumber
347 DECNUMFMT = $(srcdir)/../libdecnumber/$(enable_decimal_float) 406 DECNUMFMT = $(srcdir)/../libdecnumber/$(enable_decimal_float)
348 DECNUMINC = -I$(DECNUM) -I$(DECNUMFMT) -I../libdecnumber 407 DECNUMINC = -I$(DECNUM) -I$(DECNUMFMT) -I../libdecnumber
349 LIBDECNUMBER = ../libdecnumber/libdecnumber.a 408 LIBDECNUMBER = ../libdecnumber/libdecnumber.a
409
410 # The backtrace library.
411 BACKTRACE = $(srcdir)/../libbacktrace
412 BACKTRACEINC = -I$(BACKTRACE)
413 LIBBACKTRACE = ../libbacktrace/.libs/libbacktrace.a
350 414
351 # Target to use when installing include directory. Either 415 # Target to use when installing include directory. Either
352 # install-headers-tar, install-headers-cpio or install-headers-cp. 416 # install-headers-tar, install-headers-cpio or install-headers-cp.
353 INSTALL_HEADERS_DIR = @build_install_headers_dir@ 417 INSTALL_HEADERS_DIR = @build_install_headers_dir@
354 418
359 $(srcdir)/ginclude/stdarg.h \ 423 $(srcdir)/ginclude/stdarg.h \
360 $(srcdir)/ginclude/stdbool.h \ 424 $(srcdir)/ginclude/stdbool.h \
361 $(srcdir)/ginclude/stddef.h \ 425 $(srcdir)/ginclude/stddef.h \
362 $(srcdir)/ginclude/varargs.h \ 426 $(srcdir)/ginclude/varargs.h \
363 $(srcdir)/ginclude/stdfix.h \ 427 $(srcdir)/ginclude/stdfix.h \
428 $(srcdir)/ginclude/stdnoreturn.h \
429 $(srcdir)/ginclude/stdalign.h \
430 $(srcdir)/ginclude/stdatomic.h \
364 $(EXTRA_HEADERS) 431 $(EXTRA_HEADERS)
365 432
366 USER_H_INC_NEXT_PRE = @user_headers_inc_next_pre@ 433 USER_H_INC_NEXT_PRE = @user_headers_inc_next_pre@
367 USER_H_INC_NEXT_POST = @user_headers_inc_next_post@ 434 USER_H_INC_NEXT_POST = @user_headers_inc_next_post@
368
369 UNWIND_H = $(srcdir)/unwind-generic.h
370 435
371 # The GCC to use for compiling crt*.o. 436 # The GCC to use for compiling crt*.o.
372 # Usually the one we just built. 437 # Usually the one we just built.
373 # Don't use this as a dependency--use $(GCC_PASSES). 438 # Don't use this as a dependency--use $(GCC_PASSES).
374 GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./xgcc -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include -L$(objdir)/../ld 439 GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./xgcc -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include -L$(objdir)/../ld
440
441 # Set if the compiler was configured with --with-build-sysroot.
442 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
375 443
376 # This is used instead of ALL_CFLAGS when compiling with GCC_FOR_TARGET. 444 # This is used instead of ALL_CFLAGS when compiling with GCC_FOR_TARGET.
377 # It specifies -B./. 445 # It specifies -B./.
378 # It also specifies -isystem ./include to find, e.g., stddef.h. 446 # It also specifies -isystem ./include to find, e.g., stddef.h.
379 GCC_CFLAGS=$(CFLAGS_FOR_TARGET) $(INTERNAL_CFLAGS) $(T_CFLAGS) $(LOOSE_WARN) $(C_LOOSE_WARN) -Wold-style-definition $($@-warn) -isystem ./include $(TCFLAGS) 447 GCC_CFLAGS=$(CFLAGS_FOR_TARGET) $(INTERNAL_CFLAGS) $(T_CFLAGS) $(LOOSE_WARN) $(C_LOOSE_WARN) -Wold-style-definition $($@-warn) -isystem ./include $(TCFLAGS)
427 495
428 # Where to find some libiberty headers. 496 # Where to find some libiberty headers.
429 HASHTAB_H = $(srcdir)/../include/hashtab.h 497 HASHTAB_H = $(srcdir)/../include/hashtab.h
430 OBSTACK_H = $(srcdir)/../include/obstack.h 498 OBSTACK_H = $(srcdir)/../include/obstack.h
431 SPLAY_TREE_H= $(srcdir)/../include/splay-tree.h 499 SPLAY_TREE_H= $(srcdir)/../include/splay-tree.h
432 FIBHEAP_H = $(srcdir)/../include/fibheap.h
433 PARTITION_H = $(srcdir)/../include/partition.h
434 MD5_H = $(srcdir)/../include/md5.h 500 MD5_H = $(srcdir)/../include/md5.h
435 DWARF2_H = $(srcdir)/../include/dwarf2.h 501 XREGEX_H = $(srcdir)/../include/xregex.h
436 XREGEX_H = $(srcdir)/../include/xregex.h 502 FNMATCH_H = $(srcdir)/../include/fnmatch.h
437 503
438 # Linker plugin API headers 504 # Linker plugin API headers
439 LINKER_PLUGIN_API_H = $(srcdir)/../include/plugin-api.h 505 LINKER_PLUGIN_API_H = $(srcdir)/../include/plugin-api.h
440 LTO_SYMTAB_H = $(srcdir)/../include/lto-symtab.h
441 506
442 # Default native SYSTEM_HEADER_DIR, to be overridden by targets. 507 # Default native SYSTEM_HEADER_DIR, to be overridden by targets.
443 NATIVE_SYSTEM_HEADER_DIR = /usr/include 508 NATIVE_SYSTEM_HEADER_DIR = @NATIVE_SYSTEM_HEADER_DIR@
444 # Default cross SYSTEM_HEADER_DIR, to be overridden by targets. 509 # Default cross SYSTEM_HEADER_DIR, to be overridden by targets.
445 CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@ 510 CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
446 511
447 # autoconf sets SYSTEM_HEADER_DIR to one of the above. 512 # autoconf sets SYSTEM_HEADER_DIR to one of the above.
448 # Purge it of unneccessary internal relative paths 513 # Purge it of unnecessary internal relative paths
449 # to directories that might not exist yet. 514 # to directories that might not exist yet.
450 # The sed idiom for this is to repeat the search-and-replace until it doesn't match, using :a ... ta. 515 # The sed idiom for this is to repeat the search-and-replace until it doesn't match, using :a ... ta.
451 # Use single quotes here to avoid nested double- and backquotes, this 516 # Use single quotes here to avoid nested double- and backquotes, this
452 # macro is also used in a double-quoted context. 517 # macro is also used in a double-quoted context.
453 SYSTEM_HEADER_DIR = `echo @SYSTEM_HEADER_DIR@ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta` 518 SYSTEM_HEADER_DIR = `echo @SYSTEM_HEADER_DIR@ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`
454 519
520 # Path to the system headers on the build machine.
521 BUILD_SYSTEM_HEADER_DIR = `echo @BUILD_SYSTEM_HEADER_DIR@ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`
522
455 # Control whether to run fixincludes. 523 # Control whether to run fixincludes.
456 STMP_FIXINC = @STMP_FIXINC@ 524 STMP_FIXINC = @STMP_FIXINC@
457 525
458 # Test to see whether <limits.h> exists in the system header files. 526 # Test to see whether <limits.h> exists in the system header files.
459 LIMITS_H_TEST = [ -f $(SYSTEM_HEADER_DIR)/limits.h ] 527 LIMITS_H_TEST = [ -f $(BUILD_SYSTEM_HEADER_DIR)/limits.h ]
460 528
461 # Directory for prefix to system directories, for 529 # Directory for prefix to system directories, for
462 # each of $(system_prefix)/usr/include, $(system_prefix)/usr/lib, etc. 530 # each of $(system_prefix)/usr/include, $(system_prefix)/usr/lib, etc.
463 TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@ 531 TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
532 TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
464 533
465 xmake_file=@xmake_file@ 534 xmake_file=@xmake_file@
466 tmake_file=@tmake_file@ 535 tmake_file=@tmake_file@
467 TM_ENDIAN_CONFIG=@TM_ENDIAN_CONFIG@ 536 TM_ENDIAN_CONFIG=@TM_ENDIAN_CONFIG@
468 TM_MULTILIB_CONFIG=@TM_MULTILIB_CONFIG@ 537 TM_MULTILIB_CONFIG=@TM_MULTILIB_CONFIG@
469 TM_MULTILIB_EXCEPTIONS_CONFIG=@TM_MULTILIB_EXCEPTIONS_CONFIG@ 538 TM_MULTILIB_EXCEPTIONS_CONFIG=@TM_MULTILIB_EXCEPTIONS_CONFIG@
470 out_file=$(srcdir)/config/@out_file@ 539 out_file=$(srcdir)/config/@out_file@
471 out_object_file=@out_object_file@ 540 out_object_file=@out_object_file@
472 md_file=$(srcdir)/config/@md_file@ 541 common_out_file=$(srcdir)/common/config/@common_out_file@
542 common_out_object_file=@common_out_object_file@
543 md_file=$(srcdir)/common.md $(srcdir)/config/@md_file@
473 tm_file_list=@tm_file_list@ 544 tm_file_list=@tm_file_list@
474 tm_include_list=@tm_include_list@ 545 tm_include_list=@tm_include_list@
475 tm_defines=@tm_defines@ 546 tm_defines=@tm_defines@
476 tm_p_file_list=@tm_p_file_list@ 547 tm_p_file_list=@tm_p_file_list@
477 tm_p_include_list=@tm_p_include_list@ 548 tm_p_include_list=@tm_p_include_list@
482 host_xm_include_list=@host_xm_include_list@ 553 host_xm_include_list=@host_xm_include_list@
483 host_xm_defines=@host_xm_defines@ 554 host_xm_defines=@host_xm_defines@
484 xm_file_list=@xm_file_list@ 555 xm_file_list=@xm_file_list@
485 xm_include_list=@xm_include_list@ 556 xm_include_list=@xm_include_list@
486 xm_defines=@xm_defines@ 557 xm_defines=@xm_defines@
487 lang_checks=check-gcc 558 lang_checks=
488 lang_checks_parallelized=check-gcc 559 lang_checks_parallelized=
489 # This lists a couple of test files that take most time during check-gcc.
490 # When doing parallelized check-gcc, these can run in parallel with the
491 # remaining tests. Each word in this variable stands for work for one
492 # make goal and one extra make goal is added to handle all the *.exp
493 # files not handled explicitly already. If multiple *.exp files
494 # should be run in the same runtest invocation (usually if they aren't
495 # very long running, but still should be split of from the check-parallel-$lang
496 # remaining tests runtest invocation), they should be concatenated with commas.
497 # Note that [a-zA-Z] wildcards need to have []s prefixed with \ (needed
498 # by tcl) and as the *.exp arguments are mached both as is and with
499 # */ prefixed to it in runtest_file_p, it is usually desirable to include
500 # a subdirectory name.
501 check_gcc_parallelize=execute.exp=execute/2* \
502 execute.exp=execute/\[013-9a-zA-Z\]* \
503 compile.exp dg.exp \
504 dg-torture.exp,builtins.exp \
505 struct-layout-1.exp,unsorted.exp,stackalign.exp,i386.exp
506 lang_opt_files=@lang_opt_files@ $(srcdir)/c-family/c.opt $(srcdir)/common.opt 560 lang_opt_files=@lang_opt_files@ $(srcdir)/c-family/c.opt $(srcdir)/common.opt
507 lang_specs_files=@lang_specs_files@ 561 lang_specs_files=@lang_specs_files@
508 lang_tree_files=@lang_tree_files@ 562 lang_tree_files=@lang_tree_files@
509 target_cpu_default=@target_cpu_default@ 563 target_cpu_default=@target_cpu_default@
510 GCC_THREAD_FILE=@thread_file@
511 OBJC_BOEHM_GC=@objc_boehm_gc@ 564 OBJC_BOEHM_GC=@objc_boehm_gc@
512 GTHREAD_FLAGS=@gthread_flags@
513 extra_modes_file=@extra_modes_file@ 565 extra_modes_file=@extra_modes_file@
514 extra_opt_files=@extra_opt_files@ 566 extra_opt_files=@extra_opt_files@
515 host_hook_obj=@out_host_hook_obj@ 567 host_hook_obj=@out_host_hook_obj@
568
569 # Multiarch support
570 enable_multiarch = @enable_multiarch@
571 with_cpu = @with_cpu@
572 with_float = @with_float@
573 ifeq ($(enable_multiarch),yes)
574 if_multiarch = $(1)
575 else
576 ifeq ($(enable_multiarch),auto)
577 # SYSTEM_HEADER_DIR is makefile syntax, cannot be evaluated in configure.ac
578 if_multiarch = $(if $(wildcard $(shell echo $(BUILD_SYSTEM_HEADER_DIR))/../../usr/lib/*/crti.o),$(1))
579 else
580 if_multiarch =
581 endif
582 endif
516 583
517 # ------------------------ 584 # ------------------------
518 # Installation directories 585 # Installation directories
519 # ------------------------ 586 # ------------------------
520 587
538 # -------- 605 # --------
539 # UNSORTED 606 # UNSORTED
540 # -------- 607 # --------
541 608
542 # Directory in which the compiler finds libraries etc. 609 # Directory in which the compiler finds libraries etc.
543 libsubdir = $(libdir)/gcc/$(target_noncanonical)/$(version) 610 libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
544 # Directory in which the compiler finds executables 611 # Directory in which the compiler finds executables
545 libexecsubdir = $(libexecdir)/gcc/$(target_noncanonical)/$(version) 612 libexecsubdir = $(libexecdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
546 # Directory in which plugin headers are installed 613 # Directory in which all plugin resources are installed
547 plugin_includedir = $(libsubdir)/plugin/include 614 plugin_resourcesdir = $(libsubdir)/plugin
615 # Directory in which plugin headers are installed
616 plugin_includedir = $(plugin_resourcesdir)/include
617 # Directory in which plugin specific executables are installed
618 plugin_bindir = $(libexecsubdir)/plugin
548 # Used to produce a relative $(gcc_tooldir) in gcc.o 619 # Used to produce a relative $(gcc_tooldir) in gcc.o
620 ifeq ($(enable_as_accelerator),yes)
621 unlibsubdir = ../../../../..
622 else
549 unlibsubdir = ../../.. 623 unlibsubdir = ../../..
624 endif
550 # $(prefix), expressed as a path relative to $(libsubdir). 625 # $(prefix), expressed as a path relative to $(libsubdir).
551 # 626 #
552 # An explanation of the sed strings: 627 # An explanation of the sed strings:
553 # -e 's|^$(prefix)||' matches and eliminates 'prefix' from 'exec_prefix' 628 # -e 's|^$(prefix)||' matches and eliminates 'prefix' from 'exec_prefix'
554 # -e 's|/$$||' match a trailing forward slash and eliminates it 629 # -e 's|/$$||' match a trailing forward slash and eliminates it
579 sed -e 's|^$(prefix)||' -e 's|^/||' -e '/./s|$$|/|') 654 sed -e 's|^$(prefix)||' -e 's|^/||' -e '/./s|$$|/|')
580 # Directory in which to find other cross-compilation tools and headers. 655 # Directory in which to find other cross-compilation tools and headers.
581 dollar = @dollar@ 656 dollar = @dollar@
582 # Used in install-cross. 657 # Used in install-cross.
583 gcc_tooldir = @gcc_tooldir@ 658 gcc_tooldir = @gcc_tooldir@
584 # Used to install the shared libgcc.
585 slibdir = @slibdir@
586 # Since gcc_tooldir does not exist at build-time, use -B$(build_tooldir)/bin/ 659 # Since gcc_tooldir does not exist at build-time, use -B$(build_tooldir)/bin/
587 build_tooldir = $(exec_prefix)/$(target_noncanonical) 660 build_tooldir = $(exec_prefix)/$(target_noncanonical)
588 # Directory in which the compiler finds target-independent g++ includes. 661 # Directory in which the compiler finds target-independent g++ includes.
589 gcc_gxx_include_dir = @gcc_gxx_include_dir@ 662 gcc_gxx_include_dir = @gcc_gxx_include_dir@
663 gcc_gxx_include_dir_add_sysroot = @gcc_gxx_include_dir_add_sysroot@
590 # Directory to search for site-specific includes. 664 # Directory to search for site-specific includes.
591 local_includedir = $(local_prefix)/include 665 local_includedir = $(local_prefix)/include
592 includedir = $(prefix)/include 666 includedir = $(prefix)/include
593 # where the info files go 667 # where the info files go
594 infodir = @infodir@ 668 infodir = @infodir@
627 701
628 # Character encoding conversion library. 702 # Character encoding conversion library.
629 LIBICONV = @LIBICONV@ 703 LIBICONV = @LIBICONV@
630 LIBICONV_DEP = @LIBICONV_DEP@ 704 LIBICONV_DEP = @LIBICONV_DEP@
631 705
632 # The GC method to be used on this system.
633 GGC=@GGC@.o
634
635 # If a supplementary library is being used for the GC. 706 # If a supplementary library is being used for the GC.
636 GGC_LIB= 707 GGC_LIB=
637 708
638 # "true" if the target C library headers are unavailable; "false" 709 # "true" if the target C library headers are unavailable; "false"
639 # otherwise. 710 # otherwise.
640 inhibit_libc = @inhibit_libc@ 711 inhibit_libc = @inhibit_libc@
641 ifeq ($(inhibit_libc),true) 712 ifeq ($(inhibit_libc),true)
642 INHIBIT_LIBC_CFLAGS = -Dinhibit_libc 713 INHIBIT_LIBC_CFLAGS = -Dinhibit_libc
643 endif 714 endif
644 715
645 # Options to use when compiling libgcc2.a.
646 #
647 LIBGCC2_DEBUG_CFLAGS = -g
648 LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) \
649 $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) \
650 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
651 -fno-stack-protector \
652 $(INHIBIT_LIBC_CFLAGS)
653
654 # Additional options to use when compiling libgcc2.a.
655 # Some targets override this to -isystem include
656 LIBGCC2_INCLUDES =
657
658 # Additional target-dependent options for compiling libgcc2.a.
659 TARGET_LIBGCC2_CFLAGS =
660
661 # Options to use when compiling crtbegin/end.
662 CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \
663 -finhibit-size-directive -fno-inline -fno-exceptions \
664 -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize \
665 -fno-stack-protector \
666 $(INHIBIT_LIBC_CFLAGS)
667
668 # Additional sources to handle exceptions; overridden by targets as needed.
669 LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde.c \
670 $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c
671 LIB2ADDEHSTATIC = $(LIB2ADDEH)
672 LIB2ADDEHSHARED = $(LIB2ADDEH)
673 LIB2ADDEHDEP = $(UNWIND_H) unwind-pe.h unwind.inc unwind-dw2-fde.h unwind-dw2.h
674
675 # Don't build libunwind by default.
676 LIBUNWIND =
677 LIBUNWINDDEP =
678 SHLIBUNWIND_LINK =
679 SHLIBUNWIND_INSTALL =
680
681 # nm flags to list global symbols in libgcc object files.
682 SHLIB_NM_FLAGS = -pg
683
684 # List of extra executables that should be compiled for this target machine 716 # List of extra executables that should be compiled for this target machine
685 # that are used for compiling from source code to object code. 717 # that are used when linking.
686 # The rules for compiling them should be in the t-* file for the machine. 718 # The rules for compiling them should be in the t-* file for the machine.
687 EXTRA_PASSES =@extra_passes@
688
689 # Like EXTRA_PASSES, but these are used when linking.
690 EXTRA_PROGRAMS = @extra_programs@ 719 EXTRA_PROGRAMS = @extra_programs@
691
692 # List of extra object files that should be compiled for this target machine.
693 # The rules for compiling them should be in the t-* file for the machine.
694 EXTRA_PARTS = @extra_parts@
695 720
696 # List of extra object files that should be compiled and linked with 721 # List of extra object files that should be compiled and linked with
697 # compiler proper (cc1, cc1obj, cc1plus). 722 # compiler proper (cc1, cc1obj, cc1plus).
698 EXTRA_OBJS = @extra_objs@ 723 EXTRA_OBJS = @extra_objs@
699 724
700 # List of extra object files that should be compiled and linked with 725 # List of extra object files that should be compiled and linked with
701 # the gcc driver. 726 # the gcc driver.
702 EXTRA_GCC_OBJS =@extra_gcc_objs@ 727 EXTRA_GCC_OBJS =@extra_gcc_objs@
728
729 # List of extra libraries that should be linked with the gcc driver.
730 EXTRA_GCC_LIBS = @EXTRA_GCC_LIBS@
703 731
704 # List of additional header files to install. 732 # List of additional header files to install.
705 EXTRA_HEADERS =@extra_headers_list@ 733 EXTRA_HEADERS =@extra_headers_list@
706 734
707 # How to handle <stdint.h>. 735 # How to handle <stdint.h>.
709 737
710 # The configure script will set this to collect2$(exeext), except on a 738 # The configure script will set this to collect2$(exeext), except on a
711 # (non-Unix) host which can not build collect2, for which it will be 739 # (non-Unix) host which can not build collect2, for which it will be
712 # set to empty. 740 # set to empty.
713 COLLECT2 = @collect2@ 741 COLLECT2 = @collect2@
714
715 # List of extra C and assembler files to add to static and shared libgcc2.
716 # Assembler files should have names ending in `.asm'.
717 LIB2FUNCS_EXTRA =
718
719 # List of extra C and assembler files to add to static libgcc2.
720 # Assembler files should have names ending in `.asm'.
721 LIB2FUNCS_STATIC_EXTRA =
722
723 # List of functions not to build from libgcc2.c.
724 LIB2FUNCS_EXCLUDE =
725
726 # Target sfp-machine.h file.
727 SFP_MACHINE =
728 742
729 # Program to convert libraries. 743 # Program to convert libraries.
730 LIBCONVERT = 744 LIBCONVERT =
731 745
732 # Control whether header files are installed. 746 # Control whether header files are installed.
745 # header files, but are not searched automatically by default. 759 # header files, but are not searched automatically by default.
746 # On most systems, this is empty. 760 # On most systems, this is empty.
747 OTHER_FIXINCLUDES_DIRS= 761 OTHER_FIXINCLUDES_DIRS=
748 762
749 # A list of all the language-specific executables. 763 # A list of all the language-specific executables.
750 COMPILERS = cc1$(exeext) @all_compilers@ 764 COMPILERS = @all_compilers@
751 765
752 # List of things which should already be built whenever we try to use xgcc 766 # List of things which should already be built whenever we try to use xgcc
753 # to compile anything (without linking). 767 # to compile anything (without linking).
754 GCC_PASSES=xgcc$(exeext) cc1$(exeext) specs $(EXTRA_PASSES) 768 GCC_PASSES=xgcc$(exeext) specs
755 769
756 # Directory to link to, when using the target `maketest'. 770 # Directory to link to, when using the target `maketest'.
757 DIR = ../gcc 771 DIR = ../gcc
758 772
759 # Native compiler for the build machine and its switches. 773 # Native compiler for the build machine and its switches.
760 CC_FOR_BUILD = @CC_FOR_BUILD@ 774 CC_FOR_BUILD = @CC_FOR_BUILD@
775 CXX_FOR_BUILD = @CXX_FOR_BUILD@
776 NO_PIE_CFLAGS_FOR_BUILD = @NO_PIE_CFLAGS_FOR_BUILD@
777 NO_PIE_FLAG_FOR_BUILD = @NO_PIE_FLAG_FOR_BUILD@
761 BUILD_CFLAGS= @BUILD_CFLAGS@ -DGENERATOR_FILE 778 BUILD_CFLAGS= @BUILD_CFLAGS@ -DGENERATOR_FILE
779 BUILD_CXXFLAGS = @BUILD_CXXFLAGS@ -DGENERATOR_FILE
780 BUILD_NO_PIE_CFLAGS = @BUILD_NO_PIE_CFLAGS@
781 BUILD_CFLAGS += $(BUILD_NO_PIE_CFLAGS)
782 BUILD_CXXFLAGS += $(BUILD_NO_PIE_CFLAGS)
762 783
763 # Native compiler that we use. This may be C++ some day. 784 # Native compiler that we use. This may be C++ some day.
764 COMPILER_FOR_BUILD = $(CC_FOR_BUILD) 785 COMPILER_FOR_BUILD = $(CXX_FOR_BUILD)
765 BUILD_COMPILERFLAGS = $(BUILD_CFLAGS) 786 BUILD_COMPILERFLAGS = $(BUILD_CXXFLAGS)
766 787
767 # Native linker that we use. 788 # Native linker that we use.
768 LINKER_FOR_BUILD = $(CC_FOR_BUILD) 789 LINKER_FOR_BUILD = $(CXX_FOR_BUILD)
769 BUILD_LINKERFLAGS = $(BUILD_CFLAGS) 790 BUILD_LINKERFLAGS = $(BUILD_CXXFLAGS)
770 791
771 # Native linker and preprocessor flags. For x-fragment overrides. 792 # Native linker and preprocessor flags. For x-fragment overrides.
772 BUILD_LDFLAGS=@BUILD_LDFLAGS@ 793 BUILD_LDFLAGS=@BUILD_LDFLAGS@
773 BUILD_CPPFLAGS=$(ALL_CPPFLAGS) 794 BUILD_NO_PIE_FLAG = @BUILD_NO_PIE_FLAG@
795 BUILD_LDFLAGS += $(BUILD_NO_PIE_FLAG)
796 BUILD_CPPFLAGS= -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
797 -I$(srcdir)/../include @INCINTL@ $(CPPINC) $(CPPFLAGS)
774 798
775 # Actual name to use when installing a native compiler. 799 # Actual name to use when installing a native compiler.
776 GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)') 800 GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
777 GCC_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo gcc|sed '$(program_transform_name)') 801 GCC_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo gcc|sed '$(program_transform_name)')
778 CPP_INSTALL_NAME := $(shell echo cpp|sed '$(program_transform_name)') 802 CPP_INSTALL_NAME := $(shell echo cpp|sed '$(program_transform_name)')
779 GCOV_INSTALL_NAME := $(shell echo gcov|sed '$(program_transform_name)') 803 GCOV_INSTALL_NAME := $(shell echo gcov|sed '$(program_transform_name)')
804 GCOV_TOOL_INSTALL_NAME := $(shell echo gcov-tool|sed '$(program_transform_name)')
805 GCOV_DUMP_INSTALL_NAME := $(shell echo gcov-dump|sed '$(program_transform_name)')
780 806
781 # Setup the testing framework, if you have one 807 # Setup the testing framework, if you have one
782 EXPECT = `if [ -f $${rootme}/../expect/expect ] ; then \ 808 EXPECT = `if [ -f $${rootme}/../expect/expect ] ; then \
783 echo $${rootme}/../expect/expect ; \ 809 echo $${rootme}/../expect/expect ; \
784 else echo expect ; fi` 810 else echo expect ; fi`
785 811
786 RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \ 812 RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
787 echo $${srcdir}/../dejagnu/runtest ; \ 813 echo $${srcdir}/../dejagnu/runtest ; \
788 else echo runtest; fi` 814 else echo runtest; fi`
789 RUNTESTFLAGS = 815 RUNTESTFLAGS =
790
791 # Extra flags to use when compiling crt{begin,end}.o.
792 CRTSTUFF_T_CFLAGS =
793
794 # Extra flags to use when compiling [m]crt0.o.
795 CRT0STUFF_T_CFLAGS =
796
797 # "t" or nothing, for building multilibbed versions of, say, crtbegin.o.
798 T =
799
800 # Should T contain a `=', libgcc/Makefile will make T_TARGET, setting
801 # $(T_TARGET) to the name of the actual target filename.
802 T_TARGET =
803 T_TARGET : $(T_TARGET)
804 816
805 # This should name the specs file that we're going to install. Target 817 # This should name the specs file that we're going to install. Target
806 # Makefiles may override it and name another file to be generated from 818 # Makefiles may override it and name another file to be generated from
807 # the built-in specs and installed as the default spec, as long as 819 # the built-in specs and installed as the default spec, as long as
808 # they also introduce a rule to generate a file name specs, to be used 820 # they also introduce a rule to generate a file name specs, to be used
813 # the .opt files 825 # the .opt files
814 OPTIONS_H_EXTRA = 826 OPTIONS_H_EXTRA =
815 827
816 # Extra include files that are defined by SourceInclude directives in 828 # Extra include files that are defined by SourceInclude directives in
817 # the .opt files 829 # the .opt files
818 OPTIONS_C_EXTRA = 830 OPTIONS_C_EXTRA = $(PRETTY_PRINT_H)
819 831
820 @option_includes@ 832 @option_includes@
821 833
822 # End of variables for you to override. 834 # End of variables for you to override.
823 835
846 REVISION := 858 REVISION :=
847 else 859 else
848 REVISION_c := $(shell cat $(REVISION)) 860 REVISION_c := $(shell cat $(REVISION))
849 endif 861 endif
850 862
851 version := $(BASEVER_c) 863 version := $(shell @get_gcc_base_ver@ $(BASEVER))
864
865 PATCHLEVEL_c := \
866 $(shell echo $(BASEVER_c) | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$$/\1/')
867
852 868
853 # For use in version.c - double quoted strings, with appropriate 869 # For use in version.c - double quoted strings, with appropriate
854 # surrounding punctuation and spaces, and with the datestamp and 870 # surrounding punctuation and spaces, and with the datestamp and
855 # development phase collapsed to the empty string in release mode 871 # development phase collapsed to the empty string in release mode
856 # (i.e. if DEVPHASE_c is empty). The space immediately after the 872 # (i.e. if DEVPHASE_c is empty and PATCHLEVEL_c is 0). The space
857 # comma in the $(if ...) constructs is significant - do not remove it. 873 # immediately after the comma in the $(if ...) constructs is
874 # significant - do not remove it.
858 BASEVER_s := "\"$(BASEVER_c)\"" 875 BASEVER_s := "\"$(BASEVER_c)\""
859 DEVPHASE_s := "\"$(if $(DEVPHASE_c), ($(DEVPHASE_c)))\"" 876 DEVPHASE_s := "\"$(if $(DEVPHASE_c), ($(DEVPHASE_c)))\""
860 DATESTAMP_s := "\"$(if $(DEVPHASE_c), $(DATESTAMP_c))\"" 877 DATESTAMP_s := \
878 "\"$(if $(DEVPHASE_c)$(filter-out 0,$(PATCHLEVEL_c)), $(DATESTAMP_c))\""
861 PKGVERSION_s:= "\"@PKGVERSION@\"" 879 PKGVERSION_s:= "\"@PKGVERSION@\""
862 BUGURL_s := "\"@REPORT_BUGS_TO@\"" 880 BUGURL_s := "\"@REPORT_BUGS_TO@\""
863 881
864 PKGVERSION := @PKGVERSION@ 882 PKGVERSION := @PKGVERSION@
865 BUGURL_TEXI := @REPORT_BUGS_TEXI@ 883 BUGURL_TEXI := @REPORT_BUGS_TEXI@
866 884
867 ifdef REVISION_c 885 ifdef REVISION_c
868 REVISION_s := "\"$(if $(DEVPHASE_c), $(REVISION_c))\"" 886 REVISION_s := \
887 "\"$(if $(DEVPHASE_c)$(filter-out 0,$(PATCHLEVEL_c)), $(REVISION_c))\""
869 else 888 else
870 REVISION_s := "\"\"" 889 REVISION_s := "\"\""
871 endif 890 endif
872 891
873 # Shorthand variables for dependency lists. 892 # Shorthand variables for dependency lists.
874 VEC_H = vec.h statistics.h 893 DUMPFILE_H = $(srcdir)/../libcpp/include/line-map.h dumpfile.h
875 EXCEPT_H = except.h $(HASHTAB_H) vecprim.h vecir.h 894 VEC_H = vec.h statistics.h $(GGC_H)
876 TARGET_H = $(TM_H) target.h target.def insn-modes.h 895 HASH_TABLE_H = $(HASHTAB_H) hash-table.h $(GGC_H)
877 MACHMODE_H = machmode.h mode-classes.def insn-modes.h 896 EXCEPT_H = except.h $(HASHTAB_H)
878 HOOKS_H = hooks.h $(MACHMODE_H) 897 TARGET_DEF = target.def target-hooks-macros.h target-insns.def
898 C_TARGET_DEF = c-family/c-target.def target-hooks-macros.h
899 COMMON_TARGET_DEF = common/common-target.def target-hooks-macros.h
900 TARGET_H = $(TM_H) target.h $(TARGET_DEF) insn-modes.h insn-codes.h
901 C_TARGET_H = c-family/c-target.h $(C_TARGET_DEF)
902 COMMON_TARGET_H = common/common-target.h $(INPUT_H) $(COMMON_TARGET_DEF)
903 MACHMODE_H = machmode.h mode-classes.def
904 HOOKS_H = hooks.h
879 HOSTHOOKS_DEF_H = hosthooks-def.h $(HOOKS_H) 905 HOSTHOOKS_DEF_H = hosthooks-def.h $(HOOKS_H)
880 LANGHOOKS_DEF_H = langhooks-def.h $(HOOKS_H) 906 LANGHOOKS_DEF_H = langhooks-def.h $(HOOKS_H)
881 TARGET_DEF_H = target-def.h target-hooks-def.h $(HOOKS_H) targhooks.h 907 TARGET_DEF_H = target-def.h target-hooks-def.h $(HOOKS_H) targhooks.h
882 RTL_BASE_H = rtl.h rtl.def $(MACHMODE_H) reg-notes.def insn-notes.def \ 908 C_TARGET_DEF_H = c-family/c-target-def.h c-family/c-target-hooks-def.h \
883 $(INPUT_H) $(REAL_H) statistics.h $(VEC_H) $(FIXED_VALUE_H) alias.h \ 909 $(TREE_H) $(C_COMMON_H) $(HOOKS_H) common/common-targhooks.h
884 $(HASHTAB_H) 910 CORETYPES_H = coretypes.h insn-modes.h signop.h wide-int.h wide-int-print.h \
885 FIXED_VALUE_H = fixed-value.h $(MACHMODE_H) double-int.h 911 insn-modes-inline.h $(MACHMODE_H) double-int.h
886 RTL_H = $(RTL_BASE_H) genrtl.h vecir.h 912 RTL_BASE_H = $(CORETYPES_H) rtl.h rtl.def reg-notes.def \
887 RTL_ERROR_H = $(RTL_H) $(DIAGNOSTIC_CORE_H) 913 insn-notes.def $(INPUT_H) $(REAL_H) statistics.h $(VEC_H) \
914 $(FIXED_VALUE_H) alias.h $(HASHTAB_H)
915 FIXED_VALUE_H = fixed-value.h
916 RTL_H = $(RTL_BASE_H) $(FLAGS_H) genrtl.h
888 READ_MD_H = $(OBSTACK_H) $(HASHTAB_H) read-md.h 917 READ_MD_H = $(OBSTACK_H) $(HASHTAB_H) read-md.h
889 PARAMS_H = params.h params.def 918 PARAMS_H = params.h params-enum.h params.def
890 BUILTINS_DEF = builtins.def sync-builtins.def omp-builtins.def 919 BUILTINS_DEF = builtins.def sync-builtins.def omp-builtins.def \
891 TREE_H = tree.h all-tree.def tree.def c-family/c-common.def \ 920 gtm-builtins.def sanitizer.def cilkplus.def cilk-builtins.def \
892 $(lang_tree_files) $(MACHMODE_H) tree-check.h $(BUILTINS_DEF) \ 921 hsa-builtins.def
893 $(INPUT_H) statistics.h $(VEC_H) treestruct.def $(HASHTAB_H) \ 922 INTERNAL_FN_DEF = internal-fn.def
894 double-int.h alias.h $(SYMTAB_H) $(FLAGS_H) vecir.h \ 923 INTERNAL_FN_H = internal-fn.h $(INTERNAL_FN_DEF)
924 TREE_CORE_H = tree-core.h $(CORETYPES_H) all-tree.def tree.def \
925 c-family/c-common.def $(lang_tree_files) \
926 $(BUILTINS_DEF) $(INPUT_H) statistics.h \
927 $(VEC_H) treestruct.def $(HASHTAB_H) \
928 alias.h $(SYMTAB_H) $(FLAGS_H) \
895 $(REAL_H) $(FIXED_VALUE_H) 929 $(REAL_H) $(FIXED_VALUE_H)
930 TREE_H = tree.h $(TREE_CORE_H) tree-check.h
896 REGSET_H = regset.h $(BITMAP_H) hard-reg-set.h 931 REGSET_H = regset.h $(BITMAP_H) hard-reg-set.h
897 BASIC_BLOCK_H = basic-block.h $(PREDICT_H) $(VEC_H) $(FUNCTION_H) cfghooks.h 932 BASIC_BLOCK_H = basic-block.h $(PREDICT_H) $(VEC_H) $(FUNCTION_H) \
898 GIMPLE_H = gimple.h gimple.def gsstruct.def pointer-set.h $(VEC_H) \ 933 cfg-flags.def cfghooks.h profile-count.h
899 $(GGC_H) $(BASIC_BLOCK_H) $(TARGET_H) tree-ssa-operands.h \ 934 GIMPLE_H = gimple.h gimple.def gsstruct.def $(VEC_H) \
900 tree-ssa-alias.h vecir.h 935 $(GGC_H) $(BASIC_BLOCK_H) $(TREE_H) tree-ssa-operands.h \
901 GCOV_IO_H = gcov-io.h gcov-iov.h auto-host.h 936 tree-ssa-alias.h $(INTERNAL_FN_H) $(HASH_TABLE_H) is-a.h
902 COVERAGE_H = coverage.h $(GCOV_IO_H) 937 GCOV_IO_H = gcov-io.h gcov-iov.h auto-host.h gcov-counter.def
903 DEMANGLE_H = $(srcdir)/../include/demangle.h
904 RECOG_H = recog.h 938 RECOG_H = recog.h
905 ALIAS_H = alias.h coretypes.h
906 EMIT_RTL_H = emit-rtl.h 939 EMIT_RTL_H = emit-rtl.h
907 FLAGS_H = flags.h coretypes.h flag-types.h $(OPTIONS_H) 940 FLAGS_H = flags.h flag-types.h $(OPTIONS_H)
908 OPTIONS_H = options.h flag-types.h $(OPTIONS_H_EXTRA) 941 OPTIONS_H = options.h flag-types.h $(OPTIONS_H_EXTRA)
909 FUNCTION_H = function.h $(TREE_H) $(HASHTAB_H) vecprim.h $(TM_H) hard-reg-set.h 942 FUNCTION_H = function.h $(HASHTAB_H) $(TM_H) hard-reg-set.h \
910 EXPR_H = expr.h insn-config.h $(FUNCTION_H) $(RTL_H) $(FLAGS_H) $(TREE_H) $(MACHMODE_H) $(EMIT_RTL_H) 943 $(VEC_H) $(INPUT_H)
911 OPTABS_H = optabs.h insn-codes.h 944 EXPR_H = expr.h insn-config.h $(FUNCTION_H) $(RTL_H) $(FLAGS_H) $(TREE_H) \
912 REGS_H = regs.h $(MACHMODE_H) hard-reg-set.h 945 $(EMIT_RTL_H)
913 SCHED_INT_H = sched-int.h $(INSN_ATTR_H) $(BASIC_BLOCK_H) $(RTL_H) $(DF_H) \ 946 OPTABS_H = optabs.h insn-codes.h insn-opinit.h
914 vecprim.h $(REGSET_H) 947 REGS_H = regs.h hard-reg-set.h
915 SEL_SCHED_IR_H = sel-sched-ir.h $(INSN_ATTR_H) $(BASIC_BLOCK_H) $(RTL_H) \ 948 CFGLOOP_H = cfgloop.h $(BASIC_BLOCK_H) $(BITMAP_H) sbitmap.h
916 $(GGC_H) $(BITMAP_H) vecprim.h $(SCHED_INT_H) $(CFGLOOP_H) $(REGSET_H)
917 SEL_SCHED_DUMP_H = sel-sched-dump.h $(SEL_SCHED_IR_H)
918 INTEGRATE_H = integrate.h
919 CFGLAYOUT_H = cfglayout.h $(BASIC_BLOCK_H)
920 CFGLOOP_H = cfgloop.h $(BASIC_BLOCK_H) $(RTL_H) vecprim.h double-int.h \
921 $(BITMAP_H) sbitmap.h
922 IPA_UTILS_H = ipa-utils.h $(TREE_H) $(CGRAPH_H) 949 IPA_UTILS_H = ipa-utils.h $(TREE_H) $(CGRAPH_H)
923 IPA_REFERENCE_H = ipa-reference.h $(BITMAP_H) $(TREE_H) 950 IPA_REFERENCE_H = ipa-reference.h $(BITMAP_H) $(TREE_H)
924 IPA_TYPE_ESCAPE_H = ipa-type-escape.h $(TREE_H)
925 CGRAPH_H = cgraph.h $(VEC_H) $(TREE_H) $(BASIC_BLOCK_H) $(FUNCTION_H) \ 951 CGRAPH_H = cgraph.h $(VEC_H) $(TREE_H) $(BASIC_BLOCK_H) $(FUNCTION_H) \
926 cif-code.def ipa-ref.h ipa-ref-inline.h $(LINKER_PLUGIN_API_H) 952 cif-code.def ipa-ref.h $(LINKER_PLUGIN_API_H) is-a.h
927 DF_H = df.h $(BITMAP_H) $(REGSET_H) sbitmap.h $(BASIC_BLOCK_H) \ 953 DF_H = df.h $(BITMAP_H) $(REGSET_H) sbitmap.h $(BASIC_BLOCK_H) \
928 alloc-pool.h $(TIMEVAR_H) 954 alloc-pool.h $(TIMEVAR_H)
929 RESOURCE_H = resource.h hard-reg-set.h $(DF_H) 955 RESOURCE_H = resource.h hard-reg-set.h $(DF_H)
930 DDG_H = ddg.h sbitmap.h $(DF_H)
931 GCC_H = gcc.h version.h $(DIAGNOSTIC_CORE_H) 956 GCC_H = gcc.h version.h $(DIAGNOSTIC_CORE_H)
932 GGC_H = ggc.h gtype-desc.h statistics.h 957 GGC_H = ggc.h gtype-desc.h statistics.h
933 GGC_INTERNAL_H = ggc-internal.h $(GGC_H)
934 TIMEVAR_H = timevar.h timevar.def 958 TIMEVAR_H = timevar.h timevar.def
935 INSN_ATTR_H = insn-attr.h $(INSN_ADDR_H) 959 INSN_ATTR_H = insn-attr.h insn-attr-common.h $(INSN_ADDR_H)
936 INSN_ADDR_H = $(srcdir)/insn-addr.h vecprim.h 960 INSN_ADDR_H = $(srcdir)/insn-addr.h
937 C_COMMON_H = c-family/c-common.h c-family/c-common.def \ 961 C_COMMON_H = c-family/c-common.h c-family/c-common.def $(TREE_H) \
938 $(SPLAY_TREE_H) $(CPPLIB_H) $(GGC_H) $(DIAGNOSTIC_CORE_H) 962 $(SPLAY_TREE_H) $(CPPLIB_H) $(GGC_H) $(DIAGNOSTIC_CORE_H)
939 C_PRAGMA_H = c-family/c-pragma.h $(CPPLIB_H) 963 C_PRAGMA_H = c-family/c-pragma.h $(CPPLIB_H)
940 C_TREE_H = c-tree.h $(C_COMMON_H) $(DIAGNOSTIC_H) 964 C_TREE_H = c/c-tree.h $(C_COMMON_H) $(DIAGNOSTIC_H)
941 SYSTEM_H = system.h hwint.h $(srcdir)/../include/libiberty.h \ 965 SYSTEM_H = system.h hwint.h $(srcdir)/../include/libiberty.h \
942 $(srcdir)/../include/safe-ctype.h $(srcdir)/../include/filenames.h 966 $(srcdir)/../include/safe-ctype.h $(srcdir)/../include/filenames.h
943 PREDICT_H = predict.h predict.def 967 PREDICT_H = predict.h predict.def
944 CPPLIB_H = $(srcdir)/../libcpp/include/line-map.h \ 968 CPPLIB_H = $(srcdir)/../libcpp/include/line-map.h \
945 $(srcdir)/../libcpp/include/cpplib.h 969 $(srcdir)/../libcpp/include/cpplib.h
946 INPUT_H = $(srcdir)/../libcpp/include/line-map.h input.h 970 INPUT_H = $(srcdir)/../libcpp/include/line-map.h input.h
947 OPTS_H = $(INPUT_H) $(VEC_H) opts.h 971 OPTS_H = $(INPUT_H) $(VEC_H) opts.h $(OBSTACK_H)
948 DECNUM_H = $(DECNUM)/decContext.h $(DECNUM)/decDPD.h $(DECNUM)/decNumber.h \
949 $(DECNUMFMT)/decimal32.h $(DECNUMFMT)/decimal64.h \
950 $(DECNUMFMT)/decimal128.h $(DECNUMFMT)/decimal128Local.h
951 MKDEPS_H = $(srcdir)/../libcpp/include/mkdeps.h
952 SYMTAB_H = $(srcdir)/../libcpp/include/symtab.h $(OBSTACK_H) 972 SYMTAB_H = $(srcdir)/../libcpp/include/symtab.h $(OBSTACK_H)
953 CPP_ID_DATA_H = $(CPPLIB_H) $(srcdir)/../libcpp/include/cpp-id-data.h 973 CPP_ID_DATA_H = $(CPPLIB_H) $(srcdir)/../libcpp/include/cpp-id-data.h
954 CPP_INTERNAL_H = $(srcdir)/../libcpp/internal.h $(CPP_ID_DATA_H) 974 CPP_INTERNAL_H = $(srcdir)/../libcpp/internal.h $(CPP_ID_DATA_H)
955 TREE_PASS_H = tree-pass.h $(TIMEVAR_H) 975 TREE_DUMP_H = tree-dump.h $(SPLAY_TREE_H) $(DUMPFILE_H)
956 TREE_DUMP_H = tree-dump.h $(SPLAY_TREE_H) $(TREE_PASS_H) 976 TREE_PASS_H = tree-pass.h $(TIMEVAR_H) $(DUMPFILE_H)
957 TREE_FLOW_H = tree-flow.h tree-flow-inline.h tree-ssa-operands.h \ 977 TREE_SSA_H = tree-ssa.h tree-ssa-operands.h \
958 $(BITMAP_H) sbitmap.h $(BASIC_BLOCK_H) $(GIMPLE_H) \ 978 $(BITMAP_H) sbitmap.h $(BASIC_BLOCK_H) $(GIMPLE_H) \
959 $(HASHTAB_H) $(CGRAPH_H) $(IPA_REFERENCE_H) \ 979 $(HASHTAB_H) $(CGRAPH_H) $(IPA_REFERENCE_H) \
960 tree-ssa-alias.h 980 tree-ssa-alias.h
961 TREE_SSA_LIVE_H = tree-ssa-live.h $(PARTITION_H) vecprim.h 981 PRETTY_PRINT_H = pretty-print.h $(INPUT_H) $(OBSTACK_H) wide-int-print.h
962 SSAEXPAND_H = ssaexpand.h $(TREE_SSA_LIVE_H) 982 TREE_PRETTY_PRINT_H = tree-pretty-print.h $(PRETTY_PRINT_H)
963 PRETTY_PRINT_H = pretty-print.h $(INPUT_H) $(OBSTACK_H) 983 GIMPLE_PRETTY_PRINT_H = gimple-pretty-print.h $(TREE_PRETTY_PRINT_H)
964 DIAGNOSTIC_CORE_H = diagnostic-core.h $(INPUT_H) bversion.h diagnostic.def 984 DIAGNOSTIC_CORE_H = diagnostic-core.h $(INPUT_H) bversion.h diagnostic.def
965 DIAGNOSTIC_H = diagnostic.h $(DIAGNOSTIC_CORE_H) $(PRETTY_PRINT_H) 985 DIAGNOSTIC_H = diagnostic.h $(DIAGNOSTIC_CORE_H) $(PRETTY_PRINT_H)
966 C_PRETTY_PRINT_H = c-family/c-pretty-print.h $(PRETTY_PRINT_H) \ 986 C_PRETTY_PRINT_H = c-family/c-pretty-print.h $(PRETTY_PRINT_H) \
967 $(C_COMMON_H) $(TREE_H) 987 $(C_COMMON_H) $(TREE_H)
968 SCEV_H = tree-scalar-evolution.h $(GGC_H) tree-chrec.h $(PARAMS_H) 988 TREE_INLINE_H = tree-inline.h
969 TREE_DATA_REF_H = tree-data-ref.h omega.h graphds.h $(SCEV_H) 989 REAL_H = real.h
970 TREE_INLINE_H = tree-inline.h vecir.h
971 REAL_H = real.h $(MACHMODE_H)
972 IRA_INT_H = ira.h ira-int.h $(CFGLOOP_H) alloc-pool.h
973 DBGCNT_H = dbgcnt.h dbgcnt.def
974 EBITMAP_H = ebitmap.h sbitmap.h
975 LTO_STREAMER_H = lto-streamer.h $(LINKER_PLUGIN_API_H) $(TARGET_H) \ 990 LTO_STREAMER_H = lto-streamer.h $(LINKER_PLUGIN_API_H) $(TARGET_H) \
976 $(CGRAPH_H) $(VEC_H) vecprim.h $(TREE_H) $(GIMPLE_H) \ 991 $(CGRAPH_H) $(VEC_H) $(HASH_TABLE_H) $(TREE_H) $(GIMPLE_H) \
977 $(GCOV_IO_H) 992 $(GCOV_IO_H) $(DIAGNOSTIC_H) alloc-pool.h
978 TREE_VECTORIZER_H = tree-vectorizer.h $(TREE_DATA_REF_H) 993 IPA_PROP_H = ipa-prop.h $(TREE_H) $(VEC_H) $(CGRAPH_H) $(GIMPLE_H) alloc-pool.h
979 IPA_PROP_H = ipa-prop.h $(TREE_H) $(VEC_H) $(CGRAPH_H) $(GIMPLE_H)
980 GSTAB_H = gstab.h stab.def
981 BITMAP_H = bitmap.h $(HASHTAB_H) statistics.h 994 BITMAP_H = bitmap.h $(HASHTAB_H) statistics.h
982 GCC_PLUGIN_H = gcc-plugin.h highlev-plugin-common.h $(CONFIG_H) $(SYSTEM_H) \ 995 GCC_PLUGIN_H = gcc-plugin.h highlev-plugin-common.h plugin.def \
983 $(HASHTAB_H) 996 $(CONFIG_H) $(SYSTEM_H) $(HASHTAB_H)
984 PLUGIN_H = plugin.h $(GCC_PLUGIN_H) 997 PLUGIN_H = plugin.h $(GCC_PLUGIN_H)
985 PLUGIN_VERSION_H = plugin-version.h configargs.h 998 PLUGIN_VERSION_H = plugin-version.h configargs.h
986 LIBFUNCS_H = libfuncs.h $(HASHTAB_H) 999 CONTEXT_H = context.h
1000 GENSUPPORT_H = gensupport.h read-md.h optabs.def
987 1001
988 # 1002 #
989 # Now figure out from those variables how to compile and link. 1003 # Now figure out from those variables how to compile and link.
990 1004
991 # IN_GCC distinguishes between code compiled into GCC itself and other 1005 # IN_GCC distinguishes between code compiled into GCC itself and other
992 # programs built during a bootstrap. 1006 # programs built during a bootstrap.
993 # autoconf inserts -DCROSS_DIRECTORY_STRUCTURE if we are building a 1007 # autoconf inserts -DCROSS_DIRECTORY_STRUCTURE if we are building a
994 # cross compiler which does not use the native headers and libraries. 1008 # cross compiler which does not use the native headers and libraries.
995 INTERNAL_CFLAGS = -DIN_GCC @CROSS@ 1009 INTERNAL_CFLAGS = -DIN_GCC $(PICFLAG) @CROSS@
996 1010
997 # This is the variable actually used when we compile. If you change this, 1011 # This is the variable actually used when we compile. If you change this,
998 # you probably want to update BUILD_CFLAGS in configure.ac 1012 # you probably want to update BUILD_CFLAGS in configure.ac
999 ALL_CFLAGS = $(T_CFLAGS) $(CFLAGS-$@) \ 1013 ALL_CFLAGS = $(T_CFLAGS) $(CFLAGS-$@) \
1000 $(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) @DEFS@ 1014 $(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) @DEFS@
1001 1015
1002 # The C++ version. 1016 # The C++ version.
1003 ALL_CXXFLAGS = $(T_CFLAGS) $(CXXFLAGS) $(INTERNAL_CFLAGS) \ 1017 ALL_CXXFLAGS = $(T_CFLAGS) $(CFLAGS-$@) $(CXXFLAGS) $(INTERNAL_CFLAGS) \
1004 $(COVERAGE_FLAGS) $(WARN_CXXFLAGS) @DEFS@ 1018 $(COVERAGE_FLAGS) $(ALIASING_FLAGS) $(NOEXCEPTION_FLAGS) \
1019 $(WARN_CXXFLAGS) @DEFS@
1005 1020
1006 # Likewise. Put INCLUDES at the beginning: this way, if some autoconf macro 1021 # Likewise. Put INCLUDES at the beginning: this way, if some autoconf macro
1007 # puts -I options in CPPFLAGS, our include files in the srcdir will always 1022 # puts -I options in CPPFLAGS, our include files in the srcdir will always
1008 # win against random include files in /usr/include. 1023 # win against random include files in /usr/include.
1009 ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS) 1024 ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS)
1010 1025
1011 # This is the variable to use when using $(COMPILER). 1026 # This is the variable to use when using $(COMPILER).
1012 ifneq ($(ENABLE_BUILD_WITH_CXX),yes) 1027 ALL_COMPILERFLAGS = $(ALL_CXXFLAGS)
1013 ALL_COMPILERFLAGS = $(ALL_CFLAGS) 1028
1029 # This is the variable to use when using $(LINKER).
1030 ALL_LINKERFLAGS = $(ALL_CXXFLAGS)
1031
1032 # Build and host support libraries.
1033
1034 # Use the "pic" build of libiberty if --enable-host-shared.
1035 ifeq ($(enable_host_shared),yes)
1036 LIBIBERTY = ../libiberty/pic/libiberty.a
1037 BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/pic/libiberty.a
1014 else 1038 else
1015 ALL_COMPILERFLAGS = $(ALL_CXXFLAGS)
1016 endif
1017
1018 # This is the variable to use when using $(LINKER).
1019 ifneq ($(ENABLE_BUILD_WITH_CXX),yes)
1020 ALL_LINKERFLAGS = $(ALL_CFLAGS)
1021 else
1022 ALL_LINKERFLAGS = $(ALL_CXXFLAGS)
1023 endif
1024
1025 # Build and host support libraries.
1026 LIBIBERTY = ../libiberty/libiberty.a 1039 LIBIBERTY = ../libiberty/libiberty.a
1027 BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/libiberty.a 1040 BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/libiberty.a
1041 endif
1028 1042
1029 # Dependencies on the intl and portability libraries. 1043 # Dependencies on the intl and portability libraries.
1030 LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) $(LIBDECNUMBER) 1044 LIBDEPS= libcommon.a $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) \
1045 $(LIBDECNUMBER) $(LIBBACKTRACE)
1031 1046
1032 # Likewise, for use in the tools that must run on this machine 1047 # Likewise, for use in the tools that must run on this machine
1033 # even if we are cross-building GCC. 1048 # even if we are cross-building GCC.
1034 BUILD_LIBDEPS= $(BUILD_LIBIBERTY) 1049 BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
1035 1050
1036 # How to link with both our special library facilities 1051 # How to link with both our special library facilities
1037 # and the system's installed libraries. 1052 # and the system's installed libraries.
1038 LIBS = @LIBS@ $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBIBERTY) $(LIBDECNUMBER) \ 1053 LIBS = @LIBS@ libcommon.a $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBBACKTRACE) \
1039 $(HOST_LIBS) 1054 $(LIBIBERTY) $(LIBDECNUMBER) $(HOST_LIBS)
1040 BACKENDLIBS = $(CLOOGLIBS) $(PPLLIBS) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \ 1055 BACKENDLIBS = $(ISLLIBS) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \
1041 $(ZLIB) 1056 $(ZLIB)
1042 # Any system libraries needed just for GNAT. 1057 # Any system libraries needed just for GNAT.
1043 SYSLIBS = @GNAT_LIBEXC@ 1058 SYSLIBS = @GNAT_LIBEXC@
1044 1059
1045 # Used from ada/gcc-interface/Make-lang.in 1060 # Used from ada/gcc-interface/Make-lang.in
1053 # even if we are cross-building GCC. 1068 # even if we are cross-building GCC.
1054 BUILD_LIBS = $(BUILD_LIBIBERTY) 1069 BUILD_LIBS = $(BUILD_LIBIBERTY)
1055 1070
1056 BUILD_RTL = build/rtl.o build/read-rtl.o build/ggc-none.o \ 1071 BUILD_RTL = build/rtl.o build/read-rtl.o build/ggc-none.o \
1057 build/vec.o build/min-insn-modes.o build/gensupport.o \ 1072 build/vec.o build/min-insn-modes.o build/gensupport.o \
1058 build/print-rtl.o 1073 build/print-rtl.o build/hash-table.o
1059 BUILD_MD = build/read-md.o 1074 BUILD_MD = build/read-md.o
1060 BUILD_ERRORS = build/errors.o 1075 BUILD_ERRORS = build/errors.o
1061 1076
1062 # Specify the directories to be searched for header files. 1077 # Specify the directories to be searched for header files.
1063 # Both . and srcdir are used, in that order, 1078 # Both . and srcdir are used, in that order,
1066 # -I$(@D) and -I$(srcdir)/$(@D) cause the subdirectory of the file 1081 # -I$(@D) and -I$(srcdir)/$(@D) cause the subdirectory of the file
1067 # currently being compiled, in both source trees, to be examined as well. 1082 # currently being compiled, in both source trees, to be examined as well.
1068 # libintl.h will be found in ../intl if we are using the included libintl. 1083 # libintl.h will be found in ../intl if we are using the included libintl.
1069 INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \ 1084 INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
1070 -I$(srcdir)/../include @INCINTL@ \ 1085 -I$(srcdir)/../include @INCINTL@ \
1071 $(CPPINC) $(GMPINC) $(DECNUMINC) \ 1086 $(CPPINC) $(GMPINC) $(DECNUMINC) $(BACKTRACEINC) \
1072 $(PPLINC) $(CLOOGINC) 1087 $(ISLINC)
1073 1088
1074 .c.o: 1089 COMPILE.base = $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) -o $@
1075 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION) 1090 ifeq ($(CXXDEPMODE),depmode=gcc3)
1091 # Note a subtlety here: we use $(@D) for the directory part, to make
1092 # things like the go/%.o rule work properly; but we use $(*F) for the
1093 # file part, as we just want the file part of the stem, not the entire
1094 # file name.
1095 COMPILE = $(COMPILE.base) -MT $@ -MMD -MP -MF $(@D)/$(DEPDIR)/$(*F).TPo
1096 POSTCOMPILE = @mv $(@D)/$(DEPDIR)/$(*F).TPo $(@D)/$(DEPDIR)/$(*F).Po
1097 else
1098 COMPILE = source='$<' object='$@' libtool=no \
1099 DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) $(COMPILE.base)
1100 POSTCOMPILE =
1101 endif
1102
1103 .cc.o .c.o:
1104 $(COMPILE) $<
1105 $(POSTCOMPILE)
1076 1106
1077 # 1107 #
1078 # Support for additional languages (other than C). 1108 # Support for additional languages (other than C).
1079 # C can be supported this way too (leave for later). 1109 # C can be supported this way too (leave for later).
1080 1110
1091 export AWK 1121 export AWK
1092 export DESTDIR 1122 export DESTDIR
1093 export GCC_FOR_TARGET 1123 export GCC_FOR_TARGET
1094 export INCLUDES 1124 export INCLUDES
1095 export INSTALL_DATA 1125 export INSTALL_DATA
1096 export LIB1ASMSRC
1097 export LIBGCC2_CFLAGS
1098 export LIPO_FOR_TARGET 1126 export LIPO_FOR_TARGET
1099 export MACHMODE_H 1127 export MACHMODE_H
1100 export NM_FOR_TARGET 1128 export NM_FOR_TARGET
1101 export STRIP_FOR_TARGET 1129 export STRIP_FOR_TARGET
1102 export RANLIB_FOR_TARGET 1130 export RANLIB_FOR_TARGET
1103 export libsubdir 1131 export libsubdir
1104 export slibdir
1105 1132
1106 FLAGS_TO_PASS = \ 1133 FLAGS_TO_PASS = \
1107 "ADA_CFLAGS=$(ADA_CFLAGS)" \ 1134 "ADA_CFLAGS=$(ADA_CFLAGS)" \
1108 "BISON=$(BISON)" \ 1135 "BISON=$(BISON)" \
1109 "BISONFLAGS=$(BISONFLAGS)" \ 1136 "BISONFLAGS=$(BISONFLAGS)" \
1110 "CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \ 1137 "CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \
1111 "LDFLAGS=$(LDFLAGS)" \ 1138 "LDFLAGS=$(LDFLAGS)" \
1112 "FLEX=$(FLEX)" \ 1139 "FLEX=$(FLEX)" \
1113 "FLEXFLAGS=$(FLEXFLAGS)" \ 1140 "FLEXFLAGS=$(FLEXFLAGS)" \
1141 "INSTALL=$(INSTALL)" \
1142 "INSTALL_DATA=$(INSTALL_DATA)" \
1143 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
1144 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
1114 "LN=$(LN)" \ 1145 "LN=$(LN)" \
1115 "LN_S=$(LN_S)" \ 1146 "LN_S=$(LN_S)" \
1116 "MAKEINFO=$(MAKEINFO)" \ 1147 "MAKEINFO=$(MAKEINFO)" \
1117 "MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \ 1148 "MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \
1118 "MAKEOVERRIDES=" \ 1149 "MAKEOVERRIDES=" \
1125 "local_prefix=$(local_prefix)" \ 1156 "local_prefix=$(local_prefix)" \
1126 "gxx_include_dir=$(gcc_gxx_include_dir)" \ 1157 "gxx_include_dir=$(gcc_gxx_include_dir)" \
1127 "build_tooldir=$(build_tooldir)" \ 1158 "build_tooldir=$(build_tooldir)" \
1128 "gcc_tooldir=$(gcc_tooldir)" \ 1159 "gcc_tooldir=$(gcc_tooldir)" \
1129 "bindir=$(bindir)" \ 1160 "bindir=$(bindir)" \
1130 "libexecsubdir=$(libsubdir)" \ 1161 "libexecsubdir=$(libexecsubdir)" \
1131 "datarootdir=$(datarootdir)" \ 1162 "datarootdir=$(datarootdir)" \
1132 "datadir=$(datadir)" \ 1163 "datadir=$(datadir)" \
1133 "localedir=$(localedir)" 1164 "localedir=$(localedir)"
1134 # 1165 #
1135 # Lists of files for various purposes. 1166 # Lists of files for various purposes.
1144 CXX_TARGET_OBJS=@cxx_target_objs@ 1175 CXX_TARGET_OBJS=@cxx_target_objs@
1145 1176
1146 # Target specific, Fortran specific object file 1177 # Target specific, Fortran specific object file
1147 FORTRAN_TARGET_OBJS=@fortran_target_objs@ 1178 FORTRAN_TARGET_OBJS=@fortran_target_objs@
1148 1179
1149 # Object files for gcc driver. 1180 # Object files for gcc many-languages driver.
1150 GCC_OBJS = gcc.o opts-common.o gcc-options.o diagnostic.o pretty-print.o \ 1181 GCC_OBJS = gcc.o gcc-main.o ggc-none.o
1151 input.o vec.o ggc-none.o 1182
1183 c-family-warn = $(STRICT_WARN)
1152 1184
1153 # Language-specific object files shared by all C-family front ends. 1185 # Language-specific object files shared by all C-family front ends.
1154 C_COMMON_OBJS = c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o \ 1186 C_COMMON_OBJS = c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o \
1155 c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o \ 1187 c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o \
1156 c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o \ 1188 c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o \
1157 c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o \ 1189 c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o \
1158 c-family/c-semantics.o c-family/c-ada-spec.o 1190 c-family/c-semantics.o c-family/c-ada-spec.o \
1159 1191 c-family/c-cilkplus.o \
1160 # Language-specific object files for C and Objective C. 1192 c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o \
1161 C_AND_OBJC_OBJS = attribs.o c-errors.o c-decl.o c-typeck.o \ 1193 c-family/c-attribs.o c-family/c-warn.o
1162 c-convert.o c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o \
1163 $(C_COMMON_OBJS) $(C_TARGET_OBJS)
1164
1165 # Language-specific object files for C.
1166 C_OBJS = c-lang.o c-family/stub-objc.o $(C_AND_OBJC_OBJS)
1167 1194
1168 # Language-independent object files. 1195 # Language-independent object files.
1169 # We put the insn-*.o files first so that a parallel make will build 1196 # We put the *-match.o and insn-*.o files first so that a parallel make
1170 # them sooner, because they are large and otherwise tend to be the 1197 # will build them sooner, because they are large and otherwise tend to be
1171 # last objects to finish building. 1198 # the last objects to finish building.
1172 OBJS-common = \ 1199 OBJS = \
1200 gimple-match.o \
1201 generic-match.o \
1173 insn-attrtab.o \ 1202 insn-attrtab.o \
1174 insn-automata.o \ 1203 insn-automata.o \
1204 insn-dfatab.o \
1175 insn-emit.o \ 1205 insn-emit.o \
1176 insn-extract.o \ 1206 insn-extract.o \
1207 insn-latencytab.o \
1177 insn-modes.o \ 1208 insn-modes.o \
1178 insn-opinit.o \ 1209 insn-opinit.o \
1179 insn-output.o \ 1210 insn-output.o \
1180 insn-peep.o \ 1211 insn-peep.o \
1181 insn-preds.o \ 1212 insn-preds.o \
1182 insn-recog.o \ 1213 insn-recog.o \
1183 insn-enums.o \ 1214 insn-enums.o \
1184 $(GGC) \ 1215 ggc-page.o \
1185 alias.o \ 1216 alias.o \
1186 alloc-pool.o \ 1217 alloc-pool.o \
1187 auto-inc-dec.o \ 1218 auto-inc-dec.o \
1219 auto-profile.o \
1188 bb-reorder.o \ 1220 bb-reorder.o \
1189 bitmap.o \ 1221 bitmap.o \
1190 bt-load.o \ 1222 bt-load.o \
1191 builtins.o \ 1223 builtins.o \
1192 caller-save.o \ 1224 caller-save.o \
1193 calls.o \ 1225 calls.o \
1226 ccmp.o \
1194 cfg.o \ 1227 cfg.o \
1195 cfganal.o \ 1228 cfganal.o \
1196 cfgbuild.o \ 1229 cfgbuild.o \
1197 cfgcleanup.o \ 1230 cfgcleanup.o \
1198 cfgexpand.o \ 1231 cfgexpand.o \
1199 cfghooks.o \ 1232 cfghooks.o \
1200 cfglayout.o \
1201 cfgloop.o \ 1233 cfgloop.o \
1202 cfgloopanal.o \ 1234 cfgloopanal.o \
1203 cfgloopmanip.o \ 1235 cfgloopmanip.o \
1204 cfgrtl.o \ 1236 cfgrtl.o \
1237 symtab.o \
1238 cgraph.o \
1239 cgraphbuild.o \
1240 cgraphunit.o \
1241 cgraphclones.o \
1242 cilk-common.o \
1205 combine.o \ 1243 combine.o \
1206 combine-stack-adj.o \ 1244 combine-stack-adj.o \
1207 compare-elim.o \ 1245 compare-elim.o \
1246 context.o \
1208 convert.o \ 1247 convert.o \
1209 coverage.o \ 1248 coverage.o \
1249 cppbuiltin.o \
1250 cppdefault.o \
1251 cprop.o \
1210 cse.o \ 1252 cse.o \
1211 cselib.o \ 1253 cselib.o \
1254 data-streamer.o \
1255 data-streamer-in.o \
1256 data-streamer-out.o \
1212 dbxout.o \ 1257 dbxout.o \
1213 dbgcnt.o \ 1258 dbgcnt.o \
1214 dce.o \ 1259 dce.o \
1215 ddg.o \ 1260 ddg.o \
1216 debug.o \ 1261 debug.o \
1217 df-core.o \ 1262 df-core.o \
1218 df-problems.o \ 1263 df-problems.o \
1219 df-scan.o \ 1264 df-scan.o \
1220 dfp.o \ 1265 dfp.o \
1221 diagnostic.o \
1222 dojump.o \ 1266 dojump.o \
1223 dominance.o \ 1267 dominance.o \
1224 domwalk.o \ 1268 domwalk.o \
1225 double-int.o \ 1269 double-int.o \
1226 dse.o \ 1270 dse.o \
1271 dumpfile.o \
1227 dwarf2asm.o \ 1272 dwarf2asm.o \
1273 dwarf2cfi.o \
1228 dwarf2out.o \ 1274 dwarf2out.o \
1229 ebitmap.o \
1230 emit-rtl.o \ 1275 emit-rtl.o \
1231 et-forest.o \ 1276 et-forest.o \
1232 except.o \ 1277 except.o \
1233 explow.o \ 1278 explow.o \
1234 expmed.o \ 1279 expmed.o \
1235 expr.o \ 1280 expr.o \
1281 fibonacci_heap.o \
1236 final.o \ 1282 final.o \
1237 fixed-value.o \ 1283 fixed-value.o \
1238 fold-const.o \ 1284 fold-const.o \
1285 fold-const-call.o \
1239 function.o \ 1286 function.o \
1287 function-tests.o \
1240 fwprop.o \ 1288 fwprop.o \
1289 gcc-rich-location.o \
1241 gcse.o \ 1290 gcse.o \
1291 gcse-common.o \
1242 ggc-common.o \ 1292 ggc-common.o \
1293 ggc-tests.o \
1243 gimple.o \ 1294 gimple.o \
1295 gimple-builder.o \
1296 gimple-expr.o \
1244 gimple-iterator.o \ 1297 gimple-iterator.o \
1245 gimple-fold.o \ 1298 gimple-fold.o \
1299 gimple-laddress.o \
1246 gimple-low.o \ 1300 gimple-low.o \
1247 gimple-pretty-print.o \ 1301 gimple-pretty-print.o \
1302 gimple-ssa-backprop.o \
1303 gimple-ssa-isolate-paths.o \
1304 gimple-ssa-nonnull-compare.o \
1305 gimple-ssa-split-paths.o \
1306 gimple-ssa-store-merging.o \
1307 gimple-ssa-strength-reduction.o \
1308 gimple-ssa-sprintf.o \
1309 gimple-ssa-warn-alloca.o \
1310 gimple-streamer-in.o \
1311 gimple-streamer-out.o \
1312 gimple-walk.o \
1248 gimplify.o \ 1313 gimplify.o \
1314 gimplify-me.o \
1249 godump.o \ 1315 godump.o \
1250 graph.o \ 1316 graph.o \
1251 graphds.o \ 1317 graphds.o \
1252 graphite.o \ 1318 graphite.o \
1253 graphite-blocking.o \ 1319 graphite-isl-ast-to-gimple.o \
1254 graphite-clast-to-gimple.o \
1255 graphite-cloog-util.o \
1256 graphite-dependences.o \ 1320 graphite-dependences.o \
1257 graphite-flattening.o \ 1321 graphite-optimize-isl.o \
1258 graphite-interchange.o \
1259 graphite-poly.o \ 1322 graphite-poly.o \
1260 graphite-ppl.o \
1261 graphite-scop-detection.o \ 1323 graphite-scop-detection.o \
1262 graphite-sese-to-poly.o \ 1324 graphite-sese-to-poly.o \
1263 gtype-desc.o \ 1325 gtype-desc.o \
1264 haifa-sched.o \ 1326 haifa-sched.o \
1265 hooks.o \ 1327 hash-map-tests.o \
1328 hash-set-tests.o \
1329 hsa-common.o \
1330 hsa-gen.o \
1331 hsa-regalloc.o \
1332 hsa-brig.o \
1333 hsa-dump.o \
1334 hw-doloop.o \
1266 hwint.o \ 1335 hwint.o \
1267 ifcvt.o \ 1336 ifcvt.o \
1268 implicit-zee.o \ 1337 ree.o \
1338 inchash.o \
1339 incpath.o \
1269 init-regs.o \ 1340 init-regs.o \
1270 input.o \ 1341 internal-fn.o \
1271 integrate.o \ 1342 ipa-chkp.o \
1272 intl.o \ 1343 ipa-cp.o \
1344 ipa-devirt.o \
1345 ipa-fnsummary.o \
1346 ipa-polymorphic-call.o \
1347 ipa-split.o \
1348 ipa-inline.o \
1349 ipa-comdats.o \
1350 ipa-visibility.o \
1351 ipa-inline-analysis.o \
1352 ipa-inline-transform.o \
1353 ipa-predicate.o \
1354 ipa-profile.o \
1355 ipa-prop.o \
1356 ipa-pure-const.o \
1357 ipa-icf.o \
1358 ipa-icf-gimple.o \
1359 ipa-reference.o \
1360 ipa-hsa.o \
1361 ipa-ref.o \
1362 ipa-utils.o \
1363 ipa.o \
1273 ira.o \ 1364 ira.o \
1274 ira-build.o \ 1365 ira-build.o \
1275 ira-costs.o \ 1366 ira-costs.o \
1276 ira-conflicts.o \ 1367 ira-conflicts.o \
1277 ira-color.o \ 1368 ira-color.o \
1284 loop-doloop.o \ 1375 loop-doloop.o \
1285 loop-init.o \ 1376 loop-init.o \
1286 loop-invariant.o \ 1377 loop-invariant.o \
1287 loop-iv.o \ 1378 loop-iv.o \
1288 loop-unroll.o \ 1379 loop-unroll.o \
1289 loop-unswitch.o \
1290 lower-subreg.o \ 1380 lower-subreg.o \
1381 lra.o \
1382 lra-assigns.o \
1383 lra-coalesce.o \
1384 lra-constraints.o \
1385 lra-eliminations.o \
1386 lra-lives.o \
1387 lra-remat.o \
1388 lra-spills.o \
1291 lto-cgraph.o \ 1389 lto-cgraph.o \
1390 lto-streamer.o \
1292 lto-streamer-in.o \ 1391 lto-streamer-in.o \
1293 lto-streamer-out.o \ 1392 lto-streamer-out.o \
1294 lto-section-in.o \ 1393 lto-section-in.o \
1295 lto-section-out.o \ 1394 lto-section-out.o \
1296 lto-symtab.o \
1297 lto-opts.o \ 1395 lto-opts.o \
1298 lto-streamer.o \
1299 lto-compress.o \ 1396 lto-compress.o \
1300 mcf.o \ 1397 mcf.o \
1301 mode-switching.o \ 1398 mode-switching.o \
1302 modulo-sched.o \ 1399 modulo-sched.o \
1303 omega.o \ 1400 multiple_target.o \
1401 omp-offload.o \
1402 omp-expand.o \
1403 omp-general.o \
1404 omp-grid.o \
1304 omp-low.o \ 1405 omp-low.o \
1406 omp-simd-clone.o \
1305 optabs.o \ 1407 optabs.o \
1306 options.o \ 1408 optabs-libfuncs.o \
1307 opts-common.o \ 1409 optabs-query.o \
1410 optabs-tree.o \
1411 options-save.o \
1308 opts-global.o \ 1412 opts-global.o \
1309 opts.o \
1310 params.o \
1311 passes.o \ 1413 passes.o \
1312 plugin.o \ 1414 plugin.o \
1313 pointer-set.o \
1314 postreload-gcse.o \ 1415 postreload-gcse.o \
1315 postreload.o \ 1416 postreload.o \
1316 predict.o \ 1417 predict.o \
1317 pretty-print.o \
1318 print-rtl.o \ 1418 print-rtl.o \
1419 print-rtl-function.o \
1319 print-tree.o \ 1420 print-tree.o \
1320 profile.o \ 1421 profile.o \
1422 profile-count.o \
1423 read-md.o \
1424 read-rtl.o \
1425 read-rtl-function.o \
1321 real.o \ 1426 real.o \
1322 realmpfr.o \ 1427 realmpfr.o \
1323 recog.o \ 1428 recog.o \
1324 reg-stack.o \ 1429 reg-stack.o \
1325 regcprop.o \ 1430 regcprop.o \
1326 reginfo.o \ 1431 reginfo.o \
1327 regmove.o \
1328 regrename.o \ 1432 regrename.o \
1329 regstat.o \ 1433 regstat.o \
1330 reload.o \ 1434 reload.o \
1331 reload1.o \ 1435 reload1.o \
1332 reorg.o \ 1436 reorg.o \
1333 resource.o \ 1437 resource.o \
1438 rtl-chkp.o \
1334 rtl-error.o \ 1439 rtl-error.o \
1440 rtl-tests.o \
1335 rtl.o \ 1441 rtl.o \
1442 rtlhash.o \
1336 rtlanal.o \ 1443 rtlanal.o \
1337 rtlhooks.o \ 1444 rtlhooks.o \
1338 sbitmap.o \ 1445 run-rtl-passes.o \
1339 sched-deps.o \ 1446 sched-deps.o \
1340 sched-ebb.o \ 1447 sched-ebb.o \
1341 sched-rgn.o \ 1448 sched-rgn.o \
1342 sched-vis.o \
1343 sdbout.o \ 1449 sdbout.o \
1344 sel-sched-ir.o \ 1450 sel-sched-ir.o \
1345 sel-sched-dump.o \ 1451 sel-sched-dump.o \
1346 sel-sched.o \ 1452 sel-sched.o \
1453 selftest-rtl.o \
1454 selftest-run-tests.o \
1347 sese.o \ 1455 sese.o \
1456 shrink-wrap.o \
1348 simplify-rtx.o \ 1457 simplify-rtx.o \
1349 sparseset.o \ 1458 sparseset.o \
1459 spellcheck.o \
1460 spellcheck-tree.o \
1350 sreal.o \ 1461 sreal.o \
1351 stack-ptr-mod.o \ 1462 stack-ptr-mod.o \
1352 statistics.o \ 1463 statistics.o \
1353 stmt.o \ 1464 stmt.o \
1354 stor-layout.o \ 1465 stor-layout.o \
1355 store-motion.o \ 1466 store-motion.o \
1467 streamer-hooks.o \
1356 stringpool.o \ 1468 stringpool.o \
1469 substring-locations.o \
1357 target-globals.o \ 1470 target-globals.o \
1358 targhooks.o \ 1471 targhooks.o \
1359 timevar.o \ 1472 timevar.o \
1360 toplev.o \ 1473 toplev.o \
1361 tracer.o \ 1474 tracer.o \
1475 trans-mem.o \
1362 tree-affine.o \ 1476 tree-affine.o \
1477 asan.o \
1478 tsan.o \
1479 ubsan.o \
1480 sanopt.o \
1481 sancov.o \
1363 tree-call-cdce.o \ 1482 tree-call-cdce.o \
1364 tree-cfg.o \ 1483 tree-cfg.o \
1365 tree-cfgcleanup.o \ 1484 tree-cfgcleanup.o \
1366 tree-chrec.o \ 1485 tree-chrec.o \
1367 tree-complex.o \ 1486 tree-complex.o \
1370 tree-diagnostic.o \ 1489 tree-diagnostic.o \
1371 tree-dump.o \ 1490 tree-dump.o \
1372 tree-eh.o \ 1491 tree-eh.o \
1373 tree-emutls.o \ 1492 tree-emutls.o \
1374 tree-if-conv.o \ 1493 tree-if-conv.o \
1494 tree-inline.o \
1375 tree-into-ssa.o \ 1495 tree-into-ssa.o \
1376 tree-iterator.o \ 1496 tree-iterator.o \
1377 tree-loop-distribution.o \ 1497 tree-loop-distribution.o \
1378 tree-nested.o \ 1498 tree-nested.o \
1379 tree-nrv.o \ 1499 tree-nrv.o \
1380 tree-object-size.o \ 1500 tree-object-size.o \
1381 tree-optimize.o \
1382 tree-outof-ssa.o \ 1501 tree-outof-ssa.o \
1383 tree-parloops.o \ 1502 tree-parloops.o \
1384 tree-phinodes.o \ 1503 tree-phinodes.o \
1504 tree-chkp.o \
1505 tree-chkp-opt.o \
1385 tree-predcom.o \ 1506 tree-predcom.o \
1386 tree-pretty-print.o \ 1507 tree-pretty-print.o \
1387 tree-profile.o \ 1508 tree-profile.o \
1388 tree-scalar-evolution.o \ 1509 tree-scalar-evolution.o \
1389 tree-sra.o \ 1510 tree-sra.o \
1391 tree-ssa-address.o \ 1512 tree-ssa-address.o \
1392 tree-ssa-alias.o \ 1513 tree-ssa-alias.o \
1393 tree-ssa-ccp.o \ 1514 tree-ssa-ccp.o \
1394 tree-ssa-coalesce.o \ 1515 tree-ssa-coalesce.o \
1395 tree-ssa-copy.o \ 1516 tree-ssa-copy.o \
1396 tree-ssa-copyrename.o \
1397 tree-ssa-dce.o \ 1517 tree-ssa-dce.o \
1398 tree-ssa-dom.o \ 1518 tree-ssa-dom.o \
1399 tree-ssa-dse.o \ 1519 tree-ssa-dse.o \
1400 tree-ssa-forwprop.o \ 1520 tree-ssa-forwprop.o \
1401 tree-ssa-ifcombine.o \ 1521 tree-ssa-ifcombine.o \
1405 tree-ssa-loop-ivcanon.o \ 1525 tree-ssa-loop-ivcanon.o \
1406 tree-ssa-loop-ivopts.o \ 1526 tree-ssa-loop-ivopts.o \
1407 tree-ssa-loop-manip.o \ 1527 tree-ssa-loop-manip.o \
1408 tree-ssa-loop-niter.o \ 1528 tree-ssa-loop-niter.o \
1409 tree-ssa-loop-prefetch.o \ 1529 tree-ssa-loop-prefetch.o \
1530 tree-ssa-loop-split.o \
1410 tree-ssa-loop-unswitch.o \ 1531 tree-ssa-loop-unswitch.o \
1411 tree-ssa-loop.o \ 1532 tree-ssa-loop.o \
1412 tree-ssa-math-opts.o \ 1533 tree-ssa-math-opts.o \
1413 tree-ssa-operands.o \ 1534 tree-ssa-operands.o \
1535 tree-ssa-phionlycprop.o \
1414 tree-ssa-phiopt.o \ 1536 tree-ssa-phiopt.o \
1415 tree-ssa-phiprop.o \ 1537 tree-ssa-phiprop.o \
1416 tree-ssa-pre.o \ 1538 tree-ssa-pre.o \
1417 tree-ssa-propagate.o \ 1539 tree-ssa-propagate.o \
1418 tree-ssa-reassoc.o \ 1540 tree-ssa-reassoc.o \
1419 tree-ssa-sccvn.o \ 1541 tree-ssa-sccvn.o \
1542 tree-ssa-scopedtables.o \
1420 tree-ssa-sink.o \ 1543 tree-ssa-sink.o \
1544 tree-ssa-strlen.o \
1421 tree-ssa-structalias.o \ 1545 tree-ssa-structalias.o \
1546 tree-ssa-tail-merge.o \
1422 tree-ssa-ter.o \ 1547 tree-ssa-ter.o \
1548 tree-ssa-threadbackward.o \
1423 tree-ssa-threadedge.o \ 1549 tree-ssa-threadedge.o \
1424 tree-ssa-threadupdate.o \ 1550 tree-ssa-threadupdate.o \
1425 tree-ssa-uncprop.o \ 1551 tree-ssa-uncprop.o \
1426 tree-ssa-uninit.o \ 1552 tree-ssa-uninit.o \
1427 tree-ssa.o \ 1553 tree-ssa.o \
1428 tree-ssanames.o \ 1554 tree-ssanames.o \
1429 tree-stdarg.o \ 1555 tree-stdarg.o \
1556 tree-streamer.o \
1557 tree-streamer-in.o \
1558 tree-streamer-out.o \
1430 tree-tailcall.o \ 1559 tree-tailcall.o \
1431 tree-vect-generic.o \ 1560 tree-vect-generic.o \
1432 tree-vect-patterns.o \ 1561 tree-vect-patterns.o \
1433 tree-vect-data-refs.o \ 1562 tree-vect-data-refs.o \
1434 tree-vect-stmts.o \ 1563 tree-vect-stmts.o \
1435 tree-vect-loop.o \ 1564 tree-vect-loop.o \
1436 tree-vect-loop-manip.o \ 1565 tree-vect-loop-manip.o \
1437 tree-vect-slp.o \ 1566 tree-vect-slp.o \
1438 tree-vectorizer.o \ 1567 tree-vectorizer.o \
1439 tree-vrp.o \ 1568 tree-vrp.o \
1440 tree.o \ 1569 tree.o \
1570 typed-splay-tree.o \
1571 unique-ptr-tests.o \
1572 valtrack.o \
1441 value-prof.o \ 1573 value-prof.o \
1442 var-tracking.o \ 1574 var-tracking.o \
1443 varasm.o \ 1575 varasm.o \
1444 vec.o \ 1576 varpool.o \
1445 version.o \
1446 vmsdbgout.o \ 1577 vmsdbgout.o \
1578 vtable-verify.o \
1447 web.o \ 1579 web.o \
1448 xcoffout.o 1580 wide-int.o \
1449 1581 wide-int-print.o \
1450 # Target object files. 1582 xcoffout.o \
1451 OBJS-md = $(out_object_file) 1583 $(out_object_file) \
1452
1453 # Language independent object files which are not used by all languages.
1454 OBJS-archive = \
1455 $(EXTRA_OBJS) \ 1584 $(EXTRA_OBJS) \
1456 $(host_hook_obj) \ 1585 $(host_hook_obj)
1457 cgraph.o \ 1586
1458 cgraphbuild.o \ 1587 # Objects in libcommon.a, potentially used by all host binaries and with
1459 cgraphunit.o \ 1588 # no target dependencies.
1460 cppbuiltin.o \ 1589 OBJS-libcommon = diagnostic.o diagnostic-color.o diagnostic-show-locus.o \
1461 cppdefault.o \ 1590 edit-context.o \
1462 incpath.o \ 1591 pretty-print.o intl.o \
1463 ipa-cp.o \ 1592 sbitmap.o \
1464 ipa-split.o \ 1593 vec.o input.o version.o hash-table.o ggc-none.o memory-block.o \
1465 ipa-inline.o \ 1594 selftest.o
1466 ipa-prop.o \ 1595
1467 ipa-pure-const.o \ 1596 # Objects in libcommon-target.a, used by drivers and by the core
1468 ipa-reference.o \ 1597 # compiler and containing target-dependent code.
1469 ipa-ref.o \ 1598 OBJS-libcommon-target = $(common_out_object_file) prefix.o params.o \
1470 ipa-struct-reorg.o \ 1599 opts.o opts-common.o options.o vec.o hooks.o common/common-targhooks.o \
1471 ipa-type-escape.o \ 1600 hash-table.o file-find.o spellcheck.o selftest.o
1472 ipa-utils.o \
1473 ipa.o \
1474 matrix-reorg.o \
1475 prefix.o \
1476 tree-inline.o \
1477 tree-nomudflap.o \
1478 varpool.o
1479
1480 OBJS = $(OBJS-common) $(OBJS-md) $(OBJS-archive)
1481 1601
1482 # This lists all host objects for the front ends. 1602 # This lists all host objects for the front ends.
1483 ALL_HOST_FRONTEND_OBJS = $(C_OBJS) \ 1603 ALL_HOST_FRONTEND_OBJS = $(foreach v,$(CONFIG_LANGUAGES),$($(v)_OBJS))
1484 $(foreach v,$(CONFIG_LANGUAGES),$($(v)_OBJS)) 1604
1485 1605 ALL_HOST_BACKEND_OBJS = $(GCC_OBJS) $(OBJS) $(OBJS-libcommon) \
1486 ALL_HOST_BACKEND_OBJS = $(GCC_OBJS) $(OBJS) \ 1606 $(OBJS-libcommon-target) main.o c-family/cppspec.o \
1487 @TREEBROWSER@ main.o gccspec.o version.o intl.o prefix.o cppspec.o \ 1607 $(COLLECT2_OBJS) $(EXTRA_GCC_OBJS) $(GCOV_OBJS) $(GCOV_DUMP_OBJS) \
1488 $(COLLECT2_OBJS) $(EXTRA_GCC_OBJS) mips-tfile.o mips-tdump.o \ 1608 $(GCOV_TOOL_OBJS) $(GENGTYPE_OBJS) gcc-ar.o gcc-nm.o gcc-ranlib.o \
1489 $(GCOV_OBJS) $(GCOV_DUMP_OBJS) 1609 lto-wrapper.o collect-utils.o
1610
1611 # for anything that is shared use the cc1plus profile data, as that
1612 # is likely the most exercised during the build
1613 ifeq ($(if $(wildcard ../stage_current),$(shell cat \
1614 ../stage_current)),stageautofeedback)
1615 $(ALL_HOST_BACKEND_OBJS): ALL_COMPILERFLAGS += -fauto-profile=cc1plus.fda
1616 $(ALL_HOST_BACKEND_OBJS): cc1plus.fda
1617 endif
1490 1618
1491 # This lists all host object files, whether they are included in this 1619 # This lists all host object files, whether they are included in this
1492 # compilation or not. 1620 # compilation or not.
1493 ALL_HOST_OBJS = $(ALL_HOST_FRONTEND_OBJS) $(ALL_HOST_BACKEND_OBJS) 1621 ALL_HOST_OBJS = $(ALL_HOST_FRONTEND_OBJS) $(ALL_HOST_BACKEND_OBJS)
1494 1622
1495 BACKEND = main.o @TREEBROWSER@ libbackend.a $(CPPLIB) $(LIBDECNUMBER) 1623 BACKEND = libbackend.a main.o libcommon-target.a libcommon.a \
1624 $(CPPLIB) $(LIBDECNUMBER)
1625
1626 # This is defined to "yes" if Tree checking is enabled, which roughly means
1627 # front-end checking.
1628 TREECHECKING = @TREECHECKING@
1629
1630 # The full name of the driver on installation
1631 FULL_DRIVER_NAME=$(target_noncanonical)-gcc-$(version)$(exeext)
1496 1632
1497 MOSTLYCLEANFILES = insn-flags.h insn-config.h insn-codes.h \ 1633 MOSTLYCLEANFILES = insn-flags.h insn-config.h insn-codes.h \
1498 insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \ 1634 insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \
1499 insn-attr.h insn-attrtab.c insn-opinit.c insn-preds.c insn-constants.h \ 1635 insn-attr.h insn-attr-common.h insn-attrtab.c insn-dfatab.c \
1500 tm-preds.h tm-constrs.h checksum-options \ 1636 insn-latencytab.c insn-opinit.c insn-opinit.h insn-preds.c insn-constants.h \
1501 tree-check.h min-insn-modes.c insn-modes.c insn-modes.h \ 1637 tm-preds.h tm-constrs.h checksum-options gimple-match.c generic-match.c \
1638 tree-check.h min-insn-modes.c insn-modes.c insn-modes.h insn-modes-inline.h \
1502 genrtl.h gt-*.h gtype-*.h gtype-desc.c gtyp-input.list \ 1639 genrtl.h gt-*.h gtype-*.h gtype-desc.c gtyp-input.list \
1503 xgcc$(exeext) cpp$(exeext) cc1$(exeext) $(EXTRA_PASSES) \ 1640 case-cfn-macros.h cfn-operators.pd \
1504 $(EXTRA_PARTS) $(EXTRA_PROGRAMS) gcc-cross$(exeext) \ 1641 xgcc$(exeext) cpp$(exeext) $(FULL_DRIVER_NAME) \
1505 $(SPECS) collect2$(exeext) lto-wrapper$(exeext) \ 1642 $(EXTRA_PROGRAMS) gcc-cross$(exeext) \
1643 $(SPECS) collect2$(exeext) gcc-ar$(exeext) gcc-nm$(exeext) \
1644 gcc-ranlib$(exeext) \
1506 gcov-iov$(build_exeext) gcov$(exeext) gcov-dump$(exeext) \ 1645 gcov-iov$(build_exeext) gcov$(exeext) gcov-dump$(exeext) \
1507 *.[0-9][0-9].* *.[si] *-checksum.c libbackend.a libgcc.mk 1646 gcov-tool$(exeect) \
1508 1647 gengtype$(exeext) *.[0-9][0-9].* *.[si] *-checksum.c libbackend.a \
1509 # Defined in libgcc2.c, included only in the static library. 1648 libcommon-target.a libcommon.a libgcc.mk perf.data
1510 LIB2FUNCS_ST = _eprintf __gcc_bcmp 1649
1511 1650 # This symlink makes the full installation name of the driver be available
1512 # Defined in libgcov.c, included only in gcov library 1651 # from within the *build* directory, for use when running the JIT library
1513 LIBGCOV = _gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta \ 1652 # from there (e.g. when running its testsuite).
1514 _gcov_fork _gcov_execl _gcov_execlp _gcov_execle \ 1653 $(FULL_DRIVER_NAME): ./xgcc
1515 _gcov_execv _gcov_execvp _gcov_execve \ 1654 rm -f $@
1516 _gcov_interval_profiler _gcov_pow2_profiler _gcov_one_value_profiler \ 1655 $(LN_S) $< $@
1517 _gcov_indirect_call_profiler _gcov_average_profiler _gcov_ior_profiler \
1518 _gcov_merge_ior
1519
1520 FPBIT_FUNCS = _pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf \
1521 _fpcmp_parts_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf \
1522 _lt_sf _le_sf _unord_sf _si_to_sf _sf_to_si _negate_sf _make_sf \
1523 _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi _usi_to_sf
1524
1525 DPBIT_FUNCS = _pack_df _unpack_df _addsub_df _mul_df _div_df \
1526 _fpcmp_parts_df _compare_df _eq_df _ne_df _gt_df _ge_df \
1527 _lt_df _le_df _unord_df _si_to_df _df_to_si _negate_df _make_df \
1528 _df_to_sf _df_to_tf _thenan_df _df_to_usi _usi_to_df
1529
1530 TPBIT_FUNCS = _pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf \
1531 _fpcmp_parts_tf _compare_tf _eq_tf _ne_tf _gt_tf _ge_tf \
1532 _lt_tf _le_tf _unord_tf _si_to_tf _tf_to_si _negate_tf _make_tf \
1533 _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi _usi_to_tf
1534
1535 D32PBIT_FUNCS = _addsub_sd _div_sd _mul_sd _plus_sd _minus_sd \
1536 _eq_sd _ne_sd _lt_sd _gt_sd _le_sd _ge_sd \
1537 _sd_to_si _sd_to_di _sd_to_usi _sd_to_udi \
1538 _si_to_sd _di_to_sd _usi_to_sd _udi_to_sd \
1539 _sd_to_sf _sd_to_df _sd_to_xf _sd_to_tf \
1540 _sf_to_sd _df_to_sd _xf_to_sd _tf_to_sd \
1541 _sd_to_dd _sd_to_td _unord_sd _conv_sd
1542
1543 D64PBIT_FUNCS = _addsub_dd _div_dd _mul_dd _plus_dd _minus_dd \
1544 _eq_dd _ne_dd _lt_dd _gt_dd _le_dd _ge_dd \
1545 _dd_to_si _dd_to_di _dd_to_usi _dd_to_udi \
1546 _si_to_dd _di_to_dd _usi_to_dd _udi_to_dd \
1547 _dd_to_sf _dd_to_df _dd_to_xf _dd_to_tf \
1548 _sf_to_dd _df_to_dd _xf_to_dd _tf_to_dd \
1549 _dd_to_sd _dd_to_td _unord_dd _conv_dd
1550
1551 D128PBIT_FUNCS = _addsub_td _div_td _mul_td _plus_td _minus_td \
1552 _eq_td _ne_td _lt_td _gt_td _le_td _ge_td \
1553 _td_to_si _td_to_di _td_to_usi _td_to_udi \
1554 _si_to_td _di_to_td _usi_to_td _udi_to_td \
1555 _td_to_sf _td_to_df _td_to_xf _td_to_tf \
1556 _sf_to_td _df_to_td _xf_to_td _tf_to_td \
1557 _td_to_sd _td_to_dd _unord_td _conv_td
1558
1559 # These might cause a divide overflow trap and so are compiled with
1560 # unwinder info.
1561 LIB2_DIVMOD_FUNCS = _divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4
1562 1656
1563 # 1657 #
1564 # Language makefile fragments. 1658 # Language makefile fragments.
1565 1659
1566 # The following targets define the interface between us and the languages. 1660 # The following targets define the interface between us and the languages.
1709 $(srcdir)/../ltsugar.m4 \ 1803 $(srcdir)/../ltsugar.m4 \
1710 $(srcdir)/../ltversion.m4 \ 1804 $(srcdir)/../ltversion.m4 \
1711 $(srcdir)/../lt~obsolete.m4 \ 1805 $(srcdir)/../lt~obsolete.m4 \
1712 $(srcdir)/../config/acx.m4 \ 1806 $(srcdir)/../config/acx.m4 \
1713 $(srcdir)/../config/codeset.m4 \ 1807 $(srcdir)/../config/codeset.m4 \
1714 $(srcdir)/../config/extensions.m4 \ 1808 $(srcdir)/../config/depstand.m4 \
1809 $(srcdir)/../config/dfp.m4 \
1810 $(srcdir)/../config/gcc-plugin.m4 \
1715 $(srcdir)/../config/gettext-sister.m4 \ 1811 $(srcdir)/../config/gettext-sister.m4 \
1716 $(srcdir)/../config/iconv.m4 \ 1812 $(srcdir)/../config/iconv.m4 \
1717 $(srcdir)/../config/lcmessage.m4 \ 1813 $(srcdir)/../config/lcmessage.m4 \
1814 $(srcdir)/../config/lead-dot.m4 \
1718 $(srcdir)/../config/lib-ld.m4 \ 1815 $(srcdir)/../config/lib-ld.m4 \
1719 $(srcdir)/../config/lib-link.m4 \ 1816 $(srcdir)/../config/lib-link.m4 \
1720 $(srcdir)/../config/lib-prefix.m4 \ 1817 $(srcdir)/../config/lib-prefix.m4 \
1818 $(srcdir)/../config/mmap.m4 \
1721 $(srcdir)/../config/override.m4 \ 1819 $(srcdir)/../config/override.m4 \
1820 $(srcdir)/../config/picflag.m4 \
1722 $(srcdir)/../config/progtest.m4 \ 1821 $(srcdir)/../config/progtest.m4 \
1723 $(srcdir)/../config/stdint.m4 \ 1822 $(srcdir)/../config/stdint.m4 \
1724 $(srcdir)/../config/unwind_ipinfo.m4 \
1725 $(srcdir)/../config/warnings.m4 \ 1823 $(srcdir)/../config/warnings.m4 \
1726 $(srcdir)/../config/dfp.m4 \ 1824 $(srcdir)/../config/zlib.m4 \
1727 $(srcdir)/acinclude.m4 1825 $(srcdir)/acinclude.m4
1728 1826
1729 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4 1827 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4
1730 (cd $(srcdir) && $(AUTOCONF)) 1828 (cd $(srcdir) && $(AUTOCONF))
1731 1829
1774 # Provide quickstrap as a target that people can type into the gcc directory, 1872 # Provide quickstrap as a target that people can type into the gcc directory,
1775 # and that fails if you're not into it. 1873 # and that fails if you're not into it.
1776 quickstrap: all 1874 quickstrap: all
1777 cd $(toplevel_builddir) && $(MAKE) all-target-libgcc 1875 cd $(toplevel_builddir) && $(MAKE) all-target-libgcc
1778 1876
1779 all.internal: start.encap rest.encap doc 1877 all.internal: start.encap rest.encap doc selftest
1780 # This is what to compile if making a cross-compiler. 1878 # This is what to compile if making a cross-compiler.
1781 all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \ 1879 all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \
1782 libgcc-support lang.all.cross doc @GENINSRC@ srcextra 1880 libgcc-support lang.all.cross doc selftest @GENINSRC@ srcextra
1783 # This is what must be made before installing GCC and converting libraries. 1881 # This is what must be made before installing GCC and converting libraries.
1784 start.encap: native xgcc$(exeext) cpp$(exeext) specs \ 1882 start.encap: native xgcc$(exeext) cpp$(exeext) specs \
1785 libgcc-support lang.start.encap @GENINSRC@ srcextra 1883 libgcc-support lang.start.encap @GENINSRC@ srcextra
1786 # These can't be made until after GCC can run. 1884 # These can't be made until after GCC can run.
1787 rest.encap: lang.rest.encap 1885 rest.encap: lang.rest.encap
1788 # This is what is made with the host's compiler 1886 # This is what is made with the host's compiler
1789 # whether making a cross compiler or not. 1887 # whether making a cross compiler or not.
1790 native: config.status auto-host.h build-@POSUB@ $(LANGUAGES) \ 1888 native: config.status auto-host.h build-@POSUB@ $(LANGUAGES) \
1791 $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2) lto-wrapper$(exeext) 1889 $(EXTRA_PROGRAMS) $(COLLECT2) lto-wrapper$(exeext) \
1792 1890 gcc-ar$(exeext) gcc-nm$(exeext) gcc-ranlib$(exeext)
1793 # Define the names for selecting languages in LANGUAGES. 1891
1794 c: cc1$(exeext) 1892 ifeq ($(enable_plugin),yes)
1795 1893 native: gengtype$(exeext)
1796 # Tell GNU make these are phony targets. 1894 endif
1797 .PHONY: c
1798 1895
1799 # On the target machine, finish building a cross compiler. 1896 # On the target machine, finish building a cross compiler.
1800 # This does the things that can't be done on the host machine. 1897 # This does the things that can't be done on the host machine.
1801 rest.cross: specs 1898 rest.cross: specs
1802 1899
1900 # GCC's selftests.
1901 # Specify a dummy input file to placate the driver.
1902 # Specify -nostdinc to work around missing WIND_BASE environment variable
1903 # required for *-wrs-vxworks-* targets.
1904 # Specify -o /dev/null so the output of -S is discarded. More importantly
1905 # It does not try to create a file with the name "null.s" on POSIX and
1906 # "nul.s" on Windows. Because on Windows "nul" is a reserved file name.
1907 # Specify the path to gcc/testsuite/selftests within the srcdir
1908 # as an argument to -fself-test.
1909 SELFTEST_FLAGS = -nostdinc /dev/null -S -o /dev/null \
1910 -fself-test=$(srcdir)/testsuite/selftests
1911
1912 C_SELFTEST_FLAGS = -xc $(SELFTEST_FLAGS)
1913 CPP_SELFTEST_FLAGS = -xc++ $(SELFTEST_FLAGS)
1914
1915 SELFTEST_DEPS = $(GCC_PASSES) stmp-int-hdrs $(srcdir)/testsuite/selftests
1916
1917 C_SELFTEST_DEPS = cc1$(exeext) $(SELFTEST_DEPS)
1918 CPP_SELFTEST_DEPS = cc1plus$(exeext) $(SELFTEST_DEPS)
1919
1920 # Run the selftests during the build once we have a driver and the frontend,
1921 # so that self-test failures are caught as early as possible.
1922 # Use "s-selftest-FE" to ensure that we only run the selftests if the
1923 # driver, frontend, or selftest data change.
1924 .PHONY: selftest
1925
1926 # By default, only run the selftests within the C frontend
1927 selftest: s-selftest-c
1928
1929 # C selftests
1930 s-selftest-c: $(C_SELFTEST_DEPS)
1931 $(GCC_FOR_TARGET) $(C_SELFTEST_FLAGS)
1932 $(STAMP) $@
1933
1934 # Convenience methods for running C selftests under gdb:
1935 .PHONY: selftest-c-gdb
1936 selftest-c-gdb: $(C_SELFTEST_DEPS)
1937 $(GCC_FOR_TARGET) $(C_SELFTEST_FLAGS) \
1938 -wrapper gdb,--args
1939
1940 .PHONY: selftest-gdb
1941 selftest-gdb: selftest-c-gdb
1942
1943 # Convenience methods for running C selftests under valgrind:
1944 .PHONY: selftest-c-valgrind
1945 selftest-c-valgrind: $(C_SELFTEST_DEPS)
1946 $(GCC_FOR_TARGET) $(C_SELFTEST_FLAGS) \
1947 -wrapper valgrind,--leak-check=full
1948
1949 .PHONY: selftest-valgrind
1950 selftest-valgrind: selftest-c-valgrind
1951
1952 # C++ selftests
1953 s-selftest-c++: $(CPP_SELFTEST_DEPS)
1954 $(GCC_FOR_TARGET) $(CPP_SELFTEST_FLAGS)
1955 $(STAMP) $@
1956
1957 # Convenience method for running C++ selftests under gdb:
1958 .PHONY: selftest-c++-gdb
1959 selftest-c++-gdb: $(CPP_SELFTEST_DEPS)
1960 $(GCC_FOR_TARGET) $(CPP_SELFTEST_FLAGS) \
1961 -wrapper gdb,--args
1962
1963 # Convenience method for running C++ selftests under valgrind:
1964 .PHONY: selftest-c++-valgrind
1965 selftest-c++-valgrind: $(CPP_SELFTEST_DEPS)
1966 $(GCC_FOR_TARGET) $(CPP_SELFTEST_FLAGS) \
1967 -wrapper valgrind,--leak-check=full
1968
1803 # Recompile all the language-independent object files. 1969 # Recompile all the language-independent object files.
1804 # This is used only if the user explicitly asks for it. 1970 # This is used only if the user explicitly asks for it.
1805 compilations: $(BACKEND) 1971 compilations: $(BACKEND)
1806 1972
1807 # This archive is strictly for the host. 1973 # This archive is strictly for the host.
1808 libbackend.a: $(OBJS) 1974 libbackend.a: $(OBJS)
1809 -rm -rf libbackend.a 1975 -rm -rf libbackend.a
1976 @# Build libbackend.a as a thin archive if possible, as doing so
1977 @# significantly reduces build times.
1978 ifeq ($(USE_THIN_ARCHIVES),yes)
1979 $(AR) $(AR_FLAGS)T libbackend.a $(OBJS)
1980 else
1810 $(AR) $(AR_FLAGS) libbackend.a $(OBJS) 1981 $(AR) $(AR_FLAGS) libbackend.a $(OBJS)
1811 -$(RANLIB) $(RANLIB_FLAGS) libbackend.a 1982 -$(RANLIB) $(RANLIB_FLAGS) libbackend.a
1983 endif
1984
1985 libcommon-target.a: $(OBJS-libcommon-target)
1986 -rm -rf libcommon-target.a
1987 $(AR) $(AR_FLAGS) libcommon-target.a $(OBJS-libcommon-target)
1988 -$(RANLIB) $(RANLIB_FLAGS) libcommon-target.a
1989
1990 libcommon.a: $(OBJS-libcommon)
1991 -rm -rf libcommon.a
1992 $(AR) $(AR_FLAGS) libcommon.a $(OBJS-libcommon)
1993 -$(RANLIB) $(RANLIB_FLAGS) libcommon.a
1812 1994
1813 # We call this executable `xgcc' rather than `gcc' 1995 # We call this executable `xgcc' rather than `gcc'
1814 # to avoid confusion if the current directory is in the path 1996 # to avoid confusion if the current directory is in the path
1815 # and CC is `gcc'. It is renamed to `gcc' when it is installed. 1997 # and CC is `gcc'. It is renamed to `gcc' when it is installed.
1816 xgcc$(exeext): $(GCC_OBJS) gccspec.o version.o intl.o prefix.o \ 1998 xgcc$(exeext): $(GCC_OBJS) c/gccspec.o libcommon-target.a $(LIBDEPS) \
1817 version.o $(LIBDEPS) $(EXTRA_GCC_OBJS) 1999 $(EXTRA_GCC_OBJS)
1818 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(GCC_OBJS) \ 2000 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(GCC_OBJS) \
1819 gccspec.o intl.o prefix.o version.o $(EXTRA_GCC_OBJS) $(LIBS) 2001 c/gccspec.o $(EXTRA_GCC_OBJS) libcommon-target.a \
1820 2002 $(EXTRA_GCC_LIBS) $(LIBS)
1821 # cpp is to cpp0 as gcc is to cc1. 2003
1822 # The only difference from xgcc is that it's linked with cppspec.o 2004 # cpp is to cpp0 as e.g. g++ is to cc1plus: Just another driver.
1823 # instead of gccspec.o. 2005 # It is part of c-family because the handled extensions are hard-coded
1824 cpp$(exeext): $(GCC_OBJS) cppspec.o version.o intl.o prefix.o \ 2006 # and only contain c-family extensions (see known_suffixes).
1825 version.o $(LIBDEPS) $(EXTRA_GCC_OBJS) 2007 cpp$(exeext): $(GCC_OBJS) c-family/cppspec.o libcommon-target.a $(LIBDEPS) \
2008 $(EXTRA_GCC_OBJS)
1826 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(GCC_OBJS) \ 2009 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(GCC_OBJS) \
1827 cppspec.o intl.o prefix.o version.o $(EXTRA_GCC_OBJS) $(LIBS) 2010 c-family/cppspec.o $(EXTRA_GCC_OBJS) libcommon-target.a \
2011 $(EXTRA_GCC_LIBS) $(LIBS)
1828 2012
1829 # Dump a specs file to make -B./ read these specs over installed ones. 2013 # Dump a specs file to make -B./ read these specs over installed ones.
1830 $(SPECS): xgcc$(exeext) 2014 $(SPECS): xgcc$(exeext)
1831 $(GCC_FOR_TARGET) -dumpspecs > tmp-specs 2015 $(GCC_FOR_TARGET) -dumpspecs > tmp-specs
1832 mv tmp-specs $(SPECS) 2016 mv tmp-specs $(SPECS)
1839 2023
1840 checksum-options: 2024 checksum-options:
1841 echo "$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS)" > checksum-options.tmp \ 2025 echo "$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS)" > checksum-options.tmp \
1842 && $(srcdir)/../move-if-change checksum-options.tmp checksum-options 2026 && $(srcdir)/../move-if-change checksum-options.tmp checksum-options
1843 2027
1844 # compute checksum over all object files and the options
1845 cc1-checksum.c : build/genchecksum$(build_exeext) checksum-options \
1846 $(C_OBJS) $(BACKEND) $(LIBDEPS)
1847 build/genchecksum$(build_exeext) $(C_OBJS) $(BACKEND) $(LIBDEPS) \
1848 checksum-options > cc1-checksum.c.tmp && \
1849 $(srcdir)/../move-if-change cc1-checksum.c.tmp cc1-checksum.c
1850
1851 cc1-checksum.o : cc1-checksum.c $(CONFIG_H) $(SYSTEM_H)
1852
1853 cc1$(exeext): $(C_OBJS) cc1-checksum.o $(BACKEND) $(LIBDEPS)
1854 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) \
1855 cc1-checksum.o $(BACKEND) $(LIBS) $(BACKENDLIBS)
1856
1857 # 2028 #
1858 # Build libgcc.a. 2029 # Build libgcc.a.
1859 2030
1860 LIB2ADD = $(LIB2FUNCS_EXTRA)
1861 LIB2ADD_ST = $(LIB2FUNCS_STATIC_EXTRA)
1862
1863 # All source files for libgcc are either in the source directory (in
1864 # which case they will start with $(srcdir)), or generated into the build
1865 # directory (in which case they will be relative paths).
1866 srcdirify = $(patsubst $(srcdir)%,$$(gcc_srcdir)%,$(filter $(srcdir)%,$(1))) \
1867 $(patsubst %,$$(gcc_objdir)/%,$(filter-out $(srcdir)%,$(1)))
1868
1869 # The distinction between these two variables is no longer relevant,
1870 # so we combine them. Sort removes duplicates.
1871 GCC_EXTRA_PARTS := $(sort $(EXTRA_MULTILIB_PARTS) $(EXTRA_PARTS))
1872
1873 libgcc-support: libgcc.mvars stmp-int-hdrs $(TCONFIG_H) \ 2031 libgcc-support: libgcc.mvars stmp-int-hdrs $(TCONFIG_H) \
1874 $(MACHMODE_H) $(FPBIT) $(DPBIT) $(TPBIT) $(LIB2ADD) \ 2032 $(MACHMODE_H) gcov-iov.h
1875 $(LIB2ADD_ST) $(LIB2ADDEH) $(srcdir)/emutls.c gcov-iov.h $(SFP_MACHINE) 2033
1876 2034 libgcc.mvars: config.status Makefile specs xgcc$(exeext)
1877 libgcc.mvars: config.status Makefile $(LIB2ADD) $(LIB2ADD_ST) specs \
1878 xgcc$(exeext)
1879 : > tmp-libgcc.mvars 2035 : > tmp-libgcc.mvars
1880 echo LIB1ASMFUNCS = '$(LIB1ASMFUNCS)' >> tmp-libgcc.mvars 2036 echo GCC_CFLAGS = '$(GCC_CFLAGS)' >> tmp-libgcc.mvars
1881 echo LIB1ASMSRC = '$(LIB1ASMSRC)' >> tmp-libgcc.mvars 2037 echo INHIBIT_LIBC_CFLAGS = '$(INHIBIT_LIBC_CFLAGS)' >> tmp-libgcc.mvars
1882 echo LIB2FUNCS_ST = '$(LIB2FUNCS_ST)' >> tmp-libgcc.mvars
1883 echo LIB2FUNCS_EXCLUDE = '$(LIB2FUNCS_EXCLUDE)' >> tmp-libgcc.mvars
1884 echo LIBGCOV = '$(LIBGCOV)' >> tmp-libgcc.mvars
1885 echo LIB2ADD = '$(call srcdirify,$(LIB2ADD))' >> tmp-libgcc.mvars
1886 echo LIB2ADD_ST = '$(call srcdirify,$(LIB2ADD_ST))' >> tmp-libgcc.mvars
1887 echo LIB2ADDEH = '$(call srcdirify,$(LIB2ADDEH) $(srcdir)/emutls.c)' >> tmp-libgcc.mvars
1888 echo LIB2ADDEHSTATIC = '$(call srcdirify,$(LIB2ADDEHSTATIC) $(srcdir)/emutls.c)' >> tmp-libgcc.mvars
1889 echo LIB2ADDEHSHARED = '$(call srcdirify,$(LIB2ADDEHSHARED) $(srcdir)/emutls.c)' >> tmp-libgcc.mvars
1890 echo LIB2_SIDITI_CONV_FUNCS = '$(LIB2_SIDITI_CONV_FUNCS)' >> tmp-libgcc.mvars
1891 echo LIBUNWIND = '$(call srcdirify,$(LIBUNWIND))' >> tmp-libgcc.mvars
1892 echo SHLIBUNWIND_LINK = '$(SHLIBUNWIND_LINK)' >> tmp-libgcc.mvars
1893 echo SHLIBUNWIND_INSTALL = '$(SHLIBUNWIND_INSTALL)' >> tmp-libgcc.mvars
1894 echo FPBIT = '$(FPBIT)' >> tmp-libgcc.mvars
1895 echo FPBIT_FUNCS = '$(FPBIT_FUNCS)' >> tmp-libgcc.mvars
1896 echo LIB2_DIVMOD_FUNCS = '$(LIB2_DIVMOD_FUNCS)' >> tmp-libgcc.mvars
1897 echo DPBIT = '$(DPBIT)' >> tmp-libgcc.mvars
1898 echo DPBIT_FUNCS = '$(DPBIT_FUNCS)' >> tmp-libgcc.mvars
1899 echo TPBIT = '$(TPBIT)' >> tmp-libgcc.mvars
1900 echo TPBIT_FUNCS = '$(TPBIT_FUNCS)' >> tmp-libgcc.mvars
1901 echo DFP_ENABLE = '$(DFP_ENABLE)' >> tmp-libgcc.mvars
1902 echo DFP_CFLAGS='$(DFP_CFLAGS)' >> tmp-libgcc.mvars
1903 echo D32PBIT='$(D32PBIT)' >> tmp-libgcc.mvars
1904 echo D32PBIT_FUNCS='$(D32PBIT_FUNCS)' >> tmp-libgcc.mvars
1905 echo D64PBIT='$(D64PBIT)' >> tmp-libgcc.mvars
1906 echo D64PBIT_FUNCS='$(D64PBIT_FUNCS)' >> tmp-libgcc.mvars
1907 echo D128PBIT='$(D128PBIT)' >> tmp-libgcc.mvars
1908 echo D128PBIT_FUNCS='$(D128PBIT_FUNCS)' >> tmp-libgcc.mvars
1909 echo GCC_EXTRA_PARTS = '$(GCC_EXTRA_PARTS)' >> tmp-libgcc.mvars
1910 echo SHLIB_LINK = '$(subst $(GCC_FOR_TARGET),$$(GCC_FOR_TARGET),$(SHLIB_LINK))' >> tmp-libgcc.mvars
1911 echo SHLIB_INSTALL = '$(SHLIB_INSTALL)' >> tmp-libgcc.mvars
1912 echo SHLIB_DLLDIR = '$(SHLIB_DLLDIR)' >> tmp-libgcc.mvars
1913 echo SHLIB_EXT = '$(SHLIB_EXT)' >> tmp-libgcc.mvars
1914 echo SHLIB_MKMAP = '$(call srcdirify,$(SHLIB_MKMAP))' >> tmp-libgcc.mvars
1915 echo SHLIB_MKMAP_OPTS = '$(SHLIB_MKMAP_OPTS)' >> tmp-libgcc.mvars
1916 echo SHLIB_MAPFILES = '$(call srcdirify,$(SHLIB_MAPFILES))' >> tmp-libgcc.mvars
1917 echo SHLIB_NM_FLAGS = '$(SHLIB_NM_FLAGS)' >> tmp-libgcc.mvars
1918 echo LIBGCC2_CFLAGS = '$(LIBGCC2_CFLAGS)' >> tmp-libgcc.mvars
1919 echo TARGET_LIBGCC2_CFLAGS = '$(TARGET_LIBGCC2_CFLAGS)' >> tmp-libgcc.mvars
1920 echo LIBGCC_SYNC = '$(LIBGCC_SYNC)' >> tmp-libgcc.mvars
1921 echo LIBGCC_SYNC_CFLAGS = '$(LIBGCC_SYNC_CFLAGS)' >> tmp-libgcc.mvars
1922 echo CRTSTUFF_CFLAGS = '$(CRTSTUFF_CFLAGS)' >> tmp-libgcc.mvars
1923 echo CRTSTUFF_T_CFLAGS = '$(CRTSTUFF_T_CFLAGS)' >> tmp-libgcc.mvars
1924 echo CRTSTUFF_T_CFLAGS_S = '$(CRTSTUFF_T_CFLAGS_S)' >> tmp-libgcc.mvars
1925 echo TARGET_SYSTEM_ROOT = '$(TARGET_SYSTEM_ROOT)' >> tmp-libgcc.mvars 2038 echo TARGET_SYSTEM_ROOT = '$(TARGET_SYSTEM_ROOT)' >> tmp-libgcc.mvars
2039 if test @enable_default_pie@ = yes; then \
2040 NO_PIE_CFLAGS="-fno-PIE"; \
2041 else \
2042 NO_PIE_CFLAGS=; \
2043 fi; \
2044 echo NO_PIE_CFLAGS = "$$NO_PIE_CFLAGS" >> tmp-libgcc.mvars
1926 2045
1927 mv tmp-libgcc.mvars libgcc.mvars 2046 mv tmp-libgcc.mvars libgcc.mvars
1928 2047
1929 # Use the genmultilib shell script to generate the information the gcc 2048 # Use the genmultilib shell script to generate the information the gcc
1930 # driver program needs to select the library directory based on the 2049 # driver program needs to select the library directory based on the
1939 "$(MULTILIB_MATCHES)" \ 2058 "$(MULTILIB_MATCHES)" \
1940 "$(MULTILIB_EXCEPTIONS)" \ 2059 "$(MULTILIB_EXCEPTIONS)" \
1941 "$(MULTILIB_EXTRA_OPTS)" \ 2060 "$(MULTILIB_EXTRA_OPTS)" \
1942 "$(MULTILIB_EXCLUSIONS)" \ 2061 "$(MULTILIB_EXCLUSIONS)" \
1943 "$(MULTILIB_OSDIRNAMES)" \ 2062 "$(MULTILIB_OSDIRNAMES)" \
2063 "$(MULTILIB_REQUIRED)" \
2064 "$(if $(MULTILIB_OSDIRNAMES),,$(MULTIARCH_DIRNAME))" \
2065 "$(MULTILIB_REUSE)" \
1944 "@enable_multilib@" \ 2066 "@enable_multilib@" \
1945 > tmp-mlib.h; \ 2067 > tmp-mlib.h; \
1946 else \ 2068 else \
1947 $(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' '' no \ 2069 $(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' '' '' \
2070 "$(MULTIARCH_DIRNAME)" '' no \
1948 > tmp-mlib.h; \ 2071 > tmp-mlib.h; \
1949 fi 2072 fi
1950 $(SHELL) $(srcdir)/../move-if-change tmp-mlib.h multilib.h 2073 $(SHELL) $(srcdir)/../move-if-change tmp-mlib.h multilib.h
1951 $(STAMP) s-mlib 2074 $(STAMP) s-mlib
1952
1953 # Compile two additional files that are linked with every program
1954 # linked using GCC on systems using COFF or ELF, for the sake of C++
1955 # constructors.
1956 $(T)crtbegin.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
1957 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
1958 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \
1959 -c $(srcdir)/crtstuff.c -DCRT_BEGIN \
1960 -o $(T)crtbegin$(objext)
1961
1962 $(T)crtend.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
1963 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
1964 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \
1965 -c $(srcdir)/crtstuff.c -DCRT_END \
1966 -o $(T)crtend$(objext)
1967
1968 # These are versions of crtbegin and crtend for shared libraries.
1969 $(T)crtbeginS.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
1970 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
1971 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS_S) \
1972 -c $(srcdir)/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \
1973 -o $(T)crtbeginS$(objext)
1974
1975 $(T)crtendS.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
1976 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
1977 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS_S) \
1978 -c $(srcdir)/crtstuff.c -DCRT_END -DCRTSTUFFS_O \
1979 -o $(T)crtendS$(objext)
1980
1981 # This is a version of crtbegin for -static links.
1982 $(T)crtbeginT.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
1983 gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
1984 $(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \
1985 -c $(srcdir)/crtstuff.c -DCRT_BEGIN -DCRTSTUFFT_O \
1986 -o $(T)crtbeginT$(objext)
1987
1988 # Compile the start modules crt0.o and mcrt0.o that are linked with
1989 # every program
1990 $(T)crt0.o: s-crt0 ; @true
1991 $(T)mcrt0.o: s-crt0; @true
1992
1993 s-crt0: $(CRT0_S) $(MCRT0_S) $(GCC_PASSES) $(CONFIG_H)
1994 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(CRT0STUFF_T_CFLAGS) \
1995 -o $(T)crt0.o -c $(CRT0_S)
1996 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(CRT0STUFF_T_CFLAGS) \
1997 -o $(T)mcrt0.o -c $(MCRT0_S)
1998 $(STAMP) s-crt0
1999 # 2075 #
2000 # Compiling object files from source files. 2076 # Compiling object files from source files.
2001 2077
2002 # Note that dependencies on obstack.h are not written 2078 # Note that dependencies on obstack.h are not written
2003 # because that file is not part of GCC. 2079 # because that file is not part of GCC.
2005 srcextra: gcc.srcextra lang.srcextra 2081 srcextra: gcc.srcextra lang.srcextra
2006 2082
2007 gcc.srcextra: gengtype-lex.c 2083 gcc.srcextra: gengtype-lex.c
2008 -cp -p $^ $(srcdir) 2084 -cp -p $^ $(srcdir)
2009 2085
2010 # C language specific files. 2086 AR_OBJS = file-find.o
2011 c-aux-info.o : c-aux-info.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ 2087 AR_LIBS = @COLLECT2_LIBS@
2012 $(C_TREE_H) $(TREE_H) $(FLAGS_H) 2088
2013 2089 gcc-ar$(exeext): gcc-ar.o $(AR_OBJS) $(LIBDEPS)
2014 c-convert.o : c-convert.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ 2090 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) gcc-ar.o -o $@ \
2015 $(TREE_H) $(C_TREE_H) $(FLAGS_H) $(C_COMMON_H) convert.h \ 2091 $(AR_OBJS) $(LIBS) $(AR_LIBS)
2016 langhooks.h $(TARGET_H) 2092
2017 2093 gcc-nm$(exeext): gcc-nm.o $(AR_OBJS) $(LIBDEPS)
2018 c-decl.o : c-decl.c c-lang.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ 2094 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) gcc-nm.o -o $@ \
2019 $(TREE_H) $(C_TREE_H) $(GGC_H) $(TARGET_H) $(FLAGS_H) $(FUNCTION_H) \ 2095 $(AR_OBJS) $(LIBS) $(AR_LIBS)
2020 output.h debug.h toplev.h intl.h $(TM_P_H) $(TREE_INLINE_H) \ 2096
2021 $(TIMEVAR_H) $(OPTS_H) $(C_PRAGMA_H) gt-c-decl.h $(CGRAPH_H) \ 2097 gcc-ranlib$(exeext): gcc-ranlib.o $(AR_OBJS) $(LIBDEPS)
2022 $(HASHTAB_H) $(LIBFUNCS_H) $(EXCEPT_H) $(LANGHOOKS_DEF_H) \ 2098 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) gcc-ranlib.o -o $@ \
2023 $(TREE_DUMP_H) $(C_COMMON_H) $(CPPLIB_H) $(DIAGNOSTIC_CORE_H) \ 2099 $(AR_OBJS) $(LIBS) $(AR_LIBS)
2024 $(INPUT_H) langhooks.h tree-mudflap.h pointer-set.h tree-iterator.h \ 2100
2025 $(PLUGIN_H) c-family/c-ada-spec.h c-family/c-objc.h 2101 CFLAGS-gcc-ar.o += $(DRIVER_DEFINES) \
2026 2102 -DTARGET_MACHINE=\"$(target_noncanonical)\" \
2027 c-errors.o: c-errors.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ 2103 @TARGET_SYSTEM_ROOT_DEFINE@ -DPERSONALITY=\"ar\"
2028 $(C_TREE_H) $(FLAGS_H) $(DIAGNOSTIC_H) $(TM_P_H) 2104
2029 2105 CFLAGS-gcc-ranlib.o += $(DRIVER_DEFINES) \
2030 c-lang.o : c-lang.c c-objc-common.h \ 2106 -DTARGET_MACHINE=\"$(target_noncanonical)\" \
2031 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ 2107 @TARGET_SYSTEM_ROOT_DEFINE@ -DPERSONALITY=\"ranlib\"
2032 $(C_TREE_H) $(DIAGNOSTIC_CORE_H) \ 2108
2033 langhooks.h $(LANGHOOKS_DEF_H) $(C_COMMON_H) gtype-c.h \ 2109 CFLAGS-gcc-nm.o += $(DRIVER_DEFINES) \
2034 $(C_PRAGMA_H) $(TREE_INLINE_H) 2110 -DTARGET_MACHINE=\"$(target_noncanonical)\" \
2035 2111 @TARGET_SYSTEM_ROOT_DEFINE@ -DPERSONALITY=\"nm\"
2036 c-objc-common.o : c-objc-common.c c-objc-common.h \ 2112
2037 $(CONFIG_H) $(SYSTEM_H) coretypes.h \ 2113 # ??? the implicit rules dont trigger if the source file has a different name
2038 $(TREE_H) $(C_TREE_H) $(FLAGS_H) $(DIAGNOSTIC_H) \ 2114 # so copy instead
2039 langhooks.h $(GGC_H) $(C_PRETTY_PRINT_H) intl.h \ 2115 gcc-ranlib.c: gcc-ar.c
2040 tree-pretty-print.h 2116 cp $^ $@
2041 2117
2042 c-parser.o : c-parser.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ 2118 gcc-nm.c: gcc-ar.c
2043 $(TM_H) $(TREE_H) $(C_TREE_H) $(C_COMMON_H) $(C_PRAGMA_H) $(CPPLIB_H) \ 2119 cp $^ $@
2044 $(GGC_H) $(TIMEVAR_H) $(INPUT_H) $(FLAGS_H) output.h \ 2120
2045 gt-c-parser.h langhooks.h \ 2121 COLLECT2_OBJS = collect2.o collect2-aix.o tlink.o vec.o ggc-none.o \
2046 $(VEC_H) $(TARGET_H) $(CGRAPH_H) $(PLUGIN_H) \ 2122 collect-utils.o file-find.o hash-table.o selftest.o
2047 c-family/c-objc.h
2048
2049 c-typeck.o : c-typeck.c c-lang.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2050 $(TREE_H) $(C_TREE_H) $(TARGET_H) $(FLAGS_H) intl.h output.h $(EXPR_H) \
2051 langhooks.h tree-iterator.h $(BITMAP_H) $(GIMPLE_H) \
2052 c-family/c-objc.h
2053
2054
2055
2056 graph.o: graph.c $(SYSTEM_H) coretypes.h $(TM_H) toplev.h $(DIAGNOSTIC_CORE_H) $(FLAGS_H) output.h \
2057 $(RTL_H) $(FUNCTION_H) hard-reg-set.h $(BASIC_BLOCK_H) graph.h $(OBSTACK_H) \
2058 $(CONFIG_H) $(EMIT_RTL_H)
2059
2060 sbitmap.o: sbitmap.c sbitmap.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(BASIC_BLOCK_H)
2061 ebitmap.o: ebitmap.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(EBITMAP_H)
2062 sparseset.o: sparseset.c $(SYSTEM_H) sparseset.h $(CONFIG_H)
2063
2064 COLLECT2_OBJS = collect2.o collect2-aix.o tlink.o intl.o version.o
2065 COLLECT2_LIBS = @COLLECT2_LIBS@ 2123 COLLECT2_LIBS = @COLLECT2_LIBS@
2066 collect2$(exeext): $(COLLECT2_OBJS) $(LIBDEPS) 2124 collect2$(exeext): $(COLLECT2_OBJS) $(LIBDEPS)
2067 # Don't try modifying collect2 (aka ld) in place--it might be linking this. 2125 # Don't try modifying collect2 (aka ld) in place--it might be linking this.
2068 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o T$@ \ 2126 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o T$@ \
2069 $(COLLECT2_OBJS) $(LIBS) $(COLLECT2_LIBS) 2127 $(COLLECT2_OBJS) $(LIBS) $(COLLECT2_LIBS)
2070 mv -f T$@ $@ 2128 mv -f T$@ $@
2071 2129
2072 collect2.o : collect2.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h \ 2130 CFLAGS-collect2.o += -DTARGET_MACHINE=\"$(target_noncanonical)\" \
2073 $(OBSTACK_H) $(DEMANGLE_H) collect2.h collect2-aix.h version.h 2131 @TARGET_SYSTEM_ROOT_DEFINE@
2074 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \ 2132
2075 -DTARGET_MACHINE=\"$(target_noncanonical)\" \ 2133 LTO_WRAPPER_OBJS = lto-wrapper.o collect-utils.o ggc-none.o
2076 -c $(srcdir)/collect2.c $(OUTPUT_OPTION) @TARGET_SYSTEM_ROOT_DEFINE@ 2134 lto-wrapper$(exeext): $(LTO_WRAPPER_OBJS) libcommon-target.a $(LIBDEPS)
2077 2135 +$(LINKER) $(ALL_COMPILERFLAGS) $(LDFLAGS) -o T$@ \
2078 collect2-aix.o : collect2-aix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ 2136 $(LTO_WRAPPER_OBJS) libcommon-target.a $(LIBS)
2079 collect2-aix.h
2080
2081 tlink.o: tlink.c $(DEMANGLE_H) $(HASHTAB_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2082 $(OBSTACK_H) collect2.h intl.h
2083
2084 lto-wrapper$(exeext): lto-wrapper.o intl.o $(LIBDEPS)
2085 +$(COMPILER) $(ALL_COMPILERFLAGS) $(LDFLAGS) -o T$@ lto-wrapper.o intl.o $(LIBS)
2086 mv -f T$@ $@ 2137 mv -f T$@ $@
2087 2138
2088 lto-wrapper.o: lto-wrapper.c $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h \ 2139 # Files used by all variants of C or by the stand-alone pre-processor.
2089 $(OBSTACK_H) 2140
2090 2141 CFLAGS-c-family/c-opts.o += @TARGET_SYSTEM_ROOT_DEFINE@
2091 # Files used by all variants of C. 2142
2092 c-family/c-common.o : c-family/c-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ 2143 CFLAGS-c-family/c-pch.o += -DHOST_MACHINE=\"$(host)\" \
2093 $(TM_H) $(TREE_H) \ 2144 -DTARGET_MACHINE=\"$(target)\"
2094 $(OBSTACK_H) $(C_COMMON_H) $(FLAGS_H) toplev.h output.h $(C_PRAGMA_H) \ 2145
2095 $(GGC_H) builtin-types.def builtin-attrs.def \ 2146 default-c.o: config/default-c.c
2096 $(DIAGNOSTIC_H) langhooks.h c-family/c-objc.h \ 2147 $(COMPILE) $<
2097 $(TARGET_H) tree-iterator.h langhooks.h tree-mudflap.h \ 2148 $(POSTCOMPILE)
2098 intl.h $(OPTS_H) $(CPPLIB_H) $(TREE_INLINE_H) $(HASHTAB_H) \
2099 $(BUILTINS_DEF) $(CGRAPH_H) $(BASIC_BLOCK_H) $(TARGET_DEF_H) \
2100 $(LIBFUNCS_H) \
2101 gt-c-family-c-common.h
2102
2103 c-family/c-cppbuiltin.o : c-family/c-cppbuiltin.c $(CONFIG_H) $(SYSTEM_H) \
2104 coretypes.h $(TM_H) $(TREE_H) version.h $(C_COMMON_H) $(C_PRAGMA_H) \
2105 $(FLAGS_H) output.h $(TREE_H) $(TARGET_H) \
2106 $(TM_P_H) debug.h $(CPP_ID_DATA_H) cppbuiltin.h
2107 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
2108 $< $(OUTPUT_OPTION)
2109
2110 c-family/c-dump.o : c-family/c-dump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2111 $(TM_H) $(TREE_H) $(TREE_DUMP_H)
2112
2113 c-family/c-format.o : c-family/c-format.c c-family/c-format.h \
2114 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) langhooks.h \
2115 $(C_COMMON_H) $(FLAGS_H) intl.h \
2116 $(DIAGNOSTIC_CORE_H) alloc-pool.h c-family/c-objc.h
2117
2118 c-family/c-gimplify.o : c-family/c-gimplify.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
2119 $(C_COMMON_H) $(DIAGNOSTIC_CORE_H) $(GIMPLE_H) \
2120 $(FLAGS_H) langhooks.h $(LANGHOOKS_DEF_H) \
2121 $(TM_H) coretypes.h $(C_PRETTY_PRINT_H) $(CGRAPH_H) $(BASIC_BLOCK_H) \
2122 hard-reg-set.h $(TREE_DUMP_H) $(TREE_INLINE_H)
2123
2124 c-family/c-lex.o : c-family/c-lex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2125 $(TM_H) $(TREE_H) $(FIXED_VALUE_H) debug.h $(C_COMMON_H) $(SPLAY_TREE_H) \
2126 $(C_PRAGMA_H) $(INPUT_H) intl.h $(FLAGS_H) output.h \
2127 $(CPPLIB_H) $(TARGET_H) $(TIMEVAR_H)
2128
2129 c-family/c-omp.o : c-family/c-omp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2130 $(TREE_H) $(C_COMMON_H) $(GIMPLE_H) langhooks.h
2131
2132 c-family/c-opts.o : c-family/c-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2133 $(TREE_H) $(C_PRAGMA_H) $(FLAGS_H) toplev.h langhooks.h \
2134 $(DIAGNOSTIC_H) intl.h debug.h $(C_COMMON_H) \
2135 $(OPTS_H) $(OPTIONS_H) $(MKDEPS_H) incpath.h cppdefault.h
2136 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
2137 $< $(OUTPUT_OPTION) @TARGET_SYSTEM_ROOT_DEFINE@
2138
2139 c-family/c-pch.o : c-family/c-pch.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2140 $(CPPLIB_H) $(TREE_H) $(C_COMMON_H) output.h $(C_PRAGMA_H) \
2141 $(GGC_H) debug.h langhooks.h $(FLAGS_H) hosthooks.h version.h \
2142 $(TARGET_H) $(OPTS_H) $(TIMEVAR_H)
2143 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
2144 -DHOST_MACHINE=\"$(host)\" -DTARGET_MACHINE=\"$(target)\" \
2145 $< $(OUTPUT_OPTION)
2146
2147 c-family/c-ppoutput.o : c-family/c-ppoutput.c $(CONFIG_H) $(SYSTEM_H) \
2148 coretypes.h $(C_COMMON_H) $(TREE_H) $(CPPLIB_H) $(CPP_INTERNAL_H) \
2149 $(C_PRAGMA_H)
2150
2151 c-family/c-pragma.o: c-family/c-pragma.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2152 $(TM_H) $(TREE_H) $(FUNCTION_H) $(C_PRAGMA_H) output.h \
2153 $(TM_P_H) $(C_COMMON_H) $(TARGET_H) $(CPPLIB_H) $(FLAGS_H) \
2154 $(DIAGNOSTIC_H) $(OPTS_H) $(PLUGINS_H) \
2155 gt-c-family-c-pragma.h
2156
2157 c-family/c-pretty-print.o : c-family/c-pretty-print.c $(C_PRETTY_PRINT_H) \
2158 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2159 $(DIAGNOSTIC_H) tree-iterator.h intl.h tree-pretty-print.h
2160
2161 c-family/c-semantics.o : c-family/c-semantics.c $(CONFIG_H) $(SYSTEM_H) \
2162 coretypes.h $(TM_H) $(TREE_H) $(FLAGS_H) output.h \
2163 $(C_COMMON_H) $(FUNCTION_H) langhooks.h $(SPLAY_TREE_H) $(TIMEVAR_H) \
2164 tree-iterator.h
2165
2166 c-family/c-ada-spec.o : c-family/c-ada-spec.c c-family/c-ada-spec.h \
2167 $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(CPP_ID_DATA_H) $(TM_H) \
2168 coretypes.h tree-iterator.h tree-pass.h output.h
2169
2170 c-family/stub-objc.o : c-family/stub-objc.c $(CONFIG_H) $(SYSTEM_H) \
2171 coretypes.h $(TREE_H) $(C_COMMON_H) c-family/c-objc.h
2172
2173 2149
2174 # Files used by all variants of C and some other languages. 2150 # Files used by all variants of C and some other languages.
2175 2151
2176 attribs.o : attribs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ 2152 CFLAGS-prefix.o += -DPREFIX=\"$(prefix)\" -DBASEVER=$(BASEVER_s)
2177 $(FLAGS_H) toplev.h $(DIAGNOSTIC_CORE_H) output.h $(GGC_H) $(TM_P_H) \ 2153 prefix.o: $(BASEVER)
2178 $(TARGET_H) langhooks.h $(CPPLIB_H) $(PLUGIN_H)
2179
2180 incpath.o: incpath.c incpath.h $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) \
2181 intl.h prefix.h coretypes.h $(TM_H) cppdefault.h $(TARGET_H) \
2182 $(MACHMODE_H)
2183
2184 prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) prefix.h \
2185 Makefile $(BASEVER)
2186 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
2187 -DPREFIX=\"$(prefix)\" -DBASEVER=$(BASEVER_s) \
2188 -c $(srcdir)/prefix.c $(OUTPUT_OPTION)
2189 2154
2190 # Language-independent files. 2155 # Language-independent files.
2191 2156
2192 DRIVER_DEFINES = \ 2157 DRIVER_DEFINES = \
2193 -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \ 2158 -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
2194 -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \ 2159 -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
2195 -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \ 2160 -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
2196 -DDEFAULT_TARGET_VERSION=\"$(version)\" \ 2161 -DDEFAULT_TARGET_VERSION=\"$(version)\" \
2162 -DDEFAULT_REAL_TARGET_MACHINE=\"$(real_target_noncanonical)\" \
2197 -DDEFAULT_TARGET_MACHINE=\"$(target_noncanonical)\" \ 2163 -DDEFAULT_TARGET_MACHINE=\"$(target_noncanonical)\" \
2198 -DSTANDARD_BINDIR_PREFIX=\"$(bindir)/\" \ 2164 -DSTANDARD_BINDIR_PREFIX=\"$(bindir)/\" \
2199 -DTOOLDIR_BASE_PREFIX=\"$(libsubdir_to_prefix)$(prefix_to_exec_prefix)\" \ 2165 -DTOOLDIR_BASE_PREFIX=\"$(libsubdir_to_prefix)$(prefix_to_exec_prefix)\" \
2166 -DACCEL_DIR_SUFFIX=\"$(accel_dir_suffix)\" \
2200 @TARGET_SYSTEM_ROOT_DEFINE@ \ 2167 @TARGET_SYSTEM_ROOT_DEFINE@ \
2201 $(VALGRIND_DRIVER_DEFINES) \ 2168 $(VALGRIND_DRIVER_DEFINES) \
2202 `test "X$${SHLIB_LINK}" = "X" || test "@enable_shared@" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` \ 2169 $(if $(SHLIB),$(if $(filter yes,@enable_shared@),-DENABLE_SHARED_LIBGCC)) \
2203 -DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\"" 2170 -DCONFIGURE_SPECS="\"@CONFIGURE_SPECS@\""
2204 2171
2205 gcc.o: gcc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h multilib.h \ 2172 CFLAGS-gcc.o += $(DRIVER_DEFINES) -DBASEVER=$(BASEVER_s)
2206 Makefile $(lang_specs_files) specs.h prefix.h $(GCC_H) $(FLAGS_H) \ 2173 gcc.o: $(BASEVER)
2207 configargs.h $(OBSTACK_H) $(OPTS_H) $(DIAGNOSTIC_H) $(VEC_H)
2208 (SHLIB_LINK='$(SHLIB_LINK)'; \
2209 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
2210 $(DRIVER_DEFINES) \
2211 -c $(srcdir)/gcc.c $(OUTPUT_OPTION))
2212
2213 gccspec.o: gccspec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H) \
2214 $(OPTS_H)
2215 (SHLIB_LINK='$(SHLIB_LINK)'; \
2216 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
2217 $(DRIVER_DEFINES) \
2218 -c $(srcdir)/gccspec.c $(OUTPUT_OPTION))
2219
2220 cppspec.o: cppspec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H) \
2221 $(OPTS_H)
2222 2174
2223 specs.h : s-specs ; @true 2175 specs.h : s-specs ; @true
2224 s-specs : Makefile 2176 s-specs : Makefile
2225 lsf="$(lang_specs_files)"; for f in $$lsf; do \ 2177 lsf="$(lang_specs_files)"; for f in $$lsf; do \
2226 echo "#include \"$$f\""; \ 2178 echo "#include \"$$f\""; \
2228 $(SHELL) $(srcdir)/../move-if-change tmp-specs.h specs.h 2180 $(SHELL) $(srcdir)/../move-if-change tmp-specs.h specs.h
2229 $(STAMP) s-specs 2181 $(STAMP) s-specs
2230 2182
2231 optionlist: s-options ; @true 2183 optionlist: s-options ; @true
2232 s-options: $(ALL_OPT_FILES) Makefile $(srcdir)/opt-gather.awk 2184 s-options: $(ALL_OPT_FILES) Makefile $(srcdir)/opt-gather.awk
2185 LC_ALL=C ; export LC_ALL ; \
2233 $(AWK) -f $(srcdir)/opt-gather.awk $(ALL_OPT_FILES) > tmp-optionlist 2186 $(AWK) -f $(srcdir)/opt-gather.awk $(ALL_OPT_FILES) > tmp-optionlist
2234 $(SHELL) $(srcdir)/../move-if-change tmp-optionlist optionlist 2187 $(SHELL) $(srcdir)/../move-if-change tmp-optionlist optionlist
2235 $(STAMP) s-options 2188 $(STAMP) s-options
2236 2189
2237 options.c: optionlist $(srcdir)/opt-functions.awk $(srcdir)/optc-gen.awk 2190 options.c: optionlist $(srcdir)/opt-functions.awk $(srcdir)/opt-read.awk \
2238 $(AWK) -f $(srcdir)/opt-functions.awk -f $(srcdir)/optc-gen.awk \ 2191 $(srcdir)/optc-gen.awk
2192 $(AWK) -f $(srcdir)/opt-functions.awk -f $(srcdir)/opt-read.awk \
2193 -f $(srcdir)/optc-gen.awk \
2194 -v header_name="config.h system.h coretypes.h options.h tm.h" < $< > $@
2195
2196 options-save.c: optionlist $(srcdir)/opt-functions.awk $(srcdir)/opt-read.awk \
2197 $(srcdir)/optc-save-gen.awk
2198 $(AWK) -f $(srcdir)/opt-functions.awk -f $(srcdir)/opt-read.awk \
2199 -f $(srcdir)/optc-save-gen.awk \
2239 -v header_name="config.h system.h coretypes.h tm.h" < $< > $@ 2200 -v header_name="config.h system.h coretypes.h tm.h" < $< > $@
2240 2201
2241 options.h: s-options-h ; @true 2202 options.h: s-options-h ; @true
2242 s-options-h: optionlist $(srcdir)/opt-functions.awk $(srcdir)/opth-gen.awk 2203 s-options-h: optionlist $(srcdir)/opt-functions.awk $(srcdir)/opt-read.awk \
2243 $(AWK) -f $(srcdir)/opt-functions.awk -f $(srcdir)/opth-gen.awk \ 2204 $(srcdir)/opth-gen.awk
2205 $(AWK) -f $(srcdir)/opt-functions.awk -f $(srcdir)/opt-read.awk \
2206 -f $(srcdir)/opth-gen.awk \
2244 < $< > tmp-options.h 2207 < $< > tmp-options.h
2245 $(SHELL) $(srcdir)/../move-if-change tmp-options.h options.h 2208 $(SHELL) $(srcdir)/../move-if-change tmp-options.h options.h
2246 $(STAMP) $@ 2209 $(STAMP) $@
2247 2210
2248 options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TARGET_H) $(FLAGS_H) \
2249 $(TM_H) $(OPTS_H) intl.h $(OPTIONS_C_EXTRA)
2250
2251 gcc-options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(OPTS_H) intl.h \
2252 $(OPTIONS_C_EXTRA)
2253 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(OUTPUT_OPTION) \
2254 -DGCC_DRIVER options.c
2255
2256 dumpvers: dumpvers.c 2211 dumpvers: dumpvers.c
2257 2212
2258 version.o: version.c version.h $(REVISION) $(DATESTAMP) $(BASEVER) $(DEVPHASE) 2213 CFLAGS-version.o += -DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
2259 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
2260 -DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
2261 -DREVISION=$(REVISION_s) \ 2214 -DREVISION=$(REVISION_s) \
2262 -DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \ 2215 -DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \
2263 -DBUGURL=$(BUGURL_s) -c $(srcdir)/version.c $(OUTPUT_OPTION) 2216 -DBUGURL=$(BUGURL_s)
2264 2217 version.o: $(REVISION) $(DATESTAMP) $(BASEVER) $(DEVPHASE)
2265 gtype-desc.o: gtype-desc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2266 $(HASHTAB_H) $(SPLAY_TREE_H) $(OBSTACK_H) $(BITMAP_H) \
2267 $(INPUT_H) $(TREE_H) $(RTL_H) $(FUNCTION_H) insn-config.h $(EXPR_H) \
2268 hard-reg-set.h $(BASIC_BLOCK_H) cselib.h $(INSN_ADDR_H) $(OPTABS_H) \
2269 $(LIBFUNCS_H) debug.h $(GGC_H) $(CGRAPH_H) $(TREE_FLOW_H) reload.h \
2270 $(CPP_ID_DATA_H) tree-chrec.h $(CFGLAYOUT_H) $(EXCEPT_H) output.h \
2271 $(CFGLOOP_H) $(TARGET_H) $(IPA_PROP_H) $(LTO_STREAMER_H) \
2272 target-globals.h
2273
2274 ggc-common.o: ggc-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2275 $(GGC_H) $(HASHTAB_H) $(DIAGNOSTIC_CORE_H) $(PARAMS_H) hosthooks.h \
2276 $(HOSTHOOKS_DEF_H) $(VEC_H) $(PLUGIN_H) $(GGC_INTERNAL_H) $(TIMEVAR_H)
2277
2278 ggc-page.o: ggc-page.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
2279 $(FLAGS_H) $(DIAGNOSTIC_CORE_H) $(GGC_H) $(TIMEVAR_H) $(TM_P_H) $(PARAMS_H) \
2280 $(TREE_FLOW_H) $(PLUGIN_H) $(GGC_INTERNAL_H)
2281
2282 ggc-zone.o: ggc-zone.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2283 $(TREE_H) $(FLAGS_H) $(DIAGNOSTIC_CORE_H) $(GGC_H) $(TIMEVAR_H) $(TM_P_H) \
2284 $(PARAMS_H) $(BITMAP_H) $(PLUGIN_H) $(GGC_INTERNAL_H)
2285
2286 ggc-none.o: ggc-none.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(GGC_H) \
2287 $(BCONFIG_H)
2288
2289 stringpool.o: stringpool.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2290 $(TREE_H) $(GGC_H) $(GGC_INTERNAL_H) gt-stringpool.h $(CPPLIB_H) $(SYMTAB_H)
2291
2292 convert.o: convert.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2293 $(FLAGS_H) convert.h $(DIAGNOSTIC_CORE_H) langhooks.h
2294
2295 double-int.o: double-int.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2296 toplev.h $(TREE_H)
2297 2218
2298 # lto-compress.o needs $(ZLIBINC) added to the include flags. 2219 # lto-compress.o needs $(ZLIBINC) added to the include flags.
2299 lto-compress.o: lto-compress.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ 2220 CFLAGS-lto-compress.o += $(ZLIBINC)
2300 $(TREE_H) langhooks.h $(LTO_HEADER_H) $(LTO_SECTION_H) \
2301 lto-compress.h $(DIAGNOSTIC_CORE_H) $(DIAGNOSTIC_CORE_H)
2302 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(ZLIBINC) $< $(OUTPUT_OPTION)
2303
2304 lto-cgraph.o: lto-cgraph.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2305 $(TM_H) $(DIAGNOSTIC_CORE_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \
2306 $(HASHTAB_H) langhooks.h $(BASIC_BLOCK_H) \
2307 $(TREE_FLOW_H) $(CGRAPH_H) $(FUNCTION_H) $(GGC_H) $(DIAGNOSTIC_CORE_H) \
2308 $(EXCEPT_H) $(TIMEVAR_H) output.h pointer-set.h $(LTO_STREAMER_H) $(GCOV_IO_H)
2309 lto-streamer-in.o: lto-streamer-in.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2310 $(TM_H) toplev.h $(DIAGNOSTIC_CORE_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \
2311 $(HASHTAB_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(TREE_PASS_H) $(CGRAPH_H) \
2312 $(FUNCTION_H) $(GGC_H) $(DIAGNOSTIC_H) $(LIBFUNCS_H) $(EXCEPT_H) debug.h \
2313 $(TIMEVAR_H) output.h $(IPA_UTILS_H) $(LTO_STREAMER_H) toplev.h
2314 lto-streamer-out.o : lto-streamer-out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2315 $(TM_H) $(DIAGNOSTIC_CORE_H) $(TREE_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \
2316 $(HASHTAB_H) $(BASIC_BLOCK_H) tree-iterator.h \
2317 $(TREE_FLOW_H) $(TREE_PASS_H) $(CGRAPH_H) $(FUNCTION_H) $(GGC_H) \
2318 $(DIAGNOSTIC_CORE_H) $(EXCEPT_H) $(LTO_STREAMER_H) $(DIAGNOSTIC_CORE_H)
2319 lto-section-in.o: lto-section-in.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2320 $(DIAGNOSTIC_CORE_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h \
2321 $(HASHTAB_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(CGRAPH_H) $(FUNCTION_H) \
2322 $(GGC_H) $(DIAGNOSTIC_CORE_H) $(EXCEPT_H) $(TIMEVAR_H) output.h \
2323 $(LTO_STREAMER_H) lto-compress.h
2324 lto-section-out.o : lto-section-out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2325 $(TM_H) $(DIAGNOSTIC_CORE_H) $(TREE_H) $(EXPR_H) $(PARAMS_H) input.h \
2326 $(HASHTAB_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(TREE_PASS_H) \
2327 $(CGRAPH_H) $(FUNCTION_H) $(GGC_H) $(EXCEPT_H) pointer-set.h \
2328 $(BITMAP_H) langhooks.h $(LTO_STREAMER_H) lto-compress.h
2329 lto-symtab.o: lto-symtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2330 $(TREE_H) $(GIMPLE_H) $(GGC_H) $(HASHTAB_H) \
2331 $(LTO_STREAMER_H) $(LINKER_PLUGIN_API_H) gt-lto-symtab.h
2332 lto-opts.o: lto-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
2333 $(HASHTAB_H) $(GGC_H) $(BITMAP_H) $(FLAGS_H) $(OPTS_H) $(OPTIONS_H) \
2334 $(TARGET_H) $(DIAGNOSTIC_H) $(LTO_STREAMER_H)
2335 lto-streamer.o: lto-streamer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2336 $(TM_H) $(TREE_H) $(GIMPLE_H) $(BITMAP_H) $(LTO_STREAMER_H) $(FLAGS_H) \
2337 $(TREE_FLOW_H) $(DIAGNOSTIC_CORE_H) $(LTO_SYMTAB_H) toplev.h $(DIAGNOSTIC_CORE_H)
2338 langhooks.o : langhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2339 $(TREE_H) toplev.h $(DIAGNOSTIC_CORE_H) $(TREE_INLINE_H) $(RTL_H) insn-config.h $(INTEGRATE_H) \
2340 langhooks.h $(TARGET_H) $(LANGHOOKS_DEF_H) $(FLAGS_H) $(GGC_H) $(DIAGNOSTIC_H) \
2341 intl.h $(GIMPLE_H) $(CGRAPH_H) output.h tree-diagnostic.h
2342 tree.o: tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2343 all-tree.def $(FLAGS_H) $(FUNCTION_H) $(PARAMS_H) \
2344 toplev.h $(DIAGNOSTIC_CORE_H) $(GGC_H) $(HASHTAB_H) $(TARGET_H) output.h $(TM_P_H) \
2345 langhooks.h gt-tree.h $(TREE_INLINE_H) tree-iterator.h \
2346 $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(OBSTACK_H) pointer-set.h \
2347 tree-pass.h $(LANGHOOKS_DEF_H) $(DIAGNOSTIC_H) $(CGRAPH_H) $(TIMEVAR_H) \
2348 $(EXCEPT_H) debug.h intl.h tree-diagnostic.h tree-pretty-print.h
2349 tree-dump.o: tree-dump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2350 $(TREE_H) langhooks.h toplev.h $(SPLAY_TREE_H) $(TREE_DUMP_H) \
2351 tree-iterator.h $(TREE_PASS_H) $(DIAGNOSTIC_H)
2352 tree-inline.o : tree-inline.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2353 $(TREE_H) $(RTL_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) $(INPUT_H) insn-config.h \
2354 $(HASHTAB_H) langhooks.h $(TREE_INLINE_H) $(CGRAPH_H) \
2355 intl.h $(FUNCTION_H) $(GIMPLE_H) \
2356 debug.h $(DIAGNOSTIC_H) $(EXCEPT_H) $(TREE_FLOW_H) tree-iterator.h tree-mudflap.h \
2357 $(IPA_PROP_H) value-prof.h $(TREE_PASS_H) $(TARGET_H) $(INTEGRATE_H) \
2358 tree-pretty-print.h
2359 print-tree.o : print-tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2360 $(GGC_H) langhooks.h tree-iterator.h \
2361 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_PASS_H) gimple-pretty-print.h
2362 stor-layout.o : stor-layout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2363 $(TREE_H) $(PARAMS_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) output.h $(RTL_H) \
2364 $(GGC_H) $(TM_P_H) $(TARGET_H) langhooks.h $(REGS_H) gt-stor-layout.h \
2365 $(DIAGNOSTIC_CORE_H) $(CGRAPH_H) $(TREE_INLINE_H) $(TREE_DUMP_H) $(GIMPLE_H)
2366 tree-ssa-structalias.o: tree-ssa-structalias.c \
2367 $(SYSTEM_H) $(CONFIG_H) coretypes.h $(TM_H) $(GGC_H) $(OBSTACK_H) $(BITMAP_H) \
2368 $(FLAGS_H) $(TM_P_H) $(BASIC_BLOCK_H) output.h \
2369 $(DIAGNOSTIC_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) \
2370 $(GIMPLE_H) $(HASHTAB_H) $(FUNCTION_H) $(CGRAPH_H) \
2371 $(TREE_PASS_H) $(TIMEVAR_H) alloc-pool.h $(SPLAY_TREE_H) $(PARAMS_H) \
2372 gt-tree-ssa-structalias.h $(CGRAPH_H) $(ALIAS_H) pointer-set.h
2373 tree-ssa-uninit.o : tree-ssa-uninit.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2374 $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
2375 $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2376 $(TREE_DUMP_H) langhooks.h tree-pass.h $(BASIC_BLOCK_H) $(BITMAP_H) \
2377 $(FLAGS_H) $(HASHTAB_H) pointer-set.h \
2378 $(GIMPLE_H) $(TREE_INLINE_H) gimple-pretty-print.h
2379 tree-ssa.o : tree-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2380 $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
2381 toplev.h $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2382 $(TREE_DUMP_H) langhooks.h $(TREE_PASS_H) $(BASIC_BLOCK_H) $(BITMAP_H) \
2383 $(FLAGS_H) $(GGC_H) $(HASHTAB_H) pointer-set.h \
2384 $(GIMPLE_H) $(TREE_INLINE_H) $(TARGET_H) tree-pretty-print.h \
2385 gimple-pretty-print.h
2386 tree-into-ssa.o : tree-into-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2387 $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
2388 $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2389 langhooks.h domwalk.h $(TREE_PASS_H) $(PARAMS_H) $(BASIC_BLOCK_H) \
2390 $(BITMAP_H) $(CFGLOOP_H) $(FLAGS_H) $(HASHTAB_H) \
2391 $(GIMPLE_H) $(TREE_INLINE_H) vecprim.h tree-pretty-print.h \
2392 gimple-pretty-print.h
2393 tree-ssa-ter.o : tree-ssa-ter.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2394 $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2395 $(TREE_SSA_LIVE_H) $(BITMAP_H) $(FLAGS_H) tree-pretty-print.h \
2396 gimple-pretty-print.h
2397 tree-ssa-coalesce.o : tree-ssa-coalesce.c $(TREE_FLOW_H) $(CONFIG_H) \
2398 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2399 $(TREE_SSA_LIVE_H) $(BITMAP_H) $(FLAGS_H) $(HASHTAB_H) \
2400 tree-pretty-print.h
2401 tree-outof-ssa.o : tree-outof-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2402 $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2403 $(TREE_PASS_H) $(TREE_SSA_LIVE_H) $(BASIC_BLOCK_H) $(BITMAP_H) $(GGC_H) \
2404 $(EXPR_H) $(SSAEXPAND_H) tree-pretty-print.h \
2405 gimple-pretty-print.h
2406 tree-ssa-dse.o : tree-ssa-dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2407 $(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) $(TM_P_H) $(BASIC_BLOCK_H) \
2408 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) domwalk.h $(FLAGS_H) \
2409 $(DIAGNOSTIC_H) $(TIMEVAR_H) langhooks.h
2410 tree-ssa-forwprop.o : tree-ssa-forwprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2411 $(TM_H) $(TREE_H) $(TM_P_H) $(BASIC_BLOCK_H) \
2412 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
2413 langhooks.h $(FLAGS_H) $(GIMPLE_H) tree-pretty-print.h $(EXPR_H)
2414 tree-ssa-phiprop.o : tree-ssa-phiprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2415 $(TM_H) $(TREE_H) $(TM_P_H) $(BASIC_BLOCK_H) \
2416 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
2417 langhooks.h $(FLAGS_H) tree-pretty-print.h gimple-pretty-print.h
2418 tree-ssa-ifcombine.o : tree-ssa-ifcombine.c $(CONFIG_H) $(SYSTEM_H) \
2419 coretypes.h $(TM_H) $(TREE_H) $(BASIC_BLOCK_H) \
2420 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
2421 tree-pretty-print.h
2422 tree-ssa-phiopt.o : tree-ssa-phiopt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2423 $(TM_H) $(GGC_H) $(TREE_H) $(TM_P_H) $(BASIC_BLOCK_H) \
2424 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) langhooks.h $(FLAGS_H) \
2425 $(DIAGNOSTIC_H) $(TIMEVAR_H) pointer-set.h domwalk.h
2426 tree-nrv.o : tree-nrv.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2427 $(TM_H) $(TREE_H) $(FUNCTION_H) $(BASIC_BLOCK_H) $(FLAGS_H) \
2428 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TIMEVAR_H) $(TREE_DUMP_H) $(TREE_PASS_H) \
2429 langhooks.h tree-pretty-print.h
2430 tree-ssa-copy.o : tree-ssa-copy.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2431 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h $(DIAGNOSTIC_H) \
2432 $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2433 $(BASIC_BLOCK_H) $(TREE_PASS_H) langhooks.h tree-ssa-propagate.h \
2434 $(FLAGS_H) $(CFGLOOP_H) tree-pretty-print.h gimple-pretty-print.h
2435 tree-ssa-propagate.o : tree-ssa-propagate.c $(TREE_FLOW_H) $(CONFIG_H) \
2436 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h \
2437 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2438 $(TREE_DUMP_H) $(BASIC_BLOCK_H) $(TREE_PASS_H) langhooks.h \
2439 tree-ssa-propagate.h $(VEC_H) value-prof.h gt-tree-ssa-propagate.h $(FLAGS_H) \
2440 $(GIMPLE_H) gimple-pretty-print.h
2441 tree-ssa-dom.o : tree-ssa-dom.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2442 $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
2443 $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2444 $(BASIC_BLOCK_H) domwalk.h $(TREE_PASS_H) $(FLAGS_H) langhooks.h \
2445 tree-ssa-propagate.h $(CFGLOOP_H) $(PARAMS_H) tree-pretty-print.h \
2446 gimple-pretty-print.h
2447 tree-ssa-uncprop.o : tree-ssa-uncprop.c $(TREE_FLOW_H) $(CONFIG_H) \
2448 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h \
2449 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2450 $(TREE_DUMP_H) $(BASIC_BLOCK_H) domwalk.h $(TREE_PASS_H) $(FLAGS_H) \
2451 langhooks.h tree-ssa-propagate.h
2452 tree-ssa-threadedge.o : tree-ssa-threadedge.c $(TREE_FLOW_H) $(CONFIG_H) \
2453 $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(FLAGS_H) $(TM_P_H) \
2454 $(BASIC_BLOCK_H) $(CFGLOOP_H) output.h $(EXPR_H) \
2455 $(FUNCTION_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TREE_DUMP_H) $(TREE_FLOW_H) \
2456 $(TREE_PASS_H) tree-ssa-propagate.h langhooks.h \
2457 $(PARAMS_H)
2458 tree-ssa-threadupdate.o : tree-ssa-threadupdate.c $(TREE_FLOW_H) $(CONFIG_H) \
2459 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h \
2460 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2461 $(BASIC_BLOCK_H) $(FLAGS_H) $(TREE_PASS_H) $(CFGLOOP_H)
2462 tree-ssanames.o : tree-ssanames.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2463 $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_PASS_H)
2464 tree-phinodes.o : tree-phinodes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2465 $(TM_H) $(TREE_H) $(GGC_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) \
2466 gt-tree-phinodes.h $(RTL_H) $(DIAGNOSTIC_CORE_H) $(GIMPLE_H)
2467 domwalk.o : domwalk.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2468 $(BASIC_BLOCK_H) domwalk.h sbitmap.h
2469 tree-ssa-live.o : tree-ssa-live.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2470 $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2471 $(TREE_SSA_LIVE_H) $(BITMAP_H) debug.h $(FLAGS_H) \
2472 tree-pretty-print.h gimple-pretty-print.h $(GIMPLE_H)
2473 tree-ssa-copyrename.o : tree-ssa-copyrename.c $(TREE_FLOW_H) $(CONFIG_H) \
2474 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) \
2475 $(TREE_PASS_H) $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_SSA_LIVE_H) \
2476 $(BASIC_BLOCK_H) $(BITMAP_H) $(FLAGS_H) $(HASHTAB_H) langhooks.h \
2477 $(GIMPLE_H) $(TREE_INLINE_H) $(GIMPLE_H) tree-pretty-print.h
2478 tree-ssa-pre.o : tree-ssa-pre.c $(TREE_FLOW_H) $(CONFIG_H) \
2479 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(FIBHEAP_H) \
2480 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) langhooks.h \
2481 $(CFGLOOP_H) alloc-pool.h $(BASIC_BLOCK_H) $(BITMAP_H) $(HASHTAB_H) \
2482 $(GIMPLE_H) $(TREE_INLINE_H) tree-iterator.h tree-ssa-sccvn.h $(PARAMS_H) \
2483 $(DBGCNT_H) tree-scalar-evolution.h tree-pretty-print.h \
2484 gimple-pretty-print.h
2485 tree-ssa-sccvn.o : tree-ssa-sccvn.c $(TREE_FLOW_H) $(CONFIG_H) \
2486 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(FIBHEAP_H) \
2487 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) $(CFGLOOP_H) \
2488 alloc-pool.h $(BASIC_BLOCK_H) $(BITMAP_H) langhooks.h $(HASHTAB_H) $(GIMPLE_H) \
2489 $(TREE_INLINE_H) tree-iterator.h tree-ssa-propagate.h tree-ssa-sccvn.h \
2490 $(PARAMS_H) tree-pretty-print.h gimple-pretty-print.h
2491 tree-vrp.o : tree-vrp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2492 $(TREE_FLOW_H) $(TREE_PASS_H) $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(GGC_H) \
2493 $(BASIC_BLOCK_H) tree-ssa-propagate.h $(FLAGS_H) $(TREE_DUMP_H) \
2494 $(CFGLOOP_H) $(SCEV_H) $(TIMEVAR_H) intl.h tree-pretty-print.h \
2495 gimple-pretty-print.h
2496 tree-cfg.o : tree-cfg.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2497 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) $(FLAGS_H) output.h \
2498 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2499 $(TREE_DUMP_H) $(EXCEPT_H) langhooks.h $(CFGLOOP_H) $(TREE_PASS_H) \
2500 $(CFGLAYOUT_H) $(BASIC_BLOCK_H) \
2501 value-prof.h tree-ssa-propagate.h $(TREE_INLINE_H) tree-pretty-print.h \
2502 gimple-pretty-print.h
2503 tree-cfgcleanup.o : tree-cfgcleanup.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2504 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) $(FLAGS_H) output.h \
2505 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2506 $(TREE_DUMP_H) $(EXCEPT_H) langhooks.h $(CFGLOOP_H) $(TREE_PASS_H) \
2507 $(CFGLAYOUT_H) $(BASIC_BLOCK_H) $(HASHTAB_H) \
2508 tree-ssa-propagate.h $(SCEV_H)
2509 tree-tailcall.o : tree-tailcall.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2510 $(TREE_H) $(TM_P_H) $(FUNCTION_H) $(TM_H) coretypes.h \
2511 $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(EXCEPT_H) $(TREE_PASS_H) $(FLAGS_H) langhooks.h \
2512 $(BASIC_BLOCK_H) $(DBGCNT_H) gimple-pretty-print.h $(TARGET_H)
2513 tree-ssa-sink.o : tree-ssa-sink.c $(TREE_FLOW_H) $(CONFIG_H) \
2514 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
2515 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) alloc-pool.h \
2516 $(BASIC_BLOCK_H) $(BITMAP_H) $(CFGLOOP_H) $(FIBHEAP_H) $(HASHTAB_H) \
2517 langhooks.h $(GIMPLE_H) $(TREE_INLINE_H) tree-iterator.h \
2518 gimple-pretty-print.h
2519 tree-nested.o: tree-nested.c $(CONFIG_H) $(SYSTEM_H) $(TM_H) $(TREE_H) \
2520 $(TM_P_H) $(FUNCTION_H) $(TREE_DUMP_H) $(TREE_INLINE_H) \
2521 tree-iterator.h $(GIMPLE_H) $(CGRAPH_H) $(EXPR_H) langhooks.h \
2522 gt-tree-nested.h coretypes.h $(TREE_FLOW_H) pointer-set.h
2523 tree-if-conv.o: tree-if-conv.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2524 $(TREE_H) $(FLAGS_H) $(TIMEVAR_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) \
2525 $(CFGLOOP_H) $(TREE_DATA_REF_H) $(TREE_PASS_H) $(DIAGNOSTIC_H) \
2526 $(TREE_DUMP_H) $(DBGCNT_H) tree-pretty-print.h gimple-pretty-print.h
2527 tree-iterator.o : tree-iterator.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
2528 coretypes.h $(GGC_H) tree-iterator.h $(GIMPLE_H) gt-tree-iterator.h
2529 tree-dfa.o : tree-dfa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2530 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h $(DIAGNOSTIC_H) \
2531 $(TREE_INLINE_H) $(HASHTAB_H) pointer-set.h $(FLAGS_H) $(FUNCTION_H) \
2532 $(TIMEVAR_H) convert.h $(TM_H) coretypes.h langhooks.h $(TREE_DUMP_H) \
2533 $(TREE_PASS_H) $(PARAMS_H) $(CGRAPH_H) $(BASIC_BLOCK_H) $(GIMPLE_H) \
2534 tree-pretty-print.h
2535 tree-ssa-operands.o : tree-ssa-operands.c $(TREE_FLOW_H) $(CONFIG_H) \
2536 $(SYSTEM_H) $(TREE_H) $(GGC_H) $(DIAGNOSTIC_H) $(TREE_INLINE_H) \
2537 $(FLAGS_H) $(FUNCTION_H) $(TM_H) $(TIMEVAR_H) $(TREE_PASS_H) \
2538 coretypes.h langhooks.h $(IPA_REFERENCE_H) tree-pretty-print.h \
2539 gimple-pretty-print.h
2540 tree-eh.o : tree-eh.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2541 $(TREE_H) $(TM_H) $(FLAGS_H) $(FUNCTION_H) $(EXCEPT_H) langhooks.h \
2542 $(GGC_H) $(TREE_PASS_H) coretypes.h $(TIMEVAR_H) pointer-set.h \
2543 $(TREE_DUMP_H) $(TREE_INLINE_H) tree-iterator.h toplev.h $(DIAGNOSTIC_CORE_H)
2544 tree-ssa-loop.o : tree-ssa-loop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2545 $(TREE_H) $(TM_P_H) $(BASIC_BLOCK_H) output.h \
2546 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TREE_PASS_H) $(TIMEVAR_H) \
2547 $(CFGLOOP_H) $(FLAGS_H) $(TREE_INLINE_H) $(SCEV_H) $(DIAGNOSTIC_CORE_H) $(TREE_VECTORIZER_H)
2548 tree-ssa-loop-unswitch.o : tree-ssa-loop-unswitch.c $(TREE_FLOW_H) \
2549 $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) \
2550 $(PARAMS_H) output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) \
2551 coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(BASIC_BLOCK_H) \
2552 $(TREE_INLINE_H)
2553 tree-ssa-address.o : tree-ssa-address.c $(TREE_FLOW_H) $(CONFIG_H) \
2554 $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) \
2555 output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2556 $(TREE_PASS_H) $(FLAGS_H) $(TREE_INLINE_H) $(RECOG_H) insn-config.h \
2557 $(EXPR_H) gt-tree-ssa-address.h $(GGC_H) tree-affine.h $(TARGET_H) \
2558 tree-pretty-print.h
2559 tree-ssa-loop-niter.o : tree-ssa-loop-niter.c $(TREE_FLOW_H) $(CONFIG_H) \
2560 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(PARAMS_H) \
2561 $(TREE_INLINE_H) output.h $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2562 $(DIAGNOSTIC_CORE_H) $(FLAGS_H) $(TREE_PASS_H) $(TREE_DATA_REF_H) \
2563 $(BASIC_BLOCK_H) $(GGC_H) intl.h tree-pretty-print.h gimple-pretty-print.h
2564 tree-ssa-loop-ivcanon.o : tree-ssa-loop-ivcanon.c $(TREE_FLOW_H) $(CONFIG_H) \
2565 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(PARAMS_H) \
2566 $(TREE_INLINE_H) output.h $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2567 $(FLAGS_H) $(TREE_PASS_H) $(SCEV_H) $(BASIC_BLOCK_H) $(TARGET_H) \
2568 tree-pretty-print.h gimple-pretty-print.h
2569 tree-ssa-loop-ch.o : tree-ssa-loop-ch.c $(TREE_FLOW_H) $(CONFIG_H) \
2570 $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(TREE_INLINE_H) \
2571 output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2572 $(TREE_PASS_H) $(FLAGS_H) $(BASIC_BLOCK_H)
2573 tree-ssa-loop-prefetch.o: tree-ssa-loop-prefetch.c $(TREE_FLOW_H) $(CONFIG_H) \
2574 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(EXPR_H) \
2575 output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2576 $(TREE_PASS_H) $(RECOG_H) insn-config.h $(HASHTAB_H) \
2577 $(CFGLOOP_H) $(PARAMS_H) langhooks.h $(BASIC_BLOCK_H) \
2578 $(DIAGNOSTIC_CORE_H) langhooks.h $(TREE_INLINE_H) $(TREE_DATA_REF_H) \
2579 $(OPTABS_H) tree-pretty-print.h
2580 tree-predcom.o: tree-predcom.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TM_P_H) \
2581 $(CFGLOOP_H) $(TREE_FLOW_H) $(GGC_H) $(TREE_DATA_REF_H) \
2582 $(PARAMS_H) $(DIAGNOSTIC_H) $(TREE_PASS_H) $(TM_H) coretypes.h \
2583 tree-affine.h $(TREE_INLINE_H) tree-pretty-print.h
2584 tree-ssa-loop-ivopts.o : tree-ssa-loop-ivopts.c $(TREE_FLOW_H) $(CONFIG_H) \
2585 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(EXPR_H) \
2586 output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
2587 $(TREE_PASS_H) $(GGC_H) $(RECOG_H) insn-config.h $(HASHTAB_H) $(SCEV_H) \
2588 $(CFGLOOP_H) $(PARAMS_H) langhooks.h $(BASIC_BLOCK_H) \
2589 tree-affine.h pointer-set.h $(TARGET_H) tree-pretty-print.h \
2590 gimple-pretty-print.h tree-ssa-propagate.h
2591 tree-affine.o : tree-affine.c tree-affine.h $(CONFIG_H) pointer-set.h \
2592 $(SYSTEM_H) $(TREE_H) $(GIMPLE_H) \
2593 output.h $(DIAGNOSTIC_H) coretypes.h $(TREE_DUMP_H) $(FLAGS_H) \
2594 tree-pretty-print.h
2595 tree-ssa-loop-manip.o : tree-ssa-loop-manip.c $(TREE_FLOW_H) $(CONFIG_H) \
2596 $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2597 $(BASIC_BLOCK_H) output.h $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) \
2598 $(TIMEVAR_H) $(CFGLOOP_H) $(TREE_PASS_H) $(CFGLAYOUT_H) \
2599 $(SCEV_H) $(PARAMS_H) $(TREE_INLINE_H) langhooks.h
2600 tree-ssa-loop-im.o : tree-ssa-loop-im.c $(TREE_FLOW_H) $(CONFIG_H) \
2601 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) domwalk.h \
2602 $(PARAMS_H) output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2603 $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) $(BASIC_BLOCK_H) \
2604 pointer-set.h tree-affine.h tree-ssa-propagate.h gimple-pretty-print.h \
2605 tree-pretty-print.h
2606 tree-ssa-math-opts.o : tree-ssa-math-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2607 $(TM_H) $(FLAGS_H) $(TREE_H) $(TREE_FLOW_H) $(TIMEVAR_H) \
2608 $(TREE_PASS_H) alloc-pool.h $(BASIC_BLOCK_H) $(TARGET_H) \
2609 $(DIAGNOSTIC_H) $(RTL_H) $(EXPR_H) $(OPTABS_H) gimple-pretty-print.h
2610 tree-ssa-alias.o : tree-ssa-alias.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2611 $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) $(TREE_INLINE_H) $(FLAGS_H) \
2612 $(FUNCTION_H) $(TIMEVAR_H) convert.h $(TM_H) coretypes.h langhooks.h \
2613 $(TREE_DUMP_H) $(TREE_PASS_H) $(PARAMS_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
2614 $(GIMPLE_H) $(VEC_H) $(TARGET_H) \
2615 $(IPA_TYPE_ESCAPE_H) vecprim.h pointer-set.h alloc-pool.h \
2616 tree-pretty-print.h
2617 tree-ssa-reassoc.o : tree-ssa-reassoc.c $(TREE_FLOW_H) $(CONFIG_H) \
2618 $(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
2619 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) \
2620 tree-iterator.h $(BASIC_BLOCK_H) $(GIMPLE_H) $(TREE_INLINE_H) \
2621 $(VEC_H) langhooks.h alloc-pool.h pointer-set.h $(CFGLOOP_H) \
2622 tree-pretty-print.h gimple-pretty-print.h
2623 tree-optimize.o : tree-optimize.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
2624 $(TREE_H) $(TM_P_H) $(GGC_H) output.h \
2625 $(DIAGNOSTIC_H) $(BASIC_BLOCK_H) $(FLAGS_H) $(TIMEVAR_H) $(TM_H) \
2626 coretypes.h $(TREE_DUMP_H) toplev.h $(DIAGNOSTIC_CORE_H) $(FUNCTION_H) langhooks.h \
2627 $(FLAGS_H) $(CGRAPH_H) $(PLUGIN_H) \
2628 $(TREE_INLINE_H) tree-mudflap.h $(GGC_H) graph.h $(CGRAPH_H) \
2629 $(TREE_PASS_H) $(CFGLOOP_H) $(EXCEPT_H) $(REGSET_H)
2630
2631 gimplify.o : gimplify.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(GIMPLE_H) \
2632 $(DIAGNOSTIC_H) $(GIMPLE_H) $(TREE_INLINE_H) langhooks.h \
2633 $(LANGHOOKS_DEF_H) $(TREE_FLOW_H) $(CGRAPH_H) $(TIMEVAR_H) $(TM_H) \
2634 coretypes.h $(EXCEPT_H) $(FLAGS_H) $(RTL_H) $(FUNCTION_H) $(EXPR_H) output.h \
2635 $(GGC_H) gt-gimplify.h $(HASHTAB_H) $(TARGET_H) $(DIAGNOSTIC_CORE_H) $(OPTABS_H) \
2636 $(SPLAY_TREE_H) $(VEC_H) tree-iterator.h tree-pass.h tree-pretty-print.h
2637 gimple-iterator.o : gimple-iterator.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2638 $(TREE_H) $(GIMPLE_H) $(TREE_FLOW_H) value-prof.h
2639 gimple-fold.o : gimple-fold.c $(TREE_FLOW_H) $(CONFIG_H) \
2640 $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h \
2641 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2642 $(TREE_DUMP_H) $(BASIC_BLOCK_H) $(TREE_PASS_H) langhooks.h \
2643 tree-ssa-propagate.h value-prof.h $(FLAGS_H) $(TARGET_H)
2644 gimple-low.o : gimple-low.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
2645 $(DIAGNOSTIC_H) $(GIMPLE_H) $(TREE_INLINE_H) langhooks.h \
2646 $(LANGHOOKS_DEF_H) $(TREE_FLOW_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
2647 $(EXCEPT_H) $(FLAGS_H) $(RTL_H) $(FUNCTION_H) $(EXPR_H) $(TREE_PASS_H) \
2648 $(HASHTAB_H) $(DIAGNOSTIC_CORE_H) tree-iterator.h
2649 omp-low.o : omp-low.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2650 $(RTL_H) $(GIMPLE_H) $(TREE_INLINE_H) langhooks.h $(DIAGNOSTIC_CORE_H) \
2651 $(TREE_FLOW_H) $(TIMEVAR_H) $(FLAGS_H) $(EXPR_H) $(DIAGNOSTIC_CORE_H) \
2652 $(TREE_PASS_H) $(GGC_H) $(EXCEPT_H) $(SPLAY_TREE_H) $(OPTABS_H) \
2653 $(CFGLOOP_H) tree-iterator.h gt-omp-low.h
2654 tree-browser.o : tree-browser.c tree-browser.def $(CONFIG_H) $(SYSTEM_H) \
2655 coretypes.h $(TREE_H) tree-pretty-print.h
2656 omega.o : omega.c omega.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
2657 $(DIAGNOSTIC_CORE_H) $(TREE_PASS_H)
2658 tree-chrec.o : tree-chrec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2659 tree-pretty-print.h $(CFGLOOP_H) $(TREE_FLOW_H) $(SCEV_H) $(TREE_PASS_H) \
2660 $(PARAMS_H)
2661 tree-scalar-evolution.o : tree-scalar-evolution.c $(CONFIG_H) $(SYSTEM_H) \
2662 coretypes.h gimple-pretty-print.h $(TREE_FLOW_H) $(CFGLOOP_H) $(SCEV_H) \
2663 $(TREE_PASS_H) $(PARAMS_H) gt-tree-scalar-evolution.h
2664 tree-data-ref.o : tree-data-ref.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2665 gimple-pretty-print.h $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \
2666 $(TREE_PASS_H) langhooks.h
2667 sese.o : sese.c sese.h $(CONFIG_H) $(SYSTEM_H) coretypes.h tree-pretty-print.h \
2668 $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) tree-pass.h value-prof.h
2669 graphite.o : graphite.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DIAGNOSTIC_CORE_H) \
2670 $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) sese.h \
2671 $(DBGCNT_H) graphite-ppl.h graphite-poly.h graphite-scop-detection.h \
2672 graphite-clast-to-gimple.h graphite-sese-to-poly.h
2673 graphite-blocking.o : graphite-blocking.c $(CONFIG_H) $(SYSTEM_H) \
2674 coretypes.h $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \
2675 sese.h graphite-ppl.h graphite-poly.h
2676 graphite-clast-to-gimple.o : graphite-clast-to-gimple.c $(CONFIG_H) \
2677 $(SYSTEM_H) coretypes.h $(DIAGNOSTIC_CORE_H) $(TREE_FLOW_H) $(TREE_DUMP_H) \
2678 $(CFGLOOP_H) $(TREE_DATA_REF_H) sese.h graphite-cloog-util.h \
2679 graphite-ppl.h graphite-poly.h graphite-clast-to-gimple.h \
2680 graphite-dependences.h graphite-cloog-compat.h
2681 graphite-cloog-util.o : graphite-cloog-util.c $(CONFIG_H) $(SYSTEM_H) \
2682 coretypes.h graphite-cloog-util.h graphite-cloog-compat.h
2683 graphite-dependences.o : graphite-dependences.c $(CONFIG_H) $(SYSTEM_H) \
2684 coretypes.h $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \
2685 sese.h graphite-ppl.h graphite-poly.h graphite-dependences.h \
2686 graphite-cloog-util.h
2687 graphite-flattening.o : graphite-flattening.c $(CONFIG_H) $(SYSTEM_H) \
2688 coretypes.h $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \
2689 sese.h graphite-ppl.h graphite-poly.h
2690 graphite-interchange.o : graphite-interchange.c $(CONFIG_H) $(SYSTEM_H) \
2691 coretypes.h $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) \
2692 sese.h graphite-ppl.h graphite-poly.h
2693 graphite-poly.o : graphite-poly.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2694 $(DIAGNOSTIC_CORE_H) $(TREE_FLOW_H) $(TREE_DUMP_H) gimple-pretty-print.h \
2695 $(CFGLOOP_H) $(TREE_DATA_REF_H) sese.h graphite-ppl.h graphite-poly.h \
2696 graphite-dependences.h graphite-cloog-util.h
2697 graphite-ppl.o : graphite-ppl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2698 graphite-cloog-util.h graphite-ppl.h
2699 graphite-scop-detection.o : graphite-scop-detection.c $(CONFIG_H) $(SYSTEM_H) \
2700 coretypes.h $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) $(TREE_PASS_H) \
2701 sese.h graphite-ppl.h graphite-poly.h graphite-scop-detection.h
2702 graphite-sese-to-poly.o : graphite-sese-to-poly.c $(CONFIG_H) \
2703 $(SYSTEM_H) coretypes.h $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) \
2704 $(TREE_DATA_REF_H) domwalk.h sese.h graphite-ppl.h graphite-poly.h \
2705 graphite-sese-to-poly.h
2706 tree-vect-loop.o: tree-vect-loop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2707 $(TM_H) $(GGC_H) $(TREE_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) \
2708 $(TREE_DUMP_H) $(CFGLOOP_H) $(CFGLAYOUT_H) $(EXPR_H) $(RECOG_H) $(OPTABS_H) \
2709 $(DIAGNOSTIC_CORE_H) $(SCEV_H) $(TREE_VECTORIZER_H) tree-pretty-print.h \
2710 gimple-pretty-print.h $(TARGET_H) $(TREE_DATA_REF_H)
2711 tree-vect-loop-manip.o: tree-vect-loop-manip.c $(CONFIG_H) $(SYSTEM_H) \
2712 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
2713 $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(CFGLAYOUT_H) $(EXPR_H) $(DIAGNOSTIC_CORE_H) \
2714 $(SCEV_H) $(TREE_VECTORIZER_H) langhooks.h tree-pretty-print.h \
2715 gimple-pretty-print.h
2716 tree-vect-patterns.o: tree-vect-patterns.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2717 $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
2718 $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(EXPR_H) $(OPTABS_H) $(PARAMS_H) \
2719 $(TREE_DATA_REF_H) $(TREE_VECTORIZER_H) $(RECOG_H) $(DIAGNOSTIC_CORE_H) \
2720 gimple-pretty-print.h
2721 tree-vect-slp.o: tree-vect-slp.c $(CONFIG_H) $(SYSTEM_H) \
2722 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \
2723 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(CFGLAYOUT_H) \
2724 $(EXPR_H) $(RECOG_H) $(OPTABS_H) $(TREE_VECTORIZER_H) tree-pretty-print.h \
2725 gimple-pretty-print.h $(TREE_DATA_REF_H)
2726 tree-vect-stmts.o: tree-vect-stmts.c $(CONFIG_H) $(SYSTEM_H) \
2727 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \
2728 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) $(CFGLAYOUT_H) \
2729 $(EXPR_H) $(RECOG_H) $(OPTABS_H) $(DIAGNOSTIC_CORE_H) $(TREE_VECTORIZER_H) \
2730 langhooks.h tree-pretty-print.h gimple-pretty-print.h
2731 tree-vect-data-refs.o: tree-vect-data-refs.c $(CONFIG_H) $(SYSTEM_H) \
2732 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(TARGET_H) $(BASIC_BLOCK_H) \
2733 $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(CFGLOOP_H) \
2734 $(EXPR_H) $(OPTABS_H) $(SCEV_H) $(TREE_VECTORIZER_H) \
2735 $(DIAGNOSTIC_CORE_H) $(TM_P_H) \
2736 tree-pretty-print.h gimple-pretty-print.h
2737 tree-vectorizer.o: tree-vectorizer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2738 $(TM_H) $(GGC_H) $(TREE_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) \
2739 $(CFGLOOP_H) $(TREE_PASS_H) $(TREE_VECTORIZER_H) $(TIMEVAR_H) \
2740 tree-pretty-print.h
2741 tree-loop-distribution.o: tree-loop-distribution.c $(CONFIG_H) $(SYSTEM_H) \
2742 coretypes.h $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) $(TREE_PASS_H)
2743 tree-parloops.o: tree-parloops.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2744 $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) gimple-pretty-print.h \
2745 $(TREE_PASS_H) langhooks.h gt-tree-parloops.h $(TREE_VECTORIZER_H)
2746 tree-stdarg.o: tree-stdarg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2747 $(TREE_H) $(FUNCTION_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_PASS_H) \
2748 tree-stdarg.h $(TARGET_H) langhooks.h gimple-pretty-print.h
2749 tree-object-size.o: tree-object-size.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2750 $(TM_H) $(TREE_H) $(DIAGNOSTIC_CORE_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) \
2751 $(TREE_PASS_H) tree-ssa-propagate.h tree-pretty-print.h \
2752 gimple-pretty-print.h
2753 gimple.o : gimple.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
2754 $(GGC_H) $(GIMPLE_H) $(DIAGNOSTIC_CORE_H) $(DIAGNOSTIC_H) gt-gimple.h \
2755 $(TREE_FLOW_H) value-prof.h $(FLAGS_H) $(DEMANGLE_H) \
2756 $(TARGET_H) $(ALIAS_H)
2757 gimple-pretty-print.o : gimple-pretty-print.c $(CONFIG_H) $(SYSTEM_H) \
2758 $(TREE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) $(TREE_FLOW_H) \
2759 $(TM_H) coretypes.h $(TREE_PASS_H) $(GIMPLE_H) value-prof.h \
2760 tree-pretty-print.h gimple-pretty-print.h
2761 tree-mudflap.o : $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TREE_INLINE_H) \
2762 $(GIMPLE_H) $(DIAGNOSTIC_H) $(DEMANGLE_H) $(HASHTAB_H) langhooks.h tree-mudflap.h \
2763 $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(CGRAPH_H) $(GGC_H) \
2764 gt-tree-mudflap.h $(BASIC_BLOCK_H) $(FLAGS_H) $(FUNCTION_H) \
2765 $(TM_P_H) $(TREE_FLOW_H) $(DIAGNOSTIC_CORE_H) $(GIMPLE_H) tree-iterator.h
2766 tree-nomudflap.o : $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TREE_INLINE_H) \
2767 $(C_TREE_H) $(C_COMMON_H) $(GIMPLE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) \
2768 output.h langhooks.h tree-mudflap.h $(TM_H) coretypes.h \
2769 $(GGC_H) gt-tree-mudflap.h $(TREE_PASS_H) $(DIAGNOSTIC_CORE_H)
2770 tree-pretty-print.o : tree-pretty-print.c $(CONFIG_H) $(SYSTEM_H) \
2771 $(TREE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) $(TREE_FLOW_H) \
2772 $(TM_H) coretypes.h tree-iterator.h $(SCEV_H) langhooks.h \
2773 $(TREE_PASS_H) value-prof.h output.h tree-pretty-print.h
2774 tree-diagnostic.o : tree-diagnostic.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2775 $(TREE_H) $(DIAGNOSTIC_H) tree-diagnostic.h langhooks.h $(LANGHOOKS_DEF_H)
2776 fold-const.o : fold-const.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2777 $(TREE_H) $(FLAGS_H) $(DIAGNOSTIC_CORE_H) $(HASHTAB_H) $(EXPR_H) $(RTL_H) \
2778 $(GGC_H) $(TM_P_H) langhooks.h $(MD5_H) intl.h $(TARGET_H) \
2779 $(GIMPLE_H) realmpfr.h $(TREE_FLOW_H)
2780 diagnostic.o : diagnostic.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2781 version.h $(INPUT_H) intl.h $(DIAGNOSTIC_H) diagnostic.def
2782 opts.o : opts.c $(OPTS_H) $(OPTIONS_H) $(DIAGNOSTIC_CORE_H) $(CONFIG_H) $(SYSTEM_H) \
2783 coretypes.h $(TM_H) $(RTL_H) \
2784 $(DIAGNOSTIC_H) $(INSN_ATTR_H) intl.h $(TARGET_H) \
2785 $(FLAGS_H) $(PARAMS_H) opts-diagnostic.h
2786 opts-global.o : opts-global.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2787 $(DIAGNOSTIC_H) $(OPTS_H) $(FLAGS_H) $(GGC_H) $(TREE_H) langhooks.h \
2788 $(TM_H) $(RTL_H) $(DBGCNT_H) debug.h $(LTO_STREAMER_H) output.h \
2789 $(PLUGIN_H) toplev.h $(TREE_PASS_H)
2790 opts-common.o : opts-common.c $(OPTS_H) $(FLAGS_H) $(CONFIG_H) $(SYSTEM_H) \
2791 coretypes.h intl.h $(DIAGNOSTIC_H) $(TM_H)
2792 targhooks.o : targhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
2793 $(EXPR_H) $(TM_H) $(RTL_H) $(TM_P_H) $(FUNCTION_H) output.h $(DIAGNOSTIC_CORE_H) \
2794 $(MACHMODE_H) $(TARGET_DEF_H) $(TARGET_H) $(GGC_H) gt-targhooks.h \
2795 $(OPTABS_H) $(RECOG_H) reload.h hard-reg-set.h intl.h $(OPTS_H) \
2796 tree-ssa-alias.h $(TREE_FLOW_H)
2797 2221
2798 bversion.h: s-bversion; @true 2222 bversion.h: s-bversion; @true
2799 s-bversion: BASE-VER 2223 s-bversion: BASE-VER
2800 echo "#define BUILDING_GCC_MAJOR `echo $(BASEVER_c) | sed -e 's/^\([0-9]*\).*$$/\1/'`" > bversion.h 2224 echo "#define BUILDING_GCC_MAJOR `echo $(BASEVER_c) | sed -e 's/^\([0-9]*\).*$$/\1/'`" > bversion.h
2801 echo "#define BUILDING_GCC_MINOR `echo $(BASEVER_c) | sed -e 's/^[0-9]*\.\([0-9]*\).*$$/\1/'`" >> bversion.h 2225 echo "#define BUILDING_GCC_MINOR `echo $(BASEVER_c) | sed -e 's/^[0-9]*\.\([0-9]*\).*$$/\1/'`" >> bversion.h
2802 echo "#define BUILDING_GCC_PATCHLEVEL `echo $(BASEVER_c) | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$$/\1/'`" >> bversion.h 2226 echo "#define BUILDING_GCC_PATCHLEVEL `echo $(BASEVER_c) | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$$/\1/'`" >> bversion.h
2803 echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + BUILDING_GCC_MINOR)" >> bversion.h 2227 echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + BUILDING_GCC_MINOR)" >> bversion.h
2804 $(STAMP) s-bversion 2228 $(STAMP) s-bversion
2805 2229
2806 input.o : input.c $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h $(INPUT_H) 2230 CFLAGS-toplev.o += -DTARGET_NAME=\"$(target_noncanonical)\"
2807 2231
2808 toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ 2232 pass-instances.def: $(srcdir)/passes.def $(PASSES_EXTRA) \
2809 version.h $(RTL_H) $(FUNCTION_H) $(FLAGS_H) xcoffout.h $(INPUT_H) \ 2233 $(srcdir)/gen-pass-instances.awk
2810 $(INSN_ATTR_H) output.h $(DIAGNOSTIC_H) debug.h insn-config.h intl.h \ 2234 $(AWK) -f $(srcdir)/gen-pass-instances.awk \
2811 $(RECOG_H) Makefile toplev.h dwarf2out.h sdbout.h dbxout.h $(EXPR_H) \ 2235 $(srcdir)/passes.def $(PASSES_EXTRA) > pass-instances.def
2812 hard-reg-set.h $(BASIC_BLOCK_H) graph.h $(EXCEPT_H) $(REGS_H) $(TIMEVAR_H) \ 2236
2813 value-prof.h $(PARAMS_H) $(TM_P_H) reload.h ira.h dwarf2asm.h $(TARGET_H) \ 2237 $(out_object_file): $(out_file)
2814 langhooks.h insn-flags.h $(CFGLAYOUT_H) $(CFGLOOP_H) hosthooks.h \ 2238 $(COMPILE) $<
2815 $(CGRAPH_H) $(COVERAGE_H) alloc-pool.h $(GGC_H) $(INTEGRATE_H) \ 2239 $(POSTCOMPILE)
2816 $(OPTS_H) params.def tree-mudflap.h $(TREE_PASS_H) $(GIMPLE_H) \ 2240
2817 tree-ssa-alias.h $(PLUGIN_H) realmpfr.h tree-diagnostic.h \ 2241 $(common_out_object_file): $(common_out_file)
2818 tree-pretty-print.h opts-diagnostic.h 2242 $(COMPILE) $<
2819 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \ 2243 $(POSTCOMPILE)
2820 -DTARGET_NAME=\"$(target_noncanonical)\" \
2821 -c $(srcdir)/toplev.c $(OUTPUT_OPTION)
2822
2823 hwint.o : hwint.c $(CONFIG_H) $(SYSTEM_H)
2824
2825 passes.o : passes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2826 $(RTL_H) $(FUNCTION_H) $(FLAGS_H) xcoffout.h $(INPUT_H) $(INSN_ATTR_H) output.h \
2827 $(DIAGNOSTIC_CORE_H) debug.h insn-config.h intl.h $(RECOG_H) toplev.h \
2828 dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
2829 graph.h $(EXCEPT_H) $(REGS_H) $(TIMEVAR_H) value-prof.h \
2830 $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) \
2831 langhooks.h insn-flags.h $(CFGLAYOUT_H) $(CFGLOOP_H) \
2832 hosthooks.h $(CGRAPH_H) $(COVERAGE_H) $(TREE_PASS_H) $(TREE_DUMP_H) \
2833 $(GGC_H) $(INTEGRATE_H) $(CPPLIB_H) $(OPTS_H) $(TREE_FLOW_H) $(TREE_INLINE_H) \
2834 gt-passes.h $(DF_H) $(PREDICT_H) $(LTO_HEADER_H) $(LTO_SECTION_OUT_H) \
2835 $(PLUGIN_H)
2836
2837 plugin.o : plugin.c $(PLUGIN_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2838 $(DIAGNOSTIC_CORE_H) $(TREE_H) $(TREE_PASS_H) intl.h $(PLUGIN_VERSION_H) $(GGC_H)
2839
2840 main.o : main.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) toplev.h $(DIAGNOSTIC_CORE_H)
2841
2842 host-default.o : host-default.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2843 hosthooks.h $(HOSTHOOKS_DEF_H)
2844
2845 rtl-error.o: rtl-error.c $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
2846 $(INSN_ATTR_H) insn-config.h $(INPUT_H) intl.h $(DIAGNOSTIC_H) \
2847 $(CONFIG_H)
2848
2849 rtl.o : rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2850 $(GGC_H) $(BCONFIG_H) insn-notes.def reg-notes.def toplev.h $(DIAGNOSTIC_CORE_H)
2851
2852 print-rtl.o : print-rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2853 $(RTL_H) $(TREE_H) hard-reg-set.h $(BASIC_BLOCK_H) $(FLAGS_H) \
2854 $(BCONFIG_H) $(DIAGNOSTIC_H) cselib.h $(TREE_PASS_H) tree-pretty-print.h
2855 rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) toplev.h $(DIAGNOSTIC_CORE_H) \
2856 $(RTL_H) hard-reg-set.h $(TM_P_H) insn-config.h $(RECOG_H) \
2857 $(FLAGS_H) $(REGS_H) output.h $(TARGET_H) $(FUNCTION_H) $(TREE_H) \
2858 $(DF_H) $(EMIT_RTL_H)
2859
2860 varasm.o : varasm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2861 $(RTL_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) hard-reg-set.h $(REGS_H) \
2862 output.h $(DIAGNOSTIC_CORE_H) xcoffout.h debug.h $(GGC_H) $(TM_P_H) \
2863 $(HASHTAB_H) $(TARGET_H) langhooks.h gt-varasm.h $(BASIC_BLOCK_H) \
2864 $(CFGLAYOUT_H) $(CGRAPH_H) targhooks.h tree-mudflap.h \
2865 tree-iterator.h pointer-set.h
2866 function.o : function.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
2867 $(TREE_H) $(CFGLAYOUT_H) $(GIMPLE_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) \
2868 $(OPTABS_H) $(LIBFUNCS_H) $(REGS_H) hard-reg-set.h insn-config.h $(RECOG_H) \
2869 output.h $(EXCEPT_H) $(HASHTAB_H) $(GGC_H) $(TM_P_H) langhooks.h \
2870 gt-function.h $(TARGET_H) $(BASIC_BLOCK_H) $(INTEGRATE_H) $(PREDICT_H) \
2871 $(TREE_PASS_H) $(DF_H) $(TIMEVAR_H) vecprim.h
2872 statistics.o : statistics.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2873 $(TREE_PASS_H) $(TREE_DUMP_H) $(HASHTAB_H) statistics.h $(FUNCTION_H)
2874 stmt.o : stmt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2875 $(TREE_H) $(FLAGS_H) $(FUNCTION_H) insn-config.h hard-reg-set.h $(EXPR_H) \
2876 $(LIBFUNCS_H) $(EXCEPT_H) $(RECOG_H) $(DIAGNOSTIC_CORE_H) \
2877 output.h $(GGC_H) $(TM_P_H) langhooks.h $(PREDICT_H) $(OPTABS_H) \
2878 $(TARGET_H) $(GIMPLE_H) $(MACHMODE_H) $(REGS_H) alloc-pool.h \
2879 $(PRETTY_PRINT_H) $(BITMAP_H)
2880 except.o : except.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2881 $(TREE_H) $(FLAGS_H) $(EXCEPT_H) $(FUNCTION_H) $(EXPR_H) $(LIBFUNCS_H) \
2882 langhooks.h insn-config.h hard-reg-set.h $(BASIC_BLOCK_H) output.h \
2883 dwarf2asm.h dwarf2out.h toplev.h $(DIAGNOSTIC_CORE_H) $(HASHTAB_H) intl.h $(GGC_H) \
2884 gt-except.h $(CGRAPH_H) $(INTEGRATE_H) $(DIAGNOSTIC_H) $(DWARF2_H) \
2885 $(TARGET_H) $(TM_P_H) $(TREE_PASS_H) $(TIMEVAR_H) $(TREE_FLOW_H) \
2886 tree-pretty-print.h sbitmap.h
2887 expr.o : expr.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2888 $(TREE_H) $(FLAGS_H) $(FUNCTION_H) $(REGS_H) $(EXPR_H) $(OPTABS_H) \
2889 $(LIBFUNCS_H) $(INSN_ATTR_H) insn-config.h $(RECOG_H) output.h \
2890 typeclass.h hard-reg-set.h toplev.h $(DIAGNOSTIC_CORE_H) hard-reg-set.h $(EXCEPT_H) \
2891 reload.h langhooks.h intl.h $(TM_P_H) $(TARGET_H) \
2892 tree-iterator.h gt-expr.h $(MACHMODE_H) $(TIMEVAR_H) $(TREE_FLOW_H) \
2893 $(TREE_PASS_H) $(DF_H) $(DIAGNOSTIC_H) vecprim.h $(SSAEXPAND_H)
2894 dojump.o : dojump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
2895 $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) $(OPTABS_H) $(INSN_ATTR_H) insn-config.h \
2896 langhooks.h $(GGC_H) gt-dojump.h vecprim.h $(BASIC_BLOCK_H) output.h
2897 builtins.o : builtins.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2898 $(TREE_H) $(GIMPLE_H) $(FLAGS_H) $(TARGET_H) $(FUNCTION_H) $(REGS_H) \
2899 $(EXPR_H) $(OPTABS_H) insn-config.h $(RECOG_H) output.h typeclass.h \
2900 hard-reg-set.h $(DIAGNOSTIC_CORE_H) hard-reg-set.h $(EXCEPT_H) \
2901 $(TM_P_H) $(PREDICT_H) $(LIBFUNCS_H) langhooks.h $(BASIC_BLOCK_H) \
2902 tree-mudflap.h realmpfr.h $(BUILTINS_DEF) $(MACHMODE_H) \
2903 $(DIAGNOSTIC_CORE_H) $(TREE_FLOW_H) value-prof.h
2904 calls.o : calls.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2905 $(TREE_H) $(FLAGS_H) $(EXPR_H) $(OPTABS_H) langhooks.h $(TARGET_H) \
2906 $(LIBFUNCS_H) $(REGS_H) toplev.h $(DIAGNOSTIC_CORE_H) output.h \
2907 $(FUNCTION_H) $(TIMEVAR_H) $(TM_P_H) $(CGRAPH_H) $(EXCEPT_H) sbitmap.h \
2908 $(DBGCNT_H) $(TREE_FLOW_H)
2909 expmed.o : expmed.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
2910 $(FLAGS_H) insn-config.h $(EXPR_H) $(OPTABS_H) $(RECOG_H) \
2911 $(DIAGNOSTIC_CORE_H) $(TM_P_H) langhooks.h $(DF_H) $(TARGET_H) \
2912 expmed.h
2913 explow.o : explow.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
2914 $(FLAGS_H) hard-reg-set.h insn-config.h $(EXPR_H) $(OPTABS_H) $(RECOG_H) \
2915 $(DIAGNOSTIC_CORE_H) $(EXCEPT_H) $(FUNCTION_H) $(GGC_H) $(TM_P_H) langhooks.h gt-explow.h \
2916 $(TARGET_H) output.h
2917 optabs.o : optabs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2918 $(TREE_H) $(FLAGS_H) insn-config.h $(EXPR_H) $(OPTABS_H) $(LIBFUNCS_H) \
2919 $(RECOG_H) reload.h $(DIAGNOSTIC_CORE_H) $(GGC_H) $(TM_P_H) \
2920 $(EXCEPT_H) gt-optabs.h $(BASIC_BLOCK_H) $(TARGET_H) $(FUNCTION_H)
2921 dbxout.o : dbxout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2922 $(RTL_H) $(FLAGS_H) $(REGS_H) debug.h $(TM_P_H) $(TARGET_H) $(FUNCTION_H) \
2923 langhooks.h insn-config.h reload.h $(GSTAB_H) xcoffout.h output.h dbxout.h \
2924 toplev.h $(DIAGNOSTIC_CORE_H) $(GGC_H) $(OBSTACK_H) $(EXPR_H) gt-dbxout.h
2925 debug.o : debug.c debug.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H)
2926 sdbout.o : sdbout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) debug.h \
2927 $(TREE_H) $(GGC_H) $(RTL_H) $(REGS_H) $(FLAGS_H) insn-config.h \
2928 output.h $(DIAGNOSTIC_CORE_H) $(TM_P_H) gsyms.h langhooks.h $(TARGET_H) sdbout.h \
2929 gt-sdbout.h reload.h
2930 dwarf2out.o : dwarf2out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2931 $(TREE_H) version.h $(RTL_H) $(DWARF2_H) debug.h $(FLAGS_H) insn-config.h \
2932 output.h $(DIAGNOSTIC_H) hard-reg-set.h $(REGS_H) $(EXPR_H) \
2933 $(LIBFUNCS_H) toplev.h $(DIAGNOSTIC_CORE_H) dwarf2out.h reload.h \
2934 $(GGC_H) $(EXCEPT_H) dwarf2asm.h $(TM_P_H) langhooks.h $(HASHTAB_H) \
2935 gt-dwarf2out.h $(TARGET_H) $(CGRAPH_H) $(MD5_H) $(INPUT_H) $(FUNCTION_H) \
2936 $(GIMPLE_H) $(TREE_PASS_H) $(TREE_FLOW_H) tree-pretty-print.h
2937 dwarf2asm.o : dwarf2asm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2938 $(FLAGS_H) $(RTL_H) $(TREE_H) output.h dwarf2asm.h $(TM_P_H) $(GGC_H) \
2939 gt-dwarf2asm.h $(DWARF2_H) $(SPLAY_TREE_H) $(TARGET_H)
2940 vmsdbgout.o : vmsdbgout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) version.h \
2941 $(FLAGS_H) $(RTL_H) output.h vmsdbg.h debug.h langhooks.h $(FUNCTION_H) $(TARGET_H)
2942 xcoffout.o : xcoffout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2943 $(TREE_H) $(RTL_H) xcoffout.h $(FLAGS_H) $(DIAGNOSTIC_CORE_H) output.h dbxout.h \
2944 $(GGC_H) $(TARGET_H) debug.h $(GSTAB_H) xcoff.h
2945 godump.o : godump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DIAGNOSTIC_CORE_H) \
2946 $(TREE_H) $(GGC_H) pointer-set.h $(OBSTACK_H) debug.h
2947 emit-rtl.o : emit-rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2948 $(TREE_H) $(FLAGS_H) $(FUNCTION_H) $(REGS_H) insn-config.h $(RECOG_H) \
2949 $(GGC_H) $(EXPR_H) hard-reg-set.h $(BITMAP_H) $(DIAGNOSTIC_CORE_H) $(BASIC_BLOCK_H) \
2950 $(HASHTAB_H) $(TM_P_H) debug.h langhooks.h $(TREE_PASS_H) gt-emit-rtl.h \
2951 $(DF_H) $(PARAMS_H) $(TARGET_H) $(TREE_FLOW_H)
2952 real.o : real.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2953 $(DIAGNOSTIC_CORE_H) $(TM_P_H) $(REAL_H) dfp.h realmpfr.h
2954 realmpfr.o : realmpfr.c realmpfr.h $(CONFIG_H) $(SYSTEM_H) $(REAL_H)
2955 dfp.o : dfp.c dfp.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2956 $(DIAGNOSTIC_CORE_H) $(TM_P_H) $(REAL_H) $(DECNUM_H)
2957 fixed-value.o: fixed-value.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2958 $(TREE_H) $(REAL_H) $(DIAGNOSTIC_CORE_H)
2959 integrate.o : integrate.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2960 $(RTL_H) $(TREE_H) $(FLAGS_H) debug.h $(INTEGRATE_H) insn-config.h \
2961 $(EXPR_H) $(REGS_H) intl.h $(FUNCTION_H) output.h $(RECOG_H) \
2962 $(EXCEPT_H) $(DIAGNOSTIC_CORE_H) $(PARAMS_H) $(TM_P_H) $(TARGET_H) langhooks.h \
2963 gt-integrate.h $(GGC_H) $(TREE_PASS_H) $(DF_H)
2964 jump.o : jump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
2965 $(FLAGS_H) hard-reg-set.h $(REGS_H) insn-config.h $(RECOG_H) $(EXPR_H) \
2966 $(EXCEPT_H) $(FUNCTION_H) $(BASIC_BLOCK_H) $(TREE_PASS_H) \
2967 $(DIAGNOSTIC_CORE_H) $(DIAGNOSTIC_CORE_H) $(INSN_ATTR_H) $(TM_P_H) reload.h \
2968 $(PREDICT_H) $(TIMEVAR_H) $(TARGET_H)
2969 simplify-rtx.o : simplify-rtx.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2970 $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
2971 $(RECOG_H) $(EXPR_H) $(DIAGNOSTIC_CORE_H) output.h $(FUNCTION_H) $(GGC_H) $(TM_P_H) \
2972 $(TREE_H) $(TARGET_H)
2973 cgraph.o : cgraph.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
2974 langhooks.h toplev.h $(DIAGNOSTIC_CORE_H) $(FLAGS_H) $(GGC_H) $(TARGET_H) $(CGRAPH_H) \
2975 gt-cgraph.h output.h intl.h $(BASIC_BLOCK_H) debug.h $(HASHTAB_H) \
2976 $(TREE_INLINE_H) $(TREE_DUMP_H) $(TREE_FLOW_H) cif-code.def \
2977 value-prof.h $(EXCEPT_H) $(IPA_UTILS_H) $(DIAGNOSTIC_CORE_H)
2978 cgraphunit.o : cgraphunit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2979 $(TREE_H) langhooks.h $(TREE_INLINE_H) toplev.h $(DIAGNOSTIC_CORE_H) $(FLAGS_H) $(GGC_H) \
2980 $(TARGET_H) $(CGRAPH_H) intl.h pointer-set.h $(FUNCTION_H) $(GIMPLE_H) \
2981 $(TREE_FLOW_H) $(TREE_PASS_H) debug.h $(DIAGNOSTIC_H) \
2982 $(FIBHEAP_H) output.h $(PARAMS_H) $(RTL_H) $(TIMEVAR_H) $(IPA_PROP_H) \
2983 gt-cgraphunit.h tree-iterator.h $(COVERAGE_H) $(TREE_DUMP_H) \
2984 tree-pretty-print.h gimple-pretty-print.h
2985 cgraphbuild.o : cgraphbuild.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2986 $(TREE_H) langhooks.h $(CGRAPH_H) intl.h pointer-set.h $(GIMPLE_H) \
2987 $(TREE_FLOW_H) $(TREE_PASS_H) $(IPA_UTILS_H) $(EXCEPT_H)
2988 varpool.o : varpool.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
2989 $(TREE_H) $(CGRAPH_H) langhooks.h $(DIAGNOSTIC_CORE_H) $(HASHTAB_H) \
2990 $(GGC_H) $(TIMEVAR_H) debug.h $(TARGET_H) output.h $(GIMPLE_H) \
2991 $(TREE_FLOW_H) gt-varpool.h
2992 ipa.o : ipa.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(CGRAPH_H) \
2993 $(TREE_PASS_H) $(TIMEVAR_H) $(GIMPLE_H) $(GGC_H) pointer-set.h
2994 ipa-prop.o : ipa-prop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
2995 langhooks.h $(GGC_H) $(TARGET_H) $(CGRAPH_H) $(IPA_PROP_H) $(DIAGNOSTIC_H) \
2996 $(TREE_FLOW_H) $(TM_H) $(TREE_PASS_H) $(FLAGS_H) $(TREE_H) \
2997 $(TREE_INLINE_H) $(GIMPLE_H) $(TIMEVAR_H) \
2998 tree-pretty-print.h gimple-pretty-print.h $(LTO_STREAMER_H)
2999 ipa-ref.o : ipa-ref.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3000 langhooks.h $(GGC_H) $(TARGET_H) $(CGRAPH_H) $(TREE_H) $(TARGET_H) \
3001 $(TREE_FLOW_H) $(TM_H) $(TREE_PASS_H) $(FLAGS_H) $(TREE_H) $(GGC_H)
3002 ipa-cp.o : ipa-cp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3003 $(TREE_H) $(TARGET_H) $(GIMPLE_H) $(CGRAPH_H) $(IPA_PROP_H) $(TREE_FLOW_H) \
3004 $(TREE_PASS_H) $(FLAGS_H) $(TIMEVAR_H) $(DIAGNOSTIC_H) $(TREE_DUMP_H) \
3005 $(TREE_INLINE_H) $(FIBHEAP_H) $(PARAMS_H) tree-pretty-print.h
3006 ipa-split.o : ipa-split.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3007 $(TREE_H) $(TARGET_H) $(CGRAPH_H) $(IPA_PROP_H) $(TREE_FLOW_H) \
3008 $(TREE_PASS_H) $(FLAGS_H) $(TIMEVAR_H) $(DIAGNOSTIC_H) $(TREE_DUMP_H) \
3009 $(TREE_INLINE_H) $(FIBHEAP_H) $(PARAMS_H)
3010 matrix-reorg.o : matrix-reorg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3011 $(TM_H) $(TREE_H) $(RTL_H) $(TREE_INLINE_H) $(TREE_FLOW_H) \
3012 tree-flow-inline.h langhooks.h $(HASHTAB_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) $(GGC_H) \
3013 debug.h $(TARGET_H) $(CGRAPH_H) $(DIAGNOSTIC_CORE_H) $(TIMEVAR_H) \
3014 $(PARAMS_H) $(FIBHEAP_H) intl.h $(FUNCTION_H) $(BASIC_BLOCK_H) \
3015 $(CFGLOOP_H) tree-iterator.h $(TREE_PASS_H) $(OPTS_H) $(TREE_DATA_REF_H) \
3016 tree-ssa-sccvn.h
3017 ipa-inline.o : ipa-inline.c gt-ipa-inline.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3018 $(TREE_H) langhooks.h $(TREE_INLINE_H) $(FLAGS_H) $(CGRAPH_H) intl.h \
3019 $(DIAGNOSTIC_H) $(FIBHEAP_H) $(PARAMS_H) $(TIMEVAR_H) $(TREE_PASS_H) \
3020 $(HASHTAB_H) $(COVERAGE_H) $(GGC_H) $(TREE_FLOW_H) $(RTL_H) $(IPA_PROP_H) \
3021 $(EXCEPT_H) gimple-pretty-print.h
3022 ipa-utils.o : ipa-utils.c $(IPA_UTILS_H) $(CONFIG_H) $(SYSTEM_H) \
3023 coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
3024 pointer-set.h $(GGC_H) $(GIMPLE_H) $(SPLAY_TREE_H) \
3025 $(CGRAPH_H) output.h $(FLAGS_H) $(TREE_PASS_H) $(TIMEVAR_H) $(DIAGNOSTIC_H)
3026 ipa-reference.o : ipa-reference.c $(CONFIG_H) $(SYSTEM_H) \
3027 coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
3028 pointer-set.h $(GGC_H) $(IPA_REFERENCE_H) $(IPA_UTILS_H) $(SPLAY_TREE_H) \
3029 $(GIMPLE_H) $(CGRAPH_H) output.h $(FLAGS_H) $(TREE_PASS_H) \
3030 $(TIMEVAR_H) $(DIAGNOSTIC_H) $(FUNCTION_H) $(LTO_STREAMER_H) $(DIAGNOSTIC_CORE_H)
3031 ipa-pure-const.o : ipa-pure-const.c $(CONFIG_H) $(SYSTEM_H) \
3032 coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
3033 pointer-set.h $(GGC_H) $(IPA_UTILS_H) $(TARGET_H) \
3034 $(GIMPLE_H) $(CGRAPH_H) output.h $(FLAGS_H) $(TREE_PASS_H) $(TIMEVAR_H) \
3035 $(DIAGNOSTIC_H) $(CFGLOOP_H) $(SCEV_H) $(LTO_STREAMER_H) \
3036 gimple-pretty-print.h
3037 ipa-type-escape.o : ipa-type-escape.c $(CONFIG_H) $(SYSTEM_H) \
3038 coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
3039 pointer-set.h $(GGC_H) $(IPA_TYPE_ESCAPE_H) $(IPA_UTILS_H) $(SPLAY_TREE_H) \
3040 $(GIMPLE_H) $(CGRAPH_H) output.h $(FLAGS_H) $(TREE_PASS_H) \
3041 $(TIMEVAR_H) $(DIAGNOSTIC_H) $(FUNCTION_H) tree-pretty-print.h
3042 ipa-struct-reorg.o: ipa-struct-reorg.c ipa-struct-reorg.h $(CONFIG_H) $(SYSTEM_H) \
3043 coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) $(GIMPLE_H) tree-inline.h \
3044 $(TREE_FLOW_H) langhooks.h pointer-set.h $(HASHTAB_H) $(DIAGNOSTIC_CORE_H) \
3045 $(FLAGS_H) debug.h $(TARGET_H) $(CGRAPH_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
3046 $(PARAMS_H) $(FIBHEAP_H) intl.h $(FUNCTION_H) $(BASIC_BLOCK_H) tree-iterator.h \
3047 $(TREE_PASS_H) $(OPTS_H) $(IPA_TYPE_ESCAPE_H) $(TREE_DUMP_H) \
3048 $(GIMPLE_H) tree-pretty-print.h gimple-pretty-print.h
3049
3050 coverage.o : coverage.c $(GCOV_IO_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3051 $(TM_H) $(RTL_H) $(TREE_H) $(FLAGS_H) output.h $(REGS_H) $(EXPR_H) \
3052 $(FUNCTION_H) $(BASIC_BLOCK_H) toplev.h $(DIAGNOSTIC_CORE_H) $(GGC_H) langhooks.h $(COVERAGE_H) \
3053 $(HASHTAB_H) tree-iterator.h $(CGRAPH_H) $(TREE_PASS_H) gcov-io.c $(TM_P_H) \
3054 $(DIAGNOSTIC_CORE_H) intl.h gt-coverage.h
3055 cselib.o : cselib.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3056 $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(RECOG_H) \
3057 $(EMIT_RTL_H) $(DIAGNOSTIC_CORE_H) output.h $(FUNCTION_H) $(TREE_PASS_H) \
3058 cselib.h gt-cselib.h $(GGC_H) $(TM_P_H) $(PARAMS_H) alloc-pool.h \
3059 $(HASHTAB_H) $(TARGET_H) $(BITMAP_H)
3060 cse.o : cse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(REGS_H) \
3061 hard-reg-set.h $(FLAGS_H) insn-config.h $(RECOG_H) $(EXPR_H) toplev.h $(DIAGNOSTIC_CORE_H) \
3062 output.h $(FUNCTION_H) $(BASIC_BLOCK_H) $(GGC_H) $(TM_P_H) $(TIMEVAR_H) \
3063 $(EXCEPT_H) $(TARGET_H) $(PARAMS_H) rtlhooks-def.h $(TREE_PASS_H) \
3064 $(DF_H) $(DBGCNT_H)
3065 dce.o : dce.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3066 $(TREE_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) $(EXCEPT_H) $(DF_H) cselib.h \
3067 $(DBGCNT_H) dce.h $(TIMEVAR_H) $(TREE_PASS_H) $(DBGCNT_H) $(TM_P_H) \
3068 $(EMIT_RTL_H)
3069 dse.o : dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3070 $(TREE_H) $(TM_P_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3071 $(RECOG_H) $(EXPR_H) $(DF_H) cselib.h $(DBGCNT_H) $(TIMEVAR_H) \
3072 $(TREE_PASS_H) alloc-pool.h $(ALIAS_H) dse.h $(OPTABS_H) $(TARGET_H) \
3073 $(BITMAP_H)
3074 fwprop.o : fwprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3075 $(DIAGNOSTIC_CORE_H) insn-config.h $(RECOG_H) $(FLAGS_H) $(OBSTACK_H) $(BASIC_BLOCK_H) \
3076 output.h $(DF_H) alloc-pool.h $(TIMEVAR_H) $(TREE_PASS_H) $(TARGET_H) \
3077 $(TM_P_H) $(CFGLOOP_H) $(EMIT_RTL_H) domwalk.h sparseset.h
3078 web.o : web.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3079 hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h $(DIAGNOSTIC_CORE_H) \
3080 insn-config.h $(RECOG_H) $(DF_H) $(OBSTACK_H) $(TIMEVAR_H) $(TREE_PASS_H)
3081 implicit-zee.o : implicit-zee.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3082 hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h \
3083 $(DF_H) $(TIMEVAR_H) tree-pass.h $(RECOG_H) $(EXPR_H) \
3084 $(REGS_H) $(TREE_H) $(TM_P_H) insn-config.h $(INSN_ATTR_H) $(DIAGNOSTIC_CORE_H) \
3085 $(TARGET_H) $(OPTABS_H) insn-codes.h rtlhooks-def.h $(PARAMS_H) $(CGRAPH_H)
3086 gcse.o : gcse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3087 $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(GGC_H) \
3088 $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h toplev.h $(DIAGNOSTIC_CORE_H) \
3089 $(TM_P_H) $(PARAMS_H) cselib.h $(EXCEPT_H) gt-gcse.h $(TREE_H) $(TIMEVAR_H) \
3090 intl.h $(OBSTACK_H) $(TREE_PASS_H) $(DF_H) $(DBGCNT_H) $(TARGET_H) \
3091 $(DF_H) gcse.h
3092 store-motion.o : store-motion.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3093 $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(GGC_H) \
3094 $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h toplev.h $(DIAGNOSTIC_CORE_H) \
3095 $(TM_P_H) $(EXCEPT_H) $(TREE_H) $(TIMEVAR_H) \
3096 intl.h $(OBSTACK_H) $(TREE_PASS_H) $(DF_H) $(DBGCNT_H)
3097 resource.o : resource.c $(CONFIG_H) $(RTL_H) hard-reg-set.h $(SYSTEM_H) \
3098 coretypes.h $(TM_H) $(REGS_H) $(FLAGS_H) output.h $(RESOURCE_H) $(DF_H) \
3099 $(FUNCTION_H) $(DIAGNOSTIC_CORE_H) $(INSN_ATTR_H) $(EXCEPT_H) $(PARAMS_H) $(TM_P_H)
3100 lcm.o : lcm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(REGS_H) \
3101 hard-reg-set.h $(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(RECOG_H) \
3102 $(BASIC_BLOCK_H) $(TM_P_H) $(FUNCTION_H) output.h sbitmap.h
3103 mode-switching.o : mode-switching.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3104 $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3105 $(INSN_ATTR_H) $(RECOG_H) $(BASIC_BLOCK_H) $(TM_P_H) $(FUNCTION_H) \
3106 output.h $(TREE_PASS_H) $(TIMEVAR_H) $(DF_H) $(TARGET_H) $(EMIT_RTL_H)
3107 tree-ssa-dce.o : tree-ssa-dce.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
3108 $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) \
3109 coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) $(BASIC_BLOCK_H) \
3110 $(GGC_H) $(GIMPLE_H) $(CFGLOOP_H) $(SCEV_H) tree-pretty-print.h \
3111 gimple-pretty-print.h
3112 tree-call-cdce.o : tree-call-cdce.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
3113 $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) \
3114 coretypes.h $(TREE_DUMP_H) $(TREE_PASS_H) $(FLAGS_H) $(BASIC_BLOCK_H) \
3115 $(GIMPLE_H) gimple-pretty-print.h
3116 tree-ssa-ccp.o : tree-ssa-ccp.c $(TREE_FLOW_H) $(CONFIG_H) \
3117 $(SYSTEM_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h \
3118 $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
3119 $(TREE_DUMP_H) $(BASIC_BLOCK_H) $(TREE_PASS_H) langhooks.h \
3120 tree-ssa-propagate.h value-prof.h $(FLAGS_H) $(TARGET_H) $(DIAGNOSTIC_CORE_H) \
3121 $(DBGCNT_H) tree-pretty-print.h gimple-pretty-print.h
3122 tree-sra.o : tree-sra.c $(CONFIG_H) $(SYSTEM_H) coretypes.h alloc-pool.h \
3123 $(TM_H) $(TREE_H) $(GIMPLE_H) $(CGRAPH_H) $(TREE_FLOW_H) \
3124 $(IPA_PROP_H) $(DIAGNOSTIC_H) statistics.h $(TREE_DUMP_H) $(TIMEVAR_H) \
3125 $(PARAMS_H) $(TARGET_H) $(FLAGS_H) $(EXPR_H) tree-pretty-print.h \
3126 $(DBGCNT_H) $(TREE_INLINE_H) gimple-pretty-print.h
3127 tree-switch-conversion.o : tree-switch-conversion.c $(CONFIG_H) $(SYSTEM_H) \
3128 $(TREE_H) $(TM_P_H) $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TREE_INLINE_H) \
3129 $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) $(GIMPLE_H) \
3130 $(TREE_PASS_H) $(FLAGS_H) $(EXPR_H) $(BASIC_BLOCK_H) output.h \
3131 $(GGC_H) $(OBSTACK_H) $(PARAMS_H) $(CPPLIB_H) $(PARAMS_H) \
3132 gimple-pretty-print.h langhooks.h
3133 tree-complex.o : tree-complex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
3134 $(TM_H) $(FLAGS_H) $(TREE_FLOW_H) $(GIMPLE_H) \
3135 tree-iterator.h $(TREE_PASS_H) tree-ssa-propagate.h $(DIAGNOSTIC_H)
3136 tree-emutls.o : tree-emutls.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
3137 $(GIMPLE_H) $(TREE_PASS_H) $(TREE_FLOW_H) $(CGRAPH_H) langhooks.h \
3138 $(TARGET_H) targhooks.h tree-iterator.h
3139 tree-vect-generic.o : tree-vect-generic.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
3140 $(TM_H) $(TREE_FLOW_H) $(GIMPLE_H) tree-iterator.h $(TREE_PASS_H) \
3141 $(FLAGS_H) $(OPTABS_H) $(MACHMODE_H) $(EXPR_H) \
3142 langhooks.h $(FLAGS_H) $(DIAGNOSTIC_H) gt-tree-vect-generic.h $(GGC_H) \
3143 coretypes.h insn-codes.h
3144 df-core.o : df-core.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3145 insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \
3146 hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) $(BITMAP_H) sbitmap.h $(TIMEVAR_H) \
3147 $(TM_P_H) $(FLAGS_H) output.h $(TREE_PASS_H) $(PARAMS_H)
3148 df-problems.o : df-problems.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3149 $(RTL_H) insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \
3150 hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) $(BITMAP_H) sbitmap.h $(TIMEVAR_H) \
3151 $(TM_P_H) $(TARGET_H) $(FLAGS_H) output.h $(EXCEPT_H) dce.h vecprim.h
3152 df-scan.o : df-scan.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3153 insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \
3154 hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) $(BITMAP_H) sbitmap.h $(TIMEVAR_H) \
3155 $(TM_P_H) $(FLAGS_H) $(TARGET_H) $(TARGET_DEF_H) $(TREE_H) output.h \
3156 $(TREE_PASS_H) $(EMIT_RTL_H)
3157 regstat.o : regstat.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3158 $(TM_P_H) $(FLAGS_H) $(REGS_H) output.h $(EXCEPT_H) hard-reg-set.h \
3159 $(BASIC_BLOCK_H) $(TIMEVAR_H) $(DF_H)
3160 var-tracking.o : var-tracking.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3161 $(RTL_H) $(TREE_H) hard-reg-set.h insn-config.h reload.h $(FLAGS_H) \
3162 $(BASIC_BLOCK_H) output.h sbitmap.h alloc-pool.h $(FIBHEAP_H) $(HASHTAB_H) \
3163 $(REGS_H) $(EXPR_H) $(TIMEVAR_H) $(TREE_PASS_H) $(TREE_FLOW_H) \
3164 cselib.h $(TARGET_H) $(DIAGNOSTIC_CORE_H) $(PARAMS_H) $(DIAGNOSTIC_H) pointer-set.h \
3165 $(RECOG_H) tree-pretty-print.h
3166 profile.o : profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3167 $(TREE_H) $(FLAGS_H) output.h $(REGS_H) $(EXPR_H) $(FUNCTION_H) $(BASIC_BLOCK_H) \
3168 $(DIAGNOSTIC_CORE_H) $(COVERAGE_H) $(TREE_FLOW_H) value-prof.h cfghooks.h \
3169 $(CFGLOOP_H) $(TIMEVAR_H) $(TREE_PASS_H) profile.h
3170 mcf.o : mcf.c profile.h $(CONFIG_H) $(SYSTEM_H) $(TM_H) coretypes.h \
3171 $(BASIC_BLOCK_H) output.h langhooks.h $(GCOV_IO_H) $(TREE_H)
3172 tree-profile.o : tree-profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3173 $(TM_H) $(TREE_H) $(FLAGS_H) $(REGS_H) $(EXPR_H) $(FUNCTION_H) \
3174 $(BASIC_BLOCK_H) $(DIAGNOSTIC_CORE_H) $(COVERAGE_H) $(TREE_H) value-prof.h $(TREE_DUMP_H) \
3175 $(TREE_PASS_H) $(TREE_FLOW_H) $(TIMEVAR_H) gt-tree-profile.h $(CGRAPH_H)
3176 value-prof.o : value-prof.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3177 $(BASIC_BLOCK_H) hard-reg-set.h value-prof.h $(EXPR_H) output.h $(FLAGS_H) \
3178 $(RECOG_H) insn-config.h $(OPTABS_H) $(REGS_H) $(GGC_H) $(DIAGNOSTIC_H) \
3179 $(TREE_H) $(COVERAGE_H) $(RTL_H) $(GCOV_IO_H) $(TREE_FLOW_H) \
3180 tree-flow-inline.h $(TIMEVAR_H) $(TREE_PASS_H) $(DIAGNOSTIC_CORE_H) pointer-set.h \
3181 tree-pretty-print.h gimple-pretty-print.h
3182 loop-doloop.o : loop-doloop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3183 $(RTL_H) $(FLAGS_H) $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) $(TM_P_H) \
3184 $(DIAGNOSTIC_CORE_H) $(CFGLOOP_H) output.h $(PARAMS_H) $(TARGET_H)
3185 alloc-pool.o : alloc-pool.c $(CONFIG_H) $(SYSTEM_H) alloc-pool.h $(HASHTAB_H)
3186 auto-inc-dec.o : auto-inc-dec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3187 $(TREE_H) $(RTL_H) $(TM_P_H) hard-reg-set.h $(BASIC_BLOCK_H) insn-config.h \
3188 $(REGS_H) $(FLAGS_H) output.h $(FUNCTION_H) $(EXCEPT_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) \
3189 $(EXPR_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H) $(DBGCNT_H) $(TARGET_H)
3190 cfg.o : cfg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(FLAGS_H) \
3191 $(REGS_H) hard-reg-set.h output.h $(DIAGNOSTIC_CORE_H) $(FUNCTION_H) $(EXCEPT_H) $(GGC_H) \
3192 $(TM_P_H) $(TIMEVAR_H) $(OBSTACK_H) $(TREE_H) alloc-pool.h \
3193 $(HASHTAB_H) $(DF_H) $(CFGLOOP_H) $(TREE_FLOW_H) $(TREE_PASS_H)
3194 cfghooks.o: cfghooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3195 $(TREE_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(TIMEVAR_H) toplev.h $(DIAGNOSTIC_CORE_H) $(CFGLOOP_H)
3196 cfgexpand.o : cfgexpand.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
3197 $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) \
3198 coretypes.h $(TREE_DUMP_H) $(EXCEPT_H) langhooks.h $(TREE_PASS_H) $(RTL_H) \
3199 $(DIAGNOSTIC_H) toplev.h $(DIAGNOSTIC_CORE_H) $(BASIC_BLOCK_H) $(FLAGS_H) debug.h $(PARAMS_H) \
3200 value-prof.h $(TREE_INLINE_H) $(TARGET_H) $(SSAEXPAND_H) \
3201 tree-pretty-print.h gimple-pretty-print.h $(BITMAP_H) sbitmap.h $(INSN_ATTR_H)
3202 cfgrtl.o : cfgrtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
3203 $(FLAGS_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
3204 output.h $(FUNCTION_H) $(EXCEPT_H) $(TM_P_H) $(INSN_ATTR_H) \
3205 insn-config.h $(EXPR_H) \
3206 $(CFGLAYOUT_H) $(CFGLOOP_H) $(OBSTACK_H) $(TARGET_H) $(TREE_H) \
3207 $(TREE_PASS_H) $(DF_H) $(GGC_H)
3208 cfganal.o : cfganal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3209 $(BASIC_BLOCK_H) hard-reg-set.h insn-config.h $(RECOG_H) $(TM_P_H) \
3210 $(TIMEVAR_H) $(OBSTACK_H) $(DIAGNOSTIC_CORE_H) vecprim.h sbitmap.h $(BITMAP_H)
3211 cfgbuild.o : cfgbuild.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3212 $(FLAGS_H) $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h $(DIAGNOSTIC_CORE_H) \
3213 $(FUNCTION_H) $(EXCEPT_H) $(TIMEVAR_H) $(TREE_H) $(EXPR_H) sbitmap.h
3214 cfgcleanup.o : cfgcleanup.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3215 $(RTL_H) $(TIMEVAR_H) hard-reg-set.h output.h $(FLAGS_H) $(RECOG_H) \
3216 $(DIAGNOSTIC_CORE_H) insn-config.h cselib.h $(TARGET_H) $(TM_P_H) $(PARAMS_H) \
3217 $(REGS_H) $(EMIT_RTL_H) $(CFGLAYOUT_H) $(TREE_PASS_H) $(CFGLOOP_H) $(EXPR_H) \
3218 $(DF_H) $(DBGCNT_H) dce.h
3219 cfgloop.o : cfgloop.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) coretypes.h $(TM_H) \
3220 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(FLAGS_H) $(FUNCTION_H) \
3221 $(OBSTACK_H) toplev.h $(DIAGNOSTIC_CORE_H) $(TREE_FLOW_H) $(TREE_H) pointer-set.h output.h \
3222 $(GGC_H)
3223 cfgloopanal.o : cfgloopanal.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
3224 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) coretypes.h $(TM_H) \
3225 $(OBSTACK_H) output.h graphds.h $(PARAMS_H)
3226 graphds.o : graphds.c graphds.h $(CONFIG_H) $(SYSTEM_H) $(BITMAP_H) $(OBSTACK_H) \
3227 coretypes.h $(VEC_H) vecprim.h
3228 loop-iv.o : loop-iv.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(BASIC_BLOCK_H) \
3229 hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) coretypes.h $(TM_H) $(OBSTACK_H) \
3230 output.h intl.h $(DIAGNOSTIC_CORE_H) $(DF_H) $(HASHTAB_H)
3231 loop-invariant.o : loop-invariant.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
3232 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) $(RECOG_H) \
3233 coretypes.h $(TM_H) $(TM_P_H) $(FUNCTION_H) $(FLAGS_H) $(DF_H) \
3234 $(OBSTACK_H) output.h $(HASHTAB_H) $(EXCEPT_H) $(PARAMS_H) $(REGS_H) ira.h
3235 cfgloopmanip.o : cfgloopmanip.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
3236 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) output.h \
3237 coretypes.h $(TM_H) cfghooks.h $(OBSTACK_H) $(TREE_FLOW_H)
3238 loop-init.o : loop-init.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(GGC_H) \
3239 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) \
3240 coretypes.h $(TM_H) $(OBSTACK_H) $(TREE_PASS_H) $(TIMEVAR_H) $(FLAGS_H) \
3241 $(DF_H)
3242 loop-unswitch.o : loop-unswitch.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TM_H) \
3243 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) $(PARAMS_H) \
3244 output.h $(EXPR_H) coretypes.h $(TM_H) $(OBSTACK_H)
3245 loop-unroll.o: loop-unroll.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TM_H) \
3246 $(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) $(PARAMS_H) \
3247 output.h $(EXPR_H) coretypes.h $(TM_H) $(HASHTAB_H) $(RECOG_H) \
3248 $(OBSTACK_H)
3249 dominance.o : dominance.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3250 hard-reg-set.h $(BASIC_BLOCK_H) et-forest.h $(OBSTACK_H) $(DIAGNOSTIC_CORE_H) \
3251 $(TIMEVAR_H) graphds.h vecprim.h pointer-set.h $(BITMAP_H)
3252 et-forest.o : et-forest.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3253 et-forest.h alloc-pool.h $(BASIC_BLOCK_H)
3254 combine.o : combine.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3255 $(FLAGS_H) $(FUNCTION_H) insn-config.h $(INSN_ATTR_H) $(REGS_H) $(EXPR_H) \
3256 rtlhooks-def.h $(BASIC_BLOCK_H) $(RECOG_H) hard-reg-set.h \
3257 $(DIAGNOSTIC_CORE_H) $(TM_P_H) $(TREE_H) $(TARGET_H) output.h $(PARAMS_H) $(OPTABS_H) \
3258 insn-codes.h $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H) vecprim.h $(CGRAPH_H)
3259 reginfo.o : reginfo.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3260 hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) addresses.h $(REGS_H) \
3261 insn-config.h $(RECOG_H) reload.h $(DIAGNOSTIC_CORE_H) \
3262 $(FUNCTION_H) output.h $(TM_P_H) $(EXPR_H) $(TIMEVAR_H) $(HASHTAB_H) \
3263 $(TARGET_H) $(TREE_PASS_H) $(DF_H) ira.h
3264 bitmap.o : bitmap.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3265 $(GGC_H) gt-bitmap.h $(BITMAP_H) $(OBSTACK_H) $(HASHTAB_H)
3266 vec.o : vec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(VEC_H) $(GGC_H) \
3267 toplev.h $(DIAGNOSTIC_CORE_H) $(HASHTAB_H)
3268 reload.o : reload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
3269 $(FLAGS_H) output.h $(EXPR_H) $(OPTABS_H) reload.h $(RECOG_H) \
3270 hard-reg-set.h insn-config.h $(REGS_H) $(FUNCTION_H) real.h \
3271 addresses.h $(TM_P_H) $(PARAMS_H) $(TARGET_H) $(DF_H) ira.h $(DIAGNOSTIC_CORE_H)
3272 reload1.o : reload1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
3273 $(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) hard-reg-set.h insn-config.h \
3274 $(BASIC_BLOCK_H) $(RECOG_H) output.h $(FUNCTION_H) $(TM_P_H) \
3275 addresses.h $(EXCEPT_H) $(TREE_H) $(FLAGS_H) $(MACHMODE_H) \
3276 $(OBSTACK_H) $(DF_H) $(TARGET_H) $(EMIT_RTL_H) ira.h
3277 rtlhooks.o : rtlhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3278 rtlhooks-def.h $(EXPR_H) $(RECOG_H)
3279 postreload.o : postreload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3280 $(RTL_H) $(FLAGS_H) $(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) \
3281 hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) $(RECOG_H) output.h \
3282 $(FUNCTION_H) $(DIAGNOSTIC_CORE_H) cselib.h $(TM_P_H) $(EXCEPT_H) $(TREE_H) $(MACHMODE_H) \
3283 $(OBSTACK_H) $(TARGET_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H) $(DBGCNT_H)
3284 postreload-gcse.o : postreload-gcse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3285 $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3286 $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h $(DIAGNOSTIC_CORE_H) \
3287 $(TM_P_H) $(EXCEPT_H) $(TREE_H) $(TARGET_H) $(HASHTAB_H) intl.h $(OBSTACK_H) \
3288 $(PARAMS_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DBGCNT_H)
3289 caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3290 $(FLAGS_H) $(REGS_H) hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) $(FUNCTION_H) \
3291 addresses.h $(RECOG_H) reload.h $(EXPR_H) $(DIAGNOSTIC_CORE_H) $(TM_P_H) $(DF_H) \
3292 output.h gt-caller-save.h $(GGC_H)
3293 bt-load.o : bt-load.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(EXCEPT_H) \
3294 $(RTL_H) hard-reg-set.h $(REGS_H) $(TM_P_H) $(FIBHEAP_H) output.h $(EXPR_H) \
3295 $(TARGET_H) $(FLAGS_H) $(INSN_ATTR_H) $(FUNCTION_H) $(TREE_PASS_H) \
3296 toplev.h $(DIAGNOSTIC_CORE_H) $(DF_H) vecprim.h $(RECOG_H)
3297 reorg.o : reorg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3298 conditions.h hard-reg-set.h $(BASIC_BLOCK_H) $(REGS_H) insn-config.h \
3299 $(INSN_ATTR_H) $(EXCEPT_H) $(RECOG_H) $(FUNCTION_H) $(FLAGS_H) output.h \
3300 $(EXPR_H) $(DIAGNOSTIC_CORE_H) $(PARAMS_H) $(TM_P_H) $(OBSTACK_H) $(RESOURCE_H) \
3301 $(TIMEVAR_H) $(TARGET_H) $(TREE_PASS_H)
3302 alias.o : alias.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3303 $(FLAGS_H) hard-reg-set.h $(BASIC_BLOCK_H) $(REGS_H) $(DIAGNOSTIC_CORE_H) output.h \
3304 $(ALIAS_H) $(EMIT_RTL_H) $(GGC_H) $(FUNCTION_H) cselib.h $(TREE_H) $(TM_P_H) \
3305 langhooks.h $(TARGET_H) gt-alias.h $(TIMEVAR_H) $(CGRAPH_H) \
3306 $(SPLAY_TREE_H) $(IPA_TYPE_ESCAPE_H) $(DF_H) $(TREE_PASS_H) \
3307 tree-ssa-alias.h pointer-set.h $(TREE_FLOW_H)
3308 stack-ptr-mod.o : stack-ptr-mod.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3309 $(TM_H) $(TREE_H) $(RTL_H) $(REGS_H) $(EXPR_H) $(TREE_PASS_H) \
3310 $(BASIC_BLOCK_H) $(FLAGS_H) output.h $(DF_H)
3311 init-regs.o : init-regs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3312 $(TM_H) $(TREE_H) $(RTL_H) $(REGS_H) $(EXPR_H) $(TREE_PASS_H) \
3313 $(BASIC_BLOCK_H) $(FLAGS_H) $(DF_H)
3314 ira-build.o: ira-build.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3315 $(TARGET_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
3316 insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_CORE_H) $(TM_P_H) \
3317 $(PARAMS_H) $(DF_H) sparseset.h $(IRA_INT_H) output.h reload.h
3318 ira-costs.o: ira-costs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3319 hard-reg-set.h $(RTL_H) $(EXPR_H) $(TM_P_H) $(FLAGS_H) $(BASIC_BLOCK_H) \
3320 $(REGS_H) addresses.h insn-config.h $(RECOG_H) $(DIAGNOSTIC_CORE_H) $(TARGET_H) \
3321 $(PARAMS_H) $(IRA_INT_H) reload.h
3322 ira-conflicts.o: ira-conflicts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3323 $(TARGET_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
3324 insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_CORE_H) $(TM_P_H) $(PARAMS_H) \
3325 $(DF_H) sparseset.h addresses.h $(IRA_INT_H)
3326 ira-color.o: ira-color.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3327 $(TARGET_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
3328 $(EXPR_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_CORE_H) $(TM_P_H) reload.h $(PARAMS_H) \
3329 $(DF_H) $(SPLAY_TREE_H) $(IRA_INT_H)
3330 ira-emit.o: ira-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3331 $(REGS_H) $(RTL_H) $(TM_P_H) $(TARGET_H) $(FLAGS_H) hard-reg-set.h \
3332 $(BASIC_BLOCK_H) $(EXPR_H) $(RECOG_H) $(PARAMS_H) $(TIMEVAR_H) \
3333 $(TREE_PASS_H) output.h reload.h $(DF_H) $(IRA_INT_H)
3334 ira-lives.o: ira-lives.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3335 $(TARGET_H) $(RTL_H) $(REGS_H) $(EXCEPT_H) hard-reg-set.h $(FLAGS_H) \
3336 insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_CORE_H) $(TM_P_H) $(PARAMS_H) \
3337 $(DF_H) sparseset.h $(IRA_INT_H)
3338 ira.o: ira.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3339 $(TM_H) $(REGS_H) $(RTL_H) $(TM_P_H) $(TARGET_H) $(FLAGS_H) $(OBSTACK_H) \
3340 $(BITMAP_H) hard-reg-set.h $(BASIC_BLOCK_H) \
3341 $(EXPR_H) $(RECOG_H) $(PARAMS_H) $(TIMEVAR_H) $(TREE_PASS_H) output.h \
3342 $(EXCEPT_H) reload.h toplev.h $(DIAGNOSTIC_CORE_H) $(INTEGRATE_H) $(DF_H) $(GGC_H) $(IRA_INT_H)
3343 regmove.o : regmove.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3344 insn-config.h $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H) \
3345 $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
3346 $(EXPR_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_CORE_H) $(TM_P_H) \
3347 $(EXCEPT_H) ira.h reload.h $(TARGET_H)
3348 combine-stack-adj.o : combine-stack-adj.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3349 $(TM_H) $(RTL_H) insn-config.h $(TIMEVAR_H) $(TREE_PASS_H) \
3350 $(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
3351 $(EXPR_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_CORE_H) $(TM_P_H) $(DF_H) $(EXCEPT_H) reload.h
3352 compare-elim.o : compare-elim.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3353 $(TM_H) $(RTL_H) $(TM_P_H) insn-config.h $(RECOG_H) $(FLAGS_H) \
3354 $(BASIC_BLOCK_H) $(TREE_PASS_H) $(TARGET_H) $(DF_H) domwalk.h
3355 ddg.o : ddg.c $(DDG_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TARGET_H) \
3356 $(DIAGNOSTIC_CORE_H) $(RTL_H) $(TM_P_H) $(REGS_H) $(FUNCTION_H) \
3357 $(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(EXCEPT_H) $(RECOG_H) \
3358 $(SCHED_INT_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(EXPR_H) $(BITMAP_H) \
3359 hard-reg-set.h sbitmap.h $(TM_H)
3360 modulo-sched.o : modulo-sched.c $(DDG_H) $(CONFIG_H) $(CONFIG_H) $(SYSTEM_H) \
3361 coretypes.h $(TARGET_H) $(DIAGNOSTIC_CORE_H) $(RTL_H) $(TM_P_H) $(REGS_H) $(FUNCTION_H) \
3362 $(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(EXCEPT_H) $(RECOG_H) \
3363 $(SCHED_INT_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(EXPR_H) $(PARAMS_H) \
3364 cfghooks.h $(GCOV_IO_H) hard-reg-set.h $(TM_H) $(TIMEVAR_H) $(TREE_PASS_H) \
3365 $(DF_H) $(DBGCNT_H)
3366 haifa-sched.o : haifa-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3367 $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(FUNCTION_H) \
3368 $(INSN_ATTR_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(EXCEPT_H) $(TM_P_H) $(TARGET_H) output.h \
3369 $(PARAMS_H) $(DBGCNT_H) $(CFGLOOP_H) ira.h $(EMIT_RTL_H)
3370 sched-deps.o : sched-deps.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3371 $(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3372 $(FUNCTION_H) $(INSN_ATTR_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(EXCEPT_H) cselib.h \
3373 ira.h $(PARAMS_H) $(TM_P_H) ira.h $(TARGET_H)
3374 sched-rgn.o : sched-rgn.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3375 $(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3376 $(FUNCTION_H) $(INSN_ATTR_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
3377 $(TM_P_H) sel-sched.h $(TARGET_H) $(CFGLAYOUT_H) $(TIMEVAR_H) $(TREE_PASS_H) \
3378 $(DBGCNT_H)
3379 sched-ebb.o : sched-ebb.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3380 $(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3381 $(FUNCTION_H) $(INSN_ATTR_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(EXCEPT_H) $(TM_P_H) \
3382 $(PARAMS_H) $(CFGLAYOUT_H) $(TARGET_H) output.h
3383 sched-vis.o : sched-vis.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3384 $(RTL_H) $(SCHED_INT_H) hard-reg-set.h $(BASIC_BLOCK_H) $(OBSTACK_H) \
3385 $(TREE_PASS_H) $(INSN_ATTR_H)
3386 sel-sched.o : sel-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3387 $(RTL_ERROR_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3388 $(FUNCTION_H) $(INSN_ATTR_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
3389 $(TM_P_H) output.h $(TARGET_H) $(TIMEVAR_H) $(TREE_PASS_H) \
3390 $(SCHED_INT_H) $(GGC_H) $(TREE_H) langhooks.h rtlhooks-def.h \
3391 $(SEL_SCHED_IR_H) $(SEL_SCHED_DUMP_H) sel-sched.h $(DBGCNT_H) $(EMIT_RTL_H)
3392 sel-sched-dump.o : sel-sched-dump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3393 $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3394 $(FUNCTION_H) $(INSN_ATTR_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
3395 $(TM_P_H) $(TARGET_H) $(CFGLAYOUT_H) $(TIMEVAR_H) $(TREE_PASS_H) \
3396 $(SEL_SCHED_DUMP_H) $(GGC_H) $(TREE_H) $(LANGHOOKS_DEF_H) $(SEL_SCHED_IR_H) \
3397 output.h $(BASIC_BLOCK_H) cselib.h
3398 sel-sched-ir.o : sel-sched-ir.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3399 $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
3400 $(FUNCTION_H) $(INSN_ATTR_H) $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(EXCEPT_H) $(PARAMS_H) \
3401 $(TM_P_H) $(TARGET_H) $(TIMEVAR_H) $(TREE_PASS_H) $(SCHED_INT_H) $(GGC_H) \
3402 $(TREE_H) langhooks.h rtlhooks-def.h $(SEL_SCHED_IR_H) $(SEL_SCHED_DUMP_H) \
3403 $(EMIT_RTL_H)
3404 final.o : final.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
3405 $(TREE_H) $(FLAGS_H) intl.h $(REGS_H) $(RECOG_H) conditions.h \
3406 insn-config.h $(INSN_ATTR_H) $(FUNCTION_H) output.h hard-reg-set.h \
3407 $(EXCEPT_H) debug.h xcoffout.h toplev.h $(DIAGNOSTIC_CORE_H) reload.h dwarf2out.h \
3408 $(TREE_PASS_H) $(BASIC_BLOCK_H) $(TM_P_H) $(TARGET_H) $(EXPR_H) \
3409 $(CFGLAYOUT_H) dbxout.h $(TIMEVAR_H) $(CGRAPH_H) $(COVERAGE_H) \
3410 $(DF_H) vecprim.h $(GGC_H) $(CFGLOOP_H) $(PARAMS_H) $(TREE_FLOW_H)
3411 recog.o : recog.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_ERROR_H) \
3412 $(FUNCTION_H) $(BASIC_BLOCK_H) $(REGS_H) $(RECOG_H) $(EXPR_H) \
3413 $(FLAGS_H) insn-config.h $(INSN_ATTR_H) output.h reload.h \
3414 addresses.h $(TM_P_H) $(TIMEVAR_H) $(TREE_PASS_H) hard-reg-set.h \
3415 $(DF_H) $(DBGCNT_H) $(TARGET_H) $(DIAGNOSTIC_CORE_H)
3416 reg-stack.o : reg-stack.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3417 $(RTL_ERROR_H) $(TREE_H) $(RECOG_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
3418 insn-config.h reload.h $(FUNCTION_H) $(TM_P_H) $(GGC_H) \
3419 $(BASIC_BLOCK_H) $(CFGLAYOUT_H) output.h $(TIMEVAR_H) \
3420 $(TREE_PASS_H) $(TARGET_H) vecprim.h $(DF_H) $(EMIT_RTL_H)
3421 sreal.o: sreal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h sreal.h
3422 predict.o: predict.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3423 $(TREE_H) $(FLAGS_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) \
3424 hard-reg-set.h output.h $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(FUNCTION_H) $(EXCEPT_H) \
3425 $(TM_P_H) $(PREDICT_H) sreal.h $(PARAMS_H) $(TARGET_H) $(CFGLOOP_H) \
3426 $(COVERAGE_H) $(SCEV_H) $(GGC_H) predict.def $(TIMEVAR_H) $(TREE_DUMP_H) \
3427 $(TREE_FLOW_H) $(TREE_PASS_H) $(EXPR_H) pointer-set.h
3428 lists.o: lists.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(DIAGNOSTIC_CORE_H) \
3429 $(RTL_H) $(GGC_H) gt-lists.h
3430 bb-reorder.o : bb-reorder.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3431 $(RTL_H) $(FLAGS_H) $(TIMEVAR_H) output.h $(CFGLAYOUT_H) $(FIBHEAP_H) \
3432 $(TARGET_H) $(FUNCTION_H) $(TM_P_H) $(OBSTACK_H) $(EXPR_H) $(REGS_H) \
3433 $(PARAMS_H) toplev.h $(DIAGNOSTIC_CORE_H) $(TREE_PASS_H) $(DF_H) \
3434 bb-reorder.h
3435 tracer.o : tracer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3436 $(TREE_H) $(BASIC_BLOCK_H) hard-reg-set.h output.h $(CFGLAYOUT_H) \
3437 $(FLAGS_H) $(TIMEVAR_H) $(PARAMS_H) $(COVERAGE_H) $(FIBHEAP_H) \
3438 $(TREE_PASS_H) $(TREE_FLOW_H) $(TREE_INLINE_H)
3439 cfglayout.o : cfglayout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3440 $(RTL_H) $(TREE_H) insn-config.h $(BASIC_BLOCK_H) hard-reg-set.h output.h \
3441 $(FUNCTION_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(TARGET_H) gt-cfglayout.h \
3442 $(GGC_H) alloc-pool.h $(FLAGS_H) $(OBSTACK_H) $(TREE_PASS_H) vecprim.h \
3443 $(DF_H) $(EMIT_RTL_H)
3444 timevar.o : timevar.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3445 $(TIMEVAR_H) $(FLAGS_H) intl.h toplev.h $(DIAGNOSTIC_CORE_H) $(RTL_H) timevar.def
3446 regcprop.o : regcprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3447 $(RTL_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
3448 output.h $(RECOG_H) $(FUNCTION_H) $(OBSTACK_H) $(FLAGS_H) $(TM_P_H) \
3449 addresses.h reload.h $(DIAGNOSTIC_CORE_H) $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H)
3450 regrename.o : regrename.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3451 $(RTL_ERROR_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
3452 output.h $(RECOG_H) $(FUNCTION_H) $(OBSTACK_H) $(FLAGS_H) $(TM_P_H) \
3453 addresses.h reload.h $(TIMEVAR_H) $(TREE_PASS_H) $(DF_H) $(TARGET_H)
3454 ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
3455 $(REGS_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) insn-config.h $(FUNCTION_H) $(RECOG_H) \
3456 $(TARGET_H) $(BASIC_BLOCK_H) $(EXPR_H) output.h $(EXCEPT_H) $(TM_P_H) \
3457 $(OPTABS_H) $(CFGLOOP_H) hard-reg-set.h $(TIMEVAR_H) \
3458 $(TREE_PASS_H) $(DF_H) $(DBGCNT_H)
3459 params.o : params.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(PARAMS_H) \
3460 $(DIAGNOSTIC_CORE_H)
3461 pointer-set.o: pointer-set.c pointer-set.h $(CONFIG_H) $(SYSTEM_H)
3462 hooks.o: hooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(HOOKS_H)
3463 pretty-print.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h $(PRETTY_PRINT_H)
3464 errors.o : errors.c $(CONFIG_H) $(SYSTEM_H) errors.h $(BCONFIG_H)
3465 dbgcnt.o: dbgcnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DIAGNOSTIC_CORE_H) $(DBGCNT_H) \
3466 $(TM_H) $(RTL_H) output.h
3467 lower-subreg.o : lower-subreg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3468 $(MACHMODE_H) $(TM_H) $(RTL_H) $(TM_P_H) $(TIMEVAR_H) $(FLAGS_H) \
3469 insn-config.h $(BASIC_BLOCK_H) $(RECOG_H) $(OBSTACK_H) $(BITMAP_H) \
3470 $(EXPR_H) $(EXCEPT_H) $(REGS_H) $(TREE_PASS_H) $(DF_H) dce.h
3471 target-globals.o : target-globals.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3472 $(TM_H) insn-config.h $(MACHMODE_H) $(GGC_H) toplev.h target-globals.h \
3473 $(FLAGS_H) $(REGS_H) $(RTL_H) reload.h expmed.h $(EXPR_H) $(OPTABS_H) \
3474 $(LIBFUNCS_H) $(CFGLOOP_H) $(IRA_INT_H) builtins.h gcse.h bb-reorder.h
3475
3476 $(out_object_file): $(out_file) $(CONFIG_H) coretypes.h $(TM_H) $(TREE_H) \
3477 $(RTL_H) $(REGS_H) hard-reg-set.h insn-config.h conditions.h \
3478 output.h $(INSN_ATTR_H) $(SYSTEM_H) toplev.h $(DIAGNOSTIC_CORE_H) \
3479 $(TARGET_H) $(LIBFUNCS_H) $(TARGET_DEF_H) $(FUNCTION_H) $(SCHED_INT_H) \
3480 $(TM_P_H) $(EXPR_H) langhooks.h $(GGC_H) $(OPTABS_H) $(REAL_H) \
3481 tm-constrs.h $(GIMPLE_H) $(DF_H) cselib.h
3482 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
3483 $(out_file) $(OUTPUT_OPTION)
3484
3485 # Build auxiliary files that support ecoff format.
3486 mips-tfile: mips-tfile.o version.o $(LIBDEPS)
3487 $(LINKER) $(LINKERFLAGS) $(LDFLAGS) -o $@ \
3488 mips-tfile.o version.o $(LIBS)
3489
3490 mips-tfile.o : mips-tfile.c $(CONFIG_H) $(RTL_H) $(SYSTEM_H) coretypes.h \
3491 $(TM_H) version.h $(srcdir)/../include/getopt.h $(GSTAB_H) intl.h
3492
3493 mips-tdump: mips-tdump.o version.o $(LIBDEPS)
3494 $(LINKER) $(LINKERFLAGS) $(LDFLAGS) -o $@ \
3495 mips-tdump.o version.o $(LIBS)
3496
3497 mips-tdump.o : mips-tdump.c $(CONFIG_H) $(RTL_H) $(SYSTEM_H) coretypes.h \
3498 $(TM_H) version.h $(srcdir)/../include/getopt.h stab.def
3499
3500 # 2244 #
3501 # Generate header and source files from the machine description, 2245 # Generate header and source files from the machine description,
3502 # and compile them. 2246 # and compile them.
3503 2247
3504 .PRECIOUS: insn-config.h insn-flags.h insn-codes.h insn-constants.h \ 2248 .PRECIOUS: insn-config.h insn-flags.h insn-codes.h insn-constants.h \
3505 insn-emit.c insn-recog.c insn-extract.c insn-output.c insn-peep.c \ 2249 insn-emit.c insn-recog.c insn-extract.c insn-output.c insn-peep.c \
3506 insn-attr.h insn-attrtab.c insn-preds.c 2250 insn-attr.h insn-attr-common.h insn-attrtab.c insn-dfatab.c \
2251 insn-latencytab.c insn-preds.c gimple-match.c generic-match.c \
2252 insn-target-def.h
3507 2253
3508 # Dependencies for the md file. The first time through, we just assume 2254 # Dependencies for the md file. The first time through, we just assume
3509 # the md file itself and the generated dependency file (in order to get 2255 # the md file itself and the generated dependency file (in order to get
3510 # it built). The second time through we have the dependency file. 2256 # it built). The second time through we have the dependency file.
3511 -include mddeps.mk 2257 -include mddeps.mk
3513 2259
3514 s-mddeps: $(md_file) $(MD_INCLUDES) build/genmddeps$(build_exeext) 2260 s-mddeps: $(md_file) $(MD_INCLUDES) build/genmddeps$(build_exeext)
3515 $(RUN_GEN) build/genmddeps$(build_exeext) $(md_file) > tmp-mddeps 2261 $(RUN_GEN) build/genmddeps$(build_exeext) $(md_file) > tmp-mddeps
3516 $(SHELL) $(srcdir)/../move-if-change tmp-mddeps mddeps.mk 2262 $(SHELL) $(srcdir)/../move-if-change tmp-mddeps mddeps.mk
3517 $(STAMP) s-mddeps 2263 $(STAMP) s-mddeps
3518
3519 # Header dependencies for generated source files.
3520 insn-attrtab.o : insn-attrtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3521 $(TM_H) $(RTL_H) $(REGS_H) output.h $(INSN_ATTR_H) \
3522 insn-config.h $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(TM_P_H) $(FLAGS_H)
3523 insn-automata.o : insn-automata.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3524 $(TM_H) $(RTL_H) $(REGS_H) output.h $(INSN_ATTR_H) \
3525 insn-config.h toplev.h $(DIAGNOSTIC_CORE_H) $(RECOG_H) $(TM_P_H) $(FLAGS_H) $(EMIT_RTL_H)
3526 insn-emit.o : insn-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3527 $(RTL_H) $(TM_P_H) $(FUNCTION_H) $(EXPR_H) $(OPTABS_H) \
3528 dfp.h $(FLAGS_H) output.h insn-config.h hard-reg-set.h $(RECOG_H) \
3529 $(RESOURCE_H) reload.h $(DIAGNOSTIC_CORE_H) $(REGS_H) tm-constrs.h $(GGC_H) \
3530 $(BASIC_BLOCK_H) $(INTEGRATE_H)
3531 insn-enums.o : insn-enums.c $(CONFIG_H) $(SYSTEM_H) insn-constants.h
3532 insn-extract.o : insn-extract.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3533 $(TM_H) $(RTL_H) $(DIAGNOSTIC_CORE_H) insn-config.h $(RECOG_H)
3534 insn-modes.o : insn-modes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3535 $(MACHMODE_H)
3536 insn-opinit.o : insn-opinit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3537 $(TM_H) $(RTL_H) $(TM_P_H) insn-config.h $(FLAGS_H) $(RECOG_H) \
3538 $(EXPR_H) $(OPTABS_H) reload.h
3539 insn-output.o : insn-output.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3540 $(TM_H) $(RTL_H) $(GGC_H) $(REGS_H) conditions.h \
3541 hard-reg-set.h insn-config.h $(INSN_ATTR_H) $(EXPR_H) output.h \
3542 $(RECOG_H) $(FUNCTION_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) insn-codes.h $(TM_P_H)\
3543 $(TARGET_H) tm-constrs.h
3544 insn-peep.o : insn-peep.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3545 insn-config.h $(RTL_H) $(TM_P_H) $(REGS_H) output.h \
3546 $(RECOG_H) $(EXCEPT_H) $(FUNCTION_H) $(DIAGNOSTIC_CORE_H) $(FLAGS_H) tm-constrs.h
3547 insn-preds.o : insn-preds.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3548 $(TM_H) $(RTL_H) $(TREE_H) insn-config.h $(RECOG_H) output.h \
3549 $(FLAGS_H) $(FUNCTION_H) hard-reg-set.h $(RESOURCE_H) $(TM_P_H) \
3550 $(DIAGNOSTIC_CORE_H) reload.h $(REGS_H) tm-constrs.h
3551 insn-recog.o : insn-recog.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
3552 $(TM_H) $(RTL_H) insn-config.h $(RECOG_H) output.h $(FLAGS_H) \
3553 $(FUNCTION_H) hard-reg-set.h $(RESOURCE_H) $(TM_P_H) $(DIAGNOSTIC_CORE_H) \
3554 reload.h $(REGS_H) tm-constrs.h
3555 2264
3556 # For each of the files generated by running a generator program over 2265 # For each of the files generated by running a generator program over
3557 # the machine description, the following static pattern rules run the 2266 # the machine description, the following static pattern rules run the
3558 # generator program only if the machine description has changed, 2267 # generator program only if the machine description has changed,
3559 # but touch the target file only when its contents actually change. 2268 # but touch the target file only when its contents actually change.
3560 # The "; @true" construct forces Make to recheck the timestamp on 2269 # The "; @true" construct forces Make to recheck the timestamp on
3561 # the target file. 2270 # the target file.
3562 2271
3563 simple_rtl_generated_h = insn-attr.h insn-codes.h insn-config.h insn-flags.h 2272 simple_rtl_generated_h = insn-attr.h insn-attr-common.h insn-codes.h \
3564 2273 insn-config.h insn-flags.h insn-target-def.h
3565 simple_rtl_generated_c = insn-attrtab.c insn-automata.c insn-emit.c \ 2274
3566 insn-extract.c insn-opinit.c insn-output.c \ 2275 simple_rtl_generated_c = insn-automata.c insn-emit.c \
2276 insn-extract.c insn-output.c \
3567 insn-peep.c insn-recog.c 2277 insn-peep.c insn-recog.c
3568 2278
3569 simple_generated_h = $(simple_rtl_generated_h) insn-constants.h 2279 simple_generated_h = $(simple_rtl_generated_h) insn-constants.h
3570 2280
3571 simple_generated_c = $(simple_rtl_generated_c) insn-enums.c 2281 simple_generated_c = $(simple_rtl_generated_c) insn-enums.c
3597 s-check : build/gencheck$(build_exeext) 2307 s-check : build/gencheck$(build_exeext)
3598 $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h 2308 $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
3599 $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h 2309 $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
3600 $(STAMP) s-check 2310 $(STAMP) s-check
3601 2311
2312 # genattrtab produces three files: tmp-{attrtab.c,dfatab.c,latencytab.c}
2313 insn-attrtab.c insn-dfatab.c insn-latencytab.c: s-attrtab ; @true
2314 s-attrtab : $(MD_DEPS) build/genattrtab$(build_exeext) \
2315 insn-conditions.md
2316 $(RUN_GEN) build/genattrtab$(build_exeext) $(md_file) insn-conditions.md \
2317 -Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c
2318 $(SHELL) $(srcdir)/../move-if-change tmp-attrtab.c insn-attrtab.c
2319 $(SHELL) $(srcdir)/../move-if-change tmp-dfatab.c insn-dfatab.c
2320 $(SHELL) $(srcdir)/../move-if-change tmp-latencytab.c insn-latencytab.c
2321 $(STAMP) s-attrtab
2322
2323 # genopinit produces two files.
2324 insn-opinit.c insn-opinit.h: s-opinit ; @true
2325 s-opinit: $(MD_DEPS) build/genopinit$(build_exeext) insn-conditions.md
2326 $(RUN_GEN) build/genopinit$(build_exeext) $(md_file) \
2327 insn-conditions.md -htmp-opinit.h -ctmp-opinit.c
2328 $(SHELL) $(srcdir)/../move-if-change tmp-opinit.h insn-opinit.h
2329 $(SHELL) $(srcdir)/../move-if-change tmp-opinit.c insn-opinit.c
2330 $(STAMP) s-opinit
2331
3602 # gencondmd doesn't use the standard naming convention. 2332 # gencondmd doesn't use the standard naming convention.
3603 build/gencondmd.c: s-conditions; @true 2333 build/gencondmd.c: s-conditions; @true
3604 s-conditions: $(MD_DEPS) build/genconditions$(build_exeext) 2334 s-conditions: $(MD_DEPS) build/genconditions$(build_exeext)
3605 $(RUN_GEN) build/genconditions$(build_exeext) $(md_file) > tmp-condmd.c 2335 $(RUN_GEN) build/genconditions$(build_exeext) $(md_file) > tmp-condmd.c
3606 $(SHELL) $(srcdir)/../move-if-change tmp-condmd.c build/gencondmd.c 2336 $(SHELL) $(srcdir)/../move-if-change tmp-condmd.c build/gencondmd.c
3623 $(SHELL) $(srcdir)/../move-if-change tmp-genrtl.h genrtl.h 2353 $(SHELL) $(srcdir)/../move-if-change tmp-genrtl.h genrtl.h
3624 $(STAMP) s-genrtl-h 2354 $(STAMP) s-genrtl-h
3625 2355
3626 insn-modes.c: s-modes; @true 2356 insn-modes.c: s-modes; @true
3627 insn-modes.h: s-modes-h; @true 2357 insn-modes.h: s-modes-h; @true
2358 insn-modes-inline.h: s-modes-inline-h; @true
3628 min-insn-modes.c: s-modes-m; @true 2359 min-insn-modes.c: s-modes-m; @true
3629 2360
3630 s-modes: build/genmodes$(build_exeext) 2361 s-modes: build/genmodes$(build_exeext)
3631 $(RUN_GEN) build/genmodes$(build_exeext) > tmp-modes.c 2362 $(RUN_GEN) build/genmodes$(build_exeext) > tmp-modes.c
3632 $(SHELL) $(srcdir)/../move-if-change tmp-modes.c insn-modes.c 2363 $(SHELL) $(srcdir)/../move-if-change tmp-modes.c insn-modes.c
3635 s-modes-h: build/genmodes$(build_exeext) 2366 s-modes-h: build/genmodes$(build_exeext)
3636 $(RUN_GEN) build/genmodes$(build_exeext) -h > tmp-modes.h 2367 $(RUN_GEN) build/genmodes$(build_exeext) -h > tmp-modes.h
3637 $(SHELL) $(srcdir)/../move-if-change tmp-modes.h insn-modes.h 2368 $(SHELL) $(srcdir)/../move-if-change tmp-modes.h insn-modes.h
3638 $(STAMP) s-modes-h 2369 $(STAMP) s-modes-h
3639 2370
2371 s-modes-inline-h: build/genmodes$(build_exeext)
2372 $(RUN_GEN) build/genmodes$(build_exeext) -i > tmp-modes-inline.h
2373 $(SHELL) $(srcdir)/../move-if-change tmp-modes-inline.h \
2374 insn-modes-inline.h
2375 $(STAMP) s-modes-inline-h
2376
3640 s-modes-m: build/genmodes$(build_exeext) 2377 s-modes-m: build/genmodes$(build_exeext)
3641 $(RUN_GEN) build/genmodes$(build_exeext) -m > tmp-min-modes.c 2378 $(RUN_GEN) build/genmodes$(build_exeext) -m > tmp-min-modes.c
3642 $(SHELL) $(srcdir)/../move-if-change tmp-min-modes.c min-insn-modes.c 2379 $(SHELL) $(srcdir)/../move-if-change tmp-min-modes.c min-insn-modes.c
3643 $(STAMP) s-modes-m 2380 $(STAMP) s-modes-m
3644 2381
3645 insn-preds.c: s-preds; @true 2382 insn-preds.c: s-preds; @true
3646 tm-preds.h: s-preds-h; @true 2383 tm-preds.h: s-preds-h; @true
3647 tm-constrs.h: s-constrs-h; @true 2384 tm-constrs.h: s-constrs-h; @true
3648 2385
2386 .PHONY: mddump
2387 mddump: $(BUILD_RTL) $(MD_DEPS) build/genmddump$(build_exeext)
2388 $(RUN_GEN) build/genmddump$(build_exeext) $(md_file) > tmp-mddump.md
2389
3649 s-preds: $(MD_DEPS) build/genpreds$(build_exeext) 2390 s-preds: $(MD_DEPS) build/genpreds$(build_exeext)
3650 $(RUN_GEN) build/genpreds$(build_exeext) $(md_file) > tmp-preds.c 2391 $(RUN_GEN) build/genpreds$(build_exeext) $(md_file) > tmp-preds.c
3651 $(SHELL) $(srcdir)/../move-if-change tmp-preds.c insn-preds.c 2392 $(SHELL) $(srcdir)/../move-if-change tmp-preds.c insn-preds.c
3652 $(STAMP) s-preds 2393 $(STAMP) s-preds
3653 2394
3659 s-constrs-h: $(MD_DEPS) build/genpreds$(build_exeext) 2400 s-constrs-h: $(MD_DEPS) build/genpreds$(build_exeext)
3660 $(RUN_GEN) build/genpreds$(build_exeext) -c $(md_file) > tmp-constrs.h 2401 $(RUN_GEN) build/genpreds$(build_exeext) -c $(md_file) > tmp-constrs.h
3661 $(SHELL) $(srcdir)/../move-if-change tmp-constrs.h tm-constrs.h 2402 $(SHELL) $(srcdir)/../move-if-change tmp-constrs.h tm-constrs.h
3662 $(STAMP) s-constrs-h 2403 $(STAMP) s-constrs-h
3663 2404
2405 s-case-cfn-macros: build/gencfn-macros$(build_exeext)
2406 $(RUN_GEN) build/gencfn-macros$(build_exeext) -c \
2407 > tmp-case-cfn-macros.h
2408 $(SHELL) $(srcdir)/../move-if-change tmp-case-cfn-macros.h \
2409 case-cfn-macros.h
2410 $(STAMP) s-case-cfn-macros
2411 case-cfn-macros.h: s-case-cfn-macros; @true
2412
2413 s-cfn-operators: build/gencfn-macros$(build_exeext)
2414 $(RUN_GEN) build/gencfn-macros$(build_exeext) -o \
2415 > tmp-cfn-operators.pd
2416 $(SHELL) $(srcdir)/../move-if-change tmp-cfn-operators.pd \
2417 cfn-operators.pd
2418 $(STAMP) s-cfn-operators
2419 cfn-operators.pd: s-cfn-operators; @true
2420
3664 target-hooks-def.h: s-target-hooks-def-h; @true 2421 target-hooks-def.h: s-target-hooks-def-h; @true
3665 # make sure that when we build info files, the used tm.texi is up to date. 2422 # make sure that when we build info files, the used tm.texi is up to date.
3666 $(srcdir)/doc/tm.texi: s-tm-texi; @true 2423 $(srcdir)/doc/tm.texi: s-tm-texi; @true
3667 2424
3668 s-target-hooks-def-h: build/genhooks$(build_exeext) 2425 s-target-hooks-def-h: build/genhooks$(build_exeext)
3669 $(RUN_GEN) build/genhooks$(build_exeext) > tmp-target-hooks-def.h 2426 $(RUN_GEN) build/genhooks$(build_exeext) "Target Hook" \
2427 > tmp-target-hooks-def.h
3670 $(SHELL) $(srcdir)/../move-if-change tmp-target-hooks-def.h \ 2428 $(SHELL) $(srcdir)/../move-if-change tmp-target-hooks-def.h \
3671 target-hooks-def.h 2429 target-hooks-def.h
3672 $(STAMP) s-target-hooks-def-h 2430 $(STAMP) s-target-hooks-def-h
2431
2432 c-family/c-target-hooks-def.h: s-c-target-hooks-def-h; @true
2433
2434 s-c-target-hooks-def-h: build/genhooks$(build_exeext)
2435 $(RUN_GEN) build/genhooks$(build_exeext) "C Target Hook" \
2436 > tmp-c-target-hooks-def.h
2437 $(SHELL) $(srcdir)/../move-if-change tmp-c-target-hooks-def.h \
2438 c-family/c-target-hooks-def.h
2439 $(STAMP) s-c-target-hooks-def-h
2440
2441 common/common-target-hooks-def.h: s-common-target-hooks-def-h; @true
2442
2443 s-common-target-hooks-def-h: build/genhooks$(build_exeext)
2444 $(RUN_GEN) build/genhooks$(build_exeext) "Common Target Hook" \
2445 > tmp-common-target-hooks-def.h
2446 $(SHELL) $(srcdir)/../move-if-change tmp-common-target-hooks-def.h \
2447 common/common-target-hooks-def.h
2448 $(STAMP) s-common-target-hooks-def-h
3673 2449
3674 # check if someone mistakenly only changed tm.texi. 2450 # check if someone mistakenly only changed tm.texi.
3675 # We use a different pathname here to avoid a circular dependency. 2451 # We use a different pathname here to avoid a circular dependency.
3676 s-tm-texi: $(srcdir)/doc/../doc/tm.texi 2452 s-tm-texi: $(srcdir)/doc/../doc/tm.texi
3677 2453
3678 # The tm.texi we want to compare against / check into svn should have 2454 # The tm.texi we want to compare against / check into svn should have
3679 # unix-style line endings. To make this work on MinGW, remove \r. 2455 # unix-style line endings. To make this work on MinGW, remove \r.
3680 # \r is not portable to Solaris tr, therefore we have a special 2456 # \r is not portable to Solaris tr, therefore we have a special
3681 # case for ASCII. We use \r for other encodings like EBCDIC. 2457 # case for ASCII. We use \r for other encodings like EBCDIC.
3682 s-tm-texi: build/genhooks$(build_exeext) $(srcdir)/doc/tm.texi.in 2458 s-tm-texi: build/genhooks$(build_exeext) $(srcdir)/doc/tm.texi.in
3683 $(RUN_GEN) build/genhooks$(build_exeext) \ 2459 $(RUN_GEN) build/genhooks$(build_exeext) -d \
3684 $(srcdir)/doc/tm.texi.in > tmp-tm.texi 2460 $(srcdir)/doc/tm.texi.in > tmp-tm.texi
3685 case `echo X|tr X '\101'` in \ 2461 case `echo X|tr X '\101'` in \
3686 A) tr -d '\015' < tmp-tm.texi > tmp2-tm.texi ;; \ 2462 A) tr -d '\015' < tmp-tm.texi > tmp2-tm.texi ;; \
3687 *) tr -d '\r' < tmp-tm.texi > tmp2-tm.texi ;; \ 2463 *) tr -d '\r' < tmp-tm.texi > tmp2-tm.texi ;; \
3688 esac 2464 esac
3689 mv tmp2-tm.texi tmp-tm.texi 2465 mv tmp2-tm.texi tmp-tm.texi
3690 $(SHELL) $(srcdir)/../move-if-change tmp-tm.texi tm.texi 2466 $(SHELL) $(srcdir)/../move-if-change tmp-tm.texi tm.texi
3691 @if cmp -s $(srcdir)/doc/tm.texi tm.texi; then \ 2467 @if cmp -s $(srcdir)/doc/tm.texi tm.texi; then \
3692 $(STAMP) $@; \ 2468 $(STAMP) $@; \
3693 elif test $(srcdir)/doc/tm.texi -nt $(srcdir)/doc/tm.texi.in \ 2469 elif test $(srcdir)/doc/tm.texi -nt $(srcdir)/doc/tm.texi.in \
3694 && test $(srcdir)/doc/tm.texi -nt $(srcdir)/target.def; then \ 2470 && ( test $(srcdir)/doc/tm.texi -nt $(srcdir)/target.def \
2471 || test $(srcdir)/doc/tm.texi -nt $(srcdir)/c-family/c-target.def \
2472 || test $(srcdir)/doc/tm.texi -nt $(srcdir)/common/common-target.def \
2473 ); then \
3695 echo >&2 ; \ 2474 echo >&2 ; \
3696 echo You should edit $(srcdir)/doc/tm.texi.in rather than $(srcdir)/doc/tm.texi . >&2 ; \ 2475 echo You should edit $(srcdir)/doc/tm.texi.in rather than $(srcdir)/doc/tm.texi . >&2 ; \
3697 false; \ 2476 false; \
3698 else \ 2477 else \
3699 echo >&2 ; \ 2478 echo >&2 ; \
3700 echo Verify that you have permission to grant a GFDL license for all >&2 ; \ 2479 echo Verify that you have permission to grant a GFDL license for all >&2 ; \
3701 echo new text in tm.texi, then copy it to $(srcdir)/doc/tm.texi. >&2 ; \ 2480 echo new text in tm.texi, then copy it to $(srcdir)/doc/tm.texi. >&2 ; \
3702 false; \ 2481 false; \
3703 fi 2482 fi
3704 2483
2484 gimple-match.c: s-match gimple-match-head.c ; @true
2485 generic-match.c: s-match generic-match-head.c ; @true
2486
2487 s-match: build/genmatch$(build_exeext) $(srcdir)/match.pd cfn-operators.pd
2488 $(RUN_GEN) build/genmatch$(build_exeext) --gimple $(srcdir)/match.pd \
2489 > tmp-gimple-match.c
2490 $(RUN_GEN) build/genmatch$(build_exeext) --generic $(srcdir)/match.pd \
2491 > tmp-generic-match.c
2492 $(SHELL) $(srcdir)/../move-if-change tmp-gimple-match.c \
2493 gimple-match.c
2494 $(SHELL) $(srcdir)/../move-if-change tmp-generic-match.c \
2495 generic-match.c
2496 $(STAMP) s-match
2497
3705 GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \ 2498 GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \
3706 $(srcdir)/vecprim.h $(srcdir)/vecir.h \
3707 $(host_xm_file_list) \ 2499 $(host_xm_file_list) \
3708 $(tm_file_list) $(HASHTAB_H) $(SPLAY_TREE_H) $(srcdir)/bitmap.h \ 2500 $(tm_file_list) $(HASHTAB_H) $(SPLAY_TREE_H) $(srcdir)/bitmap.h \
3709 $(srcdir)/alias.h $(srcdir)/coverage.c $(srcdir)/rtl.h \ 2501 $(srcdir)/wide-int.h $(srcdir)/alias.h $(srcdir)/cilk.h \
3710 $(srcdir)/optabs.h $(srcdir)/tree.h $(srcdir)/libfuncs.h $(SYMTAB_H) \ 2502 $(srcdir)/cilk-common.c $(srcdir)/coverage.c $(srcdir)/rtl.h \
2503 $(srcdir)/optabs.h $(srcdir)/tree.h $(srcdir)/tree-core.h \
2504 $(srcdir)/libfuncs.h $(SYMTAB_H) \
3711 $(srcdir)/real.h $(srcdir)/function.h $(srcdir)/insn-addr.h $(srcdir)/hwint.h \ 2505 $(srcdir)/real.h $(srcdir)/function.h $(srcdir)/insn-addr.h $(srcdir)/hwint.h \
3712 $(srcdir)/fixed-value.h \ 2506 $(srcdir)/fixed-value.h \
3713 $(srcdir)/output.h $(srcdir)/cfgloop.h \ 2507 $(srcdir)/output.h $(srcdir)/cfgloop.h $(srcdir)/cfg.h $(srcdir)/profile-count.h \
3714 $(srcdir)/cselib.h $(srcdir)/basic-block.h $(srcdir)/ipa-ref.h $(srcdir)/cgraph.h \ 2508 $(srcdir)/cselib.h $(srcdir)/basic-block.h $(srcdir)/ipa-ref.h $(srcdir)/cgraph.h \
3715 $(srcdir)/reload.h $(srcdir)/caller-save.c \ 2509 $(srcdir)/reload.h $(srcdir)/caller-save.c $(srcdir)/symtab.c \
3716 $(srcdir)/alias.c $(srcdir)/bitmap.c $(srcdir)/cselib.c $(srcdir)/cgraph.c \ 2510 $(srcdir)/alias.c $(srcdir)/bitmap.c $(srcdir)/cselib.c $(srcdir)/cgraph.c \
3717 $(srcdir)/ipa-prop.c $(srcdir)/ipa-cp.c $(srcdir)/ipa-inline.c $(srcdir)/matrix-reorg.c \ 2511 $(srcdir)/ipa-prop.c $(srcdir)/ipa-cp.c $(srcdir)/ipa-utils.h \
3718 $(srcdir)/dbxout.c $(srcdir)/ipa-struct-reorg.c $(srcdir)/dwarf2out.c $(srcdir)/dwarf2asm.c \ 2512 $(srcdir)/dbxout.c \
2513 $(srcdir)/signop.h \
2514 $(srcdir)/dwarf2out.h \
2515 $(srcdir)/dwarf2asm.c \
2516 $(srcdir)/dwarf2cfi.c \
2517 $(srcdir)/dwarf2out.c \
3719 $(srcdir)/tree-vect-generic.c \ 2518 $(srcdir)/tree-vect-generic.c \
3720 $(srcdir)/dojump.c \ 2519 $(srcdir)/dojump.c $(srcdir)/emit-rtl.h \
3721 $(srcdir)/emit-rtl.c $(srcdir)/except.h $(srcdir)/explow.c $(srcdir)/expr.c \ 2520 $(srcdir)/emit-rtl.c $(srcdir)/except.h $(srcdir)/explow.c $(srcdir)/expr.c \
3722 $(srcdir)/expr.h \ 2521 $(srcdir)/expr.h \
3723 $(srcdir)/function.c $(srcdir)/except.c \ 2522 $(srcdir)/function.c $(srcdir)/except.c \
2523 $(srcdir)/ggc-tests.c \
3724 $(srcdir)/gcse.c $(srcdir)/godump.c \ 2524 $(srcdir)/gcse.c $(srcdir)/godump.c \
3725 $(srcdir)/integrate.c $(srcdir)/lists.c $(srcdir)/optabs.c \ 2525 $(srcdir)/lists.c $(srcdir)/optabs-libfuncs.c \
3726 $(srcdir)/profile.c $(srcdir)/mcf.c \ 2526 $(srcdir)/profile.c $(srcdir)/mcf.c \
3727 $(srcdir)/reg-stack.c $(srcdir)/cfglayout.c $(srcdir)/cfglayout.h \ 2527 $(srcdir)/reg-stack.c $(srcdir)/cfgrtl.c \
3728 $(srcdir)/sdbout.c $(srcdir)/stor-layout.c \ 2528 $(srcdir)/sdbout.c $(srcdir)/stor-layout.c \
3729 $(srcdir)/stringpool.c $(srcdir)/tree.c $(srcdir)/varasm.c \ 2529 $(srcdir)/stringpool.c $(srcdir)/tree.c $(srcdir)/varasm.c \
3730 $(srcdir)/gimple.h $(srcdir)/gimple.c \ 2530 $(srcdir)/gimple.h \
3731 $(srcdir)/tree-mudflap.c $(srcdir)/tree-flow.h \ 2531 $(srcdir)/gimple-ssa.h \
2532 $(srcdir)/tree-chkp.c \
3732 $(srcdir)/tree-ssanames.c $(srcdir)/tree-eh.c $(srcdir)/tree-ssa-address.c \ 2533 $(srcdir)/tree-ssanames.c $(srcdir)/tree-eh.c $(srcdir)/tree-ssa-address.c \
3733 $(srcdir)/tree-cfg.c \ 2534 $(srcdir)/tree-cfg.c $(srcdir)/tree-ssa-loop-ivopts.c \
3734 $(srcdir)/tree-dfa.c \ 2535 $(srcdir)/tree-dfa.c \
3735 $(srcdir)/tree-iterator.c $(srcdir)/gimplify.c \ 2536 $(srcdir)/tree-iterator.c $(srcdir)/gimple-expr.c \
3736 $(srcdir)/tree-chrec.h \ 2537 $(srcdir)/tree-chrec.h \
3737 $(srcdir)/tree-scalar-evolution.c \ 2538 $(srcdir)/tree-scalar-evolution.c \
3738 $(srcdir)/tree-ssa-operands.h \ 2539 $(srcdir)/tree-ssa-operands.h \
3739 $(srcdir)/tree-profile.c $(srcdir)/tree-nested.c \ 2540 $(srcdir)/tree-profile.c $(srcdir)/tree-nested.c \
3740 $(srcdir)/varpool.c \ 2541 $(srcdir)/omp-offload.h \
3741 $(srcdir)/tree-parloops.c \ 2542 $(srcdir)/omp-offload.c \
2543 $(srcdir)/omp-expand.c \
3742 $(srcdir)/omp-low.c \ 2544 $(srcdir)/omp-low.c \
3743 $(srcdir)/targhooks.c $(out_file) $(srcdir)/passes.c $(srcdir)/cgraphunit.c \ 2545 $(srcdir)/targhooks.c $(out_file) $(srcdir)/passes.c $(srcdir)/cgraphunit.c \
3744 $(srcdir)/tree-ssa-propagate.c \ 2546 $(srcdir)/cgraphclones.c \
3745 $(srcdir)/tree-phinodes.c \ 2547 $(srcdir)/tree-phinodes.c \
3746 $(srcdir)/tree-ssa-structalias.c \
3747 $(srcdir)/lto-symtab.c \
3748 $(srcdir)/tree-ssa-alias.h \ 2548 $(srcdir)/tree-ssa-alias.h \
2549 $(srcdir)/tree-ssanames.h \
2550 $(srcdir)/tree-vrp.h \
3749 $(srcdir)/ipa-prop.h \ 2551 $(srcdir)/ipa-prop.h \
2552 $(srcdir)/trans-mem.c \
3750 $(srcdir)/lto-streamer.h \ 2553 $(srcdir)/lto-streamer.h \
3751 $(srcdir)/target-globals.h \ 2554 $(srcdir)/target-globals.h \
2555 $(srcdir)/ipa-predicate.h \
2556 $(srcdir)/ipa-fnsummary.h \
2557 $(srcdir)/vtable-verify.c \
2558 $(srcdir)/asan.c \
2559 $(srcdir)/ubsan.c \
2560 $(srcdir)/tsan.c \
2561 $(srcdir)/sanopt.c \
2562 $(srcdir)/sancov.c \
2563 $(srcdir)/ipa-devirt.c \
2564 $(srcdir)/internal-fn.h \
2565 $(srcdir)/hsa-common.c \
2566 $(srcdir)/calls.c \
3752 @all_gtfiles@ 2567 @all_gtfiles@
3753 2568
3754 # Compute the list of GT header files from the corresponding C sources, 2569 # Compute the list of GT header files from the corresponding C sources,
3755 # possibly nested within config or language subdirectories. Match gengtype's 2570 # possibly nested within config or language subdirectories. Match gengtype's
3756 # behavior in this respect: gt-LANG-file.h for "file" anywhere within a LANG 2571 # behavior in this respect: gt-LANG-file.h for "file" anywhere within a LANG
3768 2583
3769 # $(GTFILES) may be too long to put on a command line, so we have to 2584 # $(GTFILES) may be too long to put on a command line, so we have to
3770 # write it out to a file (taking care not to do that in a way that 2585 # write it out to a file (taking care not to do that in a way that
3771 # overflows a command line!) and then have gengtype read the file in. 2586 # overflows a command line!) and then have gengtype read the file in.
3772 2587
3773 $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h : s-gtype ; @true 2588 $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gtype.state: s-gtype ; @true
3774 2589
3775 ### Common flags to gengtype [e.g. -v or -B backupdir] 2590 ### Common flags to gengtype [e.g. -v or -B backupdir]
3776 GENGTYPE_FLAGS= 2591 GENGTYPE_FLAGS=
3777 2592
3778 gtyp-input.list: s-gtyp-input ; @true 2593 gtyp-input.list: s-gtyp-input ; @true
3783 2598
3784 s-gtype: build/gengtype$(build_exeext) $(filter-out [%], $(GTFILES)) \ 2599 s-gtype: build/gengtype$(build_exeext) $(filter-out [%], $(GTFILES)) \
3785 gtyp-input.list 2600 gtyp-input.list
3786 # First, parse all files and save a state file. 2601 # First, parse all files and save a state file.
3787 $(RUN_GEN) build/gengtype$(build_exeext) $(GENGTYPE_FLAGS) \ 2602 $(RUN_GEN) build/gengtype$(build_exeext) $(GENGTYPE_FLAGS) \
3788 -S $(srcdir) -I gtyp-input.list -w gtype.state 2603 -S $(srcdir) -I gtyp-input.list -w tmp-gtype.state
3789 # Second, read the state file and generate all files. This ensure that 2604 # Second, read the state file and generate all files. This ensure that
3790 # gtype.state is correctly read: 2605 # gtype.state is correctly read:
2606 $(SHELL) $(srcdir)/../move-if-change tmp-gtype.state gtype.state
3791 $(RUN_GEN) build/gengtype$(build_exeext) $(GENGTYPE_FLAGS) \ 2607 $(RUN_GEN) build/gengtype$(build_exeext) $(GENGTYPE_FLAGS) \
3792 -r gtype.state 2608 -r gtype.state
3793 $(STAMP) s-gtype 2609 $(STAMP) s-gtype
3794 2610
3795 generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \ 2611 generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \
3796 $(simple_generated_h) specs.h \ 2612 $(simple_generated_h) specs.h \
3797 tree-check.h genrtl.h insn-modes.h tm-preds.h tm-constrs.h \ 2613 tree-check.h genrtl.h insn-modes.h insn-modes-inline.h \
3798 $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h 2614 tm-preds.h tm-constrs.h \
3799 2615 $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h \
3800 # In order for parallel make to really start compiling the expensive 2616 options.h target-hooks-def.h insn-opinit.h \
3801 # objects from $(OBJS-common) as early as possible, build all their 2617 common/common-target-hooks-def.h pass-instances.def \
3802 # prerequisites strictly before all objects. 2618 c-family/c-target-hooks-def.h params.list params.options case-cfn-macros.h \
3803 $(ALL_HOST_OBJS) : | $(generated_files) 2619 cfn-operators.pd
3804 2620
3805 # 2621 #
3806 # How to compile object files to run on the build machine. 2622 # How to compile object files to run on the build machine.
3807 2623
3808 build/%.o : # dependencies provided by explicit rule later 2624 build/%.o : # dependencies provided by explicit rule later
3820 -DBUGURL=$(BUGURL_s) -o $@ $< 2636 -DBUGURL=$(BUGURL_s) -o $@ $<
3821 2637
3822 # Header dependencies for the programs that generate source code. 2638 # Header dependencies for the programs that generate source code.
3823 # These are library modules... 2639 # These are library modules...
3824 build/errors.o : errors.c $(BCONFIG_H) $(SYSTEM_H) errors.h 2640 build/errors.o : errors.c $(BCONFIG_H) $(SYSTEM_H) errors.h
3825 build/gensupport.o: gensupport.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \ 2641 build/gensupport.o: gensupport.c $(BCONFIG_H) $(SYSTEM_H) \
3826 $(GTM_H) $(RTL_BASE_H) $(OBSTACK_H) errors.h $(HASHTAB_H) \ 2642 $(CORETYPES_H) $(GTM_H) $(RTL_BASE_H) $(OBSTACK_H) errors.h \
3827 $(READ_MD_H) gensupport.h 2643 $(HASHTAB_H) $(READ_MD_H) $(GENSUPPORT_H)
3828 build/ggc-none.o : ggc-none.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \ 2644 build/ggc-none.o : ggc-none.c $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) \
3829 $(GGC_H) 2645 $(GGC_H)
3830 build/min-insn-modes.o : min-insn-modes.c $(BCONFIG_H) $(SYSTEM_H) \ 2646 build/min-insn-modes.o : min-insn-modes.c $(BCONFIG_H) $(SYSTEM_H) \
3831 $(MACHMODE_H) 2647 $(CORETYPES_H)
3832 build/print-rtl.o: print-rtl.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \ 2648 build/print-rtl.o: print-rtl.c $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) \
3833 $(GTM_H) $(RTL_BASE_H) 2649 $(GTM_H) $(RTL_BASE_H)
3834 build/read-md.o: read-md.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \ 2650 build/read-md.o: read-md.c $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) \
3835 $(HASHTAB_H) errors.h $(READ_MD_H) 2651 $(HASHTAB_H) errors.h $(READ_MD_H)
3836 build/read-rtl.o: read-rtl.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \ 2652 build/read-rtl.o: read-rtl.c $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) \
3837 $(GTM_H) $(RTL_BASE_H) $(OBSTACK_H) $(HASHTAB_H) $(READ_MD_H) \ 2653 $(GTM_H) $(RTL_BASE_H) $(OBSTACK_H) $(HASHTAB_H) $(READ_MD_H) \
3838 gensupport.h 2654 $(GENSUPPORT_H)
3839 build/rtl.o: rtl.c $(BCONFIG_H) coretypes.h $(GTM_H) $(SYSTEM_H) \ 2655 build/rtl.o: rtl.c $(BCONFIG_H) $(CORETYPES_H) $(GTM_H) $(SYSTEM_H) \
3840 $(RTL_H) $(GGC_H) errors.h 2656 $(RTL_H) $(GGC_H) errors.h
3841 build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(VEC_H) \ 2657 build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) $(VEC_H) \
3842 $(GGC_H) toplev.h $(DIAGNOSTIC_CORE_H) 2658 $(GGC_H) toplev.h $(DIAGNOSTIC_CORE_H)
2659 build/hash-table.o : hash-table.c $(BCONFIG_H) $(SYSTEM_H) \
2660 $(CORETYPES_H) $(HASH_TABLE_H) $(GGC_H) toplev.h $(DIAGNOSTIC_CORE_H)
2661 build/inchash.o : inchash.c $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) \
2662 $(HASHTAB_H) inchash.h
3843 build/gencondmd.o : build/gencondmd.c $(BCONFIG_H) $(SYSTEM_H) \ 2663 build/gencondmd.o : build/gencondmd.c $(BCONFIG_H) $(SYSTEM_H) \
3844 coretypes.h $(GTM_H) insn-constants.h \ 2664 $(CORETYPES_H) $(GTM_H) insn-constants.h \
3845 $(filter-out insn-flags.h, $(RTL_H) $(TM_P_H) $(FUNCTION_H) $(REGS_H) \ 2665 $(filter-out insn-flags.h, $(RTL_H) $(TM_P_H) $(FUNCTION_H) $(REGS_H) \
3846 $(RECOG_H) output.h $(FLAGS_H) $(RESOURCE_H) toplev.h $(DIAGNOSTIC_CORE_H) reload.h \ 2666 $(RECOG_H) output.h $(FLAGS_H) $(RESOURCE_H) toplev.h $(DIAGNOSTIC_CORE_H) reload.h \
3847 $(EXCEPT_H) tm-constrs.h) 2667 $(EXCEPT_H) tm-constrs.h)
3848 # This pulls in tm-pred.h which contains inline functions wrapping up 2668 # This pulls in tm-pred.h which contains inline functions wrapping up
3849 # predicates from the back-end so those functions must be discarded. 2669 # predicates from the back-end so those functions must be discarded.
3851 build/gencondmd.o : \ 2671 build/gencondmd.o : \
3852 BUILD_CFLAGS := $(filter-out -fkeep-inline-functions, $(BUILD_CFLAGS)) 2672 BUILD_CFLAGS := $(filter-out -fkeep-inline-functions, $(BUILD_CFLAGS))
3853 2673
3854 # ...these are the programs themselves. 2674 # ...these are the programs themselves.
3855 build/genattr.o : genattr.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ 2675 build/genattr.o : genattr.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3856 coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h 2676 $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H)
2677 build/genattr-common.o : genattr-common.c $(RTL_BASE_H) $(BCONFIG_H) \
2678 $(SYSTEM_H) $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H)
3857 build/genattrtab.o : genattrtab.c $(RTL_BASE_H) $(OBSTACK_H) \ 2679 build/genattrtab.o : genattrtab.c $(RTL_BASE_H) $(OBSTACK_H) \
3858 $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) errors.h $(GGC_H) \ 2680 $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) $(GTM_H) errors.h $(GGC_H) \
3859 $(READ_MD_H) gensupport.h vecprim.h 2681 $(READ_MD_H) $(GENSUPPORT_H) $(FNMATCH_H)
3860 build/genautomata.o : genautomata.c $(RTL_BASE_H) $(OBSTACK_H) \ 2682 build/genautomata.o : genautomata.c $(RTL_BASE_H) $(OBSTACK_H) \
3861 $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) errors.h $(VEC_H) \ 2683 $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) $(GTM_H) errors.h $(VEC_H) \
3862 $(HASHTAB_H) gensupport.h 2684 $(HASHTAB_H) $(GENSUPPORT_H) $(FNMATCH_H)
3863 build/gencheck.o : gencheck.c all-tree.def $(BCONFIG_H) $(GTM_H) \ 2685 build/gencheck.o : gencheck.c all-tree.def $(BCONFIG_H) $(GTM_H) \
3864 $(SYSTEM_H) coretypes.h $(lang_tree_files) gimple.def 2686 $(SYSTEM_H) $(CORETYPES_H) tree.def c-family/c-common.def \
2687 $(lang_tree_files) gimple.def
3865 build/genchecksum.o : genchecksum.c $(BCONFIG_H) $(SYSTEM_H) $(MD5_H) 2688 build/genchecksum.o : genchecksum.c $(BCONFIG_H) $(SYSTEM_H) $(MD5_H)
3866 build/gencodes.o : gencodes.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ 2689 build/gencodes.o : gencodes.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3867 coretypes.h $(GTM_H) errors.h gensupport.h 2690 $(CORETYPES_H) $(GTM_H) errors.h $(GENSUPPORT_H)
3868 build/genconditions.o : genconditions.c $(RTL_BASE_H) $(BCONFIG_H) \ 2691 build/genconditions.o : genconditions.c $(RTL_BASE_H) $(BCONFIG_H) \
3869 $(SYSTEM_H) coretypes.h $(GTM_H) errors.h $(HASHTAB_H) $(READ_MD_H) \ 2692 $(SYSTEM_H) $(CORETYPES_H) $(GTM_H) errors.h $(HASHTAB_H) \
3870 gensupport.h 2693 $(READ_MD_H) $(GENSUPPORT_H)
3871 build/genconfig.o : genconfig.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ 2694 build/genconfig.o : genconfig.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3872 coretypes.h $(GTM_H) errors.h gensupport.h 2695 $(CORETYPES_H) $(GTM_H) errors.h $(GENSUPPORT_H)
3873 build/genconstants.o : genconstants.c $(BCONFIG_H) $(SYSTEM_H) \ 2696 build/genconstants.o : genconstants.c $(BCONFIG_H) $(SYSTEM_H) \
3874 coretypes.h errors.h $(READ_MD_H) 2697 $(CORETYPES_H) errors.h $(READ_MD_H)
3875 build/genemit.o : genemit.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ 2698 build/genemit.o : genemit.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3876 coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h 2699 $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H) internal-fn.def
3877 build/genenums.o : genenums.c $(BCONFIG_H) $(SYSTEM_H) \ 2700 build/genenums.o : genenums.c $(BCONFIG_H) $(SYSTEM_H) \
3878 coretypes.h errors.h $(READ_MD_H) 2701 $(CORETYPES_H) errors.h $(READ_MD_H)
3879 build/genextract.o : genextract.c $(RTL_BASE_H) $(BCONFIG_H) \ 2702 build/genextract.o : genextract.c $(RTL_BASE_H) $(BCONFIG_H) \
3880 $(SYSTEM_H) coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h \ 2703 $(SYSTEM_H) $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H)
3881 vecprim.h
3882 build/genflags.o : genflags.c $(RTL_BASE_H) $(OBSTACK_H) $(BCONFIG_H) \ 2704 build/genflags.o : genflags.c $(RTL_BASE_H) $(OBSTACK_H) $(BCONFIG_H) \
3883 $(SYSTEM_H) coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h 2705 $(SYSTEM_H) $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H)
2706 build/gentarget-def.o : gentarget-def.c $(BCONFIG_H) $(SYSTEM_H) \
2707 $(CORETYPES_H) $(GTM_H) $(RTL_BASE_H) errors.h $(READ_MD_H) \
2708 $(GENSUPPORT_H) $(HASH_TABLE_H) target-insns.def
3884 build/gengenrtl.o : gengenrtl.c $(BCONFIG_H) $(SYSTEM_H) rtl.def 2709 build/gengenrtl.o : gengenrtl.c $(BCONFIG_H) $(SYSTEM_H) rtl.def
3885 build/gengtype-lex.o : gengtype-lex.c gengtype.h $(BCONFIG_H) $(SYSTEM_H) 2710
3886 build/gengtype-parse.o : gengtype-parse.c gengtype.h $(BCONFIG_H) \ 2711 # The gengtype generator program is special: Two versions are built.
2712 # One is for the build machine, and one is for the host to allow
2713 # plugins to define their types and generate the supporting GGC
2714 # datastructures and routines with GTY markers.
2715 # The host object files depend on CONFIG_H, and the build objects
2716 # on BCONFIG_H. For the build objects, add -DGENERATOR_FILE manually,
2717 # the build-%: rule doesn't apply to them.
2718
2719 GENGTYPE_OBJS = gengtype.o gengtype-parse.o gengtype-state.o \
2720 gengtype-lex.o errors.o
2721
2722 gengtype-lex.o build/gengtype-lex.o : gengtype-lex.c gengtype.h $(SYSTEM_H)
2723 CFLAGS-gengtype-lex.o += -DHOST_GENERATOR_FILE
2724 build/gengtype-lex.o: $(BCONFIG_H)
2725
2726 gengtype-parse.o build/gengtype-parse.o : gengtype-parse.c gengtype.h \
3887 $(SYSTEM_H) 2727 $(SYSTEM_H)
3888 build/gengtype-state.o: gengtype-state.c gengtype.h $(BCONFIG_H) \ 2728 CFLAGS-gengtype-parse.o += -DHOST_GENERATOR_FILE
3889 $(SYSTEM_H) errors.h 2729 build/gengtype-parse.o: $(BCONFIG_H)
3890 build/gengtype.o : gengtype.c $(BCONFIG_H) $(SYSTEM_H) gengtype.h \ 2730
3891 rtl.def insn-notes.def errors.h double-int.h $(HASHTAB_H) \ 2731 gengtype-state.o build/gengtype-state.o: gengtype-state.c $(SYSTEM_H) \
3892 $(OBSTACK_H) $(XREGEX_H) 2732 gengtype.h errors.h version.h $(HASHTAB_H) $(OBSTACK_H) \
3893 build/genmddeps.o: genmddeps.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \ 2733 $(XREGEX_H)
2734 CFLAGS-gengtype-state.o += -DHOST_GENERATOR_FILE
2735 build/gengtype-state.o: $(BCONFIG_H)
2736 gengtype.o build/gengtype.o : gengtype.c $(SYSTEM_H) gengtype.h \
2737 rtl.def insn-notes.def errors.h version.h \
2738 $(HASHTAB_H) $(OBSTACK_H) $(XREGEX_H)
2739 CFLAGS-gengtype.o += -DHOST_GENERATOR_FILE
2740 build/gengtype.o: $(BCONFIG_H)
2741
2742 CFLAGS-errors.o += -DHOST_GENERATOR_FILE
2743
2744 build/genmddeps.o: genmddeps.c $(BCONFIG_H) $(SYSTEM_H) $(CORETYPES_H) \
3894 errors.h $(READ_MD_H) 2745 errors.h $(READ_MD_H)
3895 build/genmodes.o : genmodes.c $(BCONFIG_H) $(SYSTEM_H) errors.h \ 2746 build/genmodes.o : genmodes.c $(BCONFIG_H) $(SYSTEM_H) errors.h \
3896 $(HASHTAB_H) machmode.def $(extra_modes_file) 2747 $(HASHTAB_H) machmode.def $(extra_modes_file)
3897 build/genopinit.o : genopinit.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ 2748 build/genopinit.o : genopinit.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3898 coretypes.h $(GTM_H) errors.h gensupport.h 2749 $(CORETYPES_H) $(GTM_H) errors.h $(GENSUPPORT_H) optabs.def
3899 build/genoutput.o : genoutput.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ 2750 build/genoutput.o : genoutput.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3900 coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h 2751 $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H)
3901 build/genpeep.o : genpeep.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ 2752 build/genpeep.o : genpeep.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3902 coretypes.h $(GTM_H) errors.h gensupport.h toplev.h $(DIAGNOSTIC_CORE_H) 2753 $(CORETYPES_H) $(GTM_H) errors.h $(GENSUPPORT_H) toplev.h \
2754 $(DIAGNOSTIC_CORE_H)
3903 build/genpreds.o : genpreds.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ 2755 build/genpreds.o : genpreds.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3904 coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h $(OBSTACK_H) 2756 $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H) $(OBSTACK_H)
3905 build/genrecog.o : genrecog.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \ 2757 build/genrecog.o : genrecog.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
3906 coretypes.h $(GTM_H) errors.h $(READ_MD_H) gensupport.h 2758 $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H) \
3907 build/genhooks.o : genhooks.c target.def $(BCONFIG_H) $(SYSTEM_H) errors.h 2759 $(HASH_TABLE_H) inchash.h
2760 build/genhooks.o : genhooks.c $(TARGET_DEF) $(C_TARGET_DEF) \
2761 $(COMMON_TARGET_DEF) $(BCONFIG_H) $(SYSTEM_H) errors.h
2762 build/genmddump.o : genmddump.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
2763 $(CORETYPES_H) $(GTM_H) errors.h $(READ_MD_H) $(GENSUPPORT_H)
2764 build/genmatch.o : genmatch.c $(BCONFIG_H) $(SYSTEM_H) \
2765 $(CORETYPES_H) errors.h $(HASH_TABLE_H) hash-map.h $(GGC_H) is-a.h \
2766 tree.def builtins.def internal-fn.def
2767 build/gencfn-macros.o : gencfn-macros.c $(BCONFIG_H) $(SYSTEM_H) \
2768 $(CORETYPES_H) errors.h $(HASH_TABLE_H) hash-set.h builtins.def \
2769 internal-fn.def
3908 2770
3909 # Compile the programs that generate insn-* from the machine description. 2771 # Compile the programs that generate insn-* from the machine description.
3910 # They are compiled with $(COMPILER_FOR_BUILD), and associated libraries, 2772 # They are compiled with $(COMPILER_FOR_BUILD), and associated libraries,
3911 # since they need to run on this machine 2773 # since they need to run on this machine
3912 # even if GCC is being compiled to run on some other machine. 2774 # even if GCC is being compiled to run on some other machine.
3913 2775
3914 # All these programs use the RTL reader ($(BUILD_RTL)). 2776 # All these programs use the RTL reader ($(BUILD_RTL)).
3915 genprogrtl = attr attrtab automata codes conditions config emit \ 2777 genprogrtl = attr attr-common attrtab automata codes conditions config emit \
3916 extract flags opinit output peep preds recog 2778 extract flags mddump opinit output peep preds recog target-def
3917 $(genprogrtl:%=build/gen%$(build_exeext)): $(BUILD_RTL) 2779 $(genprogrtl:%=build/gen%$(build_exeext)): $(BUILD_RTL)
3918 2780
3919 # All these programs use the MD reader ($(BUILD_MD)). 2781 # All these programs use the MD reader ($(BUILD_MD)).
3920 genprogmd = $(genprogrtl) mddeps constants enums 2782 genprogmd = $(genprogrtl) mddeps constants enums
3921 $(genprogmd:%=build/gen%$(build_exeext)): $(BUILD_MD) 2783 $(genprogmd:%=build/gen%$(build_exeext)): $(BUILD_MD)
3922 2784
3923 # All these programs need to report errors. 2785 # All these programs need to report errors.
3924 genprogerr = $(genprogmd) genrtl modes gtype hooks 2786 genprogerr = $(genprogmd) genrtl modes gtype hooks cfn-macros
3925 $(genprogerr:%=build/gen%$(build_exeext)): $(BUILD_ERRORS) 2787 $(genprogerr:%=build/gen%$(build_exeext)): $(BUILD_ERRORS)
3926 2788
3927 # Remaining build programs. 2789 # Remaining build programs.
3928 genprog = $(genprogerr) check checksum condmd 2790 genprog = $(genprogerr) check checksum condmd match
3929 2791
3930 # These programs need libs over and above what they get from the above list. 2792 # These programs need libs over and above what they get from the above list.
3931 build/genautomata$(build_exeext) : BUILD_LIBS += -lm 2793 build/genautomata$(build_exeext) : BUILD_LIBS += -lm
3932 2794
2795 build/genrecog$(build_exeext) : build/hash-table.o build/inchash.o
2796 build/gencfn-macros$(build_exeext) : build/hash-table.o build/ggc-none.o
2797
2798 # For stage1 and when cross-compiling use the build libcpp which is
2799 # built with NLS disabled. For stage2+ use the host library and
2800 # its dependencies.
2801 ifeq ($(build_objdir),$(build_libobjdir))
2802 BUILD_CPPLIB = $(build_libobjdir)/libcpp/libcpp.a
2803 else
2804 BUILD_CPPLIB = $(CPPLIB) $(LIBIBERTY)
2805 build/genmatch$(build_exeext): BUILD_LIBDEPS += $(LIBINTL_DEP) $(LIBICONV_DEP)
2806 build/genmatch$(build_exeext): BUILD_LIBS += $(LIBINTL) $(LIBICONV)
2807 endif
2808
2809 build/genmatch$(build_exeext) : $(BUILD_CPPLIB) \
2810 $(BUILD_ERRORS) build/vec.o build/hash-table.o
2811
3933 # These programs are not linked with the MD reader. 2812 # These programs are not linked with the MD reader.
3934 build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \ 2813 build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \
3935 build/gengtype-state.o build/version.o 2814 build/gengtype-state.o build/version.o build/errors.o
2815
2816 gengtype$(exeext) : gengtype.o gengtype-lex.o gengtype-parse.o \
2817 gengtype-state.o version.o errors.o $(LIBDEPS)
2818 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
2819 $(filter-out ($LIBDEPS), $^) $(LIBS)
3936 2820
3937 # Rule for the generator programs: 2821 # Rule for the generator programs:
3938 $(genprog:%=build/gen%$(build_exeext)): build/gen%$(build_exeext): build/gen%.o $(BUILD_LIBDEPS) 2822 $(genprog:%=build/gen%$(build_exeext)): build/gen%$(build_exeext): build/gen%.o $(BUILD_LIBDEPS)
3939 +$(LINKER_FOR_BUILD) $(BUILD_LINKERFLAGS) $(BUILD_LDFLAGS) -o $@ \ 2823 +$(LINKER_FOR_BUILD) $(BUILD_LINKERFLAGS) $(BUILD_LDFLAGS) -o $@ \
3940 $(filter-out $(BUILD_LIBDEPS), $^) $(BUILD_LIBS) 2824 $(filter-out $(BUILD_LIBDEPS), $^) $(BUILD_LIBS)
3949 mv $@.tmp $@; \ 2833 mv $@.tmp $@; \
3950 } 2834 }
3951 2835
3952 # 2836 #
3953 # Remake internationalization support. 2837 # Remake internationalization support.
3954 intl.o: intl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h Makefile 2838 CFLAGS-intl.o += -DLOCALEDIR=\"$(localedir)\"
3955 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
3956 -DLOCALEDIR=\"$(localedir)\" \
3957 -c $(srcdir)/intl.c $(OUTPUT_OPTION)
3958 2839
3959 # 2840 #
3960 # Remake cpp. 2841 # Remake cpp.
3961 2842
3962 PREPROCESSOR_DEFINES = \ 2843 PREPROCESSOR_DEFINES = \
3963 -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \ 2844 -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
3964 -DFIXED_INCLUDE_DIR=\"$(libsubdir)/include-fixed\" \ 2845 -DFIXED_INCLUDE_DIR=\"$(libsubdir)/include-fixed\" \
3965 -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \ 2846 -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
2847 -DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=$(gcc_gxx_include_dir_add_sysroot) \
3966 -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \ 2848 -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \
3967 -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \ 2849 -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
3968 -DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \ 2850 -DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \
3969 -DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \ 2851 -DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \
3970 -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \ 2852 -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \
2853 -DNATIVE_SYSTEM_HEADER_DIR=\"$(NATIVE_SYSTEM_HEADER_DIR)\" \
3971 -DPREFIX=\"$(prefix)/\" \ 2854 -DPREFIX=\"$(prefix)/\" \
3972 -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \ 2855 -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
3973 @TARGET_SYSTEM_ROOT_DEFINE@ 2856 @TARGET_SYSTEM_ROOT_DEFINE@
3974 2857
3975 cppbuiltin.o: cppbuiltin.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ 2858 CFLAGS-cppbuiltin.o += $(PREPROCESSOR_DEFINES) -DBASEVER=$(BASEVER_s)
3976 cppbuiltin.h Makefile 2859 cppbuiltin.o: $(BASEVER)
3977 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \ 2860
3978 $(PREPROCESSOR_DEFINES) -DBASEVER=$(BASEVER_s) \ 2861 CFLAGS-cppdefault.o += $(PREPROCESSOR_DEFINES)
3979 -c $(srcdir)/cppbuiltin.c $(OUTPUT_OPTION)
3980
3981 cppdefault.o: cppdefault.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
3982 cppdefault.h Makefile
3983 $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
3984 $(PREPROCESSOR_DEFINES) \
3985 -c $(srcdir)/cppdefault.c $(OUTPUT_OPTION)
3986 2862
3987 # Note for the stamp targets, we run the program `true' instead of 2863 # Note for the stamp targets, we run the program `true' instead of
3988 # having an empty command (nothing following the semicolon). 2864 # having an empty command (nothing following the semicolon).
3989 2865
3990 # gcov-iov.c is run on the build machine to generate gcov-iov.h from version.c 2866 # gcov-iov.c is run on the build machine to generate gcov-iov.h from version.c
3991 build/gcov-iov.o: gcov-iov.c $(BCONFIG_H) coretypes.h $(GTM_H) \ 2867 build/gcov-iov.o: gcov-iov.c $(BCONFIG_H) $(CORETYPES_H) $(GTM_H) \
3992 $(SYSTEM_H) coretypes.h $(TM_H) 2868 $(SYSTEM_H) $(CORETYPES_H) $(TM_H)
3993 2869
3994 build/gcov-iov$(build_exeext): build/gcov-iov.o 2870 build/gcov-iov$(build_exeext): build/gcov-iov.o
3995 +$(LINKER_FOR_BUILD) $(BUILD_LINKERFLAGS) $(BUILD_LDFLAGS) \ 2871 +$(LINKER_FOR_BUILD) $(BUILD_LINKERFLAGS) $(BUILD_LDFLAGS) \
3996 build/gcov-iov.o -o $@ 2872 build/gcov-iov.o -o $@
3997 2873
3998 gcov-iov.h: s-iov 2874 gcov-iov.h: s-iov; @true
3999 s-iov: build/gcov-iov$(build_exeext) $(BASEVER) $(DEVPHASE) 2875 s-iov: build/gcov-iov$(build_exeext) $(BASEVER) $(DEVPHASE)
4000 build/gcov-iov$(build_exeext) '$(BASEVER_c)' '$(DEVPHASE_c)' \ 2876 build/gcov-iov$(build_exeext) '$(BASEVER_c)' '$(DEVPHASE_c)' \
4001 > tmp-gcov-iov.h 2877 > tmp-gcov-iov.h
4002 $(SHELL) $(srcdir)/../move-if-change tmp-gcov-iov.h gcov-iov.h 2878 $(SHELL) $(srcdir)/../move-if-change tmp-gcov-iov.h gcov-iov.h
4003 $(STAMP) s-iov 2879 $(STAMP) s-iov
4004 2880
4005 gcov.o: gcov.c gcov-io.c $(GCOV_IO_H) intl.h $(SYSTEM_H) coretypes.h $(TM_H) \ 2881 GCOV_OBJS = gcov.o
4006 $(CONFIG_H) version.h
4007 gcov-dump.o: gcov-dump.c gcov-io.c $(GCOV_IO_H) $(SYSTEM_H) coretypes.h \
4008 $(TM_H) $(CONFIG_H) version.h
4009
4010 GCOV_OBJS = gcov.o intl.o version.o errors.o
4011 gcov$(exeext): $(GCOV_OBJS) $(LIBDEPS) 2882 gcov$(exeext): $(GCOV_OBJS) $(LIBDEPS)
4012 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_OBJS) $(LIBS) -o $@ 2883 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_OBJS) \
4013 GCOV_DUMP_OBJS = gcov-dump.o version.o errors.o 2884 hash-table.o ggc-none.o $(LIBS) -o $@
2885 GCOV_DUMP_OBJS = gcov-dump.o
4014 gcov-dump$(exeext): $(GCOV_DUMP_OBJS) $(LIBDEPS) 2886 gcov-dump$(exeext): $(GCOV_DUMP_OBJS) $(LIBDEPS)
4015 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_DUMP_OBJS) \ 2887 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_DUMP_OBJS) \
2888 hash-table.o ggc-none.o\
4016 $(LIBS) -o $@ 2889 $(LIBS) -o $@
2890
2891 GCOV_TOOL_DEP_FILES = $(srcdir)/../libgcc/libgcov-util.c gcov-io.c $(GCOV_IO_H) \
2892 $(srcdir)/../libgcc/libgcov-driver.c $(srcdir)/../libgcc/libgcov-driver-system.c \
2893 $(srcdir)/../libgcc/libgcov-merge.c $(srcdir)/../libgcc/libgcov.h \
2894 $(SYSTEM_H) coretypes.h $(TM_H) $(CONFIG_H) version.h intl.h $(DIAGNOSTIC_H)
2895 libgcov-util.o: $(srcdir)/../libgcc/libgcov-util.c $(GCOV_TOOL_DEP_FILES)
2896 +$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -o $@ $<
2897 libgcov-driver-tool.o: $(srcdir)/../libgcc/libgcov-driver.c $(GCOV_TOOL_DEP_FILES)
2898 +$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
2899 -DIN_GCOV_TOOL=1 -o $@ $<
2900 libgcov-merge-tool.o: $(srcdir)/../libgcc/libgcov-merge.c $(GCOV_TOOL_DEP_FILES)
2901 +$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
2902 -DIN_GCOV_TOOL=1 -o $@ $<
2903 GCOV_TOOL_OBJS = gcov-tool.o libgcov-util.o libgcov-driver-tool.o libgcov-merge-tool.o
2904 gcov-tool$(exeext): $(GCOV_TOOL_OBJS) $(LIBDEPS)
2905 +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_TOOL_OBJS) $(LIBS) -o $@
4017 # 2906 #
4018 # Build the include directories. The stamp files are stmp-* rather than 2907 # Build the include directories. The stamp files are stmp-* rather than
4019 # s-* so that mostlyclean does not force the include directory to 2908 # s-* so that mostlyclean does not force the include directory to
4020 # be rebuilt. 2909 # be rebuilt.
4021 2910
4022 # Build the include directories. 2911 # Build the include directories.
4023 stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list 2912 stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) fixinc_list
4024 # Copy in the headers provided with gcc. 2913 # Copy in the headers provided with gcc.
2914 #
4025 # The sed command gets just the last file name component; 2915 # The sed command gets just the last file name component;
4026 # this is necessary because VPATH could add a dirname. 2916 # this is necessary because VPATH could add a dirname.
4027 # Using basename would be simpler, but some systems don't have it. 2917 # Using basename would be simpler, but some systems don't have it.
2918 #
4028 # The touch command is here to workaround an AIX/Linux NFS bug. 2919 # The touch command is here to workaround an AIX/Linux NFS bug.
2920 #
2921 # The move-if-change + cp -p twists for limits.h are intended to preserve
2922 # the time stamp when we regenerate, to prevent pointless rebuilds during
2923 # e.g. install-no-fixedincludes.
4029 -if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi 2924 -if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
4030 -if [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx include-fixed; fi 2925 -if [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx include-fixed; fi
4031 for file in .. $(USER_H); do \ 2926 for file in .. $(USER_H); do \
4032 if [ X$$file != X.. ]; then \ 2927 if [ X$$file != X.. ]; then \
4033 realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \ 2928 realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
4050 if [ X$$file != X.. ]; then \ 2945 if [ X$$file != X.. ]; then \
4051 echo "#include_next <$$file>" >>include/$$file; \ 2946 echo "#include_next <$$file>" >>include/$$file; \
4052 chmod a+r include/$$file; \ 2947 chmod a+r include/$$file; \
4053 fi; \ 2948 fi; \
4054 done 2949 done
4055 rm -f include/unwind.h
4056 cp $(UNWIND_H) include/unwind.h
4057 chmod a+r include/unwind.h
4058 rm -f include/stdint.h 2950 rm -f include/stdint.h
4059 if [ $(USE_GCC_STDINT) = wrap ]; then \ 2951 if [ $(USE_GCC_STDINT) = wrap ]; then \
4060 rm -f include/stdint-gcc.h; \ 2952 rm -f include/stdint-gcc.h; \
4061 cp $(srcdir)/ginclude/stdint-gcc.h include/stdint-gcc.h; \ 2953 cp $(srcdir)/ginclude/stdint-gcc.h include/stdint-gcc.h; \
4062 chmod a+r include/stdint-gcc.h; \ 2954 chmod a+r include/stdint-gcc.h; \
4075 else \ 2967 else \
4076 cat $(srcdir)/glimits.h > tmp-xlimits.h; \ 2968 cat $(srcdir)/glimits.h > tmp-xlimits.h; \
4077 fi; \ 2969 fi; \
4078 $(mkinstalldirs) $${fix_dir}; \ 2970 $(mkinstalldirs) $${fix_dir}; \
4079 chmod a+rx $${fix_dir} || true; \ 2971 chmod a+rx $${fix_dir} || true; \
2972 $(SHELL) $(srcdir)/../move-if-change \
2973 tmp-xlimits.h tmp-limits.h; \
4080 rm -f $${fix_dir}/limits.h; \ 2974 rm -f $${fix_dir}/limits.h; \
4081 mv tmp-xlimits.h $${fix_dir}/limits.h; \ 2975 cp -p tmp-limits.h $${fix_dir}/limits.h; \
4082 chmod a+r $${fix_dir}/limits.h; \ 2976 chmod a+r $${fix_dir}/limits.h; \
4083 done 2977 done
4084 # Install the README 2978 # Install the README
4085 rm -f include-fixed/README 2979 rm -f include-fixed/README
4086 cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README 2980 cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
4090 .PHONY: install-gcc-tooldir 2984 .PHONY: install-gcc-tooldir
4091 install-gcc-tooldir: 2985 install-gcc-tooldir:
4092 $(mkinstalldirs) $(DESTDIR)$(gcc_tooldir) 2986 $(mkinstalldirs) $(DESTDIR)$(gcc_tooldir)
4093 2987
4094 macro_list: s-macro_list; @true 2988 macro_list: s-macro_list; @true
4095 s-macro_list : $(GCC_PASSES) 2989 s-macro_list : $(GCC_PASSES) cc1$(exeext)
4096 echo | $(GCC_FOR_TARGET) -E -dM - | \ 2990 echo | $(GCC_FOR_TARGET) -E -dM - | \
4097 sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \ 2991 sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
4098 -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \ 2992 -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
4099 sort -u > tmp-macro_list 2993 sort -u > tmp-macro_list
4100 $(SHELL) $(srcdir)/../move-if-change tmp-macro_list macro_list 2994 $(SHELL) $(srcdir)/../move-if-change tmp-macro_list macro_list
4151 else \ 3045 else \
4152 set -e; for ml in `cat fixinc_list`; do \ 3046 set -e; for ml in `cat fixinc_list`; do \
4153 sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \ 3047 sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
4154 multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \ 3048 multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
4155 fix_dir=include-fixed$${multi_dir}; \ 3049 fix_dir=include-fixed$${multi_dir}; \
4156 if ! $(inhibit_libc) && test ! -d ${SYSTEM_HEADER_DIR}; then \ 3050 if ! $(inhibit_libc) && test ! -d ${BUILD_SYSTEM_HEADER_DIR}; then \
4157 echo The directory that should contain system headers does not exist: >&2 ; \ 3051 echo The directory that should contain system headers does not exist: >&2 ; \
4158 echo " ${SYSTEM_HEADER_DIR}" >&2 ; \ 3052 echo " ${BUILD_SYSTEM_HEADER_DIR}" >&2 ; \
4159 tooldir_sysinc=`echo "${gcc_tooldir}/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \ 3053 tooldir_sysinc=`echo "${gcc_tooldir}/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \
4160 if test "x${SYSTEM_HEADER_DIR}" = "x$${tooldir_sysinc}"; \ 3054 if test "x${BUILD_SYSTEM_HEADER_DIR}" = "x$${tooldir_sysinc}"; \
4161 then sleep 1; else exit 1; fi; \ 3055 then sleep 1; else exit 1; fi; \
4162 fi; \ 3056 fi; \
4163 $(mkinstalldirs) $${fix_dir}; \ 3057 $(mkinstalldirs) $${fix_dir}; \
4164 chmod a+rx $${fix_dir} || true; \ 3058 chmod a+rx $${fix_dir} || true; \
4165 (TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \ 3059 (TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \
4166 SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \ 3060 SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
4167 gcc_dir=`${PWD_COMMAND}` ; \ 3061 gcc_dir=`${PWD_COMMAND}` ; \
4168 export TARGET_MACHINE srcdir SHELL MACRO_LIST && \ 3062 export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
4169 cd $(build_objdir)/fixincludes && \ 3063 cd $(build_objdir)/fixincludes && \
4170 $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \ 3064 $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
4171 $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \ 3065 $(BUILD_SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
4172 rm -f $${fix_dir}/syslimits.h; \ 3066 rm -f $${fix_dir}/syslimits.h; \
4173 if [ -f $${fix_dir}/limits.h ]; then \ 3067 if [ -f $${fix_dir}/limits.h ]; then \
4174 mv $${fix_dir}/limits.h $${fix_dir}/syslimits.h; \ 3068 mv $${fix_dir}/limits.h $${fix_dir}/syslimits.h; \
4175 else \ 3069 else \
4176 cp $(srcdir)/gsyslimits.h $${fix_dir}/syslimits.h; \ 3070 cp $(srcdir)/gsyslimits.h $${fix_dir}/syslimits.h; \
4178 chmod a+r $${fix_dir}/syslimits.h; \ 3072 chmod a+r $${fix_dir}/syslimits.h; \
4179 done; \ 3073 done; \
4180 fi 3074 fi
4181 $(STAMP) stmp-fixinc 3075 $(STAMP) stmp-fixinc
4182 # 3076 #
3077
3078 # Install with the gcc headers files, not the fixed include files, which we
3079 # are typically not allowed to distribute. The general idea is to:
3080 # - Get to "install" with a bare set of internal headers, not the
3081 # fixed system ones,
3082 # - Prevent rebuilds of what normally depends on the headers, which is
3083 # useless for installation purposes and would rely on improper headers.
3084 # - Restore as much of the original state as possible.
3085
3086 .PHONY: install-no-fixedincludes
3087
3088 install-no-fixedincludes:
3089 # Stash the current set of headers away, save stamps we're going to
3090 # alter explicitly, and arrange for fixincludes not to run next time
3091 # we trigger a headers rebuild.
3092 -rm -rf tmp-include
3093 -mv include tmp-include 2>/dev/null
3094 -mv include-fixed tmp-include-fixed 2>/dev/null
3095 -mv stmp-int-hdrs tmp-stmp-int-hdrs 2>/dev/null
3096 -mv stmp-fixinc tmp-stmp-fixinc 2>/dev/null
3097 -mkdir include
3098 -cp -p $(srcdir)/gsyslimits.h include/syslimits.h
3099 -touch stmp-fixinc
3100
3101 # Rebuild our internal headers, restore the original stamps so that
3102 # "install" doesn't trigger pointless rebuilds because of that update,
3103 # then do install
3104 $(MAKE) $(FLAGS_TO_PASS) stmp-int-hdrs
3105 -mv tmp-stmp-int-hdrs stmp-int-hdrs 2>/dev/null
3106 -mv tmp-stmp-fixinc stmp-fixinc 2>/dev/null
3107 $(MAKE) $(FLAGS_TO_PASS) install
3108
3109 # Restore the original set of maybe-fixed headers
3110 -rm -rf include; mv tmp-include include 2>/dev/null
3111 -rm -rf include-fixed; mv tmp-include-fixed include-fixed 2>/dev/null
3112
4183 # Remake the info files. 3113 # Remake the info files.
4184 3114
4185 doc: $(BUILD_INFO) $(GENERATED_MANPAGES) 3115 doc: $(BUILD_INFO) $(GENERATED_MANPAGES)
4186 3116
4187 INFOFILES = doc/cpp.info doc/gcc.info doc/gccint.info \ 3117 INFOFILES = doc/cpp.info doc/gcc.info doc/gccint.info \
4197 3127
4198 TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \ 3128 TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \
4199 standards.texi invoke.texi extend.texi md.texi objc.texi \ 3129 standards.texi invoke.texi extend.texi md.texi objc.texi \
4200 gcov.texi trouble.texi bugreport.texi service.texi \ 3130 gcov.texi trouble.texi bugreport.texi service.texi \
4201 contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi \ 3131 contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi \
4202 fdl.texi contrib.texi cppenv.texi cppopts.texi \ 3132 fdl.texi contrib.texi cppenv.texi cppopts.texi avr-mmcu.texi \
4203 implement-c.texi implement-cxx.texi arm-neon-intrinsics.texi 3133 implement-c.texi implement-cxx.texi gcov-tool.texi gcov-dump.texi
4204 3134
4205 # we explicitly use $(srcdir)/doc/tm.texi here to avoid confusion with 3135 # we explicitly use $(srcdir)/doc/tm.texi here to avoid confusion with
4206 # the generated tm.texi; the latter might have a more recent timestamp, 3136 # the generated tm.texi; the latter might have a more recent timestamp,
4207 # but we don't want to rebuild the info files unless the contents of 3137 # but we don't want to rebuild the info files unless the contents of
4208 # the *.texi files have changed. 3138 # the *.texi files have changed.
4211 portability.texi interface.texi passes.texi rtl.texi md.texi \ 3141 portability.texi interface.texi passes.texi rtl.texi md.texi \
4212 $(srcdir)/doc/tm.texi hostconfig.texi fragments.texi \ 3142 $(srcdir)/doc/tm.texi hostconfig.texi fragments.texi \
4213 configfiles.texi collect2.texi headerdirs.texi funding.texi \ 3143 configfiles.texi collect2.texi headerdirs.texi funding.texi \
4214 gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi \ 3144 gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi \
4215 sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi \ 3145 sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi \
4216 loop.texi generic.texi gimple.texi plugins.texi 3146 loop.texi generic.texi gimple.texi plugins.texi optinfo.texi \
3147 match-and-simplify.texi
4217 3148
4218 TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi \ 3149 TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi \
4219 gcc-common.texi gcc-vers.texi 3150 gcc-common.texi gcc-vers.texi
4220 3151
4221 TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi 3152 TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
4319 echo rm -f $(@D)/* 3250 echo rm -f $(@D)/*
4320 SOURCEDIR=$(abs_docdir) \ 3251 SOURCEDIR=$(abs_docdir) \
4321 DESTDIR=$(@D) \ 3252 DESTDIR=$(@D) \
4322 $(SHELL) $(srcdir)/doc/install.texi2html 3253 $(SHELL) $(srcdir)/doc/install.texi2html
4323 3254
4324 MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1 doc/gfdl.7 doc/gpl.7 doc/fsf-funding.7 3255 MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1 doc/gfdl.7 doc/gpl.7 \
3256 doc/fsf-funding.7 doc/gcov-tool.1 doc/gcov-dump.1
4325 3257
4326 generated-manpages: man 3258 generated-manpages: man
4327 3259
4328 man: $(MANFILES) lang.man @GENINSRC@ srcman lang.srcman 3260 man: $(MANFILES) lang.man @GENINSRC@ srcman lang.srcman
4329 3261
4344 3276
4345 %.pod: %.texi 3277 %.pod: %.texi
4346 $(STAMP) $@ 3278 $(STAMP) $@
4347 -$(TEXI2POD) -DBUGURL="$(BUGURL_TEXI)" $< > $@ 3279 -$(TEXI2POD) -DBUGURL="$(BUGURL_TEXI)" $< > $@
4348 3280
4349 .INTERMEDIATE: cpp.pod gcc.pod gfdl.pod fsf-funding.pod 3281 .INTERMEDIATE: cpp.pod gcc.pod gfdl.pod fsf-funding.pod gpl.pod
4350 cpp.pod: cpp.texi cppenv.texi cppopts.texi 3282 cpp.pod: cpp.texi cppenv.texi cppopts.texi
4351 3283
4352 # These next rules exist because the output name is not the same as 3284 # These next rules exist because the output name is not the same as
4353 # the input name, so our implicit %.pod rule will not work. 3285 # the input name, so our implicit %.pod rule will not work.
4354 3286
4379 # We remove as much from the language subdirectories as we can 3311 # We remove as much from the language subdirectories as we can
4380 # (less duplicated code). 3312 # (less duplicated code).
4381 3313
4382 mostlyclean: lang.mostlyclean 3314 mostlyclean: lang.mostlyclean
4383 -rm -f $(MOSTLYCLEANFILES) 3315 -rm -f $(MOSTLYCLEANFILES)
4384 -rm -f *$(objext) 3316 -rm -f *$(objext) c-family/*$(objext)
4385 -rm -f *$(coverageexts) 3317 -rm -f *$(coverageexts)
4386 # Delete build programs 3318 # Delete build programs
4387 -rm -f build/* 3319 -rm -f build/*
4388 -rm -f mddeps.mk 3320 -rm -f mddeps.mk
4389 # Delete other built files. 3321 # Delete other built files.
4390 -rm -f specs.h options.c options.h 3322 -rm -f specs.h options.c options.h options-save.c
4391 # Delete the stamp and temporary files. 3323 # Delete the stamp and temporary files.
4392 -rm -f s-* tmp-* stamp-* stmp-* 3324 -rm -f s-* tmp-* stamp-* stmp-*
4393 -rm -f */stamp-* */tmp-* 3325 -rm -f */stamp-* */tmp-*
4394 # Delete debugging dump files. 3326 # Delete debugging dump files.
4395 -rm -f *.[0-9][0-9].* */*.[0-9][0-9].* 3327 -rm -f *.[0-9][0-9].* */*.[0-9][0-9].*
4409 -rm -f gtype-* 3341 -rm -f gtype-*
4410 -rm -f gt-* 3342 -rm -f gt-*
4411 -rm -f gtype.state 3343 -rm -f gtype.state
4412 # Delete genchecksum outputs 3344 # Delete genchecksum outputs
4413 -rm -f *-checksum.c 3345 -rm -f *-checksum.c
3346 # Delete lock-and-run bits
3347 -rm -rf linkfe.lck lock-stamp.*
4414 3348
4415 # Delete all files made by compilation 3349 # Delete all files made by compilation
4416 # that don't exist in the distribution. 3350 # that don't exist in the distribution.
4417 clean: mostlyclean lang.clean 3351 clean: mostlyclean lang.clean
4418 -rm -f libgcc.a libgcc_eh.a libgcov.a 3352 -rm -f libgcc.a libgcc_eh.a libgcov.a
4472 # Copy the compiler files into directories where they will be run. 3406 # Copy the compiler files into directories where they will be run.
4473 # Install the driver last so that the window when things are 3407 # Install the driver last so that the window when things are
4474 # broken is small. 3408 # broken is small.
4475 install: install-common $(INSTALL_HEADERS) \ 3409 install: install-common $(INSTALL_HEADERS) \
4476 install-cpp install-man install-info install-@POSUB@ \ 3410 install-cpp install-man install-info install-@POSUB@ \
4477 install-driver install-lto-wrapper 3411 install-driver install-lto-wrapper install-gcc-ar
4478 3412
4479 ifeq ($(enable_plugin),yes) 3413 ifeq ($(enable_plugin),yes)
4480 install: install-plugin 3414 install: install-plugin
4481 endif 3415 endif
4482 3416
4487 endif 3421 endif
4488 install-strip: install 3422 install-strip: install
4489 3423
4490 # Handle cpp installation. 3424 # Handle cpp installation.
4491 install-cpp: installdirs cpp$(exeext) 3425 install-cpp: installdirs cpp$(exeext)
4492 -rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext) 3426 -if test "$(enable_as_accelerator)" != "yes" ; then \
4493 -$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext) 3427 rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext); \
4494 -if [ x$(cpp_install_dir) != x ]; then \ 3428 $(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext); \
4495 rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \ 3429 if [ x$(cpp_install_dir) != x ]; then \
4496 $(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \ 3430 rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
4497 else true; fi 3431 $(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
3432 else true; fi; \
3433 fi
4498 3434
4499 # Create the installation directories. 3435 # Create the installation directories.
4500 # $(libdir)/gcc/include isn't currently searched by cpp. 3436 # $(libdir)/gcc/include isn't currently searched by cpp.
4501 installdirs: 3437 installdirs:
4502 $(mkinstalldirs) $(DESTDIR)$(libsubdir) 3438 $(mkinstalldirs) $(DESTDIR)$(libsubdir)
4503 $(mkinstalldirs) $(DESTDIR)$(libexecsubdir) 3439 $(mkinstalldirs) $(DESTDIR)$(libexecsubdir)
4504 $(mkinstalldirs) $(DESTDIR)$(bindir) 3440 $(mkinstalldirs) $(DESTDIR)$(bindir)
4505 $(mkinstalldirs) $(DESTDIR)$(includedir) 3441 $(mkinstalldirs) $(DESTDIR)$(includedir)
4506 $(mkinstalldirs) $(DESTDIR)$(infodir) 3442 $(mkinstalldirs) $(DESTDIR)$(infodir)
4507 $(mkinstalldirs) $(DESTDIR)$(slibdir)
4508 $(mkinstalldirs) $(DESTDIR)$(man1dir) 3443 $(mkinstalldirs) $(DESTDIR)$(man1dir)
4509 $(mkinstalldirs) $(DESTDIR)$(man7dir) 3444 $(mkinstalldirs) $(DESTDIR)$(man7dir)
4510 3445
3446 params.list: s-params.list; @true
3447 s-params.list: $(srcdir)/params-list.h $(srcdir)/params.def
3448 $(CPP) $(srcdir)/params-list.h | sed 's/^#.*//;/^$$/d' > tmp-params.list
3449 $(SHELL) $(srcdir)/../move-if-change tmp-params.list params.list
3450 $(STAMP) s-params.list
3451
3452 params.options: s-params.options; @true
3453 s-params.options: $(srcdir)/params-options.h $(srcdir)/params.def
3454 $(CPP) $(srcdir)/params-options.h | sed 's/^#.*//;/^$$/d' > tmp-params.options
3455 $(SHELL) $(srcdir)/../move-if-change tmp-params.options params.options
3456 $(STAMP) s-params.options
3457
3458
4511 PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ 3459 PLUGIN_HEADERS = $(TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
4512 toplev.h $(DIAGNOSTIC_CORE_H) $(BASIC_BLOCK_H) $(GIMPLE_H) $(TREE_PASS_H) $(GCC_PLUGIN_H) \ 3460 toplev.h $(DIAGNOSTIC_CORE_H) $(BASIC_BLOCK_H) $(HASH_TABLE_H) \
4513 $(GGC_H) $(TREE_DUMP_H) $(PRETTY_PRINT_H) $(OPTS_H) $(PARAMS_H) plugin.def \ 3461 tree-ssa-alias.h $(INTERNAL_FN_H) gimple-fold.h tree-eh.h gimple-expr.h \
3462 gimple.h is-a.h memmodel.h $(TREE_PASS_H) $(GCC_PLUGIN_H) \
3463 $(GGC_H) $(TREE_DUMP_H) $(PRETTY_PRINT_H) $(OPTS_H) $(PARAMS_H) \
4514 $(tm_file_list) $(tm_include_list) $(tm_p_file_list) $(tm_p_include_list) \ 3464 $(tm_file_list) $(tm_include_list) $(tm_p_file_list) $(tm_p_include_list) \
4515 $(host_xm_file_list) $(host_xm_include_list) $(xm_include_list) \ 3465 $(host_xm_file_list) $(host_xm_include_list) $(xm_include_list) \
4516 intl.h $(PLUGIN_VERSION_H) $(DIAGNOSTIC_H) \ 3466 intl.h $(PLUGIN_VERSION_H) $(DIAGNOSTIC_H) ${C_TREE_H} \
4517 $(C_COMMON_H) c-family/c-objc.h $(C_PRETTY_PRINT_H) \ 3467 $(C_COMMON_H) c-family/c-objc.h $(C_PRETTY_PRINT_H) \
4518 tree-iterator.h $(PLUGIN_H) $(TREE_FLOW_H) langhooks.h incpath.h debug.h \ 3468 tree-iterator.h $(PLUGIN_H) $(TREE_SSA_H) langhooks.h incpath.h debug.h \
4519 $(EXCEPT_H) tree-ssa-sccvn.h real.h output.h $(IPA_UTILS_H) \ 3469 $(EXCEPT_H) tree-ssa-sccvn.h real.h output.h $(IPA_UTILS_H) \
4520 $(C_PRAGMA_H) $(CPPLIB_H) $(FUNCTION_H) \ 3470 $(C_PRAGMA_H) $(CPPLIB_H) $(FUNCTION_H) \
4521 cppdefault.h flags.h $(MD5_H) params.def params.h prefix.h tree-inline.h \ 3471 cppdefault.h flags.h $(MD5_H) params.def params.h params-enum.h \
4522 $(IPA_PROP_H) $(RTL_H) $(TM_P_H) $(CFGLOOP_H) $(EMIT_RTL_H) version.h 3472 prefix.h tree-inline.h $(GIMPLE_PRETTY_PRINT_H) realmpfr.h \
3473 $(IPA_PROP_H) $(TARGET_H) $(RTL_H) $(TM_P_H) $(CFGLOOP_H) $(EMIT_RTL_H) \
3474 version.h stringpool.h gimplify.h gimple-iterator.h gimple-ssa.h \
3475 fold-const.h fold-const-call.h tree-cfg.h tree-into-ssa.h tree-ssanames.h \
3476 print-tree.h varasm.h context.h tree-phinodes.h stor-layout.h \
3477 ssa-iterators.h $(RESOURCE_H) tree-cfgcleanup.h attribs.h calls.h \
3478 cfgexpand.h diagnostic-color.h gcc-symtab.h gimple-builder.h gimple-low.h \
3479 gimple-walk.h gimplify-me.h pass_manager.h print-rtl.h stmt.h \
3480 tree-dfa.h tree-hasher.h tree-nested.h tree-object-size.h tree-outof-ssa.h \
3481 tree-parloops.h tree-ssa-address.h tree-ssa-coalesce.h tree-ssa-dom.h \
3482 tree-ssa-loop.h tree-ssa-loop-ivopts.h tree-ssa-loop-manip.h \
3483 tree-ssa-loop-niter.h tree-ssa-ter.h tree-ssa-threadedge.h \
3484 tree-ssa-threadupdate.h inchash.h wide-int.h signop.h hash-map.h \
3485 hash-set.h dominance.h cfg.h cfgrtl.h cfganal.h cfgbuild.h cfgcleanup.h \
3486 lcm.h cfgloopmanip.h builtins.def chkp-builtins.def pass-instances.def \
3487 params.list
4523 3488
4524 # generate the 'build fragment' b-header-vars 3489 # generate the 'build fragment' b-header-vars
4525 s-header-vars: Makefile 3490 s-header-vars: Makefile
4526 rm -f tmp-header-vars 3491 rm -f tmp-header-vars
4527 $(foreach header_var,$(shell sed < Makefile -e 's/^\([A-Z0-9_]*_H\)[ ]*=.*/\1/p' -e d),echo $(header_var)=$(shell echo $($(header_var):$(srcdir)/%=.../%) | sed -e 's~\.\.\./config/~config/~' -e 's~\.\.\..*/~~') >> tmp-header-vars;) \ 3492 # The first sed gets the list "header variables" as the list variables
3493 # assigned in Makefile and having _H at the end of the name. "sed -n" proved
3494 # more portable than a trailing "-e d" to filter out the uninteresting lines,
3495 # in particular on ia64-hpux where "s/.../p" only prints if -n was requested
3496 # as well.
3497 $(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;) \
4528 $(SHELL) $(srcdir)/../move-if-change tmp-header-vars b-header-vars 3498 $(SHELL) $(srcdir)/../move-if-change tmp-header-vars b-header-vars
4529 $(STAMP) s-header-vars 3499 $(STAMP) s-header-vars
4530 3500
3501 # Install gengtype
3502 install-gengtype: installdirs gengtype$(exeext) gtype.state
3503 $(mkinstalldirs) $(DESTDIR)$(plugin_resourcesdir)
3504 $(INSTALL_DATA) gtype.state $(DESTDIR)$(plugin_resourcesdir)/gtype.state
3505 $(mkinstalldirs) $(DESTDIR)$(plugin_bindir)
3506 $(INSTALL_PROGRAM) gengtype$(exeext) $(DESTDIR)$(plugin_bindir)/gengtype$(exeext)
3507
4531 # Install the headers needed to build a plugin. 3508 # Install the headers needed to build a plugin.
4532 install-plugin: installdirs lang.install-plugin s-header-vars 3509 install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype
4533 # We keep the directory structure for files in config and .def files. All 3510 # We keep the directory structure for files in config or c-family and .def
4534 # other files are flattened to a single directory. 3511 # files. All other files are flattened to a single directory.
4535 $(mkinstalldirs) $(DESTDIR)$(plugin_includedir) 3512 $(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
4536 headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`; \ 3513 headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \
4537 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \ 3514 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
4538 for file in $$headers; do \ 3515 for file in $$headers; do \
4539 if [ -f $$file ] ; then \ 3516 if [ -f $$file ] ; then \
4540 path=$$file; \ 3517 path=$$file; \
4541 elif [ -f $(srcdir)/$$file ]; then \ 3518 elif [ -f $(srcdir)/$$file ]; then \
4542 path=$(srcdir)/$$file; \ 3519 path=$(srcdir)/$$file; \
4543 else continue; \ 3520 else continue; \
4544 fi; \ 3521 fi; \
4545 case $$path in \ 3522 case $$path in \
4546 "$(srcdir)"/config/* | "$(srcdir)"/*.def ) \ 3523 "$(srcdir)"/config/* | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \
4547 base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \ 3524 base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \
4548 *) base=`basename $$path` ;; \ 3525 *) base=`basename $$path` ;; \
4549 esac; \ 3526 esac; \
4550 dest=$(plugin_includedir)/$$base; \ 3527 dest=$(plugin_includedir)/$$base; \
4551 echo $(INSTALL_DATA) $$path $(DESTDIR)$$dest; \ 3528 echo $(INSTALL_DATA) $$path $(DESTDIR)$$dest; \
4562 rm -f $(DESTDIR)$(libexecsubdir)/$$file; \ 3539 rm -f $(DESTDIR)$(libexecsubdir)/$$file; \
4563 $(INSTALL_PROGRAM) $$file $(DESTDIR)$(libexecsubdir)/$$file; \ 3540 $(INSTALL_PROGRAM) $$file $(DESTDIR)$(libexecsubdir)/$$file; \
4564 else true; \ 3541 else true; \
4565 fi; \ 3542 fi; \
4566 done 3543 done
4567 for file in $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2) ..; do \ 3544 for file in $(EXTRA_PROGRAMS) $(COLLECT2) ..; do \
4568 if [ x"$$file" != x.. ]; then \ 3545 if [ x"$$file" != x.. ]; then \
4569 rm -f $(DESTDIR)$(libexecsubdir)/$$file; \ 3546 rm -f $(DESTDIR)$(libexecsubdir)/$$file; \
4570 $(INSTALL_PROGRAM) $$file $(DESTDIR)$(libexecsubdir)/$$file; \ 3547 $(INSTALL_PROGRAM) $$file $(DESTDIR)$(libexecsubdir)/$$file; \
4571 else true; fi; \ 3548 else true; fi; \
4572 done 3549 done
4574 # driver slower, and because people who need it can recreate it by 3551 # driver slower, and because people who need it can recreate it by
4575 # using -dumpspecs. We remove any old version because it would 3552 # using -dumpspecs. We remove any old version because it would
4576 # otherwise override the specs built into the driver. 3553 # otherwise override the specs built into the driver.
4577 rm -f $(DESTDIR)$(libsubdir)/specs 3554 rm -f $(DESTDIR)$(libsubdir)/specs
4578 # Install gcov if it was compiled. 3555 # Install gcov if it was compiled.
4579 -if [ -f gcov$(exeext) ]; \ 3556 -if test "$(enable_as_accelerator)" != "yes" ; then \
4580 then \ 3557 if [ -f gcov$(exeext) ]; \
3558 then \
4581 rm -f $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \ 3559 rm -f $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
4582 $(INSTALL_PROGRAM) gcov$(exeext) $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \ 3560 $(INSTALL_PROGRAM) gcov$(exeext) $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
3561 fi; \
4583 fi 3562 fi
3563 # Install gcov-tool if it was compiled.
3564 -if test "$(enable_as_accelerator)" != "yes" ; then \
3565 if [ -f gcov-tool$(exeext) ]; \
3566 then \
3567 rm -f $(DESTDIR)$(bindir)/$(GCOV_TOOL_INSTALL_NAME)$(exeext); \
3568 $(INSTALL_PROGRAM) \
3569 gcov-tool$(exeext) $(DESTDIR)$(bindir)/$(GCOV_TOOL_INSTALL_NAME)$(exeext); \
3570 fi; \
3571 fi
3572 # Install gcov-dump if it was compiled.
3573 -if test "$(enable_as_accelerator)" != "yes" ; then \
3574 if [ -f gcov-dump$(exeext) ]; \
3575 then \
3576 rm -f $(DESTDIR)$(bindir)/$(GCOV_DUMP_INSTALL_NAME)$(exeext); \
3577 $(INSTALL_PROGRAM) \
3578 gcov-dump$(exeext) $(DESTDIR)$(bindir)/$(GCOV_DUMP_INSTALL_NAME)$(exeext); \
3579 fi; \
3580 fi
4584 3581
4585 # Install the driver program as $(target_noncanonical)-gcc, 3582 # Install the driver program as $(target_noncanonical)-gcc,
4586 # $(target_noncanonical)-gcc-$(version) 3583 # $(target_noncanonical)-gcc-$(version), and also as gcc if native.
4587 # and also as either gcc (if native) or $(gcc_tooldir)/bin/gcc.
4588 install-driver: installdirs xgcc$(exeext) 3584 install-driver: installdirs xgcc$(exeext)
4589 -rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext) 3585 -rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
4590 -$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext) 3586 -$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
4591 -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext) 3587 -if test "$(enable_as_accelerator)" != "yes" ; then \
4592 -( cd $(DESTDIR)$(bindir) && \ 3588 if [ "$(GCC_INSTALL_NAME)" != "$(target_noncanonical)-gcc-$(version)" ]; then \
4593 $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) ) 3589 rm -f $(DESTDIR)$(bindir)/$(FULL_DRIVER_NAME); \
4594 -if [ -f gcc-cross$(exeext) ] ; then \ 3590 ( cd $(DESTDIR)$(bindir) && \
4595 if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \ 3591 $(LN) $(GCC_INSTALL_NAME)$(exeext) $(FULL_DRIVER_NAME) ); \
4596 rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \ 3592 fi; \
4597 $(INSTALL_PROGRAM) gcc-cross$(exeext) $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \ 3593 if [ ! -f gcc-cross$(exeext) ] \
4598 else true; fi; \ 3594 && [ "$(GCC_INSTALL_NAME)" != "$(GCC_TARGET_INSTALL_NAME)" ]; then \
4599 else \ 3595 rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-tmp$(exeext); \
4600 rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-tmp$(exeext); \ 3596 ( cd $(DESTDIR)$(bindir) && \
4601 ( cd $(DESTDIR)$(bindir) && \ 3597 $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-tmp$(exeext) && \
4602 $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-tmp$(exeext) && \ 3598 mv -f $(target_noncanonical)-gcc-tmp$(exeext) $(GCC_TARGET_INSTALL_NAME)$(exeext) ); \
4603 mv -f $(target_noncanonical)-gcc-tmp$(exeext) $(GCC_TARGET_INSTALL_NAME)$(exeext) ); \ 3599 fi; \
4604 fi 3600 fi
4605 3601
4606 # Install the info files. 3602 # Install the info files.
4607 # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir 3603 # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
4608 # to do the install. 3604 # to do the install.
4663 # Install the man pages. 3659 # Install the man pages.
4664 install-man: lang.install-man \ 3660 install-man: lang.install-man \
4665 $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext) \ 3661 $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext) \
4666 $(DESTDIR)$(man1dir)/$(CPP_INSTALL_NAME)$(man1ext) \ 3662 $(DESTDIR)$(man1dir)/$(CPP_INSTALL_NAME)$(man1ext) \
4667 $(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext) \ 3663 $(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext) \
3664 $(DESTDIR)$(man1dir)/$(GCOV_TOOL_INSTALL_NAME)$(man1ext) \
3665 $(DESTDIR)$(man1dir)/$(GCOV_DUMP_INSTALL_NAME)$(man1ext) \
4668 $(DESTDIR)$(man7dir)/fsf-funding$(man7ext) \ 3666 $(DESTDIR)$(man7dir)/fsf-funding$(man7ext) \
4669 $(DESTDIR)$(man7dir)/gfdl$(man7ext) \ 3667 $(DESTDIR)$(man7dir)/gfdl$(man7ext) \
4670 $(DESTDIR)$(man7dir)/gpl$(man7ext) 3668 $(DESTDIR)$(man7dir)/gpl$(man7ext)
4671 3669
4672 $(DESTDIR)$(man7dir)/%$(man7ext): doc/%.7 installdirs 3670 $(DESTDIR)$(man7dir)/%$(man7ext): doc/%.7 installdirs
4683 -rm -f $@ 3681 -rm -f $@
4684 -$(INSTALL_DATA) $< $@ 3682 -$(INSTALL_DATA) $< $@
4685 -chmod a-x $@ 3683 -chmod a-x $@
4686 3684
4687 $(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext): doc/gcov.1 installdirs 3685 $(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext): doc/gcov.1 installdirs
3686 -rm -f $@
3687 -$(INSTALL_DATA) $< $@
3688 -chmod a-x $@
3689
3690 $(DESTDIR)$(man1dir)/$(GCOV_TOOL_INSTALL_NAME)$(man1ext): doc/gcov-tool.1 installdirs
3691 -rm -f $@
3692 -$(INSTALL_DATA) $< $@
3693 -chmod a-x $@
3694
3695 $(DESTDIR)$(man1dir)/$(GCOV_DUMP_INSTALL_NAME)$(man1ext): doc/gcov-dump.1 installdirs
4688 -rm -f $@ 3696 -rm -f $@
4689 -$(INSTALL_DATA) $< $@ 3697 -$(INSTALL_DATA) $< $@
4690 -chmod a-x $@ 3698 -chmod a-x $@
4691 3699
4692 # Install all the header files built in the include subdirectory. 3700 # Install all the header files built in the include subdirectory.
4767 $(INSTALL_DATA) macro_list $(DESTDIR)$(itoolsdatadir)/macro_list 3775 $(INSTALL_DATA) macro_list $(DESTDIR)$(itoolsdatadir)/macro_list
4768 $(INSTALL_DATA) fixinc_list $(DESTDIR)$(itoolsdatadir)/fixinc_list 3776 $(INSTALL_DATA) fixinc_list $(DESTDIR)$(itoolsdatadir)/fixinc_list
4769 set -e; for ml in `cat fixinc_list`; do \ 3777 set -e; for ml in `cat fixinc_list`; do \
4770 multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \ 3778 multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
4771 $(mkinstalldirs) $(DESTDIR)$(itoolsdatadir)/include$${multi_dir}; \ 3779 $(mkinstalldirs) $(DESTDIR)$(itoolsdatadir)/include$${multi_dir}; \
4772 $(INSTALL_DATA) include-fixed$${multidir}/limits.h $(DESTDIR)$(itoolsdatadir)/include$${multi_dir}/limits.h; \ 3780 $(INSTALL_DATA) include-fixed$${multi_dir}/limits.h $(DESTDIR)$(itoolsdatadir)/include$${multi_dir}/limits.h; \
4773 done 3781 done
4774 $(INSTALL_SCRIPT) $(srcdir)/../mkinstalldirs \ 3782 $(INSTALL_SCRIPT) $(srcdir)/../mkinstalldirs \
4775 $(DESTDIR)$(itoolsdir)/mkinstalldirs ; \ 3783 $(DESTDIR)$(itoolsdir)/mkinstalldirs ; \
4776 sysroot_headers_suffix='$${sysroot_headers_suffix}'; \ 3784 sysroot_headers_suffix='$${sysroot_headers_suffix}'; \
4777 echo 'SYSTEM_HEADER_DIR="'"$(SYSTEM_HEADER_DIR)"'"' \ 3785 echo 'SYSTEM_HEADER_DIR="'"$(SYSTEM_HEADER_DIR)"'"' \
4788 $(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(libexecsubdir)/gcc$(exeext) 3796 $(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(libexecsubdir)/gcc$(exeext)
4789 3797
4790 # Install lto-wrapper. 3798 # Install lto-wrapper.
4791 install-lto-wrapper: lto-wrapper$(exeext) 3799 install-lto-wrapper: lto-wrapper$(exeext)
4792 $(INSTALL_PROGRAM) lto-wrapper$(exeext) $(DESTDIR)$(libexecsubdir)/lto-wrapper$(exeext) 3800 $(INSTALL_PROGRAM) lto-wrapper$(exeext) $(DESTDIR)$(libexecsubdir)/lto-wrapper$(exeext)
3801
3802 install-gcc-ar: installdirs gcc-ar$(exeext) gcc-nm$(exeext) gcc-ranlib$(exeext)
3803 if test "$(enable_as_accelerator)" != "yes" ; then \
3804 for i in gcc-ar gcc-nm gcc-ranlib; do \
3805 install_name=`echo $$i|sed '$(program_transform_name)'` ;\
3806 target_install_name=$(target_noncanonical)-`echo $$i|sed '$(program_transform_name)'` ; \
3807 rm -f $(DESTDIR)$(bindir)/$$install_name$(exeext) ; \
3808 $(INSTALL_PROGRAM) $$i$(exeext) $(DESTDIR)$(bindir)/$$install_name$(exeext) ;\
3809 if test -f gcc-cross$(exeext); then \
3810 :; \
3811 else \
3812 rm -f $(DESTDIR)$(bindir)/$$target_install_name$(exeext); \
3813 ( cd $(DESTDIR)$(bindir) && \
3814 $(LN) $$install_name$(exeext) $$target_install_name$(exeext) ) ; \
3815 fi ; \
3816 done; \
3817 fi
4793 3818
4794 # Cancel installation by deleting the installed files. 3819 # Cancel installation by deleting the installed files.
4795 uninstall: lang.uninstall 3820 uninstall: lang.uninstall
4796 -rm -rf $(DESTDIR)$(libsubdir) 3821 -rm -rf $(DESTDIR)$(libsubdir)
4797 -rm -rf $(DESTDIR)$(libexecsubdir) 3822 -rm -rf $(DESTDIR)$(libexecsubdir)
4803 -rm -rf $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext) 3828 -rm -rf $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext)
4804 -rm -rf $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext) 3829 -rm -rf $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext)
4805 -rm -rf $(DESTDIR)$(man1dir)/cpp$(man1ext) 3830 -rm -rf $(DESTDIR)$(man1dir)/cpp$(man1ext)
4806 -rm -f $(DESTDIR)$(infodir)/cpp.info* $(DESTDIR)$(infodir)/gcc.info* 3831 -rm -f $(DESTDIR)$(infodir)/cpp.info* $(DESTDIR)$(infodir)/gcc.info*
4807 -rm -f $(DESTDIR)$(infodir)/cppinternals.info* $(DESTDIR)$(infodir)/gccint.info* 3832 -rm -f $(DESTDIR)$(infodir)/cppinternals.info* $(DESTDIR)$(infodir)/gccint.info*
3833 for i in ar nm ranlib ; do \
3834 install_name=`echo gcc-$$i|sed '$(program_transform_name)'`$(exeext) ;\
3835 target_install_name=$(target_noncanonical)-`echo gcc-$$i|sed '$(program_transform_name)'`$(exeext) ; \
3836 rm -f $(DESTDIR)$(bindir)/$$install_name ; \
3837 rm -f $(DESTDIR)$(bindir)/$$target_install_name ; \
3838 done
4808 # 3839 #
4809 # These targets are for the dejagnu testsuites. The file site.exp 3840 # These targets are for the dejagnu testsuites. The file site.exp
4810 # contains global variables that all the testsuites will use. 3841 # contains global variables that all the testsuites will use.
4811 3842
4812 target_subdir = @target_subdir@ 3843 target_subdir = @target_subdir@
4813 3844
4814 site.exp: ./config.status Makefile 3845 site.exp: ./config.status Makefile
4815 @echo "Making a new config file..." 3846 @echo "Making a new config file..."
4816 -@rm -f ./tmp? 3847 -@rm -f ./site.tmp
4817 @$(STAMP) site.exp 3848 @$(STAMP) site.exp
4818 -@mv site.exp site.bak 3849 -@mv site.exp site.bak
4819 @echo "## these variables are automatically generated by make ##" > ./tmp0 3850 @echo "## these variables are automatically generated by make ##" > ./site.tmp
4820 @echo "# Do not edit here. If you wish to override these values" >> ./tmp0 3851 @echo "# Do not edit here. If you wish to override these values" >> ./site.tmp
4821 @echo "# add them to the last section" >> ./tmp0 3852 @echo "# add them to the last section" >> ./site.tmp
4822 @echo "set rootme \"`${PWD_COMMAND}`\"" >> ./tmp0 3853 @echo "set rootme \"`${PWD_COMMAND}`\"" >> ./site.tmp
4823 @echo "set srcdir \"`cd ${srcdir}; ${PWD_COMMAND}`\"" >> ./tmp0 3854 @echo "set srcdir \"`cd ${srcdir}; ${PWD_COMMAND}`\"" >> ./site.tmp
4824 @echo "set host_triplet $(host)" >> ./tmp0 3855 @echo "set host_triplet $(host)" >> ./site.tmp
4825 @echo "set build_triplet $(build)" >> ./tmp0 3856 @echo "set build_triplet $(build)" >> ./site.tmp
4826 @echo "set target_triplet $(target)" >> ./tmp0 3857 @echo "set target_triplet $(target)" >> ./site.tmp
4827 @echo "set target_alias $(target_noncanonical)" >> ./tmp0 3858 @echo "set target_alias $(target_noncanonical)" >> ./site.tmp
4828 @echo "set libiconv \"$(LIBICONV)\"" >> ./tmp0 3859 @echo "set libiconv \"$(LIBICONV)\"" >> ./site.tmp
4829 # CFLAGS is set even though it's empty to show we reserve the right to set it. 3860 # CFLAGS is set even though it's empty to show we reserve the right to set it.
4830 @echo "set CFLAGS \"\"" >> ./tmp0 3861 @echo "set CFLAGS \"\"" >> ./site.tmp
4831 @echo "set CXXFLAGS \"\"" >> ./tmp0 3862 @echo "set CXXFLAGS \"\"" >> ./site.tmp
4832 @echo "set HOSTCC \"$(CC)\"" >> ./tmp0 3863 @echo "set HOSTCC \"$(CC)\"" >> ./site.tmp
4833 @echo "set HOSTCFLAGS \"$(CFLAGS)\"" >> ./tmp0 3864 @echo "set HOSTCXX \"$(CXX)\"" >> ./site.tmp
3865 @echo "set HOSTCFLAGS \"$(CFLAGS)\"" >> ./site.tmp
3866 @echo "set HOSTCXXFLAGS \"$(CXXFLAGS)\"" >> ./site.tmp
3867 # TEST_ALWAYS_FLAGS are flags that should be passed to every compilation.
3868 # They are passed first to allow individual tests to override them.
3869 @echo "set TEST_ALWAYS_FLAGS \"$(SYSROOT_CFLAGS_FOR_TARGET)\"" >> ./site.tmp
4834 # When running the tests we set GCC_EXEC_PREFIX to the install tree so that 3870 # When running the tests we set GCC_EXEC_PREFIX to the install tree so that
4835 # files that have already been installed there will be found. The -B option 3871 # files that have already been installed there will be found. The -B option
4836 # overrides it, so use of GCC_EXEC_PREFIX will not result in using GCC files 3872 # overrides it, so use of GCC_EXEC_PREFIX will not result in using GCC files
4837 # from the install tree. 3873 # from the install tree.
4838 @echo "set TEST_GCC_EXEC_PREFIX \"$(libdir)/gcc/\"" >> ./tmp0 3874 @echo "set TEST_GCC_EXEC_PREFIX \"$(libdir)/gcc/\"" >> ./site.tmp
4839 @echo "set TESTING_IN_BUILD_TREE 1" >> ./tmp0 3875 @echo "set TESTING_IN_BUILD_TREE 1" >> ./site.tmp
4840 @echo "set HAVE_LIBSTDCXX_V3 1" >> ./tmp0 3876 @echo "set HAVE_LIBSTDCXX_V3 1" >> ./site.tmp
4841 @if test "@enable_plugin@" = "yes" ; then \ 3877 @if test "@enable_plugin@" = "yes" ; then \
4842 echo "set ENABLE_PLUGIN 1" >> ./tmp0; \ 3878 echo "set ENABLE_PLUGIN 1" >> ./site.tmp; \
4843 echo "set PLUGINCC \"$(PLUGINCC)\"" >> ./tmp0; \ 3879 echo "set PLUGINCC \"$(PLUGINCC)\"" >> ./site.tmp; \
4844 echo "set PLUGINCFLAGS \"$(PLUGINCFLAGS)\"" >> ./tmp0; \ 3880 echo "set PLUGINCFLAGS \"$(PLUGINCFLAGS)\"" >> ./site.tmp; \
4845 echo "set GMPINC \"$(GMPINC)\"" >> ./tmp0; \ 3881 echo "set GMPINC \"$(GMPINC)\"" >> ./site.tmp; \
4846 fi
4847 @if test "@enable_lto@" = "yes" ; then \
4848 echo "set ENABLE_LTO 1" >> ./tmp0; \
4849 fi 3882 fi
4850 # If newlib has been configured, we need to pass -B to gcc so it can find 3883 # If newlib has been configured, we need to pass -B to gcc so it can find
4851 # newlib's crt0.o if it exists. This will cause a "path prefix not used" 3884 # newlib's crt0.o if it exists. This will cause a "path prefix not used"
4852 # message if it doesn't, but the testsuite is supposed to ignore the message - 3885 # message if it doesn't, but the testsuite is supposed to ignore the message -
4853 # it's too difficult to tell when to and when not to pass -B (not all targets 3886 # it's too difficult to tell when to and when not to pass -B (not all targets
4856 # ??? Another way to solve this might be to rely on linker scripts. Then 3889 # ??? Another way to solve this might be to rely on linker scripts. Then
4857 # theoretically the -B won't be needed. 3890 # theoretically the -B won't be needed.
4858 # We also need to pass -L ../ld so that the linker can find ldscripts. 3891 # We also need to pass -L ../ld so that the linker can find ldscripts.
4859 @if [ -d $(objdir)/../$(target_subdir)/newlib ] \ 3892 @if [ -d $(objdir)/../$(target_subdir)/newlib ] \
4860 && [ "${host}" != "${target}" ]; then \ 3893 && [ "${host}" != "${target}" ]; then \
4861 echo "set newlib_cflags \"-I$(objdir)/../$(target_subdir)/newlib/targ-include -I\$$srcdir/../newlib/libc/include\"" >> ./tmp0; \ 3894 echo "set newlib_cflags \"-I$(objdir)/../$(target_subdir)/newlib/targ-include -I\$$srcdir/../newlib/libc/include\"" >> ./site.tmp; \
4862 echo "set newlib_ldflags \"-B$(objdir)/../$(target_subdir)/newlib/\"" >> ./tmp0; \ 3895 echo "set newlib_ldflags \"-B$(objdir)/../$(target_subdir)/newlib/\"" >> ./site.tmp; \
4863 echo "append CFLAGS \" \$$newlib_cflags\"" >> ./tmp0; \ 3896 echo "append CFLAGS \" \$$newlib_cflags\"" >> ./site.tmp; \
4864 echo "append CXXFLAGS \" \$$newlib_cflags\"" >> ./tmp0; \ 3897 echo "append CXXFLAGS \" \$$newlib_cflags\"" >> ./site.tmp; \
4865 echo "append LDFLAGS \" \$$newlib_ldflags\"" >> ./tmp0; \ 3898 echo "append LDFLAGS \" \$$newlib_ldflags\"" >> ./site.tmp; \
4866 else true; \ 3899 else true; \
4867 fi 3900 fi
4868 @if [ -d $(objdir)/../ld ] ; then \ 3901 @if [ -d $(objdir)/../ld ] ; then \
4869 echo "append LDFLAGS \" -L$(objdir)/../ld\"" >> ./tmp0; \ 3902 echo "append LDFLAGS \" -L$(objdir)/../ld\"" >> ./site.tmp; \
4870 else true; \ 3903 else true; \
4871 fi 3904 fi
4872 echo "set tmpdir $(objdir)/testsuite" >> ./tmp0 3905 echo "set tmpdir $(objdir)/testsuite" >> ./site.tmp
4873 @echo "set srcdir \"\$${srcdir}/testsuite\"" >> ./tmp0 3906 @echo "set srcdir \"\$${srcdir}/testsuite\"" >> ./site.tmp
4874 @if [ "X$(ALT_CC_UNDER_TEST)" != "X" ] ; then \ 3907 @if [ "X$(ALT_CC_UNDER_TEST)" != "X" ] ; then \
4875 echo "set ALT_CC_UNDER_TEST \"$(ALT_CC_UNDER_TEST)\"" >> ./tmp0; \ 3908 echo "set ALT_CC_UNDER_TEST \"$(ALT_CC_UNDER_TEST)\"" >> ./site.tmp; \
4876 else true; \ 3909 else true; \
4877 fi 3910 fi
4878 @if [ "X$(ALT_CXX_UNDER_TEST)" != "X" ] ; then \ 3911 @if [ "X$(ALT_CXX_UNDER_TEST)" != "X" ] ; then \
4879 echo "set ALT_CXX_UNDER_TEST \"$(ALT_CXX_UNDER_TEST)\"" >> ./tmp0; \ 3912 echo "set ALT_CXX_UNDER_TEST \"$(ALT_CXX_UNDER_TEST)\"" >> ./site.tmp; \
4880 else true; \ 3913 else true; \
4881 fi 3914 fi
4882 @if [ "X$(COMPAT_OPTIONS)" != "X" ] ; then \ 3915 @if [ "X$(COMPAT_OPTIONS)" != "X" ] ; then \
4883 echo "set COMPAT_OPTIONS \"$(COMPAT_OPTIONS)\"" >> ./tmp0; \ 3916 echo "set COMPAT_OPTIONS \"$(COMPAT_OPTIONS)\"" >> ./site.tmp; \
4884 else true; \ 3917 else true; \
4885 fi 3918 fi
4886 @echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0 3919 @echo "## All variables above are generated by configure. Do Not Edit ##" >> ./site.tmp
4887 @cat ./tmp0 > site.exp 3920 @cat ./site.tmp > site.exp
4888 @cat site.bak | sed \ 3921 @cat site.bak | sed \
4889 -e '1,/^## All variables above are.*##/ d' >> site.exp 3922 -e '1,/^## All variables above are.*##/ d' >> site.exp
4890 -@rm -f ./tmp? 3923 -@rm -f ./site.tmp
4891 3924
4892 CHECK_TARGETS = check-gcc @check_languages@ 3925 CHECK_TARGETS = @check_languages@
4893 3926
4894 check: $(CHECK_TARGETS) 3927 check: $(CHECK_TARGETS)
4895 3928
4896 check-subtargets: $(patsubst %,%-subtargets,$(CHECK_TARGETS)) 3929 check-subtargets: $(patsubst %,%-subtargets,$(CHECK_TARGETS))
4897 3930
4932 if [ -f $${rootme}/../expect/expect ] ; then \ 3965 if [ -f $${rootme}/../expect/expect ] ; then \
4933 TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \ 3966 TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
4934 export TCL_LIBRARY ; fi ; \ 3967 export TCL_LIBRARY ; fi ; \
4935 $(RUNTEST) --tool $* $(RUNTESTFLAGS)) 3968 $(RUNTEST) --tool $* $(RUNTESTFLAGS))
4936 3969
4937 $(patsubst %,%-subtargets,$(filter-out $(lang_checks_parallelized),$(lang_checks))): check-%-subtargets: 3970 $(patsubst %,%-subtargets,$(lang_checks)): check-%-subtargets:
4938 @echo check-$* 3971 @echo check-$*
4939 3972
4940 check_p_tool=$(firstword $(subst _, ,$*)) 3973 check_p_tool=$(firstword $(subst _, ,$*))
4941 check_p_vars=$(check_$(check_p_tool)_parallelize) 3974 check_p_count=$(check_$(check_p_tool)_parallelize)
4942 check_p_subno=$(word 2,$(subst _, ,$*)) 3975 check_p_subno=$(word 2,$(subst _, ,$*))
4943 check_p_comma=, 3976 check_p_numbers0:=1 2 3 4 5 6 7 8 9
4944 check_p_subwork=$(subst $(check_p_comma), ,$(if $(check_p_subno),$(word $(check_p_subno),$(check_p_vars)))) 3977 check_p_numbers1:=0 $(check_p_numbers0)
4945 check_p_numbers=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3978 check_p_numbers2:=$(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers1)))
3979 check_p_numbers3:=$(addprefix 0,$(check_p_numbers1)) $(check_p_numbers2)
3980 check_p_numbers4:=$(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers3)))
3981 check_p_numbers5:=$(addprefix 0,$(check_p_numbers3)) $(check_p_numbers4)
3982 check_p_numbers6:=$(foreach i,$(check_p_numbers0),$(addprefix $(i),$(check_p_numbers5)))
3983 check_p_numbers:=$(check_p_numbers0) $(check_p_numbers2) $(check_p_numbers4) $(check_p_numbers6)
4946 check_p_subdir=$(subst _,,$*) 3984 check_p_subdir=$(subst _,,$*)
4947 check_p_subdirs=$(wordlist 1,$(words $(check_$*_parallelize)),$(check_p_numbers)) 3985 check_p_subdirs=$(wordlist 1,$(check_p_count),$(wordlist 1, \
3986 $(if $(GCC_TEST_PARALLEL_SLOTS),$(GCC_TEST_PARALLEL_SLOTS),128), \
3987 $(check_p_numbers)))
4948 3988
4949 # For parallelized check-% targets, this decides whether parallelization 3989 # For parallelized check-% targets, this decides whether parallelization
4950 # is desirable (if -jN is used and RUNTESTFLAGS doesn't contain anything 3990 # is desirable (if -jN is used). If desirable, recursive make is run with
4951 # but optionally --target_board argument). If it is desirable, 3991 # check-parallel-$lang{,1,2,3,4,5} etc. goals, which can be executed in
4952 # recursive make is run with check-parallel-$lang{,1,2,3,4,5} etc. goals, 3992 # parallel, as they are run in separate directories.
4953 # which can be executed in parallel, as they are run in separate directories. 3993 # check-parallel-$lang{,1,2,3,4,5} etc. goals invoke runtest with
4954 # check-parallel-$lang{1,2,3,4,5} etc. goals invoke runtest with the longest 3994 # GCC_RUNTEST_PARALLELIZE_DIR var in the environment and runtest_file_p
4955 # running *.exp files from the testsuite, as determined by check_$lang_parallelize 3995 # dejaGNU procedure is overridden to additionally synchronize through
4956 # variable. The check-parallel-$lang goal in that case invokes runtest with 3996 # a $lang-parallel directory which tests will be run by which runtest instance.
4957 # all the remaining *.exp files not handled by the separate goals.
4958 # Afterwards contrib/dg-extract-results.sh is used to merge the sum and log 3997 # Afterwards contrib/dg-extract-results.sh is used to merge the sum and log
4959 # files. If parallelization isn't desirable, only one recursive make 3998 # files. If parallelization isn't desirable, only one recursive make
4960 # is run with check-parallel-$lang goal and check_$lang_parallelize variable 3999 # is run with check-parallel-$lang goal and check_$lang_parallelize variable
4961 # cleared to say that no additional arguments beyond $(RUNTESTFLAGS) 4000 # cleared to say that no additional arguments beyond $(RUNTESTFLAGS)
4962 # should be passed to runtest. 4001 # should be passed to runtest.
4963 # 4002 #
4964 # To parallelize some language check, add the corresponding check-$lang 4003 # To parallelize some language check, add the corresponding check-$lang
4965 # to lang_checks_parallelized variable and define check_$lang_parallelize 4004 # to lang_checks_parallelized variable and define check_$lang_parallelize
4966 # variable (see above check_gcc_parallelize description). 4005 # variable. This is the upper limit to which it is useful to parallelize the
4006 # check-$lang target. It doesn't make sense to try e.g. 128 goals for small
4007 # testsuites like objc or go.
4967 $(lang_checks_parallelized): check-% : site.exp 4008 $(lang_checks_parallelized): check-% : site.exp
4968 @if [ -z "$(filter-out --target_board=%, $(RUNTESTFLAGS))" ] \ 4009 -rm -rf $(TESTSUITEDIR)/$*-parallel
4969 && [ "$(filter -j, $(MFLAGS))" = "-j" ]; then \ 4010 @if [ -n "$(filter -j%, $(MFLAGS))" ]; then \
4011 test -d $(TESTSUITEDIR) || mkdir $(TESTSUITEDIR) || true; \
4012 test -d $(TESTSUITEDIR)/$*-parallel || mkdir $(TESTSUITEDIR)/$*-parallel || true; \
4013 GCC_RUNTEST_PARALLELIZE_DIR=`${PWD_COMMAND}`/$(TESTSUITEDIR)/$(check_p_tool)-parallel ; \
4014 export GCC_RUNTEST_PARALLELIZE_DIR ; \
4970 $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \ 4015 $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \
4971 check-parallel-$* \ 4016 check-parallel-$* \
4972 $(patsubst %,check-parallel-$*_%, $(check_p_subdirs)); \ 4017 $(patsubst %,check-parallel-$*_%, $(check_p_subdirs)); \
4973 for file in $(TESTSUITEDIR)/$*/$* \ 4018 sums= ; logs= ; \
4974 $(patsubst %,$(TESTSUITEDIR)/$*%/$*,$(check_p_subdirs));\ 4019 for dir in $(TESTSUITEDIR)/$* \
4020 $(patsubst %,$(TESTSUITEDIR)/$*%,$(check_p_subdirs));\
4975 do \ 4021 do \
4976 mv -f $$file.sum $$file.sum.sep; mv -f $$file.log $$file.log.sep; \ 4022 if [ -d $$dir ]; then \
4023 mv -f $$dir/$*.sum $$dir/$*.sum.sep; mv -f $$dir/$*.log $$dir/$*.log.sep; \
4024 sums="$$sums $$dir/$*.sum.sep"; logs="$$logs $$dir/$*.log.sep"; \
4025 fi; \
4977 done; \ 4026 done; \
4978 $(SHELL) $(srcdir)/../contrib/dg-extract-results.sh \ 4027 $(SHELL) $(srcdir)/../contrib/dg-extract-results.sh $$sums \
4979 $(TESTSUITEDIR)/$*/$*.sum.sep \
4980 $(patsubst %,$(TESTSUITEDIR)/$*%/$*.sum.sep,$(check_p_subdirs)) \
4981 > $(TESTSUITEDIR)/$*/$*.sum; \ 4028 > $(TESTSUITEDIR)/$*/$*.sum; \
4982 $(SHELL) $(srcdir)/../contrib/dg-extract-results.sh -L \ 4029 $(SHELL) $(srcdir)/../contrib/dg-extract-results.sh -L $$logs \
4983 $(TESTSUITEDIR)/$*/$*.log.sep \
4984 $(patsubst %,$(TESTSUITEDIR)/$*%/$*.log.sep,$(check_p_subdirs)) \
4985 > $(TESTSUITEDIR)/$*/$*.log; \ 4030 > $(TESTSUITEDIR)/$*/$*.log; \
4031 rm -rf $(TESTSUITEDIR)/$*-parallel || true; \
4986 else \ 4032 else \
4987 $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \ 4033 $(MAKE) TESTSUITEDIR="$(TESTSUITEDIR)" RUNTESTFLAGS="$(RUNTESTFLAGS)" \
4988 check_$*_parallelize= check-parallel-$*; \ 4034 check_$*_parallelize= check-parallel-$*; \
4989 fi 4035 fi
4990 4036
4991 # Just print the parallelized subtargets for those that want to split
4992 # the testing across machines.
4993 $(patsubst %,%-subtargets,$(lang_checks_parallelized)): check-%-subtargets:
4994 @echo check-parallel-$* \
4995 $(patsubst %,check-parallel-$*_%, $(check_p_subdirs))
4996
4997 # In the if [ -n "$(check_p_subno)" ] case runtest should be given the name of
4998 # the given *.exp file(s). See comment above check_gcc_parallelize variable
4999 # for details on the content of these variables.
5000 #
5001 # In the elif [ -n "$(check_p_vars)" ] case runtest should be given
5002 # names of all the *.exp files for this tool that aren't already handled by
5003 # other goals. First it finds all the *.exp files for this tool, then
5004 # prunes those already specified in check_$lang_parallelize or duplicates.
5005 #
5006 # Otherwise check-$lang isn't parallelized and runtest is invoked just with
5007 # the $(RUNTESTFLAGS) arguments.
5008 check-parallel-% : site.exp 4037 check-parallel-% : site.exp
5009 -test -d plugin || mkdir plugin 4038 -@test -d plugin || mkdir plugin
5010 -test -d $(TESTSUITEDIR) || mkdir $(TESTSUITEDIR) 4039 -@test -d $(TESTSUITEDIR) || mkdir $(TESTSUITEDIR)
5011 test -d $(TESTSUITEDIR)/$(check_p_subdir) || mkdir $(TESTSUITEDIR)/$(check_p_subdir) 4040 @test -d $(TESTSUITEDIR)/$(check_p_subdir) || mkdir $(TESTSUITEDIR)/$(check_p_subdir)
5012 -(rootme=`${PWD_COMMAND}`; export rootme; \ 4041 -$(if $(check_p_subno),@)(rootme=`${PWD_COMMAND}`; export rootme; \
5013 srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \ 4042 srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
5014 cd $(TESTSUITEDIR)/$(check_p_subdir); \ 4043 if [ -n "$(check_p_subno)" ] \
5015 rm -f tmp-site.exp; \ 4044 && [ -n "$$GCC_RUNTEST_PARALLELIZE_DIR" ] \
5016 sed '/set tmpdir/ s|testsuite$$|$(TESTSUITEDIR)/$(check_p_subdir)|' \ 4045 && [ -f $(TESTSUITEDIR)/$(check_p_tool)-parallel/finished ]; then \
4046 rm -rf $(TESTSUITEDIR)/$(check_p_subdir); \
4047 else \
4048 cd $(TESTSUITEDIR)/$(check_p_subdir); \
4049 rm -f tmp-site.exp; \
4050 sed '/set tmpdir/ s|testsuite$$|$(TESTSUITEDIR)/$(check_p_subdir)|' \
5017 < ../../site.exp > tmp-site.exp; \ 4051 < ../../site.exp > tmp-site.exp; \
5018 $(SHELL) $${srcdir}/../move-if-change tmp-site.exp site.exp; \ 4052 $(SHELL) $${srcdir}/../move-if-change tmp-site.exp site.exp; \
5019 EXPECT=${EXPECT} ; export EXPECT ; \ 4053 EXPECT=${EXPECT} ; export EXPECT ; \
5020 if [ -f $${rootme}/../expect/expect ] ; then \ 4054 if [ -f $${rootme}/../expect/expect ] ; then \
5021 TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \ 4055 TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
5022 export TCL_LIBRARY ; fi ; \ 4056 export TCL_LIBRARY ; \
5023 runtestflags= ; \ 4057 fi ; \
5024 if [ -n "$(check_p_subno)" ] ; then \ 4058 $(RUNTEST) --tool $(check_p_tool) $(RUNTESTFLAGS); \
5025 runtestflags="$(check_p_subwork)"; \ 4059 if [ -n "$$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \
5026 elif [ -n "$(check_p_vars)" ] ; then \ 4060 touch $${rootme}/$(TESTSUITEDIR)/$(check_p_tool)-parallel/finished; \
5027 parts="`echo ' $(strip $(subst $(check_p_comma), ,$(check_p_vars))) ' \ 4061 fi ; \
5028 | sed 's/=[^ ]* / /g'`"; \ 4062 fi )
5029 for part in `find $$srcdir/testsuite/$(check_p_tool)* -name \*.exp` ; do \
5030 part=`basename $$part` ; \
5031 case " $$parts $$runtestflags " in \
5032 *" $$part "*) ;; \
5033 *) runtestflags="$$runtestflags $$part" ;; \
5034 esac ; \
5035 done ; \
5036 fi ; \
5037 $(RUNTEST) --tool $(check_p_tool) $(RUNTESTFLAGS) $$runtestflags)
5038
5039 check-consistency: testsuite/site.exp
5040 -rootme=`${PWD_COMMAND}`; export rootme; \
5041 srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
5042 cd testsuite; \
5043 EXPECT=${EXPECT} ; export EXPECT ; \
5044 if [ -f $${rootme}/../expect/expect ] ; then \
5045 TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
5046 export TCL_LIBRARY ; fi ; \
5047 $(RUNTEST) --tool consistency $(RUNTESTFLAGS)
5048 4063
5049 # QMTest targets 4064 # QMTest targets
5050 4065
5051 # The path to qmtest. 4066 # The path to qmtest.
5052 QMTEST_PATH=qmtest 4067 QMTEST_PATH=qmtest
5081 echo "CompilerTable.languages=c cplusplus" >> $@ 4096 echo "CompilerTable.languages=c cplusplus" >> $@
5082 echo "CompilerTable.c_kind=GCC" >> $@ 4097 echo "CompilerTable.c_kind=GCC" >> $@
5083 echo "CompilerTable.c_path=${objdir}/xgcc" >> $@ 4098 echo "CompilerTable.c_path=${objdir}/xgcc" >> $@
5084 echo "CompilerTable.c_options=-B${objdir}/" >> $@ 4099 echo "CompilerTable.c_options=-B${objdir}/" >> $@
5085 echo "CompilerTable.cplusplus_kind=GCC" >> $@ 4100 echo "CompilerTable.cplusplus_kind=GCC" >> $@
5086 echo "CompilerTable.cplusplus_path=${objdir}/g++" >> $@ 4101 echo "CompilerTable.cplusplus_path=${objdir}/xg++" >> $@
5087 echo "CompilerTable.cplusplus_options=-B${objdir}/" >> $@ 4102 echo "CompilerTable.cplusplus_options=-B${objdir}/" >> $@
5088 echo "DejaGNUTest.target=${target_noncanonical}" >> $@ 4103 echo "DejaGNUTest.target=${target_noncanonical}" >> $@
5089 4104
5090 # Run the G++ testsuite using QMTest. 4105 # Run the G++ testsuite using QMTest.
5091 qmtest-g++: ${QMTEST_DIR}/context 4106 qmtest-g++: ${QMTEST_DIR}/context
5115 list='$(SUBDIRS)'; for dir in $$list; do \ 4130 list='$(SUBDIRS)'; for dir in $$list; do \
5116 if test -f $$dir/TAGS; then \ 4131 if test -f $$dir/TAGS; then \
5117 incs="$$incs --include $$dir/TAGS.sub"; \ 4132 incs="$$incs --include $$dir/TAGS.sub"; \
5118 fi; \ 4133 fi; \
5119 done; \ 4134 done; \
5120 etags -o TAGS.sub c-family/*.h c-family/*.c *.h *.c; \ 4135 etags -o TAGS.sub c-family/*.h c-family/*.c *.h *.c *.cc \
4136 ../include/*.h ../libiberty/*.c \
4137 ../libcpp/*.c ../libcpp/include/*.h \
4138 --language=none --regex="/\(char\|unsigned int\|int\|bool\|void\|HOST_WIDE_INT\|enum [A-Za-z_0-9]+\) [*]?\([A-Za-z_0-9]+\)/\2/" common.opt \
4139 --language=none --regex="/\(DEF_RTL_EXPR\|DEFTREECODE\|DEFGSCODE\|DEFTIMEVAR\|DEFPARAM\|DEFPARAMENUM5\)[ ]?(\([A-Za-z_0-9]+\)/\2/" rtl.def tree.def gimple.def timevar.def params.def \
4140 ; \
5121 etags --include TAGS.sub $$incs) 4141 etags --include TAGS.sub $$incs)
5122 4142
5123 # ----------------------------------------------------- 4143 # -----------------------------------------------------
5124 # Rules for generating translated message descriptions. 4144 # Rules for generating translated message descriptions.
5125 # Disabled by autoconf if the tools are not available. 4145 # Disabled by autoconf if the tools are not available.
5189 po/gcc.pot: force 4209 po/gcc.pot: force
5190 $(mkinstalldirs) po 4210 $(mkinstalldirs) po
5191 $(MAKE) srcextra 4211 $(MAKE) srcextra
5192 AWK=$(AWK) $(SHELL) $(srcdir)/po/exgettext \ 4212 AWK=$(AWK) $(SHELL) $(srcdir)/po/exgettext \
5193 $(XGETTEXT) gcc $(srcdir) 4213 $(XGETTEXT) gcc $(srcdir)
4214
4215 #
4216
4217 # Dependency information.
4218
4219 # In order for parallel make to really start compiling the expensive
4220 # objects from $(OBJS) as early as possible, build all their
4221 # prerequisites strictly before all objects.
4222 $(ALL_HOST_OBJS) : | $(generated_files)
4223
4224 # Include the auto-generated dependencies for all host objects.
4225 DEPFILES = \
4226 $(foreach obj,$(ALL_HOST_OBJS),\
4227 $(dir $(obj))$(DEPDIR)/$(patsubst %.o,%.Po,$(notdir $(obj))))
4228 -include $(DEPFILES)