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