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