OSDN Git Service

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