OSDN Git Service

2011-03-24 Paolo Bonzini <bonzini@gnu.org>
[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, 2010
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 to pass to stage2 and later makes.
800
801 POSTSTAGE1_FLAGS_TO_PASS = \
802         CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
803         CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
804         GNATBIND="$${GNATBIND}" \
805         LDFLAGS="$${LDFLAGS}" \
806         HOST_LIBS="$${HOST_LIBS}" \
807         "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
808
809 # Flags to pass down to makes which are built with the target environment.
810 # The double $ decreases the length of the command line; those variables
811 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.  The
812 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
813 # so we expand them here.
814 EXTRA_TARGET_FLAGS = \
815         'AR=$$(AR_FOR_TARGET)' \
816         'AS=$(COMPILER_AS_FOR_TARGET)' \
817         'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
818         'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
819         'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
820         'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
821         'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
822         'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
823         'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
824         'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
825         'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
826         'LD=$(COMPILER_LD_FOR_TARGET)' \
827         'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
828         'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
829         'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
830         'NM=$(COMPILER_NM_FOR_TARGET)' \
831         'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
832         'RANLIB=$$(RANLIB_FOR_TARGET)' \
833         'WINDRES=$$(WINDRES_FOR_TARGET)' \
834         'WINDMC=$$(WINDMC_FOR_TARGET)' \
835         'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
836         "TFLAGS=$$TFLAGS"
837
838 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
839
840 # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
841 # unfortunately needs the native compiler and the target ar and
842 # ranlib.
843 # If any variables are added here, they must be added to do-*, below.
844 # The BUILD_* variables are a special case, which are used for the gcc
845 # cross-building scheme.
846 EXTRA_GCC_FLAGS = \
847         "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
848         "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
849         "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
850         "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
851         "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
852         "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
853
854 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
855
856 @if gcc
857 BUILD_CONFIG = @BUILD_CONFIG@
858 ifneq ($(BUILD_CONFIG),)
859 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
860 endif
861 @endif gcc
862
863 .PHONY: configure-host
864 configure-host:  \
865     maybe-configure-ash \
866     maybe-configure-autoconf \
867     maybe-configure-automake \
868     maybe-configure-bash \
869     maybe-configure-bfd \
870     maybe-configure-opcodes \
871     maybe-configure-binutils \
872     maybe-configure-bison \
873     maybe-configure-byacc \
874     maybe-configure-bzip2 \
875     maybe-configure-cgen \
876     maybe-configure-dejagnu \
877     maybe-configure-diff \
878     maybe-configure-dosutils \
879     maybe-configure-etc \
880     maybe-configure-fastjar \
881     maybe-configure-fileutils \
882     maybe-configure-findutils \
883     maybe-configure-find \
884     maybe-configure-fixincludes \
885     maybe-configure-flex \
886     maybe-configure-gas \
887     maybe-configure-gcc \
888     maybe-configure-gawk \
889     maybe-configure-gettext \
890     maybe-configure-gmp \
891     maybe-configure-mpfr \
892     maybe-configure-mpc \
893     maybe-configure-ppl \
894     maybe-configure-cloog \
895     maybe-configure-libelf \
896     maybe-configure-gnuserv \
897     maybe-configure-gold \
898     maybe-configure-gprof \
899     maybe-configure-gzip \
900     maybe-configure-hello \
901     maybe-configure-indent \
902     maybe-configure-intl \
903     maybe-configure-tcl \
904     maybe-configure-itcl \
905     maybe-configure-ld \
906     maybe-configure-libcpp \
907     maybe-configure-libdecnumber \
908     maybe-configure-libgui \
909     maybe-configure-libiberty \
910     maybe-configure-libiconv \
911     maybe-configure-libtool \
912     maybe-configure-m4 \
913     maybe-configure-make \
914     maybe-configure-mmalloc \
915     maybe-configure-patch \
916     maybe-configure-perl \
917     maybe-configure-prms \
918     maybe-configure-rcs \
919     maybe-configure-readline \
920     maybe-configure-release \
921     maybe-configure-recode \
922     maybe-configure-sed \
923     maybe-configure-send-pr \
924     maybe-configure-shellutils \
925     maybe-configure-sid \
926     maybe-configure-sim \
927     maybe-configure-tar \
928     maybe-configure-texinfo \
929     maybe-configure-textutils \
930     maybe-configure-time \
931     maybe-configure-uudecode \
932     maybe-configure-wdiff \
933     maybe-configure-zip \
934     maybe-configure-zlib \
935     maybe-configure-gdb \
936     maybe-configure-expect \
937     maybe-configure-guile \
938     maybe-configure-tk \
939     maybe-configure-libtermcap \
940     maybe-configure-utils \
941     maybe-configure-gnattools \
942     maybe-configure-lto-plugin
943 .PHONY: configure-target
944 configure-target:  \
945     maybe-configure-target-libstdc++-v3 \
946     maybe-configure-target-libmudflap \
947     maybe-configure-target-libssp \
948     maybe-configure-target-newlib \
949     maybe-configure-target-libgcc \
950     maybe-configure-target-libquadmath \
951     maybe-configure-target-libgfortran \
952     maybe-configure-target-libobjc \
953     maybe-configure-target-libgo \
954     maybe-configure-target-libtermcap \
955     maybe-configure-target-winsup \
956     maybe-configure-target-libgloss \
957     maybe-configure-target-libiberty \
958     maybe-configure-target-gperf \
959     maybe-configure-target-examples \
960     maybe-configure-target-libffi \
961     maybe-configure-target-libjava \
962     maybe-configure-target-zlib \
963     maybe-configure-target-boehm-gc \
964     maybe-configure-target-qthreads \
965     maybe-configure-target-rda \
966     maybe-configure-target-libada \
967     maybe-configure-target-libgomp
968
969 # The target built for a native non-bootstrap build.
970 .PHONY: all
971 all:
972 @if gcc-bootstrap
973         [ -f stage_final ] || echo stage3 > stage_final
974         @r=`${PWD_COMMAND}`; export r; \
975         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
976         $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
977 @endif gcc-bootstrap
978         @: $(MAKE); $(unstage)
979         @r=`${PWD_COMMAND}`; export r; \
980         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
981 @if gcc-bootstrap
982         if [ -f stage_last ]; then \
983           TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
984           $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
985         else \
986 @endif gcc-bootstrap
987           $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
988 @if gcc-bootstrap
989             ; \
990         fi \
991 @endif gcc-bootstrap
992         && :
993
994 .PHONY: all-build
995
996 all-build: maybe-all-build-libiberty
997 all-build: maybe-all-build-bison
998 all-build: maybe-all-build-byacc
999 all-build: maybe-all-build-flex
1000 all-build: maybe-all-build-m4
1001 all-build: maybe-all-build-texinfo
1002 all-build: maybe-all-build-fixincludes
1003
1004 .PHONY: all-host
1005
1006 all-host: maybe-all-ash
1007 all-host: maybe-all-autoconf
1008 all-host: maybe-all-automake
1009 all-host: maybe-all-bash
1010 @if bfd-no-bootstrap
1011 all-host: maybe-all-bfd
1012 @endif bfd-no-bootstrap
1013 @if opcodes-no-bootstrap
1014 all-host: maybe-all-opcodes
1015 @endif opcodes-no-bootstrap
1016 @if binutils-no-bootstrap
1017 all-host: maybe-all-binutils
1018 @endif binutils-no-bootstrap
1019 all-host: maybe-all-bison
1020 all-host: maybe-all-byacc
1021 all-host: maybe-all-bzip2
1022 all-host: maybe-all-cgen
1023 all-host: maybe-all-dejagnu
1024 all-host: maybe-all-diff
1025 all-host: maybe-all-dosutils
1026 all-host: maybe-all-etc
1027 all-host: maybe-all-fastjar
1028 all-host: maybe-all-fileutils
1029 all-host: maybe-all-findutils
1030 all-host: maybe-all-find
1031 all-host: maybe-all-fixincludes
1032 all-host: maybe-all-flex
1033 @if gas-no-bootstrap
1034 all-host: maybe-all-gas
1035 @endif gas-no-bootstrap
1036 @if gcc-no-bootstrap
1037 all-host: maybe-all-gcc
1038 @endif gcc-no-bootstrap
1039 all-host: maybe-all-gawk
1040 all-host: maybe-all-gettext
1041 @if gmp-no-bootstrap
1042 all-host: maybe-all-gmp
1043 @endif gmp-no-bootstrap
1044 @if mpfr-no-bootstrap
1045 all-host: maybe-all-mpfr
1046 @endif mpfr-no-bootstrap
1047 @if mpc-no-bootstrap
1048 all-host: maybe-all-mpc
1049 @endif mpc-no-bootstrap
1050 @if ppl-no-bootstrap
1051 all-host: maybe-all-ppl
1052 @endif ppl-no-bootstrap
1053 @if cloog-no-bootstrap
1054 all-host: maybe-all-cloog
1055 @endif cloog-no-bootstrap
1056 @if libelf-no-bootstrap
1057 all-host: maybe-all-libelf
1058 @endif libelf-no-bootstrap
1059 all-host: maybe-all-gnuserv
1060 @if gold-no-bootstrap
1061 all-host: maybe-all-gold
1062 @endif gold-no-bootstrap
1063 all-host: maybe-all-gprof
1064 all-host: maybe-all-gzip
1065 all-host: maybe-all-hello
1066 all-host: maybe-all-indent
1067 @if intl-no-bootstrap
1068 all-host: maybe-all-intl
1069 @endif intl-no-bootstrap
1070 all-host: maybe-all-tcl
1071 all-host: maybe-all-itcl
1072 @if ld-no-bootstrap
1073 all-host: maybe-all-ld
1074 @endif ld-no-bootstrap
1075 @if libcpp-no-bootstrap
1076 all-host: maybe-all-libcpp
1077 @endif libcpp-no-bootstrap
1078 @if libdecnumber-no-bootstrap
1079 all-host: maybe-all-libdecnumber
1080 @endif libdecnumber-no-bootstrap
1081 all-host: maybe-all-libgui
1082 @if libiberty-no-bootstrap
1083 all-host: maybe-all-libiberty
1084 @endif libiberty-no-bootstrap
1085 all-host: maybe-all-libiconv
1086 all-host: maybe-all-libtool
1087 all-host: maybe-all-m4
1088 all-host: maybe-all-make
1089 all-host: maybe-all-mmalloc
1090 all-host: maybe-all-patch
1091 all-host: maybe-all-perl
1092 all-host: maybe-all-prms
1093 all-host: maybe-all-rcs
1094 all-host: maybe-all-readline
1095 all-host: maybe-all-release
1096 all-host: maybe-all-recode
1097 all-host: maybe-all-sed
1098 all-host: maybe-all-send-pr
1099 all-host: maybe-all-shellutils
1100 all-host: maybe-all-sid
1101 all-host: maybe-all-sim
1102 all-host: maybe-all-tar
1103 all-host: maybe-all-texinfo
1104 all-host: maybe-all-textutils
1105 all-host: maybe-all-time
1106 all-host: maybe-all-uudecode
1107 all-host: maybe-all-wdiff
1108 all-host: maybe-all-zip
1109 @if zlib-no-bootstrap
1110 all-host: maybe-all-zlib
1111 @endif zlib-no-bootstrap
1112 all-host: maybe-all-gdb
1113 all-host: maybe-all-expect
1114 all-host: maybe-all-guile
1115 all-host: maybe-all-tk
1116 all-host: maybe-all-libtermcap
1117 all-host: maybe-all-utils
1118 all-host: maybe-all-gnattools
1119 @if lto-plugin-no-bootstrap
1120 all-host: maybe-all-lto-plugin
1121 @endif lto-plugin-no-bootstrap
1122
1123 .PHONY: all-target
1124
1125 @if target-libstdc++-v3-no-bootstrap
1126 all-target: maybe-all-target-libstdc++-v3
1127 @endif target-libstdc++-v3-no-bootstrap
1128 all-target: maybe-all-target-libmudflap
1129 all-target: maybe-all-target-libssp
1130 all-target: maybe-all-target-newlib
1131 @if target-libgcc-no-bootstrap
1132 all-target: maybe-all-target-libgcc
1133 @endif target-libgcc-no-bootstrap
1134 all-target: maybe-all-target-libquadmath
1135 all-target: maybe-all-target-libgfortran
1136 all-target: maybe-all-target-libobjc
1137 all-target: maybe-all-target-libgo
1138 all-target: maybe-all-target-libtermcap
1139 all-target: maybe-all-target-winsup
1140 all-target: maybe-all-target-libgloss
1141 all-target: maybe-all-target-libiberty
1142 all-target: maybe-all-target-gperf
1143 all-target: maybe-all-target-examples
1144 all-target: maybe-all-target-libffi
1145 all-target: maybe-all-target-libjava
1146 all-target: maybe-all-target-zlib
1147 all-target: maybe-all-target-boehm-gc
1148 all-target: maybe-all-target-qthreads
1149 all-target: maybe-all-target-rda
1150 all-target: maybe-all-target-libada
1151 @if target-libgomp-no-bootstrap
1152 all-target: maybe-all-target-libgomp
1153 @endif target-libgomp-no-bootstrap
1154
1155 # Do a target for all the subdirectories.  A ``make do-X'' will do a
1156 # ``make X'' in all subdirectories (because, in general, there is a
1157 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1158 # but it may do additional work as well).
1159
1160 .PHONY: do-info
1161 do-info:
1162         @: $(MAKE); $(unstage)
1163         @r=`${PWD_COMMAND}`; export r; \
1164         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1165         $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1166           info-target
1167
1168
1169 .PHONY: info-host
1170
1171 info-host: maybe-info-ash
1172 info-host: maybe-info-autoconf
1173 info-host: maybe-info-automake
1174 info-host: maybe-info-bash
1175 info-host: maybe-info-bfd
1176 info-host: maybe-info-opcodes
1177 info-host: maybe-info-binutils
1178 info-host: maybe-info-bison
1179 info-host: maybe-info-byacc
1180 info-host: maybe-info-bzip2
1181 info-host: maybe-info-cgen
1182 info-host: maybe-info-dejagnu
1183 info-host: maybe-info-diff
1184 info-host: maybe-info-dosutils
1185 info-host: maybe-info-etc
1186 info-host: maybe-info-fastjar
1187 info-host: maybe-info-fileutils
1188 info-host: maybe-info-findutils
1189 info-host: maybe-info-find
1190 info-host: maybe-info-fixincludes
1191 info-host: maybe-info-flex
1192 info-host: maybe-info-gas
1193 info-host: maybe-info-gcc
1194 info-host: maybe-info-gawk
1195 info-host: maybe-info-gettext
1196 info-host: maybe-info-gmp
1197 info-host: maybe-info-mpfr
1198 info-host: maybe-info-mpc
1199 info-host: maybe-info-ppl
1200 info-host: maybe-info-cloog
1201 info-host: maybe-info-libelf
1202 info-host: maybe-info-gnuserv
1203 info-host: maybe-info-gold
1204 info-host: maybe-info-gprof
1205 info-host: maybe-info-gzip
1206 info-host: maybe-info-hello
1207 info-host: maybe-info-indent
1208 info-host: maybe-info-intl
1209 info-host: maybe-info-tcl
1210 info-host: maybe-info-itcl
1211 info-host: maybe-info-ld
1212 info-host: maybe-info-libcpp
1213 info-host: maybe-info-libdecnumber
1214 info-host: maybe-info-libgui
1215 info-host: maybe-info-libiberty
1216 info-host: maybe-info-libiconv
1217 info-host: maybe-info-libtool
1218 info-host: maybe-info-m4
1219 info-host: maybe-info-make
1220 info-host: maybe-info-mmalloc
1221 info-host: maybe-info-patch
1222 info-host: maybe-info-perl
1223 info-host: maybe-info-prms
1224 info-host: maybe-info-rcs
1225 info-host: maybe-info-readline
1226 info-host: maybe-info-release
1227 info-host: maybe-info-recode
1228 info-host: maybe-info-sed
1229 info-host: maybe-info-send-pr
1230 info-host: maybe-info-shellutils
1231 info-host: maybe-info-sid
1232 info-host: maybe-info-sim
1233 info-host: maybe-info-tar
1234 info-host: maybe-info-texinfo
1235 info-host: maybe-info-textutils
1236 info-host: maybe-info-time
1237 info-host: maybe-info-uudecode
1238 info-host: maybe-info-wdiff
1239 info-host: maybe-info-zip
1240 info-host: maybe-info-zlib
1241 info-host: maybe-info-gdb
1242 info-host: maybe-info-expect
1243 info-host: maybe-info-guile
1244 info-host: maybe-info-tk
1245 info-host: maybe-info-libtermcap
1246 info-host: maybe-info-utils
1247 info-host: maybe-info-gnattools
1248 info-host: maybe-info-lto-plugin
1249
1250 .PHONY: info-target
1251
1252 info-target: maybe-info-target-libstdc++-v3
1253 info-target: maybe-info-target-libmudflap
1254 info-target: maybe-info-target-libssp
1255 info-target: maybe-info-target-newlib
1256 info-target: maybe-info-target-libgcc
1257 info-target: maybe-info-target-libquadmath
1258 info-target: maybe-info-target-libgfortran
1259 info-target: maybe-info-target-libobjc
1260 info-target: maybe-info-target-libgo
1261 info-target: maybe-info-target-libtermcap
1262 info-target: maybe-info-target-winsup
1263 info-target: maybe-info-target-libgloss
1264 info-target: maybe-info-target-libiberty
1265 info-target: maybe-info-target-gperf
1266 info-target: maybe-info-target-examples
1267 info-target: maybe-info-target-libffi
1268 info-target: maybe-info-target-libjava
1269 info-target: maybe-info-target-zlib
1270 info-target: maybe-info-target-boehm-gc
1271 info-target: maybe-info-target-qthreads
1272 info-target: maybe-info-target-rda
1273 info-target: maybe-info-target-libada
1274 info-target: maybe-info-target-libgomp
1275
1276 .PHONY: do-dvi
1277 do-dvi:
1278         @: $(MAKE); $(unstage)
1279         @r=`${PWD_COMMAND}`; export r; \
1280         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1281         $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1282           dvi-target
1283
1284
1285 .PHONY: dvi-host
1286
1287 dvi-host: maybe-dvi-ash
1288 dvi-host: maybe-dvi-autoconf
1289 dvi-host: maybe-dvi-automake
1290 dvi-host: maybe-dvi-bash
1291 dvi-host: maybe-dvi-bfd
1292 dvi-host: maybe-dvi-opcodes
1293 dvi-host: maybe-dvi-binutils
1294 dvi-host: maybe-dvi-bison
1295 dvi-host: maybe-dvi-byacc
1296 dvi-host: maybe-dvi-bzip2
1297 dvi-host: maybe-dvi-cgen
1298 dvi-host: maybe-dvi-dejagnu
1299 dvi-host: maybe-dvi-diff
1300 dvi-host: maybe-dvi-dosutils
1301 dvi-host: maybe-dvi-etc
1302 dvi-host: maybe-dvi-fastjar
1303 dvi-host: maybe-dvi-fileutils
1304 dvi-host: maybe-dvi-findutils
1305 dvi-host: maybe-dvi-find
1306 dvi-host: maybe-dvi-fixincludes
1307 dvi-host: maybe-dvi-flex
1308 dvi-host: maybe-dvi-gas
1309 dvi-host: maybe-dvi-gcc
1310 dvi-host: maybe-dvi-gawk
1311 dvi-host: maybe-dvi-gettext
1312 dvi-host: maybe-dvi-gmp
1313 dvi-host: maybe-dvi-mpfr
1314 dvi-host: maybe-dvi-mpc
1315 dvi-host: maybe-dvi-ppl
1316 dvi-host: maybe-dvi-cloog
1317 dvi-host: maybe-dvi-libelf
1318 dvi-host: maybe-dvi-gnuserv
1319 dvi-host: maybe-dvi-gold
1320 dvi-host: maybe-dvi-gprof
1321 dvi-host: maybe-dvi-gzip
1322 dvi-host: maybe-dvi-hello
1323 dvi-host: maybe-dvi-indent
1324 dvi-host: maybe-dvi-intl
1325 dvi-host: maybe-dvi-tcl
1326 dvi-host: maybe-dvi-itcl
1327 dvi-host: maybe-dvi-ld
1328 dvi-host: maybe-dvi-libcpp
1329 dvi-host: maybe-dvi-libdecnumber
1330 dvi-host: maybe-dvi-libgui
1331 dvi-host: maybe-dvi-libiberty
1332 dvi-host: maybe-dvi-libiconv
1333 dvi-host: maybe-dvi-libtool
1334 dvi-host: maybe-dvi-m4
1335 dvi-host: maybe-dvi-make
1336 dvi-host: maybe-dvi-mmalloc
1337 dvi-host: maybe-dvi-patch
1338 dvi-host: maybe-dvi-perl
1339 dvi-host: maybe-dvi-prms
1340 dvi-host: maybe-dvi-rcs
1341 dvi-host: maybe-dvi-readline
1342 dvi-host: maybe-dvi-release
1343 dvi-host: maybe-dvi-recode
1344 dvi-host: maybe-dvi-sed
1345 dvi-host: maybe-dvi-send-pr
1346 dvi-host: maybe-dvi-shellutils
1347 dvi-host: maybe-dvi-sid
1348 dvi-host: maybe-dvi-sim
1349 dvi-host: maybe-dvi-tar
1350 dvi-host: maybe-dvi-texinfo
1351 dvi-host: maybe-dvi-textutils
1352 dvi-host: maybe-dvi-time
1353 dvi-host: maybe-dvi-uudecode
1354 dvi-host: maybe-dvi-wdiff
1355 dvi-host: maybe-dvi-zip
1356 dvi-host: maybe-dvi-zlib
1357 dvi-host: maybe-dvi-gdb
1358 dvi-host: maybe-dvi-expect
1359 dvi-host: maybe-dvi-guile
1360 dvi-host: maybe-dvi-tk
1361 dvi-host: maybe-dvi-libtermcap
1362 dvi-host: maybe-dvi-utils
1363 dvi-host: maybe-dvi-gnattools
1364 dvi-host: maybe-dvi-lto-plugin
1365
1366 .PHONY: dvi-target
1367
1368 dvi-target: maybe-dvi-target-libstdc++-v3
1369 dvi-target: maybe-dvi-target-libmudflap
1370 dvi-target: maybe-dvi-target-libssp
1371 dvi-target: maybe-dvi-target-newlib
1372 dvi-target: maybe-dvi-target-libgcc
1373 dvi-target: maybe-dvi-target-libquadmath
1374 dvi-target: maybe-dvi-target-libgfortran
1375 dvi-target: maybe-dvi-target-libobjc
1376 dvi-target: maybe-dvi-target-libgo
1377 dvi-target: maybe-dvi-target-libtermcap
1378 dvi-target: maybe-dvi-target-winsup
1379 dvi-target: maybe-dvi-target-libgloss
1380 dvi-target: maybe-dvi-target-libiberty
1381 dvi-target: maybe-dvi-target-gperf
1382 dvi-target: maybe-dvi-target-examples
1383 dvi-target: maybe-dvi-target-libffi
1384 dvi-target: maybe-dvi-target-libjava
1385 dvi-target: maybe-dvi-target-zlib
1386 dvi-target: maybe-dvi-target-boehm-gc
1387 dvi-target: maybe-dvi-target-qthreads
1388 dvi-target: maybe-dvi-target-rda
1389 dvi-target: maybe-dvi-target-libada
1390 dvi-target: maybe-dvi-target-libgomp
1391
1392 .PHONY: do-pdf
1393 do-pdf:
1394         @: $(MAKE); $(unstage)
1395         @r=`${PWD_COMMAND}`; export r; \
1396         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1397         $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1398           pdf-target
1399
1400
1401 .PHONY: pdf-host
1402
1403 pdf-host: maybe-pdf-ash
1404 pdf-host: maybe-pdf-autoconf
1405 pdf-host: maybe-pdf-automake
1406 pdf-host: maybe-pdf-bash
1407 pdf-host: maybe-pdf-bfd
1408 pdf-host: maybe-pdf-opcodes
1409 pdf-host: maybe-pdf-binutils
1410 pdf-host: maybe-pdf-bison
1411 pdf-host: maybe-pdf-byacc
1412 pdf-host: maybe-pdf-bzip2
1413 pdf-host: maybe-pdf-cgen
1414 pdf-host: maybe-pdf-dejagnu
1415 pdf-host: maybe-pdf-diff
1416 pdf-host: maybe-pdf-dosutils
1417 pdf-host: maybe-pdf-etc
1418 pdf-host: maybe-pdf-fastjar
1419 pdf-host: maybe-pdf-fileutils
1420 pdf-host: maybe-pdf-findutils
1421 pdf-host: maybe-pdf-find
1422 pdf-host: maybe-pdf-fixincludes
1423 pdf-host: maybe-pdf-flex
1424 pdf-host: maybe-pdf-gas
1425 pdf-host: maybe-pdf-gcc
1426 pdf-host: maybe-pdf-gawk
1427 pdf-host: maybe-pdf-gettext
1428 pdf-host: maybe-pdf-gmp
1429 pdf-host: maybe-pdf-mpfr
1430 pdf-host: maybe-pdf-mpc
1431 pdf-host: maybe-pdf-ppl
1432 pdf-host: maybe-pdf-cloog
1433 pdf-host: maybe-pdf-libelf
1434 pdf-host: maybe-pdf-gnuserv
1435 pdf-host: maybe-pdf-gold
1436 pdf-host: maybe-pdf-gprof
1437 pdf-host: maybe-pdf-gzip
1438 pdf-host: maybe-pdf-hello
1439 pdf-host: maybe-pdf-indent
1440 pdf-host: maybe-pdf-intl
1441 pdf-host: maybe-pdf-tcl
1442 pdf-host: maybe-pdf-itcl
1443 pdf-host: maybe-pdf-ld
1444 pdf-host: maybe-pdf-libcpp
1445 pdf-host: maybe-pdf-libdecnumber
1446 pdf-host: maybe-pdf-libgui
1447 pdf-host: maybe-pdf-libiberty
1448 pdf-host: maybe-pdf-libiconv
1449 pdf-host: maybe-pdf-libtool
1450 pdf-host: maybe-pdf-m4
1451 pdf-host: maybe-pdf-make
1452 pdf-host: maybe-pdf-mmalloc
1453 pdf-host: maybe-pdf-patch
1454 pdf-host: maybe-pdf-perl
1455 pdf-host: maybe-pdf-prms
1456 pdf-host: maybe-pdf-rcs
1457 pdf-host: maybe-pdf-readline
1458 pdf-host: maybe-pdf-release
1459 pdf-host: maybe-pdf-recode
1460 pdf-host: maybe-pdf-sed
1461 pdf-host: maybe-pdf-send-pr
1462 pdf-host: maybe-pdf-shellutils
1463 pdf-host: maybe-pdf-sid
1464 pdf-host: maybe-pdf-sim
1465 pdf-host: maybe-pdf-tar
1466 pdf-host: maybe-pdf-texinfo
1467 pdf-host: maybe-pdf-textutils
1468 pdf-host: maybe-pdf-time
1469 pdf-host: maybe-pdf-uudecode
1470 pdf-host: maybe-pdf-wdiff
1471 pdf-host: maybe-pdf-zip
1472 pdf-host: maybe-pdf-zlib
1473 pdf-host: maybe-pdf-gdb
1474 pdf-host: maybe-pdf-expect
1475 pdf-host: maybe-pdf-guile
1476 pdf-host: maybe-pdf-tk
1477 pdf-host: maybe-pdf-libtermcap
1478 pdf-host: maybe-pdf-utils
1479 pdf-host: maybe-pdf-gnattools
1480 pdf-host: maybe-pdf-lto-plugin
1481
1482 .PHONY: pdf-target
1483
1484 pdf-target: maybe-pdf-target-libstdc++-v3
1485 pdf-target: maybe-pdf-target-libmudflap
1486 pdf-target: maybe-pdf-target-libssp
1487 pdf-target: maybe-pdf-target-newlib
1488 pdf-target: maybe-pdf-target-libgcc
1489 pdf-target: maybe-pdf-target-libquadmath
1490 pdf-target: maybe-pdf-target-libgfortran
1491 pdf-target: maybe-pdf-target-libobjc
1492 pdf-target: maybe-pdf-target-libgo
1493 pdf-target: maybe-pdf-target-libtermcap
1494 pdf-target: maybe-pdf-target-winsup
1495 pdf-target: maybe-pdf-target-libgloss
1496 pdf-target: maybe-pdf-target-libiberty
1497 pdf-target: maybe-pdf-target-gperf
1498 pdf-target: maybe-pdf-target-examples
1499 pdf-target: maybe-pdf-target-libffi
1500 pdf-target: maybe-pdf-target-libjava
1501 pdf-target: maybe-pdf-target-zlib
1502 pdf-target: maybe-pdf-target-boehm-gc
1503 pdf-target: maybe-pdf-target-qthreads
1504 pdf-target: maybe-pdf-target-rda
1505 pdf-target: maybe-pdf-target-libada
1506 pdf-target: maybe-pdf-target-libgomp
1507
1508 .PHONY: do-html
1509 do-html:
1510         @: $(MAKE); $(unstage)
1511         @r=`${PWD_COMMAND}`; export r; \
1512         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1513         $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1514           html-target
1515
1516
1517 .PHONY: html-host
1518
1519 html-host: maybe-html-ash
1520 html-host: maybe-html-autoconf
1521 html-host: maybe-html-automake
1522 html-host: maybe-html-bash
1523 html-host: maybe-html-bfd
1524 html-host: maybe-html-opcodes
1525 html-host: maybe-html-binutils
1526 html-host: maybe-html-bison
1527 html-host: maybe-html-byacc
1528 html-host: maybe-html-bzip2
1529 html-host: maybe-html-cgen
1530 html-host: maybe-html-dejagnu
1531 html-host: maybe-html-diff
1532 html-host: maybe-html-dosutils
1533 html-host: maybe-html-etc
1534 html-host: maybe-html-fastjar
1535 html-host: maybe-html-fileutils
1536 html-host: maybe-html-findutils
1537 html-host: maybe-html-find
1538 html-host: maybe-html-fixincludes
1539 html-host: maybe-html-flex
1540 html-host: maybe-html-gas
1541 html-host: maybe-html-gcc
1542 html-host: maybe-html-gawk
1543 html-host: maybe-html-gettext
1544 html-host: maybe-html-gmp
1545 html-host: maybe-html-mpfr
1546 html-host: maybe-html-mpc
1547 html-host: maybe-html-ppl
1548 html-host: maybe-html-cloog
1549 html-host: maybe-html-libelf
1550 html-host: maybe-html-gnuserv
1551 html-host: maybe-html-gold
1552 html-host: maybe-html-gprof
1553 html-host: maybe-html-gzip
1554 html-host: maybe-html-hello
1555 html-host: maybe-html-indent
1556 html-host: maybe-html-intl
1557 html-host: maybe-html-tcl
1558 html-host: maybe-html-itcl
1559 html-host: maybe-html-ld
1560 html-host: maybe-html-libcpp
1561 html-host: maybe-html-libdecnumber
1562 html-host: maybe-html-libgui
1563 html-host: maybe-html-libiberty
1564 html-host: maybe-html-libiconv
1565 html-host: maybe-html-libtool
1566 html-host: maybe-html-m4
1567 html-host: maybe-html-make
1568 html-host: maybe-html-mmalloc
1569 html-host: maybe-html-patch
1570 html-host: maybe-html-perl
1571 html-host: maybe-html-prms
1572 html-host: maybe-html-rcs
1573 html-host: maybe-html-readline
1574 html-host: maybe-html-release
1575 html-host: maybe-html-recode
1576 html-host: maybe-html-sed
1577 html-host: maybe-html-send-pr
1578 html-host: maybe-html-shellutils
1579 html-host: maybe-html-sid
1580 html-host: maybe-html-sim
1581 html-host: maybe-html-tar
1582 html-host: maybe-html-texinfo
1583 html-host: maybe-html-textutils
1584 html-host: maybe-html-time
1585 html-host: maybe-html-uudecode
1586 html-host: maybe-html-wdiff
1587 html-host: maybe-html-zip
1588 html-host: maybe-html-zlib
1589 html-host: maybe-html-gdb
1590 html-host: maybe-html-expect
1591 html-host: maybe-html-guile
1592 html-host: maybe-html-tk
1593 html-host: maybe-html-libtermcap
1594 html-host: maybe-html-utils
1595 html-host: maybe-html-gnattools
1596 html-host: maybe-html-lto-plugin
1597
1598 .PHONY: html-target
1599
1600 html-target: maybe-html-target-libstdc++-v3
1601 html-target: maybe-html-target-libmudflap
1602 html-target: maybe-html-target-libssp
1603 html-target: maybe-html-target-newlib
1604 html-target: maybe-html-target-libgcc
1605 html-target: maybe-html-target-libquadmath
1606 html-target: maybe-html-target-libgfortran
1607 html-target: maybe-html-target-libobjc
1608 html-target: maybe-html-target-libgo
1609 html-target: maybe-html-target-libtermcap
1610 html-target: maybe-html-target-winsup
1611 html-target: maybe-html-target-libgloss
1612 html-target: maybe-html-target-libiberty
1613 html-target: maybe-html-target-gperf
1614 html-target: maybe-html-target-examples
1615 html-target: maybe-html-target-libffi
1616 html-target: maybe-html-target-libjava
1617 html-target: maybe-html-target-zlib
1618 html-target: maybe-html-target-boehm-gc
1619 html-target: maybe-html-target-qthreads
1620 html-target: maybe-html-target-rda
1621 html-target: maybe-html-target-libada
1622 html-target: maybe-html-target-libgomp
1623
1624 .PHONY: do-TAGS
1625 do-TAGS:
1626         @: $(MAKE); $(unstage)
1627         @r=`${PWD_COMMAND}`; export r; \
1628         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1629         $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1630           TAGS-target
1631
1632
1633 .PHONY: TAGS-host
1634
1635 TAGS-host: maybe-TAGS-ash
1636 TAGS-host: maybe-TAGS-autoconf
1637 TAGS-host: maybe-TAGS-automake
1638 TAGS-host: maybe-TAGS-bash
1639 TAGS-host: maybe-TAGS-bfd
1640 TAGS-host: maybe-TAGS-opcodes
1641 TAGS-host: maybe-TAGS-binutils
1642 TAGS-host: maybe-TAGS-bison
1643 TAGS-host: maybe-TAGS-byacc
1644 TAGS-host: maybe-TAGS-bzip2
1645 TAGS-host: maybe-TAGS-cgen
1646 TAGS-host: maybe-TAGS-dejagnu
1647 TAGS-host: maybe-TAGS-diff
1648 TAGS-host: maybe-TAGS-dosutils
1649 TAGS-host: maybe-TAGS-etc
1650 TAGS-host: maybe-TAGS-fastjar
1651 TAGS-host: maybe-TAGS-fileutils
1652 TAGS-host: maybe-TAGS-findutils
1653 TAGS-host: maybe-TAGS-find
1654 TAGS-host: maybe-TAGS-fixincludes
1655 TAGS-host: maybe-TAGS-flex
1656 TAGS-host: maybe-TAGS-gas
1657 TAGS-host: maybe-TAGS-gcc
1658 TAGS-host: maybe-TAGS-gawk
1659 TAGS-host: maybe-TAGS-gettext
1660 TAGS-host: maybe-TAGS-gmp
1661 TAGS-host: maybe-TAGS-mpfr
1662 TAGS-host: maybe-TAGS-mpc
1663 TAGS-host: maybe-TAGS-ppl
1664 TAGS-host: maybe-TAGS-cloog
1665 TAGS-host: maybe-TAGS-libelf
1666 TAGS-host: maybe-TAGS-gnuserv
1667 TAGS-host: maybe-TAGS-gold
1668 TAGS-host: maybe-TAGS-gprof
1669 TAGS-host: maybe-TAGS-gzip
1670 TAGS-host: maybe-TAGS-hello
1671 TAGS-host: maybe-TAGS-indent
1672 TAGS-host: maybe-TAGS-intl
1673 TAGS-host: maybe-TAGS-tcl
1674 TAGS-host: maybe-TAGS-itcl
1675 TAGS-host: maybe-TAGS-ld
1676 TAGS-host: maybe-TAGS-libcpp
1677 TAGS-host: maybe-TAGS-libdecnumber
1678 TAGS-host: maybe-TAGS-libgui
1679 TAGS-host: maybe-TAGS-libiberty
1680 TAGS-host: maybe-TAGS-libiconv
1681 TAGS-host: maybe-TAGS-libtool
1682 TAGS-host: maybe-TAGS-m4
1683 TAGS-host: maybe-TAGS-make
1684 TAGS-host: maybe-TAGS-mmalloc
1685 TAGS-host: maybe-TAGS-patch
1686 TAGS-host: maybe-TAGS-perl
1687 TAGS-host: maybe-TAGS-prms
1688 TAGS-host: maybe-TAGS-rcs
1689 TAGS-host: maybe-TAGS-readline
1690 TAGS-host: maybe-TAGS-release
1691 TAGS-host: maybe-TAGS-recode
1692 TAGS-host: maybe-TAGS-sed
1693 TAGS-host: maybe-TAGS-send-pr
1694 TAGS-host: maybe-TAGS-shellutils
1695 TAGS-host: maybe-TAGS-sid
1696 TAGS-host: maybe-TAGS-sim
1697 TAGS-host: maybe-TAGS-tar
1698 TAGS-host: maybe-TAGS-texinfo
1699 TAGS-host: maybe-TAGS-textutils
1700 TAGS-host: maybe-TAGS-time
1701 TAGS-host: maybe-TAGS-uudecode
1702 TAGS-host: maybe-TAGS-wdiff
1703 TAGS-host: maybe-TAGS-zip
1704 TAGS-host: maybe-TAGS-zlib
1705 TAGS-host: maybe-TAGS-gdb
1706 TAGS-host: maybe-TAGS-expect
1707 TAGS-host: maybe-TAGS-guile
1708 TAGS-host: maybe-TAGS-tk
1709 TAGS-host: maybe-TAGS-libtermcap
1710 TAGS-host: maybe-TAGS-utils
1711 TAGS-host: maybe-TAGS-gnattools
1712 TAGS-host: maybe-TAGS-lto-plugin
1713
1714 .PHONY: TAGS-target
1715
1716 TAGS-target: maybe-TAGS-target-libstdc++-v3
1717 TAGS-target: maybe-TAGS-target-libmudflap
1718 TAGS-target: maybe-TAGS-target-libssp
1719 TAGS-target: maybe-TAGS-target-newlib
1720 TAGS-target: maybe-TAGS-target-libgcc
1721 TAGS-target: maybe-TAGS-target-libquadmath
1722 TAGS-target: maybe-TAGS-target-libgfortran
1723 TAGS-target: maybe-TAGS-target-libobjc
1724 TAGS-target: maybe-TAGS-target-libgo
1725 TAGS-target: maybe-TAGS-target-libtermcap
1726 TAGS-target: maybe-TAGS-target-winsup
1727 TAGS-target: maybe-TAGS-target-libgloss
1728 TAGS-target: maybe-TAGS-target-libiberty
1729 TAGS-target: maybe-TAGS-target-gperf
1730 TAGS-target: maybe-TAGS-target-examples
1731 TAGS-target: maybe-TAGS-target-libffi
1732 TAGS-target: maybe-TAGS-target-libjava
1733 TAGS-target: maybe-TAGS-target-zlib
1734 TAGS-target: maybe-TAGS-target-boehm-gc
1735 TAGS-target: maybe-TAGS-target-qthreads
1736 TAGS-target: maybe-TAGS-target-rda
1737 TAGS-target: maybe-TAGS-target-libada
1738 TAGS-target: maybe-TAGS-target-libgomp
1739
1740 .PHONY: do-install-info
1741 do-install-info:
1742         @: $(MAKE); $(unstage)
1743         @r=`${PWD_COMMAND}`; export r; \
1744         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1745         $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1746           install-info-target
1747
1748
1749 .PHONY: install-info-host
1750
1751 install-info-host: maybe-install-info-ash
1752 install-info-host: maybe-install-info-autoconf
1753 install-info-host: maybe-install-info-automake
1754 install-info-host: maybe-install-info-bash
1755 install-info-host: maybe-install-info-bfd
1756 install-info-host: maybe-install-info-opcodes
1757 install-info-host: maybe-install-info-binutils
1758 install-info-host: maybe-install-info-bison
1759 install-info-host: maybe-install-info-byacc
1760 install-info-host: maybe-install-info-bzip2
1761 install-info-host: maybe-install-info-cgen
1762 install-info-host: maybe-install-info-dejagnu
1763 install-info-host: maybe-install-info-diff
1764 install-info-host: maybe-install-info-dosutils
1765 install-info-host: maybe-install-info-etc
1766 install-info-host: maybe-install-info-fastjar
1767 install-info-host: maybe-install-info-fileutils
1768 install-info-host: maybe-install-info-findutils
1769 install-info-host: maybe-install-info-find
1770 install-info-host: maybe-install-info-fixincludes
1771 install-info-host: maybe-install-info-flex
1772 install-info-host: maybe-install-info-gas
1773 install-info-host: maybe-install-info-gcc
1774 install-info-host: maybe-install-info-gawk
1775 install-info-host: maybe-install-info-gettext
1776 install-info-host: maybe-install-info-gmp
1777 install-info-host: maybe-install-info-mpfr
1778 install-info-host: maybe-install-info-mpc
1779 install-info-host: maybe-install-info-ppl
1780 install-info-host: maybe-install-info-cloog
1781 install-info-host: maybe-install-info-libelf
1782 install-info-host: maybe-install-info-gnuserv
1783 install-info-host: maybe-install-info-gold
1784 install-info-host: maybe-install-info-gprof
1785 install-info-host: maybe-install-info-gzip
1786 install-info-host: maybe-install-info-hello
1787 install-info-host: maybe-install-info-indent
1788 install-info-host: maybe-install-info-intl
1789 install-info-host: maybe-install-info-tcl
1790 install-info-host: maybe-install-info-itcl
1791 install-info-host: maybe-install-info-ld
1792 install-info-host: maybe-install-info-libcpp
1793 install-info-host: maybe-install-info-libdecnumber
1794 install-info-host: maybe-install-info-libgui
1795 install-info-host: maybe-install-info-libiberty
1796 install-info-host: maybe-install-info-libiconv
1797 install-info-host: maybe-install-info-libtool
1798 install-info-host: maybe-install-info-m4
1799 install-info-host: maybe-install-info-make
1800 install-info-host: maybe-install-info-mmalloc
1801 install-info-host: maybe-install-info-patch
1802 install-info-host: maybe-install-info-perl
1803 install-info-host: maybe-install-info-prms
1804 install-info-host: maybe-install-info-rcs
1805 install-info-host: maybe-install-info-readline
1806 install-info-host: maybe-install-info-release
1807 install-info-host: maybe-install-info-recode
1808 install-info-host: maybe-install-info-sed
1809 install-info-host: maybe-install-info-send-pr
1810 install-info-host: maybe-install-info-shellutils
1811 install-info-host: maybe-install-info-sid
1812 install-info-host: maybe-install-info-sim
1813 install-info-host: maybe-install-info-tar
1814 install-info-host: maybe-install-info-texinfo
1815 install-info-host: maybe-install-info-textutils
1816 install-info-host: maybe-install-info-time
1817 install-info-host: maybe-install-info-uudecode
1818 install-info-host: maybe-install-info-wdiff
1819 install-info-host: maybe-install-info-zip
1820 install-info-host: maybe-install-info-zlib
1821 install-info-host: maybe-install-info-gdb
1822 install-info-host: maybe-install-info-expect
1823 install-info-host: maybe-install-info-guile
1824 install-info-host: maybe-install-info-tk
1825 install-info-host: maybe-install-info-libtermcap
1826 install-info-host: maybe-install-info-utils
1827 install-info-host: maybe-install-info-gnattools
1828 install-info-host: maybe-install-info-lto-plugin
1829
1830 .PHONY: install-info-target
1831
1832 install-info-target: maybe-install-info-target-libstdc++-v3
1833 install-info-target: maybe-install-info-target-libmudflap
1834 install-info-target: maybe-install-info-target-libssp
1835 install-info-target: maybe-install-info-target-newlib
1836 install-info-target: maybe-install-info-target-libgcc
1837 install-info-target: maybe-install-info-target-libquadmath
1838 install-info-target: maybe-install-info-target-libgfortran
1839 install-info-target: maybe-install-info-target-libobjc
1840 install-info-target: maybe-install-info-target-libgo
1841 install-info-target: maybe-install-info-target-libtermcap
1842 install-info-target: maybe-install-info-target-winsup
1843 install-info-target: maybe-install-info-target-libgloss
1844 install-info-target: maybe-install-info-target-libiberty
1845 install-info-target: maybe-install-info-target-gperf
1846 install-info-target: maybe-install-info-target-examples
1847 install-info-target: maybe-install-info-target-libffi
1848 install-info-target: maybe-install-info-target-libjava
1849 install-info-target: maybe-install-info-target-zlib
1850 install-info-target: maybe-install-info-target-boehm-gc
1851 install-info-target: maybe-install-info-target-qthreads
1852 install-info-target: maybe-install-info-target-rda
1853 install-info-target: maybe-install-info-target-libada
1854 install-info-target: maybe-install-info-target-libgomp
1855
1856 .PHONY: do-install-pdf
1857 do-install-pdf:
1858         @: $(MAKE); $(unstage)
1859         @r=`${PWD_COMMAND}`; export r; \
1860         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1861         $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1862           install-pdf-target
1863
1864
1865 .PHONY: install-pdf-host
1866
1867 install-pdf-host: maybe-install-pdf-ash
1868 install-pdf-host: maybe-install-pdf-autoconf
1869 install-pdf-host: maybe-install-pdf-automake
1870 install-pdf-host: maybe-install-pdf-bash
1871 install-pdf-host: maybe-install-pdf-bfd
1872 install-pdf-host: maybe-install-pdf-opcodes
1873 install-pdf-host: maybe-install-pdf-binutils
1874 install-pdf-host: maybe-install-pdf-bison
1875 install-pdf-host: maybe-install-pdf-byacc
1876 install-pdf-host: maybe-install-pdf-bzip2
1877 install-pdf-host: maybe-install-pdf-cgen
1878 install-pdf-host: maybe-install-pdf-dejagnu
1879 install-pdf-host: maybe-install-pdf-diff
1880 install-pdf-host: maybe-install-pdf-dosutils
1881 install-pdf-host: maybe-install-pdf-etc
1882 install-pdf-host: maybe-install-pdf-fastjar
1883 install-pdf-host: maybe-install-pdf-fileutils
1884 install-pdf-host: maybe-install-pdf-findutils
1885 install-pdf-host: maybe-install-pdf-find
1886 install-pdf-host: maybe-install-pdf-fixincludes
1887 install-pdf-host: maybe-install-pdf-flex
1888 install-pdf-host: maybe-install-pdf-gas
1889 install-pdf-host: maybe-install-pdf-gcc
1890 install-pdf-host: maybe-install-pdf-gawk
1891 install-pdf-host: maybe-install-pdf-gettext
1892 install-pdf-host: maybe-install-pdf-gmp
1893 install-pdf-host: maybe-install-pdf-mpfr
1894 install-pdf-host: maybe-install-pdf-mpc
1895 install-pdf-host: maybe-install-pdf-ppl
1896 install-pdf-host: maybe-install-pdf-cloog
1897 install-pdf-host: maybe-install-pdf-libelf
1898 install-pdf-host: maybe-install-pdf-gnuserv
1899 install-pdf-host: maybe-install-pdf-gold
1900 install-pdf-host: maybe-install-pdf-gprof
1901 install-pdf-host: maybe-install-pdf-gzip
1902 install-pdf-host: maybe-install-pdf-hello
1903 install-pdf-host: maybe-install-pdf-indent
1904 install-pdf-host: maybe-install-pdf-intl
1905 install-pdf-host: maybe-install-pdf-tcl
1906 install-pdf-host: maybe-install-pdf-itcl
1907 install-pdf-host: maybe-install-pdf-ld
1908 install-pdf-host: maybe-install-pdf-libcpp
1909 install-pdf-host: maybe-install-pdf-libdecnumber
1910 install-pdf-host: maybe-install-pdf-libgui
1911 install-pdf-host: maybe-install-pdf-libiberty
1912 install-pdf-host: maybe-install-pdf-libiconv
1913 install-pdf-host: maybe-install-pdf-libtool
1914 install-pdf-host: maybe-install-pdf-m4
1915 install-pdf-host: maybe-install-pdf-make
1916 install-pdf-host: maybe-install-pdf-mmalloc
1917 install-pdf-host: maybe-install-pdf-patch
1918 install-pdf-host: maybe-install-pdf-perl
1919 install-pdf-host: maybe-install-pdf-prms
1920 install-pdf-host: maybe-install-pdf-rcs
1921 install-pdf-host: maybe-install-pdf-readline
1922 install-pdf-host: maybe-install-pdf-release
1923 install-pdf-host: maybe-install-pdf-recode
1924 install-pdf-host: maybe-install-pdf-sed
1925 install-pdf-host: maybe-install-pdf-send-pr
1926 install-pdf-host: maybe-install-pdf-shellutils
1927 install-pdf-host: maybe-install-pdf-sid
1928 install-pdf-host: maybe-install-pdf-sim
1929 install-pdf-host: maybe-install-pdf-tar
1930 install-pdf-host: maybe-install-pdf-texinfo
1931 install-pdf-host: maybe-install-pdf-textutils
1932 install-pdf-host: maybe-install-pdf-time
1933 install-pdf-host: maybe-install-pdf-uudecode
1934 install-pdf-host: maybe-install-pdf-wdiff
1935 install-pdf-host: maybe-install-pdf-zip
1936 install-pdf-host: maybe-install-pdf-zlib
1937 install-pdf-host: maybe-install-pdf-gdb
1938 install-pdf-host: maybe-install-pdf-expect
1939 install-pdf-host: maybe-install-pdf-guile
1940 install-pdf-host: maybe-install-pdf-tk
1941 install-pdf-host: maybe-install-pdf-libtermcap
1942 install-pdf-host: maybe-install-pdf-utils
1943 install-pdf-host: maybe-install-pdf-gnattools
1944 install-pdf-host: maybe-install-pdf-lto-plugin
1945
1946 .PHONY: install-pdf-target
1947
1948 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1949 install-pdf-target: maybe-install-pdf-target-libmudflap
1950 install-pdf-target: maybe-install-pdf-target-libssp
1951 install-pdf-target: maybe-install-pdf-target-newlib
1952 install-pdf-target: maybe-install-pdf-target-libgcc
1953 install-pdf-target: maybe-install-pdf-target-libquadmath
1954 install-pdf-target: maybe-install-pdf-target-libgfortran
1955 install-pdf-target: maybe-install-pdf-target-libobjc
1956 install-pdf-target: maybe-install-pdf-target-libgo
1957 install-pdf-target: maybe-install-pdf-target-libtermcap
1958 install-pdf-target: maybe-install-pdf-target-winsup
1959 install-pdf-target: maybe-install-pdf-target-libgloss
1960 install-pdf-target: maybe-install-pdf-target-libiberty
1961 install-pdf-target: maybe-install-pdf-target-gperf
1962 install-pdf-target: maybe-install-pdf-target-examples
1963 install-pdf-target: maybe-install-pdf-target-libffi
1964 install-pdf-target: maybe-install-pdf-target-libjava
1965 install-pdf-target: maybe-install-pdf-target-zlib
1966 install-pdf-target: maybe-install-pdf-target-boehm-gc
1967 install-pdf-target: maybe-install-pdf-target-qthreads
1968 install-pdf-target: maybe-install-pdf-target-rda
1969 install-pdf-target: maybe-install-pdf-target-libada
1970 install-pdf-target: maybe-install-pdf-target-libgomp
1971
1972 .PHONY: do-install-html
1973 do-install-html:
1974         @: $(MAKE); $(unstage)
1975         @r=`${PWD_COMMAND}`; export r; \
1976         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1977         $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1978           install-html-target
1979
1980
1981 .PHONY: install-html-host
1982
1983 install-html-host: maybe-install-html-ash
1984 install-html-host: maybe-install-html-autoconf
1985 install-html-host: maybe-install-html-automake
1986 install-html-host: maybe-install-html-bash
1987 install-html-host: maybe-install-html-bfd
1988 install-html-host: maybe-install-html-opcodes
1989 install-html-host: maybe-install-html-binutils
1990 install-html-host: maybe-install-html-bison
1991 install-html-host: maybe-install-html-byacc
1992 install-html-host: maybe-install-html-bzip2
1993 install-html-host: maybe-install-html-cgen
1994 install-html-host: maybe-install-html-dejagnu
1995 install-html-host: maybe-install-html-diff
1996 install-html-host: maybe-install-html-dosutils
1997 install-html-host: maybe-install-html-etc
1998 install-html-host: maybe-install-html-fastjar
1999 install-html-host: maybe-install-html-fileutils
2000 install-html-host: maybe-install-html-findutils
2001 install-html-host: maybe-install-html-find
2002 install-html-host: maybe-install-html-fixincludes
2003 install-html-host: maybe-install-html-flex
2004 install-html-host: maybe-install-html-gas
2005 install-html-host: maybe-install-html-gcc
2006 install-html-host: maybe-install-html-gawk
2007 install-html-host: maybe-install-html-gettext
2008 install-html-host: maybe-install-html-gmp
2009 install-html-host: maybe-install-html-mpfr
2010 install-html-host: maybe-install-html-mpc
2011 install-html-host: maybe-install-html-ppl
2012 install-html-host: maybe-install-html-cloog
2013 install-html-host: maybe-install-html-libelf
2014 install-html-host: maybe-install-html-gnuserv
2015 install-html-host: maybe-install-html-gold
2016 install-html-host: maybe-install-html-gprof
2017 install-html-host: maybe-install-html-gzip
2018 install-html-host: maybe-install-html-hello
2019 install-html-host: maybe-install-html-indent
2020 install-html-host: maybe-install-html-intl
2021 install-html-host: maybe-install-html-tcl
2022 install-html-host: maybe-install-html-itcl
2023 install-html-host: maybe-install-html-ld
2024 install-html-host: maybe-install-html-libcpp
2025 install-html-host: maybe-install-html-libdecnumber
2026 install-html-host: maybe-install-html-libgui
2027 install-html-host: maybe-install-html-libiberty
2028 install-html-host: maybe-install-html-libiconv
2029 install-html-host: maybe-install-html-libtool
2030 install-html-host: maybe-install-html-m4
2031 install-html-host: maybe-install-html-make
2032 install-html-host: maybe-install-html-mmalloc
2033 install-html-host: maybe-install-html-patch
2034 install-html-host: maybe-install-html-perl
2035 install-html-host: maybe-install-html-prms
2036 install-html-host: maybe-install-html-rcs
2037 install-html-host: maybe-install-html-readline
2038 install-html-host: maybe-install-html-release
2039 install-html-host: maybe-install-html-recode
2040 install-html-host: maybe-install-html-sed
2041 install-html-host: maybe-install-html-send-pr
2042 install-html-host: maybe-install-html-shellutils
2043 install-html-host: maybe-install-html-sid
2044 install-html-host: maybe-install-html-sim
2045 install-html-host: maybe-install-html-tar
2046 install-html-host: maybe-install-html-texinfo
2047 install-html-host: maybe-install-html-textutils
2048 install-html-host: maybe-install-html-time
2049 install-html-host: maybe-install-html-uudecode
2050 install-html-host: maybe-install-html-wdiff
2051 install-html-host: maybe-install-html-zip
2052 install-html-host: maybe-install-html-zlib
2053 install-html-host: maybe-install-html-gdb
2054 install-html-host: maybe-install-html-expect
2055 install-html-host: maybe-install-html-guile
2056 install-html-host: maybe-install-html-tk
2057 install-html-host: maybe-install-html-libtermcap
2058 install-html-host: maybe-install-html-utils
2059 install-html-host: maybe-install-html-gnattools
2060 install-html-host: maybe-install-html-lto-plugin
2061
2062 .PHONY: install-html-target
2063
2064 install-html-target: maybe-install-html-target-libstdc++-v3
2065 install-html-target: maybe-install-html-target-libmudflap
2066 install-html-target: maybe-install-html-target-libssp
2067 install-html-target: maybe-install-html-target-newlib
2068 install-html-target: maybe-install-html-target-libgcc
2069 install-html-target: maybe-install-html-target-libquadmath
2070 install-html-target: maybe-install-html-target-libgfortran
2071 install-html-target: maybe-install-html-target-libobjc
2072 install-html-target: maybe-install-html-target-libgo
2073 install-html-target: maybe-install-html-target-libtermcap
2074 install-html-target: maybe-install-html-target-winsup
2075 install-html-target: maybe-install-html-target-libgloss
2076 install-html-target: maybe-install-html-target-libiberty
2077 install-html-target: maybe-install-html-target-gperf
2078 install-html-target: maybe-install-html-target-examples
2079 install-html-target: maybe-install-html-target-libffi
2080 install-html-target: maybe-install-html-target-libjava
2081 install-html-target: maybe-install-html-target-zlib
2082 install-html-target: maybe-install-html-target-boehm-gc
2083 install-html-target: maybe-install-html-target-qthreads
2084 install-html-target: maybe-install-html-target-rda
2085 install-html-target: maybe-install-html-target-libada
2086 install-html-target: maybe-install-html-target-libgomp
2087
2088 .PHONY: do-installcheck
2089 do-installcheck:
2090         @: $(MAKE); $(unstage)
2091         @r=`${PWD_COMMAND}`; export r; \
2092         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2093         $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
2094           installcheck-target
2095
2096
2097 .PHONY: installcheck-host
2098
2099 installcheck-host: maybe-installcheck-ash
2100 installcheck-host: maybe-installcheck-autoconf
2101 installcheck-host: maybe-installcheck-automake
2102 installcheck-host: maybe-installcheck-bash
2103 installcheck-host: maybe-installcheck-bfd
2104 installcheck-host: maybe-installcheck-opcodes
2105 installcheck-host: maybe-installcheck-binutils
2106 installcheck-host: maybe-installcheck-bison
2107 installcheck-host: maybe-installcheck-byacc
2108 installcheck-host: maybe-installcheck-bzip2
2109 installcheck-host: maybe-installcheck-cgen
2110 installcheck-host: maybe-installcheck-dejagnu
2111 installcheck-host: maybe-installcheck-diff
2112 installcheck-host: maybe-installcheck-dosutils
2113 installcheck-host: maybe-installcheck-etc
2114 installcheck-host: maybe-installcheck-fastjar
2115 installcheck-host: maybe-installcheck-fileutils
2116 installcheck-host: maybe-installcheck-findutils
2117 installcheck-host: maybe-installcheck-find
2118 installcheck-host: maybe-installcheck-fixincludes
2119 installcheck-host: maybe-installcheck-flex
2120 installcheck-host: maybe-installcheck-gas
2121 installcheck-host: maybe-installcheck-gcc
2122 installcheck-host: maybe-installcheck-gawk
2123 installcheck-host: maybe-installcheck-gettext
2124 installcheck-host: maybe-installcheck-gmp
2125 installcheck-host: maybe-installcheck-mpfr
2126 installcheck-host: maybe-installcheck-mpc
2127 installcheck-host: maybe-installcheck-ppl
2128 installcheck-host: maybe-installcheck-cloog
2129 installcheck-host: maybe-installcheck-libelf
2130 installcheck-host: maybe-installcheck-gnuserv
2131 installcheck-host: maybe-installcheck-gold
2132 installcheck-host: maybe-installcheck-gprof
2133 installcheck-host: maybe-installcheck-gzip
2134 installcheck-host: maybe-installcheck-hello
2135 installcheck-host: maybe-installcheck-indent
2136 installcheck-host: maybe-installcheck-intl
2137 installcheck-host: maybe-installcheck-tcl
2138 installcheck-host: maybe-installcheck-itcl
2139 installcheck-host: maybe-installcheck-ld
2140 installcheck-host: maybe-installcheck-libcpp
2141 installcheck-host: maybe-installcheck-libdecnumber
2142 installcheck-host: maybe-installcheck-libgui
2143 installcheck-host: maybe-installcheck-libiberty
2144 installcheck-host: maybe-installcheck-libiconv
2145 installcheck-host: maybe-installcheck-libtool
2146 installcheck-host: maybe-installcheck-m4
2147 installcheck-host: maybe-installcheck-make
2148 installcheck-host: maybe-installcheck-mmalloc
2149 installcheck-host: maybe-installcheck-patch
2150 installcheck-host: maybe-installcheck-perl
2151 installcheck-host: maybe-installcheck-prms
2152 installcheck-host: maybe-installcheck-rcs
2153 installcheck-host: maybe-installcheck-readline
2154 installcheck-host: maybe-installcheck-release
2155 installcheck-host: maybe-installcheck-recode
2156 installcheck-host: maybe-installcheck-sed
2157 installcheck-host: maybe-installcheck-send-pr
2158 installcheck-host: maybe-installcheck-shellutils
2159 installcheck-host: maybe-installcheck-sid
2160 installcheck-host: maybe-installcheck-sim
2161 installcheck-host: maybe-installcheck-tar
2162 installcheck-host: maybe-installcheck-texinfo
2163 installcheck-host: maybe-installcheck-textutils
2164 installcheck-host: maybe-installcheck-time
2165 installcheck-host: maybe-installcheck-uudecode
2166 installcheck-host: maybe-installcheck-wdiff
2167 installcheck-host: maybe-installcheck-zip
2168 installcheck-host: maybe-installcheck-zlib
2169 installcheck-host: maybe-installcheck-gdb
2170 installcheck-host: maybe-installcheck-expect
2171 installcheck-host: maybe-installcheck-guile
2172 installcheck-host: maybe-installcheck-tk
2173 installcheck-host: maybe-installcheck-libtermcap
2174 installcheck-host: maybe-installcheck-utils
2175 installcheck-host: maybe-installcheck-gnattools
2176 installcheck-host: maybe-installcheck-lto-plugin
2177
2178 .PHONY: installcheck-target
2179
2180 installcheck-target: maybe-installcheck-target-libstdc++-v3
2181 installcheck-target: maybe-installcheck-target-libmudflap
2182 installcheck-target: maybe-installcheck-target-libssp
2183 installcheck-target: maybe-installcheck-target-newlib
2184 installcheck-target: maybe-installcheck-target-libgcc
2185 installcheck-target: maybe-installcheck-target-libquadmath
2186 installcheck-target: maybe-installcheck-target-libgfortran
2187 installcheck-target: maybe-installcheck-target-libobjc
2188 installcheck-target: maybe-installcheck-target-libgo
2189 installcheck-target: maybe-installcheck-target-libtermcap
2190 installcheck-target: maybe-installcheck-target-winsup
2191 installcheck-target: maybe-installcheck-target-libgloss
2192 installcheck-target: maybe-installcheck-target-libiberty
2193 installcheck-target: maybe-installcheck-target-gperf
2194 installcheck-target: maybe-installcheck-target-examples
2195 installcheck-target: maybe-installcheck-target-libffi
2196 installcheck-target: maybe-installcheck-target-libjava
2197 installcheck-target: maybe-installcheck-target-zlib
2198 installcheck-target: maybe-installcheck-target-boehm-gc
2199 installcheck-target: maybe-installcheck-target-qthreads
2200 installcheck-target: maybe-installcheck-target-rda
2201 installcheck-target: maybe-installcheck-target-libada
2202 installcheck-target: maybe-installcheck-target-libgomp
2203
2204 .PHONY: do-mostlyclean
2205 do-mostlyclean:
2206         @: $(MAKE); $(unstage)
2207         @r=`${PWD_COMMAND}`; export r; \
2208         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2209         $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2210           mostlyclean-target
2211
2212
2213 .PHONY: mostlyclean-host
2214
2215 mostlyclean-host: maybe-mostlyclean-ash
2216 mostlyclean-host: maybe-mostlyclean-autoconf
2217 mostlyclean-host: maybe-mostlyclean-automake
2218 mostlyclean-host: maybe-mostlyclean-bash
2219 mostlyclean-host: maybe-mostlyclean-bfd
2220 mostlyclean-host: maybe-mostlyclean-opcodes
2221 mostlyclean-host: maybe-mostlyclean-binutils
2222 mostlyclean-host: maybe-mostlyclean-bison
2223 mostlyclean-host: maybe-mostlyclean-byacc
2224 mostlyclean-host: maybe-mostlyclean-bzip2
2225 mostlyclean-host: maybe-mostlyclean-cgen
2226 mostlyclean-host: maybe-mostlyclean-dejagnu
2227 mostlyclean-host: maybe-mostlyclean-diff
2228 mostlyclean-host: maybe-mostlyclean-dosutils
2229 mostlyclean-host: maybe-mostlyclean-etc
2230 mostlyclean-host: maybe-mostlyclean-fastjar
2231 mostlyclean-host: maybe-mostlyclean-fileutils
2232 mostlyclean-host: maybe-mostlyclean-findutils
2233 mostlyclean-host: maybe-mostlyclean-find
2234 mostlyclean-host: maybe-mostlyclean-fixincludes
2235 mostlyclean-host: maybe-mostlyclean-flex
2236 mostlyclean-host: maybe-mostlyclean-gas
2237 mostlyclean-host: maybe-mostlyclean-gcc
2238 mostlyclean-host: maybe-mostlyclean-gawk
2239 mostlyclean-host: maybe-mostlyclean-gettext
2240 mostlyclean-host: maybe-mostlyclean-gmp
2241 mostlyclean-host: maybe-mostlyclean-mpfr
2242 mostlyclean-host: maybe-mostlyclean-mpc
2243 mostlyclean-host: maybe-mostlyclean-ppl
2244 mostlyclean-host: maybe-mostlyclean-cloog
2245 mostlyclean-host: maybe-mostlyclean-libelf
2246 mostlyclean-host: maybe-mostlyclean-gnuserv
2247 mostlyclean-host: maybe-mostlyclean-gold
2248 mostlyclean-host: maybe-mostlyclean-gprof
2249 mostlyclean-host: maybe-mostlyclean-gzip
2250 mostlyclean-host: maybe-mostlyclean-hello
2251 mostlyclean-host: maybe-mostlyclean-indent
2252 mostlyclean-host: maybe-mostlyclean-intl
2253 mostlyclean-host: maybe-mostlyclean-tcl
2254 mostlyclean-host: maybe-mostlyclean-itcl
2255 mostlyclean-host: maybe-mostlyclean-ld
2256 mostlyclean-host: maybe-mostlyclean-libcpp
2257 mostlyclean-host: maybe-mostlyclean-libdecnumber
2258 mostlyclean-host: maybe-mostlyclean-libgui
2259 mostlyclean-host: maybe-mostlyclean-libiberty
2260 mostlyclean-host: maybe-mostlyclean-libiconv
2261 mostlyclean-host: maybe-mostlyclean-libtool
2262 mostlyclean-host: maybe-mostlyclean-m4
2263 mostlyclean-host: maybe-mostlyclean-make
2264 mostlyclean-host: maybe-mostlyclean-mmalloc
2265 mostlyclean-host: maybe-mostlyclean-patch
2266 mostlyclean-host: maybe-mostlyclean-perl
2267 mostlyclean-host: maybe-mostlyclean-prms
2268 mostlyclean-host: maybe-mostlyclean-rcs
2269 mostlyclean-host: maybe-mostlyclean-readline
2270 mostlyclean-host: maybe-mostlyclean-release
2271 mostlyclean-host: maybe-mostlyclean-recode
2272 mostlyclean-host: maybe-mostlyclean-sed
2273 mostlyclean-host: maybe-mostlyclean-send-pr
2274 mostlyclean-host: maybe-mostlyclean-shellutils
2275 mostlyclean-host: maybe-mostlyclean-sid
2276 mostlyclean-host: maybe-mostlyclean-sim
2277 mostlyclean-host: maybe-mostlyclean-tar
2278 mostlyclean-host: maybe-mostlyclean-texinfo
2279 mostlyclean-host: maybe-mostlyclean-textutils
2280 mostlyclean-host: maybe-mostlyclean-time
2281 mostlyclean-host: maybe-mostlyclean-uudecode
2282 mostlyclean-host: maybe-mostlyclean-wdiff
2283 mostlyclean-host: maybe-mostlyclean-zip
2284 mostlyclean-host: maybe-mostlyclean-zlib
2285 mostlyclean-host: maybe-mostlyclean-gdb
2286 mostlyclean-host: maybe-mostlyclean-expect
2287 mostlyclean-host: maybe-mostlyclean-guile
2288 mostlyclean-host: maybe-mostlyclean-tk
2289 mostlyclean-host: maybe-mostlyclean-libtermcap
2290 mostlyclean-host: maybe-mostlyclean-utils
2291 mostlyclean-host: maybe-mostlyclean-gnattools
2292 mostlyclean-host: maybe-mostlyclean-lto-plugin
2293
2294 .PHONY: mostlyclean-target
2295
2296 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2297 mostlyclean-target: maybe-mostlyclean-target-libmudflap
2298 mostlyclean-target: maybe-mostlyclean-target-libssp
2299 mostlyclean-target: maybe-mostlyclean-target-newlib
2300 mostlyclean-target: maybe-mostlyclean-target-libgcc
2301 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2302 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2303 mostlyclean-target: maybe-mostlyclean-target-libobjc
2304 mostlyclean-target: maybe-mostlyclean-target-libgo
2305 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2306 mostlyclean-target: maybe-mostlyclean-target-winsup
2307 mostlyclean-target: maybe-mostlyclean-target-libgloss
2308 mostlyclean-target: maybe-mostlyclean-target-libiberty
2309 mostlyclean-target: maybe-mostlyclean-target-gperf
2310 mostlyclean-target: maybe-mostlyclean-target-examples
2311 mostlyclean-target: maybe-mostlyclean-target-libffi
2312 mostlyclean-target: maybe-mostlyclean-target-libjava
2313 mostlyclean-target: maybe-mostlyclean-target-zlib
2314 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2315 mostlyclean-target: maybe-mostlyclean-target-qthreads
2316 mostlyclean-target: maybe-mostlyclean-target-rda
2317 mostlyclean-target: maybe-mostlyclean-target-libada
2318 mostlyclean-target: maybe-mostlyclean-target-libgomp
2319
2320 .PHONY: do-clean
2321 do-clean:
2322         @: $(MAKE); $(unstage)
2323         @r=`${PWD_COMMAND}`; export r; \
2324         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2325         $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2326           clean-target
2327
2328
2329 .PHONY: clean-host
2330
2331 clean-host: maybe-clean-ash
2332 clean-host: maybe-clean-autoconf
2333 clean-host: maybe-clean-automake
2334 clean-host: maybe-clean-bash
2335 clean-host: maybe-clean-bfd
2336 clean-host: maybe-clean-opcodes
2337 clean-host: maybe-clean-binutils
2338 clean-host: maybe-clean-bison
2339 clean-host: maybe-clean-byacc
2340 clean-host: maybe-clean-bzip2
2341 clean-host: maybe-clean-cgen
2342 clean-host: maybe-clean-dejagnu
2343 clean-host: maybe-clean-diff
2344 clean-host: maybe-clean-dosutils
2345 clean-host: maybe-clean-etc
2346 clean-host: maybe-clean-fastjar
2347 clean-host: maybe-clean-fileutils
2348 clean-host: maybe-clean-findutils
2349 clean-host: maybe-clean-find
2350 clean-host: maybe-clean-fixincludes
2351 clean-host: maybe-clean-flex
2352 clean-host: maybe-clean-gas
2353 clean-host: maybe-clean-gcc
2354 clean-host: maybe-clean-gawk
2355 clean-host: maybe-clean-gettext
2356 clean-host: maybe-clean-gmp
2357 clean-host: maybe-clean-mpfr
2358 clean-host: maybe-clean-mpc
2359 clean-host: maybe-clean-ppl
2360 clean-host: maybe-clean-cloog
2361 clean-host: maybe-clean-libelf
2362 clean-host: maybe-clean-gnuserv
2363 clean-host: maybe-clean-gold
2364 clean-host: maybe-clean-gprof
2365 clean-host: maybe-clean-gzip
2366 clean-host: maybe-clean-hello
2367 clean-host: maybe-clean-indent
2368 clean-host: maybe-clean-intl
2369 clean-host: maybe-clean-tcl
2370 clean-host: maybe-clean-itcl
2371 clean-host: maybe-clean-ld
2372 clean-host: maybe-clean-libcpp
2373 clean-host: maybe-clean-libdecnumber
2374 clean-host: maybe-clean-libgui
2375 clean-host: maybe-clean-libiberty
2376 clean-host: maybe-clean-libiconv
2377 clean-host: maybe-clean-libtool
2378 clean-host: maybe-clean-m4
2379 clean-host: maybe-clean-make
2380 clean-host: maybe-clean-mmalloc
2381 clean-host: maybe-clean-patch
2382 clean-host: maybe-clean-perl
2383 clean-host: maybe-clean-prms
2384 clean-host: maybe-clean-rcs
2385 clean-host: maybe-clean-readline
2386 clean-host: maybe-clean-release
2387 clean-host: maybe-clean-recode
2388 clean-host: maybe-clean-sed
2389 clean-host: maybe-clean-send-pr
2390 clean-host: maybe-clean-shellutils
2391 clean-host: maybe-clean-sid
2392 clean-host: maybe-clean-sim
2393 clean-host: maybe-clean-tar
2394 clean-host: maybe-clean-texinfo
2395 clean-host: maybe-clean-textutils
2396 clean-host: maybe-clean-time
2397 clean-host: maybe-clean-uudecode
2398 clean-host: maybe-clean-wdiff
2399 clean-host: maybe-clean-zip
2400 clean-host: maybe-clean-zlib
2401 clean-host: maybe-clean-gdb
2402 clean-host: maybe-clean-expect
2403 clean-host: maybe-clean-guile
2404 clean-host: maybe-clean-tk
2405 clean-host: maybe-clean-libtermcap
2406 clean-host: maybe-clean-utils
2407 clean-host: maybe-clean-gnattools
2408 clean-host: maybe-clean-lto-plugin
2409
2410 .PHONY: clean-target
2411
2412 clean-target: maybe-clean-target-libstdc++-v3
2413 clean-target: maybe-clean-target-libmudflap
2414 clean-target: maybe-clean-target-libssp
2415 clean-target: maybe-clean-target-newlib
2416 clean-target: maybe-clean-target-libgcc
2417 clean-target: maybe-clean-target-libquadmath
2418 clean-target: maybe-clean-target-libgfortran
2419 clean-target: maybe-clean-target-libobjc
2420 clean-target: maybe-clean-target-libgo
2421 clean-target: maybe-clean-target-libtermcap
2422 clean-target: maybe-clean-target-winsup
2423 clean-target: maybe-clean-target-libgloss
2424 clean-target: maybe-clean-target-libiberty
2425 clean-target: maybe-clean-target-gperf
2426 clean-target: maybe-clean-target-examples
2427 clean-target: maybe-clean-target-libffi
2428 clean-target: maybe-clean-target-libjava
2429 clean-target: maybe-clean-target-zlib
2430 clean-target: maybe-clean-target-boehm-gc
2431 clean-target: maybe-clean-target-qthreads
2432 clean-target: maybe-clean-target-rda
2433 clean-target: maybe-clean-target-libada
2434 clean-target: maybe-clean-target-libgomp
2435
2436 .PHONY: do-distclean
2437 do-distclean:
2438         @: $(MAKE); $(unstage)
2439         @r=`${PWD_COMMAND}`; export r; \
2440         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2441         $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2442           distclean-target
2443
2444
2445 .PHONY: distclean-host
2446
2447 distclean-host: maybe-distclean-ash
2448 distclean-host: maybe-distclean-autoconf
2449 distclean-host: maybe-distclean-automake
2450 distclean-host: maybe-distclean-bash
2451 distclean-host: maybe-distclean-bfd
2452 distclean-host: maybe-distclean-opcodes
2453 distclean-host: maybe-distclean-binutils
2454 distclean-host: maybe-distclean-bison
2455 distclean-host: maybe-distclean-byacc
2456 distclean-host: maybe-distclean-bzip2
2457 distclean-host: maybe-distclean-cgen
2458 distclean-host: maybe-distclean-dejagnu
2459 distclean-host: maybe-distclean-diff
2460 distclean-host: maybe-distclean-dosutils
2461 distclean-host: maybe-distclean-etc
2462 distclean-host: maybe-distclean-fastjar
2463 distclean-host: maybe-distclean-fileutils
2464 distclean-host: maybe-distclean-findutils
2465 distclean-host: maybe-distclean-find
2466 distclean-host: maybe-distclean-fixincludes
2467 distclean-host: maybe-distclean-flex
2468 distclean-host: maybe-distclean-gas
2469 distclean-host: maybe-distclean-gcc
2470 distclean-host: maybe-distclean-gawk
2471 distclean-host: maybe-distclean-gettext
2472 distclean-host: maybe-distclean-gmp
2473 distclean-host: maybe-distclean-mpfr
2474 distclean-host: maybe-distclean-mpc
2475 distclean-host: maybe-distclean-ppl
2476 distclean-host: maybe-distclean-cloog
2477 distclean-host: maybe-distclean-libelf
2478 distclean-host: maybe-distclean-gnuserv
2479 distclean-host: maybe-distclean-gold
2480 distclean-host: maybe-distclean-gprof
2481 distclean-host: maybe-distclean-gzip
2482 distclean-host: maybe-distclean-hello
2483 distclean-host: maybe-distclean-indent
2484 distclean-host: maybe-distclean-intl
2485 distclean-host: maybe-distclean-tcl
2486 distclean-host: maybe-distclean-itcl
2487 distclean-host: maybe-distclean-ld
2488 distclean-host: maybe-distclean-libcpp
2489 distclean-host: maybe-distclean-libdecnumber
2490 distclean-host: maybe-distclean-libgui
2491 distclean-host: maybe-distclean-libiberty
2492 distclean-host: maybe-distclean-libiconv
2493 distclean-host: maybe-distclean-libtool
2494 distclean-host: maybe-distclean-m4
2495 distclean-host: maybe-distclean-make
2496 distclean-host: maybe-distclean-mmalloc
2497 distclean-host: maybe-distclean-patch
2498 distclean-host: maybe-distclean-perl
2499 distclean-host: maybe-distclean-prms
2500 distclean-host: maybe-distclean-rcs
2501 distclean-host: maybe-distclean-readline
2502 distclean-host: maybe-distclean-release
2503 distclean-host: maybe-distclean-recode
2504 distclean-host: maybe-distclean-sed
2505 distclean-host: maybe-distclean-send-pr
2506 distclean-host: maybe-distclean-shellutils
2507 distclean-host: maybe-distclean-sid
2508 distclean-host: maybe-distclean-sim
2509 distclean-host: maybe-distclean-tar
2510 distclean-host: maybe-distclean-texinfo
2511 distclean-host: maybe-distclean-textutils
2512 distclean-host: maybe-distclean-time
2513 distclean-host: maybe-distclean-uudecode
2514 distclean-host: maybe-distclean-wdiff
2515 distclean-host: maybe-distclean-zip
2516 distclean-host: maybe-distclean-zlib
2517 distclean-host: maybe-distclean-gdb
2518 distclean-host: maybe-distclean-expect
2519 distclean-host: maybe-distclean-guile
2520 distclean-host: maybe-distclean-tk
2521 distclean-host: maybe-distclean-libtermcap
2522 distclean-host: maybe-distclean-utils
2523 distclean-host: maybe-distclean-gnattools
2524 distclean-host: maybe-distclean-lto-plugin
2525
2526 .PHONY: distclean-target
2527
2528 distclean-target: maybe-distclean-target-libstdc++-v3
2529 distclean-target: maybe-distclean-target-libmudflap
2530 distclean-target: maybe-distclean-target-libssp
2531 distclean-target: maybe-distclean-target-newlib
2532 distclean-target: maybe-distclean-target-libgcc
2533 distclean-target: maybe-distclean-target-libquadmath
2534 distclean-target: maybe-distclean-target-libgfortran
2535 distclean-target: maybe-distclean-target-libobjc
2536 distclean-target: maybe-distclean-target-libgo
2537 distclean-target: maybe-distclean-target-libtermcap
2538 distclean-target: maybe-distclean-target-winsup
2539 distclean-target: maybe-distclean-target-libgloss
2540 distclean-target: maybe-distclean-target-libiberty
2541 distclean-target: maybe-distclean-target-gperf
2542 distclean-target: maybe-distclean-target-examples
2543 distclean-target: maybe-distclean-target-libffi
2544 distclean-target: maybe-distclean-target-libjava
2545 distclean-target: maybe-distclean-target-zlib
2546 distclean-target: maybe-distclean-target-boehm-gc
2547 distclean-target: maybe-distclean-target-qthreads
2548 distclean-target: maybe-distclean-target-rda
2549 distclean-target: maybe-distclean-target-libada
2550 distclean-target: maybe-distclean-target-libgomp
2551
2552 .PHONY: do-maintainer-clean
2553 do-maintainer-clean:
2554         @: $(MAKE); $(unstage)
2555         @r=`${PWD_COMMAND}`; export r; \
2556         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2557         $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2558           maintainer-clean-target
2559
2560
2561 .PHONY: maintainer-clean-host
2562
2563 maintainer-clean-host: maybe-maintainer-clean-ash
2564 maintainer-clean-host: maybe-maintainer-clean-autoconf
2565 maintainer-clean-host: maybe-maintainer-clean-automake
2566 maintainer-clean-host: maybe-maintainer-clean-bash
2567 maintainer-clean-host: maybe-maintainer-clean-bfd
2568 maintainer-clean-host: maybe-maintainer-clean-opcodes
2569 maintainer-clean-host: maybe-maintainer-clean-binutils
2570 maintainer-clean-host: maybe-maintainer-clean-bison
2571 maintainer-clean-host: maybe-maintainer-clean-byacc
2572 maintainer-clean-host: maybe-maintainer-clean-bzip2
2573 maintainer-clean-host: maybe-maintainer-clean-cgen
2574 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2575 maintainer-clean-host: maybe-maintainer-clean-diff
2576 maintainer-clean-host: maybe-maintainer-clean-dosutils
2577 maintainer-clean-host: maybe-maintainer-clean-etc
2578 maintainer-clean-host: maybe-maintainer-clean-fastjar
2579 maintainer-clean-host: maybe-maintainer-clean-fileutils
2580 maintainer-clean-host: maybe-maintainer-clean-findutils
2581 maintainer-clean-host: maybe-maintainer-clean-find
2582 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2583 maintainer-clean-host: maybe-maintainer-clean-flex
2584 maintainer-clean-host: maybe-maintainer-clean-gas
2585 maintainer-clean-host: maybe-maintainer-clean-gcc
2586 maintainer-clean-host: maybe-maintainer-clean-gawk
2587 maintainer-clean-host: maybe-maintainer-clean-gettext
2588 maintainer-clean-host: maybe-maintainer-clean-gmp
2589 maintainer-clean-host: maybe-maintainer-clean-mpfr
2590 maintainer-clean-host: maybe-maintainer-clean-mpc
2591 maintainer-clean-host: maybe-maintainer-clean-ppl
2592 maintainer-clean-host: maybe-maintainer-clean-cloog
2593 maintainer-clean-host: maybe-maintainer-clean-libelf
2594 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2595 maintainer-clean-host: maybe-maintainer-clean-gold
2596 maintainer-clean-host: maybe-maintainer-clean-gprof
2597 maintainer-clean-host: maybe-maintainer-clean-gzip
2598 maintainer-clean-host: maybe-maintainer-clean-hello
2599 maintainer-clean-host: maybe-maintainer-clean-indent
2600 maintainer-clean-host: maybe-maintainer-clean-intl
2601 maintainer-clean-host: maybe-maintainer-clean-tcl
2602 maintainer-clean-host: maybe-maintainer-clean-itcl
2603 maintainer-clean-host: maybe-maintainer-clean-ld
2604 maintainer-clean-host: maybe-maintainer-clean-libcpp
2605 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2606 maintainer-clean-host: maybe-maintainer-clean-libgui
2607 maintainer-clean-host: maybe-maintainer-clean-libiberty
2608 maintainer-clean-host: maybe-maintainer-clean-libiconv
2609 maintainer-clean-host: maybe-maintainer-clean-libtool
2610 maintainer-clean-host: maybe-maintainer-clean-m4
2611 maintainer-clean-host: maybe-maintainer-clean-make
2612 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2613 maintainer-clean-host: maybe-maintainer-clean-patch
2614 maintainer-clean-host: maybe-maintainer-clean-perl
2615 maintainer-clean-host: maybe-maintainer-clean-prms
2616 maintainer-clean-host: maybe-maintainer-clean-rcs
2617 maintainer-clean-host: maybe-maintainer-clean-readline
2618 maintainer-clean-host: maybe-maintainer-clean-release
2619 maintainer-clean-host: maybe-maintainer-clean-recode
2620 maintainer-clean-host: maybe-maintainer-clean-sed
2621 maintainer-clean-host: maybe-maintainer-clean-send-pr
2622 maintainer-clean-host: maybe-maintainer-clean-shellutils
2623 maintainer-clean-host: maybe-maintainer-clean-sid
2624 maintainer-clean-host: maybe-maintainer-clean-sim
2625 maintainer-clean-host: maybe-maintainer-clean-tar
2626 maintainer-clean-host: maybe-maintainer-clean-texinfo
2627 maintainer-clean-host: maybe-maintainer-clean-textutils
2628 maintainer-clean-host: maybe-maintainer-clean-time
2629 maintainer-clean-host: maybe-maintainer-clean-uudecode
2630 maintainer-clean-host: maybe-maintainer-clean-wdiff
2631 maintainer-clean-host: maybe-maintainer-clean-zip
2632 maintainer-clean-host: maybe-maintainer-clean-zlib
2633 maintainer-clean-host: maybe-maintainer-clean-gdb
2634 maintainer-clean-host: maybe-maintainer-clean-expect
2635 maintainer-clean-host: maybe-maintainer-clean-guile
2636 maintainer-clean-host: maybe-maintainer-clean-tk
2637 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2638 maintainer-clean-host: maybe-maintainer-clean-utils
2639 maintainer-clean-host: maybe-maintainer-clean-gnattools
2640 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2641
2642 .PHONY: maintainer-clean-target
2643
2644 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2645 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2646 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2647 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2648 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2649 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2650 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2651 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2652 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2653 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2654 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2655 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2656 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2657 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2658 maintainer-clean-target: maybe-maintainer-clean-target-examples
2659 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2660 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2661 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2662 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2663 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2664 maintainer-clean-target: maybe-maintainer-clean-target-rda
2665 maintainer-clean-target: maybe-maintainer-clean-target-libada
2666 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2667
2668
2669 # Here are the targets which correspond to the do-X targets.
2670
2671 .PHONY: info installcheck dvi pdf html
2672 .PHONY: install-info install-pdf install-html
2673 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2674 .PHONY: local-clean local-distclean local-maintainer-clean
2675 info: do-info
2676 installcheck: do-installcheck
2677 dvi: do-dvi
2678 pdf: do-pdf
2679 html: do-html
2680
2681 # Make sure makeinfo is built before we do a `make info', if we're
2682 # in fact building texinfo.
2683 do-info: maybe-all-texinfo
2684
2685 install-info: do-install-info dir.info
2686         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2687         if [ -f dir.info ] ; then \
2688           $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2689         else true ; fi
2690
2691 install-pdf: do-install-pdf
2692
2693 install-html: do-install-html
2694
2695 local-clean:
2696         -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2697
2698 local-distclean:
2699         -rm -f Makefile config.status config.cache mh-frag mt-frag
2700         -rm -f maybedep.tmp serdep.tmp
2701         -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2702           rm -rf $(TARGET_SUBDIR); \
2703         else true; fi
2704         -rm -rf $(BUILD_SUBDIR)
2705         -if [ "$(HOST_SUBDIR)" != "." ]; then \
2706           rm -rf $(HOST_SUBDIR); \
2707         else true; fi
2708         -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2709         -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2710         -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2711         -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2712         -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2713         -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2714
2715 local-maintainer-clean:
2716         @echo "This command is intended for maintainers to use;"
2717         @echo "it deletes files that may require special tools to rebuild."
2718
2719 clean: do-clean local-clean
2720 mostlyclean: do-mostlyclean local-clean
2721 distclean: do-distclean local-clean local-distclean
2722 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 
2723 maintainer-clean: local-distclean
2724 realclean: maintainer-clean
2725
2726 # Check target.
2727
2728 .PHONY: check do-check
2729 check: do-check
2730
2731 # Only include modules actually being configured and built.
2732 .PHONY: check-host
2733 check-host:  \
2734     maybe-check-ash \
2735     maybe-check-autoconf \
2736     maybe-check-automake \
2737     maybe-check-bash \
2738     maybe-check-bfd \
2739     maybe-check-opcodes \
2740     maybe-check-binutils \
2741     maybe-check-bison \
2742     maybe-check-byacc \
2743     maybe-check-bzip2 \
2744     maybe-check-cgen \
2745     maybe-check-dejagnu \
2746     maybe-check-diff \
2747     maybe-check-dosutils \
2748     maybe-check-etc \
2749     maybe-check-fastjar \
2750     maybe-check-fileutils \
2751     maybe-check-findutils \
2752     maybe-check-find \
2753     maybe-check-fixincludes \
2754     maybe-check-flex \
2755     maybe-check-gas \
2756     maybe-check-gcc \
2757     maybe-check-gawk \
2758     maybe-check-gettext \
2759     maybe-check-gmp \
2760     maybe-check-mpfr \
2761     maybe-check-mpc \
2762     maybe-check-ppl \
2763     maybe-check-cloog \
2764     maybe-check-libelf \
2765     maybe-check-gnuserv \
2766     maybe-check-gold \
2767     maybe-check-gprof \
2768     maybe-check-gzip \
2769     maybe-check-hello \
2770     maybe-check-indent \
2771     maybe-check-intl \
2772     maybe-check-tcl \
2773     maybe-check-itcl \
2774     maybe-check-ld \
2775     maybe-check-libcpp \
2776     maybe-check-libdecnumber \
2777     maybe-check-libgui \
2778     maybe-check-libiberty \
2779     maybe-check-libiconv \
2780     maybe-check-libtool \
2781     maybe-check-m4 \
2782     maybe-check-make \
2783     maybe-check-mmalloc \
2784     maybe-check-patch \
2785     maybe-check-perl \
2786     maybe-check-prms \
2787     maybe-check-rcs \
2788     maybe-check-readline \
2789     maybe-check-release \
2790     maybe-check-recode \
2791     maybe-check-sed \
2792     maybe-check-send-pr \
2793     maybe-check-shellutils \
2794     maybe-check-sid \
2795     maybe-check-sim \
2796     maybe-check-tar \
2797     maybe-check-texinfo \
2798     maybe-check-textutils \
2799     maybe-check-time \
2800     maybe-check-uudecode \
2801     maybe-check-wdiff \
2802     maybe-check-zip \
2803     maybe-check-zlib \
2804     maybe-check-gdb \
2805     maybe-check-expect \
2806     maybe-check-guile \
2807     maybe-check-tk \
2808     maybe-check-libtermcap \
2809     maybe-check-utils \
2810     maybe-check-gnattools \
2811     maybe-check-lto-plugin
2812
2813 .PHONY: check-target
2814 check-target:  \
2815     maybe-check-target-libstdc++-v3 \
2816     maybe-check-target-libmudflap \
2817     maybe-check-target-libssp \
2818     maybe-check-target-newlib \
2819     maybe-check-target-libgcc \
2820     maybe-check-target-libquadmath \
2821     maybe-check-target-libgfortran \
2822     maybe-check-target-libobjc \
2823     maybe-check-target-libgo \
2824     maybe-check-target-libtermcap \
2825     maybe-check-target-winsup \
2826     maybe-check-target-libgloss \
2827     maybe-check-target-libiberty \
2828     maybe-check-target-gperf \
2829     maybe-check-target-examples \
2830     maybe-check-target-libffi \
2831     maybe-check-target-libjava \
2832     maybe-check-target-zlib \
2833     maybe-check-target-boehm-gc \
2834     maybe-check-target-qthreads \
2835     maybe-check-target-rda \
2836     maybe-check-target-libada \
2837     maybe-check-target-libgomp
2838
2839 do-check:
2840         @: $(MAKE); $(unstage)
2841         @r=`${PWD_COMMAND}`; export r; \
2842         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2843         $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2844
2845 # Automated reporting of test results.
2846
2847 warning.log: build.log
2848         $(srcdir)/contrib/warn_summary build.log > $@
2849
2850 mail-report.log:
2851         if test x'$(BOOT_CFLAGS)' != x''; then \
2852             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2853         fi; \
2854         $(srcdir)/contrib/test_summary -t >$@
2855         chmod +x $@
2856         echo If you really want to send e-mail, run ./$@ now
2857
2858 mail-report-with-warnings.log: warning.log
2859         if test x'$(BOOT_CFLAGS)' != x''; then \
2860             BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2861         fi; \
2862         $(srcdir)/contrib/test_summary -t -i warning.log >$@
2863         chmod +x $@
2864         echo If you really want to send e-mail, run ./$@ now
2865
2866 # Installation targets.
2867
2868 .PHONY: install uninstall
2869 install:
2870         @: $(MAKE); $(unstage)
2871         @r=`${PWD_COMMAND}`; export r; \
2872         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2873         $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2874
2875 .PHONY: install-host-nogcc
2876 install-host-nogcc:  \
2877     maybe-install-ash \
2878     maybe-install-autoconf \
2879     maybe-install-automake \
2880     maybe-install-bash \
2881     maybe-install-bfd \
2882     maybe-install-opcodes \
2883     maybe-install-binutils \
2884     maybe-install-bison \
2885     maybe-install-byacc \
2886     maybe-install-bzip2 \
2887     maybe-install-cgen \
2888     maybe-install-dejagnu \
2889     maybe-install-diff \
2890     maybe-install-dosutils \
2891     maybe-install-etc \
2892     maybe-install-fastjar \
2893     maybe-install-fileutils \
2894     maybe-install-findutils \
2895     maybe-install-find \
2896     maybe-install-fixincludes \
2897     maybe-install-flex \
2898     maybe-install-gas \
2899     maybe-install-gawk \
2900     maybe-install-gettext \
2901     maybe-install-gmp \
2902     maybe-install-mpfr \
2903     maybe-install-mpc \
2904     maybe-install-ppl \
2905     maybe-install-cloog \
2906     maybe-install-libelf \
2907     maybe-install-gnuserv \
2908     maybe-install-gold \
2909     maybe-install-gprof \
2910     maybe-install-gzip \
2911     maybe-install-hello \
2912     maybe-install-indent \
2913     maybe-install-intl \
2914     maybe-install-tcl \
2915     maybe-install-itcl \
2916     maybe-install-ld \
2917     maybe-install-libcpp \
2918     maybe-install-libdecnumber \
2919     maybe-install-libgui \
2920     maybe-install-libiberty \
2921     maybe-install-libiconv \
2922     maybe-install-libtool \
2923     maybe-install-m4 \
2924     maybe-install-make \
2925     maybe-install-mmalloc \
2926     maybe-install-patch \
2927     maybe-install-perl \
2928     maybe-install-prms \
2929     maybe-install-rcs \
2930     maybe-install-readline \
2931     maybe-install-release \
2932     maybe-install-recode \
2933     maybe-install-sed \
2934     maybe-install-send-pr \
2935     maybe-install-shellutils \
2936     maybe-install-sid \
2937     maybe-install-sim \
2938     maybe-install-tar \
2939     maybe-install-texinfo \
2940     maybe-install-textutils \
2941     maybe-install-time \
2942     maybe-install-uudecode \
2943     maybe-install-wdiff \
2944     maybe-install-zip \
2945     maybe-install-zlib \
2946     maybe-install-gdb \
2947     maybe-install-expect \
2948     maybe-install-guile \
2949     maybe-install-tk \
2950     maybe-install-libtermcap \
2951     maybe-install-utils \
2952     maybe-install-gnattools \
2953     maybe-install-lto-plugin
2954
2955 .PHONY: install-host
2956 install-host:  \
2957     maybe-install-ash \
2958     maybe-install-autoconf \
2959     maybe-install-automake \
2960     maybe-install-bash \
2961     maybe-install-bfd \
2962     maybe-install-opcodes \
2963     maybe-install-binutils \
2964     maybe-install-bison \
2965     maybe-install-byacc \
2966     maybe-install-bzip2 \
2967     maybe-install-cgen \
2968     maybe-install-dejagnu \
2969     maybe-install-diff \
2970     maybe-install-dosutils \
2971     maybe-install-etc \
2972     maybe-install-fastjar \
2973     maybe-install-fileutils \
2974     maybe-install-findutils \
2975     maybe-install-find \
2976     maybe-install-fixincludes \
2977     maybe-install-flex \
2978     maybe-install-gas \
2979     maybe-install-gcc \
2980     maybe-install-gawk \
2981     maybe-install-gettext \
2982     maybe-install-gmp \
2983     maybe-install-mpfr \
2984     maybe-install-mpc \
2985     maybe-install-ppl \
2986     maybe-install-cloog \
2987     maybe-install-libelf \
2988     maybe-install-gnuserv \
2989     maybe-install-gold \
2990     maybe-install-gprof \
2991     maybe-install-gzip \
2992     maybe-install-hello \
2993     maybe-install-indent \
2994     maybe-install-intl \
2995     maybe-install-tcl \
2996     maybe-install-itcl \
2997     maybe-install-ld \
2998     maybe-install-libcpp \
2999     maybe-install-libdecnumber \
3000     maybe-install-libgui \
3001     maybe-install-libiberty \
3002     maybe-install-libiconv \
3003     maybe-install-libtool \
3004     maybe-install-m4 \
3005     maybe-install-make \
3006     maybe-install-mmalloc \
3007     maybe-install-patch \
3008     maybe-install-perl \
3009     maybe-install-prms \
3010     maybe-install-rcs \
3011     maybe-install-readline \
3012     maybe-install-release \
3013     maybe-install-recode \
3014     maybe-install-sed \
3015     maybe-install-send-pr \
3016     maybe-install-shellutils \
3017     maybe-install-sid \
3018     maybe-install-sim \
3019     maybe-install-tar \
3020     maybe-install-texinfo \
3021     maybe-install-textutils \
3022     maybe-install-time \
3023     maybe-install-uudecode \
3024     maybe-install-wdiff \
3025     maybe-install-zip \
3026     maybe-install-zlib \
3027     maybe-install-gdb \
3028     maybe-install-expect \
3029     maybe-install-guile \
3030     maybe-install-tk \
3031     maybe-install-libtermcap \
3032     maybe-install-utils \
3033     maybe-install-gnattools \
3034     maybe-install-lto-plugin
3035
3036 .PHONY: install-target
3037 install-target:  \
3038     maybe-install-target-libstdc++-v3 \
3039     maybe-install-target-libmudflap \
3040     maybe-install-target-libssp \
3041     maybe-install-target-newlib \
3042     maybe-install-target-libgcc \
3043     maybe-install-target-libquadmath \
3044     maybe-install-target-libgfortran \
3045     maybe-install-target-libobjc \
3046     maybe-install-target-libgo \
3047     maybe-install-target-libtermcap \
3048     maybe-install-target-winsup \
3049     maybe-install-target-libgloss \
3050     maybe-install-target-libiberty \
3051     maybe-install-target-gperf \
3052     maybe-install-target-examples \
3053     maybe-install-target-libffi \
3054     maybe-install-target-libjava \
3055     maybe-install-target-zlib \
3056     maybe-install-target-boehm-gc \
3057     maybe-install-target-qthreads \
3058     maybe-install-target-rda \
3059     maybe-install-target-libada \
3060     maybe-install-target-libgomp
3061
3062 uninstall:
3063         @echo "the uninstall target is not supported in this tree"
3064
3065 .PHONY: install.all
3066 install.all: install-no-fixedincludes
3067         @if [ -f ./gcc/Makefile ] ; then \
3068                 r=`${PWD_COMMAND}` ; export r ; \
3069                 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3070                 $(HOST_EXPORTS) \
3071                 (cd ./gcc && \
3072                 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
3073         else \
3074                 true ; \
3075         fi
3076
3077 # install-no-fixedincludes is used because Cygnus can not distribute
3078 # the fixed header files.
3079 .PHONY: install-no-fixedincludes
3080 install-no-fixedincludes: installdirs install-host-nogcc \
3081         install-target gcc-no-fixedincludes
3082
3083 .PHONY: install-strip
3084 install-strip:
3085         @: $(MAKE); $(unstage)
3086         @r=`${PWD_COMMAND}`; export r; \
3087         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3088         $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
3089
3090 .PHONY: install-strip-host
3091 install-strip-host:  \
3092     maybe-install-strip-ash \
3093     maybe-install-strip-autoconf \
3094     maybe-install-strip-automake \
3095     maybe-install-strip-bash \
3096     maybe-install-strip-bfd \
3097     maybe-install-strip-opcodes \
3098     maybe-install-strip-binutils \
3099     maybe-install-strip-bison \
3100     maybe-install-strip-byacc \
3101     maybe-install-strip-bzip2 \
3102     maybe-install-strip-cgen \
3103     maybe-install-strip-dejagnu \
3104     maybe-install-strip-diff \
3105     maybe-install-strip-dosutils \
3106     maybe-install-strip-etc \
3107     maybe-install-strip-fastjar \
3108     maybe-install-strip-fileutils \
3109     maybe-install-strip-findutils \
3110     maybe-install-strip-find \
3111     maybe-install-strip-fixincludes \
3112     maybe-install-strip-flex \
3113     maybe-install-strip-gas \
3114     maybe-install-strip-gcc \
3115     maybe-install-strip-gawk \
3116     maybe-install-strip-gettext \
3117     maybe-install-strip-gmp \
3118     maybe-install-strip-mpfr \
3119     maybe-install-strip-mpc \
3120     maybe-install-strip-ppl \
3121     maybe-install-strip-cloog \
3122     maybe-install-strip-libelf \
3123     maybe-install-strip-gnuserv \
3124     maybe-install-strip-gold \
3125     maybe-install-strip-gprof \
3126     maybe-install-strip-gzip \
3127     maybe-install-strip-hello \
3128     maybe-install-strip-indent \
3129     maybe-install-strip-intl \
3130     maybe-install-strip-tcl \
3131     maybe-install-strip-itcl \
3132     maybe-install-strip-ld \
3133     maybe-install-strip-libcpp \
3134     maybe-install-strip-libdecnumber \
3135     maybe-install-strip-libgui \
3136     maybe-install-strip-libiberty \
3137     maybe-install-strip-libiconv \
3138     maybe-install-strip-libtool \
3139     maybe-install-strip-m4 \
3140     maybe-install-strip-make \
3141     maybe-install-strip-mmalloc \
3142     maybe-install-strip-patch \
3143     maybe-install-strip-perl \
3144     maybe-install-strip-prms \
3145     maybe-install-strip-rcs \
3146     maybe-install-strip-readline \
3147     maybe-install-strip-release \
3148     maybe-install-strip-recode \
3149     maybe-install-strip-sed \
3150     maybe-install-strip-send-pr \
3151     maybe-install-strip-shellutils \
3152     maybe-install-strip-sid \
3153     maybe-install-strip-sim \
3154     maybe-install-strip-tar \
3155     maybe-install-strip-texinfo \
3156     maybe-install-strip-textutils \
3157     maybe-install-strip-time \
3158     maybe-install-strip-uudecode \
3159     maybe-install-strip-wdiff \
3160     maybe-install-strip-zip \
3161     maybe-install-strip-zlib \
3162     maybe-install-strip-gdb \
3163     maybe-install-strip-expect \
3164     maybe-install-strip-guile \
3165     maybe-install-strip-tk \
3166     maybe-install-strip-libtermcap \
3167     maybe-install-strip-utils \
3168     maybe-install-strip-gnattools \
3169     maybe-install-strip-lto-plugin
3170
3171 .PHONY: install-strip-target
3172 install-strip-target:  \
3173     maybe-install-strip-target-libstdc++-v3 \
3174     maybe-install-strip-target-libmudflap \
3175     maybe-install-strip-target-libssp \
3176     maybe-install-strip-target-newlib \
3177     maybe-install-strip-target-libgcc \
3178     maybe-install-strip-target-libquadmath \
3179     maybe-install-strip-target-libgfortran \
3180     maybe-install-strip-target-libobjc \
3181     maybe-install-strip-target-libgo \
3182     maybe-install-strip-target-libtermcap \
3183     maybe-install-strip-target-winsup \
3184     maybe-install-strip-target-libgloss \
3185     maybe-install-strip-target-libiberty \
3186     maybe-install-strip-target-gperf \
3187     maybe-install-strip-target-examples \
3188     maybe-install-strip-target-libffi \
3189     maybe-install-strip-target-libjava \
3190     maybe-install-strip-target-zlib \
3191     maybe-install-strip-target-boehm-gc \
3192     maybe-install-strip-target-qthreads \
3193     maybe-install-strip-target-rda \
3194     maybe-install-strip-target-libada \
3195     maybe-install-strip-target-libgomp
3196
3197
3198 ### other supporting targets
3199
3200 MAKEDIRS= \
3201         $(DESTDIR)$(prefix) \
3202         $(DESTDIR)$(exec_prefix)
3203 .PHONY: installdirs
3204 installdirs: mkinstalldirs
3205         $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
3206
3207 dir.info: do-install-info
3208         if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
3209           $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
3210           mv -f dir.info.new dir.info ; \
3211         else true ; \
3212         fi
3213
3214 dist:
3215         @echo "Building a full distribution of this tree isn't done"
3216         @echo "via 'make dist'.  Check out the etc/ subdirectory" 
3217
3218 etags tags: TAGS
3219
3220 # Right now this just builds TAGS in each subdirectory.  emacs19 has the
3221 # ability to use several tags files at once, so there is probably no need
3222 # to combine them into one big TAGS file (like CVS 1.3 does).  We could
3223 # (if we felt like it) have this Makefile write a piece of elisp which
3224 # the user could load to tell emacs19 where all the TAGS files we just
3225 # built are.
3226 TAGS: do-TAGS
3227
3228 # ------------------------------------
3229 # Macros for configure and all targets
3230 # ------------------------------------
3231
3232
3233
3234
3235
3236 # --------------------------------------
3237 # Modules which run on the build machine
3238 # --------------------------------------
3239
3240
3241 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
3242 maybe-configure-build-libiberty:
3243 @if gcc-bootstrap
3244 configure-build-libiberty: stage_current
3245 @endif gcc-bootstrap
3246 @if build-libiberty
3247 maybe-configure-build-libiberty: configure-build-libiberty
3248 configure-build-libiberty: 
3249         @: $(MAKE); $(unstage)
3250         @r=`${PWD_COMMAND}`; export r; \
3251         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3252         test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
3253         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
3254         $(BUILD_EXPORTS)  \
3255         echo Configuring in $(BUILD_SUBDIR)/libiberty; \
3256         cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
3257         case $(srcdir) in \
3258           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3259           *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
3260                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3261         esac; \
3262         srcdiroption="--srcdir=$${topdir}/libiberty"; \
3263         libsrcdir="$$s/libiberty"; \
3264         rm -f no-such-file || : ; \
3265         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3266           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3267           --target=${target_alias} $${srcdiroption}  \
3268           || exit 1
3269 @endif build-libiberty
3270
3271
3272
3273
3274
3275 .PHONY: all-build-libiberty maybe-all-build-libiberty
3276 maybe-all-build-libiberty:
3277 @if gcc-bootstrap
3278 all-build-libiberty: stage_current
3279 @endif gcc-bootstrap
3280 @if build-libiberty
3281 TARGET-build-libiberty=all
3282 maybe-all-build-libiberty: all-build-libiberty
3283 all-build-libiberty: configure-build-libiberty
3284         @: $(MAKE); $(unstage)
3285         @r=`${PWD_COMMAND}`; export r; \
3286         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3287         $(BUILD_EXPORTS)  \
3288         (cd $(BUILD_SUBDIR)/libiberty && \
3289           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3290                 $(TARGET-build-libiberty))
3291 @endif build-libiberty
3292
3293
3294
3295
3296
3297 .PHONY: configure-build-bison maybe-configure-build-bison
3298 maybe-configure-build-bison:
3299 @if gcc-bootstrap
3300 configure-build-bison: stage_current
3301 @endif gcc-bootstrap
3302 @if build-bison
3303 maybe-configure-build-bison: configure-build-bison
3304 configure-build-bison: 
3305         @: $(MAKE); $(unstage)
3306         @r=`${PWD_COMMAND}`; export r; \
3307         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3308         test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
3309         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
3310         $(BUILD_EXPORTS)  \
3311         echo Configuring in $(BUILD_SUBDIR)/bison; \
3312         cd "$(BUILD_SUBDIR)/bison" || exit 1; \
3313         case $(srcdir) in \
3314           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3315           *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
3316                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3317         esac; \
3318         srcdiroption="--srcdir=$${topdir}/bison"; \
3319         libsrcdir="$$s/bison"; \
3320         rm -f no-such-file || : ; \
3321         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3322           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3323           --target=${target_alias} $${srcdiroption}  \
3324           || exit 1
3325 @endif build-bison
3326
3327
3328
3329
3330
3331 .PHONY: all-build-bison maybe-all-build-bison
3332 maybe-all-build-bison:
3333 @if gcc-bootstrap
3334 all-build-bison: stage_current
3335 @endif gcc-bootstrap
3336 @if build-bison
3337 TARGET-build-bison=all
3338 maybe-all-build-bison: all-build-bison
3339 all-build-bison: configure-build-bison
3340         @: $(MAKE); $(unstage)
3341         @r=`${PWD_COMMAND}`; export r; \
3342         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3343         $(BUILD_EXPORTS)  \
3344         (cd $(BUILD_SUBDIR)/bison && \
3345           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3346                 $(TARGET-build-bison))
3347 @endif build-bison
3348
3349
3350
3351
3352
3353 .PHONY: configure-build-byacc maybe-configure-build-byacc
3354 maybe-configure-build-byacc:
3355 @if gcc-bootstrap
3356 configure-build-byacc: stage_current
3357 @endif gcc-bootstrap
3358 @if build-byacc
3359 maybe-configure-build-byacc: configure-build-byacc
3360 configure-build-byacc: 
3361         @: $(MAKE); $(unstage)
3362         @r=`${PWD_COMMAND}`; export r; \
3363         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3364         test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
3365         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
3366         $(BUILD_EXPORTS)  \
3367         echo Configuring in $(BUILD_SUBDIR)/byacc; \
3368         cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
3369         case $(srcdir) in \
3370           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3371           *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
3372                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3373         esac; \
3374         srcdiroption="--srcdir=$${topdir}/byacc"; \
3375         libsrcdir="$$s/byacc"; \
3376         rm -f no-such-file || : ; \
3377         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3378           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3379           --target=${target_alias} $${srcdiroption}  \
3380           || exit 1
3381 @endif build-byacc
3382
3383
3384
3385
3386
3387 .PHONY: all-build-byacc maybe-all-build-byacc
3388 maybe-all-build-byacc:
3389 @if gcc-bootstrap
3390 all-build-byacc: stage_current
3391 @endif gcc-bootstrap
3392 @if build-byacc
3393 TARGET-build-byacc=all
3394 maybe-all-build-byacc: all-build-byacc
3395 all-build-byacc: configure-build-byacc
3396         @: $(MAKE); $(unstage)
3397         @r=`${PWD_COMMAND}`; export r; \
3398         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3399         $(BUILD_EXPORTS)  \
3400         (cd $(BUILD_SUBDIR)/byacc && \
3401           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3402                 $(TARGET-build-byacc))
3403 @endif build-byacc
3404
3405
3406
3407
3408
3409 .PHONY: configure-build-flex maybe-configure-build-flex
3410 maybe-configure-build-flex:
3411 @if gcc-bootstrap
3412 configure-build-flex: stage_current
3413 @endif gcc-bootstrap
3414 @if build-flex
3415 maybe-configure-build-flex: configure-build-flex
3416 configure-build-flex: 
3417         @: $(MAKE); $(unstage)
3418         @r=`${PWD_COMMAND}`; export r; \
3419         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3420         test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
3421         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
3422         $(BUILD_EXPORTS)  \
3423         echo Configuring in $(BUILD_SUBDIR)/flex; \
3424         cd "$(BUILD_SUBDIR)/flex" || exit 1; \
3425         case $(srcdir) in \
3426           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3427           *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
3428                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3429         esac; \
3430         srcdiroption="--srcdir=$${topdir}/flex"; \
3431         libsrcdir="$$s/flex"; \
3432         rm -f no-such-file || : ; \
3433         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3434           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3435           --target=${target_alias} $${srcdiroption}  \
3436           || exit 1
3437 @endif build-flex
3438
3439
3440
3441
3442
3443 .PHONY: all-build-flex maybe-all-build-flex
3444 maybe-all-build-flex:
3445 @if gcc-bootstrap
3446 all-build-flex: stage_current
3447 @endif gcc-bootstrap
3448 @if build-flex
3449 TARGET-build-flex=all
3450 maybe-all-build-flex: all-build-flex
3451 all-build-flex: configure-build-flex
3452         @: $(MAKE); $(unstage)
3453         @r=`${PWD_COMMAND}`; export r; \
3454         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3455         $(BUILD_EXPORTS)  \
3456         (cd $(BUILD_SUBDIR)/flex && \
3457           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3458                 $(TARGET-build-flex))
3459 @endif build-flex
3460
3461
3462
3463
3464
3465 .PHONY: configure-build-m4 maybe-configure-build-m4
3466 maybe-configure-build-m4:
3467 @if gcc-bootstrap
3468 configure-build-m4: stage_current
3469 @endif gcc-bootstrap
3470 @if build-m4
3471 maybe-configure-build-m4: configure-build-m4
3472 configure-build-m4: 
3473         @: $(MAKE); $(unstage)
3474         @r=`${PWD_COMMAND}`; export r; \
3475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3476         test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3477         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
3478         $(BUILD_EXPORTS)  \
3479         echo Configuring in $(BUILD_SUBDIR)/m4; \
3480         cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3481         case $(srcdir) in \
3482           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3483           *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3484                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3485         esac; \
3486         srcdiroption="--srcdir=$${topdir}/m4"; \
3487         libsrcdir="$$s/m4"; \
3488         rm -f no-such-file || : ; \
3489         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3490           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3491           --target=${target_alias} $${srcdiroption}  \
3492           || exit 1
3493 @endif build-m4
3494
3495
3496
3497
3498
3499 .PHONY: all-build-m4 maybe-all-build-m4
3500 maybe-all-build-m4:
3501 @if gcc-bootstrap
3502 all-build-m4: stage_current
3503 @endif gcc-bootstrap
3504 @if build-m4
3505 TARGET-build-m4=all
3506 maybe-all-build-m4: all-build-m4
3507 all-build-m4: configure-build-m4
3508         @: $(MAKE); $(unstage)
3509         @r=`${PWD_COMMAND}`; export r; \
3510         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3511         $(BUILD_EXPORTS)  \
3512         (cd $(BUILD_SUBDIR)/m4 && \
3513           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3514                 $(TARGET-build-m4))
3515 @endif build-m4
3516
3517
3518
3519
3520
3521 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3522 maybe-configure-build-texinfo:
3523 @if gcc-bootstrap
3524 configure-build-texinfo: stage_current
3525 @endif gcc-bootstrap
3526 @if build-texinfo
3527 maybe-configure-build-texinfo: configure-build-texinfo
3528 configure-build-texinfo: 
3529         @: $(MAKE); $(unstage)
3530         @r=`${PWD_COMMAND}`; export r; \
3531         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3532         test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3533         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
3534         $(BUILD_EXPORTS)  \
3535         echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3536         cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3537         case $(srcdir) in \
3538           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3539           *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3540                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3541         esac; \
3542         srcdiroption="--srcdir=$${topdir}/texinfo"; \
3543         libsrcdir="$$s/texinfo"; \
3544         rm -f no-such-file || : ; \
3545         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3546           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3547           --target=${target_alias} $${srcdiroption}  \
3548           || exit 1
3549 @endif build-texinfo
3550
3551
3552
3553
3554
3555 .PHONY: all-build-texinfo maybe-all-build-texinfo
3556 maybe-all-build-texinfo:
3557 @if gcc-bootstrap
3558 all-build-texinfo: stage_current
3559 @endif gcc-bootstrap
3560 @if build-texinfo
3561 TARGET-build-texinfo=all
3562 maybe-all-build-texinfo: all-build-texinfo
3563 all-build-texinfo: configure-build-texinfo
3564         @: $(MAKE); $(unstage)
3565         @r=`${PWD_COMMAND}`; export r; \
3566         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3567         $(BUILD_EXPORTS)  \
3568         (cd $(BUILD_SUBDIR)/texinfo && \
3569           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3570                 $(TARGET-build-texinfo))
3571 @endif build-texinfo
3572
3573
3574
3575
3576
3577 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3578 maybe-configure-build-fixincludes:
3579 @if gcc-bootstrap
3580 configure-build-fixincludes: stage_current
3581 @endif gcc-bootstrap
3582 @if build-fixincludes
3583 maybe-configure-build-fixincludes: configure-build-fixincludes
3584 configure-build-fixincludes: 
3585         @: $(MAKE); $(unstage)
3586         @r=`${PWD_COMMAND}`; export r; \
3587         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3588         test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3589         $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3590         $(BUILD_EXPORTS)  \
3591         echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3592         cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3593         case $(srcdir) in \
3594           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3595           *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3596                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3597         esac; \
3598         srcdiroption="--srcdir=$${topdir}/fixincludes"; \
3599         libsrcdir="$$s/fixincludes"; \
3600         rm -f no-such-file || : ; \
3601         CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3602           $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3603           --target=${target_alias} $${srcdiroption}  \
3604           || exit 1
3605 @endif build-fixincludes
3606
3607
3608
3609
3610
3611 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3612 maybe-all-build-fixincludes:
3613 @if gcc-bootstrap
3614 all-build-fixincludes: stage_current
3615 @endif gcc-bootstrap
3616 @if build-fixincludes
3617 TARGET-build-fixincludes=all
3618 maybe-all-build-fixincludes: all-build-fixincludes
3619 all-build-fixincludes: configure-build-fixincludes
3620         @: $(MAKE); $(unstage)
3621         @r=`${PWD_COMMAND}`; export r; \
3622         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3623         $(BUILD_EXPORTS)  \
3624         (cd $(BUILD_SUBDIR)/fixincludes && \
3625           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS)  \
3626                 $(TARGET-build-fixincludes))
3627 @endif build-fixincludes
3628
3629
3630
3631
3632
3633 # --------------------------------------
3634 # Modules which run on the host machine
3635 # --------------------------------------
3636
3637
3638 .PHONY: configure-ash maybe-configure-ash
3639 maybe-configure-ash:
3640 @if gcc-bootstrap
3641 configure-ash: stage_current
3642 @endif gcc-bootstrap
3643 @if ash
3644 maybe-configure-ash: configure-ash
3645 configure-ash: 
3646         @: $(MAKE); $(unstage)
3647         @r=`${PWD_COMMAND}`; export r; \
3648         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3649         test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
3650         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
3651         $(HOST_EXPORTS)  \
3652         echo Configuring in $(HOST_SUBDIR)/ash; \
3653         cd "$(HOST_SUBDIR)/ash" || exit 1; \
3654         case $(srcdir) in \
3655           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3656           *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
3657                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3658         esac; \
3659         srcdiroption="--srcdir=$${topdir}/ash"; \
3660         libsrcdir="$$s/ash"; \
3661         $(SHELL) $${libsrcdir}/configure \
3662           $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3663           --target=${target_alias} $${srcdiroption}  \
3664           || exit 1
3665 @endif ash
3666
3667
3668
3669
3670
3671 .PHONY: all-ash maybe-all-ash
3672 maybe-all-ash:
3673 @if gcc-bootstrap
3674 all-ash: stage_current
3675 @endif gcc-bootstrap
3676 @if ash
3677 TARGET-ash=all
3678 maybe-all-ash: all-ash
3679 all-ash: configure-ash
3680         @: $(MAKE); $(unstage)
3681         @r=`${PWD_COMMAND}`; export r; \
3682         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3683         $(HOST_EXPORTS)  \
3684         (cd $(HOST_SUBDIR)/ash && \
3685           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)  \
3686                 $(TARGET-ash))
3687 @endif ash
3688
3689
3690
3691
3692 .PHONY: check-ash maybe-check-ash
3693 maybe-check-ash:
3694 @if ash
3695 maybe-check-ash: check-ash
3696
3697 check-ash:
3698         @: $(MAKE); $(unstage)
3699         @r=`${PWD_COMMAND}`; export r; \
3700         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3701         $(HOST_EXPORTS) \
3702         (cd $(HOST_SUBDIR)/ash && \
3703           $(MAKE) $(FLAGS_TO_PASS)  check)
3704
3705 @endif ash
3706
3707 .PHONY: install-ash maybe-install-ash
3708 maybe-install-ash:
3709 @if ash
3710 maybe-install-ash: install-ash
3711
3712 install-ash: installdirs
3713         @: $(MAKE); $(unstage)
3714         @r=`${PWD_COMMAND}`; export r; \
3715         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3716         $(HOST_EXPORTS) \
3717         (cd $(HOST_SUBDIR)/ash && \
3718           $(MAKE) $(FLAGS_TO_PASS)  install)
3719
3720 @endif ash
3721
3722 .PHONY: install-strip-ash maybe-install-strip-ash
3723 maybe-install-strip-ash:
3724 @if ash
3725 maybe-install-strip-ash: install-strip-ash
3726
3727 install-strip-ash: installdirs
3728         @: $(MAKE); $(unstage)
3729         @r=`${PWD_COMMAND}`; export r; \
3730         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3731         $(HOST_EXPORTS) \
3732         (cd $(HOST_SUBDIR)/ash && \
3733           $(MAKE) $(FLAGS_TO_PASS)  install-strip)
3734
3735 @endif ash
3736
3737 # Other targets (info, dvi, pdf, etc.)
3738
3739 .PHONY: maybe-info-ash info-ash
3740 maybe-info-ash:
3741 @if ash
3742 maybe-info-ash: info-ash
3743
3744 info-ash: \
3745     configure-ash 
3746         @: $(MAKE); $(unstage)
3747         @[ -f ./ash/Makefile ] || exit 0; \
3748         r=`${PWD_COMMAND}`; export r; \
3749         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3750         $(HOST_EXPORTS) \
3751         for flag in $(EXTRA_HOST_FLAGS) ; do \
3752           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3753         done; \
3754         echo "Doing info in ash" ; \
3755         (cd $(HOST_SUBDIR)/ash && \
3756           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3757                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3758                   "RANLIB=$${RANLIB}" \
3759                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3760                   info) \
3761           || exit 1
3762
3763 @endif ash
3764
3765 .PHONY: maybe-dvi-ash dvi-ash
3766 maybe-dvi-ash:
3767 @if ash
3768 maybe-dvi-ash: dvi-ash
3769
3770 dvi-ash: \
3771     configure-ash 
3772         @: $(MAKE); $(unstage)
3773         @[ -f ./ash/Makefile ] || exit 0; \
3774         r=`${PWD_COMMAND}`; export r; \
3775         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3776         $(HOST_EXPORTS) \
3777         for flag in $(EXTRA_HOST_FLAGS) ; do \
3778           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3779         done; \
3780         echo "Doing dvi in ash" ; \
3781         (cd $(HOST_SUBDIR)/ash && \
3782           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784                   "RANLIB=$${RANLIB}" \
3785                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3786                   dvi) \
3787           || exit 1
3788
3789 @endif ash
3790
3791 .PHONY: maybe-pdf-ash pdf-ash
3792 maybe-pdf-ash:
3793 @if ash
3794 maybe-pdf-ash: pdf-ash
3795
3796 pdf-ash: \
3797     configure-ash 
3798         @: $(MAKE); $(unstage)
3799         @[ -f ./ash/Makefile ] || exit 0; \
3800         r=`${PWD_COMMAND}`; export r; \
3801         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3802         $(HOST_EXPORTS) \
3803         for flag in $(EXTRA_HOST_FLAGS) ; do \
3804           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3805         done; \
3806         echo "Doing pdf in ash" ; \
3807         (cd $(HOST_SUBDIR)/ash && \
3808           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3809                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3810                   "RANLIB=$${RANLIB}" \
3811                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3812                   pdf) \
3813           || exit 1
3814
3815 @endif ash
3816
3817 .PHONY: maybe-html-ash html-ash
3818 maybe-html-ash:
3819 @if ash
3820 maybe-html-ash: html-ash
3821
3822 html-ash: \
3823     configure-ash 
3824         @: $(MAKE); $(unstage)
3825         @[ -f ./ash/Makefile ] || exit 0; \
3826         r=`${PWD_COMMAND}`; export r; \
3827         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3828         $(HOST_EXPORTS) \
3829         for flag in $(EXTRA_HOST_FLAGS) ; do \
3830           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3831         done; \
3832         echo "Doing html in ash" ; \
3833         (cd $(HOST_SUBDIR)/ash && \
3834           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3835                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3836                   "RANLIB=$${RANLIB}" \
3837                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3838                   html) \
3839           || exit 1
3840
3841 @endif ash
3842
3843 .PHONY: maybe-TAGS-ash TAGS-ash
3844 maybe-TAGS-ash:
3845 @if ash
3846 maybe-TAGS-ash: TAGS-ash
3847
3848 TAGS-ash: \
3849     configure-ash 
3850         @: $(MAKE); $(unstage)
3851         @[ -f ./ash/Makefile ] || exit 0; \
3852         r=`${PWD_COMMAND}`; export r; \
3853         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3854         $(HOST_EXPORTS) \
3855         for flag in $(EXTRA_HOST_FLAGS) ; do \
3856           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3857         done; \
3858         echo "Doing TAGS in ash" ; \
3859         (cd $(HOST_SUBDIR)/ash && \
3860           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3861                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3862                   "RANLIB=$${RANLIB}" \
3863                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3864                   TAGS) \
3865           || exit 1
3866
3867 @endif ash
3868
3869 .PHONY: maybe-install-info-ash install-info-ash
3870 maybe-install-info-ash:
3871 @if ash
3872 maybe-install-info-ash: install-info-ash
3873
3874 install-info-ash: \
3875     configure-ash \
3876     info-ash 
3877         @: $(MAKE); $(unstage)
3878         @[ -f ./ash/Makefile ] || exit 0; \
3879         r=`${PWD_COMMAND}`; export r; \
3880         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881         $(HOST_EXPORTS) \
3882         for flag in $(EXTRA_HOST_FLAGS) ; do \
3883           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884         done; \
3885         echo "Doing install-info in ash" ; \
3886         (cd $(HOST_SUBDIR)/ash && \
3887           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3888                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3889                   "RANLIB=$${RANLIB}" \
3890                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3891                   install-info) \
3892           || exit 1
3893
3894 @endif ash
3895
3896 .PHONY: maybe-install-pdf-ash install-pdf-ash
3897 maybe-install-pdf-ash:
3898 @if ash
3899 maybe-install-pdf-ash: install-pdf-ash
3900
3901 install-pdf-ash: \
3902     configure-ash \
3903     pdf-ash 
3904         @: $(MAKE); $(unstage)
3905         @[ -f ./ash/Makefile ] || exit 0; \
3906         r=`${PWD_COMMAND}`; export r; \
3907         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3908         $(HOST_EXPORTS) \
3909         for flag in $(EXTRA_HOST_FLAGS) ; do \
3910           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3911         done; \
3912         echo "Doing install-pdf in ash" ; \
3913         (cd $(HOST_SUBDIR)/ash && \
3914           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3915                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3916                   "RANLIB=$${RANLIB}" \
3917                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3918                   install-pdf) \
3919           || exit 1
3920
3921 @endif ash
3922
3923 .PHONY: maybe-install-html-ash install-html-ash
3924 maybe-install-html-ash:
3925 @if ash
3926 maybe-install-html-ash: install-html-ash
3927
3928 install-html-ash: \
3929     configure-ash \
3930     html-ash 
3931         @: $(MAKE); $(unstage)
3932         @[ -f ./ash/Makefile ] || exit 0; \
3933         r=`${PWD_COMMAND}`; export r; \
3934         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935         $(HOST_EXPORTS) \
3936         for flag in $(EXTRA_HOST_FLAGS) ; do \
3937           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3938         done; \
3939         echo "Doing install-html in ash" ; \
3940         (cd $(HOST_SUBDIR)/ash && \
3941           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3942                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3943                   "RANLIB=$${RANLIB}" \
3944                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3945                   install-html) \
3946           || exit 1
3947
3948 @endif ash
3949
3950 .PHONY: maybe-installcheck-ash installcheck-ash
3951 maybe-installcheck-ash:
3952 @if ash
3953 maybe-installcheck-ash: installcheck-ash
3954
3955 installcheck-ash: \
3956     configure-ash 
3957         @: $(MAKE); $(unstage)
3958         @[ -f ./ash/Makefile ] || exit 0; \
3959         r=`${PWD_COMMAND}`; export r; \
3960         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3961         $(HOST_EXPORTS) \
3962         for flag in $(EXTRA_HOST_FLAGS) ; do \
3963           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3964         done; \
3965         echo "Doing installcheck in ash" ; \
3966         (cd $(HOST_SUBDIR)/ash && \
3967           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3968                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3969                   "RANLIB=$${RANLIB}" \
3970                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3971                   installcheck) \
3972           || exit 1
3973
3974 @endif ash
3975
3976 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3977 maybe-mostlyclean-ash:
3978 @if ash
3979 maybe-mostlyclean-ash: mostlyclean-ash
3980
3981 mostlyclean-ash: 
3982         @: $(MAKE); $(unstage)
3983         @[ -f ./ash/Makefile ] || exit 0; \
3984         r=`${PWD_COMMAND}`; export r; \
3985         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3986         $(HOST_EXPORTS) \
3987         for flag in $(EXTRA_HOST_FLAGS) ; do \
3988           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3989         done; \
3990         echo "Doing mostlyclean in ash" ; \
3991         (cd $(HOST_SUBDIR)/ash && \
3992           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3993                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3994                   "RANLIB=$${RANLIB}" \
3995                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3996                   mostlyclean) \
3997           || exit 1
3998
3999 @endif ash
4000
4001 .PHONY: maybe-clean-ash clean-ash
4002 maybe-clean-ash:
4003 @if ash
4004 maybe-clean-ash: clean-ash
4005
4006 clean-ash: 
4007         @: $(MAKE); $(unstage)
4008         @[ -f ./ash/Makefile ] || exit 0; \
4009         r=`${PWD_COMMAND}`; export r; \
4010         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4011         $(HOST_EXPORTS) \
4012         for flag in $(EXTRA_HOST_FLAGS) ; do \
4013           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4014         done; \
4015         echo "Doing clean in ash" ; \
4016         (cd $(HOST_SUBDIR)/ash && \
4017           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4018                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4019                   "RANLIB=$${RANLIB}" \
4020                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4021                   clean) \
4022           || exit 1
4023
4024 @endif ash
4025
4026 .PHONY: maybe-distclean-ash distclean-ash
4027 maybe-distclean-ash:
4028 @if ash
4029 maybe-distclean-ash: distclean-ash
4030
4031 distclean-ash: 
4032         @: $(MAKE); $(unstage)
4033         @[ -f ./ash/Makefile ] || exit 0; \
4034         r=`${PWD_COMMAND}`; export r; \
4035         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4036         $(HOST_EXPORTS) \
4037         for flag in $(EXTRA_HOST_FLAGS) ; do \
4038           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4039         done; \
4040         echo "Doing distclean in ash" ; \
4041         (cd $(HOST_SUBDIR)/ash && \
4042           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4043                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4044                   "RANLIB=$${RANLIB}" \
4045                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4046                   distclean) \
4047           || exit 1
4048
4049 @endif ash
4050
4051 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
4052 maybe-maintainer-clean-ash:
4053 @if ash
4054 maybe-maintainer-clean-ash: maintainer-clean-ash
4055
4056 maintainer-clean-ash: 
4057         @: $(MAKE); $(unstage)
4058         @[ -f ./ash/Makefile ] || exit 0; \
4059         r=`${PWD_COMMAND}`; export r; \
4060         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4061         $(HOST_EXPORTS) \
4062         for flag in $(EXTRA_HOST_FLAGS) ; do \
4063           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4064         done; \
4065         echo "Doing maintainer-clean in ash" ; \
4066         (cd $(HOST_SUBDIR)/ash && \
4067           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4068                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4069                   "RANLIB=$${RANLIB}" \
4070                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4071                   maintainer-clean) \
4072           || exit 1
4073
4074 @endif ash
4075
4076
4077
4078 .PHONY: configure-autoconf maybe-configure-autoconf
4079 maybe-configure-autoconf:
4080 @if gcc-bootstrap
4081 configure-autoconf: stage_current
4082 @endif gcc-bootstrap
4083 @if autoconf
4084 maybe-configure-autoconf: configure-autoconf
4085 configure-autoconf: 
4086         @: $(MAKE); $(unstage)
4087         @r=`${PWD_COMMAND}`; export r; \
4088         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089         test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
4090         $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
4091         $(HOST_EXPORTS)  \
4092         echo Configuring in $(HOST_SUBDIR)/autoconf; \
4093         cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
4094         case $(srcdir) in \
4095           /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4096           *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
4097                 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4098         esac; \
4099         srcdiroption="--srcdir=$${topdir}/autoconf"; \
4100         libsrcdir="$$s/autoconf"; \
4101         $(SHELL) $${libsrcdir}/configure \
4102           $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4103           --target=${target_alias} $${srcdiroption}  \
4104           || exit 1
4105 @endif autoconf
4106
4107
4108
4109
4110
4111 .PHONY: all-autoconf maybe-all-autoconf
4112 maybe-all-autoconf:
4113 @if gcc-bootstrap
4114 all-autoconf: stage_current
4115 @endif gcc-bootstrap
4116 @if autoconf
4117 TARGET-autoconf=all
4118 maybe-all-autoconf: all-autoconf
4119 all-autoconf: configure-autoconf
4120         @: $(MAKE); $(unstage)
4121         @r=`${PWD_COMMAND}`; export r; \
4122         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4123         $(HOST_EXPORTS)  \
4124         (cd $(HOST_SUBDIR)/autoconf && \
4125           $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)  \
4126                 $(TARGET-autoconf))
4127 @endif autoconf
4128
4129
4130
4131
4132 .PHONY: check-autoconf maybe-check-autoconf
4133 maybe-check-autoconf:
4134 @if autoconf
4135 maybe-check-autoconf: check-autoconf
4136
4137 check-autoconf:
4138         @: $(MAKE); $(unstage)
4139         @r=`${PWD_COMMAND}`; export r; \
4140         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4141         $(HOST_EXPORTS) \
4142         (cd $(HOST_SUBDIR)/autoconf && \
4143           $(MAKE) $(FLAGS_TO_PASS)  check)
4144
4145 @endif autoconf
4146
4147 .PHONY: install-autoconf maybe-install-autoconf
4148 maybe-install-autoconf:
4149 @if autoconf
4150 maybe-install-autoconf: install-autoconf
4151
4152 install-autoconf: installdirs
4153         @: $(MAKE); $(unstage)
4154         @r=`${PWD_COMMAND}`; export r; \
4155         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4156         $(HOST_EXPORTS) \
4157         (cd $(HOST_SUBDIR)/autoconf && \
4158           $(MAKE) $(FLAGS_TO_PASS)  install)
4159
4160 @endif autoconf
4161
4162 .PHONY: install-strip-autoconf maybe-install-strip-autoconf
4163 maybe-install-strip-autoconf:
4164 @if autoconf
4165 maybe-install-strip-autoconf: install-strip-autoconf
4166
4167 install-strip-autoconf: installdirs
4168         @: $(MAKE); $(unstage)
4169         @r=`${PWD_COMMAND}`; export r; \
4170         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4171         $(HOST_EXPORTS) \
4172         (cd $(HOST_SUBDIR)/autoconf && \
4173           $(MAKE) $(FLAGS_TO_PASS)  install-strip)
4174
4175 @endif autoconf
4176
4177 # Other targets (info, dvi, pdf, etc.)
4178
4179 .PHONY: maybe-info-autoconf info-autoconf
4180 maybe-info-autoconf:
4181 @if autoconf
4182 maybe-info-autoconf: info-autoconf
4183
4184 info-autoconf: \
4185     configure-autoconf 
4186         @: $(MAKE); $(unstage)
4187         @[ -f ./autoconf/Makefile ] || exit 0; \
4188         r=`${PWD_COMMAND}`; export r; \
4189         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4190         $(HOST_EXPORTS) \
4191         for flag in $(EXTRA_HOST_FLAGS) ; do \
4192           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4193         done; \
4194         echo "Doing info in autoconf" ; \
4195         (cd $(HOST_SUBDIR)/autoconf && \
4196           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4197                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4198                   "RANLIB=$${RANLIB}" \
4199                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4200                   info) \
4201           || exit 1
4202
4203 @endif autoconf
4204
4205 .PHONY: maybe-dvi-autoconf dvi-autoconf
4206 maybe-dvi-autoconf:
4207 @if autoconf
4208 maybe-dvi-autoconf: dvi-autoconf
4209
4210 dvi-autoconf: \
4211     configure-autoconf 
4212         @: $(MAKE); $(unstage)
4213         @[ -f ./autoconf/Makefile ] || exit 0; \
4214         r=`${PWD_COMMAND}`; export r; \
4215         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4216         $(HOST_EXPORTS) \
4217         for flag in $(EXTRA_HOST_FLAGS) ; do \
4218           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4219         done; \
4220         echo "Doing dvi in autoconf" ; \
4221         (cd $(HOST_SUBDIR)/autoconf && \
4222           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4223                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4224                   "RANLIB=$${RANLIB}" \
4225                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4226                   dvi) \
4227           || exit 1
4228
4229 @endif autoconf
4230
4231 .PHONY: maybe-pdf-autoconf pdf-autoconf
4232 maybe-pdf-autoconf:
4233 @if autoconf
4234 maybe-pdf-autoconf: pdf-autoconf
4235
4236 pdf-autoconf: \
4237     configure-autoconf 
4238         @: $(MAKE); $(unstage)
4239         @[ -f ./autoconf/Makefile ] || exit 0; \
4240         r=`${PWD_COMMAND}`; export r; \
4241         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4242         $(HOST_EXPORTS) \
4243         for flag in $(EXTRA_HOST_FLAGS) ; do \
4244           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4245         done; \
4246         echo "Doing pdf in autoconf" ; \
4247         (cd $(HOST_SUBDIR)/autoconf && \
4248           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4249                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4250                   "RANLIB=$${RANLIB}" \
4251                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4252                   pdf) \
4253           || exit 1
4254
4255 @endif autoconf
4256
4257 .PHONY: maybe-html-autoconf html-autoconf
4258 maybe-html-autoconf:
4259 @if autoconf
4260 maybe-html-autoconf: html-autoconf
4261
4262 html-autoconf: \
4263     configure-autoconf 
4264         @: $(MAKE); $(unstage)
4265         @[ -f ./autoconf/Makefile ] || exit 0; \
4266         r=`${PWD_COMMAND}`; export r; \
4267         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4268         $(HOST_EXPORTS) \
4269         for flag in $(EXTRA_HOST_FLAGS) ; do \
4270           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4271         done; \
4272         echo "Doing html in autoconf" ; \
4273         (cd $(HOST_SUBDIR)/autoconf && \
4274           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4275                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4276                   "RANLIB=$${RANLIB}" \
4277                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4278                   html) \
4279           || exit 1
4280
4281 @endif autoconf
4282
4283 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
4284 maybe-TAGS-autoconf:
4285 @if autoconf
4286 maybe-TAGS-autoconf: TAGS-autoconf
4287
4288 TAGS-autoconf: \
4289     configure-autoconf 
4290         @: $(MAKE); $(unstage)
4291         @[ -f ./autoconf/Makefile ] || exit 0; \
4292         r=`${PWD_COMMAND}`; export r; \
4293         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4294         $(HOST_EXPORTS) \
4295         for flag in $(EXTRA_HOST_FLAGS) ; do \
4296           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4297         done; \
4298         echo "Doing TAGS in autoconf" ; \
4299         (cd $(HOST_SUBDIR)/autoconf && \
4300           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4301                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4302                   "RANLIB=$${RANLIB}" \
4303                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4304                   TAGS) \
4305           || exit 1
4306
4307 @endif autoconf
4308
4309 .PHONY: maybe-install-info-autoconf install-info-autoconf
4310 maybe-install-info-autoconf:
4311 @if autoconf
4312 maybe-install-info-autoconf: install-info-autoconf
4313
4314 install-info-autoconf: \
4315     configure-autoconf \
4316     info-autoconf 
4317         @: $(MAKE); $(unstage)
4318         @[ -f ./autoconf/Makefile ] || exit 0; \
4319         r=`${PWD_COMMAND}`; export r; \
4320         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4321         $(HOST_EXPORTS) \
4322         for flag in $(EXTRA_HOST_FLAGS) ; do \
4323           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4324         done; \
4325         echo "Doing install-info in autoconf" ; \
4326         (cd $(HOST_SUBDIR)/autoconf && \
4327           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4328                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4329                   "RANLIB=$${RANLIB}" \
4330                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4331                   install-info) \
4332           || exit 1
4333
4334 @endif autoconf
4335
4336 .PHONY: maybe-install-pdf-autoconf install-pdf-autoconf
4337 maybe-install-pdf-autoconf:
4338 @if autoconf
4339 maybe-install-pdf-autoconf: install-pdf-autoconf
4340
4341 install-pdf-autoconf: \
4342     configure-autoconf \
4343     pdf-autoconf 
4344         @: $(MAKE); $(unstage)
4345         @[ -f ./autoconf/Makefile ] || exit 0; \
4346         r=`${PWD_COMMAND}`; export r; \
4347         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4348         $(HOST_EXPORTS) \
4349         for flag in $(EXTRA_HOST_FLAGS) ; do \
4350           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4351         done; \
4352         echo "Doing install-pdf in autoconf" ; \
4353         (cd $(HOST_SUBDIR)/autoconf && \
4354           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4355                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4356                   "RANLIB=$${RANLIB}" \
4357                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4358                   install-pdf) \
4359           || exit 1
4360
4361 @endif autoconf
4362
4363 .PHONY: maybe-install-html-autoconf install-html-autoconf
4364 maybe-install-html-autoconf:
4365 @if autoconf
4366 maybe-install-html-autoconf: install-html-autoconf
4367
4368 install-html-autoconf: \
4369     configure-autoconf \
4370     html-autoconf 
4371         @: $(MAKE); $(unstage)
4372         @[ -f ./autoconf/Makefile ] || exit 0; \
4373         r=`${PWD_COMMAND}`; export r; \
4374         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4375         $(HOST_EXPORTS) \
4376         for flag in $(EXTRA_HOST_FLAGS) ; do \
4377           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4378         done; \
4379         echo "Doing install-html in autoconf" ; \
4380         (cd $(HOST_SUBDIR)/autoconf && \
4381           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4382                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4383                   "RANLIB=$${RANLIB}" \
4384                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4385                   install-html) \
4386           || exit 1
4387
4388 @endif autoconf
4389
4390 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
4391 maybe-installcheck-autoconf:
4392 @if autoconf
4393 maybe-installcheck-autoconf: installcheck-autoconf
4394
4395 installcheck-autoconf: \
4396     configure-autoconf 
4397         @: $(MAKE); $(unstage)
4398         @[ -f ./autoconf/Makefile ] || exit 0; \
4399         r=`${PWD_COMMAND}`; export r; \
4400         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4401         $(HOST_EXPORTS) \
4402         for flag in $(EXTRA_HOST_FLAGS) ; do \
4403           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4404         done; \
4405         echo "Doing installcheck in autoconf" ; \
4406         (cd $(HOST_SUBDIR)/autoconf && \
4407           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4408                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4409                   "RANLIB=$${RANLIB}" \
4410                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4411                   installcheck) \
4412           || exit 1
4413
4414 @endif autoconf
4415
4416 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
4417 maybe-mostlyclean-autoconf:
4418 @if autoconf
4419 maybe-mostlyclean-autoconf: mostlyclean-autoconf
4420
4421 mostlyclean-autoconf: 
4422         @: $(MAKE); $(unstage)
4423         @[ -f ./autoconf/Makefile ] || exit 0; \
4424         r=`${PWD_COMMAND}`; export r; \
4425         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4426         $(HOST_EXPORTS) \
4427         for flag in $(EXTRA_HOST_FLAGS) ; do \
4428           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4429         done; \
4430         echo "Doing mostlyclean in autoconf" ; \
4431         (cd $(HOST_SUBDIR)/autoconf && \
4432           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4433                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4434                   "RANLIB=$${RANLIB}" \
4435                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4436                   mostlyclean) \
4437           || exit 1
4438
4439 @endif autoconf
4440
4441 .PHONY: maybe-clean-autoconf clean-autoconf
4442 maybe-clean-autoconf:
4443 @if autoconf
4444 maybe-clean-autoconf: clean-autoconf
4445
4446 clean-autoconf: 
4447         @: $(MAKE); $(unstage)
4448         @[ -f ./autoconf/Makefile ] || exit 0; \
4449         r=`${PWD_COMMAND}`; export r; \
4450         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4451         $(HOST_EXPORTS) \
4452         for flag in $(EXTRA_HOST_FLAGS) ; do \
4453           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4454         done; \
4455         echo "Doing clean in autoconf" ; \
4456         (cd $(HOST_SUBDIR)/autoconf && \
4457           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4458                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4459                   "RANLIB=$${RANLIB}" \
4460                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4461                   clean) \
4462           || exit 1
4463
4464 @endif autoconf
4465
4466 .PHONY: maybe-distclean-autoconf distclean-autoconf
4467 maybe-distclean-autoconf:
4468 @if autoconf
4469 maybe-distclean-autoconf: distclean-autoconf
4470
4471 distclean-autoconf: 
4472         @: $(MAKE); $(unstage)
4473         @[ -f ./autoconf/Makefile ] || exit 0; \
4474         r=`${PWD_COMMAND}`; export r; \
4475         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4476         $(HOST_EXPORTS) \
4477         for flag in $(EXTRA_HOST_FLAGS) ; do \
4478           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4479         done; \
4480         echo "Doing distclean in autoconf" ; \
4481         (cd $(HOST_SUBDIR)/autoconf && \
4482           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4483                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4484                   "RANLIB=$${RANLIB}" \
4485                   "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4486                   distclean) \
4487           || exit 1
4488
4489 @endif autoconf
4490
4491 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
4492 maybe-maintainer-clean-autoconf:
4493 @if autoconf
4494 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
4495
4496 maintainer-clean-autoconf: 
4497         @: $(MAKE); $(unstage)
4498         @[ -f ./autoconf/Makefile ] || exit 0; \
4499         r=`${PWD_COMMAND}`; export r; \
4500         s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4501         $(HOST_EXPORTS) \
4502         for flag in $(EXTRA_HOST_FLAGS) ; do \
4503           eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4504         done; \
4505         echo "Doing maintainer-clean in autoconf" ; \
4506         (cd $(HOST_SUBDIR)/autoconf && \
4507           $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4508                   "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4509                   "RANLIB=$${RANLIB}" \