OSDN Git Service

PR testsuite/46860
[pf3gnuchains/gcc-fork.git] / Makefile.in
1
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
3 #
4 # Makefile for directory with subdirs to build.
5 #   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 #   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
7 #   Free Software Foundation
8 #
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
13
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3.  If not see
21 # <http://www.gnu.org/licenses/>.
22 #
23
24 # First, test for a proper version of make, but only where one is required.
25
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
31
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
36
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
49
50 program_transform_name = @program_transform_name@
51
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
54
55 srcdir = @srcdir@
56
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
82
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
92
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
96
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
99
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
102
103 GDB_NLM_DEPS = 
104
105 # This is the name of the environment variable used for the path to
106 # the libraries.
107 RPATH_ENVVAR = @RPATH_ENVVAR@
108
109 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
110 # is used instead of the directory itself to avoid including built
111 # executables in PATH.
112 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
113
114 # Build programs are put under this directory.
115 BUILD_SUBDIR = @build_subdir@
116 # This is set by the configure script to the arguments to use when configuring
117 # directories built for the build system.
118 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
119
120 # Linker flags to use on the host, for stage1 or when not
121 # bootstrapping.
122 STAGE1_LDFLAGS = @stage1_ldflags@
123
124 # Libraries to use on the host, for stage1 or when not bootstrapping.
125 STAGE1_LIBS = @stage1_libs@
126
127 # Linker flags to use for stage2 and later.
128 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
129
130 # Libraries to use for stage2 and later.
131 POSTSTAGE1_LIBS = @poststage1_libs@
132
133 # This is the list of variables to export in the environment when
134 # configuring any subdirectory.  It must also be exported whenever
135 # recursing into a build directory in case that directory's Makefile
136 # re-runs configure.
137 BASE_EXPORTS = \
138         FLEX="$(FLEX)"; export FLEX; \
139         LEX="$(LEX)"; export LEX; \
140         BISON="$(BISON)"; export BISON; \
141         YACC="$(YACC)"; export YACC; \
142         M4="$(M4)"; export M4; \
143         SED="$(SED)"; export SED; \
144         AWK="$(AWK)"; export AWK; \
145         MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
146
147 # This is the list of variables to export in the environment when
148 # configuring subdirectories for the build system.
149 BUILD_EXPORTS = \
150         $(BASE_EXPORTS) \
151         AR="$(AR_FOR_BUILD)"; export AR; \
152         AS="$(AS_FOR_BUILD)"; export AS; \
153         CC="$(CC_FOR_BUILD)"; export CC; \
154         CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
155         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
156         CXX="$(CXX_FOR_BUILD)"; export CXX; \
157         CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
158         GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
159         GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
160         GOC="$(GOC_FOR_BUILD)"; export GOC; \
161         GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
162         DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
163         LD="$(LD_FOR_BUILD)"; export LD; \
164         LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
165         NM="$(NM_FOR_BUILD)"; export NM; \
166         RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
167         WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
168         WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
169
170 # These variables must be set on the make command line for directories
171 # built for the build system to override those in BASE_FLAGS_TO_PASSS.
172 EXTRA_BUILD_FLAGS = \
173         CFLAGS="$(CFLAGS_FOR_BUILD)" \
174         LDFLAGS="$(LDFLAGS_FOR_BUILD)"
175
176 # This is the list of directories to built for the host system.
177 SUBDIRS = @configdirs@
178 TARGET_CONFIGDIRS = @target_configdirs@
179 # This is set by the configure script to the arguments to use when configuring
180 # directories built for the host system.
181 HOST_CONFIGARGS = @host_configargs@
182 # Host programs are put under this directory, which is . except if building
183 # with srcdir=..
184 HOST_SUBDIR = @host_subdir@
185 # This is the list of variables to export in the environment when
186 # configuring subdirectories for the host system.  We need to pass
187 # some to the GCC configure because of its hybrid host/target nature.
188 HOST_EXPORTS = \
189         $(BASE_EXPORTS) \
190         CC="$(CC)"; export CC; \
191         ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
192         CFLAGS="$(CFLAGS)"; export CFLAGS; \
193         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
194         CXX="$(CXX)"; export CXX; \
195         CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
196         GCJ="$(GCJ)"; export GCJ; \
197         GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
198         GOC="$(GOC)"; export GOC; \
199         AR="$(AR)"; export AR; \
200         AS="$(AS)"; export AS; \
201         CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
202         DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
203         LD="$(LD)"; export LD; \
204         LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
205         NM="$(NM)"; export NM; \
206         RANLIB="$(RANLIB)"; export RANLIB; \
207         WINDRES="$(WINDRES)"; export WINDRES; \
208         WINDMC="$(WINDMC)"; export WINDMC; \
209         OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
210         OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
211         AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
212         AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
213         GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
214         LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
215         NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
216         OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
217         RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
218         TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219         HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220         GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221         GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222         PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
223         PPLINC="$(HOST_PPLINC)"; export PPLINC; \
224         CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
225         CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
226         LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
227         LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
228 @if gcc-bootstrap
229         $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
230 @endif gcc-bootstrap
231         $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
232
233 POSTSTAGE1_CXX_EXPORT = \
234         CXX='$(CXX)'; export CXX; \
235         CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
236 @if target-libstdc++-v3-bootstrap
237 # Override the above if we're bootstrapping C++.
238 POSTSTAGE1_CXX_EXPORT = \
239         CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
240           -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
241           -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
242           -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
243           -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
244           -I$$s/libstdc++-v3/libsupc++ \
245           -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \
246         CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
247 @endif target-libstdc++-v3-bootstrap
248
249 # Similar, for later GCC stages.
250 POSTSTAGE1_HOST_EXPORTS = \
251         $(HOST_EXPORTS) \
252         CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
253           -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
254           $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
255         CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
256         $(POSTSTAGE1_CXX_EXPORT) \
257         GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
258         LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
259         HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
260
261 # Target libraries are put under this directory:
262 TARGET_SUBDIR = @target_subdir@
263 # This is set by the configure script to the arguments to use when configuring
264 # directories built for the target.
265 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
266 # This is the list of variables to export in the environment when
267 # configuring subdirectories for the target system.
268 BASE_TARGET_EXPORTS = \
269         $(BASE_EXPORTS) \
270         AR="$(AR_FOR_TARGET)"; export AR; \
271         AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
272         CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
273         CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
274         CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
275         CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
276         CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
277         GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
278         GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
279         GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
280         DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
281         LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
282         LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
283         LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
284         NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
285         OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
286         RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
287         STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
288         WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
289         WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
290 @if gcc-bootstrap
291         $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
292 @endif gcc-bootstrap
293         $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
294         TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
295
296 RAW_CXX_TARGET_EXPORTS = \
297         $(BASE_TARGET_EXPORTS) \
298         CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
299         CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
300
301 NORMAL_TARGET_EXPORTS = \
302         $(BASE_TARGET_EXPORTS) \
303         CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304
305 # Where to find GMP
306 HOST_GMPLIBS = @gmplibs@
307 HOST_GMPINC = @gmpinc@
308
309 # Where to find PPL
310 HOST_PPLLIBS = @ppllibs@
311 HOST_PPLINC = @pplinc@
312
313 # Where to find CLOOG
314 HOST_CLOOGLIBS = @clooglibs@
315 HOST_CLOOGINC = @clooginc@
316
317 # Where to find libelf
318 HOST_LIBELFLIBS = @libelflibs@
319 HOST_LIBELFINC = @libelfinc@
320
321 # ----------------------------------------------
322 # Programs producing files for the BUILD machine
323 # ----------------------------------------------
324
325 SHELL = @config_shell@
326
327 # pwd command to use.  Allow user to override default by setting PWDCMD in
328 # the environment to account for automounters.  The make variable must not
329 # be called PWDCMD, otherwise the value set here is passed to make
330 # subprocesses and overrides the setting from the user's environment.
331 # Don't use PWD since it is a common shell environment variable and we
332 # don't want to corrupt it.
333 PWD_COMMAND = $${PWDCMD-pwd}
334
335 # compilers to use to create programs which must be run in the build
336 # environment.
337 AR_FOR_BUILD = @AR_FOR_BUILD@
338 AS_FOR_BUILD = @AS_FOR_BUILD@
339 CC_FOR_BUILD = @CC_FOR_BUILD@
340 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
341 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
342 CXX_FOR_BUILD = @CXX_FOR_BUILD@
343 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
344 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
345 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
346 GOC_FOR_BUILD = @GOC_FOR_BUILD@
347 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
348 LD_FOR_BUILD = @LD_FOR_BUILD@
349 NM_FOR_BUILD = @NM_FOR_BUILD@
350 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
351 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
352 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
353
354 # Special variables passed down in EXTRA_GCC_FLAGS.  They are defined
355 # here so that they can be overridden by Makefile fragments.
356 BUILD_PREFIX = @BUILD_PREFIX@
357 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
358
359 # Flags to pass to stage2 and later makes.  They are defined
360 # here so that they can be overridden by Makefile fragments.
361 BOOT_CFLAGS= -g -O2
362 BOOT_LDFLAGS=
363 BOOT_ADAFLAGS=-gnatpg -gnata
364
365 AWK = @AWK@
366 SED = @SED@
367 BISON = @BISON@
368 YACC = @YACC@
369 FLEX = @FLEX@
370 LEX = @LEX@
371 M4 = @M4@
372 MAKEINFO = @MAKEINFO@
373 EXPECT = @EXPECT@
374 RUNTEST = @RUNTEST@
375
376 # This just becomes part of the MAKEINFO definition passed down to
377 # sub-makes.  It lets flags be given on the command line while still
378 # using the makeinfo from the object tree.
379 # (Default to avoid splitting info files by setting the threshold high.)
380 MAKEINFOFLAGS = --split-size=5000000
381
382 # ---------------------------------------------
383 # Programs producing files for the HOST machine
384 # ---------------------------------------------
385
386 AS = @AS@
387 AR = @AR@
388 AR_FLAGS = rc
389 CC = @CC@
390 CXX = @CXX@
391 DLLTOOL = @DLLTOOL@
392 LD = @LD@
393 LIPO = @LIPO@
394 NM = @NM@
395 OBJDUMP = @OBJDUMP@
396 RANLIB = @RANLIB@
397 STRIP = @STRIP@
398 WINDRES = @WINDRES@
399 WINDMC = @WINDMC@
400
401 GNATBIND = @GNATBIND@
402 GNATMAKE = @GNATMAKE@
403
404 CFLAGS = @CFLAGS@
405 LDFLAGS = @LDFLAGS@
406 LIBCFLAGS = $(CFLAGS)
407 CXXFLAGS = @CXXFLAGS@
408 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
409 GOCFLAGS = $(CFLAGS)
410
411 TFLAGS =
412
413 # Defaults for all stages; some are overridden below.
414
415 STAGE_CFLAGS = $(BOOT_CFLAGS)
416 STAGE_TFLAGS = $(TFLAGS)
417 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
418
419
420 # Defaults for stage 1; some are overridden below.
421 STAGE1_CFLAGS = $(STAGE_CFLAGS)
422 STAGE1_CXXFLAGS = $(CXXFLAGS)
423 @if target-libstdc++-v3-bootstrap
424 # Override the above if we're bootstrapping C++.
425 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
426 @endif target-libstdc++-v3-bootstrap
427 STAGE1_TFLAGS = $(STAGE_TFLAGS)
428 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
429
430 # Defaults for stage 2; some are overridden below.
431 STAGE2_CFLAGS = $(STAGE_CFLAGS)
432 STAGE2_CXXFLAGS = $(CXXFLAGS)
433 @if target-libstdc++-v3-bootstrap
434 # Override the above if we're bootstrapping C++.
435 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
436 @endif target-libstdc++-v3-bootstrap
437 STAGE2_TFLAGS = $(STAGE_TFLAGS)
438 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
439
440 # Defaults for stage 3; some are overridden below.
441 STAGE3_CFLAGS = $(STAGE_CFLAGS)
442 STAGE3_CXXFLAGS = $(CXXFLAGS)
443 @if target-libstdc++-v3-bootstrap
444 # Override the above if we're bootstrapping C++.
445 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
446 @endif target-libstdc++-v3-bootstrap
447 STAGE3_TFLAGS = $(STAGE_TFLAGS)
448 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
449
450 # Defaults for stage 4; some are overridden below.
451 STAGE4_CFLAGS = $(STAGE_CFLAGS)
452 STAGE4_CXXFLAGS = $(CXXFLAGS)
453 @if target-libstdc++-v3-bootstrap
454 # Override the above if we're bootstrapping C++.
455 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
456 @endif target-libstdc++-v3-bootstrap
457 STAGE4_TFLAGS = $(STAGE_TFLAGS)
458 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
459
460 # Defaults for stage profile; some are overridden below.
461 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
462 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
463 @if target-libstdc++-v3-bootstrap
464 # Override the above if we're bootstrapping C++.
465 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
466 @endif target-libstdc++-v3-bootstrap
467 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
468 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
469
470 # Defaults for stage feedback; some are overridden below.
471 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
472 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
473 @if target-libstdc++-v3-bootstrap
474 # Override the above if we're bootstrapping C++.
475 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
476 @endif target-libstdc++-v3-bootstrap
477 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
478 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
479
480
481 # Only build the C compiler for stage1, because that is the only one that
482 # we can guarantee will build with the native compiler, and also it is the
483 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
484 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
485 # overrideable (for a bootstrap build stage1 also builds gcc.info).
486
487 STAGE1_CFLAGS = @stage1_cflags@
488 STAGE1_CHECKING = @stage1_checking@
489 STAGE1_LANGUAGES = @stage1_languages@
490 # * We force-disable intermodule optimizations, even if
491 #   --enable-intermodule was passed, since the installed compiler
492 #   probably can't handle them.  Luckily, autoconf always respects
493 #   the last argument when conflicting --enable arguments are passed.
494 # * Likewise, we force-disable coverage flags, since the installed
495 #   compiler probably has never heard of them.
496 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
497           --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
498
499 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
500 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
501
502 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
503 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
504
505 do-compare = @do_compare@
506 do-compare3 = $(do-compare)
507
508 # -----------------------------------------------
509 # Programs producing files for the TARGET machine
510 # -----------------------------------------------
511
512 AR_FOR_TARGET=@AR_FOR_TARGET@
513 AS_FOR_TARGET=@AS_FOR_TARGET@
514 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
515
516 # If GCC_FOR_TARGET is not overriden on the command line, then this
517 # variable is passed down to the gcc Makefile, where it is used to
518 # build libgcc2.a.  We define it here so that it can itself be
519 # overridden on the command line.
520 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
521 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
522 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
523 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
524 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
525 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
526 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
527 LD_FOR_TARGET=@LD_FOR_TARGET@
528
529 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
530 NM_FOR_TARGET=@NM_FOR_TARGET@
531 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
532 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
533 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
534 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
535 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
536
537 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
538 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
539 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
540
541 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
542 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
543
544 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
545 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
546 LDFLAGS_FOR_TARGET = 
547 GOCFLAGS_FOR_TARGET = -O2 -g
548
549 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
550 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
551 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
552
553 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
554
555 # ------------------------------------
556 # Miscellaneous targets and flag lists
557 # ------------------------------------
558
559 # The first rule in the file had better be this one.  Don't put any above it.
560 # This lives here to allow makefile fragments to contain dependencies.
561 all:
562
563 #### host and target specific makefile fragments come in here.
564 @target_makefile_frag@
565 @alphaieee_frag@
566 @ospace_frag@
567 @host_makefile_frag@
568 ###
569
570 # This is the list of directories that may be needed in RPATH_ENVVAR
571 # so that programs built for the target machine work.
572 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
573
574 @if target-libstdc++-v3
575 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
576 @endif target-libstdc++-v3
577
578 @if target-libmudflap
579 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
580 @endif target-libmudflap
581
582 @if target-libssp
583 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
584 @endif target-libssp
585
586 @if target-libgomp
587 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
588 @endif target-libgomp
589
590
591
592 # This is the list of directories that may be needed in RPATH_ENVVAR
593 # so that programs built for the host machine work.
594 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
595
596 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
597 @if gcc
598 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
599 @endif gcc
600
601
602 @if bfd
603 HOST_LIB_PATH_bfd = \
604   $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
605 @endif bfd
606
607 @if opcodes
608 HOST_LIB_PATH_opcodes = \
609   $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
610 @endif opcodes
611
612 @if gmp
613 HOST_LIB_PATH_gmp = \
614   $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
615 @endif gmp
616
617 @if mpfr
618 HOST_LIB_PATH_mpfr = \
619   $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
620 @endif mpfr
621
622 @if mpc
623 HOST_LIB_PATH_mpc = \
624   $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
625 @endif mpc
626
627 @if ppl
628 HOST_LIB_PATH_ppl = \
629   $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs:
630 @endif ppl
631
632 @if cloog
633 HOST_LIB_PATH_cloog = \
634   $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
635 @endif cloog
636
637 @if libelf
638 HOST_LIB_PATH_libelf = \
639   $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
640 @endif libelf
641
642
643 CXX_FOR_TARGET_FLAG_TO_PASS = \
644         "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
645 @if target-libstdc++-v3
646 # CXX_FOR_TARGET is tricky to get right for target libs that require a
647 # functional C++ compiler.  When we recurse, if we expand
648 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
649 # libstdc++ include flags from the script.  Instead, we get an
650 # -funconfigured-* word, so that we'll get errors if this invalid C++
651 # command line is used for anything, but also so that we can use the
652 # word to decide whether or not to pass on this CXX_FOR_TARGET.  If we
653 # don't pass it on, sub-make will use the default definition, that
654 # re-expands it at the time of use, so we'll get it right when we need
655 # it.  One potential exception is the expansion of CXX_FOR_TARGET
656 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
657 # really work, for C++ host programs can't depend on the current-stage
658 # C++ target library.
659 CXX_FOR_TARGET_FLAG_TO_PASS = \
660         $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
661 @endif target-libstdc++-v3
662
663 # Flags to pass down to all sub-makes.
664 BASE_FLAGS_TO_PASS = \
665         "DESTDIR=$(DESTDIR)" \
666         "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
667         "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
668         "bindir=$(bindir)" \
669         "datadir=$(datadir)" \
670         "exec_prefix=$(exec_prefix)" \
671         "includedir=$(includedir)" \
672         "datarootdir=$(datarootdir)" \
673         "docdir=$(docdir)" \
674         "infodir=$(infodir)" \
675         "pdfdir=$(pdfdir)" \
676         "htmldir=$(htmldir)" \
677         "libdir=$(libdir)" \
678         "libexecdir=$(libexecdir)" \
679         "lispdir=$(lispdir)" \
680         "localstatedir=$(localstatedir)" \
681         "mandir=$(mandir)" \
682         "oldincludedir=$(oldincludedir)" \
683         "prefix=$(prefix)" \
684         "sbindir=$(sbindir)" \
685         "sharedstatedir=$(sharedstatedir)" \
686         "sysconfdir=$(sysconfdir)" \
687         "tooldir=$(tooldir)" \
688         "build_tooldir=$(build_tooldir)" \
689         "target_alias=$(target_alias)" \
690         "AWK=$(AWK)" \
691         "BISON=$(BISON)" \
692         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
693         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
694         "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
695         "EXPECT=$(EXPECT)" \
696         "FLEX=$(FLEX)" \
697         "INSTALL=$(INSTALL)" \
698         "INSTALL_DATA=$(INSTALL_DATA)" \
699         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
700         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
701         "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
702         "LEX=$(LEX)" \
703         "M4=$(M4)" \
704         "MAKE=$(MAKE)" \
705         "RUNTEST=$(RUNTEST)" \
706         "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
707         "SED=$(SED)" \
708         "SHELL=$(SHELL)" \
709         "YACC=$(YACC)" \
710         "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
711         "ADA_CFLAGS=$(ADA_CFLAGS)" \
712         "AR_FLAGS=$(AR_FLAGS)" \
713         "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
714         "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
715         "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
716         "CFLAGS=$(CFLAGS)" \
717         "CXXFLAGS=$(CXXFLAGS)" \
718         "LDFLAGS=$(LDFLAGS)" \
719         "LIBCFLAGS=$(LIBCFLAGS)" \
720         "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
721         "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
722         "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
723         "GNATBIND=$(GNATBIND)" \
724         "GNATMAKE=$(GNATMAKE)" \
725         "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
726         "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
727         "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
728         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
729         "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
730         "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
731         "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
732         "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
733         "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
734         "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
735         "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
736         "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
737         "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
738         "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
739         "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
740         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
741         "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
742         "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
743         "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
744         "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
745         "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
746         "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
747         "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
748         "BUILD_CONFIG=$(BUILD_CONFIG)" \
749         "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
750         "LEAN=$(LEAN)" \
751         "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
752         "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
753         "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
754         "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
755         "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
756         "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
757         "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
758         "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
759         "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
760         "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
761         "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
762         "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
763         "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
764         "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
765         "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
766         "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
767         "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
768         "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
769         $(CXX_FOR_TARGET_FLAG_TO_PASS) \
770         "TFLAGS=$(TFLAGS)" \
771         "CONFIG_SHELL=$(SHELL)" \
772         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 
773
774 # We leave this in just in case, but it is not needed anymore.
775 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
776
777 # Flags to pass down to most sub-makes, in which we're building with
778 # the host environment.
779 EXTRA_HOST_FLAGS = \
780         'AR=$(AR)' \
781         'AS=$(AS)' \
782         'CC=$(CC)' \
783         'CXX=$(CXX)' \
784         'DLLTOOL=$(DLLTOOL)' \
785         'GCJ=$(GCJ)' \
786         'GFORTRAN=$(GFORTRAN)' \
787         'GOC=$(GOC)' \
788         'LD=$(LD)' \
789         'LIPO=$(LIPO)' \
790         'NM=$(NM)' \
791         'OBJDUMP=$(OBJDUMP)' \
792         'RANLIB=$(RANLIB)' \
793         'STRIP=$(STRIP)' \
794         'WINDRES=$(WINDRES)' \
795         'WINDMC=$(WINDMC)'
796
797 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
798
799 # Flags that are concerned with the location of the X11 include files
800 # and library files
801 #
802 # NOTE: until the top-level is getting the values via autoconf, it only
803 # causes problems to have this top-level Makefile overriding the autoconf-set
804 # values in child directories.  Only variables that don't conflict with
805 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
806 #
807 X11_FLAGS_TO_PASS = \
808         'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
809         'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
810
811 # Flags to pass to stage2 and later makes.
812
813 POSTSTAGE1_FLAGS_TO_PASS = \
814         CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
815         CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
816         GNATBIND="$${GNATBIND}" \
817         LDFLAGS="$${LDFLAGS}" \
818         HOST_LIBS="$${HOST_LIBS}" \
819         "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
820
821 # Flags to pass down to makes which are built with the target environment.
822 # The double $ decreases the length of the command line; those variables
823 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.  The
824 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
825 # so we expand them here.
826 EXTRA_TARGET_FLAGS = \
827         'AR=$$(AR_FOR_TARGET)' \
828         'AS=$(COMPILER_AS_FOR_TARGET)' \
829         'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
830         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
831         'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
832         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
833         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
834         'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
835         'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
836         'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
837         'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
838         'LD=$(COMPILER_LD_FOR_TARGET)' \
839         'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
840         'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
841         'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
842         'NM=$(COMPILER_NM_FOR_TARGET)' \
843         'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
844         'RANLIB=$$(RANLIB_FOR_TARGET)' \
845         'WINDRES=$$(WINDRES_FOR_TARGET)' \
846         'WINDMC=$$(WINDMC_FOR_TARGET)' \
847         'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
848         "TFLAGS=$$TFLAGS"
849
850 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
851
852 # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
853 # unfortunately needs the native compiler and the target ar and
854 # ranlib.
855 # If any variables are added here, they must be added to do-*, below.
856 # The BUILD_* variables are a special case, which are used for the gcc
857 # cross-building scheme.
858 EXTRA_GCC_FLAGS = \
859         "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
860         "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
861         "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
862         "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
863         "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
864         "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
865
866 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
867
868 @if gcc
869 BUILD_CONFIG = @BUILD_CONFIG@
870 ifneq ($(BUILD_CONFIG),)
871 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
872 endif
873 @endif gcc
874
875 .PHONY: configure-host
876 configure-host:  \
877     maybe-configure-ash \
878     maybe-configure-autoconf \
879     maybe-configure-automake \
880     maybe-configure-bash \
881     maybe-configure-bfd \
882     maybe-configure-opcodes \
883     maybe-configure-binutils \
884     maybe-configure-bison \
885     maybe-configure-byacc \
886     maybe-configure-bzip2 \
887     maybe-configure-cgen \
888     maybe-configure-dejagnu \
889     maybe-configure-diff \
890     maybe-configure-dosutils \
891     maybe-configure-etc \
892     maybe-configure-fastjar \
893     maybe-configure-fileutils \
894     maybe-configure-findutils \
895     maybe-configure-find \
896     maybe-configure-fixincludes \
897     maybe-configure-flex \
898     maybe-configure-gas \
899     maybe-configure-gcc \
900     maybe-configure-gawk \
901     maybe-configure-gettext \
902     maybe-configure-gmp \
903     maybe-configure-mpfr \
904     maybe-configure-mpc \
905     maybe-configure-ppl \
906     maybe-configure-cloog \
907     maybe-configure-libelf \
908     maybe-configure-gnuserv \
909     maybe-configure-gold \
910     maybe-configure-gprof \
911     maybe-configure-gzip \
912     maybe-configure-hello \
913     maybe-configure-indent \
914     maybe-configure-intl \
915     maybe-configure-tcl \
916     maybe-configure-itcl \
917     maybe-configure-ld \
918     maybe-configure-libcpp \
919     maybe-configure-libdecnumber \
920     maybe-configure-libgui \
921     maybe-configure-libiberty \
922     maybe-configure-libiconv \
923     maybe-configure-libtool \
924     maybe-configure-m4 \
925     maybe-configure-make \
926     maybe-configure-mmalloc \
927     maybe-configure-patch \
928     maybe-configure-perl \
929     maybe-configure-prms \
930     maybe-configure-rcs \
931     maybe-configure-readline \
932     maybe-configure-release \
933     maybe-configure-recode \
934     maybe-configure-sed \
935     maybe-configure-send-pr \
936     maybe-configure-shellutils \
937     maybe-configure-sid \
938     maybe-configure-sim \
939     maybe-configure-tar \
940     maybe-configure-texinfo \
941     maybe-configure-textutils \
942     maybe-configure-time \
943     maybe-configure-uudecode \
944     maybe-configure-wdiff \
945     maybe-configure-zip \
946     maybe-configure-zlib \
947     maybe-configure-gdb \
948     maybe-configure-expect \
949     maybe-configure-guile \
950     maybe-configure-tk \
951     maybe-configure-libtermcap \
952     maybe-configure-utils \
953     maybe-configure-gnattools \
954     maybe-configure-lto-plugin
955 .PHONY: configure-target
956 configure-target:  \
957     maybe-configure-target-libstdc++-v3 \
958     maybe-configure-target-libmudflap \
959     maybe-configure-target-libssp \
960     maybe-configure-target-newlib \
961     maybe-configure-target-libgcc \
962     maybe-configure-target-libquadmath \
963     maybe-configure-target-libgfortran \
964     maybe-configure-target-libobjc \
965     maybe-configure-target-libgo \
966     maybe-configure-target-libtermcap \
967     maybe-configure-target-winsup \
968     maybe-configure-target-libgloss \
969     maybe-configure-target-libiberty \
970     maybe-configure-target-gperf \
971     maybe-configure-target-examples \
972     maybe-configure-target-libffi \
973     maybe-configure-target-libjava \
974     maybe-configure-target-zlib \
975     maybe-configure-target-boehm-gc \
976     maybe-configure-target-qthreads \
977     maybe-configure-target-rda \
978     maybe-configure-target-libada \
979     maybe-configure-target-libgomp
980
981 # The target built for a native non-bootstrap build.
982 .PHONY: all
983 all:
984 @if gcc-bootstrap
985         [ -f stage_final ] || echo stage3 > stage_final
986         @r=`${PWD_COMMAND}`; export r; \
987         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
988         $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
989 @endif gcc-bootstrap
990         @: $(MAKE); $(unstage)
991         @r=`${PWD_COMMAND}`; export r; \
992         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
993 @if gcc-bootstrap
994         if [ -f stage_last ]; then \
995           TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
996           $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
997         else \
998 @endif gcc-bootstrap
999           $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1000 @if gcc-bootstrap
1001             ; \
1002         fi \
1003 @endif gcc-bootstrap
1004         && :
1005
1006 .PHONY: all-build
1007
1008 all-build: maybe-all-build-libiberty
1009 all-build: maybe-all-build-bison
1010 all-build: maybe-all-build-byacc
1011 all-build: maybe-all-build-flex
1012 all-build: maybe-all-build-m4
1013 all-build: maybe-all-build-texinfo
1014 all-build: maybe-all-build-fixincludes
1015
1016 .PHONY: all-host
1017
1018 all-host: maybe-all-ash
1019 all-host: maybe-all-autoconf
1020 all-host: maybe-all-automake
1021 all-host: maybe-all-bash
1022 @if bfd-no-bootstrap
1023 all-host: maybe-all-bfd
1024 @endif bfd-no-bootstrap
1025 @if opcodes-no-bootstrap
1026 all-host: maybe-all-opcodes
1027 @endif opcodes-no-bootstrap
1028 @if binutils-no-bootstrap
1029 all-host: maybe-all-binutils
1030 @endif binutils-no-bootstrap
1031 all-host: maybe-all-bison
1032 all-host: maybe-all-byacc
1033 all-host: maybe-all-bzip2
1034 all-host: maybe-all-cgen
1035 all-host: maybe-all-dejagnu
1036 all-host: maybe-all-diff
1037 all-host: maybe-all-dosutils
1038 all-host: maybe-all-etc
1039 all-host: maybe-all-fastjar
1040 all-host: maybe-all-fileutils
1041 all-host: maybe-all-findutils
1042 all-host: maybe-all-find
1043 all-host: maybe-all-fixincludes
1044 all-host: maybe-all-flex
1045 @if gas-no-bootstrap
1046 all-host: maybe-all-gas
1047 @endif gas-no-bootstrap
1048 @if gcc-no-bootstrap
1049 all-host: maybe-all-gcc
1050 @endif gcc-no-bootstrap
1051 all-host: maybe-all-gawk
1052 all-host: maybe-all-gettext
1053 @if gmp-no-bootstrap
1054 all-host: maybe-all-gmp
1055 @endif gmp-no-bootstrap
1056 @if mpfr-no-bootstrap
1057 all-host: maybe-all-mpfr
1058 @endif mpfr-no-bootstrap
1059 @if mpc-no-bootstrap
1060 all-host: maybe-all-mpc
1061 @endif mpc-no-bootstrap
1062 @if ppl-no-bootstrap
1063 all-host: maybe-all-ppl
1064 @endif ppl-no-bootstrap
1065 @if cloog-no-bootstrap
1066 all-host: maybe-all-cloog
1067 @endif cloog-no-bootstrap
1068 @if libelf-no-bootstrap
1069 all-host: maybe-all-libelf
1070 @endif libelf-no-bootstrap
1071 all-host: maybe-all-gnuserv
1072 @if gold-no-bootstrap
1073 all-host: maybe-all-gold
1074 @endif gold-no-bootstrap
1075 all-host: maybe-all-gprof
1076 all-host: maybe-all-gzip
1077 all-host: maybe-all-hello
1078 all-host: maybe-all-indent
1079 @if intl-no-bootstrap
1080 all-host: maybe-all-intl
1081 @endif intl-no-bootstrap
1082 all-host: maybe-all-tcl
1083 all-host: maybe-all-itcl
1084 @if ld-no-bootstrap
1085 all-host: maybe-all-ld
1086 @endif ld-no-bootstrap
1087 @if libcpp-no-bootstrap
1088 all-host: maybe-all-libcpp
1089 @endif libcpp-no-bootstrap
1090 @if libdecnumber-no-bootstrap
1091 all-host: maybe-all-libdecnumber
1092 @endif libdecnumber-no-bootstrap
1093 all-host: maybe-all-libgui
1094 @if libiberty-no-bootstrap
1095 all-host: maybe-all-libiberty
1096 @endif libiberty-no-bootstrap
1097 all-host: maybe-all-libiconv
1098 all-host: maybe-all-libtool
1099 all-host: maybe-all-m4
1100 all-host: maybe-all-make
1101 all-host: maybe-all-mmalloc
1102 all-host: maybe-all-patch
1103 all-host: maybe-all-perl
1104 all-host: maybe-all-prms
1105 all-host: maybe-all-rcs
1106 all-host: maybe-all-readline
1107 all-host: maybe-all-release
1108 all-host: maybe-all-recode
1109 all-host: maybe-all-sed
1110 all-host: maybe-all-send-pr
1111 all-host: maybe-all-shellutils
1112 all-host: maybe-all-sid
1113 all-host: maybe-all-sim
1114 all-host: maybe-all-tar
1115 all-host: maybe-all-texinfo
1116 all-host: maybe-all-textutils
1117 all-host: maybe-all-time
1118 all-host: maybe-all-uudecode
1119 all-host: maybe-all-wdiff
1120 all-host: maybe-all-zip
1121 @if zlib-no-bootstrap
1122 all-host: maybe-all-zlib
1123 @endif zlib-no-bootstrap
1124 all-host: maybe-all-gdb
1125 all-host: maybe-all-expect
1126 all-host: maybe-all-guile
1127 all-host: maybe-all-tk
1128 all-host: maybe-all-libtermcap
1129 all-host: maybe-all-utils
1130 all-host: maybe-all-gnattools
1131 @if lto-plugin-no-bootstrap
1132 all-host: maybe-all-lto-plugin
1133 @endif lto-plugin-no-bootstrap
1134
1135 .PHONY: all-target
1136
1137 @if target-libstdc++-v3-no-bootstrap
1138 all-target: maybe-all-target-libstdc++-v3
1139 @endif target-libstdc++-v3-no-bootstrap
1140 all-target: maybe-all-target-libmudflap
1141 all-target: maybe-all-target-libssp
1142 all-target: maybe-all-target-newlib
1143 @if target-libgcc-no-bootstrap
1144 all-target: maybe-all-target-libgcc
1145 @endif target-libgcc-no-bootstrap
1146 all-target: maybe-all-target-libquadmath
1147 all-target: maybe-all-target-libgfortran
1148 all-target: maybe-all-target-libobjc
1149 all-target: maybe-all-target-libgo
1150 all-target: maybe-all-target-libtermcap
1151 all-target: maybe-all-target-winsup
1152 all-target: maybe-all-target-libgloss
1153 all-target: maybe-all-target-libiberty
1154 all-target: maybe-all-target-gperf
1155 all-target: maybe-all-target-examples
1156 all-target: maybe-all-target-libffi
1157 all-target: maybe-all-target-libjava
1158 all-target: maybe-all-target-zlib
1159 all-target: maybe-all-target-boehm-gc
1160 all-target: maybe-all-target-qthreads
1161 all-target: maybe-all-target-rda
1162 all-target: maybe-all-target-libada
1163 @if target-libgomp-no-bootstrap
1164 all-target: maybe-all-target-libgomp
1165 @endif target-libgomp-no-bootstrap
1166
1167 # Do a target for all the subdirectories.  A ``make do-X'' will do a
1168 # ``make X'' in all subdirectories (because, in general, there is a
1169 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1170 # but it may do additional work as well).
1171
1172 .PHONY: do-info
1173 do-info:
1174         @: $(MAKE); $(unstage)
1175         @r=`${PWD_COMMAND}`; export r; \
1176         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1177         $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1178           info-target
1179
1180
1181 .PHONY: info-host
1182
1183 info-host: maybe-info-ash
1184 info-host: maybe-info-autoconf
1185 info-host: maybe-info-automake
1186 info-host: maybe-info-bash
1187 info-host: maybe-info-bfd
1188 info-host: maybe-info-opcodes
1189 info-host: maybe-info-binutils
1190 info-host: maybe-info-bison
1191 info-host: maybe-info-byacc
1192 info-host: maybe-info-bzip2
1193 info-host: maybe-info-cgen
1194 info-host: maybe-info-dejagnu
1195 info-host: maybe-info-diff
1196 info-host: maybe-info-dosutils
1197 info-host: maybe-info-etc
1198 info-host: maybe-info-fastjar
1199 info-host: maybe-info-fileutils
1200 info-host: maybe-info-findutils
1201 info-host: maybe-info-find
1202 info-host: maybe-info-fixincludes
1203 info-host: maybe-info-flex
1204 info-host: maybe-info-gas
1205 info-host: maybe-info-gcc
1206 info-host: maybe-info-gawk
1207 info-host: maybe-info-gettext
1208 info-host: maybe-info-gmp
1209 info-host: maybe-info-mpfr
1210 info-host: maybe-info-mpc
1211 info-host: maybe-info-ppl
1212 info-host: maybe-info-cloog
1213 info-host: maybe-info-libelf
1214 info-host: maybe-info-gnuserv
1215 info-host: maybe-info-gold
1216 info-host: maybe-info-gprof
1217 info-host: maybe-info-gzip
1218 info-host: maybe-info-hello
1219 info-host: maybe-info-indent
1220 info-host: maybe-info-intl
1221 info-host: maybe-info-tcl
1222 info-host: maybe-info-itcl
1223 info-host: maybe-info-ld
1224 info-host: maybe-info-libcpp
1225 info-host: maybe-info-libdecnumber
1226 info-host: maybe-info-libgui
1227 info-host: maybe-info-libiberty
1228 info-host: maybe-info-libiconv
1229 info-host: maybe-info-libtool
1230 info-host: maybe-info-m4
1231 info-host: maybe-info-make
1232 info-host: maybe-info-mmalloc
1233 info-host: maybe-info-patch
1234 info-host: maybe-info-perl
1235 info-host: maybe-info-prms
1236 info-host: maybe-info-rcs
1237 info-host: maybe-info-readline
1238 info-host: maybe-info-release
1239 info-host: maybe-info-recode
1240 info-host: maybe-info-sed
1241 info-host: maybe-info-send-pr
1242 info-host: maybe-info-shellutils
1243 info-host: maybe-info-sid
1244 info-host: maybe-info-sim
1245 info-host: maybe-info-tar
1246 info-host: maybe-info-texinfo
1247 info-host: maybe-info-textutils
1248 info-host: maybe-info-time
1249 info-host: maybe-info-uudecode
1250 info-host: maybe-info-wdiff
1251 info-host: maybe-info-zip
1252 info-host: maybe-info-zlib
1253 info-host: maybe-info-gdb
1254 info-host: maybe-info-expect
1255 info-host: maybe-info-guile
1256 info-host: maybe-info-tk
1257 info-host: maybe-info-libtermcap
1258 info-host: maybe-info-utils
1259 info-host: maybe-info-gnattools
1260 info-host: maybe-info-lto-plugin
1261
1262 .PHONY: info-target
1263
1264 info-target: maybe-info-target-libstdc++-v3
1265 info-target: maybe-info-target-libmudflap
1266 info-target: maybe-info-target-libssp
1267 info-target: maybe-info-target-newlib
1268 info-target: maybe-info-target-libgcc
1269 info-target: maybe-info-target-libquadmath
1270 info-target: maybe-info-target-libgfortran
1271 info-target: maybe-info-target-libobjc
1272 info-target: maybe-info-target-libgo
1273 info-target: maybe-info-target-libtermcap
1274 info-target: maybe-info-target-winsup
1275 info-target: maybe-info-target-libgloss
1276 info-target: maybe-info-target-libiberty
1277 info-target: maybe-info-target-gperf
1278 info-target: maybe-info-target-examples
1279 info-target: maybe-info-target-libffi
1280 info-target: maybe-info-target-libjava
1281 info-target: maybe-info-target-zlib
1282 info-target: maybe-info-target-boehm-gc
1283 info-target: maybe-info-target-qthreads
1284 info-target: maybe-info-target-rda
1285 info-target: maybe-info-target-libada
1286 info-target: maybe-info-target-libgomp
1287
1288 .PHONY: do-dvi
1289 do-dvi:
1290         @: $(MAKE); $(unstage)
1291         @r=`${PWD_COMMAND}`; export r; \
1292         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1293         $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1294           dvi-target
1295
1296
1297 .PHONY: dvi-host
1298
1299 dvi-host: maybe-dvi-ash
1300 dvi-host: maybe-dvi-autoconf
1301 dvi-host: maybe-dvi-automake
1302 dvi-host: maybe-dvi-bash
1303 dvi-host: maybe-dvi-bfd
1304 dvi-host: maybe-dvi-opcodes
1305 dvi-host: maybe-dvi-binutils
1306 dvi-host: maybe-dvi-bison
1307 dvi-host: maybe-dvi-byacc
1308 dvi-host: maybe-dvi-bzip2
1309 dvi-host: maybe-dvi-cgen
1310 dvi-host: maybe-dvi-dejagnu
1311 dvi-host: maybe-dvi-diff
1312 dvi-host: maybe-dvi-dosutils
1313 dvi-host: maybe-dvi-etc
1314 dvi-host: maybe-dvi-fastjar
1315 dvi-host: maybe-dvi-fileutils
1316 dvi-host: maybe-dvi-findutils
1317 dvi-host: maybe-dvi-find
1318 dvi-host: maybe-dvi-fixincludes
1319 dvi-host: maybe-dvi-flex
1320 dvi-host: maybe-dvi-gas
1321 dvi-host: maybe-dvi-gcc
1322 dvi-host: maybe-dvi-gawk
1323 dvi-host: maybe-dvi-gettext
1324 dvi-host: maybe-dvi-gmp
1325 dvi-host: maybe-dvi-mpfr
1326 dvi-host: maybe-dvi-mpc
1327 dvi-host: maybe-dvi-ppl
1328 dvi-host: maybe-dvi-cloog
1329 dvi-host: maybe-dvi-libelf
1330 dvi-host: maybe-dvi-gnuserv
1331 dvi-host: maybe-dvi-gold
1332 dvi-host: maybe-dvi-gprof
1333 dvi-host: maybe-dvi-gzip
1334 dvi-host: maybe-dvi-hello
1335 dvi-host: maybe-dvi-indent
1336 dvi-host: maybe-dvi-intl
1337 dvi-host: maybe-dvi-tcl
1338 dvi-host: maybe-dvi-itcl
1339 dvi-host: maybe-dvi-ld
1340 dvi-host: maybe-dvi-libcpp
1341 dvi-host: maybe-dvi-libdecnumber
1342 dvi-host: maybe-dvi-libgui
1343 dvi-host: maybe-dvi-libiberty
1344 dvi-host: maybe-dvi-libiconv
1345 dvi-host: maybe-dvi-libtool
1346 dvi-host: maybe-dvi-m4
1347 dvi-host: maybe-dvi-make
1348 dvi-host: maybe-dvi-mmalloc
1349 dvi-host: maybe-dvi-patch
1350 dvi-host: maybe-dvi-perl
1351 dvi-host: maybe-dvi-prms
1352 dvi-host: maybe-dvi-rcs
1353 dvi-host: maybe-dvi-readline
1354 dvi-host: maybe-dvi-release
1355 dvi-host: maybe-dvi-recode
1356 dvi-host: maybe-dvi-sed
1357 dvi-host: maybe-dvi-send-pr
1358 dvi-host: maybe-dvi-shellutils
1359 dvi-host: maybe-dvi-sid
1360 dvi-host: maybe-dvi-sim
1361 dvi-host: maybe-dvi-tar
1362 dvi-host: maybe-dvi-texinfo
1363 dvi-host: maybe-dvi-textutils
1364 dvi-host: maybe-dvi-time
1365 dvi-host: maybe-dvi-uudecode
1366 dvi-host: maybe-dvi-wdiff
1367 dvi-host: maybe-dvi-zip
1368 dvi-host: maybe-dvi-zlib
1369 dvi-host: maybe-dvi-gdb
1370 dvi-host: maybe-dvi-expect
1371 dvi-host: maybe-dvi-guile
1372 dvi-host: maybe-dvi-tk
1373 dvi-host: maybe-dvi-libtermcap
1374 dvi-host: maybe-dvi-utils
1375 dvi-host: maybe-dvi-gnattools
1376 dvi-host: maybe-dvi-lto-plugin
1377
1378 .PHONY: dvi-target
1379
1380 dvi-target: maybe-dvi-target-libstdc++-v3
1381 dvi-target: maybe-dvi-target-libmudflap
1382 dvi-target: maybe-dvi-target-libssp
1383 dvi-target: maybe-dvi-target-newlib
1384 dvi-target: maybe-dvi-target-libgcc
1385 dvi-target: maybe-dvi-target-libquadmath
1386 dvi-target: maybe-dvi-target-libgfortran
1387 dvi-target: maybe-dvi-target-libobjc
1388 dvi-target: maybe-dvi-target-libgo
1389 dvi-target: maybe-dvi-target-libtermcap
1390 dvi-target: maybe-dvi-target-winsup
1391 dvi-target: maybe-dvi-target-libgloss
1392 dvi-target: maybe-dvi-target-libiberty
1393 dvi-target: maybe-dvi-target-gperf
1394 dvi-target: maybe-dvi-target-examples
1395 dvi-target: maybe-dvi-target-libffi
1396 dvi-target: maybe-dvi-target-libjava
1397 dvi-target: maybe-dvi-target-zlib
1398 dvi-target: maybe-dvi-target-boehm-gc
1399 dvi-target: maybe-dvi-target-qthreads
1400 dvi-target: maybe-dvi-target-rda
1401 dvi-target: maybe-dvi-target-libada
1402 dvi-target: maybe-dvi-target-libgomp
1403
1404 .PHONY: do-pdf
1405 do-pdf:
1406         @: $(MAKE); $(unstage)
1407         @r=`${PWD_COMMAND}`; export r; \
1408         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1409         $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1410           pdf-target
1411
1412
1413 .PHONY: pdf-host
1414
1415 pdf-host: maybe-pdf-ash
1416 pdf-host: maybe-pdf-autoconf
1417 pdf-host: maybe-pdf-automake
1418 pdf-host: maybe-pdf-bash
1419 pdf-host: maybe-pdf-bfd
1420 pdf-host: maybe-pdf-opcodes
1421 pdf-host: maybe-pdf-binutils
1422 pdf-host: maybe-pdf-bison
1423 pdf-host: maybe-pdf-byacc
1424 pdf-host: maybe-pdf-bzip2
1425 pdf-host: maybe-pdf-cgen
1426 pdf-host: maybe-pdf-dejagnu
1427 pdf-host: maybe-pdf-diff
1428 pdf-host: maybe-pdf-dosutils
1429 pdf-host: maybe-pdf-etc
1430 pdf-host: maybe-pdf-fastjar
1431 pdf-host: maybe-pdf-fileutils
1432 pdf-host: maybe-pdf-findutils
1433 pdf-host: maybe-pdf-find
1434 pdf-host: maybe-pdf-fixincludes
1435 pdf-host: maybe-pdf-flex
1436 pdf-host: maybe-pdf-gas
1437 pdf-host: maybe-pdf-gcc
1438 pdf-host: maybe-pdf-gawk
1439 pdf-host: maybe-pdf-gettext
1440 pdf-host: maybe-pdf-gmp
1441 pdf-host: maybe-pdf-mpfr
1442 pdf-host: maybe-pdf-mpc
1443 pdf-host: maybe-pdf-ppl
1444 pdf-host: maybe-pdf-cloog
1445 pdf-host: maybe-pdf-libelf
1446 pdf-host: maybe-pdf-gnuserv
1447 pdf-host: maybe-pdf-gold
1448 pdf-host: maybe-pdf-gprof
1449 pdf-host: maybe-pdf-gzip
1450 pdf-host: maybe-pdf-hello
1451 pdf-host: maybe-pdf-indent
1452 pdf-host: maybe-pdf-intl
1453 pdf-host: maybe-pdf-tcl
1454 pdf-host: maybe-pdf-itcl
1455 pdf-host: maybe-pdf-ld
1456 pdf-host: maybe-pdf-libcpp
1457 pdf-host: maybe-pdf-libdecnumber
1458 pdf-host: maybe-pdf-libgui
1459 pdf-host: maybe-pdf-libiberty
1460 pdf-host: maybe-pdf-libiconv
1461 pdf-host: maybe-pdf-libtool
1462 pdf-host: maybe-pdf-m4
1463 pdf-host: maybe-pdf-make
1464 pdf-host: maybe-pdf-mmalloc
1465 pdf-host: maybe-pdf-patch
1466 pdf-host: maybe-pdf-perl
1467 pdf-host: maybe-pdf-prms
1468 pdf-host: maybe-pdf-rcs
1469 pdf-host: maybe-pdf-readline
1470 pdf-host: maybe-pdf-release
1471 pdf-host: maybe-pdf-recode
1472 pdf-host: maybe-pdf-sed
1473 pdf-host: maybe-pdf-send-pr
1474 pdf-host: maybe-pdf-shellutils
1475 pdf-host: maybe-pdf-sid
1476 pdf-host: maybe-pdf-sim
1477 pdf-host: maybe-pdf-tar
1478 pdf-host: maybe-pdf-texinfo
1479 pdf-host: maybe-pdf-textutils
1480 pdf-host: maybe-pdf-time
1481 pdf-host: maybe-pdf-uudecode
1482 pdf-host: maybe-pdf-wdiff
1483 pdf-host: maybe-pdf-zip
1484 pdf-host: maybe-pdf-zlib
1485 pdf-host: maybe-pdf-gdb
1486 pdf-host: maybe-pdf-expect
1487 pdf-host: maybe-pdf-guile
1488 pdf-host: maybe-pdf-tk
1489 pdf-host: maybe-pdf-libtermcap
1490 pdf-host: maybe-pdf-utils
1491 pdf-host: maybe-pdf-gnattools
1492 pdf-host: maybe-pdf-lto-plugin
1493
1494 .PHONY: pdf-target
1495
1496 pdf-target: maybe-pdf-target-libstdc++-v3
1497 pdf-target: maybe-pdf-target-libmudflap
1498 pdf-target: maybe-pdf-target-libssp
1499 pdf-target: maybe-pdf-target-newlib
1500 pdf-target: maybe-pdf-target-libgcc
1501 pdf-target: maybe-pdf-target-libquadmath
1502 pdf-target: maybe-pdf-target-libgfortran
1503 pdf-target: maybe-pdf-target-libobjc
1504 pdf-target: maybe-pdf-target-libgo
1505 pdf-target: maybe-pdf-target-libtermcap
1506 pdf-target: maybe-pdf-target-winsup
1507 pdf-target: maybe-pdf-target-libgloss
1508 pdf-target: maybe-pdf-target-libiberty
1509 pdf-target: maybe-pdf-target-gperf
1510 pdf-target: maybe-pdf-target-examples
1511 pdf-target: maybe-pdf-target-libffi
1512 pdf-target: maybe-pdf-target-libjava
1513 pdf-target: maybe-pdf-target-zlib
1514 pdf-target: maybe-pdf-target-boehm-gc
1515 pdf-target: maybe-pdf-target-qthreads
1516 pdf-target: maybe-pdf-target-rda
1517 pdf-target: maybe-pdf-target-libada
1518 pdf-target: maybe-pdf-target-libgomp
1519
1520 .PHONY: do-html
1521 do-html:
1522         @: $(MAKE); $(unstage)
1523         @r=`${PWD_COMMAND}`; export r; \
1524         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1525         $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1526           html-target
1527
1528
1529 .PHONY: html-host
1530
1531 html-host: maybe-html-ash
1532 html-host: maybe-html-autoconf
1533 html-host: maybe-html-automake
1534 html-host: maybe-html-bash
1535 html-host: maybe-html-bfd
1536 html-host: maybe-html-opcodes
1537 html-host: maybe-html-binutils
1538 html-host: maybe-html-bison
1539 html-host: maybe-html-byacc
1540 html-host: maybe-html-bzip2
1541 html-host: maybe-html-cgen
1542 html-host: maybe-html-dejagnu
1543 html-host: maybe-html-diff
1544 html-host: maybe-html-dosutils
1545 html-host: maybe-html-etc
1546 html-host: maybe-html-fastjar
1547 html-host: maybe-html-fileutils
1548 html-host: maybe-html-findutils
1549 html-host: maybe-html-find
1550 html-host: maybe-html-fixincludes
1551 html-host: maybe-html-flex
1552 html-host: maybe-html-gas
1553 html-host: maybe-html-gcc
1554 html-host: maybe-html-gawk
1555 html-host: maybe-html-gettext
1556 html-host: maybe-html-gmp
1557 html-host: maybe-html-mpfr
1558 html-host: maybe-html-mpc
1559 html-host: maybe-html-ppl
1560 html-host: maybe-html-cloog
1561 html-host: maybe-html-libelf
1562 html-host: maybe-html-gnuserv
1563 html-host: maybe-html-gold
1564 html-host: maybe-html-gprof
1565 html-host: maybe-html-gzip
1566 html-host: maybe-html-hello
1567 html-host: maybe-html-indent
1568 html-host: maybe-html-intl
1569 html-host: maybe-html-tcl
1570 html-host: maybe-html-itcl
1571 html-host: maybe-html-ld
1572 html-host: maybe-html-libcpp
1573 html-host: maybe-html-libdecnumber
1574 html-host: maybe-html-libgui
1575 html-host: maybe-html-libiberty
1576 html-host: maybe-html-libiconv
1577 html-host: maybe-html-libtool
1578 html-host: maybe-html-m4
1579 html-host: maybe-html-make
1580 html-host: maybe-html-mmalloc
1581 html-host: maybe-html-patch
1582 html-host: maybe-html-perl
1583 html-host: maybe-html-prms
1584 html-host: maybe-html-rcs
1585 html-host: maybe-html-readline
1586 html-host: maybe-html-release
1587 html-host: maybe-html-recode
1588 html-host: maybe-html-sed
1589 html-host: maybe-html-send-pr
1590 html-host: maybe-html-shellutils
1591 html-host: maybe-html-sid
1592 html-host: maybe-html-sim
1593 html-host: maybe-html-tar
1594 html-host: maybe-html-texinfo
1595 html-host: maybe-html-textutils
1596 html-host: maybe-html-time
1597 html-host: maybe-html-uudecode
1598 html-host: maybe-html-wdiff
1599 html-host: maybe-html-zip
1600 html-host: maybe-html-zlib
1601 html-host: maybe-html-gdb
1602 html-host: maybe-html-expect
1603 html-host: maybe-html-guile
1604 html-host: maybe-html-tk
1605 html-host: maybe-html-libtermcap
1606 html-host: maybe-html-utils
1607 html-host: maybe-html-gnattools
1608 html-host: maybe-html-lto-plugin
1609
1610 .PHONY: html-target
1611
1612 html-target: maybe-html-target-libstdc++-v3
1613 html-target: maybe-html-target-libmudflap
1614 html-target: maybe-html-target-libssp
1615 html-target: maybe-html-target-newlib
1616 html-target: maybe-html-target-libgcc
1617 html-target: maybe-html-target-libquadmath
1618 html-target: maybe-html-target-libgfortran
1619 html-target: maybe-html-target-libobjc
1620 html-target: maybe-html-target-libgo
1621 html-target: maybe-html-target-libtermcap
1622 html-target: maybe-html-target-winsup
1623 html-target: maybe-html-target-libgloss
1624 html-target: maybe-html-target-libiberty
1625 html-target: maybe-html-target-gperf
1626 html-target: maybe-html-target-examples
1627 html-target: maybe-html-target-libffi
1628 html-target: maybe-html-target-libjava
1629 html-target: maybe-html-target-zlib
1630 html-target: maybe-html-target-boehm-gc
1631 html-target: maybe-html-target-qthreads
1632 html-target: maybe-html-target-rda
1633 html-target: maybe-html-target-libada
1634 html-target: maybe-html-target-libgomp
1635
1636 .PHONY: do-TAGS
1637 do-TAGS:
1638         @: $(MAKE); $(unstage)
1639         @r=`${PWD_COMMAND}`; export r; \
1640         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1641         $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1642           TAGS-target
1643
1644
1645 .PHONY: TAGS-host
1646
1647 TAGS-host: maybe-TAGS-ash
1648 TAGS-host: maybe-TAGS-autoconf
1649 TAGS-host: maybe-TAGS-automake
1650 TAGS-host: maybe-TAGS-bash
1651 TAGS-host: maybe-TAGS-bfd
1652 TAGS-host: maybe-TAGS-opcodes
1653 TAGS-host: maybe-TAGS-binutils
1654 TAGS-host: maybe-TAGS-bison
1655 TAGS-host: maybe-TAGS-byacc
1656 TAGS-host: maybe-TAGS-bzip2
1657 TAGS-host: maybe-TAGS-cgen
1658 TAGS-host: maybe-TAGS-dejagnu
1659 TAGS-host: maybe-TAGS-diff
1660 TAGS-host: maybe-TAGS-dosutils
1661 TAGS-host: maybe-TAGS-etc
1662 TAGS-host: maybe-TAGS-fastjar
1663 TAGS-host: maybe-TAGS-fileutils
1664 TAGS-host: maybe-TAGS-findutils
1665 TAGS-host: maybe-TAGS-find
1666 TAGS-host: maybe-TAGS-fixincludes
1667 TAGS-host: maybe-TAGS-flex
1668 TAGS-host: maybe-TAGS-gas
1669 TAGS-host: maybe-TAGS-gcc
1670 TAGS-host: maybe-TAGS-gawk
1671 TAGS-host: maybe-TAGS-gettext
1672 TAGS-host: maybe-TAGS-gmp
1673 TAGS-host: maybe-TAGS-mpfr
1674 TAGS-host: maybe-TAGS-mpc
1675 TAGS-host: maybe-TAGS-ppl
1676 TAGS-host: maybe-TAGS-cloog
1677 TAGS-host: maybe-TAGS-libelf
1678 TAGS-host: maybe-TAGS-gnuserv
1679 TAGS-host: maybe-TAGS-gold
1680 TAGS-host: maybe-TAGS-gprof
1681 TAGS-host: maybe-TAGS-gzip
1682 TAGS-host: maybe-TAGS-hello
1683 TAGS-host: maybe-TAGS-indent
1684 TAGS-host: maybe-TAGS-intl
1685 TAGS-host: maybe-TAGS-tcl
1686 TAGS-host: maybe-TAGS-itcl
1687 TAGS-host: maybe-TAGS-ld
1688 TAGS-host: maybe-TAGS-libcpp
1689 TAGS-host: maybe-TAGS-libdecnumber
1690 TAGS-host: maybe-TAGS-libgui
1691 TAGS-host: maybe-TAGS-libiberty
1692 TAGS-host: maybe-TAGS-libiconv
1693 TAGS-host: maybe-TAGS-libtool
1694 TAGS-host: maybe-TAGS-m4
1695 TAGS-host: maybe-TAGS-make
1696 TAGS-host: maybe-TAGS-mmalloc
1697 TAGS-host: maybe-TAGS-patch
1698 TAGS-host: maybe-TAGS-perl
1699 TAGS-host: maybe-TAGS-prms
1700 TAGS-host: maybe-TAGS-rcs
1701 TAGS-host: maybe-TAGS-readline
1702 TAGS-host: maybe-TAGS-release
1703 TAGS-host: maybe-TAGS-recode
1704 TAGS-host: maybe-TAGS-sed
1705 TAGS-host: maybe-TAGS-send-pr
1706 TAGS-host: maybe-TAGS-shellutils
1707 TAGS-host: maybe-TAGS-sid
1708 TAGS-host: maybe-TAGS-sim
1709 TAGS-host: maybe-TAGS-tar
1710 TAGS-host: maybe-TAGS-texinfo
1711 TAGS-host: maybe-TAGS-textutils
1712 TAGS-host: maybe-TAGS-time
1713 TAGS-host: maybe-TAGS-uudecode
1714 TAGS-host: maybe-TAGS-wdiff
1715 TAGS-host: maybe-TAGS-zip
1716 TAGS-host: maybe-TAGS-zlib
1717 TAGS-host: maybe-TAGS-gdb
1718 TAGS-host: maybe-TAGS-expect
1719 TAGS-host: maybe-TAGS-guile
1720 TAGS-host: maybe-TAGS-tk
1721 TAGS-host: maybe-TAGS-libtermcap
1722 TAGS-host: maybe-TAGS-utils
1723 TAGS-host: maybe-TAGS-gnattools
1724 TAGS-host: maybe-TAGS-lto-plugin
1725
1726 .PHONY: TAGS-target
1727
1728 TAGS-target: maybe-TAGS-target-libstdc++-v3
1729 TAGS-target: maybe-TAGS-target-libmudflap
1730 TAGS-target: maybe-TAGS-target-libssp
1731 TAGS-target: maybe-TAGS-target-newlib
1732 TAGS-target: maybe-TAGS-target-libgcc
1733 TAGS-target: maybe-TAGS-target-libquadmath
1734 TAGS-target: maybe-TAGS-target-libgfortran
1735 TAGS-target: maybe-TAGS-target-libobjc
1736 TAGS-target: maybe-TAGS-target-libgo
1737 TAGS-target: maybe-TAGS-target-libtermcap
1738 TAGS-target: maybe-TAGS-target-winsup
1739 TAGS-target: maybe-TAGS-target-libgloss
1740 TAGS-target: maybe-TAGS-target-libiberty
1741 TAGS-target: maybe-TAGS-target-gperf
1742 TAGS-target: maybe-TAGS-target-examples
1743 TAGS-target: maybe-TAGS-target-libffi
1744 TAGS-target: maybe-TAGS-target-libjava
1745 TAGS-target: maybe-TAGS-target-zlib
1746 TAGS-target: maybe-TAGS-target-boehm-gc
1747 TAGS-target: maybe-TAGS-target-qthreads
1748 TAGS-target: maybe-TAGS-target-rda
1749 TAGS-target: maybe-TAGS-target-libada
1750 TAGS-target: maybe-TAGS-target-libgomp
1751
1752 .PHONY: do-install-info
1753 do-install-info:
1754         @: $(MAKE); $(unstage)
1755         @r=`${PWD_COMMAND}`; export r; \
1756         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1757         $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1758           install-info-target
1759
1760
1761 .PHONY: install-info-host
1762
1763 install-info-host: maybe-install-info-ash
1764 install-info-host: maybe-install-info-autoconf
1765 install-info-host: maybe-install-info-automake
1766 install-info-host: maybe-install-info-bash
1767 install-info-host: maybe-install-info-bfd
1768 install-info-host: maybe-install-info-opcodes
1769 install-info-host: maybe-install-info-binutils
1770 install-info-host: maybe-install-info-bison
1771 install-info-host: maybe-install-info-byacc
1772 install-info-host: maybe-install-info-bzip2
1773 install-info-host: maybe-install-info-cgen
1774 install-info-host: maybe-install-info-dejagnu
1775 install-info-host: maybe-install-info-diff
1776 install-info-host: maybe-install-info-dosutils
1777 install-info-host: maybe-install-info-etc
1778 install-info-host: maybe-install-info-fastjar
1779 install-info-host: maybe-install-info-fileutils
1780 install-info-host: maybe-install-info-findutils
1781 install-info-host: maybe-install-info-find
1782 install-info-host: maybe-install-info-fixincludes
1783 install-info-host: maybe-install-info-flex
1784 install-info-host: maybe-install-info-gas
1785 install-info-host: maybe-install-info-gcc
1786 install-info-host: maybe-install-info-gawk
1787 install-info-host: maybe-install-info-gettext
1788 install-info-host: maybe-install-info-gmp
1789 install-info-host: maybe-install-info-mpfr
1790 install-info-host: maybe-install-info-mpc
1791 install-info-host: maybe-install-info-ppl
1792 install-info-host: maybe-install-info-cloog
1793 install-info-host: maybe-install-info-libelf
1794 install-info-host: maybe-install-info-gnuserv
1795 install-info-host: maybe-install-info-gold
1796 install-info-host: maybe-install-info-gprof
1797 install-info-host: maybe-install-info-gzip
1798 install-info-host: maybe-install-info-hello
1799 install-info-host: maybe-install-info-indent
1800 install-info-host: maybe-install-info-intl
1801 install-info-host: maybe-install-info-tcl
1802 install-info-host: maybe-install-info-itcl
1803 install-info-host: maybe-install-info-ld
1804 install-info-host: maybe-install-info-libcpp
1805 install-info-host: maybe-install-info-libdecnumber
1806 install-info-host: maybe-install-info-libgui
1807 install-info-host: maybe-install-info-libiberty
1808 install-info-host: maybe-install-info-libiconv
1809 install-info-host: maybe-install-info-libtool
1810 install-info-host: maybe-install-info-m4
1811 install-info-host: maybe-install-info-make
1812 install-info-host: maybe-install-info-mmalloc
1813 install-info-host: maybe-install-info-patch
1814 install-info-host: maybe-install-info-perl
1815 install-info-host: maybe-install-info-prms
1816 install-info-host: maybe-install-info-rcs
1817 install-info-host: maybe-install-info-readline
1818 install-info-host: maybe-install-info-release
1819 install-info-host: maybe-install-info-recode
1820 install-info-host: maybe-install-info-sed
1821 install-info-host: maybe-install-info-send-pr
1822 install-info-host: maybe-install-info-shellutils
1823 install-info-host: maybe-install-info-sid
1824 install-info-host: maybe-install-info-sim
1825 install-info-host: maybe-install-info-tar
1826 install-info-host: maybe-install-info-texinfo
1827 install-info-host: maybe-install-info-textutils
1828 install-info-host: maybe-install-info-time
1829 install-info-host: maybe-install-info-uudecode
1830 install-info-host: maybe-install-info-wdiff
1831 install-info-host: maybe-install-info-zip
1832 install-info-host: maybe-install-info-zlib
1833 install-info-host: maybe-install-info-gdb
1834 install-info-host: maybe-install-info-expect
1835 install-info-host: maybe-install-info-guile
1836 install-info-host: maybe-install-info-tk
1837 install-info-host: maybe-install-info-libtermcap
1838 install-info-host: maybe-install-info-utils
1839 install-info-host: maybe-install-info-gnattools
1840 install-info-host: maybe-install-info-lto-plugin
1841
1842 .PHONY: install-info-target
1843
1844 install-info-target: maybe-install-info-target-libstdc++-v3
1845 install-info-target: maybe-install-info-target-libmudflap
1846 install-info-target: maybe-install-info-target-libssp
1847 install-info-target: maybe-install-info-target-newlib
1848 install-info-target: maybe-install-info-target-libgcc
1849 install-info-target: maybe-install-info-target-libquadmath
1850 install-info-target: maybe-install-info-target-libgfortran
1851 install-info-target: maybe-install-info-target-libobjc
1852 install-info-target: maybe-install-info-target-libgo
1853 install-info-target: maybe-install-info-target-libtermcap
1854 install-info-target: maybe-install-info-target-winsup
1855 install-info-target: maybe-install-info-target-libgloss
1856 install-info-target: maybe-install-info-target-libiberty
1857 install-info-target: maybe-install-info-target-gperf
1858 install-info-target: maybe-install-info-target-examples
1859 install-info-target: maybe-install-info-target-libffi
1860 install-info-target: maybe-install-info-target-libjava
1861 install-info-target: maybe-install-info-target-zlib
1862 install-info-target: maybe-install-info-target-boehm-gc
1863 install-info-target: maybe-install-info-target-qthreads
1864 install-info-target: maybe-install-info-target-rda
1865 install-info-target: maybe-install-info-target-libada
1866 install-info-target: maybe-install-info-target-libgomp
1867
1868 .PHONY: do-install-pdf
1869 do-install-pdf:
1870         @: $(MAKE); $(unstage)
1871         @r=`${PWD_COMMAND}`; export r; \
1872         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1873         $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1874           install-pdf-target
1875
1876
1877 .PHONY: install-pdf-host
1878
1879 install-pdf-host: maybe-install-pdf-ash
1880 install-pdf-host: maybe-install-pdf-autoconf
1881 install-pdf-host: maybe-install-pdf-automake
1882 install-pdf-host: maybe-install-pdf-bash
1883 install-pdf-host: maybe-install-pdf-bfd
1884 install-pdf-host: maybe-install-pdf-opcodes
1885 install-pdf-host: maybe-install-pdf-binutils
1886 install-pdf-host: maybe-install-pdf-bison
1887 install-pdf-host: maybe-install-pdf-byacc
1888 install-pdf-host: maybe-install-pdf-bzip2
1889 install-pdf-host: maybe-install-pdf-cgen
1890 install-pdf-host: maybe-install-pdf-dejagnu
1891 install-pdf-host: maybe-install-pdf-diff
1892 install-pdf-host: maybe-install-pdf-dosutils
1893 install-pdf-host: maybe-install-pdf-etc
1894 install-pdf-host: maybe-install-pdf-fastjar
1895 install-pdf-host: maybe-install-pdf-fileutils
1896 install-pdf-host: maybe-install-pdf-findutils
1897 install-pdf-host: maybe-install-pdf-find
1898 install-pdf-host: maybe-install-pdf-fixincludes
1899 install-pdf-host: maybe-install-pdf-flex
1900 install-pdf-host: maybe-install-pdf-gas
1901 install-pdf-host: maybe-install-pdf-gcc
1902 install-pdf-host: maybe-install-pdf-gawk
1903 install-pdf-host: maybe-install-pdf-gettext
1904 install-pdf-host: maybe-install-pdf-gmp
1905 install-pdf-host: maybe-install-pdf-mpfr
1906 install-pdf-host: maybe-install-pdf-mpc
1907 install-pdf-host: maybe-install-pdf-ppl
1908 install-pdf-host: maybe-install-pdf-cloog
1909 install-pdf-host: maybe-install-pdf-libelf
1910 install-pdf-host: maybe-install-pdf-gnuserv
1911 install-pdf-host: maybe-install-pdf-gold
1912 install-pdf-host: maybe-install-pdf-gprof
1913 install-pdf-host: maybe-install-pdf-gzip
1914 install-pdf-host: maybe-install-pdf-hello
1915 install-pdf-host: maybe-install-pdf-indent
1916 install-pdf-host: maybe-install-pdf-intl
1917 install-pdf-host: maybe-install-pdf-tcl
1918 install-pdf-host: maybe-install-pdf-itcl
1919 install-pdf-host: maybe-install-pdf-ld
1920 install-pdf-host: maybe-install-pdf-libcpp
1921 install-pdf-host: maybe-install-pdf-libdecnumber
1922 install-pdf-host: maybe-install-pdf-libgui
1923 install-pdf-host: maybe-install-pdf-libiberty
1924 install-pdf-host: maybe-install-pdf-libiconv
1925 install-pdf-host: maybe-install-pdf-libtool
1926 install-pdf-host: maybe-install-pdf-m4
1927 install-pdf-host: maybe-install-pdf-make
1928 install-pdf-host: maybe-install-pdf-mmalloc
1929 install-pdf-host: maybe-install-pdf-patch
1930 install-pdf-host: maybe-install-pdf-perl
1931 install-pdf-host: maybe-install-pdf-prms
1932 install-pdf-host: maybe-install-pdf-rcs
1933 install-pdf-host: maybe-install-pdf-readline
1934 install-pdf-host: maybe-install-pdf-release
1935 install-pdf-host: maybe-install-pdf-recode
1936 install-pdf-host: maybe-install-pdf-sed
1937 install-pdf-host: maybe-install-pdf-send-pr
1938 install-pdf-host: maybe-install-pdf-shellutils
1939 install-pdf-host: maybe-install-pdf-sid
1940 install-pdf-host: maybe-install-pdf-sim
1941 install-pdf-host: maybe-install-pdf-tar
1942 install-pdf-host: maybe-install-pdf-texinfo
1943 install-pdf-host: maybe-install-pdf-textutils
1944 install-pdf-host: maybe-install-pdf-time
1945 install-pdf-host: maybe-install-pdf-uudecode
1946 install-pdf-host: maybe-install-pdf-wdiff
1947 install-pdf-host: maybe-install-pdf-zip
1948 install-pdf-host: maybe-install-pdf-zlib
1949 install-pdf-host: maybe-install-pdf-gdb
1950 install-pdf-host: maybe-install-pdf-expect
1951 install-pdf-host: maybe-install-pdf-guile
1952 install-pdf-host: maybe-install-pdf-tk
1953 install-pdf-host: maybe-install-pdf-libtermcap
1954 install-pdf-host: maybe-install-pdf-utils
1955 install-pdf-host: maybe-install-pdf-gnattools
1956 install-pdf-host: maybe-install-pdf-lto-plugin
1957
1958 .PHONY: install-pdf-target
1959
1960 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1961 install-pdf-target: maybe-install-pdf-target-libmudflap
1962 install-pdf-target: maybe-install-pdf-target-libssp
1963 install-pdf-target: maybe-install-pdf-target-newlib
1964 install-pdf-target: maybe-install-pdf-target-libgcc
1965 install-pdf-target: maybe-install-pdf-target-libquadmath
1966 install-pdf-target: maybe-install-pdf-target-libgfortran
1967 install-pdf-target: maybe-install-pdf-target-libobjc
1968 install-pdf-target: maybe-install-pdf-target-libgo
1969 install-pdf-target: maybe-install-pdf-target-libtermcap
1970 install-pdf-target: maybe-install-pdf-target-winsup
1971 install-pdf-target: maybe-install-pdf-target-libgloss
1972 install-pdf-target: maybe-install-pdf-target-libiberty
1973 install-pdf-target: maybe-install-pdf-target-gperf
1974 install-pdf-target: maybe-install-pdf-target-examples
1975 install-pdf-target: maybe-install-pdf-target-libffi
1976 install-pdf-target: maybe-install-pdf-target-libjava
1977 install-pdf-target: maybe-install-pdf-target-zlib
1978 install-pdf-target: maybe-install-pdf-target-boehm-gc
1979 install-pdf-target: maybe-install-pdf-target-qthreads
1980 install-pdf-target: maybe-install-pdf-target-rda
1981 install-pdf-target: maybe-install-pdf-target-libada
1982 install-pdf-target: maybe-install-pdf-target-libgomp
1983
1984 .PHONY: do-install-html
1985 do-install-html:
1986         @: $(MAKE); $(unstage)
1987         @r=`${PWD_COMMAND}`; export r; \
1988         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1989         $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1990           install-html-target
1991
1992
1993 .PHONY: install-html-host
1994
1995 install-html-host: maybe-install-html-ash
1996 install-html-host: maybe-install-html-autoconf
1997 install-html-host: maybe-install-html-automake
1998 install-html-host: maybe-install-html-bash
1999 install-html-host: maybe-install-html-bfd
2000 install-html-host: maybe-install-html-opcodes
2001 install-html-host: maybe-install-html-binutils
2002 install-html-host: maybe-install-html-bison
2003 install-html-host: maybe-install-html-byacc
2004 install-html-host: maybe-install-html-bzip2
2005 install-html-host: maybe-install-html-cgen
2006 install-html-host: maybe-install-html-dejagnu
2007 install-html-host: maybe-install-html-diff
2008 install-html-host: maybe-install-html-dosutils
2009 install-html-host: maybe-install-html-etc
2010 install-html-host: maybe-install-html-fastjar
2011 install-html-host: maybe-install-html-fileutils
2012 install-html-host: maybe-install-html-findutils
2013 install-html-host: maybe-install-html-find
2014 install-html-host: maybe-install-html-fixincludes
2015 install-html-host: maybe-install-html-flex
2016 install-html-host: maybe-install-html-gas
2017 install-html-host: maybe-install-html-gcc
2018 install-html-host: maybe-install-html-gawk
2019 install-html-host: maybe-install-html-gettext
2020 install-html-host: maybe-install-html-gmp
2021 install-html-host: maybe-install-html-mpfr
2022 install-html-host: maybe-install-html-mpc
2023 install-html-host: maybe-install-html-ppl
2024 install-html-host: maybe-install-html-cloog
2025 install-html-host: maybe-install-html-libelf
2026 install-html-host: maybe-install-html-gnuserv
2027 install-html-host: maybe-install-html-gold
2028 install-html-host: maybe-install-html-gprof
2029 install-html-host: maybe-install-html-gzip
2030 install-html-host: maybe-install-html-hello
2031 install-html-host: maybe-install-html-indent
2032 install-html-host: maybe-install-html-intl
2033 install-html-host: maybe-install-html-tcl
2034 install-html-host: maybe-install-html-itcl
2035 install-html-host: maybe-install-html-ld
2036 install-html-host: maybe-install-html-libcpp
2037 install-html-host: maybe-install-html-libdecnumber
2038 install-html-host: maybe-install-html-libgui
2039 install-html-host: maybe-install-html-libiberty
2040 install-html-host: maybe-install-html-libiconv
2041 install-html-host: maybe-install-html-libtool
2042 install-html-host: maybe-install-html-m4
2043 install-html-host: maybe-install-html-make
2044 install-html-host: maybe-install-html-mmalloc
2045 install-html-host: maybe-install-html-patch
2046 install-html-host: maybe-install-html-perl
2047 install-html-host: maybe-install-html-prms
2048 install-html-host: maybe-install-html-rcs
2049 install-html-host: maybe-install-html-readline
2050 install-html-host: maybe-install-html-release
2051 install-html-host: maybe-install-html-recode
2052 install-html-host: maybe-install-html-sed
2053 install-html-host: maybe-install-html-send-pr
2054 install-html-host: maybe-install-html-shellutils
2055 install-html-host: maybe-install-html-sid
2056 install-html-host: maybe-install-html-sim
2057 install-html-host: maybe-install-html-tar
2058 install-html-host: maybe-install-html-texinfo
2059 install-html-host: maybe-install-html-textutils
2060 install-html-host: maybe-install-html-time
2061 install-html-host: maybe-install-html-uudecode
2062 install-html-host: maybe-install-html-wdiff
2063 install-html-host: maybe-install-html-zip
2064 install-html-host: maybe-install-html-zlib
2065 install-html-host: maybe-install-html-gdb
2066 install-html-host: maybe-install-html-expect
2067 install-html-host: maybe-install-html-guile
2068 install-html-host: maybe-install-html-tk
2069 install-html-host: maybe-install-html-libtermcap
2070 install-html-host: maybe-install-html-utils
2071 install-html-host: maybe-install-html-gnattools
2072 install-html-host: maybe-install-html-lto-plugin
2073
2074 .PHONY: install-html-target
2075
2076 install-html-target: maybe-install-html-target-libstdc++-v3
2077 install-html-target: maybe-install-html-target-libmudflap
2078 install-html-target: maybe-install-html-target-libssp
2079 install-html-target: maybe-install-html-target-newlib
2080 install-html-target: maybe-install-html-target-libgcc
2081 install-html-target: maybe-install-html-target-libquadmath
2082 install-html-target: maybe-install-html-target-libgfortran
2083 install-html-target: maybe-install-html-target-libobjc
2084 install-html-target: maybe-install-html-target-libgo
2085 install-html-target: maybe-install-html-target-libtermcap
2086 install-html-target: maybe-install-html-target-winsup
2087 install-html-target: maybe-install-html-target-libgloss
2088 install-html-target: maybe-install-html-target-libiberty
2089 install-html-target: maybe-install-html-target-gperf
2090 install-html-target: maybe-install-html-target-examples
2091 install-html-target: maybe-install-html-target-libffi
2092 install-html-target: maybe-install-html-target-libjava
2093 install-html-target: maybe-install-html-target-zlib
2094 install-html-target: maybe-install-html-target-boehm-gc
2095 install-html-target: maybe-install-html-target-qthreads
2096 install-html-target: maybe-install-html-target-rda
2097 install-html-target: maybe-install-html-target-libada
2098 install-html-target: maybe-install-html-target-libgomp
2099
2100 .PHONY: do-installcheck
2101 do-installcheck:
2102         @: $(MAKE); $(unstage)
2103         @r=`${PWD_COMMAND}`; export r; \
2104         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2105         $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
2106           installcheck-target
2107
2108
2109 .PHONY: installcheck-host
2110
2111 installcheck-host: maybe-installcheck-ash
2112 installcheck-host: maybe-installcheck-autoconf
2113 installcheck-host: maybe-installcheck-automake
2114 installcheck-host: maybe-installcheck-bash
2115 installcheck-host: maybe-installcheck-bfd
2116 installcheck-host: maybe-installcheck-opcodes
2117 installcheck-host: maybe-installcheck-binutils
2118 installcheck-host: maybe-installcheck-bison
2119 installcheck-host: maybe-installcheck-byacc
2120 installcheck-host: maybe-installcheck-bzip2
2121 installcheck-host: maybe-installcheck-cgen
2122 installcheck-host: maybe-installcheck-dejagnu
2123 installcheck-host: maybe-installcheck-diff
2124 installcheck-host: maybe-installcheck-dosutils
2125 installcheck-host: maybe-installcheck-etc
2126 installcheck-host: maybe-installcheck-fastjar
2127 installcheck-host: maybe-installcheck-fileutils
2128 installcheck-host: maybe-installcheck-findutils
2129 installcheck-host: maybe-installcheck-find
2130 installcheck-host: maybe-installcheck-fixincludes
2131 installcheck-host: maybe-installcheck-flex
2132 installcheck-host: maybe-installcheck-gas
2133 installcheck-host: maybe-installcheck-gcc
2134 installcheck-host: maybe-installcheck-gawk
2135 installcheck-host: maybe-installcheck-gettext
2136 installcheck-host: maybe-installcheck-gmp
2137 installcheck-host: maybe-installcheck-mpfr
2138 installcheck-host: maybe-installcheck-mpc
2139 installcheck-host: maybe-installcheck-ppl
2140 installcheck-host: maybe-installcheck-cloog
2141 installcheck-host: maybe-installcheck-libelf
2142 installcheck-host: maybe-installcheck-gnuserv
2143 installcheck-host: maybe-installcheck-gold
2144 installcheck-host: maybe-installcheck-gprof
2145 installcheck-host: maybe-installcheck-gzip
2146 installcheck-host: maybe-installcheck-hello
2147 installcheck-host: maybe-installcheck-indent
2148 installcheck-host: maybe-installcheck-intl
2149 installcheck-host: maybe-installcheck-tcl
2150 installcheck-host: maybe-installcheck-itcl
2151 installcheck-host: maybe-installcheck-ld
2152 installcheck-host: maybe-installcheck-libcpp
2153 installcheck-host: maybe-installcheck-libdecnumber
2154 installcheck-host: maybe-installcheck-libgui
2155 installcheck-host: maybe-installcheck-libiberty
2156 installcheck-host: maybe-installcheck-libiconv
2157 installcheck-host: maybe-installcheck-libtool
2158 installcheck-host: maybe-installcheck-m4
2159 installcheck-host: maybe-installcheck-make
2160 installcheck-host: maybe-installcheck-mmalloc
2161 installcheck-host: maybe-installcheck-patch
2162 installcheck-host: maybe-installcheck-perl
2163 installcheck-host: maybe-installcheck-prms
2164 installcheck-host: maybe-installcheck-rcs
2165 installcheck-host: maybe-installcheck-readline
2166 installcheck-host: maybe-installcheck-release
2167 installcheck-host: maybe-installcheck-recode
2168 installcheck-host: maybe-installcheck-sed
2169 installcheck-host: maybe-installcheck-send-pr
2170 installcheck-host: maybe-installcheck-shellutils
2171 installcheck-host: maybe-installcheck-sid
2172 installcheck-host: maybe-installcheck-sim
2173 installcheck-host: maybe-installcheck-tar
2174 installcheck-host: maybe-installcheck-texinfo
2175 installcheck-host: maybe-installcheck-textutils
2176 installcheck-host: maybe-installcheck-time
2177 installcheck-host: maybe-installcheck-uudecode
2178 installcheck-host: maybe-installcheck-wdiff
2179 installcheck-host: maybe-installcheck-zip
2180 installcheck-host: maybe-installcheck-zlib
2181 installcheck-host: maybe-installcheck-gdb
2182 installcheck-host: maybe-installcheck-expect
2183 installcheck-host: maybe-installcheck-guile
2184 installcheck-host: maybe-installcheck-tk
2185 installcheck-host: maybe-installcheck-libtermcap
2186 installcheck-host: maybe-installcheck-utils
2187 installcheck-host: maybe-installcheck-gnattools
2188 installcheck-host: maybe-installcheck-lto-plugin
2189
2190 .PHONY: installcheck-target
2191
2192 installcheck-target: maybe-installcheck-target-libstdc++-v3
2193 installcheck-target: maybe-installcheck-target-libmudflap
2194 installcheck-target: maybe-installcheck-target-libssp
2195 installcheck-target: maybe-installcheck-target-newlib
2196 installcheck-target: maybe-installcheck-target-libgcc
2197 installcheck-target: maybe-installcheck-target-libquadmath
2198 installcheck-target: maybe-installcheck-target-libgfortran
2199 installcheck-target: maybe-installcheck-target-libobjc
2200 installcheck-target: maybe-installcheck-target-libgo
2201 installcheck-target: maybe-installcheck-target-libtermcap
2202 installcheck-target: maybe-installcheck-target-winsup
2203 installcheck-target: maybe-installcheck-target-libgloss
2204 installcheck-target: maybe-installcheck-target-libiberty
2205 installcheck-target: maybe-installcheck-target-gperf
2206 installcheck-target: maybe-installcheck-target-examples
2207 installcheck-target: maybe-installcheck-target-libffi
2208 installcheck-target: maybe-installcheck-target-libjava
2209 installcheck-target: maybe-installcheck-target-zlib
2210 installcheck-target: maybe-installcheck-target-boehm-gc
2211 installcheck-target: maybe-installcheck-target-qthreads
2212 installcheck-target: maybe-installcheck-target-rda
2213 installcheck-target: maybe-installcheck-target-libada
2214 installcheck-target: maybe-installcheck-target-libgomp
2215
2216 .PHONY: do-mostlyclean
2217 do-mostlyclean:
2218         @: $(MAKE); $(unstage)
2219         @r=`${PWD_COMMAND}`; export r; \
2220         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2221         $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2222           mostlyclean-target
2223
2224
2225 .PHONY: mostlyclean-host
2226
2227 mostlyclean-host: maybe-mostlyclean-ash
2228 mostlyclean-host: maybe-mostlyclean-autoconf
2229 mostlyclean-host: maybe-mostlyclean-automake
2230 mostlyclean-host: maybe-mostlyclean-bash
2231 mostlyclean-host: maybe-mostlyclean-bfd
2232 mostlyclean-host: maybe-mostlyclean-opcodes
2233 mostlyclean-host: maybe-mostlyclean-binutils
2234 mostlyclean-host: maybe-mostlyclean-bison
2235 mostlyclean-host: maybe-mostlyclean-byacc
2236 mostlyclean-host: maybe-mostlyclean-bzip2
2237 mostlyclean-host: maybe-mostlyclean-cgen
2238 mostlyclean-host: maybe-mostlyclean-dejagnu
2239 mostlyclean-host: maybe-mostlyclean-diff
2240 mostlyclean-host: maybe-mostlyclean-dosutils
2241 mostlyclean-host: maybe-mostlyclean-etc
2242 mostlyclean-host: maybe-mostlyclean-fastjar
2243 mostlyclean-host: maybe-mostlyclean-fileutils
2244 mostlyclean-host: maybe-mostlyclean-findutils
2245 mostlyclean-host: maybe-mostlyclean-find
2246 mostlyclean-host: maybe-mostlyclean-fixincludes
2247 mostlyclean-host: maybe-mostlyclean-flex
2248 mostlyclean-host: maybe-mostlyclean-gas
2249 mostlyclean-host: maybe-mostlyclean-gcc
2250 mostlyclean-host: maybe-mostlyclean-gawk
2251 mostlyclean-host: maybe-mostlyclean-gettext
2252 mostlyclean-host: maybe-mostlyclean-gmp
2253 mostlyclean-host: maybe-mostlyclean-mpfr
2254 mostlyclean-host: maybe-mostlyclean-mpc
2255 mostlyclean-host: maybe-mostlyclean-ppl
2256 mostlyclean-host: maybe-mostlyclean-cloog
2257 mostlyclean-host: maybe-mostlyclean-libelf
2258 mostlyclean-host: maybe-mostlyclean-gnuserv
2259 mostlyclean-host: maybe-mostlyclean-gold
2260 mostlyclean-host: maybe-mostlyclean-gprof
2261 mostlyclean-host: maybe-mostlyclean-gzip
2262 mostlyclean-host: maybe-mostlyclean-hello
2263 mostlyclean-host: maybe-mostlyclean-indent
2264 mostlyclean-host: maybe-mostlyclean-intl
2265 mostlyclean-host: maybe-mostlyclean-tcl
2266 mostlyclean-host: maybe-mostlyclean-itcl
2267 mostlyclean-host: maybe-mostlyclean-ld
2268 mostlyclean-host: maybe-mostlyclean-libcpp
2269 mostlyclean-host: maybe-mostlyclean-libdecnumber
2270 mostlyclean-host: maybe-mostlyclean-libgui
2271 mostlyclean-host: maybe-mostlyclean-libiberty
2272 mostlyclean-host: maybe-mostlyclean-libiconv
2273 mostlyclean-host: maybe-mostlyclean-libtool
2274 mostlyclean-host: maybe-mostlyclean-m4
2275 mostlyclean-host: maybe-mostlyclean-make
2276 mostlyclean-host: maybe-mostlyclean-mmalloc
2277 mostlyclean-host: maybe-mostlyclean-patch
2278 mostlyclean-host: maybe-mostlyclean-perl
2279 mostlyclean-host: maybe-mostlyclean-prms
2280 mostlyclean-host: maybe-mostlyclean-rcs
2281 mostlyclean-host: maybe-mostlyclean-readline
2282 mostlyclean-host: maybe-mostlyclean-release
2283 mostlyclean-host: maybe-mostlyclean-recode
2284 mostlyclean-host: maybe-mostlyclean-sed
2285 mostlyclean-host: maybe-mostlyclean-send-pr
2286 mostlyclean-host: maybe-mostlyclean-shellutils
2287 mostlyclean-host: maybe-mostlyclean-sid
2288 mostlyclean-host: maybe-mostlyclean-sim
2289 mostlyclean-host: maybe-mostlyclean-tar
2290 mostlyclean-host: maybe-mostlyclean-texinfo
2291 mostlyclean-host: maybe-mostlyclean-textutils
2292 mostlyclean-host: maybe-mostlyclean-time
2293 mostlyclean-host: maybe-mostlyclean-uudecode
2294 mostlyclean-host: maybe-mostlyclean-wdiff
2295 mostlyclean-host: maybe-mostlyclean-zip
2296 mostlyclean-host: maybe-mostlyclean-zlib
2297 mostlyclean-host: maybe-mostlyclean-gdb
2298 mostlyclean-host: maybe-mostlyclean-expect
2299 mostlyclean-host: maybe-mostlyclean-guile
2300 mostlyclean-host: maybe-mostlyclean-tk
2301 mostlyclean-host: maybe-mostlyclean-libtermcap
2302 mostlyclean-host: maybe-mostlyclean-utils
2303 mostlyclean-host: maybe-mostlyclean-gnattools
2304 mostlyclean-host: maybe-mostlyclean-lto-plugin
2305
2306 .PHONY: mostlyclean-target
2307
2308 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2309 mostlyclean-target: maybe-mostlyclean-target-libmudflap
2310 mostlyclean-target: maybe-mostlyclean-target-libssp
2311 mostlyclean-target: maybe-mostlyclean-target-newlib
2312 mostlyclean-target: maybe-mostlyclean-target-libgcc
2313 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2314 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2315 mostlyclean-target: maybe-mostlyclean-target-libobjc
2316 mostlyclean-target: maybe-mostlyclean-target-libgo
2317 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2318 mostlyclean-target: maybe-mostlyclean-target-winsup
2319 mostlyclean-target: maybe-mostlyclean-target-libgloss
2320 mostlyclean-target: maybe-mostlyclean-target-libiberty
2321 mostlyclean-target: maybe-mostlyclean-target-gperf
2322 mostlyclean-target: maybe-mostlyclean-target-examples
2323 mostlyclean-target: maybe-mostlyclean-target-libffi
2324 mostlyclean-target: maybe-mostlyclean-target-libjava
2325 mostlyclean-target: maybe-mostlyclean-target-zlib
2326 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2327 mostlyclean-target: maybe-mostlyclean-target-qthreads
2328 mostlyclean-target: maybe-mostlyclean-target-rda
2329 mostlyclean-target: maybe-mostlyclean-target-libada
2330 mostlyclean-target: maybe-mostlyclean-target-libgomp
2331
2332 .PHONY: do-clean
2333 do-clean:
2334         @: $(MAKE); $(unstage)
2335         @r=`${PWD_COMMAND}`; export r; \
2336         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2337         $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2338           clean-target
2339
2340
2341 .PHONY: clean-host
2342
2343 clean-host: maybe-clean-ash
2344 clean-host: maybe-clean-autoconf
2345 clean-host: maybe-clean-automake
2346 clean-host: maybe-clean-bash
2347 clean-host: maybe-clean-bfd
2348 clean-host: maybe-clean-opcodes
2349 clean-host: maybe-clean-binutils
2350 clean-host: maybe-clean-bison
2351 clean-host: maybe-clean-byacc
2352 clean-host: maybe-clean-bzip2
2353 clean-host: maybe-clean-cgen
2354 clean-host: maybe-clean-dejagnu
2355 clean-host: maybe-clean-diff
2356 clean-host: maybe-clean-dosutils
2357 clean-host: maybe-clean-etc
2358 clean-host: maybe-clean-fastjar
2359 clean-host: maybe-clean-fileutils
2360 clean-host: maybe-clean-findutils
2361 clean-host: maybe-clean-find
2362 clean-host: maybe-clean-fixincludes
2363 clean-host: maybe-clean-flex
2364 clean-host: maybe-clean-gas
2365 clean-host: maybe-clean-gcc
2366 clean-host: maybe-clean-gawk
2367 clean-host: maybe-clean-gettext
2368 clean-host: maybe-clean-gmp
2369 clean-host: maybe-clean-mpfr
2370 clean-host: maybe-clean-mpc
2371 clean-host: maybe-clean-ppl
2372 clean-host: maybe-clean-cloog
2373 clean-host: maybe-clean-libelf
2374 clean-host: maybe-clean-gnuserv
2375 clean-host: maybe-clean-gold
2376 clean-host: maybe-clean-gprof
2377 clean-host: maybe-clean-gzip
2378 clean-host: maybe-clean-hello
2379 clean-host: maybe-clean-indent
2380 clean-host: maybe-clean-intl
2381 clean-host: maybe-clean-tcl
2382 clean-host: maybe-clean-itcl
2383 clean-host: maybe-clean-ld
2384 clean-host: maybe-clean-libcpp
2385 clean-host: maybe-clean-libdecnumber
2386 clean-host: maybe-clean-libgui
2387 clean-host: maybe-clean-libiberty
2388 clean-host: maybe-clean-libiconv
2389 clean-host: maybe-clean-libtool
2390 clean-host: maybe-clean-m4
2391 clean-host: maybe-clean-make
2392 clean-host: maybe-clean-mmalloc
2393 clean-host: maybe-clean-patch
2394 clean-host: maybe-clean-perl
2395 clean-host: maybe-clean-prms
2396 clean-host: maybe-clean-rcs
2397 clean-host: maybe-clean-readline
2398 clean-host: maybe-clean-release
2399 clean-host: maybe-clean-recode
2400 clean-host: maybe-clean-sed
2401 clean-host: maybe-clean-send-pr
2402 clean-host: maybe-clean-shellutils
2403 clean-host: maybe-clean-sid
2404 clean-host: maybe-clean-sim
2405 clean-host: maybe-clean-tar
2406 clean-host: maybe-clean-texinfo
2407 clean-host: maybe-clean-textutils
2408 clean-host: maybe-clean-time
2409 clean-host: maybe-clean-uudecode
2410 clean-host: maybe-clean-wdiff
2411 clean-host: maybe-clean-zip
2412 clean-host: maybe-clean-zlib
2413 clean-host: maybe-clean-gdb
2414 clean-host: maybe-clean-expect
2415 clean-host: maybe-clean-guile
2416 clean-host: maybe-clean-tk
2417 clean-host: maybe-clean-libtermcap
2418 clean-host: maybe-clean-utils
2419 clean-host: maybe-clean-gnattools
2420 clean-host: maybe-clean-lto-plugin
2421
2422 .PHONY: clean-target
2423
2424 clean-target: maybe-clean-target-libstdc++-v3
2425 clean-target: maybe-clean-target-libmudflap
2426 clean-target: maybe-clean-target-libssp
2427 clean-target: maybe-clean-target-newlib
2428 clean-target: maybe-clean-target-libgcc
2429 clean-target: maybe-clean-target-libquadmath
2430 clean-target: maybe-clean-target-libgfortran
2431 clean-target: maybe-clean-target-libobjc
2432 clean-target: maybe-clean-target-libgo
2433 clean-target: maybe-clean-target-libtermcap
2434 clean-target: maybe-clean-target-winsup
2435 clean-target: maybe-clean-target-libgloss
2436 clean-target: maybe-clean-target-libiberty
2437 clean-target: maybe-clean-target-gperf
2438 clean-target: maybe-clean-target-examples
2439 clean-target: maybe-clean-target-libffi
2440 clean-target: maybe-clean-target-libjava
2441 clean-target: maybe-clean-target-zlib
2442 clean-target: maybe-clean-target-boehm-gc
2443 clean-target: maybe-clean-target-qthreads
2444 clean-target: maybe-clean-target-rda
2445 clean-target: maybe-clean-target-libada
2446 clean-target: maybe-clean-target-libgomp
2447
2448 .PHONY: do-distclean
2449 do-distclean:
2450         @: $(MAKE); $(unstage)
2451         @r=`${PWD_COMMAND}`; export r; \
2452         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2453         $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2454           distclean-target
2455
2456
2457 .PHONY: distclean-host
2458
2459 distclean-host: maybe-distclean-ash
2460 distclean-host: maybe-distclean-autoconf
2461 distclean-host: maybe-distclean-automake
2462 distclean-host: maybe-distclean-bash
2463 distclean-host: maybe-distclean-bfd
2464 distclean-host: maybe-distclean-opcodes
2465 distclean-host: maybe-distclean-binutils
2466 distclean-host: maybe-distclean-bison
2467 distclean-host: maybe-distclean-byacc
2468 distclean-host: maybe-distclean-bzip2
2469 distclean-host: maybe-distclean-cgen
2470 distclean-host: maybe-distclean-dejagnu
2471 distclean-host: maybe-distclean-diff
2472 distclean-host: maybe-distclean-dosutils
2473 distclean-host: maybe-distclean-etc
2474 distclean-host: maybe-distclean-fastjar
2475 distclean-host: maybe-distclean-fileutils
2476 distclean-host: maybe-distclean-findutils
2477 distclean-host: maybe-distclean-find
2478 distclean-host: maybe-distclean-fixincludes
2479 distclean-host: maybe-distclean-flex
2480 distclean-host: maybe-distclean-gas
2481 distclean-host: maybe-distclean-gcc
2482 distclean-host: maybe-distclean-gawk
2483 distclean-host: maybe-distclean-gettext
2484 distclean-host: maybe-distclean-gmp
2485 distclean-host: maybe-distclean-mpfr
2486 distclean-host: maybe-distclean-mpc
2487 distclean-host: maybe-distclean-ppl
2488 distclean-host: maybe-distclean-cloog
2489 distclean-host: maybe-distclean-libelf
2490 distclean-host: maybe-distclean-gnuserv
2491 distclean-host: maybe-distclean-gold
2492 distclean-host: maybe-distclean-gprof
2493 distclean-host: maybe-distclean-gzip
2494 distclean-host: maybe-distclean-hello
2495 distclean-host: maybe-distclean-indent
2496 distclean-host: maybe-distclean-intl
2497 distclean-host: maybe-distclean-tcl
2498 distclean-host: maybe-distclean-itcl
2499 distclean-host: maybe-distclean-ld
2500 distclean-host: maybe-distclean-libcpp
2501 distclean-host: maybe-distclean-libdecnumber
2502 distclean-host: maybe-distclean-libgui
2503 distclean-host: maybe-distclean-libiberty
2504 distclean-host: maybe-distclean-libiconv
2505 distclean-host: maybe-distclean-libtool
2506 distclean-host: maybe-distclean-m4
2507 distclean-host: maybe-distclean-make
2508 distclean-host: maybe-distclean-mmalloc
2509 distclean-host: maybe-distclean-patch
2510 distclean-host: maybe-distclean-perl
2511 distclean-host: maybe-distclean-prms
2512 distclean-host: maybe-distclean-rcs
2513 distclean-host: maybe-distclean-readline
2514 distclean-host: maybe-distclean-release
2515 distclean-host: maybe-distclean-recode
2516 distclean-host: maybe-distclean-sed
2517 distclean-host: maybe-distclean-send-pr
2518 distclean-host: maybe-distclean-shellutils
2519 distclean-host: maybe-distclean-sid
2520 distclean-host: maybe-distclean-sim
2521 distclean-host: maybe-distclean-tar
2522 distclean-host: maybe-distclean-texinfo
2523 distclean-host: maybe-distclean-textutils
2524 distclean-host: maybe-distclean-time
2525 distclean-host: maybe-distclean-uudecode
2526 distclean-host: maybe-distclean-wdiff
2527 distclean-host: maybe-distclean-zip
2528 distclean-host: maybe-distclean-zlib
2529 distclean-host: maybe-distclean-gdb
2530 distclean-host: maybe-distclean-expect
2531 distclean-host: maybe-distclean-guile
2532 distclean-host: maybe-distclean-tk
2533 distclean-host: maybe-distclean-libtermcap
2534 distclean-host: maybe-distclean-utils
2535 distclean-host: maybe-distclean-gnattools
2536 distclean-host: maybe-distclean-lto-plugin
2537
2538 .PHONY: distclean-target
2539
2540 distclean-target: maybe-distclean-target-libstdc++-v3
2541 distclean-target: maybe-distclean-target-libmudflap
2542 distclean-target: maybe-distclean-target-libssp
2543 distclean-target: maybe-distclean-target-newlib
2544 distclean-target: maybe-distclean-target-libgcc
2545 distclean-target: maybe-distclean-target-libquadmath
2546 distclean-target: maybe-distclean-target-libgfortran
2547 distclean-target: maybe-distclean-target-libobjc
2548 distclean-target: maybe-distclean-target-libgo
2549 distclean-target: maybe-distclean-target-libtermcap
2550 distclean-target: maybe-distclean-target-winsup
2551 distclean-target: maybe-distclean-target-libgloss
2552 distclean-target: maybe-distclean-target-libiberty
2553 distclean-target: maybe-distclean-target-gperf
2554 distclean-target: maybe-distclean-target-examples
2555 distclean-target: maybe-distclean-target-libffi
2556 distclean-target: maybe-distclean-target-libjava
2557 distclean-target: maybe-distclean-target-zlib
2558 distclean-target: maybe-distclean-target-boehm-gc
2559 distclean-target: maybe-distclean-target-qthreads
2560 distclean-target: maybe-distclean-target-rda
2561 distclean-target: maybe-distclean-target-libada
2562 distclean-target: maybe-distclean-target-libgomp
2563
2564 .PHONY: do-maintainer-clean
2565 do-maintainer-clean:
2566         @: $(MAKE); $(unstage)
2567         @r=`${PWD_COMMAND}`; export r; \
2568         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2569         $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2570           maintainer-clean-target
2571
2572
2573 .PHONY: maintainer-clean-host
2574
2575 maintainer-clean-host: maybe-maintainer-clean-ash
2576 maintainer-clean-host: maybe-maintainer-clean-autoconf
2577 maintainer-clean-host: maybe-maintainer-clean-automake
2578 maintainer-clean-host: maybe-maintainer-clean-bash
2579 maintainer-clean-host: maybe-maintainer-clean-bfd
2580 maintainer-clean-host: maybe-maintainer-clean-opcodes
2581 maintainer-clean-host: maybe-maintainer-clean-binutils
2582 maintainer-clean-host: maybe-maintainer-clean-bison
2583 maintainer-clean-host: maybe-maintainer-clean-byacc
2584 maintainer-clean-host: maybe-maintainer-clean-bzip2
2585 maintainer-clean-host: maybe-maintainer-clean-cgen
2586 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2587 maintainer-clean-host: maybe-maintainer-clean-diff
2588 maintainer-clean-host: maybe-maintainer-clean-dosutils
2589 maintainer-clean-host: maybe-maintainer-clean-etc
2590 maintainer-clean-host: maybe-maintainer-clean-fastjar
2591 maintainer-clean-host: maybe-maintainer-clean-fileutils
2592 maintainer-clean-host: maybe-maintainer-clean-findutils
2593 maintainer-clean-host: maybe-maintainer-clean-find
2594 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2595 maintainer-clean-host: maybe-maintainer-clean-flex
2596 maintainer-clean-host: maybe-maintainer-clean-gas
2597 maintainer-clean-host: maybe-maintainer-clean-gcc
2598 maintainer-clean-host: maybe-maintainer-clean-gawk
2599 maintainer-clean-host: maybe-maintainer-clean-gettext
2600 maintainer-clean-host: maybe-maintainer-clean-gmp
2601 maintainer-clean-host: maybe-maintainer-clean-mpfr
2602 maintainer-clean-host: maybe-maintainer-clean-mpc
2603 maintainer-clean-host: maybe-maintainer-clean-ppl
2604 maintainer-clean-host: maybe-maintainer-clean-cloog
2605 maintainer-clean-host: maybe-maintainer-clean-libelf
2606 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2607 maintainer-clean-host: maybe-maintainer-clean-gold
2608 maintainer-clean-host: maybe-maintainer-clean-gprof
2609 maintainer-clean-host: maybe-maintainer-clean-gzip
2610 maintainer-clean-host: maybe-maintainer-clean-hello
2611 maintainer-clean-host: maybe-maintainer-clean-indent
2612 maintainer-clean-host: maybe-maintainer-clean-intl
2613 maintainer-clean-host: maybe-maintainer-clean-tcl
2614 maintainer-clean-host: maybe-maintainer-clean-itcl
2615 maintainer-clean-host: maybe-maintainer-clean-ld
2616 maintainer-clean-host: maybe-maintainer-clean-libcpp
2617 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2618 maintainer-clean-host: maybe-maintainer-clean-libgui
2619 maintainer-clean-host: maybe-maintainer-clean-libiberty
2620 maintainer-clean-host: maybe-maintainer-clean-libiconv
2621 maintainer-clean-host: maybe-maintainer-clean-libtool
2622 maintainer-clean-host: maybe-maintainer-clean-m4
2623 maintainer-clean-host: maybe-maintainer-clean-make
2624 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2625 maintainer-clean-host: maybe-maintainer-clean-patch
2626 maintainer-clean-host: maybe-maintainer-clean-perl
2627 maintainer-clean-host: maybe-maintainer-clean-prms
2628 maintainer-clean-host: maybe-maintainer-clean-rcs
2629 maintainer-clean-host: maybe-maintainer-clean-readline
2630 maintainer-clean-host: maybe-maintainer-clean-release
2631 maintainer-clean-host: maybe-maintainer-clean-recode
2632 maintainer-clean-host: maybe-maintainer-clean-sed
2633 maintainer-clean-host: maybe-maintainer-clean-send-pr
2634 maintainer-clean-host: maybe-maintainer-clean-shellutils
2635 maintainer-clean-host: maybe-maintainer-clean-sid
2636 maintainer-clean-host: maybe-maintainer-clean-sim
2637 maintainer-clean-host: maybe-maintainer-clean-tar
2638 maintainer-clean-host: maybe-maintainer-clean-texinfo
2639 maintainer-clean-host: maybe-maintainer-clean-textutils
2640 maintainer-clean-host: maybe-maintainer-clean-time
2641 maintainer-clean-host: maybe-maintainer-clean-uudecode
2642 maintainer-clean-host: maybe-maintainer-clean-wdiff
2643 maintainer-clean-host: maybe-maintainer-clean-zip
2644 maintainer-clean-host: maybe-maintainer-clean-zlib
2645 maintainer-clean-host: maybe-maintainer-clean-gdb
2646 maintainer-clean-host: maybe-maintainer-clean-expect
2647 maintainer-clean-host: maybe-maintainer-clean-guile
2648 maintainer-clean-host: maybe-maintainer-clean-tk
2649 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2650 maintainer-clean-host: maybe-maintainer-clean-utils
2651 maintainer-clean-host: maybe-maintainer-clean-gnattools
2652 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2653
2654 .PHONY: maintainer-clean-target
2655
2656 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2657 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2658 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2659 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2660 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2661 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2662 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2663 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2664 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2665 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2666 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2667 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2668 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2669 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2670 maintainer-clean-target: maybe-maintainer-clean-target-examples
2671 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2672 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2673 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2674 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2675 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2676 maintainer-clean-target: maybe-maintainer-clean-target-rda
2677 maintainer-clean-target: maybe-maintainer-clean-target-libada
2678 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2679
2680
2681 # Here are the targets which correspond to the do-X targets.
2682
2683 .PHONY: info installcheck dvi pdf html
2684 .PHONY: install-info install-pdf install-html
2685 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2686 .PHONY: local-clean local-distclean local-maintainer-clean
2687 info: do-info
2688 installcheck: do-installcheck
2689 dvi: do-dvi
2690 pdf: do-pdf
2691 html: do-html
2692
2693 # Make sure makeinfo is built before we do a `make info', if we're
2694 # in fact building texinfo.
2695 do-info: maybe-all-texinfo
2696
2697 install-info: do-install-info dir.info
2698         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2699         if [ -f dir.info ] ; then \
2700           $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2701         else true ; fi
2702
2703 install-pdf: do-install-pdf
2704
2705 install-html: do-install-html
2706
2707 local-clean:
2708         -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2709
2710 local-distclean:
2711         -rm -f Makefile config.status config.cache mh-frag mt-frag
2712         -rm -f maybedep.tmp serdep.tmp
2713         -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2714           rm -rf $(TARGET_SUBDIR); \
2715         else true; fi
2716         -rm -rf $(BUILD_SUBDIR)
2717         -if [ "$(HOST_SUBDIR)" != "." ]; then \
2718           rm -rf $(HOST_SUBDIR); \
2719         else true; fi
2720         -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2721         -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2722         -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2723         -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2724         -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2725         -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2726
2727 local-maintainer-clean:
2728         @echo "This command is intended for maintainers to use;"
2729         @echo "it deletes files that may require special tools to rebuild."
2730
2731 clean: do-clean local-clean
2732 mostlyclean: do-mostlyclean local-clean
2733 distclean: do-distclean local-clean local-distclean
2734 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 
2735 maintainer-clean: local-distclean
2736 realclean: maintainer-clean
2737
2738 # Check target.
2739
2740 .PHONY: check do-check
2741 check: do-check
2742
2743 # Only include modules actually being configured and built.
2744 .PHONY: check-host
2745 check-host:  \
2746     maybe-check-ash \
2747     maybe-check-autoconf \
2748     maybe-check-automake \
2749     maybe-check-bash \
2750     maybe-check-bfd \
2751     maybe-check-opcodes \
2752     maybe-check-binutils \
2753     maybe-check-bison \
2754     maybe-check-byacc \
2755     maybe-check-bzip2 \
2756     maybe-check-cgen \
2757     maybe-check-dejagnu \
2758     maybe-check-diff \
2759     maybe-check-dosutils \
2760     maybe-check-etc \
2761     maybe-check-fastjar \
2762     maybe-check-fileutils \
2763     maybe-check-findutils \
2764     maybe-check-find \
2765     maybe-check-fixincludes \
2766     maybe-check-flex \
2767     maybe-check-gas \
2768     maybe-check-gcc \
2769     maybe-check-gawk \
2770     maybe-check-gettext \
2771     maybe-check-gmp \
2772     maybe-check-mpfr \
2773     maybe-check-mpc \
2774     maybe-check-ppl \
2775     maybe-check-cloog \
2776     maybe-check-libelf \
2777     maybe-check-gnuserv \
2778     maybe-check-gold \
2779     maybe-check-gprof \
2780     maybe-check-gzip \
2781     maybe-check-hello \
2782     maybe-check-indent \
2783     maybe-check-intl \
2784     maybe-check-tcl \
2785     maybe-check-itcl \
2786     maybe-check-ld \
2787     maybe-check-libcpp \
2788     maybe-check-libdecnumber \
2789     maybe-check-libgui \
2790     maybe-check-libiberty \
2791     maybe-check-libiconv \
2792     maybe-check-libtool \
2793     maybe-check-m4 \
2794     maybe-check-make \
2795     maybe-check-mmalloc \
2796     maybe-check-patch \
2797     maybe-check-perl \
2798     maybe-check-prms \
2799     maybe-check-rcs \
2800     maybe-check-readline \
2801     maybe-check-release \
2802     maybe-check-recode \
2803     maybe-check-sed \
2804     maybe-check-send-pr \
2805     maybe-check-shellutils \
2806     maybe-check-sid \
2807     maybe-check-sim \
2808     maybe-check-tar \
2809     maybe-check-texinfo \
2810     maybe-check-textutils \
2811     maybe-check-time \
2812     maybe-check-uudecode \
2813     maybe-check-wdiff \
2814     maybe-check-zip \
2815     maybe-check-zlib \
2816     maybe-check-gdb \
2817     maybe-check-expect \
2818     maybe-check-guile \
2819     maybe-check-tk \
2820     maybe-check-libtermcap \
2821     maybe-check-utils \
2822     maybe-check-gnattools \
2823     maybe-check-lto-plugin
2824
2825 .PHONY: check-target
2826 check-target:  \
2827     maybe-check-target-libstdc++-v3 \
2828     maybe-check-target-libmudflap \
2829     maybe-check-target-libssp \
2830     maybe-check-target-newlib \
2831     maybe-check-target-libgcc \
2832     maybe-check-target-libquadmath \
2833     maybe-check-target-libgfortran \
2834     maybe-check-target-libobjc \
2835     maybe-check-target-libgo \
2836     maybe-check-target-libtermcap \
2837     maybe-check-target-winsup \
2838     maybe-check-target-libgloss \
2839     maybe-check-target-libiberty \
2840     maybe-check-target-gperf \
2841     maybe-check-target-examples \
2842     maybe-check-target-libffi \
2843     maybe-check-target-libjava \
2844     maybe-check-target-zlib \
2845     maybe-check-target-boehm-gc \
2846     maybe-check-target-qthreads \
2847     maybe-check-target-rda \
2848     maybe-check-target-libada \
2849     maybe-check-target-libgomp
2850
2851 do-check:
2852         @: $(MAKE); $(unstage)
2853         @r=`${PWD_COMMAND}`; export r; \
2854         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855         $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2856
2857 # Automated reporting of test results.
2858
2859 warning.log: build.log
2860         $(srcdir)/contrib/warn_summary build.log > $@
2861
2862 mail-report.log:
2863         if test x'$(BOOT_CFLAGS)' != x''; then \
2864             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2865         fi; \
2866         $(srcdir)/contrib/test_summary -t >$@
2867         chmod +x $@
2868         echo If you really want to send e-mail, run ./$@ now
2869
2870 mail-report-with-warnings.log: warning.log
2871         if test x'$(BOOT_CFLAGS)' != x''; then \
2872             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2873         fi; \
2874         $(srcdir)/contrib/test_summary -t -i warning.log >$@
2875         chmod +x $@
2876         echo If you really want to send e-mail, run ./$@ now
2877
2878 # Installation targets.
2879
2880 .PHONY: install uninstall
2881 install:
2882         @: $(MAKE); $(unstage)
2883         @r=`${PWD_COMMAND}`; export r; \
2884         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2885         $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2886
2887 .PHONY: install-host-nogcc
2888 install-host-nogcc:  \
2889     maybe-install-ash \
2890     maybe-install-autoconf \
2891     maybe-install-automake \
2892     maybe-install-bash \
2893     maybe-install-bfd \
2894     maybe-install-opcodes \
2895     maybe-install-binutils \
2896     maybe-install-bison \
2897     maybe-install-byacc \
2898     maybe-install-bzip2 \
2899     maybe-install-cgen \
2900     maybe-install-dejagnu \
2901     maybe-install-diff \
2902     maybe-install-dosutils \
2903     maybe-install-etc \
2904     maybe-install-fastjar \
2905     maybe-install-fileutils \
2906     maybe-install-findutils \
2907     maybe-install-find \
2908     maybe-install-fixincludes \
2909     maybe-install-flex \
2910     maybe-install-gas \
2911     maybe-install-gawk \
2912     maybe-install-gettext \
2913     maybe-install-gmp \
2914     maybe-install-mpfr \
2915     maybe-install-mpc \
2916     maybe-install-ppl \
2917     maybe-install-cloog \
2918     maybe-install-libelf \
2919     maybe-install-gnuserv \
2920     maybe-install-gold \
2921     maybe-install-gprof \
2922     maybe-install-gzip \
2923     maybe-install-hello \
2924     maybe-install-indent \
2925     maybe-install-intl \
2926     maybe-install-tcl \
2927     maybe-install-itcl \
2928     maybe-install-ld \
2929     maybe-install-libcpp \
2930     maybe-install-libdecnumber \
2931     maybe-install-libgui \
2932     maybe-install-libiberty \
2933     maybe-install-libiconv \
2934     maybe-install-libtool \
2935     maybe-install-m4 \
2936     maybe-install-make \
2937     maybe-install-mmalloc \
2938     maybe-install-patch \
2939     maybe-install-perl \
2940     maybe-install-prms \
2941     maybe-install-rcs \
2942     maybe-install-readline \
2943     maybe-install-release \
2944     maybe-install-recode \
2945     maybe-install-sed \
2946     maybe-install-send-pr \
2947     maybe-install-shellutils \
2948     maybe-install-sid \
2949     maybe-install-sim \
2950     maybe-install-tar \
2951     maybe-install-texinfo \
2952     maybe-install-textutils \
2953     maybe-install-time \
2954     maybe-install-uudecode \
2955     maybe-install-wdiff \
2956     maybe-install-zip \
2957     maybe-install-zlib \
2958     maybe-install-gdb \
2959     maybe-install-expect \
2960     maybe-install-guile \
2961     maybe-install-tk \
2962     maybe-install-libtermcap \
2963     maybe-install-utils \
2964     maybe-install-gnattools \
2965     maybe-install-lto-plugin
2966
2967 .PHONY: install-host
2968 install-host:  \
2969     maybe-install-ash \
2970     maybe-install-autoconf \
2971     maybe-install-automake \
2972     maybe-install-bash \
2973     maybe-install-bfd \
2974     maybe-install-opcodes \
2975     maybe-install-binutils \
2976     maybe-install-bison \
2977     maybe-install-byacc \
2978     maybe-install-bzip2 \
2979     maybe-install-cgen \
2980     maybe-install-dejagnu \
2981     maybe-install-diff \
2982     maybe-install-dosutils \
2983     maybe-install-etc \
2984     maybe-install-fastjar \
2985     maybe-install-fileutils \
2986     maybe-install-findutils \
2987     maybe-install-find \
2988     maybe-install-fixincludes \
2989     maybe-install-flex \
2990     maybe-install-gas \
2991     maybe-install-gcc \
2992     maybe-install-gawk \
2993     maybe-install-gettext \
2994     maybe-install-gmp \
2995     maybe-install-mpfr \
2996     maybe-install-mpc \
2997     maybe-install-ppl \
2998     maybe-install-cloog \
2999     maybe-install-libelf \
3000     maybe-install-gnuserv \
3001     maybe-install-gold \
3002     maybe-install-gprof \
3003     maybe-install-gzip \
3004     maybe-install-hello \
3005     maybe-install-indent \
3006     maybe-install-intl \
3007     maybe-install-tcl \
3008     maybe-install-itcl \
3009     maybe-install-ld \
3010     maybe-install-libcpp \
3011     maybe-install-libdecnumber \
3012     maybe-install-libgui \
3013     maybe-install-libiberty \
3014     maybe-install-libiconv \
3015     maybe-install-libtool \
3016     maybe-install-m4 \
3017     maybe-install-make \
3018     maybe-install-mmalloc \
3019     maybe-install-patch \
3020     maybe-install-perl \
3021     maybe-install-prms \
3022     maybe-install-rcs \
3023     maybe-install-readline \
3024     maybe-install-release \
3025     maybe-install-recode \
3026     maybe-install-sed \
3027     maybe-install-send-pr \
3028     maybe-install-shellutils \
3029     maybe-install-sid \
3030     maybe-install-sim \
3031     maybe-install-tar \
3032     maybe-install-texinfo \
3033     maybe-install-textutils \
3034     maybe-install-time \
3035     maybe-install-uudecode \
3036     maybe-install-wdiff \
3037     maybe-install-zip \
3038     maybe-install-zlib \
3039     maybe-install-gdb \
3040     maybe-install-expect \
3041     maybe-install-guile \
3042     maybe-install-tk \
3043     maybe-install-libtermcap \
3044     maybe-install-utils \
3045     maybe-install-gnattools \
3046     maybe-install-lto-plugin
3047
3048 .PHONY: install-target
3049 install-target:  \
3050     maybe-install-target-libstdc++-v3 \
3051     maybe-install-target-libmudflap \
3052     maybe-install-target-libssp \
3053     maybe-install-target-newlib \
3054     maybe-install-target-libgcc \
3055     maybe-install-target-libquadmath \
3056     maybe-install-target-libgfortran \
3057     maybe-install-target-libobjc \
3058     maybe-install-target-libgo \
3059     maybe-install-target-libtermcap \
3060     maybe-install-target-winsup \
3061     maybe-install-target-libgloss \
3062     maybe-install-target-libiberty \
3063     maybe-install-target-gperf \
3064     maybe-install-target-examples \
3065     maybe-install-target-libffi \
3066     maybe-install-target-libjava \
3067     maybe-install-target-zlib \
3068     maybe-install-target-boehm-gc \
3069     maybe-install-target-qthreads \
3070     maybe-install-target-rda \
3071     maybe-install-target-libada \
3072     maybe-install-target-libgomp
3073
3074 uninstall:
3075         @echo "the uninstall target is not supported in this tree"
3076
3077 .PHONY: install.all
3078 install.all: install-no-fixedincludes
3079         @if [ -f ./gcc/Makefile ] ; then \
3080                 r=`${PWD_COMMAND}` ; export r ; \
3081                 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3082                 $(HOST_EXPORTS) \
3083                 (cd ./gcc && \
3084                 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
3085         else \
3086                 true ; \
3087         fi
3088
3089 # install-no-fixedincludes is used because Cygnus can not distribute
3090 # the fixed header files.
3091 .PHONY: install-no-fixedincludes
3092 install-no-fixedincludes: installdirs install-host-nogcc \
3093         install-target gcc-no-fixedincludes
3094
3095 .PHONY: install-strip
3096 install-strip:
3097         @: $(MAKE); $(unstage)
3098         @r=`${PWD_COMMAND}`; export r; \
3099         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3100         $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
3101
3102 .PHONY: install-strip-host
3103 install-strip-host:  \
3104     maybe-install-strip-ash \
3105     maybe-install-strip-autoconf \
3106     maybe-install-strip-automake \
3107     maybe-install-strip-bash \
3108     maybe-install-strip-bfd \
3109     maybe-install-strip-opcodes \
3110     maybe-install-strip-binutils \
3111     maybe-install-strip-bison \
3112     maybe-install-strip-byacc \
3113     maybe-install-strip-bzip2 \
3114     maybe-install-strip-cgen \
3115     maybe-install-strip-dejagnu \
3116     maybe-install-strip-diff \
3117     maybe-install-strip-dosutils \
3118     maybe-install-strip-etc \
3119     maybe-install-strip-fastjar \
3120     maybe-install-strip-fileutils \
3121     maybe-install-strip-findutils \
3122     maybe-install-strip-find \
3123     maybe-install-strip-fixincludes \
3124     maybe-install-strip-flex \
3125     maybe-install-strip-gas \
3126     maybe-install-strip-gcc \
3127     maybe-install-strip-gawk \
3128     maybe-install-strip-gettext \
3129     maybe-install-strip-gmp \
3130     maybe-install-strip-mpfr \
3131     maybe-install-strip-mpc \
3132     maybe-install-strip-ppl \
3133     maybe-install-strip-cloog \
3134     maybe-install-strip-libelf \
3135     maybe-install-strip-gnuserv \
3136     maybe-install-strip-gold \
3137     maybe-install-strip-gprof \
3138     maybe-install-strip-gzip \
3139     maybe-install-strip-hello \
3140     maybe-install-strip-indent \
3141     maybe-install-strip-intl \
3142     maybe-install-strip-tcl \
3143     maybe-install-strip-itcl \
3144     maybe-install-strip-ld \
3145     maybe-install-strip-libcpp \
3146     maybe-install-strip-libdecnumber \
3147     maybe-install-strip-libgui \
3148     maybe-install-strip-libiberty \
3149     maybe-install-strip-libiconv \
3150     maybe-install-strip-libtool \
3151     maybe-install-strip-m4 \
3152     maybe-install-strip-make \
3153     maybe-install-strip-mmalloc \
3154     maybe-install-strip-patch \
3155     maybe-install-strip-perl \
3156     maybe-install-strip-prms \
3157     maybe-install-strip-rcs \
3158     maybe-install-strip-readline \
3159     maybe-install-strip-release \
3160     maybe-install-strip-recode \
3161     maybe-install-strip-sed \
3162     maybe-install-strip-send-pr \
3163     maybe-install-strip-shellutils \
3164     maybe-install-strip-sid \
3165     maybe-install-strip-sim \
3166     maybe-install-strip-tar \
3167     maybe-install-strip-texinfo \
3168     maybe-install-strip-textutils \
3169     maybe-install-strip-time \
3170     maybe-install-strip-uudecode \
3171     maybe-install-strip-wdiff \
3172     maybe-install-strip-zip \
3173     maybe-install-strip-zlib \
3174     maybe-install-strip-gdb \
3175     maybe-install-strip-expect \
3176     maybe-install-strip-guile \
3177     maybe-install-strip-tk \
3178     maybe-install-strip-libtermcap \
3179     maybe-install-strip-utils \
3180     maybe-install-strip-gnattools \
3181     maybe-install-strip-lto-plugin
3182
3183 .PHONY: install-strip-target
3184 install-strip-target:  \
3185     maybe-install-strip-target-libstdc++-v3 \
3186     maybe-install-strip-target-libmudflap \
3187     maybe-install-strip-target-libssp \
3188     maybe-install-strip-target-newlib \
3189     maybe-install-strip-target-libgcc \
3190     maybe-install-strip-target-libquadmath \
3191     maybe-install-strip-target-libgfortran \
3192     maybe-install-strip-target-libobjc \
3193     maybe-install-strip-target-libgo \
3194     maybe-install-strip-target-libtermcap \
3195     maybe-install-strip-target-winsup \
3196     maybe-install-strip-target-libgloss \
3197     maybe-install-strip-target-libiberty \
3198     maybe-install-strip-target-gperf \
3199     maybe-install-strip-target-examples \
3200     maybe-install-strip-target-libffi \
3201     maybe-install-strip-target-libjava \
3202     maybe-install-strip-target-zlib \
3203     maybe-install-strip-target-boehm-gc \
3204     maybe-install-strip-target-qthreads \
3205     maybe-install-strip-target-rda \
3206     maybe-install-strip-target-libada \
3207     maybe-install-strip-target-libgomp
3208
3209
3210 ### other supporting targets
3211
3212 MAKEDIRS= \
3213         $(DESTDIR)$(prefix) \
3214         $(DESTDIR)$(exec_prefix)
3215 .PHONY: installdirs
3216 installdirs: mkinstalldirs
3217         $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
3218
3219 dir.info: do-install-info
3220         if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
3221           $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
3222           mv -f dir.info.new dir.info ; \
3223         else true ; \
3224         fi
3225
3226 dist:
3227         @echo "Building a full distribution of this tree isn't done"
3228         @echo "via 'make dist'.  Check out the etc/ subdirectory" 
3229
3230 etags tags: TAGS
3231
3232 # Right now this just builds TAGS in each subdirectory.  emacs19 has the
3233 # ability to use several tags files at once, so there is probably no need
3234 # to combine them into one big TAGS file (like CVS 1.3 does).  We could
3235 # (if we felt like it) have this Makefile write a piece of elisp which
3236 # the user could load to tell emacs19 where all the TAGS files we just
3237 # built are.
3238 TAGS: do-TAGS
3239
3240 # ------------------------------------
3241 # Macros for configure and all targets
3242 # ------------------------------------
3243
3244
3245
3246
3247
3248 # --------------------------------------
3249 # Modules which run on the build machine
3250 # --------------------------------------
3251
3252
3253 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
3254 maybe-configure-build-libiberty:
3255 @if gcc-bootstrap
3256 configure-build-libiberty: stage_current
3257 @endif gcc-bootstrap
3258 @if build-libiberty
3259 maybe-configure-build-libiberty: configure-build-libiberty
3260 configure-build-libiberty: 
3261         @: $(MAKE); $(unstage)
3262         @r=`${PWD_COMMAND}`; export r; \
3263         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3264         test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
3265         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
3266         $(BUILD_EXPORTS)  \
3267         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
3268         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
3269         case $(srcdir) in \
3270           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3271           *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
3272                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3273         esac; \
3274         srcdiroption="--srcdir=$${topdir}/libiberty"; \
3275         libsrcdir="$$s/libiberty"; \
3276         rm -f no-such-file || : ; \
3277         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3278           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3279           --target=${target_alias} $${srcdiroption}  \
3280           || exit 1
3281 @endif build-libiberty
3282
3283
3284
3285
3286
3287 .PHONY: all-build-libiberty maybe-all-build-libiberty
3288 maybe-all-build-libiberty:
3289 @if gcc-bootstrap
3290 all-build-libiberty: stage_current
3291 @endif gcc-bootstrap
3292 @if build-libiberty
3293 TARGET-build-libiberty=all
3294 maybe-all-build-libiberty: all-build-libiberty
3295 all-build-libiberty: configure-build-libiberty
3296         @: $(MAKE); $(unstage)
3297         @r=`${PWD_COMMAND}`; export r; \
3298         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3299         $(BUILD_EXPORTS)  \
3300         (cd $(BUILD_SUBDIR)/libiberty && \
3301           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3302                 $(TARGET-build-libiberty))
3303 @endif build-libiberty
3304
3305
3306
3307
3308
3309 .PHONY: configure-build-bison maybe-configure-build-bison
3310 maybe-configure-build-bison:
3311 @if gcc-bootstrap
3312 configure-build-bison: stage_current
3313 @endif gcc-bootstrap
3314 @if build-bison
3315 maybe-configure-build-bison: configure-build-bison
3316 configure-build-bison: 
3317         @: $(MAKE); $(unstage)
3318         @r=`${PWD_COMMAND}`; export r; \
3319         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3320         test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
3321         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
3322         $(BUILD_EXPORTS)  \
3323         echo Configuring in $(BUILD_SUBDIR)/bison; \
3324         cd "$(BUILD_SUBDIR)/bison" || exit 1; \
3325         case $(srcdir) in \
3326           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3327           *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
3328                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3329         esac; \
3330         srcdiroption="--srcdir=$${topdir}/bison"; \
3331         libsrcdir="$$s/bison"; \
3332         rm -f no-such-file || : ; \
3333         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3334           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3335           --target=${target_alias} $${srcdiroption}  \
3336           || exit 1
3337 @endif build-bison
3338
3339
3340
3341
3342
3343 .PHONY: all-build-bison maybe-all-build-bison
3344 maybe-all-build-bison:
3345 @if gcc-bootstrap
3346 all-build-bison: stage_current
3347 @endif gcc-bootstrap
3348 @if build-bison
3349 TARGET-build-bison=all
3350 maybe-all-build-bison: all-build-bison
3351 all-build-bison: configure-build-bison
3352         @: $(MAKE); $(unstage)
3353         @r=`${PWD_COMMAND}`; export r; \
3354         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3355         $(BUILD_EXPORTS)  \
3356         (cd $(BUILD_SUBDIR)/bison && \
3357           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3358                 $(TARGET-build-bison))
3359 @endif build-bison
3360
3361
3362
3363
3364
3365 .PHONY: configure-build-byacc maybe-configure-build-byacc
3366 maybe-configure-build-byacc:
3367 @if gcc-bootstrap
3368 configure-build-byacc: stage_current
3369 @endif gcc-bootstrap
3370 @if build-byacc
3371 maybe-configure-build-byacc: configure-build-byacc
3372 configure-build-byacc: 
3373         @: $(MAKE); $(unstage)
3374         @r=`${PWD_COMMAND}`; export r; \
3375         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3376         test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
3377         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
3378         $(BUILD_EXPORTS)  \
3379         echo Configuring in $(BUILD_SUBDIR)/byacc; \
3380         cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
3381         case $(srcdir) in \
3382           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3383           *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
3384                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3385         esac; \
3386         srcdiroption="--srcdir=$${topdir}/byacc"; \
3387         libsrcdir="$$s/byacc"; \
3388         rm -f no-such-file || : ; \
3389         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3390           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3391           --target=${target_alias} $${srcdiroption}  \
3392           || exit 1
3393 @endif build-byacc
3394
3395
3396
3397
3398
3399 .PHONY: all-build-byacc maybe-all-build-byacc
3400 maybe-all-build-byacc:
3401 @if gcc-bootstrap
3402 all-build-byacc: stage_current
3403 @endif gcc-bootstrap
3404 @if build-byacc
3405 TARGET-build-byacc=all
3406 maybe-all-build-byacc: all-build-byacc
3407 all-build-byacc: configure-build-byacc
3408         @: $(MAKE); $(unstage)
3409         @r=`${PWD_COMMAND}`; export r; \
3410         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3411         $(BUILD_EXPORTS)  \
3412         (cd $(BUILD_SUBDIR)/byacc && \
3413           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3414                 $(TARGET-build-byacc))
3415 @endif build-byacc
3416
3417
3418
3419
3420
3421 .PHONY: configure-build-flex maybe-configure-build-flex
3422 maybe-configure-build-flex:
3423 @if gcc-bootstrap
3424 configure-build-flex: stage_current
3425 @endif gcc-bootstrap
3426 @if build-flex
3427 maybe-configure-build-flex: configure-build-flex
3428 configure-build-flex: 
3429         @: $(MAKE); $(unstage)
3430         @r=`${PWD_COMMAND}`; export r; \
3431         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432         test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
3433         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
3434         $(BUILD_EXPORTS)  \
3435         echo Configuring in $(BUILD_SUBDIR)/flex; \
3436         cd "$(BUILD_SUBDIR)/flex" || exit 1; \
3437         case $(srcdir) in \
3438           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3439           *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
3440                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3441         esac; \
3442         srcdiroption="--srcdir=$${topdir}/flex"; \
3443         libsrcdir="$$s/flex"; \
3444         rm -f no-such-file || : ; \
3445         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3446           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3447           --target=${target_alias} $${srcdiroption}  \
3448           || exit 1
3449 @endif build-flex
3450
3451
3452
3453
3454
3455 .PHONY: all-build-flex maybe-all-build-flex
3456 maybe-all-build-flex:
3457 @if gcc-bootstrap
3458 all-build-flex: stage_current
3459 @endif gcc-bootstrap
3460 @if build-flex
3461 TARGET-build-flex=all
3462 maybe-all-build-flex: all-build-flex
3463 all-build-flex: configure-build-flex
3464         @: $(MAKE); $(unstage)
3465         @r=`${PWD_COMMAND}`; export r; \
3466         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3467         $(BUILD_EXPORTS)  \
3468         (cd $(BUILD_SUBDIR)/flex && \
3469           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3470                 $(TARGET-build-flex))
3471 @endif build-flex
3472
3473
3474
3475
3476
3477 .PHONY: configure-build-m4 maybe-configure-build-m4
3478 maybe-configure-build-m4:
3479 @if gcc-bootstrap
3480 configure-build-m4: stage_current
3481 @endif gcc-bootstrap
3482 @if build-m4
3483 maybe-configure-build-m4: configure-build-m4
3484 configure-build-m4: 
3485         @: $(MAKE); $(unstage)
3486         @r=`${PWD_COMMAND}`; export r; \
3487         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3488         test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3489         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
3490         $(BUILD_EXPORTS)  \
3491         echo Configuring in $(BUILD_SUBDIR)/m4; \
3492         cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3493         case $(srcdir) in \
3494           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3495           *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3496                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3497         esac; \
3498         srcdiroption="--srcdir=$${topdir}/m4"; \
3499         libsrcdir="$$s/m4"; \
3500         rm -f no-such-file || : ; \
3501         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3502           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3503           --target=${target_alias} $${srcdiroption}  \
3504           || exit 1
3505 @endif build-m4
3506
3507
3508
3509
3510
3511 .PHONY: all-build-m4 maybe-all-build-m4
3512 maybe-all-build-m4:
3513 @if gcc-bootstrap
3514 all-build-m4: stage_current
3515 @endif gcc-bootstrap
3516 @if build-m4
3517 TARGET-build-m4=all
3518 maybe-all-build-m4: all-build-m4
3519 all-build-m4: configure-build-m4
3520         @: $(MAKE); $(unstage)
3521         @r=`${PWD_COMMAND}`; export r; \
3522         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3523         $(BUILD_EXPORTS)  \
3524         (cd $(BUILD_SUBDIR)/m4 && \
3525           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3526                 $(TARGET-build-m4))
3527 @endif build-m4
3528
3529
3530
3531
3532
3533 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3534 maybe-configure-build-texinfo:
3535 @if gcc-bootstrap
3536 configure-build-texinfo: stage_current
3537 @endif gcc-bootstrap
3538 @if build-texinfo
3539 maybe-configure-build-texinfo: configure-build-texinfo
3540 configure-build-texinfo: 
3541         @: $(MAKE); $(unstage)
3542         @r=`${PWD_COMMAND}`; export r; \
3543         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3544         test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3545         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
3546         $(BUILD_EXPORTS)  \
3547         echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3548         cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3549         case $(srcdir) in \
3550           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3551           *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3552                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3553         esac; \
3554         srcdiroption="--srcdir=$${topdir}/texinfo"; \
3555         libsrcdir="$$s/texinfo"; \
3556         rm -f no-such-file || : ; \
3557         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3558           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3559           --target=${target_alias} $${srcdiroption}  \
3560           || exit 1
3561 @endif build-texinfo
3562
3563
3564
3565
3566
3567 .PHONY: all-build-texinfo maybe-all-build-texinfo
3568 maybe-all-build-texinfo:
3569 @if gcc-bootstrap
3570 all-build-texinfo: stage_current
3571 @endif gcc-bootstrap
3572 @if build-texinfo
3573 TARGET-build-texinfo=all
3574 maybe-all-build-texinfo: all-build-texinfo
3575 all-build-texinfo: configure-build-texinfo
3576         @: $(MAKE); $(unstage)
3577         @r=`${PWD_COMMAND}`; export r; \
3578         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3579         $(BUILD_EXPORTS)  \
3580         (cd $(BUILD_SUBDIR)/texinfo && \
3581           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3582                 $(TARGET-build-texinfo))
3583 @endif build-texinfo
3584
3585
3586
3587
3588
3589 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3590 maybe-configure-build-fixincludes:
3591 @if gcc-bootstrap
3592 configure-build-fixincludes: stage_current
3593 @endif gcc-bootstrap
3594 @if build-fixincludes
3595 maybe-configure-build-fixincludes: configure-build-fixincludes
3596 configure-build-fixincludes: 
3597         @: $(MAKE); $(unstage)
3598         @r=`${PWD_COMMAND}`; export r; \
3599         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3600         test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3601         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3602         $(BUILD_EXPORTS)  \
3603         echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3604         cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3605         case $(srcdir) in \
3606           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3607           *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3608                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3609         esac; \
3610         srcdiroption="--srcdir=$${topdir}/fixincludes"; \
3611         libsrcdir="$$s/fixincludes"; \
3612         rm -f no-such-file || : ; \
3613         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3614           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3615           --target=${target_alias} $${srcdiroption}  \
3616           || exit 1
3617 @endif build-fixincludes
3618
3619
3620
3621
3622
3623 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3624 maybe-all-build-fixincludes:
3625 @if gcc-bootstrap
3626 all-build-fixincludes: stage_current
3627 @endif gcc-bootstrap
3628 @if build-fixincludes
3629 TARGET-build-fixincludes=all
3630 maybe-all-build-fixincludes: all-build-fixincludes
3631 all-build-fixincludes: configure-build-fixincludes
3632         @: $(MAKE); $(unstage)
3633         @r=`${PWD_COMMAND}`; export r; \
3634         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3635         $(BUILD_EXPORTS)  \
3636         (cd $(BUILD_SUBDIR)/fixincludes && \
3637           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3638                 $(TARGET-build-fixincludes))
3639 @endif build-fixincludes
3640
3641
3642
3643
3644
3645 # --------------------------------------
3646 # Modules which run on the host machine
3647 # --------------------------------------
3648
3649
3650 .PHONY: configure-ash maybe-configure-ash
3651 maybe-configure-ash:
3652 @if gcc-bootstrap
3653 configure-ash: stage_current
3654 @endif gcc-bootstrap
3655 @if ash
3656 maybe-configure-ash: configure-ash
3657 configure-ash: 
3658         @: $(MAKE); $(unstage)
3659         @r=`${PWD_COMMAND}`; export r; \
3660         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3661         test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
3662         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
3663         $(HOST_EXPORTS)  \
3664         echo Configuring in $(HOST_SUBDIR)/ash; \
3665         cd "$(HOST_SUBDIR)/ash" || exit 1; \
3666         case $(srcdir) in \
3667           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3668           *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
3669                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3670         esac; \
3671         srcdiroption="--srcdir=$${topdir}/ash"; \
3672         libsrcdir="$$s/ash"; \
3673         $(SHELL) $${libsrcdir}/configure \
3674           $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3675           --target=${target_alias} $${srcdiroption}  \
3676           || exit 1
3677 @endif ash
3678
3679
3680
3681
3682
3683 .PHONY: all-ash maybe-all-ash
3684 maybe-all-ash:
3685 @if gcc-bootstrap
3686 all-ash: stage_current
3687 @endif gcc-bootstrap
3688 @if ash
3689 TARGET-ash=all
3690 maybe-all-ash: all-ash
3691 all-ash: configure-ash
3692         @: $(MAKE); $(unstage)
3693         @r=`${PWD_COMMAND}`; export r; \
3694         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3695         $(HOST_EXPORTS)  \
3696         (cd $(HOST_SUBDIR)/ash && \
3697           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)  \
3698                 $(TARGET-ash))
3699 @endif ash
3700
3701
3702
3703
3704 .PHONY: check-ash maybe-check-ash
3705 maybe-check-ash:
3706 @if ash
3707 maybe-check-ash: check-ash
3708
3709 check-ash:
3710         @: $(MAKE); $(unstage)
3711         @r=`${PWD_COMMAND}`; export r; \
3712         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713         $(HOST_EXPORTS) \
3714         (cd $(HOST_SUBDIR)/ash && \
3715           $(MAKE) $(FLAGS_TO_PASS)  check)
3716
3717 @endif ash
3718
3719 .PHONY: install-ash maybe-install-ash
3720 maybe-install-ash:
3721 @if ash
3722 maybe-install-ash: install-ash
3723
3724 install-ash: installdirs
3725         @: $(MAKE); $(unstage)
3726         @r=`${PWD_COMMAND}`; export r; \
3727         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728         $(HOST_EXPORTS) \
3729         (cd $(HOST_SUBDIR)/ash && \
3730           $(MAKE) $(FLAGS_TO_PASS)  install)
3731
3732 @endif ash
3733
3734 .PHONY: install-strip-ash maybe-install-strip-ash
3735 maybe-install-strip-ash:
3736 @if ash
3737 maybe-install-strip-ash: install-strip-ash
3738
3739 install-strip-ash: installdirs
3740         @: $(MAKE); $(unstage)
3741         @r=`${PWD_COMMAND}`; export r; \
3742         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3743         $(HOST_EXPORTS) \
3744         (cd $(HOST_SUBDIR)/ash && \
3745           $(MAKE) $(FLAGS_TO_PASS)  install-strip)
3746
3747 @endif ash
3748
3749 # Other targets (info, dvi, pdf, etc.)
3750
3751 .PHONY: maybe-info-ash info-ash
3752 maybe-info-ash:
3753 @if ash
3754 maybe-info-ash: info-ash
3755
3756 info-ash: \
3757     configure-ash 
3758         @: $(MAKE); $(unstage)
3759         @[ -f ./ash/Makefile ] || exit 0; \
3760         r=`${PWD_COMMAND}`; export r; \
3761         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3762         $(HOST_EXPORTS) \
3763         for flag in $(EXTRA_HOST_FLAGS) ; do \
3764           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3765         done; \
3766         echo "Doing info in ash" ; \
3767         (cd $(HOST_SUBDIR)/ash && \
3768           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3769                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3770                   "RANLIB=$${RANLIB}" \
3771                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3772                   info) \
3773           || exit 1
3774
3775 @endif ash
3776
3777 .PHONY: maybe-dvi-ash dvi-ash
3778 maybe-dvi-ash:
3779 @if ash
3780 maybe-dvi-ash: dvi-ash
3781
3782 dvi-ash: \
3783     configure-ash 
3784         @: $(MAKE); $(unstage)
3785         @[ -f ./ash/Makefile ] || exit 0; \
3786         r=`${PWD_COMMAND}`; export r; \
3787         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3788         $(HOST_EXPORTS) \
3789         for flag in $(EXTRA_HOST_FLAGS) ; do \
3790           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3791         done; \
3792         echo "Doing dvi in ash" ; \
3793         (cd $(HOST_SUBDIR)/ash && \
3794           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3795                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3796                   "RANLIB=$${RANLIB}" \
3797                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3798                   dvi) \
3799           || exit 1
3800
3801 @endif ash
3802
3803 .PHONY: maybe-pdf-ash pdf-ash
3804 maybe-pdf-ash:
3805 @if ash
3806 maybe-pdf-ash: pdf-ash
3807
3808 pdf-ash: \
3809     configure-ash 
3810         @: $(MAKE); $(unstage)
3811         @[ -f ./ash/Makefile ] || exit 0; \
3812         r=`${PWD_COMMAND}`; export r; \
3813         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3814         $(HOST_EXPORTS) \
3815         for flag in $(EXTRA_HOST_FLAGS) ; do \
3816           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3817         done; \
3818         echo "Doing pdf in ash" ; \
3819         (cd $(HOST_SUBDIR)/ash && \
3820           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3821                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3822                   "RANLIB=$${RANLIB}" \
3823                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3824                   pdf) \
3825           || exit 1
3826
3827 @endif ash
3828
3829 .PHONY: maybe-html-ash html-ash
3830 maybe-html-ash:
3831 @if ash
3832 maybe-html-ash: html-ash
3833
3834 html-ash: \
3835     configure-ash 
3836         @: $(MAKE); $(unstage)
3837         @[ -f ./ash/Makefile ] || exit 0; \
3838         r=`${PWD_COMMAND}`; export r; \
3839         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3840         $(HOST_EXPORTS) \
3841         for flag in $(EXTRA_HOST_FLAGS) ; do \
3842           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3843         done; \
3844         echo "Doing html in ash" ; \
3845         (cd $(HOST_SUBDIR)/ash && \
3846           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3847                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3848                   "RANLIB=$${RANLIB}" \
3849                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3850                   html) \
3851           || exit 1
3852
3853 @endif ash
3854
3855 .PHONY: maybe-TAGS-ash TAGS-ash
3856 maybe-TAGS-ash:
3857 @if ash
3858 maybe-TAGS-ash: TAGS-ash
3859
3860 TAGS-ash: \
3861     configure-ash 
3862         @: $(MAKE); $(unstage)
3863      &