2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
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
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.
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.
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/>.
24 # First, test for a proper version of make, but only where one is required.
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
50 program_transform_name = @program_transform_name@
53 exec_prefix = @exec_prefix@
59 libexecdir = @libexecdir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
68 datarootdir = @datarootdir@
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
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
105 RPATH_ENVVAR = @RPATH_ENVVAR@
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@
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)"
118 # Linker flags to use on the host, for stage1 or when not
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
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
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;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
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;
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)"
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
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.
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 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
223 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
224 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
228 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
230 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
232 POSTSTAGE1_CXX_EXPORT = \
233 CXX='$(CXX)'; export CXX; \
234 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
235 @if target-libstdc++-v3-bootstrap
236 # Override the above if we're bootstrapping C++.
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
239 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
242 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
243 -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
244 -I$$s/libstdc++-v3/libsupc++ \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
248 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
249 @endif target-libstdc++-v3-bootstrap
251 # Similar, for later GCC stages.
252 POSTSTAGE1_HOST_EXPORTS = \
254 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
255 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
256 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
257 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
258 $(POSTSTAGE1_CXX_EXPORT) \
259 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
263 # Target libraries are put under this directory:
264 TARGET_SUBDIR = @target_subdir@
265 # This is set by the configure script to the arguments to use when configuring
266 # directories built for the target.
267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
268 # This is the list of variables to export in the environment when
269 # configuring subdirectories for the target system.
270 BASE_TARGET_EXPORTS = \
272 AR="$(AR_FOR_TARGET)"; export AR; \
273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
279 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
280 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
281 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
282 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
283 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
284 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
285 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
286 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
287 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
289 READELF="$(READELF_FOR_TARGET)"; export READELF; \
290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
299 RAW_CXX_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304 NORMAL_TARGET_EXPORTS = \
305 $(BASE_TARGET_EXPORTS) \
306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
309 HOST_GMPLIBS = @gmplibs@
310 HOST_GMPINC = @gmpinc@
313 HOST_ISLINC = @islinc@
315 # Where to find CLOOG
316 HOST_CLOOGLIBS = @clooglibs@
317 HOST_CLOOGINC = @clooginc@
319 # Where to find libelf
320 HOST_LIBELFLIBS = @libelflibs@
321 HOST_LIBELFINC = @libelfinc@
323 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
325 # ----------------------------------------------
326 # Programs producing files for the BUILD machine
327 # ----------------------------------------------
331 # pwd command to use. Allow user to override default by setting PWDCMD in
332 # the environment to account for automounters. The make variable must not
333 # be called PWDCMD, otherwise the value set here is passed to make
334 # subprocesses and overrides the setting from the user's environment.
335 # Don't use PWD since it is a common shell environment variable and we
336 # don't want to corrupt it.
337 PWD_COMMAND = $${PWDCMD-pwd}
339 # compilers to use to create programs which must be run in the build
341 AR_FOR_BUILD = @AR_FOR_BUILD@
342 AS_FOR_BUILD = @AS_FOR_BUILD@
343 CC_FOR_BUILD = @CC_FOR_BUILD@
344 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
345 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
346 CXX_FOR_BUILD = @CXX_FOR_BUILD@
347 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
348 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
349 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
350 GOC_FOR_BUILD = @GOC_FOR_BUILD@
351 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
352 LD_FOR_BUILD = @LD_FOR_BUILD@
353 NM_FOR_BUILD = @NM_FOR_BUILD@
354 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
355 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
356 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
358 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
359 # here so that they can be overridden by Makefile fragments.
360 BUILD_PREFIX = @BUILD_PREFIX@
361 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
363 # Flags to pass to stage2 and later makes. They are defined
364 # here so that they can be overridden by Makefile fragments.
367 BOOT_ADAFLAGS=-gnatpg -gnata
376 MAKEINFO = @MAKEINFO@
380 # This just becomes part of the MAKEINFO definition passed down to
381 # sub-makes. It lets flags be given on the command line while still
382 # using the makeinfo from the object tree.
383 # (Default to avoid splitting info files by setting the threshold high.)
384 MAKEINFOFLAGS = --split-size=5000000
386 # ---------------------------------------------
387 # Programs producing files for the HOST machine
388 # ---------------------------------------------
406 GNATBIND = @GNATBIND@
407 GNATMAKE = @GNATMAKE@
411 LIBCFLAGS = $(CFLAGS)
412 CXXFLAGS = @CXXFLAGS@
413 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
418 # Defaults for all stages; some are overridden below.
420 STAGE_CFLAGS = $(BOOT_CFLAGS)
421 STAGE_TFLAGS = $(TFLAGS)
422 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
425 # Defaults for stage 1; some are overridden below.
426 STAGE1_CFLAGS = $(STAGE_CFLAGS)
427 STAGE1_CXXFLAGS = $(CXXFLAGS)
428 @if target-libstdc++-v3-bootstrap
429 # Override the above if we're bootstrapping C++.
430 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
431 @endif target-libstdc++-v3-bootstrap
432 STAGE1_TFLAGS = $(STAGE_TFLAGS)
433 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
435 # Defaults for stage 2; some are overridden below.
436 STAGE2_CFLAGS = $(STAGE_CFLAGS)
437 STAGE2_CXXFLAGS = $(CXXFLAGS)
438 @if target-libstdc++-v3-bootstrap
439 # Override the above if we're bootstrapping C++.
440 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
441 @endif target-libstdc++-v3-bootstrap
442 STAGE2_TFLAGS = $(STAGE_TFLAGS)
443 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
445 # Defaults for stage 3; some are overridden below.
446 STAGE3_CFLAGS = $(STAGE_CFLAGS)
447 STAGE3_CXXFLAGS = $(CXXFLAGS)
448 @if target-libstdc++-v3-bootstrap
449 # Override the above if we're bootstrapping C++.
450 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
451 @endif target-libstdc++-v3-bootstrap
452 STAGE3_TFLAGS = $(STAGE_TFLAGS)
453 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
455 # Defaults for stage 4; some are overridden below.
456 STAGE4_CFLAGS = $(STAGE_CFLAGS)
457 STAGE4_CXXFLAGS = $(CXXFLAGS)
458 @if target-libstdc++-v3-bootstrap
459 # Override the above if we're bootstrapping C++.
460 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
461 @endif target-libstdc++-v3-bootstrap
462 STAGE4_TFLAGS = $(STAGE_TFLAGS)
463 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
465 # Defaults for stage profile; some are overridden below.
466 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
467 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
468 @if target-libstdc++-v3-bootstrap
469 # Override the above if we're bootstrapping C++.
470 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
471 @endif target-libstdc++-v3-bootstrap
472 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
473 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
475 # Defaults for stage feedback; some are overridden below.
476 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
477 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
478 @if target-libstdc++-v3-bootstrap
479 # Override the above if we're bootstrapping C++.
480 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
481 @endif target-libstdc++-v3-bootstrap
482 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
483 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
486 # Only build the C compiler for stage1, because that is the only one that
487 # we can guarantee will build with the native compiler, and also it is the
488 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
489 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
490 # overrideable (for a bootstrap build stage1 also builds gcc.info).
492 STAGE1_CFLAGS = @stage1_cflags@
493 STAGE1_CHECKING = @stage1_checking@
494 STAGE1_LANGUAGES = @stage1_languages@
495 # * We force-disable intermodule optimizations, even if
496 # --enable-intermodule was passed, since the installed compiler
497 # probably can't handle them. Luckily, autoconf always respects
498 # the last argument when conflicting --enable arguments are passed.
499 # * Likewise, we force-disable coverage flags, since the installed
500 # compiler probably has never heard of them.
501 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
502 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
504 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
505 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
507 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
508 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
510 do-compare = @do_compare@
511 do-compare3 = $(do-compare)
513 # -----------------------------------------------
514 # Programs producing files for the TARGET machine
515 # -----------------------------------------------
517 AR_FOR_TARGET=@AR_FOR_TARGET@
518 AS_FOR_TARGET=@AS_FOR_TARGET@
519 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
521 # If GCC_FOR_TARGET is not overriden on the command line, then this
522 # variable is passed down to the gcc Makefile, where it is used to
523 # build libgcc2.a. We define it here so that it can itself be
524 # overridden on the command line.
525 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
526 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
527 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
528 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
529 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
530 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
531 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
532 LD_FOR_TARGET=@LD_FOR_TARGET@
534 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
535 NM_FOR_TARGET=@NM_FOR_TARGET@
536 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
537 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
538 READELF_FOR_TARGET=@READELF_FOR_TARGET@
539 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
540 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
541 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
543 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
544 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
545 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
547 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
548 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
550 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
551 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
552 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
553 GOCFLAGS_FOR_TARGET = -O2 -g
555 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
556 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
557 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
559 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
561 # ------------------------------------
562 # Miscellaneous targets and flag lists
563 # ------------------------------------
565 # The first rule in the file had better be this one. Don't put any above it.
566 # This lives here to allow makefile fragments to contain dependencies.
569 #### host and target specific makefile fragments come in here.
570 @target_makefile_frag@
576 # This is the list of directories that may be needed in RPATH_ENVVAR
577 # so that programs built for the target machine work.
578 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
580 @if target-libstdc++-v3
581 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
582 @endif target-libstdc++-v3
584 @if target-libmudflap
585 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
586 @endif target-libmudflap
588 @if target-libsanitizer
589 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
590 @endif target-libsanitizer
593 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
597 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
598 @endif target-libgomp
601 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
605 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
606 @endif target-libatomic
610 # This is the list of directories that may be needed in RPATH_ENVVAR
611 # so that programs built for the host machine work.
612 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf)
614 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
616 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
621 HOST_LIB_PATH_gmp = \
622 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
626 HOST_LIB_PATH_mpfr = \
627 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
631 HOST_LIB_PATH_mpc = \
632 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
636 HOST_LIB_PATH_isl = \
637 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
641 HOST_LIB_PATH_cloog = \
642 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
646 HOST_LIB_PATH_libelf = \
647 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
651 CXX_FOR_TARGET_FLAG_TO_PASS = \
652 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
653 @if target-libstdc++-v3
654 # CXX_FOR_TARGET is tricky to get right for target libs that require a
655 # functional C++ compiler. When we recurse, if we expand
656 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
657 # libstdc++ include flags from the script. Instead, we get an
658 # -funconfigured-* word, so that we'll get errors if this invalid C++
659 # command line is used for anything, but also so that we can use the
660 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
661 # don't pass it on, sub-make will use the default definition, that
662 # re-expands it at the time of use, so we'll get it right when we need
663 # it. One potential exception is the expansion of CXX_FOR_TARGET
664 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
665 # really work, for C++ host programs can't depend on the current-stage
666 # C++ target library.
667 CXX_FOR_TARGET_FLAG_TO_PASS = \
668 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
669 @endif target-libstdc++-v3
671 # Flags to pass down to all sub-makes.
672 BASE_FLAGS_TO_PASS = \
673 "DESTDIR=$(DESTDIR)" \
674 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
675 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
677 "datadir=$(datadir)" \
678 "exec_prefix=$(exec_prefix)" \
679 "includedir=$(includedir)" \
680 "datarootdir=$(datarootdir)" \
682 "infodir=$(infodir)" \
684 "htmldir=$(htmldir)" \
686 "libexecdir=$(libexecdir)" \
687 "lispdir=$(lispdir)" \
688 "localstatedir=$(localstatedir)" \
690 "oldincludedir=$(oldincludedir)" \
692 "sbindir=$(sbindir)" \
693 "sharedstatedir=$(sharedstatedir)" \
694 "sysconfdir=$(sysconfdir)" \
695 "tooldir=$(tooldir)" \
696 "build_tooldir=$(build_tooldir)" \
697 "target_alias=$(target_alias)" \
700 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
701 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
702 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
705 "INSTALL=$(INSTALL)" \
706 "INSTALL_DATA=$(INSTALL_DATA)" \
707 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
708 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
709 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
713 "RUNTEST=$(RUNTEST)" \
714 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
718 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
719 "ADA_CFLAGS=$(ADA_CFLAGS)" \
720 "AR_FLAGS=$(AR_FLAGS)" \
721 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
722 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
723 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
725 "CXXFLAGS=$(CXXFLAGS)" \
726 "LDFLAGS=$(LDFLAGS)" \
727 "LIBCFLAGS=$(LIBCFLAGS)" \
728 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
729 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
730 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
731 "GNATBIND=$(GNATBIND)" \
732 "GNATMAKE=$(GNATMAKE)" \
733 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
734 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
735 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
736 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
737 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
738 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
739 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
740 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
741 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
742 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
743 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
744 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
745 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
746 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
747 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
748 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
749 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
750 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
751 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
752 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
753 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
754 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
755 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
756 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
757 "BUILD_CONFIG=$(BUILD_CONFIG)" \
758 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
760 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
761 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
762 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
763 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
764 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
765 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
766 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
767 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
768 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
769 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
770 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
771 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
772 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
773 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
774 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
775 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
776 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
777 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
778 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
780 "CONFIG_SHELL=$(SHELL)" \
781 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
783 # We leave this in just in case, but it is not needed anymore.
784 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
786 # Flags to pass down to most sub-makes, in which we're building with
787 # the host environment.
793 'DLLTOOL=$(DLLTOOL)' \
795 'GFORTRAN=$(GFORTRAN)' \
800 'OBJDUMP=$(OBJDUMP)' \
802 'READELF=$(READELF)' \
804 'WINDRES=$(WINDRES)' \
807 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
809 # Flags to pass to stage1 or when not bootstrapping.
811 STAGE1_FLAGS_TO_PASS = \
812 LDFLAGS="$${LDFLAGS}" \
813 HOST_LIBS="$${HOST_LIBS}"
815 # Flags to pass to stage2 and later makes.
817 POSTSTAGE1_FLAGS_TO_PASS = \
818 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
819 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
820 GNATBIND="$${GNATBIND}" \
821 LDFLAGS="$${LDFLAGS}" \
822 HOST_LIBS="$${HOST_LIBS}" \
823 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
825 # Flags to pass down to makes which are built with the target environment.
826 # The double $ decreases the length of the command line; those variables
827 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
828 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
829 # so we expand them here.
830 EXTRA_TARGET_FLAGS = \
831 'AR=$$(AR_FOR_TARGET)' \
832 'AS=$(COMPILER_AS_FOR_TARGET)' \
833 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
834 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
835 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
836 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
837 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
838 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
839 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
840 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
841 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
842 'LD=$(COMPILER_LD_FOR_TARGET)' \
843 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
844 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
845 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
846 'NM=$(COMPILER_NM_FOR_TARGET)' \
847 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
848 'RANLIB=$$(RANLIB_FOR_TARGET)' \
849 'READELF=$$(READELF_FOR_TARGET)' \
850 'WINDRES=$$(WINDRES_FOR_TARGET)' \
851 'WINDMC=$$(WINDMC_FOR_TARGET)' \
852 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
855 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
857 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
858 # unfortunately needs the native compiler and the target ar and
860 # If any variables are added here, they must be added to do-*, below.
861 # The BUILD_* variables are a special case, which are used for the gcc
862 # cross-building scheme.
864 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
865 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
866 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
868 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
871 BUILD_CONFIG = @BUILD_CONFIG@
872 ifneq ($(BUILD_CONFIG),)
873 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
877 .PHONY: configure-host
879 maybe-configure-bfd \
880 maybe-configure-opcodes \
881 maybe-configure-binutils \
882 maybe-configure-bison \
883 maybe-configure-cgen \
884 maybe-configure-dejagnu \
885 maybe-configure-etc \
886 maybe-configure-fastjar \
887 maybe-configure-fixincludes \
888 maybe-configure-flex \
889 maybe-configure-gas \
890 maybe-configure-gcc \
891 maybe-configure-gmp \
892 maybe-configure-mpfr \
893 maybe-configure-mpc \
894 maybe-configure-isl \
895 maybe-configure-cloog \
896 maybe-configure-libelf \
897 maybe-configure-gold \
898 maybe-configure-gprof \
899 maybe-configure-intl \
900 maybe-configure-tcl \
901 maybe-configure-itcl \
903 maybe-configure-libbacktrace \
904 maybe-configure-libcpp \
905 maybe-configure-libdecnumber \
906 maybe-configure-libgui \
907 maybe-configure-libiberty \
908 maybe-configure-libiconv \
910 maybe-configure-readline \
911 maybe-configure-sid \
912 maybe-configure-sim \
913 maybe-configure-texinfo \
914 maybe-configure-zlib \
915 maybe-configure-gdb \
916 maybe-configure-expect \
917 maybe-configure-guile \
919 maybe-configure-libtermcap \
920 maybe-configure-utils \
921 maybe-configure-gnattools \
922 maybe-configure-lto-plugin
923 .PHONY: configure-target
925 maybe-configure-target-libstdc++-v3 \
926 maybe-configure-target-libmudflap \
927 maybe-configure-target-libsanitizer \
928 maybe-configure-target-libssp \
929 maybe-configure-target-newlib \
930 maybe-configure-target-libgcc \
931 maybe-configure-target-libbacktrace \
932 maybe-configure-target-libquadmath \
933 maybe-configure-target-libgfortran \
934 maybe-configure-target-libobjc \
935 maybe-configure-target-libgo \
936 maybe-configure-target-libtermcap \
937 maybe-configure-target-winsup \
938 maybe-configure-target-libgloss \
939 maybe-configure-target-libffi \
940 maybe-configure-target-libjava \
941 maybe-configure-target-zlib \
942 maybe-configure-target-boehm-gc \
943 maybe-configure-target-rda \
944 maybe-configure-target-libada \
945 maybe-configure-target-libgomp \
946 maybe-configure-target-libitm \
947 maybe-configure-target-libatomic
949 # The target built for a native non-bootstrap build.
953 [ -f stage_final ] || echo stage3 > stage_final
954 @r=`${PWD_COMMAND}`; export r; \
955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
956 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
958 @: $(MAKE); $(unstage)
959 @r=`${PWD_COMMAND}`; export r; \
960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
962 if [ -f stage_last ]; then \
963 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
964 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
967 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
976 all-build: maybe-all-build-libiberty
977 all-build: maybe-all-build-bison
978 all-build: maybe-all-build-flex
979 all-build: maybe-all-build-m4
980 all-build: maybe-all-build-texinfo
981 all-build: maybe-all-build-fixincludes
986 all-host: maybe-all-bfd
987 @endif bfd-no-bootstrap
988 @if opcodes-no-bootstrap
989 all-host: maybe-all-opcodes
990 @endif opcodes-no-bootstrap
991 @if binutils-no-bootstrap
992 all-host: maybe-all-binutils
993 @endif binutils-no-bootstrap
994 all-host: maybe-all-bison
995 all-host: maybe-all-cgen
996 all-host: maybe-all-dejagnu
997 all-host: maybe-all-etc
998 all-host: maybe-all-fastjar
999 all-host: maybe-all-fixincludes
1000 all-host: maybe-all-flex
1001 @if gas-no-bootstrap
1002 all-host: maybe-all-gas
1003 @endif gas-no-bootstrap
1004 @if gcc-no-bootstrap
1005 all-host: maybe-all-gcc
1006 @endif gcc-no-bootstrap
1007 @if gmp-no-bootstrap
1008 all-host: maybe-all-gmp
1009 @endif gmp-no-bootstrap
1010 @if mpfr-no-bootstrap
1011 all-host: maybe-all-mpfr
1012 @endif mpfr-no-bootstrap
1013 @if mpc-no-bootstrap
1014 all-host: maybe-all-mpc
1015 @endif mpc-no-bootstrap
1016 @if isl-no-bootstrap
1017 all-host: maybe-all-isl
1018 @endif isl-no-bootstrap
1019 @if cloog-no-bootstrap
1020 all-host: maybe-all-cloog
1021 @endif cloog-no-bootstrap
1022 @if libelf-no-bootstrap
1023 all-host: maybe-all-libelf
1024 @endif libelf-no-bootstrap
1025 @if gold-no-bootstrap
1026 all-host: maybe-all-gold
1027 @endif gold-no-bootstrap
1028 all-host: maybe-all-gprof
1029 @if intl-no-bootstrap
1030 all-host: maybe-all-intl
1031 @endif intl-no-bootstrap
1032 all-host: maybe-all-tcl
1033 all-host: maybe-all-itcl
1035 all-host: maybe-all-ld
1036 @endif ld-no-bootstrap
1037 @if libbacktrace-no-bootstrap
1038 all-host: maybe-all-libbacktrace
1039 @endif libbacktrace-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
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 @if target-libsanitizer-no-bootstrap
1077 all-target: maybe-all-target-libsanitizer
1078 @endif target-libsanitizer-no-bootstrap
1079 all-target: maybe-all-target-libssp
1080 all-target: maybe-all-target-newlib
1081 @if target-libgcc-no-bootstrap
1082 all-target: maybe-all-target-libgcc
1083 @endif target-libgcc-no-bootstrap
1084 all-target: maybe-all-target-libbacktrace
1085 all-target: maybe-all-target-libquadmath
1086 all-target: maybe-all-target-libgfortran
1087 all-target: maybe-all-target-libobjc
1088 all-target: maybe-all-target-libgo
1089 all-target: maybe-all-target-libtermcap
1090 all-target: maybe-all-target-winsup
1091 all-target: maybe-all-target-libgloss
1092 all-target: maybe-all-target-libffi
1093 all-target: maybe-all-target-libjava
1094 all-target: maybe-all-target-zlib
1095 all-target: maybe-all-target-boehm-gc
1096 all-target: maybe-all-target-rda
1097 all-target: maybe-all-target-libada
1098 @if target-libgomp-no-bootstrap
1099 all-target: maybe-all-target-libgomp
1100 @endif target-libgomp-no-bootstrap
1101 all-target: maybe-all-target-libitm
1102 all-target: maybe-all-target-libatomic
1104 # Do a target for all the subdirectories. A ``make do-X'' will do a
1105 # ``make X'' in all subdirectories (because, in general, there is a
1106 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1107 # but it may do additional work as well).
1111 @: $(MAKE); $(unstage)
1112 @r=`${PWD_COMMAND}`; export r; \
1113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1114 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1120 info-host: maybe-info-bfd
1121 info-host: maybe-info-opcodes
1122 info-host: maybe-info-binutils
1123 info-host: maybe-info-bison
1124 info-host: maybe-info-cgen
1125 info-host: maybe-info-dejagnu
1126 info-host: maybe-info-etc
1127 info-host: maybe-info-fastjar
1128 info-host: maybe-info-fixincludes
1129 info-host: maybe-info-flex
1130 info-host: maybe-info-gas
1131 info-host: maybe-info-gcc
1132 info-host: maybe-info-gmp
1133 info-host: maybe-info-mpfr
1134 info-host: maybe-info-mpc
1135 info-host: maybe-info-isl
1136 info-host: maybe-info-cloog
1137 info-host: maybe-info-libelf
1138 info-host: maybe-info-gold
1139 info-host: maybe-info-gprof
1140 info-host: maybe-info-intl
1141 info-host: maybe-info-tcl
1142 info-host: maybe-info-itcl
1143 info-host: maybe-info-ld
1144 info-host: maybe-info-libbacktrace
1145 info-host: maybe-info-libcpp
1146 info-host: maybe-info-libdecnumber
1147 info-host: maybe-info-libgui
1148 info-host: maybe-info-libiberty
1149 info-host: maybe-info-libiconv
1150 info-host: maybe-info-m4
1151 info-host: maybe-info-readline
1152 info-host: maybe-info-sid
1153 info-host: maybe-info-sim
1154 info-host: maybe-info-texinfo
1155 info-host: maybe-info-zlib
1156 info-host: maybe-info-gdb
1157 info-host: maybe-info-expect
1158 info-host: maybe-info-guile
1159 info-host: maybe-info-tk
1160 info-host: maybe-info-libtermcap
1161 info-host: maybe-info-utils
1162 info-host: maybe-info-gnattools
1163 info-host: maybe-info-lto-plugin
1167 info-target: maybe-info-target-libstdc++-v3
1168 info-target: maybe-info-target-libmudflap
1169 info-target: maybe-info-target-libsanitizer
1170 info-target: maybe-info-target-libssp
1171 info-target: maybe-info-target-newlib
1172 info-target: maybe-info-target-libgcc
1173 info-target: maybe-info-target-libbacktrace
1174 info-target: maybe-info-target-libquadmath
1175 info-target: maybe-info-target-libgfortran
1176 info-target: maybe-info-target-libobjc
1177 info-target: maybe-info-target-libgo
1178 info-target: maybe-info-target-libtermcap
1179 info-target: maybe-info-target-winsup
1180 info-target: maybe-info-target-libgloss
1181 info-target: maybe-info-target-libffi
1182 info-target: maybe-info-target-libjava
1183 info-target: maybe-info-target-zlib
1184 info-target: maybe-info-target-boehm-gc
1185 info-target: maybe-info-target-rda
1186 info-target: maybe-info-target-libada
1187 info-target: maybe-info-target-libgomp
1188 info-target: maybe-info-target-libitm
1189 info-target: maybe-info-target-libatomic
1193 @: $(MAKE); $(unstage)
1194 @r=`${PWD_COMMAND}`; export r; \
1195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1196 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1202 dvi-host: maybe-dvi-bfd
1203 dvi-host: maybe-dvi-opcodes
1204 dvi-host: maybe-dvi-binutils
1205 dvi-host: maybe-dvi-bison
1206 dvi-host: maybe-dvi-cgen
1207 dvi-host: maybe-dvi-dejagnu
1208 dvi-host: maybe-dvi-etc
1209 dvi-host: maybe-dvi-fastjar
1210 dvi-host: maybe-dvi-fixincludes
1211 dvi-host: maybe-dvi-flex
1212 dvi-host: maybe-dvi-gas
1213 dvi-host: maybe-dvi-gcc
1214 dvi-host: maybe-dvi-gmp
1215 dvi-host: maybe-dvi-mpfr
1216 dvi-host: maybe-dvi-mpc
1217 dvi-host: maybe-dvi-isl
1218 dvi-host: maybe-dvi-cloog
1219 dvi-host: maybe-dvi-libelf
1220 dvi-host: maybe-dvi-gold
1221 dvi-host: maybe-dvi-gprof
1222 dvi-host: maybe-dvi-intl
1223 dvi-host: maybe-dvi-tcl
1224 dvi-host: maybe-dvi-itcl
1225 dvi-host: maybe-dvi-ld
1226 dvi-host: maybe-dvi-libbacktrace
1227 dvi-host: maybe-dvi-libcpp
1228 dvi-host: maybe-dvi-libdecnumber
1229 dvi-host: maybe-dvi-libgui
1230 dvi-host: maybe-dvi-libiberty
1231 dvi-host: maybe-dvi-libiconv
1232 dvi-host: maybe-dvi-m4
1233 dvi-host: maybe-dvi-readline
1234 dvi-host: maybe-dvi-sid
1235 dvi-host: maybe-dvi-sim
1236 dvi-host: maybe-dvi-texinfo
1237 dvi-host: maybe-dvi-zlib
1238 dvi-host: maybe-dvi-gdb
1239 dvi-host: maybe-dvi-expect
1240 dvi-host: maybe-dvi-guile
1241 dvi-host: maybe-dvi-tk
1242 dvi-host: maybe-dvi-libtermcap
1243 dvi-host: maybe-dvi-utils
1244 dvi-host: maybe-dvi-gnattools
1245 dvi-host: maybe-dvi-lto-plugin
1249 dvi-target: maybe-dvi-target-libstdc++-v3
1250 dvi-target: maybe-dvi-target-libmudflap
1251 dvi-target: maybe-dvi-target-libsanitizer
1252 dvi-target: maybe-dvi-target-libssp
1253 dvi-target: maybe-dvi-target-newlib
1254 dvi-target: maybe-dvi-target-libgcc
1255 dvi-target: maybe-dvi-target-libbacktrace
1256 dvi-target: maybe-dvi-target-libquadmath
1257 dvi-target: maybe-dvi-target-libgfortran
1258 dvi-target: maybe-dvi-target-libobjc
1259 dvi-target: maybe-dvi-target-libgo
1260 dvi-target: maybe-dvi-target-libtermcap
1261 dvi-target: maybe-dvi-target-winsup
1262 dvi-target: maybe-dvi-target-libgloss
1263 dvi-target: maybe-dvi-target-libffi
1264 dvi-target: maybe-dvi-target-libjava
1265 dvi-target: maybe-dvi-target-zlib
1266 dvi-target: maybe-dvi-target-boehm-gc
1267 dvi-target: maybe-dvi-target-rda
1268 dvi-target: maybe-dvi-target-libada
1269 dvi-target: maybe-dvi-target-libgomp
1270 dvi-target: maybe-dvi-target-libitm
1271 dvi-target: maybe-dvi-target-libatomic
1275 @: $(MAKE); $(unstage)
1276 @r=`${PWD_COMMAND}`; export r; \
1277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1284 pdf-host: maybe-pdf-bfd
1285 pdf-host: maybe-pdf-opcodes
1286 pdf-host: maybe-pdf-binutils
1287 pdf-host: maybe-pdf-bison
1288 pdf-host: maybe-pdf-cgen
1289 pdf-host: maybe-pdf-dejagnu
1290 pdf-host: maybe-pdf-etc
1291 pdf-host: maybe-pdf-fastjar
1292 pdf-host: maybe-pdf-fixincludes
1293 pdf-host: maybe-pdf-flex
1294 pdf-host: maybe-pdf-gas
1295 pdf-host: maybe-pdf-gcc
1296 pdf-host: maybe-pdf-gmp
1297 pdf-host: maybe-pdf-mpfr
1298 pdf-host: maybe-pdf-mpc
1299 pdf-host: maybe-pdf-isl
1300 pdf-host: maybe-pdf-cloog
1301 pdf-host: maybe-pdf-libelf
1302 pdf-host: maybe-pdf-gold
1303 pdf-host: maybe-pdf-gprof
1304 pdf-host: maybe-pdf-intl
1305 pdf-host: maybe-pdf-tcl
1306 pdf-host: maybe-pdf-itcl
1307 pdf-host: maybe-pdf-ld
1308 pdf-host: maybe-pdf-libbacktrace
1309 pdf-host: maybe-pdf-libcpp
1310 pdf-host: maybe-pdf-libdecnumber
1311 pdf-host: maybe-pdf-libgui
1312 pdf-host: maybe-pdf-libiberty
1313 pdf-host: maybe-pdf-libiconv
1314 pdf-host: maybe-pdf-m4
1315 pdf-host: maybe-pdf-readline
1316 pdf-host: maybe-pdf-sid
1317 pdf-host: maybe-pdf-sim
1318 pdf-host: maybe-pdf-texinfo
1319 pdf-host: maybe-pdf-zlib
1320 pdf-host: maybe-pdf-gdb
1321 pdf-host: maybe-pdf-expect
1322 pdf-host: maybe-pdf-guile
1323 pdf-host: maybe-pdf-tk
1324 pdf-host: maybe-pdf-libtermcap
1325 pdf-host: maybe-pdf-utils
1326 pdf-host: maybe-pdf-gnattools
1327 pdf-host: maybe-pdf-lto-plugin
1331 pdf-target: maybe-pdf-target-libstdc++-v3
1332 pdf-target: maybe-pdf-target-libmudflap
1333 pdf-target: maybe-pdf-target-libsanitizer
1334 pdf-target: maybe-pdf-target-libssp
1335 pdf-target: maybe-pdf-target-newlib
1336 pdf-target: maybe-pdf-target-libgcc
1337 pdf-target: maybe-pdf-target-libbacktrace
1338 pdf-target: maybe-pdf-target-libquadmath
1339 pdf-target: maybe-pdf-target-libgfortran
1340 pdf-target: maybe-pdf-target-libobjc
1341 pdf-target: maybe-pdf-target-libgo
1342 pdf-target: maybe-pdf-target-libtermcap
1343 pdf-target: maybe-pdf-target-winsup
1344 pdf-target: maybe-pdf-target-libgloss
1345 pdf-target: maybe-pdf-target-libffi
1346 pdf-target: maybe-pdf-target-libjava
1347 pdf-target: maybe-pdf-target-zlib
1348 pdf-target: maybe-pdf-target-boehm-gc
1349 pdf-target: maybe-pdf-target-rda
1350 pdf-target: maybe-pdf-target-libada
1351 pdf-target: maybe-pdf-target-libgomp
1352 pdf-target: maybe-pdf-target-libitm
1353 pdf-target: maybe-pdf-target-libatomic
1357 @: $(MAKE); $(unstage)
1358 @r=`${PWD_COMMAND}`; export r; \
1359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1360 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1366 html-host: maybe-html-bfd
1367 html-host: maybe-html-opcodes
1368 html-host: maybe-html-binutils
1369 html-host: maybe-html-bison
1370 html-host: maybe-html-cgen
1371 html-host: maybe-html-dejagnu
1372 html-host: maybe-html-etc
1373 html-host: maybe-html-fastjar
1374 html-host: maybe-html-fixincludes
1375 html-host: maybe-html-flex
1376 html-host: maybe-html-gas
1377 html-host: maybe-html-gcc
1378 html-host: maybe-html-gmp
1379 html-host: maybe-html-mpfr
1380 html-host: maybe-html-mpc
1381 html-host: maybe-html-isl
1382 html-host: maybe-html-cloog
1383 html-host: maybe-html-libelf
1384 html-host: maybe-html-gold
1385 html-host: maybe-html-gprof
1386 html-host: maybe-html-intl
1387 html-host: maybe-html-tcl
1388 html-host: maybe-html-itcl
1389 html-host: maybe-html-ld
1390 html-host: maybe-html-libbacktrace
1391 html-host: maybe-html-libcpp
1392 html-host: maybe-html-libdecnumber
1393 html-host: maybe-html-libgui
1394 html-host: maybe-html-libiberty
1395 html-host: maybe-html-libiconv
1396 html-host: maybe-html-m4
1397 html-host: maybe-html-readline
1398 html-host: maybe-html-sid
1399 html-host: maybe-html-sim
1400 html-host: maybe-html-texinfo
1401 html-host: maybe-html-zlib
1402 html-host: maybe-html-gdb
1403 html-host: maybe-html-expect
1404 html-host: maybe-html-guile
1405 html-host: maybe-html-tk
1406 html-host: maybe-html-libtermcap
1407 html-host: maybe-html-utils
1408 html-host: maybe-html-gnattools
1409 html-host: maybe-html-lto-plugin
1413 html-target: maybe-html-target-libstdc++-v3
1414 html-target: maybe-html-target-libmudflap
1415 html-target: maybe-html-target-libsanitizer
1416 html-target: maybe-html-target-libssp
1417 html-target: maybe-html-target-newlib
1418 html-target: maybe-html-target-libgcc
1419 html-target: maybe-html-target-libbacktrace
1420 html-target: maybe-html-target-libquadmath
1421 html-target: maybe-html-target-libgfortran
1422 html-target: maybe-html-target-libobjc
1423 html-target: maybe-html-target-libgo
1424 html-target: maybe-html-target-libtermcap
1425 html-target: maybe-html-target-winsup
1426 html-target: maybe-html-target-libgloss
1427 html-target: maybe-html-target-libffi
1428 html-target: maybe-html-target-libjava
1429 html-target: maybe-html-target-zlib
1430 html-target: maybe-html-target-boehm-gc
1431 html-target: maybe-html-target-rda
1432 html-target: maybe-html-target-libada
1433 html-target: maybe-html-target-libgomp
1434 html-target: maybe-html-target-libitm
1435 html-target: maybe-html-target-libatomic
1439 @: $(MAKE); $(unstage)
1440 @r=`${PWD_COMMAND}`; export r; \
1441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1442 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1448 TAGS-host: maybe-TAGS-bfd
1449 TAGS-host: maybe-TAGS-opcodes
1450 TAGS-host: maybe-TAGS-binutils
1451 TAGS-host: maybe-TAGS-bison
1452 TAGS-host: maybe-TAGS-cgen
1453 TAGS-host: maybe-TAGS-dejagnu
1454 TAGS-host: maybe-TAGS-etc
1455 TAGS-host: maybe-TAGS-fastjar
1456 TAGS-host: maybe-TAGS-fixincludes
1457 TAGS-host: maybe-TAGS-flex
1458 TAGS-host: maybe-TAGS-gas
1459 TAGS-host: maybe-TAGS-gcc
1460 TAGS-host: maybe-TAGS-gmp
1461 TAGS-host: maybe-TAGS-mpfr
1462 TAGS-host: maybe-TAGS-mpc
1463 TAGS-host: maybe-TAGS-isl
1464 TAGS-host: maybe-TAGS-cloog
1465 TAGS-host: maybe-TAGS-libelf
1466 TAGS-host: maybe-TAGS-gold
1467 TAGS-host: maybe-TAGS-gprof
1468 TAGS-host: maybe-TAGS-intl
1469 TAGS-host: maybe-TAGS-tcl
1470 TAGS-host: maybe-TAGS-itcl
1471 TAGS-host: maybe-TAGS-ld
1472 TAGS-host: maybe-TAGS-libbacktrace
1473 TAGS-host: maybe-TAGS-libcpp
1474 TAGS-host: maybe-TAGS-libdecnumber
1475 TAGS-host: maybe-TAGS-libgui
1476 TAGS-host: maybe-TAGS-libiberty
1477 TAGS-host: maybe-TAGS-libiconv
1478 TAGS-host: maybe-TAGS-m4
1479 TAGS-host: maybe-TAGS-readline
1480 TAGS-host: maybe-TAGS-sid
1481 TAGS-host: maybe-TAGS-sim
1482 TAGS-host: maybe-TAGS-texinfo
1483 TAGS-host: maybe-TAGS-zlib
1484 TAGS-host: maybe-TAGS-gdb
1485 TAGS-host: maybe-TAGS-expect
1486 TAGS-host: maybe-TAGS-guile
1487 TAGS-host: maybe-TAGS-tk
1488 TAGS-host: maybe-TAGS-libtermcap
1489 TAGS-host: maybe-TAGS-utils
1490 TAGS-host: maybe-TAGS-gnattools
1491 TAGS-host: maybe-TAGS-lto-plugin
1495 TAGS-target: maybe-TAGS-target-libstdc++-v3
1496 TAGS-target: maybe-TAGS-target-libmudflap
1497 TAGS-target: maybe-TAGS-target-libsanitizer
1498 TAGS-target: maybe-TAGS-target-libssp
1499 TAGS-target: maybe-TAGS-target-newlib
1500 TAGS-target: maybe-TAGS-target-libgcc
1501 TAGS-target: maybe-TAGS-target-libbacktrace
1502 TAGS-target: maybe-TAGS-target-libquadmath
1503 TAGS-target: maybe-TAGS-target-libgfortran
1504 TAGS-target: maybe-TAGS-target-libobjc
1505 TAGS-target: maybe-TAGS-target-libgo
1506 TAGS-target: maybe-TAGS-target-libtermcap
1507 TAGS-target: maybe-TAGS-target-winsup
1508 TAGS-target: maybe-TAGS-target-libgloss
1509 TAGS-target: maybe-TAGS-target-libffi
1510 TAGS-target: maybe-TAGS-target-libjava
1511 TAGS-target: maybe-TAGS-target-zlib
1512 TAGS-target: maybe-TAGS-target-boehm-gc
1513 TAGS-target: maybe-TAGS-target-rda
1514 TAGS-target: maybe-TAGS-target-libada
1515 TAGS-target: maybe-TAGS-target-libgomp
1516 TAGS-target: maybe-TAGS-target-libitm
1517 TAGS-target: maybe-TAGS-target-libatomic
1519 .PHONY: do-install-info
1521 @: $(MAKE); $(unstage)
1522 @r=`${PWD_COMMAND}`; export r; \
1523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1524 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1528 .PHONY: install-info-host
1530 install-info-host: maybe-install-info-bfd
1531 install-info-host: maybe-install-info-opcodes
1532 install-info-host: maybe-install-info-binutils
1533 install-info-host: maybe-install-info-bison
1534 install-info-host: maybe-install-info-cgen
1535 install-info-host: maybe-install-info-dejagnu
1536 install-info-host: maybe-install-info-etc
1537 install-info-host: maybe-install-info-fastjar
1538 install-info-host: maybe-install-info-fixincludes
1539 install-info-host: maybe-install-info-flex
1540 install-info-host: maybe-install-info-gas
1541 install-info-host: maybe-install-info-gcc
1542 install-info-host: maybe-install-info-gmp
1543 install-info-host: maybe-install-info-mpfr
1544 install-info-host: maybe-install-info-mpc
1545 install-info-host: maybe-install-info-isl
1546 install-info-host: maybe-install-info-cloog
1547 install-info-host: maybe-install-info-libelf
1548 install-info-host: maybe-install-info-gold
1549 install-info-host: maybe-install-info-gprof
1550 install-info-host: maybe-install-info-intl
1551 install-info-host: maybe-install-info-tcl
1552 install-info-host: maybe-install-info-itcl
1553 install-info-host: maybe-install-info-ld
1554 install-info-host: maybe-install-info-libbacktrace
1555 install-info-host: maybe-install-info-libcpp
1556 install-info-host: maybe-install-info-libdecnumber
1557 install-info-host: maybe-install-info-libgui
1558 install-info-host: maybe-install-info-libiberty
1559 install-info-host: maybe-install-info-libiconv
1560 install-info-host: maybe-install-info-m4
1561 install-info-host: maybe-install-info-readline
1562 install-info-host: maybe-install-info-sid
1563 install-info-host: maybe-install-info-sim
1564 install-info-host: maybe-install-info-texinfo
1565 install-info-host: maybe-install-info-zlib
1566 install-info-host: maybe-install-info-gdb
1567 install-info-host: maybe-install-info-expect
1568 install-info-host: maybe-install-info-guile
1569 install-info-host: maybe-install-info-tk
1570 install-info-host: maybe-install-info-libtermcap
1571 install-info-host: maybe-install-info-utils
1572 install-info-host: maybe-install-info-gnattools
1573 install-info-host: maybe-install-info-lto-plugin
1575 .PHONY: install-info-target
1577 install-info-target: maybe-install-info-target-libstdc++-v3
1578 install-info-target: maybe-install-info-target-libmudflap
1579 install-info-target: maybe-install-info-target-libsanitizer
1580 install-info-target: maybe-install-info-target-libssp
1581 install-info-target: maybe-install-info-target-newlib
1582 install-info-target: maybe-install-info-target-libgcc
1583 install-info-target: maybe-install-info-target-libbacktrace
1584 install-info-target: maybe-install-info-target-libquadmath
1585 install-info-target: maybe-install-info-target-libgfortran
1586 install-info-target: maybe-install-info-target-libobjc
1587 install-info-target: maybe-install-info-target-libgo
1588 install-info-target: maybe-install-info-target-libtermcap
1589 install-info-target: maybe-install-info-target-winsup
1590 install-info-target: maybe-install-info-target-libgloss
1591 install-info-target: maybe-install-info-target-libffi
1592 install-info-target: maybe-install-info-target-libjava
1593 install-info-target: maybe-install-info-target-zlib
1594 install-info-target: maybe-install-info-target-boehm-gc
1595 install-info-target: maybe-install-info-target-rda
1596 install-info-target: maybe-install-info-target-libada
1597 install-info-target: maybe-install-info-target-libgomp
1598 install-info-target: maybe-install-info-target-libitm
1599 install-info-target: maybe-install-info-target-libatomic
1601 .PHONY: do-install-pdf
1603 @: $(MAKE); $(unstage)
1604 @r=`${PWD_COMMAND}`; export r; \
1605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1606 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1610 .PHONY: install-pdf-host
1612 install-pdf-host: maybe-install-pdf-bfd
1613 install-pdf-host: maybe-install-pdf-opcodes
1614 install-pdf-host: maybe-install-pdf-binutils
1615 install-pdf-host: maybe-install-pdf-bison
1616 install-pdf-host: maybe-install-pdf-cgen
1617 install-pdf-host: maybe-install-pdf-dejagnu
1618 install-pdf-host: maybe-install-pdf-etc
1619 install-pdf-host: maybe-install-pdf-fastjar
1620 install-pdf-host: maybe-install-pdf-fixincludes
1621 install-pdf-host: maybe-install-pdf-flex
1622 install-pdf-host: maybe-install-pdf-gas
1623 install-pdf-host: maybe-install-pdf-gcc
1624 install-pdf-host: maybe-install-pdf-gmp
1625 install-pdf-host: maybe-install-pdf-mpfr
1626 install-pdf-host: maybe-install-pdf-mpc
1627 install-pdf-host: maybe-install-pdf-isl
1628 install-pdf-host: maybe-install-pdf-cloog
1629 install-pdf-host: maybe-install-pdf-libelf
1630 install-pdf-host: maybe-install-pdf-gold
1631 install-pdf-host: maybe-install-pdf-gprof
1632 install-pdf-host: maybe-install-pdf-intl
1633 install-pdf-host: maybe-install-pdf-tcl
1634 install-pdf-host: maybe-install-pdf-itcl
1635 install-pdf-host: maybe-install-pdf-ld
1636 install-pdf-host: maybe-install-pdf-libbacktrace
1637 install-pdf-host: maybe-install-pdf-libcpp
1638 install-pdf-host: maybe-install-pdf-libdecnumber
1639 install-pdf-host: maybe-install-pdf-libgui
1640 install-pdf-host: maybe-install-pdf-libiberty
1641 install-pdf-host: maybe-install-pdf-libiconv
1642 install-pdf-host: maybe-install-pdf-m4
1643 install-pdf-host: maybe-install-pdf-readline
1644 install-pdf-host: maybe-install-pdf-sid
1645 install-pdf-host: maybe-install-pdf-sim
1646 install-pdf-host: maybe-install-pdf-texinfo
1647 install-pdf-host: maybe-install-pdf-zlib
1648 install-pdf-host: maybe-install-pdf-gdb
1649 install-pdf-host: maybe-install-pdf-expect
1650 install-pdf-host: maybe-install-pdf-guile
1651 install-pdf-host: maybe-install-pdf-tk
1652 install-pdf-host: maybe-install-pdf-libtermcap
1653 install-pdf-host: maybe-install-pdf-utils
1654 install-pdf-host: maybe-install-pdf-gnattools
1655 install-pdf-host: maybe-install-pdf-lto-plugin
1657 .PHONY: install-pdf-target
1659 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1660 install-pdf-target: maybe-install-pdf-target-libmudflap
1661 install-pdf-target: maybe-install-pdf-target-libsanitizer
1662 install-pdf-target: maybe-install-pdf-target-libssp
1663 install-pdf-target: maybe-install-pdf-target-newlib
1664 install-pdf-target: maybe-install-pdf-target-libgcc
1665 install-pdf-target: maybe-install-pdf-target-libbacktrace
1666 install-pdf-target: maybe-install-pdf-target-libquadmath
1667 install-pdf-target: maybe-install-pdf-target-libgfortran
1668 install-pdf-target: maybe-install-pdf-target-libobjc
1669 install-pdf-target: maybe-install-pdf-target-libgo
1670 install-pdf-target: maybe-install-pdf-target-libtermcap
1671 install-pdf-target: maybe-install-pdf-target-winsup
1672 install-pdf-target: maybe-install-pdf-target-libgloss
1673 install-pdf-target: maybe-install-pdf-target-libffi
1674 install-pdf-target: maybe-install-pdf-target-libjava
1675 install-pdf-target: maybe-install-pdf-target-zlib
1676 install-pdf-target: maybe-install-pdf-target-boehm-gc
1677 install-pdf-target: maybe-install-pdf-target-rda
1678 install-pdf-target: maybe-install-pdf-target-libada
1679 install-pdf-target: maybe-install-pdf-target-libgomp
1680 install-pdf-target: maybe-install-pdf-target-libitm
1681 install-pdf-target: maybe-install-pdf-target-libatomic
1683 .PHONY: do-install-html
1685 @: $(MAKE); $(unstage)
1686 @r=`${PWD_COMMAND}`; export r; \
1687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1688 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1692 .PHONY: install-html-host
1694 install-html-host: maybe-install-html-bfd
1695 install-html-host: maybe-install-html-opcodes
1696 install-html-host: maybe-install-html-binutils
1697 install-html-host: maybe-install-html-bison
1698 install-html-host: maybe-install-html-cgen
1699 install-html-host: maybe-install-html-dejagnu
1700 install-html-host: maybe-install-html-etc
1701 install-html-host: maybe-install-html-fastjar
1702 install-html-host: maybe-install-html-fixincludes
1703 install-html-host: maybe-install-html-flex
1704 install-html-host: maybe-install-html-gas
1705 install-html-host: maybe-install-html-gcc
1706 install-html-host: maybe-install-html-gmp
1707 install-html-host: maybe-install-html-mpfr
1708 install-html-host: maybe-install-html-mpc
1709 install-html-host: maybe-install-html-isl
1710 install-html-host: maybe-install-html-cloog
1711 install-html-host: maybe-install-html-libelf
1712 install-html-host: maybe-install-html-gold
1713 install-html-host: maybe-install-html-gprof
1714 install-html-host: maybe-install-html-intl
1715 install-html-host: maybe-install-html-tcl
1716 install-html-host: maybe-install-html-itcl
1717 install-html-host: maybe-install-html-ld
1718 install-html-host: maybe-install-html-libbacktrace
1719 install-html-host: maybe-install-html-libcpp
1720 install-html-host: maybe-install-html-libdecnumber
1721 install-html-host: maybe-install-html-libgui
1722 install-html-host: maybe-install-html-libiberty
1723 install-html-host: maybe-install-html-libiconv
1724 install-html-host: maybe-install-html-m4
1725 install-html-host: maybe-install-html-readline
1726 install-html-host: maybe-install-html-sid
1727 install-html-host: maybe-install-html-sim
1728 install-html-host: maybe-install-html-texinfo
1729 install-html-host: maybe-install-html-zlib
1730 install-html-host: maybe-install-html-gdb
1731 install-html-host: maybe-install-html-expect
1732 install-html-host: maybe-install-html-guile
1733 install-html-host: maybe-install-html-tk
1734 install-html-host: maybe-install-html-libtermcap
1735 install-html-host: maybe-install-html-utils
1736 install-html-host: maybe-install-html-gnattools
1737 install-html-host: maybe-install-html-lto-plugin
1739 .PHONY: install-html-target
1741 install-html-target: maybe-install-html-target-libstdc++-v3
1742 install-html-target: maybe-install-html-target-libmudflap
1743 install-html-target: maybe-install-html-target-libsanitizer
1744 install-html-target: maybe-install-html-target-libssp
1745 install-html-target: maybe-install-html-target-newlib
1746 install-html-target: maybe-install-html-target-libgcc
1747 install-html-target: maybe-install-html-target-libbacktrace
1748 install-html-target: maybe-install-html-target-libquadmath
1749 install-html-target: maybe-install-html-target-libgfortran
1750 install-html-target: maybe-install-html-target-libobjc
1751 install-html-target: maybe-install-html-target-libgo
1752 install-html-target: maybe-install-html-target-libtermcap
1753 install-html-target: maybe-install-html-target-winsup
1754 install-html-target: maybe-install-html-target-libgloss
1755 install-html-target: maybe-install-html-target-libffi
1756 install-html-target: maybe-install-html-target-libjava
1757 install-html-target: maybe-install-html-target-zlib
1758 install-html-target: maybe-install-html-target-boehm-gc
1759 install-html-target: maybe-install-html-target-rda
1760 install-html-target: maybe-install-html-target-libada
1761 install-html-target: maybe-install-html-target-libgomp
1762 install-html-target: maybe-install-html-target-libitm
1763 install-html-target: maybe-install-html-target-libatomic
1765 .PHONY: do-installcheck
1767 @: $(MAKE); $(unstage)
1768 @r=`${PWD_COMMAND}`; export r; \
1769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1770 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1774 .PHONY: installcheck-host
1776 installcheck-host: maybe-installcheck-bfd
1777 installcheck-host: maybe-installcheck-opcodes
1778 installcheck-host: maybe-installcheck-binutils
1779 installcheck-host: maybe-installcheck-bison
1780 installcheck-host: maybe-installcheck-cgen
1781 installcheck-host: maybe-installcheck-dejagnu
1782 installcheck-host: maybe-installcheck-etc
1783 installcheck-host: maybe-installcheck-fastjar
1784 installcheck-host: maybe-installcheck-fixincludes
1785 installcheck-host: maybe-installcheck-flex
1786 installcheck-host: maybe-installcheck-gas
1787 installcheck-host: maybe-installcheck-gcc
1788 installcheck-host: maybe-installcheck-gmp
1789 installcheck-host: maybe-installcheck-mpfr
1790 installcheck-host: maybe-installcheck-mpc
1791 installcheck-host: maybe-installcheck-isl
1792 installcheck-host: maybe-installcheck-cloog
1793 installcheck-host: maybe-installcheck-libelf
1794 installcheck-host: maybe-installcheck-gold
1795 installcheck-host: maybe-installcheck-gprof
1796 installcheck-host: maybe-installcheck-intl
1797 installcheck-host: maybe-installcheck-tcl
1798 installcheck-host: maybe-installcheck-itcl
1799 installcheck-host: maybe-installcheck-ld
1800 installcheck-host: maybe-installcheck-libbacktrace
1801 installcheck-host: maybe-installcheck-libcpp
1802 installcheck-host: maybe-installcheck-libdecnumber
1803 installcheck-host: maybe-installcheck-libgui
1804 installcheck-host: maybe-installcheck-libiberty
1805 installcheck-host: maybe-installcheck-libiconv
1806 installcheck-host: maybe-installcheck-m4
1807 installcheck-host: maybe-installcheck-readline
1808 installcheck-host: maybe-installcheck-sid
1809 installcheck-host: maybe-installcheck-sim
1810 installcheck-host: maybe-installcheck-texinfo
1811 installcheck-host: maybe-installcheck-zlib
1812 installcheck-host: maybe-installcheck-gdb
1813 installcheck-host: maybe-installcheck-expect
1814 installcheck-host: maybe-installcheck-guile
1815 installcheck-host: maybe-installcheck-tk
1816 installcheck-host: maybe-installcheck-libtermcap
1817 installcheck-host: maybe-installcheck-utils
1818 installcheck-host: maybe-installcheck-gnattools
1819 installcheck-host: maybe-installcheck-lto-plugin
1821 .PHONY: installcheck-target
1823 installcheck-target: maybe-installcheck-target-libstdc++-v3
1824 installcheck-target: maybe-installcheck-target-libmudflap
1825 installcheck-target: maybe-installcheck-target-libsanitizer
1826 installcheck-target: maybe-installcheck-target-libssp
1827 installcheck-target: maybe-installcheck-target-newlib
1828 installcheck-target: maybe-installcheck-target-libgcc
1829 installcheck-target: maybe-installcheck-target-libbacktrace
1830 installcheck-target: maybe-installcheck-target-libquadmath
1831 installcheck-target: maybe-installcheck-target-libgfortran
1832 installcheck-target: maybe-installcheck-target-libobjc
1833 installcheck-target: maybe-installcheck-target-libgo
1834 installcheck-target: maybe-installcheck-target-libtermcap
1835 installcheck-target: maybe-installcheck-target-winsup
1836 installcheck-target: maybe-installcheck-target-libgloss
1837 installcheck-target: maybe-installcheck-target-libffi
1838 installcheck-target: maybe-installcheck-target-libjava
1839 installcheck-target: maybe-installcheck-target-zlib
1840 installcheck-target: maybe-installcheck-target-boehm-gc
1841 installcheck-target: maybe-installcheck-target-rda
1842 installcheck-target: maybe-installcheck-target-libada
1843 installcheck-target: maybe-installcheck-target-libgomp
1844 installcheck-target: maybe-installcheck-target-libitm
1845 installcheck-target: maybe-installcheck-target-libatomic
1847 .PHONY: do-mostlyclean
1849 @: $(MAKE); $(unstage)
1850 @r=`${PWD_COMMAND}`; export r; \
1851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1852 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1856 .PHONY: mostlyclean-host
1858 mostlyclean-host: maybe-mostlyclean-bfd
1859 mostlyclean-host: maybe-mostlyclean-opcodes
1860 mostlyclean-host: maybe-mostlyclean-binutils
1861 mostlyclean-host: maybe-mostlyclean-bison
1862 mostlyclean-host: maybe-mostlyclean-cgen
1863 mostlyclean-host: maybe-mostlyclean-dejagnu
1864 mostlyclean-host: maybe-mostlyclean-etc
1865 mostlyclean-host: maybe-mostlyclean-fastjar
1866 mostlyclean-host: maybe-mostlyclean-fixincludes
1867 mostlyclean-host: maybe-mostlyclean-flex
1868 mostlyclean-host: maybe-mostlyclean-gas
1869 mostlyclean-host: maybe-mostlyclean-gcc
1870 mostlyclean-host: maybe-mostlyclean-gmp
1871 mostlyclean-host: maybe-mostlyclean-mpfr
1872 mostlyclean-host: maybe-mostlyclean-mpc
1873 mostlyclean-host: maybe-mostlyclean-isl
1874 mostlyclean-host: maybe-mostlyclean-cloog
1875 mostlyclean-host: maybe-mostlyclean-libelf
1876 mostlyclean-host: maybe-mostlyclean-gold
1877 mostlyclean-host: maybe-mostlyclean-gprof
1878 mostlyclean-host: maybe-mostlyclean-intl
1879 mostlyclean-host: maybe-mostlyclean-tcl
1880 mostlyclean-host: maybe-mostlyclean-itcl
1881 mostlyclean-host: maybe-mostlyclean-ld
1882 mostlyclean-host: maybe-mostlyclean-libbacktrace
1883 mostlyclean-host: maybe-mostlyclean-libcpp
1884 mostlyclean-host: maybe-mostlyclean-libdecnumber
1885 mostlyclean-host: maybe-mostlyclean-libgui
1886 mostlyclean-host: maybe-mostlyclean-libiberty
1887 mostlyclean-host: maybe-mostlyclean-libiconv
1888 mostlyclean-host: maybe-mostlyclean-m4
1889 mostlyclean-host: maybe-mostlyclean-readline
1890 mostlyclean-host: maybe-mostlyclean-sid
1891 mostlyclean-host: maybe-mostlyclean-sim
1892 mostlyclean-host: maybe-mostlyclean-texinfo
1893 mostlyclean-host: maybe-mostlyclean-zlib
1894 mostlyclean-host: maybe-mostlyclean-gdb
1895 mostlyclean-host: maybe-mostlyclean-expect
1896 mostlyclean-host: maybe-mostlyclean-guile
1897 mostlyclean-host: maybe-mostlyclean-tk
1898 mostlyclean-host: maybe-mostlyclean-libtermcap
1899 mostlyclean-host: maybe-mostlyclean-utils
1900 mostlyclean-host: maybe-mostlyclean-gnattools
1901 mostlyclean-host: maybe-mostlyclean-lto-plugin
1903 .PHONY: mostlyclean-target
1905 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1906 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1907 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1908 mostlyclean-target: maybe-mostlyclean-target-libssp
1909 mostlyclean-target: maybe-mostlyclean-target-newlib
1910 mostlyclean-target: maybe-mostlyclean-target-libgcc
1911 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1912 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1913 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1914 mostlyclean-target: maybe-mostlyclean-target-libobjc
1915 mostlyclean-target: maybe-mostlyclean-target-libgo
1916 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1917 mostlyclean-target: maybe-mostlyclean-target-winsup
1918 mostlyclean-target: maybe-mostlyclean-target-libgloss
1919 mostlyclean-target: maybe-mostlyclean-target-libffi
1920 mostlyclean-target: maybe-mostlyclean-target-libjava
1921 mostlyclean-target: maybe-mostlyclean-target-zlib
1922 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1923 mostlyclean-target: maybe-mostlyclean-target-rda
1924 mostlyclean-target: maybe-mostlyclean-target-libada
1925 mostlyclean-target: maybe-mostlyclean-target-libgomp
1926 mostlyclean-target: maybe-mostlyclean-target-libitm
1927 mostlyclean-target: maybe-mostlyclean-target-libatomic
1931 @: $(MAKE); $(unstage)
1932 @r=`${PWD_COMMAND}`; export r; \
1933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1934 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1940 clean-host: maybe-clean-bfd
1941 clean-host: maybe-clean-opcodes
1942 clean-host: maybe-clean-binutils
1943 clean-host: maybe-clean-bison
1944 clean-host: maybe-clean-cgen
1945 clean-host: maybe-clean-dejagnu
1946 clean-host: maybe-clean-etc
1947 clean-host: maybe-clean-fastjar
1948 clean-host: maybe-clean-fixincludes
1949 clean-host: maybe-clean-flex
1950 clean-host: maybe-clean-gas
1951 clean-host: maybe-clean-gcc
1952 clean-host: maybe-clean-gmp
1953 clean-host: maybe-clean-mpfr
1954 clean-host: maybe-clean-mpc
1955 clean-host: maybe-clean-isl
1956 clean-host: maybe-clean-cloog
1957 clean-host: maybe-clean-libelf
1958 clean-host: maybe-clean-gold
1959 clean-host: maybe-clean-gprof
1960 clean-host: maybe-clean-intl
1961 clean-host: maybe-clean-tcl
1962 clean-host: maybe-clean-itcl
1963 clean-host: maybe-clean-ld
1964 clean-host: maybe-clean-libbacktrace
1965 clean-host: maybe-clean-libcpp
1966 clean-host: maybe-clean-libdecnumber
1967 clean-host: maybe-clean-libgui
1968 clean-host: maybe-clean-libiberty
1969 clean-host: maybe-clean-libiconv
1970 clean-host: maybe-clean-m4
1971 clean-host: maybe-clean-readline
1972 clean-host: maybe-clean-sid
1973 clean-host: maybe-clean-sim
1974 clean-host: maybe-clean-texinfo
1975 clean-host: maybe-clean-zlib
1976 clean-host: maybe-clean-gdb
1977 clean-host: maybe-clean-expect
1978 clean-host: maybe-clean-guile
1979 clean-host: maybe-clean-tk
1980 clean-host: maybe-clean-libtermcap
1981 clean-host: maybe-clean-utils
1982 clean-host: maybe-clean-gnattools
1983 clean-host: maybe-clean-lto-plugin
1985 .PHONY: clean-target
1987 clean-target: maybe-clean-target-libstdc++-v3
1988 clean-target: maybe-clean-target-libmudflap
1989 clean-target: maybe-clean-target-libsanitizer
1990 clean-target: maybe-clean-target-libssp
1991 clean-target: maybe-clean-target-newlib
1992 clean-target: maybe-clean-target-libgcc
1993 clean-target: maybe-clean-target-libbacktrace
1994 clean-target: maybe-clean-target-libquadmath
1995 clean-target: maybe-clean-target-libgfortran
1996 clean-target: maybe-clean-target-libobjc
1997 clean-target: maybe-clean-target-libgo
1998 clean-target: maybe-clean-target-libtermcap
1999 clean-target: maybe-clean-target-winsup
2000 clean-target: maybe-clean-target-libgloss
2001 clean-target: maybe-clean-target-libffi
2002 clean-target: maybe-clean-target-libjava
2003 clean-target: maybe-clean-target-zlib
2004 clean-target: maybe-clean-target-boehm-gc
2005 clean-target: maybe-clean-target-rda
2006 clean-target: maybe-clean-target-libada
2007 clean-target: maybe-clean-target-libgomp
2008 clean-target: maybe-clean-target-libitm
2009 clean-target: maybe-clean-target-libatomic
2011 .PHONY: do-distclean
2013 @: $(MAKE); $(unstage)
2014 @r=`${PWD_COMMAND}`; export r; \
2015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2016 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2020 .PHONY: distclean-host
2022 distclean-host: maybe-distclean-bfd
2023 distclean-host: maybe-distclean-opcodes
2024 distclean-host: maybe-distclean-binutils
2025 distclean-host: maybe-distclean-bison
2026 distclean-host: maybe-distclean-cgen
2027 distclean-host: maybe-distclean-dejagnu
2028 distclean-host: maybe-distclean-etc
2029 distclean-host: maybe-distclean-fastjar
2030 distclean-host: maybe-distclean-fixincludes
2031 distclean-host: maybe-distclean-flex
2032 distclean-host: maybe-distclean-gas
2033 distclean-host: maybe-distclean-gcc
2034 distclean-host: maybe-distclean-gmp
2035 distclean-host: maybe-distclean-mpfr
2036 distclean-host: maybe-distclean-mpc
2037 distclean-host: maybe-distclean-isl
2038 distclean-host: maybe-distclean-cloog
2039 distclean-host: maybe-distclean-libelf
2040 distclean-host: maybe-distclean-gold
2041 distclean-host: maybe-distclean-gprof
2042 distclean-host: maybe-distclean-intl
2043 distclean-host: maybe-distclean-tcl
2044 distclean-host: maybe-distclean-itcl
2045 distclean-host: maybe-distclean-ld
2046 distclean-host: maybe-distclean-libbacktrace
2047 distclean-host: maybe-distclean-libcpp
2048 distclean-host: maybe-distclean-libdecnumber
2049 distclean-host: maybe-distclean-libgui
2050 distclean-host: maybe-distclean-libiberty
2051 distclean-host: maybe-distclean-libiconv
2052 distclean-host: maybe-distclean-m4
2053 distclean-host: maybe-distclean-readline
2054 distclean-host: maybe-distclean-sid
2055 distclean-host: maybe-distclean-sim
2056 distclean-host: maybe-distclean-texinfo
2057 distclean-host: maybe-distclean-zlib
2058 distclean-host: maybe-distclean-gdb
2059 distclean-host: maybe-distclean-expect
2060 distclean-host: maybe-distclean-guile
2061 distclean-host: maybe-distclean-tk
2062 distclean-host: maybe-distclean-libtermcap
2063 distclean-host: maybe-distclean-utils
2064 distclean-host: maybe-distclean-gnattools
2065 distclean-host: maybe-distclean-lto-plugin
2067 .PHONY: distclean-target
2069 distclean-target: maybe-distclean-target-libstdc++-v3
2070 distclean-target: maybe-distclean-target-libmudflap
2071 distclean-target: maybe-distclean-target-libsanitizer
2072 distclean-target: maybe-distclean-target-libssp
2073 distclean-target: maybe-distclean-target-newlib
2074 distclean-target: maybe-distclean-target-libgcc
2075 distclean-target: maybe-distclean-target-libbacktrace
2076 distclean-target: maybe-distclean-target-libquadmath
2077 distclean-target: maybe-distclean-target-libgfortran
2078 distclean-target: maybe-distclean-target-libobjc
2079 distclean-target: maybe-distclean-target-libgo
2080 distclean-target: maybe-distclean-target-libtermcap
2081 distclean-target: maybe-distclean-target-winsup
2082 distclean-target: maybe-distclean-target-libgloss
2083 distclean-target: maybe-distclean-target-libffi
2084 distclean-target: maybe-distclean-target-libjava
2085 distclean-target: maybe-distclean-target-zlib
2086 distclean-target: maybe-distclean-target-boehm-gc
2087 distclean-target: maybe-distclean-target-rda
2088 distclean-target: maybe-distclean-target-libada
2089 distclean-target: maybe-distclean-target-libgomp
2090 distclean-target: maybe-distclean-target-libitm
2091 distclean-target: maybe-distclean-target-libatomic
2093 .PHONY: do-maintainer-clean
2094 do-maintainer-clean:
2095 @: $(MAKE); $(unstage)
2096 @r=`${PWD_COMMAND}`; export r; \
2097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2098 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2099 maintainer-clean-target
2102 .PHONY: maintainer-clean-host
2104 maintainer-clean-host: maybe-maintainer-clean-bfd
2105 maintainer-clean-host: maybe-maintainer-clean-opcodes
2106 maintainer-clean-host: maybe-maintainer-clean-binutils
2107 maintainer-clean-host: maybe-maintainer-clean-bison
2108 maintainer-clean-host: maybe-maintainer-clean-cgen
2109 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2110 maintainer-clean-host: maybe-maintainer-clean-etc
2111 maintainer-clean-host: maybe-maintainer-clean-fastjar
2112 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2113 maintainer-clean-host: maybe-maintainer-clean-flex
2114 maintainer-clean-host: maybe-maintainer-clean-gas
2115 maintainer-clean-host: maybe-maintainer-clean-gcc
2116 maintainer-clean-host: maybe-maintainer-clean-gmp
2117 maintainer-clean-host: maybe-maintainer-clean-mpfr
2118 maintainer-clean-host: maybe-maintainer-clean-mpc
2119 maintainer-clean-host: maybe-maintainer-clean-isl
2120 maintainer-clean-host: maybe-maintainer-clean-cloog
2121 maintainer-clean-host: maybe-maintainer-clean-libelf
2122 maintainer-clean-host: maybe-maintainer-clean-gold
2123 maintainer-clean-host: maybe-maintainer-clean-gprof
2124 maintainer-clean-host: maybe-maintainer-clean-intl
2125 maintainer-clean-host: maybe-maintainer-clean-tcl
2126 maintainer-clean-host: maybe-maintainer-clean-itcl
2127 maintainer-clean-host: maybe-maintainer-clean-ld
2128 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2129 maintainer-clean-host: maybe-maintainer-clean-libcpp
2130 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2131 maintainer-clean-host: maybe-maintainer-clean-libgui
2132 maintainer-clean-host: maybe-maintainer-clean-libiberty
2133 maintainer-clean-host: maybe-maintainer-clean-libiconv
2134 maintainer-clean-host: maybe-maintainer-clean-m4
2135 maintainer-clean-host: maybe-maintainer-clean-readline
2136 maintainer-clean-host: maybe-maintainer-clean-sid
2137 maintainer-clean-host: maybe-maintainer-clean-sim
2138 maintainer-clean-host: maybe-maintainer-clean-texinfo
2139 maintainer-clean-host: maybe-maintainer-clean-zlib
2140 maintainer-clean-host: maybe-maintainer-clean-gdb
2141 maintainer-clean-host: maybe-maintainer-clean-expect
2142 maintainer-clean-host: maybe-maintainer-clean-guile
2143 maintainer-clean-host: maybe-maintainer-clean-tk
2144 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2145 maintainer-clean-host: maybe-maintainer-clean-utils
2146 maintainer-clean-host: maybe-maintainer-clean-gnattools
2147 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2149 .PHONY: maintainer-clean-target
2151 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2152 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2153 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2154 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2155 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2156 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2157 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2158 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2159 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2160 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2161 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2162 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2163 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2164 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2165 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2166 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2167 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2168 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2169 maintainer-clean-target: maybe-maintainer-clean-target-rda
2170 maintainer-clean-target: maybe-maintainer-clean-target-libada
2171 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2172 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2173 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2176 # Here are the targets which correspond to the do-X targets.
2178 .PHONY: info installcheck dvi pdf html
2179 .PHONY: install-info install-pdf install-html
2180 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2181 .PHONY: local-clean local-distclean local-maintainer-clean
2183 installcheck: do-installcheck
2188 # Make sure makeinfo is built before we do a `make info', if we're
2189 # in fact building texinfo.
2190 do-info: maybe-all-texinfo
2192 install-info: do-install-info dir.info
2193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2194 if [ -f dir.info ] ; then \
2195 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2198 install-pdf: do-install-pdf
2200 install-html: do-install-html
2203 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2206 -rm -f Makefile config.status config.cache mh-frag mt-frag
2207 -rm -f maybedep.tmp serdep.tmp
2208 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2209 rm -rf $(TARGET_SUBDIR); \
2211 -rm -rf $(BUILD_SUBDIR)
2212 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2213 rm -rf $(HOST_SUBDIR); \
2215 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2216 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2217 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2218 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2219 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2220 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2222 local-maintainer-clean:
2223 @echo "This command is intended for maintainers to use;"
2224 @echo "it deletes files that may require special tools to rebuild."
2226 clean: do-clean local-clean
2227 mostlyclean: do-mostlyclean local-clean
2228 distclean: do-distclean local-clean local-distclean
2229 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2230 maintainer-clean: local-distclean
2231 realclean: maintainer-clean
2235 .PHONY: check do-check
2238 # Only include modules actually being configured and built.
2242 maybe-check-opcodes \
2243 maybe-check-binutils \
2246 maybe-check-dejagnu \
2248 maybe-check-fastjar \
2249 maybe-check-fixincludes \
2258 maybe-check-libelf \
2265 maybe-check-libbacktrace \
2266 maybe-check-libcpp \
2267 maybe-check-libdecnumber \
2268 maybe-check-libgui \
2269 maybe-check-libiberty \
2270 maybe-check-libiconv \
2272 maybe-check-readline \
2275 maybe-check-texinfo \
2278 maybe-check-expect \
2281 maybe-check-libtermcap \
2283 maybe-check-gnattools \
2284 maybe-check-lto-plugin
2286 .PHONY: check-target
2288 maybe-check-target-libstdc++-v3 \
2289 maybe-check-target-libmudflap \
2290 maybe-check-target-libsanitizer \
2291 maybe-check-target-libssp \
2292 maybe-check-target-newlib \
2293 maybe-check-target-libgcc \
2294 maybe-check-target-libbacktrace \
2295 maybe-check-target-libquadmath \
2296 maybe-check-target-libgfortran \
2297 maybe-check-target-libobjc \
2298 maybe-check-target-libgo \
2299 maybe-check-target-libtermcap \
2300 maybe-check-target-winsup \
2301 maybe-check-target-libgloss \
2302 maybe-check-target-libffi \
2303 maybe-check-target-libjava \
2304 maybe-check-target-zlib \
2305 maybe-check-target-boehm-gc \
2306 maybe-check-target-rda \
2307 maybe-check-target-libada \
2308 maybe-check-target-libgomp \
2309 maybe-check-target-libitm \
2310 maybe-check-target-libatomic
2313 @: $(MAKE); $(unstage)
2314 @r=`${PWD_COMMAND}`; export r; \
2315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2316 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2318 # Automated reporting of test results.
2320 warning.log: build.log
2321 $(srcdir)/contrib/warn_summary build.log > $@
2324 if test x'$(BOOT_CFLAGS)' != x''; then \
2325 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2327 $(srcdir)/contrib/test_summary -t >$@
2329 echo If you really want to send e-mail, run ./$@ now
2331 mail-report-with-warnings.log: warning.log
2332 if test x'$(BOOT_CFLAGS)' != x''; then \
2333 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2335 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2337 echo If you really want to send e-mail, run ./$@ now
2339 # Installation targets.
2341 .PHONY: install uninstall
2343 @: $(MAKE); $(unstage)
2344 @r=`${PWD_COMMAND}`; export r; \
2345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2346 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2348 .PHONY: install-host-nogcc
2349 install-host-nogcc: \
2351 maybe-install-opcodes \
2352 maybe-install-binutils \
2353 maybe-install-bison \
2354 maybe-install-cgen \
2355 maybe-install-dejagnu \
2357 maybe-install-fastjar \
2358 maybe-install-fixincludes \
2359 maybe-install-flex \
2362 maybe-install-mpfr \
2365 maybe-install-cloog \
2366 maybe-install-libelf \
2367 maybe-install-gold \
2368 maybe-install-gprof \
2369 maybe-install-intl \
2371 maybe-install-itcl \
2373 maybe-install-libbacktrace \
2374 maybe-install-libcpp \
2375 maybe-install-libdecnumber \
2376 maybe-install-libgui \
2377 maybe-install-libiberty \
2378 maybe-install-libiconv \
2380 maybe-install-readline \
2383 maybe-install-texinfo \
2384 maybe-install-zlib \
2386 maybe-install-expect \
2387 maybe-install-guile \
2389 maybe-install-libtermcap \
2390 maybe-install-utils \
2391 maybe-install-gnattools \
2392 maybe-install-lto-plugin
2394 .PHONY: install-host
2397 maybe-install-opcodes \
2398 maybe-install-binutils \
2399 maybe-install-bison \
2400 maybe-install-cgen \
2401 maybe-install-dejagnu \
2403 maybe-install-fastjar \
2404 maybe-install-fixincludes \
2405 maybe-install-flex \
2409 maybe-install-mpfr \
2412 maybe-install-cloog \
2413 maybe-install-libelf \
2414 maybe-install-gold \
2415 maybe-install-gprof \
2416 maybe-install-intl \
2418 maybe-install-itcl \
2420 maybe-install-libbacktrace \
2421 maybe-install-libcpp \
2422 maybe-install-libdecnumber \
2423 maybe-install-libgui \
2424 maybe-install-libiberty \
2425 maybe-install-libiconv \
2427 maybe-install-readline \
2430 maybe-install-texinfo \
2431 maybe-install-zlib \
2433 maybe-install-expect \
2434 maybe-install-guile \
2436 maybe-install-libtermcap \
2437 maybe-install-utils \
2438 maybe-install-gnattools \
2439 maybe-install-lto-plugin
2441 .PHONY: install-target
2443 maybe-install-target-libstdc++-v3 \
2444 maybe-install-target-libmudflap \
2445 maybe-install-target-libsanitizer \
2446 maybe-install-target-libssp \
2447 maybe-install-target-newlib \
2448 maybe-install-target-libgcc \
2449 maybe-install-target-libbacktrace \
2450 maybe-install-target-libquadmath \
2451 maybe-install-target-libgfortran \
2452 maybe-install-target-libobjc \
2453 maybe-install-target-libgo \
2454 maybe-install-target-libtermcap \
2455 maybe-install-target-winsup \
2456 maybe-install-target-libgloss \
2457 maybe-install-target-libffi \
2458 maybe-install-target-libjava \
2459 maybe-install-target-zlib \
2460 maybe-install-target-boehm-gc \
2461 maybe-install-target-rda \
2462 maybe-install-target-libada \
2463 maybe-install-target-libgomp \
2464 maybe-install-target-libitm \
2465 maybe-install-target-libatomic
2468 @echo "the uninstall target is not supported in this tree"
2471 install.all: install-no-fixedincludes
2472 @if [ -f ./gcc/Makefile ] ; then \
2473 r=`${PWD_COMMAND}` ; export r ; \
2474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2477 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2482 # install-no-fixedincludes is used to allow the elaboration of binary packages
2483 # suitable for distribution, where we cannot include the fixed system header
2485 .PHONY: install-no-fixedincludes
2486 install-no-fixedincludes: installdirs install-host-nogcc \
2487 install-target gcc-install-no-fixedincludes
2489 .PHONY: install-strip
2491 @: $(MAKE); $(unstage)
2492 @r=`${PWD_COMMAND}`; export r; \
2493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2494 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2496 .PHONY: install-strip-host
2497 install-strip-host: \
2498 maybe-install-strip-bfd \
2499 maybe-install-strip-opcodes \
2500 maybe-install-strip-binutils \
2501 maybe-install-strip-bison \
2502 maybe-install-strip-cgen \
2503 maybe-install-strip-dejagnu \
2504 maybe-install-strip-etc \
2505 maybe-install-strip-fastjar \
2506 maybe-install-strip-fixincludes \
2507 maybe-install-strip-flex \
2508 maybe-install-strip-gas \
2509 maybe-install-strip-gcc \
2510 maybe-install-strip-gmp \
2511 maybe-install-strip-mpfr \
2512 maybe-install-strip-mpc \
2513 maybe-install-strip-isl \
2514 maybe-install-strip-cloog \
2515 maybe-install-strip-libelf \
2516 maybe-install-strip-gold \
2517 maybe-install-strip-gprof \
2518 maybe-install-strip-intl \
2519 maybe-install-strip-tcl \
2520 maybe-install-strip-itcl \
2521 maybe-install-strip-ld \
2522 maybe-install-strip-libbacktrace \
2523 maybe-install-strip-libcpp \
2524 maybe-install-strip-libdecnumber \
2525 maybe-install-strip-libgui \
2526 maybe-install-strip-libiberty \
2527 maybe-install-strip-libiconv \
2528 maybe-install-strip-m4 \
2529 maybe-install-strip-readline \
2530 maybe-install-strip-sid \
2531 maybe-install-strip-sim \
2532 maybe-install-strip-texinfo \
2533 maybe-install-strip-zlib \
2534 maybe-install-strip-gdb \
2535 maybe-install-strip-expect \
2536 maybe-install-strip-guile \
2537 maybe-install-strip-tk \
2538 maybe-install-strip-libtermcap \
2539 maybe-install-strip-utils \
2540 maybe-install-strip-gnattools \
2541 maybe-install-strip-lto-plugin
2543 .PHONY: install-strip-target
2544 install-strip-target: \
2545 maybe-install-strip-target-libstdc++-v3 \
2546 maybe-install-strip-target-libmudflap \
2547 maybe-install-strip-target-libsanitizer \
2548 maybe-install-strip-target-libssp \
2549 maybe-install-strip-target-newlib \
2550 maybe-install-strip-target-libgcc \
2551 maybe-install-strip-target-libbacktrace \
2552 maybe-install-strip-target-libquadmath \
2553 maybe-install-strip-target-libgfortran \
2554 maybe-install-strip-target-libobjc \
2555 maybe-install-strip-target-libgo \
2556 maybe-install-strip-target-libtermcap \
2557 maybe-install-strip-target-winsup \
2558 maybe-install-strip-target-libgloss \
2559 maybe-install-strip-target-libffi \
2560 maybe-install-strip-target-libjava \
2561 maybe-install-strip-target-zlib \
2562 maybe-install-strip-target-boehm-gc \
2563 maybe-install-strip-target-rda \
2564 maybe-install-strip-target-libada \
2565 maybe-install-strip-target-libgomp \
2566 maybe-install-strip-target-libitm \
2567 maybe-install-strip-target-libatomic
2570 ### other supporting targets
2573 $(DESTDIR)$(prefix) \
2574 $(DESTDIR)$(exec_prefix)
2576 installdirs: mkinstalldirs
2577 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2579 dir.info: do-install-info
2580 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2581 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2582 mv -f dir.info.new dir.info ; \
2587 @echo "Building a full distribution of this tree isn't done"
2588 @echo "via 'make dist'. Check out the etc/ subdirectory"
2592 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2593 # ability to use several tags files at once, so there is probably no need
2594 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2595 # (if we felt like it) have this Makefile write a piece of elisp which
2596 # the user could load to tell emacs19 where all the TAGS files we just
2600 # ------------------------------------
2601 # Macros for configure and all targets
2602 # ------------------------------------
2608 # --------------------------------------
2609 # Modules which run on the build machine
2610 # --------------------------------------
2613 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2614 maybe-configure-build-libiberty:
2616 configure-build-libiberty: stage_current
2617 @endif gcc-bootstrap
2619 maybe-configure-build-libiberty: configure-build-libiberty
2620 configure-build-libiberty:
2621 @: $(MAKE); $(unstage)
2622 @r=`${PWD_COMMAND}`; export r; \
2623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2624 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2625 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2627 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2628 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2631 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2634 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2635 libsrcdir="$$s/libiberty"; \
2636 rm -f no-such-file || : ; \
2637 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2638 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2639 --target=${target_alias} $${srcdiroption} \
2641 @endif build-libiberty
2647 .PHONY: all-build-libiberty maybe-all-build-libiberty
2648 maybe-all-build-libiberty:
2650 all-build-libiberty: stage_current
2651 @endif gcc-bootstrap
2653 TARGET-build-libiberty=all
2654 maybe-all-build-libiberty: all-build-libiberty
2655 all-build-libiberty: configure-build-libiberty
2656 @: $(MAKE); $(unstage)
2657 @r=`${PWD_COMMAND}`; export r; \
2658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2660 (cd $(BUILD_SUBDIR)/libiberty && \
2661 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2662 $(TARGET-build-libiberty))
2663 @endif build-libiberty
2669 .PHONY: configure-build-bison maybe-configure-build-bison
2670 maybe-configure-build-bison:
2672 configure-build-bison: stage_current
2673 @endif gcc-bootstrap
2675 maybe-configure-build-bison: configure-build-bison
2676 configure-build-bison:
2677 @: $(MAKE); $(unstage)
2678 @r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2681 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2683 echo Configuring in $(BUILD_SUBDIR)/bison; \
2684 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2687 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2690 srcdiroption="--srcdir=$${topdir}/bison"; \
2691 libsrcdir="$$s/bison"; \
2692 rm -f no-such-file || : ; \
2693 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2694 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2695 --target=${target_alias} $${srcdiroption} \
2703 .PHONY: all-build-bison maybe-all-build-bison
2704 maybe-all-build-bison:
2706 all-build-bison: stage_current
2707 @endif gcc-bootstrap
2709 TARGET-build-bison=all
2710 maybe-all-build-bison: all-build-bison
2711 all-build-bison: configure-build-bison
2712 @: $(MAKE); $(unstage)
2713 @r=`${PWD_COMMAND}`; export r; \
2714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2716 (cd $(BUILD_SUBDIR)/bison && \
2717 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2718 $(TARGET-build-bison))
2725 .PHONY: configure-build-flex maybe-configure-build-flex
2726 maybe-configure-build-flex:
2728 configure-build-flex: stage_current
2729 @endif gcc-bootstrap
2731 maybe-configure-build-flex: configure-build-flex
2732 configure-build-flex:
2733 @: $(MAKE); $(unstage)
2734 @r=`${PWD_COMMAND}`; export r; \
2735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2736 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2737 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2739 echo Configuring in $(BUILD_SUBDIR)/flex; \
2740 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2743 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2746 srcdiroption="--srcdir=$${topdir}/flex"; \
2747 libsrcdir="$$s/flex"; \
2748 rm -f no-such-file || : ; \
2749 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2750 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2751 --target=${target_alias} $${srcdiroption} \
2759 .PHONY: all-build-flex maybe-all-build-flex
2760 maybe-all-build-flex:
2762 all-build-flex: stage_current
2763 @endif gcc-bootstrap
2765 TARGET-build-flex=all
2766 maybe-all-build-flex: all-build-flex
2767 all-build-flex: configure-build-flex
2768 @: $(MAKE); $(unstage)
2769 @r=`${PWD_COMMAND}`; export r; \
2770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2772 (cd $(BUILD_SUBDIR)/flex && \
2773 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2774 $(TARGET-build-flex))
2781 .PHONY: configure-build-m4 maybe-configure-build-m4
2782 maybe-configure-build-m4:
2784 configure-build-m4: stage_current
2785 @endif gcc-bootstrap
2787 maybe-configure-build-m4: configure-build-m4
2789 @: $(MAKE); $(unstage)
2790 @r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2792 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2793 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2795 echo Configuring in $(BUILD_SUBDIR)/m4; \
2796 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2799 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2802 srcdiroption="--srcdir=$${topdir}/m4"; \
2803 libsrcdir="$$s/m4"; \
2804 rm -f no-such-file || : ; \
2805 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2806 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2807 --target=${target_alias} $${srcdiroption} \
2815 .PHONY: all-build-m4 maybe-all-build-m4
2818 all-build-m4: stage_current
2819 @endif gcc-bootstrap
2822 maybe-all-build-m4: all-build-m4
2823 all-build-m4: configure-build-m4
2824 @: $(MAKE); $(unstage)
2825 @r=`${PWD_COMMAND}`; export r; \
2826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2828 (cd $(BUILD_SUBDIR)/m4 && \
2829 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2837 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2838 maybe-configure-build-texinfo:
2840 configure-build-texinfo: stage_current
2841 @endif gcc-bootstrap
2843 maybe-configure-build-texinfo: configure-build-texinfo
2844 configure-build-texinfo:
2845 @: $(MAKE); $(unstage)
2846 @r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2848 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2849 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2851 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2852 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2855 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2858 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2859 libsrcdir="$$s/texinfo"; \
2860 rm -f no-such-file || : ; \
2861 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2862 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2863 --target=${target_alias} $${srcdiroption} \
2865 @endif build-texinfo
2871 .PHONY: all-build-texinfo maybe-all-build-texinfo
2872 maybe-all-build-texinfo:
2874 all-build-texinfo: stage_current
2875 @endif gcc-bootstrap
2877 TARGET-build-texinfo=all
2878 maybe-all-build-texinfo: all-build-texinfo
2879 all-build-texinfo: configure-build-texinfo
2880 @: $(MAKE); $(unstage)
2881 @r=`${PWD_COMMAND}`; export r; \
2882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2884 (cd $(BUILD_SUBDIR)/texinfo && \
2885 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2886 $(TARGET-build-texinfo))
2887 @endif build-texinfo
2893 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2894 maybe-configure-build-fixincludes:
2896 configure-build-fixincludes: stage_current
2897 @endif gcc-bootstrap
2898 @if build-fixincludes
2899 maybe-configure-build-fixincludes: configure-build-fixincludes
2900 configure-build-fixincludes:
2901 @: $(MAKE); $(unstage)
2902 @r=`${PWD_COMMAND}`; export r; \
2903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2904 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2905 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2907 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2908 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2911 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2914 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2915 libsrcdir="$$s/fixincludes"; \
2916 rm -f no-such-file || : ; \
2917 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2918 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2919 --target=${target_alias} $${srcdiroption} \
2921 @endif build-fixincludes
2927 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2928 maybe-all-build-fixincludes:
2930 all-build-fixincludes: stage_current
2931 @endif gcc-bootstrap
2932 @if build-fixincludes
2933 TARGET-build-fixincludes=all
2934 maybe-all-build-fixincludes: all-build-fixincludes
2935 all-build-fixincludes: configure-build-fixincludes
2936 @: $(MAKE); $(unstage)
2937 @r=`${PWD_COMMAND}`; export r; \
2938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2940 (cd $(BUILD_SUBDIR)/fixincludes && \
2941 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2942 $(TARGET-build-fixincludes))
2943 @endif build-fixincludes
2949 # --------------------------------------
2950 # Modules which run on the host machine
2951 # --------------------------------------
2954 .PHONY: configure-bfd maybe-configure-bfd
2955 maybe-configure-bfd:
2957 configure-bfd: stage_current
2958 @endif gcc-bootstrap
2960 maybe-configure-bfd: configure-bfd
2962 @r=`${PWD_COMMAND}`; export r; \
2963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2964 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2967 echo Configuring in $(HOST_SUBDIR)/bfd; \
2968 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2971 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2974 srcdiroption="--srcdir=$${topdir}/bfd"; \
2975 libsrcdir="$$s/bfd"; \
2976 $(SHELL) $${libsrcdir}/configure \
2977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2978 --target=${target_alias} $${srcdiroption} \
2984 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2985 maybe-configure-stage1-bfd:
2987 maybe-configure-stage1-bfd: configure-stage1-bfd
2988 configure-stage1-bfd:
2989 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2991 @r=`${PWD_COMMAND}`; export r; \
2992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2993 TFLAGS="$(STAGE1_TFLAGS)"; \
2994 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2996 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2997 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2998 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2999 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3001 cd $(HOST_SUBDIR)/bfd || exit 1; \
3003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3004 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3007 srcdiroption="--srcdir=$${topdir}/bfd"; \
3008 libsrcdir="$$s/bfd"; \
3009 $(SHELL) $${libsrcdir}/configure \
3010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3011 --target=${target_alias} $${srcdiroption} \
3012 $(STAGE1_CONFIGURE_FLAGS)
3013 @endif bfd-bootstrap
3015 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3016 maybe-configure-stage2-bfd:
3018 maybe-configure-stage2-bfd: configure-stage2-bfd
3019 configure-stage2-bfd:
3020 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3022 @r=`${PWD_COMMAND}`; export r; \
3023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3024 TFLAGS="$(STAGE2_TFLAGS)"; \
3025 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3027 $(POSTSTAGE1_HOST_EXPORTS) \
3028 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3029 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3030 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3031 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3033 cd $(HOST_SUBDIR)/bfd || exit 1; \
3035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3036 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3039 srcdiroption="--srcdir=$${topdir}/bfd"; \
3040 libsrcdir="$$s/bfd"; \
3041 $(SHELL) $${libsrcdir}/configure \
3042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3043 --target=${target_alias} $${srcdiroption} \
3044 --with-build-libsubdir=$(HOST_SUBDIR) \
3045 $(STAGE2_CONFIGURE_FLAGS)
3046 @endif bfd-bootstrap
3048 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3049 maybe-configure-stage3-bfd:
3051 maybe-configure-stage3-bfd: configure-stage3-bfd
3052 configure-stage3-bfd:
3053 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3054 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3055 @r=`${PWD_COMMAND}`; export r; \
3056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3057 TFLAGS="$(STAGE3_TFLAGS)"; \
3058 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3060 $(POSTSTAGE1_HOST_EXPORTS) \
3061 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3062 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3063 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3064 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3066 cd $(HOST_SUBDIR)/bfd || exit 1; \
3068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3069 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3072 srcdiroption="--srcdir=$${topdir}/bfd"; \
3073 libsrcdir="$$s/bfd"; \
3074 $(SHELL) $${libsrcdir}/configure \
3075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3076 --target=${target_alias} $${srcdiroption} \
3077 --with-build-libsubdir=$(HOST_SUBDIR) \
3078 $(STAGE3_CONFIGURE_FLAGS)
3079 @endif bfd-bootstrap
3081 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3082 maybe-configure-stage4-bfd:
3084 maybe-configure-stage4-bfd: configure-stage4-bfd
3085 configure-stage4-bfd:
3086 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3088 @r=`${PWD_COMMAND}`; export r; \
3089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3090 TFLAGS="$(STAGE4_TFLAGS)"; \
3091 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3093 $(POSTSTAGE1_HOST_EXPORTS) \
3094 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3095 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3096 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3097 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3099 cd $(HOST_SUBDIR)/bfd || exit 1; \
3101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3102 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3105 srcdiroption="--srcdir=$${topdir}/bfd"; \
3106 libsrcdir="$$s/bfd"; \
3107 $(SHELL) $${libsrcdir}/configure \
3108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3109 --target=${target_alias} $${srcdiroption} \
3110 --with-build-libsubdir=$(HOST_SUBDIR) \
3111 $(STAGE4_CONFIGURE_FLAGS)
3112 @endif bfd-bootstrap
3114 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3115 maybe-configure-stageprofile-bfd:
3117 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3118 configure-stageprofile-bfd:
3119 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3120 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3121 @r=`${PWD_COMMAND}`; export r; \
3122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3123 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3124 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3126 $(POSTSTAGE1_HOST_EXPORTS) \
3127 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3128 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3129 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3130 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3132 cd $(HOST_SUBDIR)/bfd || exit 1; \
3134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3135 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3138 srcdiroption="--srcdir=$${topdir}/bfd"; \
3139 libsrcdir="$$s/bfd"; \
3140 $(SHELL) $${libsrcdir}/configure \
3141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3142 --target=${target_alias} $${srcdiroption} \
3143 --with-build-libsubdir=$(HOST_SUBDIR) \
3144 $(STAGEprofile_CONFIGURE_FLAGS)
3145 @endif bfd-bootstrap
3147 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3148 maybe-configure-stagefeedback-bfd:
3150 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3151 configure-stagefeedback-bfd:
3152 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3154 @r=`${PWD_COMMAND}`; export r; \
3155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3156 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3157 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3159 $(POSTSTAGE1_HOST_EXPORTS) \
3160 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3161 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3162 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3163 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3165 cd $(HOST_SUBDIR)/bfd || exit 1; \
3167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3168 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3171 srcdiroption="--srcdir=$${topdir}/bfd"; \
3172 libsrcdir="$$s/bfd"; \
3173 $(SHELL) $${libsrcdir}/configure \
3174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3175 --target=${target_alias} $${srcdiroption} \
3176 --with-build-libsubdir=$(HOST_SUBDIR) \
3177 $(STAGEfeedback_CONFIGURE_FLAGS)
3178 @endif bfd-bootstrap
3184 .PHONY: all-bfd maybe-all-bfd
3187 all-bfd: stage_current
3188 @endif gcc-bootstrap
3191 maybe-all-bfd: all-bfd
3192 all-bfd: configure-bfd
3193 @r=`${PWD_COMMAND}`; export r; \
3194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3196 (cd $(HOST_SUBDIR)/bfd && \
3197 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3203 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3204 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3205 maybe-all-stage1-bfd:
3206 maybe-clean-stage1-bfd:
3208 maybe-all-stage1-bfd: all-stage1-bfd
3209 all-stage1: all-stage1-bfd
3210 TARGET-stage1-bfd = $(TARGET-bfd)
3211 all-stage1-bfd: configure-stage1-bfd
3212 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3213 @r=`${PWD_COMMAND}`; export r; \
3214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3215 TFLAGS="$(STAGE1_TFLAGS)"; \
3217 cd $(HOST_SUBDIR)/bfd && \
3218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3219 CFLAGS="$(STAGE1_CFLAGS)" \
3220 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3221 LIBCFLAGS="$(LIBCFLAGS)" \
3222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3225 $(EXTRA_HOST_FLAGS) \
3226 $(STAGE1_FLAGS_TO_PASS) \
3227 TFLAGS="$(STAGE1_TFLAGS)" \
3228 $(TARGET-stage1-bfd)
3230 maybe-clean-stage1-bfd: clean-stage1-bfd
3231 clean-stage1: clean-stage1-bfd
3233 @if [ $(current_stage) = stage1 ]; then \
3234 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3236 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3237 $(MAKE) stage1-start; \
3239 cd $(HOST_SUBDIR)/bfd && \
3240 $(MAKE) $(EXTRA_HOST_FLAGS) \
3241 $(STAGE1_FLAGS_TO_PASS) clean
3242 @endif bfd-bootstrap
3245 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3246 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3247 maybe-all-stage2-bfd:
3248 maybe-clean-stage2-bfd:
3250 maybe-all-stage2-bfd: all-stage2-bfd
3251 all-stage2: all-stage2-bfd
3252 TARGET-stage2-bfd = $(TARGET-bfd)
3253 all-stage2-bfd: configure-stage2-bfd
3254 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3255 @r=`${PWD_COMMAND}`; export r; \
3256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3257 TFLAGS="$(STAGE2_TFLAGS)"; \
3259 $(POSTSTAGE1_HOST_EXPORTS) \
3260 cd $(HOST_SUBDIR)/bfd && \
3261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3262 CFLAGS="$(STAGE2_CFLAGS)" \
3263 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3264 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3268 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3269 TFLAGS="$(STAGE2_TFLAGS)" \
3270 $(TARGET-stage2-bfd)
3272 maybe-clean-stage2-bfd: clean-stage2-bfd
3273 clean-stage2: clean-stage2-bfd
3275 @if [ $(current_stage) = stage2 ]; then \
3276 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3278 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3279 $(MAKE) stage2-start; \
3281 cd $(HOST_SUBDIR)/bfd && \
3282 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3283 @endif bfd-bootstrap
3286 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3287 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3288 maybe-all-stage3-bfd:
3289 maybe-clean-stage3-bfd:
3291 maybe-all-stage3-bfd: all-stage3-bfd
3292 all-stage3: all-stage3-bfd
3293 TARGET-stage3-bfd = $(TARGET-bfd)
3294 all-stage3-bfd: configure-stage3-bfd
3295 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3296 @r=`${PWD_COMMAND}`; export r; \
3297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3298 TFLAGS="$(STAGE3_TFLAGS)"; \
3300 $(POSTSTAGE1_HOST_EXPORTS) \
3301 cd $(HOST_SUBDIR)/bfd && \
3302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3303 CFLAGS="$(STAGE3_CFLAGS)" \
3304 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3305 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3306 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3307 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3308 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3309 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3310 TFLAGS="$(STAGE3_TFLAGS)" \
3311 $(TARGET-stage3-bfd)
3313 maybe-clean-stage3-bfd: clean-stage3-bfd
3314 clean-stage3: clean-stage3-bfd
3316 @if [ $(current_stage) = stage3 ]; then \
3317 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3319 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3320 $(MAKE) stage3-start; \
3322 cd $(HOST_SUBDIR)/bfd && \
3323 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3324 @endif bfd-bootstrap
3327 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3328 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3329 maybe-all-stage4-bfd:
3330 maybe-clean-stage4-bfd:
3332 maybe-all-stage4-bfd: all-stage4-bfd
3333 all-stage4: all-stage4-bfd
3334 TARGET-stage4-bfd = $(TARGET-bfd)
3335 all-stage4-bfd: configure-stage4-bfd
3336 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3337 @r=`${PWD_COMMAND}`; export r; \
3338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3339 TFLAGS="$(STAGE4_TFLAGS)"; \
3341 $(POSTSTAGE1_HOST_EXPORTS) \
3342 cd $(HOST_SUBDIR)/bfd && \
3343 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3344 CFLAGS="$(STAGE4_CFLAGS)" \
3345 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3346 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3347 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3348 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3349 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3350 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3351 TFLAGS="$(STAGE4_TFLAGS)" \
3352 $(TARGET-stage4-bfd)
3354 maybe-clean-stage4-bfd: clean-stage4-bfd
3355 clean-stage4: clean-stage4-bfd
3357 @if [ $(current_stage) = stage4 ]; then \
3358 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3360 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3361 $(MAKE) stage4-start; \
3363 cd $(HOST_SUBDIR)/bfd && \
3364 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3365 @endif bfd-bootstrap
3368 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3369 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3370 maybe-all-stageprofile-bfd:
3371 maybe-clean-stageprofile-bfd:
3373 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3374 all-stageprofile: all-stageprofile-bfd
3375 TARGET-stageprofile-bfd = $(TARGET-bfd)
3376 all-stageprofile-bfd: configure-stageprofile-bfd
3377 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3378 @r=`${PWD_COMMAND}`; export r; \
3379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3380 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3382 $(POSTSTAGE1_HOST_EXPORTS) \
3383 cd $(HOST_SUBDIR)/bfd && \
3384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3385 CFLAGS="$(STAGEprofile_CFLAGS)" \
3386 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3387 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3388 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3391 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3392 TFLAGS="$(STAGEprofile_TFLAGS)" \
3393 $(TARGET-stageprofile-bfd)
3395 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3396 clean-stageprofile: clean-stageprofile-bfd
3397 clean-stageprofile-bfd:
3398 @if [ $(current_stage) = stageprofile ]; then \
3399 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3401 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3402 $(MAKE) stageprofile-start; \
3404 cd $(HOST_SUBDIR)/bfd && \
3405 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3406 @endif bfd-bootstrap
3409 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3410 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3411 maybe-all-stagefeedback-bfd:
3412 maybe-clean-stagefeedback-bfd:
3414 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3415 all-stagefeedback: all-stagefeedback-bfd
3416 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3417 all-stagefeedback-bfd: configure-stagefeedback-bfd
3418 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3419 @r=`${PWD_COMMAND}`; export r; \
3420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3421 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3423 $(POSTSTAGE1_HOST_EXPORTS) \
3424 cd $(HOST_SUBDIR)/bfd && \
3425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3426 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3427 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3428 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3432 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3433 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3434 $(TARGET-stagefeedback-bfd)
3436 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3437 clean-stagefeedback: clean-stagefeedback-bfd
3438 clean-stagefeedback-bfd:
3439 @if [ $(current_stage) = stagefeedback ]; then \
3440 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3442 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3443 $(MAKE) stagefeedback-start; \
3445 cd $(HOST_SUBDIR)/bfd && \
3446 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3447 @endif bfd-bootstrap
3453 .PHONY: check-bfd maybe-check-bfd
3456 maybe-check-bfd: check-bfd
3459 @: $(MAKE); $(unstage)
3460 @r=`${PWD_COMMAND}`; export r; \
3461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3463 (cd $(HOST_SUBDIR)/bfd && \
3464 $(MAKE) $(FLAGS_TO_PASS) check)
3468 .PHONY: install-bfd maybe-install-bfd
3471 maybe-install-bfd: install-bfd
3473 install-bfd: installdirs
3474 @: $(MAKE); $(unstage)
3475 @r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 (cd $(HOST_SUBDIR)/bfd && \
3479 $(MAKE) $(FLAGS_TO_PASS) install)
3483 .PHONY: install-strip-bfd maybe-install-strip-bfd
3484 maybe-install-strip-bfd:
3486 maybe-install-strip-bfd: install-strip-bfd
3488 install-strip-bfd: installdirs
3489 @: $(MAKE); $(unstage)
3490 @r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3493 (cd $(HOST_SUBDIR)/bfd && \
3494 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3498 # Other targets (info, dvi, pdf, etc.)
3500 .PHONY: maybe-info-bfd info-bfd
3503 maybe-info-bfd: info-bfd
3507 @[ -f ./bfd/Makefile ] || exit 0; \
3508 r=`${PWD_COMMAND}`; export r; \
3509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3511 for flag in $(EXTRA_HOST_FLAGS) ; do \
3512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3514 echo "Doing info in bfd" ; \
3515 (cd $(HOST_SUBDIR)/bfd && \
3516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3518 "RANLIB=$${RANLIB}" \
3519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3525 .PHONY: maybe-dvi-bfd dvi-bfd
3528 maybe-dvi-bfd: dvi-bfd
3532 @[ -f ./bfd/Makefile ] || exit 0; \
3533 r=`${PWD_COMMAND}`; export r; \
3534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536 for flag in $(EXTRA_HOST_FLAGS) ; do \
3537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3539 echo "Doing dvi in bfd" ; \
3540 (cd $(HOST_SUBDIR)/bfd && \
3541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3543 "RANLIB=$${RANLIB}" \
3544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3550 .PHONY: maybe-pdf-bfd pdf-bfd
3553 maybe-pdf-bfd: pdf-bfd
3557 @[ -f ./bfd/Makefile ] || exit 0; \
3558 r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561 for flag in $(EXTRA_HOST_FLAGS) ; do \
3562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3564 echo "Doing pdf in bfd" ; \
3565 (cd $(HOST_SUBDIR)/bfd && \
3566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3568 "RANLIB=$${RANLIB}" \
3569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3575 .PHONY: maybe-html-bfd html-bfd
3578 maybe-html-bfd: html-bfd
3582 @[ -f ./bfd/Makefile ] || exit 0; \
3583 r=`${PWD_COMMAND}`; export r; \
3584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3586 for flag in $(EXTRA_HOST_FLAGS) ; do \
3587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3589 echo "Doing html in bfd" ; \
3590 (cd $(HOST_SUBDIR)/bfd && \
3591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3593 "RANLIB=$${RANLIB}" \
3594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3600 .PHONY: maybe-TAGS-bfd TAGS-bfd
3603 maybe-TAGS-bfd: TAGS-bfd
3607 @[ -f ./bfd/Makefile ] || exit 0; \
3608 r=`${PWD_COMMAND}`; export r; \
3609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3611 for flag in $(EXTRA_HOST_FLAGS) ; do \
3612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3614 echo "Doing TAGS in bfd" ; \
3615 (cd $(HOST_SUBDIR)/bfd && \
3616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3618 "RANLIB=$${RANLIB}" \
3619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3625 .PHONY: maybe-install-info-bfd install-info-bfd
3626 maybe-install-info-bfd:
3628 maybe-install-info-bfd: install-info-bfd
3633 @[ -f ./bfd/Makefile ] || exit 0; \
3634 r=`${PWD_COMMAND}`; export r; \
3635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3637 for flag in $(EXTRA_HOST_FLAGS) ; do \
3638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3640 echo "Doing install-info in bfd" ; \
3641 (cd $(HOST_SUBDIR)/bfd && \
3642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3644 "RANLIB=$${RANLIB}" \
3645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3651 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3652 maybe-install-pdf-bfd:
3654 maybe-install-pdf-bfd: install-pdf-bfd
3659 @[ -f ./bfd/Makefile ] || exit 0; \
3660 r=`${PWD_COMMAND}`; export r; \
3661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663 for flag in $(EXTRA_HOST_FLAGS) ; do \
3664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3666 echo "Doing install-pdf in bfd" ; \
3667 (cd $(HOST_SUBDIR)/bfd && \
3668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3670 "RANLIB=$${RANLIB}" \
3671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3677 .PHONY: maybe-install-html-bfd install-html-bfd
3678 maybe-install-html-bfd:
3680 maybe-install-html-bfd: install-html-bfd
3685 @[ -f ./bfd/Makefile ] || exit 0; \
3686 r=`${PWD_COMMAND}`; export r; \
3687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3689 for flag in $(EXTRA_HOST_FLAGS) ; do \
3690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3692 echo "Doing install-html in bfd" ; \
3693 (cd $(HOST_SUBDIR)/bfd && \
3694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3696 "RANLIB=$${RANLIB}" \
3697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3703 .PHONY: maybe-installcheck-bfd installcheck-bfd
3704 maybe-installcheck-bfd:
3706 maybe-installcheck-bfd: installcheck-bfd
3710 @[ -f ./bfd/Makefile ] || exit 0; \
3711 r=`${PWD_COMMAND}`; export r; \
3712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3714 for flag in $(EXTRA_HOST_FLAGS) ; do \
3715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3717 echo "Doing installcheck in bfd" ; \
3718 (cd $(HOST_SUBDIR)/bfd && \
3719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3721 "RANLIB=$${RANLIB}" \
3722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3728 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3729 maybe-mostlyclean-bfd:
3731 maybe-mostlyclean-bfd: mostlyclean-bfd
3734 @[ -f ./bfd/Makefile ] || exit 0; \
3735 r=`${PWD_COMMAND}`; export r; \
3736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3738 for flag in $(EXTRA_HOST_FLAGS) ; do \
3739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3741 echo "Doing mostlyclean in bfd" ; \
3742 (cd $(HOST_SUBDIR)/bfd && \
3743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3745 "RANLIB=$${RANLIB}" \
3746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3752 .PHONY: maybe-clean-bfd clean-bfd
3755 maybe-clean-bfd: clean-bfd
3758 @[ -f ./bfd/Makefile ] || exit 0; \
3759 r=`${PWD_COMMAND}`; export r; \
3760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3762 for flag in $(EXTRA_HOST_FLAGS) ; do \
3763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3765 echo "Doing clean in bfd" ; \
3766 (cd $(HOST_SUBDIR)/bfd && \
3767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3769 "RANLIB=$${RANLIB}" \
3770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3776 .PHONY: maybe-distclean-bfd distclean-bfd
3777 maybe-distclean-bfd:
3779 maybe-distclean-bfd: distclean-bfd
3782 @[ -f ./bfd/Makefile ] || exit 0; \
3783 r=`${PWD_COMMAND}`; export r; \
3784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3786 for flag in $(EXTRA_HOST_FLAGS) ; do \
3787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3789 echo "Doing distclean in bfd" ; \
3790 (cd $(HOST_SUBDIR)/bfd && \
3791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3793 "RANLIB=$${RANLIB}" \
3794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3800 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3801 maybe-maintainer-clean-bfd:
3803 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3805 maintainer-clean-bfd:
3806 @[ -f ./bfd/Makefile ] || exit 0; \
3807 r=`${PWD_COMMAND}`; export r; \
3808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3810 for flag in $(EXTRA_HOST_FLAGS) ; do \
3811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3813 echo "Doing maintainer-clean in bfd" ; \
3814 (cd $(HOST_SUBDIR)/bfd && \
3815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3817 "RANLIB=$${RANLIB}" \
3818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3826 .PHONY: configure-opcodes maybe-configure-opcodes
3827 maybe-configure-opcodes:
3829 configure-opcodes: stage_current
3830 @endif gcc-bootstrap
3832 maybe-configure-opcodes: configure-opcodes
3834 @r=`${PWD_COMMAND}`; export r; \
3835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3836 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3839 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3840 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3843 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3846 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3847 libsrcdir="$$s/opcodes"; \
3848 $(SHELL) $${libsrcdir}/configure \
3849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3850 --target=${target_alias} $${srcdiroption} \
3856 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3857 maybe-configure-stage1-opcodes:
3858 @if opcodes-bootstrap
3859 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3860 configure-stage1-opcodes:
3861 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3862 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3863 @r=`${PWD_COMMAND}`; export r; \
3864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3865 TFLAGS="$(STAGE1_TFLAGS)"; \
3866 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3868 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3869 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3870 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3871 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3873 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3876 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3879 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3880 libsrcdir="$$s/opcodes"; \
3881 $(SHELL) $${libsrcdir}/configure \
3882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3883 --target=${target_alias} $${srcdiroption} \
3884 $(STAGE1_CONFIGURE_FLAGS)
3885 @endif opcodes-bootstrap
3887 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3888 maybe-configure-stage2-opcodes:
3889 @if opcodes-bootstrap
3890 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3891 configure-stage2-opcodes:
3892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3894 @r=`${PWD_COMMAND}`; export r; \
3895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3896 TFLAGS="$(STAGE2_TFLAGS)"; \
3897 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3899 $(POSTSTAGE1_HOST_EXPORTS) \
3900 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3901 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3902 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3903 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3905 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3908 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3911 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3912 libsrcdir="$$s/opcodes"; \
3913 $(SHELL) $${libsrcdir}/configure \
3914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3915 --target=${target_alias} $${srcdiroption} \
3916 --with-build-libsubdir=$(HOST_SUBDIR) \
3917 $(STAGE2_CONFIGURE_FLAGS)
3918 @endif opcodes-bootstrap
3920 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3921 maybe-configure-stage3-opcodes:
3922 @if opcodes-bootstrap
3923 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3924 configure-stage3-opcodes:
3925 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3927 @r=`${PWD_COMMAND}`; export r; \
3928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3929 TFLAGS="$(STAGE3_TFLAGS)"; \
3930 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3932 $(POSTSTAGE1_HOST_EXPORTS) \
3933 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3934 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3935 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3936 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3938 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3941 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3944 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3945 libsrcdir="$$s/opcodes"; \
3946 $(SHELL) $${libsrcdir}/configure \
3947 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3948 --target=${target_alias} $${srcdiroption} \
3949 --with-build-libsubdir=$(HOST_SUBDIR) \
3950 $(STAGE3_CONFIGURE_FLAGS)
3951 @endif opcodes-bootstrap
3953 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3954 maybe-configure-stage4-opcodes:
3955 @if opcodes-bootstrap
3956 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3957 configure-stage4-opcodes:
3958 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3959 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3960 @r=`${PWD_COMMAND}`; export r; \
3961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3962 TFLAGS="$(STAGE4_TFLAGS)"; \
3963 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3965 $(POSTSTAGE1_HOST_EXPORTS) \
3966 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3967 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3968 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3969 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3971 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3974 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3977 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3978 libsrcdir="$$s/opcodes"; \
3979 $(SHELL) $${libsrcdir}/configure \
3980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3981 --target=${target_alias} $${srcdiroption} \
3982 --with-build-libsubdir=$(HOST_SUBDIR) \
3983 $(STAGE4_CONFIGURE_FLAGS)
3984 @endif opcodes-bootstrap
3986 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3987 maybe-configure-stageprofile-opcodes:
3988 @if opcodes-bootstrap
3989 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3990 configure-stageprofile-opcodes:
3991 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3993 @r=`${PWD_COMMAND}`; export r; \
3994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3995 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3996 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3998 $(POSTSTAGE1_HOST_EXPORTS) \
3999 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4000 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4001 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4002 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4004 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4007 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4010 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4011 libsrcdir="$$s/opcodes"; \
4012 $(SHELL) $${libsrcdir}/configure \
4013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4014 --target=${target_alias} $${srcdiroption} \
4015 --with-build-libsubdir=$(HOST_SUBDIR) \
4016 $(STAGEprofile_CONFIGURE_FLAGS)
4017 @endif opcodes-bootstrap
4019 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4020 maybe-configure-stagefeedback-opcodes:
4021 @if opcodes-bootstrap
4022 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4023 configure-stagefeedback-opcodes:
4024 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4026 @r=`${PWD_COMMAND}`; export r; \
4027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4028 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4029 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4031 $(POSTSTAGE1_HOST_EXPORTS) \
4032 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4033 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4034 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4035 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4037 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4040 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4043 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4044 libsrcdir="$$s/opcodes"; \
4045 $(SHELL) $${libsrcdir}/configure \
4046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4047 --target=${target_alias} $${srcdiroption} \
4048 --with-build-libsubdir=$(HOST_SUBDIR) \
4049 $(STAGEfeedback_CONFIGURE_FLAGS)
4050 @endif opcodes-bootstrap
4056 .PHONY: all-opcodes maybe-all-opcodes
4059 all-opcodes: stage_current
4060 @endif gcc-bootstrap
4063 maybe-all-opcodes: all-opcodes
4064 all-opcodes: configure-opcodes
4065 @r=`${PWD_COMMAND}`; export r; \
4066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 (cd $(HOST_SUBDIR)/opcodes && \
4069 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4075 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4076 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4077 maybe-all-stage1-opcodes:
4078 maybe-clean-stage1-opcodes:
4079 @if opcodes-bootstrap
4080 maybe-all-stage1-opcodes: all-stage1-opcodes
4081 all-stage1: all-stage1-opcodes
4082 TARGET-stage1-opcodes = $(TARGET-opcodes)
4083 all-stage1-opcodes: configure-stage1-opcodes
4084 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4085 @r=`${PWD_COMMAND}`; export r; \
4086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4087 TFLAGS="$(STAGE1_TFLAGS)"; \
4089 cd $(HOST_SUBDIR)/opcodes && \
4090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4091 CFLAGS="$(STAGE1_CFLAGS)" \
4092 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4093 LIBCFLAGS="$(LIBCFLAGS)" \
4094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4097 $(EXTRA_HOST_FLAGS) \
4098 $(STAGE1_FLAGS_TO_PASS) \
4099 TFLAGS="$(STAGE1_TFLAGS)" \
4100 $(TARGET-stage1-opcodes)
4102 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4103 clean-stage1: clean-stage1-opcodes
4104 clean-stage1-opcodes:
4105 @if [ $(current_stage) = stage1 ]; then \
4106 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4108 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4109 $(MAKE) stage1-start; \
4111 cd $(HOST_SUBDIR)/opcodes && \
4112 $(MAKE) $(EXTRA_HOST_FLAGS) \
4113 $(STAGE1_FLAGS_TO_PASS) clean
4114 @endif opcodes-bootstrap
4117 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4118 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4119 maybe-all-stage2-opcodes:
4120 maybe-clean-stage2-opcodes:
4121 @if opcodes-bootstrap
4122 maybe-all-stage2-opcodes: all-stage2-opcodes
4123 all-stage2: all-stage2-opcodes
4124 TARGET-stage2-opcodes = $(TARGET-opcodes)
4125 all-stage2-opcodes: configure-stage2-opcodes
4126 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4127 @r=`${PWD_COMMAND}`; export r; \
4128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4129 TFLAGS="$(STAGE2_TFLAGS)"; \
4131 $(POSTSTAGE1_HOST_EXPORTS) \
4132 cd $(HOST_SUBDIR)/opcodes && \
4133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4134 CFLAGS="$(STAGE2_CFLAGS)" \
4135 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4136 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4140 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4141 TFLAGS="$(STAGE2_TFLAGS)" \
4142 $(TARGET-stage2-opcodes)
4144 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4145 clean-stage2: clean-stage2-opcodes
4146 clean-stage2-opcodes:
4147 @if [ $(current_stage) = stage2 ]; then \
4148 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4150 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4151 $(MAKE) stage2-start; \
4153 cd $(HOST_SUBDIR)/opcodes && \
4154 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4155 @endif opcodes-bootstrap
4158 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4159 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4160 maybe-all-stage3-opcodes:
4161 maybe-clean-stage3-opcodes:
4162 @if opcodes-bootstrap
4163 maybe-all-stage3-opcodes: all-stage3-opcodes
4164 all-stage3: all-stage3-opcodes
4165 TARGET-stage3-opcodes = $(TARGET-opcodes)
4166 all-stage3-opcodes: configure-stage3-opcodes
4167 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4168 @r=`${PWD_COMMAND}`; export r; \
4169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 TFLAGS="$(STAGE3_TFLAGS)"; \
4172 $(POSTSTAGE1_HOST_EXPORTS) \
4173 cd $(HOST_SUBDIR)/opcodes && \
4174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4175 CFLAGS="$(STAGE3_CFLAGS)" \
4176 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4177 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4182 TFLAGS="$(STAGE3_TFLAGS)" \
4183 $(TARGET-stage3-opcodes)
4185 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4186 clean-stage3: clean-stage3-opcodes
4187 clean-stage3-opcodes:
4188 @if [ $(current_stage) = stage3 ]; then \
4189 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4191 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4192 $(MAKE) stage3-start; \
4194 cd $(HOST_SUBDIR)/opcodes && \
4195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4196 @endif opcodes-bootstrap
4199 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4200 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4201 maybe-all-stage4-opcodes:
4202 maybe-clean-stage4-opcodes:
4203 @if opcodes-bootstrap
4204 maybe-all-stage4-opcodes: all-stage4-opcodes
4205 all-stage4: all-stage4-opcodes
4206 TARGET-stage4-opcodes = $(TARGET-opcodes)
4207 all-stage4-opcodes: configure-stage4-opcodes
4208 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4209 @r=`${PWD_COMMAND}`; export r; \
4210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4211 TFLAGS="$(STAGE4_TFLAGS)"; \
4213 $(POSTSTAGE1_HOST_EXPORTS) \
4214 cd $(HOST_SUBDIR)/opcodes && \
4215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4216 CFLAGS="$(STAGE4_CFLAGS)" \
4217 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4218 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4222 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4223 TFLAGS="$(STAGE4_TFLAGS)" \
4224 $(TARGET-stage4-opcodes)
4226 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4227 clean-stage4: clean-stage4-opcodes
4228 clean-stage4-opcodes:
4229 @if [ $(current_stage) = stage4 ]; then \
4230 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4232 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4233 $(MAKE) stage4-start; \
4235 cd $(HOST_SUBDIR)/opcodes && \
4236 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4237 @endif opcodes-bootstrap
4240 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4241 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4242 maybe-all-stageprofile-opcodes:
4243 maybe-clean-stageprofile-opcodes:
4244 @if opcodes-bootstrap
4245 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4246 all-stageprofile: all-stageprofile-opcodes
4247 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4248 all-stageprofile-opcodes: configure-stageprofile-opcodes
4249 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4250 @r=`${PWD_COMMAND}`; export r; \
4251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4252 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4254 $(POSTSTAGE1_HOST_EXPORTS) \
4255 cd $(HOST_SUBDIR)/opcodes && \
4256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4257 CFLAGS="$(STAGEprofile_CFLAGS)" \
4258 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4259 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4263 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4264 TFLAGS="$(STAGEprofile_TFLAGS)" \
4265 $(TARGET-stageprofile-opcodes)
4267 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4268 clean-stageprofile: clean-stageprofile-opcodes
4269 clean-stageprofile-opcodes:
4270 @if [ $(current_stage) = stageprofile ]; then \
4271 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4273 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4274 $(MAKE) stageprofile-start; \
4276 cd $(HOST_SUBDIR)/opcodes && \
4277 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4278 @endif opcodes-bootstrap
4281 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4282 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4283 maybe-all-stagefeedback-opcodes:
4284 maybe-clean-stagefeedback-opcodes:
4285 @if opcodes-bootstrap
4286 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4287 all-stagefeedback: all-stagefeedback-opcodes
4288 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4289 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4290 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4291 @r=`${PWD_COMMAND}`; export r; \
4292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4293 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4295 $(POSTSTAGE1_HOST_EXPORTS) \
4296 cd $(HOST_SUBDIR)/opcodes && \
4297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4298 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4299 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4300 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4301 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4302 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4303 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4304 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4305 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4306 $(TARGET-stagefeedback-opcodes)
4308 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4309 clean-stagefeedback: clean-stagefeedback-opcodes
4310 clean-stagefeedback-opcodes:
4311 @if [ $(current_stage) = stagefeedback ]; then \
4312 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4314 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4315 $(MAKE) stagefeedback-start; \
4317 cd $(HOST_SUBDIR)/opcodes && \
4318 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4319 @endif opcodes-bootstrap
4325 .PHONY: check-opcodes maybe-check-opcodes
4326 maybe-check-opcodes:
4328 maybe-check-opcodes: check-opcodes
4331 @: $(MAKE); $(unstage)
4332 @r=`${PWD_COMMAND}`; export r; \
4333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4335 (cd $(HOST_SUBDIR)/opcodes && \
4336 $(MAKE) $(FLAGS_TO_PASS) check)
4340 .PHONY: install-opcodes maybe-install-opcodes
4341 maybe-install-opcodes:
4343 maybe-install-opcodes: install-opcodes
4345 install-opcodes: installdirs
4346 @: $(MAKE); $(unstage)
4347 @r=`${PWD_COMMAND}`; export r; \
4348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4350 (cd $(HOST_SUBDIR)/opcodes && \
4351 $(MAKE) $(FLAGS_TO_PASS) install)
4355 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4356 maybe-install-strip-opcodes:
4358 maybe-install-strip-opcodes: install-strip-opcodes
4360 install-strip-opcodes: installdirs
4361 @: $(MAKE); $(unstage)
4362 @r=`${PWD_COMMAND}`; export r; \
4363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4365 (cd $(HOST_SUBDIR)/opcodes && \
4366 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4370 # Other targets (info, dvi, pdf, etc.)
4372 .PHONY: maybe-info-opcodes info-opcodes
4375 maybe-info-opcodes: info-opcodes
4379 @[ -f ./opcodes/Makefile ] || exit 0; \
4380 r=`${PWD_COMMAND}`; export r; \
4381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4383 for flag in $(EXTRA_HOST_FLAGS) ; do \
4384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4386 echo "Doing info in opcodes" ; \
4387 (cd $(HOST_SUBDIR)/opcodes && \
4388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4390 "RANLIB=$${RANLIB}" \
4391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4397 .PHONY: maybe-dvi-opcodes dvi-opcodes
4400 maybe-dvi-opcodes: dvi-opcodes
4404 @[ -f ./opcodes/Makefile ] || exit 0; \
4405 r=`${PWD_COMMAND}`; export r; \
4406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4408 for flag in $(EXTRA_HOST_FLAGS) ; do \
4409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4411 echo "Doing dvi in opcodes" ; \
4412 (cd $(HOST_SUBDIR)/opcodes && \
4413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4415 "RANLIB=$${RANLIB}" \
4416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4422 .PHONY: maybe-pdf-opcodes pdf-opcodes
4425 maybe-pdf-opcodes: pdf-opcodes
4429 @[ -f ./opcodes/Makefile ] || exit 0; \
4430 r=`${PWD_COMMAND}`; export r; \
4431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4433 for flag in $(EXTRA_HOST_FLAGS) ; do \
4434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4436 echo "Doing pdf in opcodes" ; \
4437 (cd $(HOST_SUBDIR)/opcodes && \
4438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4440 "RANLIB=$${RANLIB}" \
4441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4447 .PHONY: maybe-html-opcodes html-opcodes
4450 maybe-html-opcodes: html-opcodes
4454 @[ -f ./opcodes/Makefile ] || exit 0; \
4455 r=`${PWD_COMMAND}`; export r; \
4456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 for flag in $(EXTRA_HOST_FLAGS) ; do \
4459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4461 echo "Doing html in opcodes" ; \
4462 (cd $(HOST_SUBDIR)/opcodes && \
4463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4465 "RANLIB=$${RANLIB}" \
4466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4472 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4475 maybe-TAGS-opcodes: TAGS-opcodes
4479 @[ -f ./opcodes/Makefile ] || exit 0; \
4480 r=`${PWD_COMMAND}`; export r; \
4481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4483 for flag in $(EXTRA_HOST_FLAGS) ; do \
4484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4486 echo "Doing TAGS in opcodes" ; \
4487 (cd $(HOST_SUBDIR)/opcodes && \
4488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4490 "RANLIB=$${RANLIB}" \
4491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4497 .PHONY: maybe-install-info-opcodes install-info-opcodes
4498 maybe-install-info-opcodes:
4500 maybe-install-info-opcodes: install-info-opcodes
4502 install-info-opcodes: \
4505 @[ -f ./opcodes/Makefile ] || exit 0; \
4506 r=`${PWD_COMMAND}`; export r; \
4507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4509 for flag in $(EXTRA_HOST_FLAGS) ; do \
4510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4512 echo "Doing install-info in opcodes" ; \
4513 (cd $(HOST_SUBDIR)/opcodes && \
4514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4516 "RANLIB=$${RANLIB}" \
4517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4523 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4524 maybe-install-pdf-opcodes:
4526 maybe-install-pdf-opcodes: install-pdf-opcodes
4528 install-pdf-opcodes: \
4531 @[ -f ./opcodes/Makefile ] || exit 0; \
4532 r=`${PWD_COMMAND}`; export r; \
4533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4535 for flag in $(EXTRA_HOST_FLAGS) ; do \
4536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4538 echo "Doing install-pdf in opcodes" ; \
4539 (cd $(HOST_SUBDIR)/opcodes && \
4540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4542 "RANLIB=$${RANLIB}" \
4543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4549 .PHONY: maybe-install-html-opcodes install-html-opcodes
4550 maybe-install-html-opcodes:
4552 maybe-install-html-opcodes: install-html-opcodes
4554 install-html-opcodes: \
4557 @[ -f ./opcodes/Makefile ] || exit 0; \
4558 r=`${PWD_COMMAND}`; export r; \
4559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4561 for flag in $(EXTRA_HOST_FLAGS) ; do \
4562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4564 echo "Doing install-html in opcodes" ; \
4565 (cd $(HOST_SUBDIR)/opcodes && \
4566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4568 "RANLIB=$${RANLIB}" \
4569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4575 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4576 maybe-installcheck-opcodes:
4578 maybe-installcheck-opcodes: installcheck-opcodes
4580 installcheck-opcodes: \
4582 @[ -f ./opcodes/Makefile ] || exit 0; \
4583 r=`${PWD_COMMAND}`; export r; \
4584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4586 for flag in $(EXTRA_HOST_FLAGS) ; do \
4587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4589 echo "Doing installcheck in opcodes" ; \
4590 (cd $(HOST_SUBDIR)/opcodes && \
4591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4593 "RANLIB=$${RANLIB}" \
4594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4600 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4601 maybe-mostlyclean-opcodes:
4603 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4605 mostlyclean-opcodes:
4606 @[ -f ./opcodes/Makefile ] || exit 0; \
4607 r=`${PWD_COMMAND}`; export r; \
4608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4610 for flag in $(EXTRA_HOST_FLAGS) ; do \
4611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4613 echo "Doing mostlyclean in opcodes" ; \
4614 (cd $(HOST_SUBDIR)/opcodes && \
4615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4617 "RANLIB=$${RANLIB}" \
4618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4624 .PHONY: maybe-clean-opcodes clean-opcodes
4625 maybe-clean-opcodes:
4627 maybe-clean-opcodes: clean-opcodes
4630 @[ -f ./opcodes/Makefile ] || exit 0; \
4631 r=`${PWD_COMMAND}`; export r; \
4632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4634 for flag in $(EXTRA_HOST_FLAGS) ; do \
4635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4637 echo "Doing clean in opcodes" ; \
4638 (cd $(HOST_SUBDIR)/opcodes && \
4639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4641 "RANLIB=$${RANLIB}" \
4642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4648 .PHONY: maybe-distclean-opcodes distclean-opcodes
4649 maybe-distclean-opcodes:
4651 maybe-distclean-opcodes: distclean-opcodes
4654 @[ -f ./opcodes/Makefile ] || exit 0; \
4655 r=`${PWD_COMMAND}`; export r; \
4656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4658 for flag in $(EXTRA_HOST_FLAGS) ; do \
4659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4661 echo "Doing distclean in opcodes" ; \
4662 (cd $(HOST_SUBDIR)/opcodes && \
4663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4665 "RANLIB=$${RANLIB}" \
4666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4672 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4673 maybe-maintainer-clean-opcodes:
4675 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4677 maintainer-clean-opcodes:
4678 @[ -f ./opcodes/Makefile ] || exit 0; \
4679 r=`${PWD_COMMAND}`; export r; \
4680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4682 for flag in $(EXTRA_HOST_FLAGS) ; do \
4683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4685 echo "Doing maintainer-clean in opcodes" ; \
4686 (cd $(HOST_SUBDIR)/opcodes && \
4687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4689 "RANLIB=$${RANLIB}" \
4690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4698 .PHONY: configure-binutils maybe-configure-binutils
4699 maybe-configure-binutils:
4701 configure-binutils: stage_current
4702 @endif gcc-bootstrap
4704 maybe-configure-binutils: configure-binutils
4706 @r=`${PWD_COMMAND}`; export r; \
4707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4708 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4711 echo Configuring in $(HOST_SUBDIR)/binutils; \
4712 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4715 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4718 srcdiroption="--srcdir=$${topdir}/binutils"; \
4719 libsrcdir="$$s/binutils"; \
4720 $(SHELL) $${libsrcdir}/configure \
4721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4722 --target=${target_alias} $${srcdiroption} \
4728 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4729 maybe-configure-stage1-binutils:
4730 @if binutils-bootstrap
4731 maybe-configure-stage1-binutils: configure-stage1-binutils
4732 configure-stage1-binutils:
4733 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4735 @r=`${PWD_COMMAND}`; export r; \
4736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4737 TFLAGS="$(STAGE1_TFLAGS)"; \
4738 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4740 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4741 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4742 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4743 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4745 cd $(HOST_SUBDIR)/binutils || exit 1; \
4747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4748 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4751 srcdiroption="--srcdir=$${topdir}/binutils"; \
4752 libsrcdir="$$s/binutils"; \
4753 $(SHELL) $${libsrcdir}/configure \
4754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4755 --target=${target_alias} $${srcdiroption} \
4756 $(STAGE1_CONFIGURE_FLAGS)
4757 @endif binutils-bootstrap
4759 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4760 maybe-configure-stage2-binutils:
4761 @if binutils-bootstrap
4762 maybe-configure-stage2-binutils: configure-stage2-binutils
4763 configure-stage2-binutils:
4764 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4766 @r=`${PWD_COMMAND}`; export r; \
4767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4768 TFLAGS="$(STAGE2_TFLAGS)"; \
4769 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4771 $(POSTSTAGE1_HOST_EXPORTS) \
4772 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4773 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4774 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4775 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4777 cd $(HOST_SUBDIR)/binutils || exit 1; \
4779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4780 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4783 srcdiroption="--srcdir=$${topdir}/binutils"; \
4784 libsrcdir="$$s/binutils"; \
4785 $(SHELL) $${libsrcdir}/configure \
4786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4787 --target=${target_alias} $${srcdiroption} \
4788 --with-build-libsubdir=$(HOST_SUBDIR) \
4789 $(STAGE2_CONFIGURE_FLAGS)
4790 @endif binutils-bootstrap
4792 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4793 maybe-configure-stage3-binutils:
4794 @if binutils-bootstrap
4795 maybe-configure-stage3-binutils: configure-stage3-binutils
4796 configure-stage3-binutils:
4797 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4799 @r=`${PWD_COMMAND}`; export r; \
4800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4801 TFLAGS="$(STAGE3_TFLAGS)"; \
4802 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4804 $(POSTSTAGE1_HOST_EXPORTS) \
4805 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4806 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4807 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4808 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4810 cd $(HOST_SUBDIR)/binutils || exit 1; \
4812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4813 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4816 srcdiroption="--srcdir=$${topdir}/binutils"; \
4817 libsrcdir="$$s/binutils"; \
4818 $(SHELL) $${libsrcdir}/configure \
4819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4820 --target=${target_alias} $${srcdiroption} \
4821 --with-build-libsubdir=$(HOST_SUBDIR) \
4822 $(STAGE3_CONFIGURE_FLAGS)
4823 @endif binutils-bootstrap
4825 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4826 maybe-configure-stage4-binutils:
4827 @if binutils-bootstrap
4828 maybe-configure-stage4-binutils: configure-stage4-binutils
4829 configure-stage4-binutils:
4830 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4832 @r=`${PWD_COMMAND}`; export r; \
4833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4834 TFLAGS="$(STAGE4_TFLAGS)"; \
4835 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4837 $(POSTSTAGE1_HOST_EXPORTS) \
4838 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4839 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4840 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4841 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4843 cd $(HOST_SUBDIR)/binutils || exit 1; \
4845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4846 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4849 srcdiroption="--srcdir=$${topdir}/binutils"; \
4850 libsrcdir="$$s/binutils"; \
4851 $(SHELL) $${libsrcdir}/configure \
4852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4853 --target=${target_alias} $${srcdiroption} \
4854 --with-build-libsubdir=$(HOST_SUBDIR) \
4855 $(STAGE4_CONFIGURE_FLAGS)
4856 @endif binutils-bootstrap
4858 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4859 maybe-configure-stageprofile-binutils:
4860 @if binutils-bootstrap
4861 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4862 configure-stageprofile-binutils:
4863 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4864 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4865 @r=`${PWD_COMMAND}`; export r; \
4866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4867 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4868 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4870 $(POSTSTAGE1_HOST_EXPORTS) \
4871 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4872 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4873 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4874 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4876 cd $(HOST_SUBDIR)/binutils || exit 1; \
4878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4879 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4882 srcdiroption="--srcdir=$${topdir}/binutils"; \
4883 libsrcdir="$$s/binutils"; \
4884 $(SHELL) $${libsrcdir}/configure \
4885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4886 --target=${target_alias} $${srcdiroption} \
4887 --with-build-libsubdir=$(HOST_SUBDIR) \
4888 $(STAGEprofile_CONFIGURE_FLAGS)
4889 @endif binutils-bootstrap
4891 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4892 maybe-configure-stagefeedback-binutils:
4893 @if binutils-bootstrap
4894 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4895 configure-stagefeedback-binutils:
4896 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4898 @r=`${PWD_COMMAND}`; export r; \
4899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4900 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4901 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4903 $(POSTSTAGE1_HOST_EXPORTS) \
4904 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4905 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4906 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4907 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4909 cd $(HOST_SUBDIR)/binutils || exit 1; \
4911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4912 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4915 srcdiroption="--srcdir=$${topdir}/binutils"; \
4916 libsrcdir="$$s/binutils"; \
4917 $(SHELL) $${libsrcdir}/configure \
4918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4919 --target=${target_alias} $${srcdiroption} \
4920 --with-build-libsubdir=$(HOST_SUBDIR) \
4921 $(STAGEfeedback_CONFIGURE_FLAGS)
4922 @endif binutils-bootstrap
4928 .PHONY: all-binutils maybe-all-binutils
4931 all-binutils: stage_current
4932 @endif gcc-bootstrap
4935 maybe-all-binutils: all-binutils
4936 all-binutils: configure-binutils
4937 @r=`${PWD_COMMAND}`; export r; \
4938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4940 (cd $(HOST_SUBDIR)/binutils && \
4941 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4947 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4948 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4949 maybe-all-stage1-binutils:
4950 maybe-clean-stage1-binutils:
4951 @if binutils-bootstrap
4952 maybe-all-stage1-binutils: all-stage1-binutils
4953 all-stage1: all-stage1-binutils
4954 TARGET-stage1-binutils = $(TARGET-binutils)
4955 all-stage1-binutils: configure-stage1-binutils
4956 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4957 @r=`${PWD_COMMAND}`; export r; \
4958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4959 TFLAGS="$(STAGE1_TFLAGS)"; \
4961 cd $(HOST_SUBDIR)/binutils && \
4962 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4963 CFLAGS="$(STAGE1_CFLAGS)" \
4964 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4965 LIBCFLAGS="$(LIBCFLAGS)" \
4966 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4967 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4968 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4969 $(EXTRA_HOST_FLAGS) \
4970 $(STAGE1_FLAGS_TO_PASS) \
4971 TFLAGS="$(STAGE1_TFLAGS)" \
4972 $(TARGET-stage1-binutils)
4974 maybe-clean-stage1-binutils: clean-stage1-binutils
4975 clean-stage1: clean-stage1-binutils
4976 clean-stage1-binutils:
4977 @if [ $(current_stage) = stage1 ]; then \
4978 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4980 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4981 $(MAKE) stage1-start; \
4983 cd $(HOST_SUBDIR)/binutils && \
4984 $(MAKE) $(EXTRA_HOST_FLAGS) \
4985 $(STAGE1_FLAGS_TO_PASS) clean
4986 @endif binutils-bootstrap
4989 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4990 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4991 maybe-all-stage2-binutils:
4992 maybe-clean-stage2-binutils:
4993 @if binutils-bootstrap
4994 maybe-all-stage2-binutils: all-stage2-binutils
4995 all-stage2: all-stage2-binutils
4996 TARGET-stage2-binutils = $(TARGET-binutils)
4997 all-stage2-binutils: configure-stage2-binutils
4998 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4999 @r=`${PWD_COMMAND}`; export r; \
5000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5001 TFLAGS="$(STAGE2_TFLAGS)"; \
5003 $(POSTSTAGE1_HOST_EXPORTS) \
5004 cd $(HOST_SUBDIR)/binutils && \
5005 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5006 CFLAGS="$(STAGE2_CFLAGS)" \
5007 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5008 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5012 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5013 TFLAGS="$(STAGE2_TFLAGS)" \
5014 $(TARGET-stage2-binutils)
5016 maybe-clean-stage2-binutils: clean-stage2-binutils
5017 clean-stage2: clean-stage2-binutils
5018 clean-stage2-binutils:
5019 @if [ $(current_stage) = stage2 ]; then \
5020 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5022 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5023 $(MAKE) stage2-start; \
5025 cd $(HOST_SUBDIR)/binutils && \
5026 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5027 @endif binutils-bootstrap
5030 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5031 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5032 maybe-all-stage3-binutils:
5033 maybe-clean-stage3-binutils:
5034 @if binutils-bootstrap
5035 maybe-all-stage3-binutils: all-stage3-binutils
5036 all-stage3: all-stage3-binutils
5037 TARGET-stage3-binutils = $(TARGET-binutils)
5038 all-stage3-binutils: configure-stage3-binutils
5039 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5040 @r=`${PWD_COMMAND}`; export r; \
5041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5042 TFLAGS="$(STAGE3_TFLAGS)"; \
5044 $(POSTSTAGE1_HOST_EXPORTS) \
5045 cd $(HOST_SUBDIR)/binutils && \
5046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5047 CFLAGS="$(STAGE3_CFLAGS)" \
5048 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5049 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5053 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5054 TFLAGS="$(STAGE3_TFLAGS)" \
5055 $(TARGET-stage3-binutils)
5057 maybe-clean-stage3-binutils: clean-stage3-binutils
5058 clean-stage3: clean-stage3-binutils
5059 clean-stage3-binutils:
5060 @if [ $(current_stage) = stage3 ]; then \
5061 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5063 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5064 $(MAKE) stage3-start; \
5066 cd $(HOST_SUBDIR)/binutils && \
5067 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5068 @endif binutils-bootstrap
5071 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5072 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5073 maybe-all-stage4-binutils:
5074 maybe-clean-stage4-binutils:
5075 @if binutils-bootstrap
5076 maybe-all-stage4-binutils: all-stage4-binutils
5077 all-stage4: all-stage4-binutils
5078 TARGET-stage4-binutils = $(TARGET-binutils)
5079 all-stage4-binutils: configure-stage4-binutils
5080 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5081 @r=`${PWD_COMMAND}`; export r; \
5082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5083 TFLAGS="$(STAGE4_TFLAGS)"; \
5085 $(POSTSTAGE1_HOST_EXPORTS) \
5086 cd $(HOST_SUBDIR)/binutils && \
5087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5088 CFLAGS="$(STAGE4_CFLAGS)" \
5089 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5090 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5091 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5092 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5093 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5094 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5095 TFLAGS="$(STAGE4_TFLAGS)" \
5096 $(TARGET-stage4-binutils)
5098 maybe-clean-stage4-binutils: clean-stage4-binutils
5099 clean-stage4: clean-stage4-binutils
5100 clean-stage4-binutils:
5101 @if [ $(current_stage) = stage4 ]; then \
5102 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5104 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5105 $(MAKE) stage4-start; \
5107 cd $(HOST_SUBDIR)/binutils && \
5108 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5109 @endif binutils-bootstrap
5112 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5113 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5114 maybe-all-stageprofile-binutils:
5115 maybe-clean-stageprofile-binutils:
5116 @if binutils-bootstrap
5117 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5118 all-stageprofile: all-stageprofile-binutils
5119 TARGET-stageprofile-binutils = $(TARGET-binutils)
5120 all-stageprofile-binutils: configure-stageprofile-binutils
5121 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5122 @r=`${PWD_COMMAND}`; export r; \
5123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5124 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5126 $(POSTSTAGE1_HOST_EXPORTS) \
5127 cd $(HOST_SUBDIR)/binutils && \
5128 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5129 CFLAGS="$(STAGEprofile_CFLAGS)" \
5130 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5131 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5132 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5133 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5134 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5135 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5136 TFLAGS="$(STAGEprofile_TFLAGS)" \
5137 $(TARGET-stageprofile-binutils)
5139 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5140 clean-stageprofile: clean-stageprofile-binutils
5141 clean-stageprofile-binutils:
5142 @if [ $(current_stage) = stageprofile ]; then \
5143 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5145 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5146 $(MAKE) stageprofile-start; \
5148 cd $(HOST_SUBDIR)/binutils && \
5149 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5150 @endif binutils-bootstrap
5153 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5154 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5155 maybe-all-stagefeedback-binutils:
5156 maybe-clean-stagefeedback-binutils:
5157 @if binutils-bootstrap
5158 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5159 all-stagefeedback: all-stagefeedback-binutils
5160 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5161 all-stagefeedback-binutils: configure-stagefeedback-binutils
5162 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5163 @r=`${PWD_COMMAND}`; export r; \
5164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5165 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5167 $(POSTSTAGE1_HOST_EXPORTS) \
5168 cd $(HOST_SUBDIR)/binutils && \
5169 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5170 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5171 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5172 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5173 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5174 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5175 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5176 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5177 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5178 $(TARGET-stagefeedback-binutils)
5180 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5181 clean-stagefeedback: clean-stagefeedback-binutils
5182 clean-stagefeedback-binutils:
5183 @if [ $(current_stage) = stagefeedback ]; then \
5184 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5186 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5187 $(MAKE) stagefeedback-start; \
5189 cd $(HOST_SUBDIR)/binutils && \
5190 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5191 @endif binutils-bootstrap
5197 .PHONY: check-binutils maybe-check-binutils
5198 maybe-check-binutils:
5200 maybe-check-binutils: check-binutils
5203 @: $(MAKE); $(unstage)
5204 @r=`${PWD_COMMAND}`; export r; \
5205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5207 (cd $(HOST_SUBDIR)/binutils && \
5208 $(MAKE) $(FLAGS_TO_PASS) check)
5212 .PHONY: install-binutils maybe-install-binutils
5213 maybe-install-binutils:
5215 maybe-install-binutils: install-binutils
5217 install-binutils: installdirs
5218 @: $(MAKE); $(unstage)
5219 @r=`${PWD_COMMAND}`; export r; \
5220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5222 (cd $(HOST_SUBDIR)/binutils && \
5223 $(MAKE) $(FLAGS_TO_PASS) install)
5227 .PHONY: install-strip-binutils maybe-install-strip-binutils
5228 maybe-install-strip-binutils:
5230 maybe-install-strip-binutils: install-strip-binutils
5232 install-strip-binutils: installdirs
5233 @: $(MAKE); $(unstage)
5234 @r=`${PWD_COMMAND}`; export r; \
5235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5237 (cd $(HOST_SUBDIR)/binutils && \
5238 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5242 # Other targets (info, dvi, pdf, etc.)
5244 .PHONY: maybe-info-binutils info-binutils
5245 maybe-info-binutils:
5247 maybe-info-binutils: info-binutils
5251 @[ -f ./binutils/Makefile ] || exit 0; \
5252 r=`${PWD_COMMAND}`; export r; \
5253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5255 for flag in $(EXTRA_HOST_FLAGS) ; do \
5256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5258 echo "Doing info in binutils" ; \
5259 (cd $(HOST_SUBDIR)/binutils && \
5260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5262 "RANLIB=$${RANLIB}" \
5263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5269 .PHONY: maybe-dvi-binutils dvi-binutils
5272 maybe-dvi-binutils: dvi-binutils
5276 @[ -f ./binutils/Makefile ] || exit 0; \
5277 r=`${PWD_COMMAND}`; export r; \
5278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5280 for flag in $(EXTRA_HOST_FLAGS) ; do \
5281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5283 echo "Doing dvi in binutils" ; \
5284 (cd $(HOST_SUBDIR)/binutils && \
5285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5287 "RANLIB=$${RANLIB}" \
5288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5294 .PHONY: maybe-pdf-binutils pdf-binutils
5297 maybe-pdf-binutils: pdf-binutils
5301 @[ -f ./binutils/Makefile ] || exit 0; \
5302 r=`${PWD_COMMAND}`; export r; \
5303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5305 for flag in $(EXTRA_HOST_FLAGS) ; do \
5306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5308 echo "Doing pdf in binutils" ; \
5309 (cd $(HOST_SUBDIR)/binutils && \
5310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5312 "RANLIB=$${RANLIB}" \
5313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5319 .PHONY: maybe-html-binutils html-binutils
5320 maybe-html-binutils:
5322 maybe-html-binutils: html-binutils
5326 @[ -f ./binutils/Makefile ] || exit 0; \
5327 r=`${PWD_COMMAND}`; export r; \
5328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5330 for flag in $(EXTRA_HOST_FLAGS) ; do \
5331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5333 echo "Doing html in binutils" ; \
5334 (cd $(HOST_SUBDIR)/binutils && \
5335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5337 "RANLIB=$${RANLIB}" \
5338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5344 .PHONY: maybe-TAGS-binutils TAGS-binutils
5345 maybe-TAGS-binutils:
5347 maybe-TAGS-binutils: TAGS-binutils
5351 @[ -f ./binutils/Makefile ] || exit 0; \
5352 r=`${PWD_COMMAND}`; export r; \
5353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5355 for flag in $(EXTRA_HOST_FLAGS) ; do \
5356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5358 echo "Doing TAGS in binutils" ; \
5359 (cd $(HOST_SUBDIR)/binutils && \
5360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5362 "RANLIB=$${RANLIB}" \
5363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5369 .PHONY: maybe-install-info-binutils install-info-binutils
5370 maybe-install-info-binutils:
5372 maybe-install-info-binutils: install-info-binutils
5374 install-info-binutils: \
5375 configure-binutils \
5377 @[ -f ./binutils/Makefile ] || exit 0; \
5378 r=`${PWD_COMMAND}`; export r; \
5379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5381 for flag in $(EXTRA_HOST_FLAGS) ; do \
5382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5384 echo "Doing install-info in binutils" ; \
5385 (cd $(HOST_SUBDIR)/binutils && \
5386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5388 "RANLIB=$${RANLIB}" \
5389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5395 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5396 maybe-install-pdf-binutils:
5398 maybe-install-pdf-binutils: install-pdf-binutils
5400 install-pdf-binutils: \
5401 configure-binutils \
5403 @[ -f ./binutils/Makefile ] || exit 0; \
5404 r=`${PWD_COMMAND}`; export r; \
5405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5407 for flag in $(EXTRA_HOST_FLAGS) ; do \
5408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5410 echo "Doing install-pdf in binutils" ; \
5411 (cd $(HOST_SUBDIR)/binutils && \
5412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5414 "RANLIB=$${RANLIB}" \
5415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5421 .PHONY: maybe-install-html-binutils install-html-binutils
5422 maybe-install-html-binutils:
5424 maybe-install-html-binutils: install-html-binutils
5426 install-html-binutils: \
5427 configure-binutils \
5429 @[ -f ./binutils/Makefile ] || exit 0; \
5430 r=`${PWD_COMMAND}`; export r; \
5431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5433 for flag in $(EXTRA_HOST_FLAGS) ; do \
5434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5436 echo "Doing install-html in binutils" ; \
5437 (cd $(HOST_SUBDIR)/binutils && \
5438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5440 "RANLIB=$${RANLIB}" \
5441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5447 .PHONY: maybe-installcheck-binutils installcheck-binutils
5448 maybe-installcheck-binutils:
5450 maybe-installcheck-binutils: installcheck-binutils
5452 installcheck-binutils: \
5454 @[ -f ./binutils/Makefile ] || exit 0; \
5455 r=`${PWD_COMMAND}`; export r; \
5456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5458 for flag in $(EXTRA_HOST_FLAGS) ; do \
5459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5461 echo "Doing installcheck in binutils" ; \
5462 (cd $(HOST_SUBDIR)/binutils && \
5463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5465 "RANLIB=$${RANLIB}" \
5466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5472 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5473 maybe-mostlyclean-binutils:
5475 maybe-mostlyclean-binutils: mostlyclean-binutils
5477 mostlyclean-binutils:
5478 @[ -f ./binutils/Makefile ] || exit 0; \
5479 r=`${PWD_COMMAND}`; export r; \
5480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5482 for flag in $(EXTRA_HOST_FLAGS) ; do \
5483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5485 echo "Doing mostlyclean in binutils" ; \
5486 (cd $(HOST_SUBDIR)/binutils && \
5487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5489 "RANLIB=$${RANLIB}" \
5490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5496 .PHONY: maybe-clean-binutils clean-binutils
5497 maybe-clean-binutils:
5499 maybe-clean-binutils: clean-binutils
5502 @[ -f ./binutils/Makefile ] || exit 0; \
5503 r=`${PWD_COMMAND}`; export r; \
5504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5506 for flag in $(EXTRA_HOST_FLAGS) ; do \
5507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5509 echo "Doing clean in binutils" ; \
5510 (cd $(HOST_SUBDIR)/binutils && \
5511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5513 "RANLIB=$${RANLIB}" \
5514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5520 .PHONY: maybe-distclean-binutils distclean-binutils
5521 maybe-distclean-binutils:
5523 maybe-distclean-binutils: distclean-binutils
5526 @[ -f ./binutils/Makefile ] || exit 0; \
5527 r=`${PWD_COMMAND}`; export r; \
5528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5530 for flag in $(EXTRA_HOST_FLAGS) ; do \
5531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5533 echo "Doing distclean in binutils" ; \
5534 (cd $(HOST_SUBDIR)/binutils && \
5535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5537 "RANLIB=$${RANLIB}" \
5538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5544 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5545 maybe-maintainer-clean-binutils:
5547 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5549 maintainer-clean-binutils:
5550 @[ -f ./binutils/Makefile ] || exit 0; \
5551 r=`${PWD_COMMAND}`; export r; \
5552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5554 for flag in $(EXTRA_HOST_FLAGS) ; do \
5555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5557 echo "Doing maintainer-clean in binutils" ; \
5558 (cd $(HOST_SUBDIR)/binutils && \
5559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5561 "RANLIB=$${RANLIB}" \
5562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5570 .PHONY: configure-bison maybe-configure-bison
5571 maybe-configure-bison:
5573 configure-bison: stage_current
5574 @endif gcc-bootstrap
5576 maybe-configure-bison: configure-bison
5578 @: $(MAKE); $(unstage)
5579 @r=`${PWD_COMMAND}`; export r; \
5580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5581 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5584 echo Configuring in $(HOST_SUBDIR)/bison; \
5585 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5588 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5591 srcdiroption="--srcdir=$${topdir}/bison"; \
5592 libsrcdir="$$s/bison"; \
5593 $(SHELL) $${libsrcdir}/configure \
5594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5595 --target=${target_alias} $${srcdiroption} \
5603 .PHONY: all-bison maybe-all-bison
5606 all-bison: stage_current
5607 @endif gcc-bootstrap
5610 maybe-all-bison: all-bison
5611 all-bison: configure-bison
5612 @: $(MAKE); $(unstage)
5613 @r=`${PWD_COMMAND}`; export r; \
5614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5616 (cd $(HOST_SUBDIR)/bison && \
5617 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5624 .PHONY: check-bison maybe-check-bison
5627 maybe-check-bison: check-bison
5629 # This module is only tested in a native toolchain.
5631 @: $(MAKE); $(unstage)
5632 @if [ '$(host)' = '$(target)' ] ; then \
5633 r=`${PWD_COMMAND}`; export r; \
5634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5636 (cd $(HOST_SUBDIR)/bison && \
5637 $(MAKE) $(FLAGS_TO_PASS) check); \
5642 .PHONY: install-bison maybe-install-bison
5643 maybe-install-bison:
5645 maybe-install-bison: install-bison
5647 install-bison: installdirs
5648 @: $(MAKE); $(unstage)
5649 @r=`${PWD_COMMAND}`; export r; \
5650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5652 (cd $(HOST_SUBDIR)/bison && \
5653 $(MAKE) $(FLAGS_TO_PASS) install)
5657 .PHONY: install-strip-bison maybe-install-strip-bison
5658 maybe-install-strip-bison:
5660 maybe-install-strip-bison: install-strip-bison
5662 install-strip-bison: installdirs
5663 @: $(MAKE); $(unstage)
5664 @r=`${PWD_COMMAND}`; export r; \
5665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5667 (cd $(HOST_SUBDIR)/bison && \
5668 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5672 # Other targets (info, dvi, pdf, etc.)
5674 .PHONY: maybe-info-bison info-bison
5677 maybe-info-bison: info-bison
5681 @: $(MAKE); $(unstage)
5682 @[ -f ./bison/Makefile ] || exit 0; \
5683 r=`${PWD_COMMAND}`; export r; \
5684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5686 for flag in $(EXTRA_HOST_FLAGS) ; do \
5687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5689 echo "Doing info in bison" ; \
5690 (cd $(HOST_SUBDIR)/bison && \
5691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5693 "RANLIB=$${RANLIB}" \
5694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5700 .PHONY: maybe-dvi-bison dvi-bison
5703 maybe-dvi-bison: dvi-bison
5707 @: $(MAKE); $(unstage)
5708 @[ -f ./bison/Makefile ] || exit 0; \
5709 r=`${PWD_COMMAND}`; export r; \
5710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5712 for flag in $(EXTRA_HOST_FLAGS) ; do \
5713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5715 echo "Doing dvi in bison" ; \
5716 (cd $(HOST_SUBDIR)/bison && \
5717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5719 "RANLIB=$${RANLIB}" \
5720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5726 .PHONY: maybe-pdf-bison pdf-bison
5729 maybe-pdf-bison: pdf-bison
5733 @: $(MAKE); $(unstage)
5734 @[ -f ./bison/Makefile ] || exit 0; \
5735 r=`${PWD_COMMAND}`; export r; \
5736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5738 for flag in $(EXTRA_HOST_FLAGS) ; do \
5739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5741 echo "Doing pdf in bison" ; \
5742 (cd $(HOST_SUBDIR)/bison && \
5743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5745 "RANLIB=$${RANLIB}" \
5746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5752 .PHONY: maybe-html-bison html-bison
5755 maybe-html-bison: html-bison
5759 @: $(MAKE); $(unstage)
5760 @[ -f ./bison/Makefile ] || exit 0; \
5761 r=`${PWD_COMMAND}`; export r; \
5762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5764 for flag in $(EXTRA_HOST_FLAGS) ; do \
5765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5767 echo "Doing html in bison" ; \
5768 (cd $(HOST_SUBDIR)/bison && \
5769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5771 "RANLIB=$${RANLIB}" \
5772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5778 .PHONY: maybe-TAGS-bison TAGS-bison
5781 maybe-TAGS-bison: TAGS-bison
5785 @: $(MAKE); $(unstage)
5786 @[ -f ./bison/Makefile ] || exit 0; \
5787 r=`${PWD_COMMAND}`; export r; \
5788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5790 for flag in $(EXTRA_HOST_FLAGS) ; do \
5791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5793 echo "Doing TAGS in bison" ; \
5794 (cd $(HOST_SUBDIR)/bison && \
5795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5797 "RANLIB=$${RANLIB}" \
5798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5804 .PHONY: maybe-install-info-bison install-info-bison
5805 maybe-install-info-bison:
5807 maybe-install-info-bison: install-info-bison
5809 install-info-bison: \
5812 @: $(MAKE); $(unstage)
5813 @[ -f ./bison/Makefile ] || exit 0; \
5814 r=`${PWD_COMMAND}`; export r; \
5815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817 for flag in $(EXTRA_HOST_FLAGS) ; do \
5818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5820 echo "Doing install-info in bison" ; \
5821 (cd $(HOST_SUBDIR)/bison && \
5822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5824 "RANLIB=$${RANLIB}" \
5825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5831 .PHONY: maybe-install-pdf-bison install-pdf-bison
5832 maybe-install-pdf-bison:
5834 maybe-install-pdf-bison: install-pdf-bison
5836 install-pdf-bison: \
5839 @: $(MAKE); $(unstage)
5840 @[ -f ./bison/Makefile ] || exit 0; \
5841 r=`${PWD_COMMAND}`; export r; \
5842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5844 for flag in $(EXTRA_HOST_FLAGS) ; do \
5845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5847 echo "Doing install-pdf in bison" ; \
5848 (cd $(HOST_SUBDIR)/bison && \
5849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5851 "RANLIB=$${RANLIB}" \
5852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5858 .PHONY: maybe-install-html-bison install-html-bison
5859 maybe-install-html-bison:
5861 maybe-install-html-bison: install-html-bison
5863 install-html-bison: \
5866 @: $(MAKE); $(unstage)
5867 @[ -f ./bison/Makefile ] || exit 0; \
5868 r=`${PWD_COMMAND}`; export r; \
5869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5871 for flag in $(EXTRA_HOST_FLAGS) ; do \
5872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5874 echo "Doing install-html in bison" ; \
5875 (cd $(HOST_SUBDIR)/bison && \
5876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5878 "RANLIB=$${RANLIB}" \
5879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5885 .PHONY: maybe-installcheck-bison installcheck-bison
5886 maybe-installcheck-bison:
5888 maybe-installcheck-bison: installcheck-bison
5890 installcheck-bison: \
5892 @: $(MAKE); $(unstage)
5893 @[ -f ./bison/Makefile ] || exit 0; \
5894 r=`${PWD_COMMAND}`; export r; \
5895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5897 for flag in $(EXTRA_HOST_FLAGS) ; do \
5898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5900 echo "Doing installcheck in bison" ; \
5901 (cd $(HOST_SUBDIR)/bison && \
5902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5904 "RANLIB=$${RANLIB}" \
5905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5911 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5912 maybe-mostlyclean-bison:
5914 maybe-mostlyclean-bison: mostlyclean-bison
5917 @: $(MAKE); $(unstage)
5918 @[ -f ./bison/Makefile ] || exit 0; \
5919 r=`${PWD_COMMAND}`; export r; \
5920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5922 for flag in $(EXTRA_HOST_FLAGS) ; do \
5923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5925 echo "Doing mostlyclean in bison" ; \
5926 (cd $(HOST_SUBDIR)/bison && \
5927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5929 "RANLIB=$${RANLIB}" \
5930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5936 .PHONY: maybe-clean-bison clean-bison
5939 maybe-clean-bison: clean-bison
5942 @: $(MAKE); $(unstage)
5943 @[ -f ./bison/Makefile ] || exit 0; \
5944 r=`${PWD_COMMAND}`; export r; \
5945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5947 for flag in $(EXTRA_HOST_FLAGS) ; do \
5948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5950 echo "Doing clean in bison" ; \
5951 (cd $(HOST_SUBDIR)/bison && \
5952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5954 "RANLIB=$${RANLIB}" \
5955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5961 .PHONY: maybe-distclean-bison distclean-bison
5962 maybe-distclean-bison:
5964 maybe-distclean-bison: distclean-bison
5967 @: $(MAKE); $(unstage)
5968 @[ -f ./bison/Makefile ] || exit 0; \
5969 r=`${PWD_COMMAND}`; export r; \
5970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5972 for flag in $(EXTRA_HOST_FLAGS) ; do \
5973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5975 echo "Doing distclean in bison" ; \
5976 (cd $(HOST_SUBDIR)/bison && \
5977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5979 "RANLIB=$${RANLIB}" \
5980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5986 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5987 maybe-maintainer-clean-bison:
5989 maybe-maintainer-clean-bison: maintainer-clean-bison
5991 maintainer-clean-bison:
5992 @: $(MAKE); $(unstage)
5993 @[ -f ./bison/Makefile ] || exit 0; \
5994 r=`${PWD_COMMAND}`; export r; \
5995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5997 for flag in $(EXTRA_HOST_FLAGS) ; do \
5998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6000 echo "Doing maintainer-clean in bison" ; \
6001 (cd $(HOST_SUBDIR)/bison && \
6002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6004 "RANLIB=$${RANLIB}" \
6005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6013 .PHONY: configure-cgen maybe-configure-cgen
6014 maybe-configure-cgen:
6016 configure-cgen: stage_current
6017 @endif gcc-bootstrap
6019 maybe-configure-cgen: configure-cgen
6021 @: $(MAKE); $(unstage)
6022 @r=`${PWD_COMMAND}`; export r; \
6023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6024 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6027 echo Configuring in $(HOST_SUBDIR)/cgen; \
6028 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6031 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6034 srcdiroption="--srcdir=$${topdir}/cgen"; \
6035 libsrcdir="$$s/cgen"; \
6036 $(SHELL) $${libsrcdir}/configure \
6037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6038 --target=${target_alias} $${srcdiroption} \
6046 .PHONY: all-cgen maybe-all-cgen
6049 all-cgen: stage_current
6050 @endif gcc-bootstrap
6053 maybe-all-cgen: all-cgen
6054 all-cgen: configure-cgen
6055 @: $(MAKE); $(unstage)
6056 @r=`${PWD_COMMAND}`; export r; \
6057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6059 (cd $(HOST_SUBDIR)/cgen && \
6060 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6067 .PHONY: check-cgen maybe-check-cgen
6070 maybe-check-cgen: check-cgen
6073 @: $(MAKE); $(unstage)
6074 @r=`${PWD_COMMAND}`; export r; \
6075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6077 (cd $(HOST_SUBDIR)/cgen && \
6078 $(MAKE) $(FLAGS_TO_PASS) check)
6082 .PHONY: install-cgen maybe-install-cgen
6085 maybe-install-cgen: install-cgen
6087 install-cgen: installdirs
6088 @: $(MAKE); $(unstage)
6089 @r=`${PWD_COMMAND}`; export r; \
6090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6092 (cd $(HOST_SUBDIR)/cgen && \
6093 $(MAKE) $(FLAGS_TO_PASS) install)
6097 .PHONY: install-strip-cgen maybe-install-strip-cgen
6098 maybe-install-strip-cgen:
6100 maybe-install-strip-cgen: install-strip-cgen
6102 install-strip-cgen: installdirs
6103 @: $(MAKE); $(unstage)
6104 @r=`${PWD_COMMAND}`; export r; \
6105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6107 (cd $(HOST_SUBDIR)/cgen && \
6108 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6112 # Other targets (info, dvi, pdf, etc.)
6114 .PHONY: maybe-info-cgen info-cgen
6117 maybe-info-cgen: info-cgen
6121 @: $(MAKE); $(unstage)
6122 @[ -f ./cgen/Makefile ] || exit 0; \
6123 r=`${PWD_COMMAND}`; export r; \
6124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6126 for flag in $(EXTRA_HOST_FLAGS) ; do \
6127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6129 echo "Doing info in cgen" ; \
6130 (cd $(HOST_SUBDIR)/cgen && \
6131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6133 "RANLIB=$${RANLIB}" \
6134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6140 .PHONY: maybe-dvi-cgen dvi-cgen
6143 maybe-dvi-cgen: dvi-cgen
6147 @: $(MAKE); $(unstage)
6148 @[ -f ./cgen/Makefile ] || exit 0; \
6149 r=`${PWD_COMMAND}`; export r; \
6150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6152 for flag in $(EXTRA_HOST_FLAGS) ; do \
6153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6155 echo "Doing dvi in cgen" ; \
6156 (cd $(HOST_SUBDIR)/cgen && \
6157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6159 "RANLIB=$${RANLIB}" \
6160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6166 .PHONY: maybe-pdf-cgen pdf-cgen
6169 maybe-pdf-cgen: pdf-cgen
6173 @: $(MAKE); $(unstage)
6174 @[ -f ./cgen/Makefile ] || exit 0; \
6175 r=`${PWD_COMMAND}`; export r; \
6176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6178 for flag in $(EXTRA_HOST_FLAGS) ; do \
6179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6181 echo "Doing pdf in cgen" ; \
6182 (cd $(HOST_SUBDIR)/cgen && \
6183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6185 "RANLIB=$${RANLIB}" \
6186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6192 .PHONY: maybe-html-cgen html-cgen
6195 maybe-html-cgen: html-cgen
6199 @: $(MAKE); $(unstage)
6200 @[ -f ./cgen/Makefile ] || exit 0; \
6201 r=`${PWD_COMMAND}`; export r; \
6202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6204 for flag in $(EXTRA_HOST_FLAGS) ; do \
6205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6207 echo "Doing html in cgen" ; \
6208 (cd $(HOST_SUBDIR)/cgen && \
6209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6211 "RANLIB=$${RANLIB}" \
6212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6218 .PHONY: maybe-TAGS-cgen TAGS-cgen
6221 maybe-TAGS-cgen: TAGS-cgen
6225 @: $(MAKE); $(unstage)
6226 @[ -f ./cgen/Makefile ] || exit 0; \
6227 r=`${PWD_COMMAND}`; export r; \
6228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6230 for flag in $(EXTRA_HOST_FLAGS) ; do \
6231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6233 echo "Doing TAGS in cgen" ; \
6234 (cd $(HOST_SUBDIR)/cgen && \
6235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6237 "RANLIB=$${RANLIB}" \
6238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6244 .PHONY: maybe-install-info-cgen install-info-cgen
6245 maybe-install-info-cgen:
6247 maybe-install-info-cgen: install-info-cgen
6249 install-info-cgen: \
6252 @: $(MAKE); $(unstage)
6253 @[ -f ./cgen/Makefile ] || exit 0; \
6254 r=`${PWD_COMMAND}`; export r; \
6255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6257 for flag in $(EXTRA_HOST_FLAGS) ; do \
6258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6260 echo "Doing install-info in cgen" ; \
6261 (cd $(HOST_SUBDIR)/cgen && \
6262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6264 "RANLIB=$${RANLIB}" \
6265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6271 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6272 maybe-install-pdf-cgen:
6274 maybe-install-pdf-cgen: install-pdf-cgen
6279 @: $(MAKE); $(unstage)
6280 @[ -f ./cgen/Makefile ] || exit 0; \
6281 r=`${PWD_COMMAND}`; export r; \
6282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6284 for flag in $(EXTRA_HOST_FLAGS) ; do \
6285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6287 echo "Doing install-pdf in cgen" ; \
6288 (cd $(HOST_SUBDIR)/cgen && \
6289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6291 "RANLIB=$${RANLIB}" \
6292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6298 .PHONY: maybe-install-html-cgen install-html-cgen
6299 maybe-install-html-cgen:
6301 maybe-install-html-cgen: install-html-cgen
6303 install-html-cgen: \
6306 @: $(MAKE); $(unstage)
6307 @[ -f ./cgen/Makefile ] || exit 0; \
6308 r=`${PWD_COMMAND}`; export r; \
6309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6311 for flag in $(EXTRA_HOST_FLAGS) ; do \
6312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6314 echo "Doing install-html in cgen" ; \
6315 (cd $(HOST_SUBDIR)/cgen && \
6316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6318 "RANLIB=$${RANLIB}" \
6319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6325 .PHONY: maybe-installcheck-cgen installcheck-cgen
6326 maybe-installcheck-cgen:
6328 maybe-installcheck-cgen: installcheck-cgen
6330 installcheck-cgen: \
6332 @: $(MAKE); $(unstage)
6333 @[ -f ./cgen/Makefile ] || exit 0; \
6334 r=`${PWD_COMMAND}`; export r; \
6335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6337 for flag in $(EXTRA_HOST_FLAGS) ; do \
6338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6340 echo "Doing installcheck in cgen" ; \
6341 (cd $(HOST_SUBDIR)/cgen && \
6342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6344 "RANLIB=$${RANLIB}" \
6345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6351 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6352 maybe-mostlyclean-cgen:
6354 maybe-mostlyclean-cgen: mostlyclean-cgen
6357 @: $(MAKE); $(unstage)
6358 @[ -f ./cgen/Makefile ] || exit 0; \
6359 r=`${PWD_COMMAND}`; export r; \
6360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6362 for flag in $(EXTRA_HOST_FLAGS) ; do \
6363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6365 echo "Doing mostlyclean in cgen" ; \
6366 (cd $(HOST_SUBDIR)/cgen && \
6367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6369 "RANLIB=$${RANLIB}" \
6370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6376 .PHONY: maybe-clean-cgen clean-cgen
6379 maybe-clean-cgen: clean-cgen
6382 @: $(MAKE); $(unstage)
6383 @[ -f ./cgen/Makefile ] || exit 0; \
6384 r=`${PWD_COMMAND}`; export r; \
6385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6387 for flag in $(EXTRA_HOST_FLAGS) ; do \
6388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6390 echo "Doing clean in cgen" ; \
6391 (cd $(HOST_SUBDIR)/cgen && \
6392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6394 "RANLIB=$${RANLIB}" \
6395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6401 .PHONY: maybe-distclean-cgen distclean-cgen
6402 maybe-distclean-cgen:
6404 maybe-distclean-cgen: distclean-cgen
6407 @: $(MAKE); $(unstage)
6408 @[ -f ./cgen/Makefile ] || exit 0; \
6409 r=`${PWD_COMMAND}`; export r; \
6410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6412 for flag in $(EXTRA_HOST_FLAGS) ; do \
6413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6415 echo "Doing distclean in cgen" ; \
6416 (cd $(HOST_SUBDIR)/cgen && \
6417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6419 "RANLIB=$${RANLIB}" \
6420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6426 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6427 maybe-maintainer-clean-cgen:
6429 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6431 maintainer-clean-cgen:
6432 @: $(MAKE); $(unstage)
6433 @[ -f ./cgen/Makefile ] || exit 0; \
6434 r=`${PWD_COMMAND}`; export r; \
6435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6437 for flag in $(EXTRA_HOST_FLAGS) ; do \
6438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6440 echo "Doing maintainer-clean in cgen" ; \
6441 (cd $(HOST_SUBDIR)/cgen && \
6442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6444 "RANLIB=$${RANLIB}" \
6445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6453 .PHONY: configure-dejagnu maybe-configure-dejagnu
6454 maybe-configure-dejagnu:
6456 configure-dejagnu: stage_current
6457 @endif gcc-bootstrap
6459 maybe-configure-dejagnu: configure-dejagnu
6461 @: $(MAKE); $(unstage)
6462 @r=`${PWD_COMMAND}`; export r; \
6463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6464 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6467 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6468 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6471 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6474 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6475 libsrcdir="$$s/dejagnu"; \
6476 $(SHELL) $${libsrcdir}/configure \
6477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6478 --target=${target_alias} $${srcdiroption} \
6486 .PHONY: all-dejagnu maybe-all-dejagnu
6489 all-dejagnu: stage_current
6490 @endif gcc-bootstrap
6493 maybe-all-dejagnu: all-dejagnu
6494 all-dejagnu: configure-dejagnu
6495 @: $(MAKE); $(unstage)
6496 @r=`${PWD_COMMAND}`; export r; \
6497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6499 (cd $(HOST_SUBDIR)/dejagnu && \
6500 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6507 .PHONY: check-dejagnu maybe-check-dejagnu
6508 maybe-check-dejagnu:
6510 maybe-check-dejagnu: check-dejagnu
6513 @: $(MAKE); $(unstage)
6514 @r=`${PWD_COMMAND}`; export r; \
6515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6517 (cd $(HOST_SUBDIR)/dejagnu && \
6518 $(MAKE) $(FLAGS_TO_PASS) check)
6522 .PHONY: install-dejagnu maybe-install-dejagnu
6523 maybe-install-dejagnu:
6525 maybe-install-dejagnu: install-dejagnu
6527 install-dejagnu: installdirs
6528 @: $(MAKE); $(unstage)
6529 @r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 (cd $(HOST_SUBDIR)/dejagnu && \
6533 $(MAKE) $(FLAGS_TO_PASS) install)
6537 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6538 maybe-install-strip-dejagnu:
6540 maybe-install-strip-dejagnu: install-strip-dejagnu
6542 install-strip-dejagnu: installdirs
6543 @: $(MAKE); $(unstage)
6544 @r=`${PWD_COMMAND}`; export r; \
6545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6547 (cd $(HOST_SUBDIR)/dejagnu && \
6548 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6552 # Other targets (info, dvi, pdf, etc.)
6554 .PHONY: maybe-info-dejagnu info-dejagnu
6557 maybe-info-dejagnu: info-dejagnu
6561 @: $(MAKE); $(unstage)
6562 @[ -f ./dejagnu/Makefile ] || exit 0; \
6563 r=`${PWD_COMMAND}`; export r; \
6564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6566 for flag in $(EXTRA_HOST_FLAGS) ; do \
6567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6569 echo "Doing info in dejagnu" ; \
6570 (cd $(HOST_SUBDIR)/dejagnu && \
6571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6573 "RANLIB=$${RANLIB}" \
6574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6580 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6583 maybe-dvi-dejagnu: dvi-dejagnu
6587 @: $(MAKE); $(unstage)
6588 @[ -f ./dejagnu/Makefile ] || exit 0; \
6589 r=`${PWD_COMMAND}`; export r; \
6590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6592 for flag in $(EXTRA_HOST_FLAGS) ; do \
6593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6595 echo "Doing dvi in dejagnu" ; \
6596 (cd $(HOST_SUBDIR)/dejagnu && \
6597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6599 "RANLIB=$${RANLIB}" \
6600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6606 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6609 maybe-pdf-dejagnu: pdf-dejagnu
6613 @: $(MAKE); $(unstage)
6614 @[ -f ./dejagnu/Makefile ] || exit 0; \
6615 r=`${PWD_COMMAND}`; export r; \
6616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6618 for flag in $(EXTRA_HOST_FLAGS) ; do \
6619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6621 echo "Doing pdf in dejagnu" ; \
6622 (cd $(HOST_SUBDIR)/dejagnu && \
6623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6625 "RANLIB=$${RANLIB}" \
6626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6632 .PHONY: maybe-html-dejagnu html-dejagnu
6635 maybe-html-dejagnu: html-dejagnu
6639 @: $(MAKE); $(unstage)
6640 @[ -f ./dejagnu/Makefile ] || exit 0; \
6641 r=`${PWD_COMMAND}`; export r; \
6642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6644 for flag in $(EXTRA_HOST_FLAGS) ; do \
6645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6647 echo "Doing html in dejagnu" ; \
6648 (cd $(HOST_SUBDIR)/dejagnu && \
6649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6651 "RANLIB=$${RANLIB}" \
6652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6658 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6661 maybe-TAGS-dejagnu: TAGS-dejagnu
6665 @: $(MAKE); $(unstage)
6666 @[ -f ./dejagnu/Makefile ] || exit 0; \
6667 r=`${PWD_COMMAND}`; export r; \
6668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6670 for flag in $(EXTRA_HOST_FLAGS) ; do \
6671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6673 echo "Doing TAGS in dejagnu" ; \
6674 (cd $(HOST_SUBDIR)/dejagnu && \
6675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6677 "RANLIB=$${RANLIB}" \
6678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6684 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6685 maybe-install-info-dejagnu:
6687 maybe-install-info-dejagnu: install-info-dejagnu
6689 install-info-dejagnu: \
6692 @: $(MAKE); $(unstage)
6693 @[ -f ./dejagnu/Makefile ] || exit 0; \
6694 r=`${PWD_COMMAND}`; export r; \
6695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6697 for flag in $(EXTRA_HOST_FLAGS) ; do \
6698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6700 echo "Doing install-info in dejagnu" ; \
6701 (cd $(HOST_SUBDIR)/dejagnu && \
6702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6704 "RANLIB=$${RANLIB}" \
6705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6711 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6712 maybe-install-pdf-dejagnu:
6714 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6716 install-pdf-dejagnu: \
6719 @: $(MAKE); $(unstage)
6720 @[ -f ./dejagnu/Makefile ] || exit 0; \
6721 r=`${PWD_COMMAND}`; export r; \
6722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6724 for flag in $(EXTRA_HOST_FLAGS) ; do \
6725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6727 echo "Doing install-pdf in dejagnu" ; \
6728 (cd $(HOST_SUBDIR)/dejagnu && \
6729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6731 "RANLIB=$${RANLIB}" \
6732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6738 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6739 maybe-install-html-dejagnu:
6741 maybe-install-html-dejagnu: install-html-dejagnu
6743 install-html-dejagnu: \
6746 @: $(MAKE); $(unstage)
6747 @[ -f ./dejagnu/Makefile ] || exit 0; \
6748 r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6751 for flag in $(EXTRA_HOST_FLAGS) ; do \
6752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6754 echo "Doing install-html in dejagnu" ; \
6755 (cd $(HOST_SUBDIR)/dejagnu && \
6756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6758 "RANLIB=$${RANLIB}" \
6759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6765 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6766 maybe-installcheck-dejagnu:
6768 maybe-installcheck-dejagnu: installcheck-dejagnu
6770 installcheck-dejagnu: \
6772 @: $(MAKE); $(unstage)
6773 @[ -f ./dejagnu/Makefile ] || exit 0; \
6774 r=`${PWD_COMMAND}`; export r; \
6775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6777 for flag in $(EXTRA_HOST_FLAGS) ; do \
6778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6780 echo "Doing installcheck in dejagnu" ; \
6781 (cd $(HOST_SUBDIR)/dejagnu && \
6782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6784 "RANLIB=$${RANLIB}" \
6785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6791 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6792 maybe-mostlyclean-dejagnu:
6794 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6796 mostlyclean-dejagnu:
6797 @: $(MAKE); $(unstage)
6798 @[ -f ./dejagnu/Makefile ] || exit 0; \
6799 r=`${PWD_COMMAND}`; export r; \
6800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6802 for flag in $(EXTRA_HOST_FLAGS) ; do \
6803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6805 echo "Doing mostlyclean in dejagnu" ; \
6806 (cd $(HOST_SUBDIR)/dejagnu && \
6807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6809 "RANLIB=$${RANLIB}" \
6810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6816 .PHONY: maybe-clean-dejagnu clean-dejagnu
6817 maybe-clean-dejagnu:
6819 maybe-clean-dejagnu: clean-dejagnu
6822 @: $(MAKE); $(unstage)
6823 @[ -f ./dejagnu/Makefile ] || exit 0; \
6824 r=`${PWD_COMMAND}`; export r; \
6825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6827 for flag in $(EXTRA_HOST_FLAGS) ; do \
6828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6830 echo "Doing clean in dejagnu" ; \
6831 (cd $(HOST_SUBDIR)/dejagnu && \
6832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6834 "RANLIB=$${RANLIB}" \
6835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6841 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6842 maybe-distclean-dejagnu:
6844 maybe-distclean-dejagnu: distclean-dejagnu
6847 @: $(MAKE); $(unstage)
6848 @[ -f ./dejagnu/Makefile ] || exit 0; \
6849 r=`${PWD_COMMAND}`; export r; \
6850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6852 for flag in $(EXTRA_HOST_FLAGS) ; do \
6853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6855 echo "Doing distclean in dejagnu" ; \
6856 (cd $(HOST_SUBDIR)/dejagnu && \
6857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6859 "RANLIB=$${RANLIB}" \
6860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6866 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6867 maybe-maintainer-clean-dejagnu:
6869 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6871 maintainer-clean-dejagnu:
6872 @: $(MAKE); $(unstage)
6873 @[ -f ./dejagnu/Makefile ] || exit 0; \
6874 r=`${PWD_COMMAND}`; export r; \
6875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6877 for flag in $(EXTRA_HOST_FLAGS) ; do \
6878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6880 echo "Doing maintainer-clean in dejagnu" ; \
6881 (cd $(HOST_SUBDIR)/dejagnu && \
6882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6884 "RANLIB=$${RANLIB}" \
6885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6893 .PHONY: configure-etc maybe-configure-etc
6894 maybe-configure-etc:
6896 configure-etc: stage_current
6897 @endif gcc-bootstrap
6899 maybe-configure-etc: configure-etc
6901 @: $(MAKE); $(unstage)
6902 @r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6904 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6907 echo Configuring in $(HOST_SUBDIR)/etc; \
6908 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6911 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6914 srcdiroption="--srcdir=$${topdir}/etc"; \
6915 libsrcdir="$$s/etc"; \
6916 $(SHELL) $${libsrcdir}/configure \
6917 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6918 --target=${target_alias} $${srcdiroption} \
6926 .PHONY: all-etc maybe-all-etc
6929 all-etc: stage_current
6930 @endif gcc-bootstrap
6933 maybe-all-etc: all-etc
6934 all-etc: configure-etc
6935 @: $(MAKE); $(unstage)
6936 @r=`${PWD_COMMAND}`; export r; \
6937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6939 (cd $(HOST_SUBDIR)/etc && \
6940 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6947 .PHONY: check-etc maybe-check-etc
6950 maybe-check-etc: check-etc
6953 @: $(MAKE); $(unstage)
6954 @r=`${PWD_COMMAND}`; export r; \
6955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6957 (cd $(HOST_SUBDIR)/etc && \
6958 $(MAKE) $(FLAGS_TO_PASS) check)
6962 .PHONY: install-etc maybe-install-etc
6965 maybe-install-etc: install-etc
6967 install-etc: installdirs
6968 @: $(MAKE); $(unstage)
6969 @r=`${PWD_COMMAND}`; export r; \
6970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 (cd $(HOST_SUBDIR)/etc && \
6973 $(MAKE) $(FLAGS_TO_PASS) install)
6977 .PHONY: install-strip-etc maybe-install-strip-etc
6978 maybe-install-strip-etc:
6980 maybe-install-strip-etc: install-strip-etc
6982 install-strip-etc: installdirs
6983 @: $(MAKE); $(unstage)
6984 @r=`${PWD_COMMAND}`; export r; \
6985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6987 (cd $(HOST_SUBDIR)/etc && \
6988 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6992 # Other targets (info, dvi, pdf, etc.)
6994 .PHONY: maybe-info-etc info-etc
6997 maybe-info-etc: info-etc
7001 @: $(MAKE); $(unstage)
7002 @[ -f ./etc/Makefile ] || exit 0; \
7003 r=`${PWD_COMMAND}`; export r; \
7004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7006 for flag in $(EXTRA_HOST_FLAGS) ; do \
7007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7009 echo "Doing info in etc" ; \
7010 (cd $(HOST_SUBDIR)/etc && \
7011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7013 "RANLIB=$${RANLIB}" \
7014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7020 .PHONY: maybe-dvi-etc dvi-etc
7023 maybe-dvi-etc: dvi-etc
7027 @: $(MAKE); $(unstage)
7028 @[ -f ./etc/Makefile ] || exit 0; \
7029 r=`${PWD_COMMAND}`; export r; \
7030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7032 for flag in $(EXTRA_HOST_FLAGS) ; do \
7033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7035 echo "Doing dvi in etc" ; \
7036 (cd $(HOST_SUBDIR)/etc && \
7037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7039 "RANLIB=$${RANLIB}" \
7040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7046 .PHONY: maybe-pdf-etc pdf-etc
7049 maybe-pdf-etc: pdf-etc
7053 @: $(MAKE); $(unstage)
7054 @[ -f ./etc/Makefile ] || exit 0; \
7055 r=`${PWD_COMMAND}`; export r; \
7056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7058 for flag in $(EXTRA_HOST_FLAGS) ; do \
7059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7061 echo "Doing pdf in etc" ; \
7062 (cd $(HOST_SUBDIR)/etc && \
7063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7065 "RANLIB=$${RANLIB}" \
7066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7072 .PHONY: maybe-html-etc html-etc
7075 maybe-html-etc: html-etc
7079 @: $(MAKE); $(unstage)
7080 @[ -f ./etc/Makefile ] || exit 0; \
7081 r=`${PWD_COMMAND}`; export r; \
7082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7087 echo "Doing html in etc" ; \
7088 (cd $(HOST_SUBDIR)/etc && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7098 .PHONY: maybe-TAGS-etc TAGS-etc
7101 maybe-TAGS-etc: TAGS-etc
7105 @: $(MAKE); $(unstage)
7106 @[ -f ./etc/Makefile ] || exit 0; \
7107 r=`${PWD_COMMAND}`; export r; \
7108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7110 for flag in $(EXTRA_HOST_FLAGS) ; do \
7111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7113 echo "Doing TAGS in etc" ; \
7114 (cd $(HOST_SUBDIR)/etc && \
7115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7117 "RANLIB=$${RANLIB}" \
7118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7124 .PHONY: maybe-install-info-etc install-info-etc
7125 maybe-install-info-etc:
7127 maybe-install-info-etc: install-info-etc
7132 @: $(MAKE); $(unstage)
7133 @[ -f ./etc/Makefile ] || exit 0; \
7134 r=`${PWD_COMMAND}`; export r; \
7135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 for flag in $(EXTRA_HOST_FLAGS) ; do \
7138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7140 echo "Doing install-info in etc" ; \
7141 (cd $(HOST_SUBDIR)/etc && \
7142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7144 "RANLIB=$${RANLIB}" \
7145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7151 .PHONY: maybe-install-pdf-etc install-pdf-etc
7152 maybe-install-pdf-etc:
7154 maybe-install-pdf-etc: install-pdf-etc
7159 @: $(MAKE); $(unstage)
7160 @[ -f ./etc/Makefile ] || exit 0; \
7161 r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7164 for flag in $(EXTRA_HOST_FLAGS) ; do \
7165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7167 echo "Doing install-pdf in etc" ; \
7168 (cd $(HOST_SUBDIR)/etc && \
7169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7171 "RANLIB=$${RANLIB}" \
7172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7178 .PHONY: maybe-install-html-etc install-html-etc
7179 maybe-install-html-etc:
7181 maybe-install-html-etc: install-html-etc
7186 @: $(MAKE); $(unstage)
7187 @[ -f ./etc/Makefile ] || exit 0; \
7188 r=`${PWD_COMMAND}`; export r; \
7189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7191 for flag in $(EXTRA_HOST_FLAGS) ; do \
7192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7194 echo "Doing install-html in etc" ; \
7195 (cd $(HOST_SUBDIR)/etc && \
7196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7198 "RANLIB=$${RANLIB}" \
7199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7205 .PHONY: maybe-installcheck-etc installcheck-etc
7206 maybe-installcheck-etc:
7208 maybe-installcheck-etc: installcheck-etc
7212 @: $(MAKE); $(unstage)
7213 @[ -f ./etc/Makefile ] || exit 0; \
7214 r=`${PWD_COMMAND}`; export r; \
7215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7217 for flag in $(EXTRA_HOST_FLAGS) ; do \
7218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7220 echo "Doing installcheck in etc" ; \
7221 (cd $(HOST_SUBDIR)/etc && \
7222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7224 "RANLIB=$${RANLIB}" \
7225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7231 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7232 maybe-mostlyclean-etc:
7234 maybe-mostlyclean-etc: mostlyclean-etc
7237 @: $(MAKE); $(unstage)
7238 @[ -f ./etc/Makefile ] || exit 0; \
7239 r=`${PWD_COMMAND}`; export r; \
7240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7242 for flag in $(EXTRA_HOST_FLAGS) ; do \
7243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7245 echo "Doing mostlyclean in etc" ; \
7246 (cd $(HOST_SUBDIR)/etc && \
7247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7249 "RANLIB=$${RANLIB}" \
7250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7256 .PHONY: maybe-clean-etc clean-etc
7259 maybe-clean-etc: clean-etc
7262 @: $(MAKE); $(unstage)
7263 @[ -f ./etc/Makefile ] || exit 0; \
7264 r=`${PWD_COMMAND}`; export r; \
7265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7267 for flag in $(EXTRA_HOST_FLAGS) ; do \
7268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7270 echo "Doing clean in etc" ; \
7271 (cd $(HOST_SUBDIR)/etc && \
7272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7274 "RANLIB=$${RANLIB}" \
7275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7281 .PHONY: maybe-distclean-etc distclean-etc
7282 maybe-distclean-etc:
7284 maybe-distclean-etc: distclean-etc
7287 @: $(MAKE); $(unstage)
7288 @[ -f ./etc/Makefile ] || exit 0; \
7289 r=`${PWD_COMMAND}`; export r; \
7290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7292 for flag in $(EXTRA_HOST_FLAGS) ; do \
7293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7295 echo "Doing distclean in etc" ; \
7296 (cd $(HOST_SUBDIR)/etc && \
7297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7299 "RANLIB=$${RANLIB}" \
7300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7306 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7307 maybe-maintainer-clean-etc:
7309 maybe-maintainer-clean-etc: maintainer-clean-etc
7311 maintainer-clean-etc:
7312 @: $(MAKE); $(unstage)
7313 @[ -f ./etc/Makefile ] || exit 0; \
7314 r=`${PWD_COMMAND}`; export r; \
7315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7317 for flag in $(EXTRA_HOST_FLAGS) ; do \
7318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7320 echo "Doing maintainer-clean in etc" ; \
7321 (cd $(HOST_SUBDIR)/etc && \
7322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7324 "RANLIB=$${RANLIB}" \
7325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7333 .PHONY: configure-fastjar maybe-configure-fastjar
7334 maybe-configure-fastjar:
7336 configure-fastjar: stage_current
7337 @endif gcc-bootstrap
7339 maybe-configure-fastjar: configure-fastjar
7341 @: $(MAKE); $(unstage)
7342 @r=`${PWD_COMMAND}`; export r; \
7343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7344 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7347 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7348 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7351 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7354 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7355 libsrcdir="$$s/fastjar"; \
7356 $(SHELL) $${libsrcdir}/configure \
7357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7358 --target=${target_alias} $${srcdiroption} \
7366 .PHONY: all-fastjar maybe-all-fastjar
7369 all-fastjar: stage_current
7370 @endif gcc-bootstrap
7373 maybe-all-fastjar: all-fastjar
7374 all-fastjar: configure-fastjar
7375 @: $(MAKE); $(unstage)
7376 @r=`${PWD_COMMAND}`; export r; \
7377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7379 (cd $(HOST_SUBDIR)/fastjar && \
7380 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7387 .PHONY: check-fastjar maybe-check-fastjar
7388 maybe-check-fastjar:
7390 maybe-check-fastjar: check-fastjar
7392 # This module is only tested in a native toolchain.
7394 @: $(MAKE); $(unstage)
7395 @if [ '$(host)' = '$(target)' ] ; then \
7396 r=`${PWD_COMMAND}`; export r; \
7397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7399 (cd $(HOST_SUBDIR)/fastjar && \
7400 $(MAKE) $(FLAGS_TO_PASS) check); \
7405 .PHONY: install-fastjar maybe-install-fastjar
7406 maybe-install-fastjar:
7408 maybe-install-fastjar: install-fastjar
7410 install-fastjar: installdirs
7411 @: $(MAKE); $(unstage)
7412 @r=`${PWD_COMMAND}`; export r; \
7413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7415 (cd $(HOST_SUBDIR)/fastjar && \
7416 $(MAKE) $(FLAGS_TO_PASS) install)
7420 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7421 maybe-install-strip-fastjar:
7423 maybe-install-strip-fastjar: install-strip-fastjar
7425 install-strip-fastjar: installdirs
7426 @: $(MAKE); $(unstage)
7427 @r=`${PWD_COMMAND}`; export r; \
7428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7430 (cd $(HOST_SUBDIR)/fastjar && \
7431 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7435 # Other targets (info, dvi, pdf, etc.)
7437 .PHONY: maybe-info-fastjar info-fastjar
7440 maybe-info-fastjar: info-fastjar
7444 @: $(MAKE); $(unstage)
7445 @[ -f ./fastjar/Makefile ] || exit 0; \
7446 r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7449 for flag in $(EXTRA_HOST_FLAGS) ; do \
7450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7452 echo "Doing info in fastjar" ; \
7453 (cd $(HOST_SUBDIR)/fastjar && \
7454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7456 "RANLIB=$${RANLIB}" \
7457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7463 .PHONY: maybe-dvi-fastjar dvi-fastjar
7466 maybe-dvi-fastjar: dvi-fastjar
7470 @: $(MAKE); $(unstage)
7471 @[ -f ./fastjar/Makefile ] || exit 0; \
7472 r=`${PWD_COMMAND}`; export r; \
7473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7475 for flag in $(EXTRA_HOST_FLAGS) ; do \
7476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7478 echo "Doing dvi in fastjar" ; \
7479 (cd $(HOST_SUBDIR)/fastjar && \
7480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7482 "RANLIB=$${RANLIB}" \
7483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7489 .PHONY: maybe-pdf-fastjar pdf-fastjar
7492 maybe-pdf-fastjar: pdf-fastjar
7496 @: $(MAKE); $(unstage)
7497 @[ -f ./fastjar/Makefile ] || exit 0; \
7498 r=`${PWD_COMMAND}`; export r; \
7499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7501 for flag in $(EXTRA_HOST_FLAGS) ; do \
7502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7504 echo "Doing pdf in fastjar" ; \
7505 (cd $(HOST_SUBDIR)/fastjar && \
7506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7508 "RANLIB=$${RANLIB}" \
7509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7515 .PHONY: maybe-html-fastjar html-fastjar
7518 maybe-html-fastjar: html-fastjar
7522 @: $(MAKE); $(unstage)
7523 @[ -f ./fastjar/Makefile ] || exit 0; \
7524 r=`${PWD_COMMAND}`; export r; \
7525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7527 for flag in $(EXTRA_HOST_FLAGS) ; do \
7528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7530 echo "Doing html in fastjar" ; \
7531 (cd $(HOST_SUBDIR)/fastjar && \
7532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7534 "RANLIB=$${RANLIB}" \
7535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7541 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7544 maybe-TAGS-fastjar: TAGS-fastjar
7548 @: $(MAKE); $(unstage)
7549 @[ -f ./fastjar/Makefile ] || exit 0; \
7550 r=`${PWD_COMMAND}`; export r; \
7551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7553 for flag in $(EXTRA_HOST_FLAGS) ; do \
7554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7556 echo "Doing TAGS in fastjar" ; \
7557 (cd $(HOST_SUBDIR)/fastjar && \
7558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7560 "RANLIB=$${RANLIB}" \
7561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7567 .PHONY: maybe-install-info-fastjar install-info-fastjar
7568 maybe-install-info-fastjar:
7570 maybe-install-info-fastjar: install-info-fastjar
7572 install-info-fastjar: \
7575 @: $(MAKE); $(unstage)
7576 @[ -f ./fastjar/Makefile ] || exit 0; \
7577 r=`${PWD_COMMAND}`; export r; \
7578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7580 for flag in $(EXTRA_HOST_FLAGS) ; do \
7581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7583 echo "Doing install-info in fastjar" ; \
7584 (cd $(HOST_SUBDIR)/fastjar && \
7585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7587 "RANLIB=$${RANLIB}" \
7588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7594 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7595 maybe-install-pdf-fastjar:
7597 maybe-install-pdf-fastjar: install-pdf-fastjar
7599 install-pdf-fastjar: \
7602 @: $(MAKE); $(unstage)
7603 @[ -f ./fastjar/Makefile ] || exit 0; \
7604 r=`${PWD_COMMAND}`; export r; \
7605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7607 for flag in $(EXTRA_HOST_FLAGS) ; do \
7608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7610 echo "Doing install-pdf in fastjar" ; \
7611 (cd $(HOST_SUBDIR)/fastjar && \
7612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7614 "RANLIB=$${RANLIB}" \
7615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7621 .PHONY: maybe-install-html-fastjar install-html-fastjar
7622 maybe-install-html-fastjar:
7624 maybe-install-html-fastjar: install-html-fastjar
7626 install-html-fastjar: \
7629 @: $(MAKE); $(unstage)
7630 @[ -f ./fastjar/Makefile ] || exit 0; \
7631 r=`${PWD_COMMAND}`; export r; \
7632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7634 for flag in $(EXTRA_HOST_FLAGS) ; do \
7635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7637 echo "Doing install-html in fastjar" ; \
7638 (cd $(HOST_SUBDIR)/fastjar && \
7639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7641 "RANLIB=$${RANLIB}" \
7642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7648 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7649 maybe-installcheck-fastjar:
7651 maybe-installcheck-fastjar: installcheck-fastjar
7653 installcheck-fastjar: \
7655 @: $(MAKE); $(unstage)
7656 @[ -f ./fastjar/Makefile ] || exit 0; \
7657 r=`${PWD_COMMAND}`; export r; \
7658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7660 for flag in $(EXTRA_HOST_FLAGS) ; do \
7661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7663 echo "Doing installcheck in fastjar" ; \
7664 (cd $(HOST_SUBDIR)/fastjar && \
7665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7667 "RANLIB=$${RANLIB}" \
7668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7674 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7675 maybe-mostlyclean-fastjar:
7677 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7679 mostlyclean-fastjar:
7680 @: $(MAKE); $(unstage)
7681 @[ -f ./fastjar/Makefile ] || exit 0; \
7682 r=`${PWD_COMMAND}`; export r; \
7683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 for flag in $(EXTRA_HOST_FLAGS) ; do \
7686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7688 echo "Doing mostlyclean in fastjar" ; \
7689 (cd $(HOST_SUBDIR)/fastjar && \
7690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7692 "RANLIB=$${RANLIB}" \
7693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7699 .PHONY: maybe-clean-fastjar clean-fastjar
7700 maybe-clean-fastjar:
7702 maybe-clean-fastjar: clean-fastjar
7705 @: $(MAKE); $(unstage)
7706 @[ -f ./fastjar/Makefile ] || exit 0; \
7707 r=`${PWD_COMMAND}`; export r; \
7708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7710 for flag in $(EXTRA_HOST_FLAGS) ; do \
7711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7713 echo "Doing clean in fastjar" ; \
7714 (cd $(HOST_SUBDIR)/fastjar && \
7715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7717 "RANLIB=$${RANLIB}" \
7718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7724 .PHONY: maybe-distclean-fastjar distclean-fastjar
7725 maybe-distclean-fastjar:
7727 maybe-distclean-fastjar: distclean-fastjar
7730 @: $(MAKE); $(unstage)
7731 @[ -f ./fastjar/Makefile ] || exit 0; \
7732 r=`${PWD_COMMAND}`; export r; \
7733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7735 for flag in $(EXTRA_HOST_FLAGS) ; do \
7736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7738 echo "Doing distclean in fastjar" ; \
7739 (cd $(HOST_SUBDIR)/fastjar && \
7740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7742 "RANLIB=$${RANLIB}" \
7743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7749 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7750 maybe-maintainer-clean-fastjar:
7752 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7754 maintainer-clean-fastjar:
7755 @: $(MAKE); $(unstage)
7756 @[ -f ./fastjar/Makefile ] || exit 0; \
7757 r=`${PWD_COMMAND}`; export r; \
7758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7760 for flag in $(EXTRA_HOST_FLAGS) ; do \
7761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7763 echo "Doing maintainer-clean in fastjar" ; \
7764 (cd $(HOST_SUBDIR)/fastjar && \
7765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7767 "RANLIB=$${RANLIB}" \
7768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7776 .PHONY: configure-fixincludes maybe-configure-fixincludes
7777 maybe-configure-fixincludes:
7779 configure-fixincludes: stage_current
7780 @endif gcc-bootstrap
7782 maybe-configure-fixincludes: configure-fixincludes
7783 configure-fixincludes:
7784 @: $(MAKE); $(unstage)
7785 @r=`${PWD_COMMAND}`; export r; \
7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7787 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7790 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7791 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7794 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7797 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7798 libsrcdir="$$s/fixincludes"; \
7799 $(SHELL) $${libsrcdir}/configure \
7800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7801 --target=${target_alias} $${srcdiroption} \
7809 .PHONY: all-fixincludes maybe-all-fixincludes
7810 maybe-all-fixincludes:
7812 all-fixincludes: stage_current
7813 @endif gcc-bootstrap
7815 TARGET-fixincludes=all
7816 maybe-all-fixincludes: all-fixincludes
7817 all-fixincludes: configure-fixincludes
7818 @: $(MAKE); $(unstage)
7819 @r=`${PWD_COMMAND}`; export r; \
7820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7822 (cd $(HOST_SUBDIR)/fixincludes && \
7823 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7824 $(TARGET-fixincludes))
7830 .PHONY: check-fixincludes maybe-check-fixincludes
7831 maybe-check-fixincludes:
7833 maybe-check-fixincludes: check-fixincludes
7836 @: $(MAKE); $(unstage)
7837 @r=`${PWD_COMMAND}`; export r; \
7838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7840 (cd $(HOST_SUBDIR)/fixincludes && \
7841 $(MAKE) $(FLAGS_TO_PASS) check)
7845 .PHONY: install-fixincludes maybe-install-fixincludes
7846 maybe-install-fixincludes:
7848 maybe-install-fixincludes: install-fixincludes
7850 install-fixincludes: installdirs
7851 @: $(MAKE); $(unstage)
7852 @r=`${PWD_COMMAND}`; export r; \
7853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7855 (cd $(HOST_SUBDIR)/fixincludes && \
7856 $(MAKE) $(FLAGS_TO_PASS) install)
7860 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7861 maybe-install-strip-fixincludes:
7863 maybe-install-strip-fixincludes: install-strip-fixincludes
7865 install-strip-fixincludes: installdirs
7866 @: $(MAKE); $(unstage)
7867 @r=`${PWD_COMMAND}`; export r; \
7868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7870 (cd $(HOST_SUBDIR)/fixincludes && \
7871 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7875 # Other targets (info, dvi, pdf, etc.)
7877 .PHONY: maybe-info-fixincludes info-fixincludes
7878 maybe-info-fixincludes:
7880 maybe-info-fixincludes: info-fixincludes
7883 configure-fixincludes
7884 @: $(MAKE); $(unstage)
7885 @[ -f ./fixincludes/Makefile ] || exit 0; \
7886 r=`${PWD_COMMAND}`; export r; \
7887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7889 for flag in $(EXTRA_HOST_FLAGS) ; do \
7890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7892 echo "Doing info in fixincludes" ; \
7893 (cd $(HOST_SUBDIR)/fixincludes && \
7894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7896 "RANLIB=$${RANLIB}" \
7897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7903 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7904 maybe-dvi-fixincludes:
7906 maybe-dvi-fixincludes: dvi-fixincludes
7909 configure-fixincludes
7910 @: $(MAKE); $(unstage)
7911 @[ -f ./fixincludes/Makefile ] || exit 0; \
7912 r=`${PWD_COMMAND}`; export r; \
7913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7915 for flag in $(EXTRA_HOST_FLAGS) ; do \
7916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7918 echo "Doing dvi in fixincludes" ; \
7919 (cd $(HOST_SUBDIR)/fixincludes && \
7920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7922 "RANLIB=$${RANLIB}" \
7923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7929 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7930 maybe-pdf-fixincludes:
7932 maybe-pdf-fixincludes: pdf-fixincludes
7935 configure-fixincludes
7936 @: $(MAKE); $(unstage)
7937 @[ -f ./fixincludes/Makefile ] || exit 0; \
7938 r=`${PWD_COMMAND}`; export r; \
7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7941 for flag in $(EXTRA_HOST_FLAGS) ; do \
7942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7944 echo "Doing pdf in fixincludes" ; \
7945 (cd $(HOST_SUBDIR)/fixincludes && \
7946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948 "RANLIB=$${RANLIB}" \
7949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7955 .PHONY: maybe-html-fixincludes html-fixincludes
7956 maybe-html-fixincludes:
7958 maybe-html-fixincludes: html-fixincludes
7961 configure-fixincludes
7962 @: $(MAKE); $(unstage)
7963 @[ -f ./fixincludes/Makefile ] || exit 0; \
7964 r=`${PWD_COMMAND}`; export r; \
7965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7967 for flag in $(EXTRA_HOST_FLAGS) ; do \
7968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7970 echo "Doing html in fixincludes" ; \
7971 (cd $(HOST_SUBDIR)/fixincludes && \
7972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7974 "RANLIB=$${RANLIB}" \
7975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7981 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7982 maybe-TAGS-fixincludes:
7984 maybe-TAGS-fixincludes: TAGS-fixincludes
7986 # fixincludes doesn't support TAGS.
7991 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7992 maybe-install-info-fixincludes:
7994 maybe-install-info-fixincludes: install-info-fixincludes
7996 install-info-fixincludes: \
7997 configure-fixincludes \
7999 @: $(MAKE); $(unstage)
8000 @[ -f ./fixincludes/Makefile ] || exit 0; \
8001 r=`${PWD_COMMAND}`; export r; \
8002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8004 for flag in $(EXTRA_HOST_FLAGS) ; do \
8005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8007 echo "Doing install-info in fixincludes" ; \
8008 (cd $(HOST_SUBDIR)/fixincludes && \
8009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8011 "RANLIB=$${RANLIB}" \
8012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8018 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8019 maybe-install-pdf-fixincludes:
8021 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8023 install-pdf-fixincludes: \
8024 configure-fixincludes \
8026 @: $(MAKE); $(unstage)
8027 @[ -f ./fixincludes/Makefile ] || exit 0; \
8028 r=`${PWD_COMMAND}`; export r; \
8029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8031 for flag in $(EXTRA_HOST_FLAGS) ; do \
8032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8034 echo "Doing install-pdf in fixincludes" ; \
8035 (cd $(HOST_SUBDIR)/fixincludes && \
8036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8038 "RANLIB=$${RANLIB}" \
8039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8045 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8046 maybe-install-html-fixincludes:
8048 maybe-install-html-fixincludes: install-html-fixincludes
8050 install-html-fixincludes: \
8051 configure-fixincludes \
8053 @: $(MAKE); $(unstage)
8054 @[ -f ./fixincludes/Makefile ] || exit 0; \
8055 r=`${PWD_COMMAND}`; export r; \
8056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8058 for flag in $(EXTRA_HOST_FLAGS) ; do \
8059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8061 echo "Doing install-html in fixincludes" ; \
8062 (cd $(HOST_SUBDIR)/fixincludes && \
8063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8065 "RANLIB=$${RANLIB}" \
8066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8072 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8073 maybe-installcheck-fixincludes:
8075 maybe-installcheck-fixincludes: installcheck-fixincludes
8077 installcheck-fixincludes: \
8078 configure-fixincludes
8079 @: $(MAKE); $(unstage)
8080 @[ -f ./fixincludes/Makefile ] || exit 0; \
8081 r=`${PWD_COMMAND}`; export r; \
8082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8084 for flag in $(EXTRA_HOST_FLAGS) ; do \
8085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8087 echo "Doing installcheck in fixincludes" ; \
8088 (cd $(HOST_SUBDIR)/fixincludes && \
8089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8091 "RANLIB=$${RANLIB}" \
8092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8098 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8099 maybe-mostlyclean-fixincludes:
8101 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8103 mostlyclean-fixincludes:
8104 @: $(MAKE); $(unstage)
8105 @[ -f ./fixincludes/Makefile ] || exit 0; \
8106 r=`${PWD_COMMAND}`; export r; \
8107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8109 for flag in $(EXTRA_HOST_FLAGS) ; do \
8110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8112 echo "Doing mostlyclean in fixincludes" ; \
8113 (cd $(HOST_SUBDIR)/fixincludes && \
8114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8116 "RANLIB=$${RANLIB}" \
8117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8123 .PHONY: maybe-clean-fixincludes clean-fixincludes
8124 maybe-clean-fixincludes:
8126 maybe-clean-fixincludes: clean-fixincludes
8129 @: $(MAKE); $(unstage)
8130 @[ -f ./fixincludes/Makefile ] || exit 0; \
8131 r=`${PWD_COMMAND}`; export r; \
8132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8134 for flag in $(EXTRA_HOST_FLAGS) ; do \
8135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8137 echo "Doing clean in fixincludes" ; \
8138 (cd $(HOST_SUBDIR)/fixincludes && \
8139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8141 "RANLIB=$${RANLIB}" \
8142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8148 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8149 maybe-distclean-fixincludes:
8151 maybe-distclean-fixincludes: distclean-fixincludes
8153 distclean-fixincludes:
8154 @: $(MAKE); $(unstage)
8155 @[ -f ./fixincludes/Makefile ] || exit 0; \
8156 r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8159 for flag in $(EXTRA_HOST_FLAGS) ; do \
8160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8162 echo "Doing distclean in fixincludes" ; \
8163 (cd $(HOST_SUBDIR)/fixincludes && \
8164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8166 "RANLIB=$${RANLIB}" \
8167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8173 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8174 maybe-maintainer-clean-fixincludes:
8176 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8178 maintainer-clean-fixincludes:
8179 @: $(MAKE); $(unstage)
8180 @[ -f ./fixincludes/Makefile ] || exit 0; \
8181 r=`${PWD_COMMAND}`; export r; \
8182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184 for flag in $(EXTRA_HOST_FLAGS) ; do \
8185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187 echo "Doing maintainer-clean in fixincludes" ; \
8188 (cd $(HOST_SUBDIR)/fixincludes && \
8189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8191 "RANLIB=$${RANLIB}" \
8192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8200 .PHONY: configure-flex maybe-configure-flex
8201 maybe-configure-flex:
8203 configure-flex: stage_current
8204 @endif gcc-bootstrap
8206 maybe-configure-flex: configure-flex
8208 @: $(MAKE); $(unstage)
8209 @r=`${PWD_COMMAND}`; export r; \
8210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8211 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8214 echo Configuring in $(HOST_SUBDIR)/flex; \
8215 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8218 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8221 srcdiroption="--srcdir=$${topdir}/flex"; \
8222 libsrcdir="$$s/flex"; \
8223 $(SHELL) $${libsrcdir}/configure \
8224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8225 --target=${target_alias} $${srcdiroption} \
8233 .PHONY: all-flex maybe-all-flex
8236 all-flex: stage_current
8237 @endif gcc-bootstrap
8240 maybe-all-flex: all-flex
8241 all-flex: configure-flex
8242 @: $(MAKE); $(unstage)
8243 @r=`${PWD_COMMAND}`; export r; \
8244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8246 (cd $(HOST_SUBDIR)/flex && \
8247 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8254 .PHONY: check-flex maybe-check-flex
8257 maybe-check-flex: check-flex
8259 # This module is only tested in a native toolchain.
8261 @: $(MAKE); $(unstage)
8262 @if [ '$(host)' = '$(target)' ] ; then \
8263 r=`${PWD_COMMAND}`; export r; \
8264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8266 (cd $(HOST_SUBDIR)/flex && \
8267 $(MAKE) $(FLAGS_TO_PASS) check); \
8272 .PHONY: install-flex maybe-install-flex
8275 maybe-install-flex: install-flex
8277 install-flex: installdirs
8278 @: $(MAKE); $(unstage)
8279 @r=`${PWD_COMMAND}`; export r; \
8280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8282 (cd $(HOST_SUBDIR)/flex && \
8283 $(MAKE) $(FLAGS_TO_PASS) install)
8287 .PHONY: install-strip-flex maybe-install-strip-flex
8288 maybe-install-strip-flex:
8290 maybe-install-strip-flex: install-strip-flex
8292 install-strip-flex: installdirs
8293 @: $(MAKE); $(unstage)
8294 @r=`${PWD_COMMAND}`; export r; \
8295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8297 (cd $(HOST_SUBDIR)/flex && \
8298 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8302 # Other targets (info, dvi, pdf, etc.)
8304 .PHONY: maybe-info-flex info-flex
8307 maybe-info-flex: info-flex
8311 @: $(MAKE); $(unstage)
8312 @[ -f ./flex/Makefile ] || exit 0; \
8313 r=`${PWD_COMMAND}`; export r; \
8314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8316 for flag in $(EXTRA_HOST_FLAGS) ; do \
8317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8319 echo "Doing info in flex" ; \
8320 (cd $(HOST_SUBDIR)/flex && \
8321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8323 "RANLIB=$${RANLIB}" \
8324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8330 .PHONY: maybe-dvi-flex dvi-flex
8333 maybe-dvi-flex: dvi-flex
8337 @: $(MAKE); $(unstage)
8338 @[ -f ./flex/Makefile ] || exit 0; \
8339 r=`${PWD_COMMAND}`; export r; \
8340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8342 for flag in $(EXTRA_HOST_FLAGS) ; do \
8343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8345 echo "Doing dvi in flex" ; \
8346 (cd $(HOST_SUBDIR)/flex && \
8347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8349 "RANLIB=$${RANLIB}" \
8350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8356 .PHONY: maybe-pdf-flex pdf-flex
8359 maybe-pdf-flex: pdf-flex
8363 @: $(MAKE); $(unstage)
8364 @[ -f ./flex/Makefile ] || exit 0; \
8365 r=`${PWD_COMMAND}`; export r; \
8366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8368 for flag in $(EXTRA_HOST_FLAGS) ; do \
8369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8371 echo "Doing pdf in flex" ; \
8372 (cd $(HOST_SUBDIR)/flex && \
8373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8375 "RANLIB=$${RANLIB}" \
8376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8382 .PHONY: maybe-html-flex html-flex
8385 maybe-html-flex: html-flex
8389 @: $(MAKE); $(unstage)
8390 @[ -f ./flex/Makefile ] || exit 0; \
8391 r=`${PWD_COMMAND}`; export r; \
8392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8394 for flag in $(EXTRA_HOST_FLAGS) ; do \
8395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8397 echo "Doing html in flex" ; \
8398 (cd $(HOST_SUBDIR)/flex && \
8399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8401 "RANLIB=$${RANLIB}" \
8402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8408 .PHONY: maybe-TAGS-flex TAGS-flex
8411 maybe-TAGS-flex: TAGS-flex
8415 @: $(MAKE); $(unstage)
8416 @[ -f ./flex/Makefile ] || exit 0; \
8417 r=`${PWD_COMMAND}`; export r; \
8418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8420 for flag in $(EXTRA_HOST_FLAGS) ; do \
8421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8423 echo "Doing TAGS in flex" ; \
8424 (cd $(HOST_SUBDIR)/flex && \
8425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8427 "RANLIB=$${RANLIB}" \
8428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8434 .PHONY: maybe-install-info-flex install-info-flex
8435 maybe-install-info-flex:
8437 maybe-install-info-flex: install-info-flex
8439 install-info-flex: \
8442 @: $(MAKE); $(unstage)
8443 @[ -f ./flex/Makefile ] || exit 0; \
8444 r=`${PWD_COMMAND}`; export r; \
8445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8447 for flag in $(EXTRA_HOST_FLAGS) ; do \
8448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8450 echo "Doing install-info in flex" ; \
8451 (cd $(HOST_SUBDIR)/flex && \
8452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8454 "RANLIB=$${RANLIB}" \
8455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8461 .PHONY: maybe-install-pdf-flex install-pdf-flex
8462 maybe-install-pdf-flex:
8464 maybe-install-pdf-flex: install-pdf-flex
8469 @: $(MAKE); $(unstage)
8470 @[ -f ./flex/Makefile ] || exit 0; \
8471 r=`${PWD_COMMAND}`; export r; \
8472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8474 for flag in $(EXTRA_HOST_FLAGS) ; do \
8475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8477 echo "Doing install-pdf in flex" ; \
8478 (cd $(HOST_SUBDIR)/flex && \
8479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8481 "RANLIB=$${RANLIB}" \
8482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8488 .PHONY: maybe-install-html-flex install-html-flex
8489 maybe-install-html-flex:
8491 maybe-install-html-flex: install-html-flex
8493 install-html-flex: \
8496 @: $(MAKE); $(unstage)
8497 @[ -f ./flex/Makefile ] || exit 0; \
8498 r=`${PWD_COMMAND}`; export r; \
8499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8501 for flag in $(EXTRA_HOST_FLAGS) ; do \
8502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8504 echo "Doing install-html in flex" ; \
8505 (cd $(HOST_SUBDIR)/flex && \
8506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8508 "RANLIB=$${RANLIB}" \
8509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8515 .PHONY: maybe-installcheck-flex installcheck-flex
8516 maybe-installcheck-flex:
8518 maybe-installcheck-flex: installcheck-flex
8520 installcheck-flex: \
8522 @: $(MAKE); $(unstage)
8523 @[ -f ./flex/Makefile ] || exit 0; \
8524 r=`${PWD_COMMAND}`; export r; \
8525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8527 for flag in $(EXTRA_HOST_FLAGS) ; do \
8528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8530 echo "Doing installcheck in flex" ; \
8531 (cd $(HOST_SUBDIR)/flex && \
8532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8534 "RANLIB=$${RANLIB}" \
8535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8541 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8542 maybe-mostlyclean-flex:
8544 maybe-mostlyclean-flex: mostlyclean-flex
8547 @: $(MAKE); $(unstage)
8548 @[ -f ./flex/Makefile ] || exit 0; \
8549 r=`${PWD_COMMAND}`; export r; \
8550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8552 for flag in $(EXTRA_HOST_FLAGS) ; do \
8553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8555 echo "Doing mostlyclean in flex" ; \
8556 (cd $(HOST_SUBDIR)/flex && \
8557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8559 "RANLIB=$${RANLIB}" \
8560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8566 .PHONY: maybe-clean-flex clean-flex
8569 maybe-clean-flex: clean-flex
8572 @: $(MAKE); $(unstage)
8573 @[ -f ./flex/Makefile ] || exit 0; \
8574 r=`${PWD_COMMAND}`; export r; \
8575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8577 for flag in $(EXTRA_HOST_FLAGS) ; do \
8578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8580 echo "Doing clean in flex" ; \
8581 (cd $(HOST_SUBDIR)/flex && \
8582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8584 "RANLIB=$${RANLIB}" \
8585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8591 .PHONY: maybe-distclean-flex distclean-flex
8592 maybe-distclean-flex:
8594 maybe-distclean-flex: distclean-flex
8597 @: $(MAKE); $(unstage)
8598 @[ -f ./flex/Makefile ] || exit 0; \
8599 r=`${PWD_COMMAND}`; export r; \
8600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8602 for flag in $(EXTRA_HOST_FLAGS) ; do \
8603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8605 echo "Doing distclean in flex" ; \
8606 (cd $(HOST_SUBDIR)/flex && \
8607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8609 "RANLIB=$${RANLIB}" \
8610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8616 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8617 maybe-maintainer-clean-flex:
8619 maybe-maintainer-clean-flex: maintainer-clean-flex
8621 maintainer-clean-flex:
8622 @: $(MAKE); $(unstage)
8623 @[ -f ./flex/Makefile ] || exit 0; \
8624 r=`${PWD_COMMAND}`; export r; \
8625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8627 for flag in $(EXTRA_HOST_FLAGS) ; do \
8628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8630 echo "Doing maintainer-clean in flex" ; \
8631 (cd $(HOST_SUBDIR)/flex && \
8632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8634 "RANLIB=$${RANLIB}" \
8635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8643 .PHONY: configure-gas maybe-configure-gas
8644 maybe-configure-gas:
8646 configure-gas: stage_current
8647 @endif gcc-bootstrap
8649 maybe-configure-gas: configure-gas
8651 @r=`${PWD_COMMAND}`; export r; \
8652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8653 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8656 echo Configuring in $(HOST_SUBDIR)/gas; \
8657 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8660 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8663 srcdiroption="--srcdir=$${topdir}/gas"; \
8664 libsrcdir="$$s/gas"; \
8665 $(SHELL) $${libsrcdir}/configure \
8666 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8667 --target=${target_alias} $${srcdiroption} \
8673 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8674 maybe-configure-stage1-gas:
8676 maybe-configure-stage1-gas: configure-stage1-gas
8677 configure-stage1-gas:
8678 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8680 @r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 TFLAGS="$(STAGE1_TFLAGS)"; \
8683 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8685 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8686 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8687 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8688 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8690 cd $(HOST_SUBDIR)/gas || exit 1; \
8692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8693 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8696 srcdiroption="--srcdir=$${topdir}/gas"; \
8697 libsrcdir="$$s/gas"; \
8698 $(SHELL) $${libsrcdir}/configure \
8699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8700 --target=${target_alias} $${srcdiroption} \
8701 $(STAGE1_CONFIGURE_FLAGS)
8702 @endif gas-bootstrap
8704 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8705 maybe-configure-stage2-gas:
8707 maybe-configure-stage2-gas: configure-stage2-gas
8708 configure-stage2-gas:
8709 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8711 @r=`${PWD_COMMAND}`; export r; \
8712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8713 TFLAGS="$(STAGE2_TFLAGS)"; \
8714 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8716 $(POSTSTAGE1_HOST_EXPORTS) \
8717 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8718 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8719 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8720 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8722 cd $(HOST_SUBDIR)/gas || exit 1; \
8724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8725 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8728 srcdiroption="--srcdir=$${topdir}/gas"; \
8729 libsrcdir="$$s/gas"; \
8730 $(SHELL) $${libsrcdir}/configure \
8731 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8732 --target=${target_alias} $${srcdiroption} \
8733 --with-build-libsubdir=$(HOST_SUBDIR) \
8734 $(STAGE2_CONFIGURE_FLAGS)
8735 @endif gas-bootstrap
8737 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8738 maybe-configure-stage3-gas:
8740 maybe-configure-stage3-gas: configure-stage3-gas
8741 configure-stage3-gas:
8742 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8743 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8744 @r=`${PWD_COMMAND}`; export r; \
8745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8746 TFLAGS="$(STAGE3_TFLAGS)"; \
8747 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8749 $(POSTSTAGE1_HOST_EXPORTS) \
8750 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8751 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8752 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8753 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8755 cd $(HOST_SUBDIR)/gas || exit 1; \
8757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8758 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8761 srcdiroption="--srcdir=$${topdir}/gas"; \
8762 libsrcdir="$$s/gas"; \
8763 $(SHELL) $${libsrcdir}/configure \
8764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8765 --target=${target_alias} $${srcdiroption} \
8766 --with-build-libsubdir=$(HOST_SUBDIR) \
8767 $(STAGE3_CONFIGURE_FLAGS)
8768 @endif gas-bootstrap
8770 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8771 maybe-configure-stage4-gas:
8773 maybe-configure-stage4-gas: configure-stage4-gas
8774 configure-stage4-gas:
8775 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8776 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8777 @r=`${PWD_COMMAND}`; export r; \
8778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8779 TFLAGS="$(STAGE4_TFLAGS)"; \
8780 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8782 $(POSTSTAGE1_HOST_EXPORTS) \
8783 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8784 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8785 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8786 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8788 cd $(HOST_SUBDIR)/gas || exit 1; \
8790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8791 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8794 srcdiroption="--srcdir=$${topdir}/gas"; \
8795 libsrcdir="$$s/gas"; \
8796 $(SHELL) $${libsrcdir}/configure \
8797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8798 --target=${target_alias} $${srcdiroption} \
8799 --with-build-libsubdir=$(HOST_SUBDIR) \
8800 $(STAGE4_CONFIGURE_FLAGS)
8801 @endif gas-bootstrap
8803 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8804 maybe-configure-stageprofile-gas:
8806 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8807 configure-stageprofile-gas:
8808 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8809 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8810 @r=`${PWD_COMMAND}`; export r; \
8811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8812 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8813 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8815 $(POSTSTAGE1_HOST_EXPORTS) \
8816 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8817 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8818 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8819 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8821 cd $(HOST_SUBDIR)/gas || exit 1; \
8823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8824 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8827 srcdiroption="--srcdir=$${topdir}/gas"; \
8828 libsrcdir="$$s/gas"; \
8829 $(SHELL) $${libsrcdir}/configure \
8830 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8831 --target=${target_alias} $${srcdiroption} \
8832 --with-build-libsubdir=$(HOST_SUBDIR) \
8833 $(STAGEprofile_CONFIGURE_FLAGS)
8834 @endif gas-bootstrap
8836 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8837 maybe-configure-stagefeedback-gas:
8839 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8840 configure-stagefeedback-gas:
8841 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8842 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8843 @r=`${PWD_COMMAND}`; export r; \
8844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8845 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8846 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8848 $(POSTSTAGE1_HOST_EXPORTS) \
8849 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8850 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8851 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8852 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8854 cd $(HOST_SUBDIR)/gas || exit 1; \
8856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8857 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8860 srcdiroption="--srcdir=$${topdir}/gas"; \
8861 libsrcdir="$$s/gas"; \
8862 $(SHELL) $${libsrcdir}/configure \
8863 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8864 --target=${target_alias} $${srcdiroption} \
8865 --with-build-libsubdir=$(HOST_SUBDIR) \
8866 $(STAGEfeedback_CONFIGURE_FLAGS)
8867 @endif gas-bootstrap
8873 .PHONY: all-gas maybe-all-gas
8876 all-gas: stage_current
8877 @endif gcc-bootstrap
8880 maybe-all-gas: all-gas
8881 all-gas: configure-gas
8882 @r=`${PWD_COMMAND}`; export r; \
8883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8885 (cd $(HOST_SUBDIR)/gas && \
8886 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8892 .PHONY: all-stage1-gas maybe-all-stage1-gas
8893 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8894 maybe-all-stage1-gas:
8895 maybe-clean-stage1-gas:
8897 maybe-all-stage1-gas: all-stage1-gas
8898 all-stage1: all-stage1-gas
8899 TARGET-stage1-gas = $(TARGET-gas)
8900 all-stage1-gas: configure-stage1-gas
8901 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8902 @r=`${PWD_COMMAND}`; export r; \
8903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8904 TFLAGS="$(STAGE1_TFLAGS)"; \
8906 cd $(HOST_SUBDIR)/gas && \
8907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8908 CFLAGS="$(STAGE1_CFLAGS)" \
8909 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8910 LIBCFLAGS="$(LIBCFLAGS)" \
8911 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8912 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8913 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8914 $(EXTRA_HOST_FLAGS) \
8915 $(STAGE1_FLAGS_TO_PASS) \
8916 TFLAGS="$(STAGE1_TFLAGS)" \
8917 $(TARGET-stage1-gas)
8919 maybe-clean-stage1-gas: clean-stage1-gas
8920 clean-stage1: clean-stage1-gas
8922 @if [ $(current_stage) = stage1 ]; then \
8923 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8925 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8926 $(MAKE) stage1-start; \
8928 cd $(HOST_SUBDIR)/gas && \
8929 $(MAKE) $(EXTRA_HOST_FLAGS) \
8930 $(STAGE1_FLAGS_TO_PASS) clean
8931 @endif gas-bootstrap
8934 .PHONY: all-stage2-gas maybe-all-stage2-gas
8935 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8936 maybe-all-stage2-gas:
8937 maybe-clean-stage2-gas:
8939 maybe-all-stage2-gas: all-stage2-gas
8940 all-stage2: all-stage2-gas
8941 TARGET-stage2-gas = $(TARGET-gas)
8942 all-stage2-gas: configure-stage2-gas
8943 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8944 @r=`${PWD_COMMAND}`; export r; \
8945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8946 TFLAGS="$(STAGE2_TFLAGS)"; \
8948 $(POSTSTAGE1_HOST_EXPORTS) \
8949 cd $(HOST_SUBDIR)/gas && \
8950 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8951 CFLAGS="$(STAGE2_CFLAGS)" \
8952 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8953 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8954 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8955 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8956 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8957 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8958 TFLAGS="$(STAGE2_TFLAGS)" \
8959 $(TARGET-stage2-gas)
8961 maybe-clean-stage2-gas: clean-stage2-gas
8962 clean-stage2: clean-stage2-gas
8964 @if [ $(current_stage) = stage2 ]; then \
8965 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8967 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8968 $(MAKE) stage2-start; \
8970 cd $(HOST_SUBDIR)/gas && \
8971 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8972 @endif gas-bootstrap
8975 .PHONY: all-stage3-gas maybe-all-stage3-gas
8976 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8977 maybe-all-stage3-gas:
8978 maybe-clean-stage3-gas:
8980 maybe-all-stage3-gas: all-stage3-gas
8981 all-stage3: all-stage3-gas
8982 TARGET-stage3-gas = $(TARGET-gas)
8983 all-stage3-gas: configure-stage3-gas
8984 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8985 @r=`${PWD_COMMAND}`; export r; \
8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8987 TFLAGS="$(STAGE3_TFLAGS)"; \
8989 $(POSTSTAGE1_HOST_EXPORTS) \
8990 cd $(HOST_SUBDIR)/gas && \
8991 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8992 CFLAGS="$(STAGE3_CFLAGS)" \
8993 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8994 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8995 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8996 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8997 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8998 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8999 TFLAGS="$(STAGE3_TFLAGS)" \
9000 $(TARGET-stage3-gas)
9002 maybe-clean-stage3-gas: clean-stage3-gas
9003 clean-stage3: clean-stage3-gas
9005 @if [ $(current_stage) = stage3 ]; then \
9006 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9008 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9009 $(MAKE) stage3-start; \
9011 cd $(HOST_SUBDIR)/gas && \
9012 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9013 @endif gas-bootstrap
9016 .PHONY: all-stage4-gas maybe-all-stage4-gas
9017 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9018 maybe-all-stage4-gas:
9019 maybe-clean-stage4-gas:
9021 maybe-all-stage4-gas: all-stage4-gas
9022 all-stage4: all-stage4-gas
9023 TARGET-stage4-gas = $(TARGET-gas)
9024 all-stage4-gas: configure-stage4-gas
9025 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9026 @r=`${PWD_COMMAND}`; export r; \
9027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9028 TFLAGS="$(STAGE4_TFLAGS)"; \
9030 $(POSTSTAGE1_HOST_EXPORTS) \
9031 cd $(HOST_SUBDIR)/gas && \
9032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9033 CFLAGS="$(STAGE4_CFLAGS)" \
9034 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9035 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9040 TFLAGS="$(STAGE4_TFLAGS)" \
9041 $(TARGET-stage4-gas)
9043 maybe-clean-stage4-gas: clean-stage4-gas
9044 clean-stage4: clean-stage4-gas
9046 @if [ $(current_stage) = stage4 ]; then \
9047 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9049 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9050 $(MAKE) stage4-start; \
9052 cd $(HOST_SUBDIR)/gas && \
9053 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9054 @endif gas-bootstrap
9057 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9058 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9059 maybe-all-stageprofile-gas:
9060 maybe-clean-stageprofile-gas:
9062 maybe-all-stageprofile-gas: all-stageprofile-gas
9063 all-stageprofile: all-stageprofile-gas
9064 TARGET-stageprofile-gas = $(TARGET-gas)
9065 all-stageprofile-gas: configure-stageprofile-gas
9066 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9067 @r=`${PWD_COMMAND}`; export r; \
9068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9069 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9071 $(POSTSTAGE1_HOST_EXPORTS) \
9072 cd $(HOST_SUBDIR)/gas && \
9073 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9074 CFLAGS="$(STAGEprofile_CFLAGS)" \
9075 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9076 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9077 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9078 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9079 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9080 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9081 TFLAGS="$(STAGEprofile_TFLAGS)" \
9082 $(TARGET-stageprofile-gas)
9084 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9085 clean-stageprofile: clean-stageprofile-gas
9086 clean-stageprofile-gas:
9087 @if [ $(current_stage) = stageprofile ]; then \
9088 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9090 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9091 $(MAKE) stageprofile-start; \
9093 cd $(HOST_SUBDIR)/gas && \
9094 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9095 @endif gas-bootstrap
9098 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9099 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9100 maybe-all-stagefeedback-gas:
9101 maybe-clean-stagefeedback-gas:
9103 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9104 all-stagefeedback: all-stagefeedback-gas
9105 TARGET-stagefeedback-gas = $(TARGET-gas)
9106 all-stagefeedback-gas: configure-stagefeedback-gas
9107 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9108 @r=`${PWD_COMMAND}`; export r; \
9109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9110 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9112 $(POSTSTAGE1_HOST_EXPORTS) \
9113 cd $(HOST_SUBDIR)/gas && \
9114 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9115 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9116 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9117 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9118 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9119 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9120 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9121 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9122 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9123 $(TARGET-stagefeedback-gas)
9125 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9126 clean-stagefeedback: clean-stagefeedback-gas
9127 clean-stagefeedback-gas:
9128 @if [ $(current_stage) = stagefeedback ]; then \
9129 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9131 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9132 $(MAKE) stagefeedback-start; \
9134 cd $(HOST_SUBDIR)/gas && \
9135 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9136 @endif gas-bootstrap
9142 .PHONY: check-gas maybe-check-gas
9145 maybe-check-gas: check-gas
9148 @: $(MAKE); $(unstage)
9149 @r=`${PWD_COMMAND}`; export r; \
9150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9152 (cd $(HOST_SUBDIR)/gas && \
9153 $(MAKE) $(FLAGS_TO_PASS) check)
9157 .PHONY: install-gas maybe-install-gas
9160 maybe-install-gas: install-gas
9162 install-gas: installdirs
9163 @: $(MAKE); $(unstage)
9164 @r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9167 (cd $(HOST_SUBDIR)/gas && \
9168 $(MAKE) $(FLAGS_TO_PASS) install)
9172 .PHONY: install-strip-gas maybe-install-strip-gas
9173 maybe-install-strip-gas:
9175 maybe-install-strip-gas: install-strip-gas
9177 install-strip-gas: installdirs
9178 @: $(MAKE); $(unstage)
9179 @r=`${PWD_COMMAND}`; export r; \
9180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 (cd $(HOST_SUBDIR)/gas && \
9183 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9187 # Other targets (info, dvi, pdf, etc.)
9189 .PHONY: maybe-info-gas info-gas
9192 maybe-info-gas: info-gas
9196 @[ -f ./gas/Makefile ] || exit 0; \
9197 r=`${PWD_COMMAND}`; export r; \
9198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9200 for flag in $(EXTRA_HOST_FLAGS) ; do \
9201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9203 echo "Doing info in gas" ; \
9204 (cd $(HOST_SUBDIR)/gas && \
9205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9207 "RANLIB=$${RANLIB}" \
9208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9214 .PHONY: maybe-dvi-gas dvi-gas
9217 maybe-dvi-gas: dvi-gas
9221 @[ -f ./gas/Makefile ] || exit 0; \
9222 r=`${PWD_COMMAND}`; export r; \
9223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 for flag in $(EXTRA_HOST_FLAGS) ; do \
9226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9228 echo "Doing dvi in gas" ; \
9229 (cd $(HOST_SUBDIR)/gas && \
9230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9232 "RANLIB=$${RANLIB}" \
9233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9239 .PHONY: maybe-pdf-gas pdf-gas
9242 maybe-pdf-gas: pdf-gas
9246 @[ -f ./gas/Makefile ] || exit 0; \
9247 r=`${PWD_COMMAND}`; export r; \
9248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9250 for flag in $(EXTRA_HOST_FLAGS) ; do \
9251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9253 echo "Doing pdf in gas" ; \
9254 (cd $(HOST_SUBDIR)/gas && \
9255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9257 "RANLIB=$${RANLIB}" \
9258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9264 .PHONY: maybe-html-gas html-gas
9267 maybe-html-gas: html-gas
9271 @[ -f ./gas/Makefile ] || exit 0; \
9272 r=`${PWD_COMMAND}`; export r; \
9273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9275 for flag in $(EXTRA_HOST_FLAGS) ; do \
9276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9278 echo "Doing html in gas" ; \
9279 (cd $(HOST_SUBDIR)/gas && \
9280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9282 "RANLIB=$${RANLIB}" \
9283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9289 .PHONY: maybe-TAGS-gas TAGS-gas
9292 maybe-TAGS-gas: TAGS-gas
9296 @[ -f ./gas/Makefile ] || exit 0; \
9297 r=`${PWD_COMMAND}`; export r; \
9298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9300 for flag in $(EXTRA_HOST_FLAGS) ; do \
9301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9303 echo "Doing TAGS in gas" ; \
9304 (cd $(HOST_SUBDIR)/gas && \
9305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9307 "RANLIB=$${RANLIB}" \
9308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9314 .PHONY: maybe-install-info-gas install-info-gas
9315 maybe-install-info-gas:
9317 maybe-install-info-gas: install-info-gas
9322 @[ -f ./gas/Makefile ] || exit 0; \
9323 r=`${PWD_COMMAND}`; export r; \
9324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9326 for flag in $(EXTRA_HOST_FLAGS) ; do \
9327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9329 echo "Doing install-info in gas" ; \
9330 (cd $(HOST_SUBDIR)/gas && \
9331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9333 "RANLIB=$${RANLIB}" \
9334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9340 .PHONY: maybe-install-pdf-gas install-pdf-gas
9341 maybe-install-pdf-gas:
9343 maybe-install-pdf-gas: install-pdf-gas
9348 @[ -f ./gas/Makefile ] || exit 0; \
9349 r=`${PWD_COMMAND}`; export r; \
9350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9352 for flag in $(EXTRA_HOST_FLAGS) ; do \
9353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9355 echo "Doing install-pdf in gas" ; \
9356 (cd $(HOST_SUBDIR)/gas && \
9357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9359 "RANLIB=$${RANLIB}" \
9360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9366 .PHONY: maybe-install-html-gas install-html-gas
9367 maybe-install-html-gas:
9369 maybe-install-html-gas: install-html-gas
9374 @[ -f ./gas/Makefile ] || exit 0; \
9375 r=`${PWD_COMMAND}`; export r; \
9376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9378 for flag in $(EXTRA_HOST_FLAGS) ; do \
9379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9381 echo "Doing install-html in gas" ; \
9382 (cd $(HOST_SUBDIR)/gas && \
9383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9385 "RANLIB=$${RANLIB}" \
9386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9392 .PHONY: maybe-installcheck-gas installcheck-gas
9393 maybe-installcheck-gas:
9395 maybe-installcheck-gas: installcheck-gas
9399 @[ -f ./gas/Makefile ] || exit 0; \
9400 r=`${PWD_COMMAND}`; export r; \
9401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9403 for flag in $(EXTRA_HOST_FLAGS) ; do \
9404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9406 echo "Doing installcheck in gas" ; \
9407 (cd $(HOST_SUBDIR)/gas && \
9408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9410 "RANLIB=$${RANLIB}" \
9411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9417 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9418 maybe-mostlyclean-gas:
9420 maybe-mostlyclean-gas: mostlyclean-gas
9423 @[ -f ./gas/Makefile ] || exit 0; \
9424 r=`${PWD_COMMAND}`; export r; \
9425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9427 for flag in $(EXTRA_HOST_FLAGS) ; do \
9428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9430 echo "Doing mostlyclean in gas" ; \
9431 (cd $(HOST_SUBDIR)/gas && \
9432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9434 "RANLIB=$${RANLIB}" \
9435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9441 .PHONY: maybe-clean-gas clean-gas
9444 maybe-clean-gas: clean-gas
9447 @[ -f ./gas/Makefile ] || exit 0; \
9448 r=`${PWD_COMMAND}`; export r; \
9449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9451 for flag in $(EXTRA_HOST_FLAGS) ; do \
9452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9454 echo "Doing clean in gas" ; \
9455 (cd $(HOST_SUBDIR)/gas && \
9456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9458 "RANLIB=$${RANLIB}" \
9459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9465 .PHONY: maybe-distclean-gas distclean-gas
9466 maybe-distclean-gas:
9468 maybe-distclean-gas: distclean-gas
9471 @[ -f ./gas/Makefile ] || exit 0; \
9472 r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9475 for flag in $(EXTRA_HOST_FLAGS) ; do \
9476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9478 echo "Doing distclean in gas" ; \
9479 (cd $(HOST_SUBDIR)/gas && \
9480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9482 "RANLIB=$${RANLIB}" \
9483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9489 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9490 maybe-maintainer-clean-gas:
9492 maybe-maintainer-clean-gas: maintainer-clean-gas
9494 maintainer-clean-gas:
9495 @[ -f ./gas/Makefile ] || exit 0; \
9496 r=`${PWD_COMMAND}`; export r; \
9497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9499 for flag in $(EXTRA_HOST_FLAGS) ; do \
9500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9502 echo "Doing maintainer-clean in gas" ; \
9503 (cd $(HOST_SUBDIR)/gas && \
9504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9506 "RANLIB=$${RANLIB}" \
9507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9515 .PHONY: configure-gcc maybe-configure-gcc
9516 maybe-configure-gcc:
9518 configure-gcc: stage_current
9519 @endif gcc-bootstrap
9521 maybe-configure-gcc: configure-gcc
9523 @r=`${PWD_COMMAND}`; export r; \
9524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9525 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9528 echo Configuring in $(HOST_SUBDIR)/gcc; \
9529 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9532 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9535 srcdiroption="--srcdir=$${topdir}/gcc"; \
9536 libsrcdir="$$s/gcc"; \
9537 $(SHELL) $${libsrcdir}/configure \
9538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9539 --target=${target_alias} $${srcdiroption} \
9545 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9546 maybe-configure-stage1-gcc:
9548 maybe-configure-stage1-gcc: configure-stage1-gcc
9549 configure-stage1-gcc:
9550 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9551 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9552 @r=`${PWD_COMMAND}`; export r; \
9553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9554 TFLAGS="$(STAGE1_TFLAGS)"; \
9555 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9557 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9558 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9559 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9560 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9562 cd $(HOST_SUBDIR)/gcc || exit 1; \
9564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9565 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9568 srcdiroption="--srcdir=$${topdir}/gcc"; \
9569 libsrcdir="$$s/gcc"; \
9570 $(SHELL) $${libsrcdir}/configure \
9571 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9572 --target=${target_alias} $${srcdiroption} \
9573 $(STAGE1_CONFIGURE_FLAGS)
9574 @endif gcc-bootstrap
9576 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9577 maybe-configure-stage2-gcc:
9579 maybe-configure-stage2-gcc: configure-stage2-gcc
9580 configure-stage2-gcc:
9581 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9582 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9583 @r=`${PWD_COMMAND}`; export r; \
9584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9585 TFLAGS="$(STAGE2_TFLAGS)"; \
9586 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9588 $(POSTSTAGE1_HOST_EXPORTS) \
9589 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9590 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9591 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9592 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9594 cd $(HOST_SUBDIR)/gcc || exit 1; \
9596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9597 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9600 srcdiroption="--srcdir=$${topdir}/gcc"; \
9601 libsrcdir="$$s/gcc"; \
9602 $(SHELL) $${libsrcdir}/configure \
9603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9604 --target=${target_alias} $${srcdiroption} \
9605 --with-build-libsubdir=$(HOST_SUBDIR) \
9606 $(STAGE2_CONFIGURE_FLAGS)
9607 @endif gcc-bootstrap
9609 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9610 maybe-configure-stage3-gcc:
9612 maybe-configure-stage3-gcc: configure-stage3-gcc
9613 configure-stage3-gcc:
9614 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9616 @r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 TFLAGS="$(STAGE3_TFLAGS)"; \
9619 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9621 $(POSTSTAGE1_HOST_EXPORTS) \
9622 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9623 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9624 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9625 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9627 cd $(HOST_SUBDIR)/gcc || exit 1; \
9629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9630 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9633 srcdiroption="--srcdir=$${topdir}/gcc"; \
9634 libsrcdir="$$s/gcc"; \
9635 $(SHELL) $${libsrcdir}/configure \
9636 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9637 --target=${target_alias} $${srcdiroption} \
9638 --with-build-libsubdir=$(HOST_SUBDIR) \
9639 $(STAGE3_CONFIGURE_FLAGS)
9640 @endif gcc-bootstrap
9642 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9643 maybe-configure-stage4-gcc:
9645 maybe-configure-stage4-gcc: configure-stage4-gcc
9646 configure-stage4-gcc:
9647 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9649 @r=`${PWD_COMMAND}`; export r; \
9650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9651 TFLAGS="$(STAGE4_TFLAGS)"; \
9652 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9654 $(POSTSTAGE1_HOST_EXPORTS) \
9655 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9656 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9657 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9658 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9660 cd $(HOST_SUBDIR)/gcc || exit 1; \
9662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9663 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9666 srcdiroption="--srcdir=$${topdir}/gcc"; \
9667 libsrcdir="$$s/gcc"; \
9668 $(SHELL) $${libsrcdir}/configure \
9669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9670 --target=${target_alias} $${srcdiroption} \
9671 --with-build-libsubdir=$(HOST_SUBDIR) \
9672 $(STAGE4_CONFIGURE_FLAGS)
9673 @endif gcc-bootstrap
9675 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9676 maybe-configure-stageprofile-gcc:
9678 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9679 configure-stageprofile-gcc:
9680 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9682 @r=`${PWD_COMMAND}`; export r; \
9683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9684 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9685 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9687 $(POSTSTAGE1_HOST_EXPORTS) \
9688 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9689 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9690 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9691 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9693 cd $(HOST_SUBDIR)/gcc || exit 1; \
9695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9696 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9699 srcdiroption="--srcdir=$${topdir}/gcc"; \
9700 libsrcdir="$$s/gcc"; \
9701 $(SHELL) $${libsrcdir}/configure \
9702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9703 --target=${target_alias} $${srcdiroption} \
9704 --with-build-libsubdir=$(HOST_SUBDIR) \
9705 $(STAGEprofile_CONFIGURE_FLAGS)
9706 @endif gcc-bootstrap
9708 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9709 maybe-configure-stagefeedback-gcc:
9711 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9712 configure-stagefeedback-gcc:
9713 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9715 @r=`${PWD_COMMAND}`; export r; \
9716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9717 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9718 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9720 $(POSTSTAGE1_HOST_EXPORTS) \
9721 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9722 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9723 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9724 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9726 cd $(HOST_SUBDIR)/gcc || exit 1; \
9728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9729 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9732 srcdiroption="--srcdir=$${topdir}/gcc"; \
9733 libsrcdir="$$s/gcc"; \
9734 $(SHELL) $${libsrcdir}/configure \
9735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9736 --target=${target_alias} $${srcdiroption} \
9737 --with-build-libsubdir=$(HOST_SUBDIR) \
9738 $(STAGEfeedback_CONFIGURE_FLAGS)
9739 @endif gcc-bootstrap
9745 .PHONY: all-gcc maybe-all-gcc
9748 all-gcc: stage_current
9749 @endif gcc-bootstrap
9752 maybe-all-gcc: all-gcc
9753 all-gcc: configure-gcc
9754 @r=`${PWD_COMMAND}`; export r; \
9755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9757 (cd $(HOST_SUBDIR)/gcc && \
9758 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9764 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9765 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9766 maybe-all-stage1-gcc:
9767 maybe-clean-stage1-gcc:
9769 maybe-all-stage1-gcc: all-stage1-gcc
9770 all-stage1: all-stage1-gcc
9771 TARGET-stage1-gcc = $(TARGET-gcc)
9772 all-stage1-gcc: configure-stage1-gcc
9773 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9774 @r=`${PWD_COMMAND}`; export r; \
9775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9776 TFLAGS="$(STAGE1_TFLAGS)"; \
9778 cd $(HOST_SUBDIR)/gcc && \
9779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9780 CFLAGS="$(STAGE1_CFLAGS)" \
9781 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9782 LIBCFLAGS="$(LIBCFLAGS)" \
9783 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9784 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9785 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9786 $(EXTRA_HOST_FLAGS) \
9787 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9788 TFLAGS="$(STAGE1_TFLAGS)" \
9789 $(TARGET-stage1-gcc)
9791 maybe-clean-stage1-gcc: clean-stage1-gcc
9792 clean-stage1: clean-stage1-gcc
9794 @if [ $(current_stage) = stage1 ]; then \
9795 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9797 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9798 $(MAKE) stage1-start; \
9800 cd $(HOST_SUBDIR)/gcc && \
9801 $(MAKE) $(EXTRA_HOST_FLAGS) \
9802 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9803 @endif gcc-bootstrap
9806 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9807 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9808 maybe-all-stage2-gcc:
9809 maybe-clean-stage2-gcc:
9811 maybe-all-stage2-gcc: all-stage2-gcc
9812 all-stage2: all-stage2-gcc
9813 TARGET-stage2-gcc = $(TARGET-gcc)
9814 all-stage2-gcc: configure-stage2-gcc
9815 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9816 @r=`${PWD_COMMAND}`; export r; \
9817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9818 TFLAGS="$(STAGE2_TFLAGS)"; \
9820 $(POSTSTAGE1_HOST_EXPORTS) \
9821 cd $(HOST_SUBDIR)/gcc && \
9822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9823 CFLAGS="$(STAGE2_CFLAGS)" \
9824 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9825 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9830 TFLAGS="$(STAGE2_TFLAGS)" \
9831 $(TARGET-stage2-gcc)
9833 maybe-clean-stage2-gcc: clean-stage2-gcc
9834 clean-stage2: clean-stage2-gcc
9836 @if [ $(current_stage) = stage2 ]; then \
9837 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9839 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9840 $(MAKE) stage2-start; \
9842 cd $(HOST_SUBDIR)/gcc && \
9843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9844 @endif gcc-bootstrap
9847 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9848 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9849 maybe-all-stage3-gcc:
9850 maybe-clean-stage3-gcc:
9852 maybe-all-stage3-gcc: all-stage3-gcc
9853 all-stage3: all-stage3-gcc
9854 TARGET-stage3-gcc = $(TARGET-gcc)
9855 all-stage3-gcc: configure-stage3-gcc
9856 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9857 @r=`${PWD_COMMAND}`; export r; \
9858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859 TFLAGS="$(STAGE3_TFLAGS)"; \
9861 $(POSTSTAGE1_HOST_EXPORTS) \
9862 cd $(HOST_SUBDIR)/gcc && \
9863 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9864 CFLAGS="$(STAGE3_CFLAGS)" \
9865 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9866 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9867 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9868 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9869 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9870 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9871 TFLAGS="$(STAGE3_TFLAGS)" \
9872 $(TARGET-stage3-gcc)
9874 maybe-clean-stage3-gcc: clean-stage3-gcc
9875 clean-stage3: clean-stage3-gcc
9877 @if [ $(current_stage) = stage3 ]; then \
9878 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9880 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9881 $(MAKE) stage3-start; \
9883 cd $(HOST_SUBDIR)/gcc && \
9884 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9885 @endif gcc-bootstrap
9888 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9889 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9890 maybe-all-stage4-gcc:
9891 maybe-clean-stage4-gcc:
9893 maybe-all-stage4-gcc: all-stage4-gcc
9894 all-stage4: all-stage4-gcc
9895 TARGET-stage4-gcc = $(TARGET-gcc)
9896 all-stage4-gcc: configure-stage4-gcc
9897 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9898 @r=`${PWD_COMMAND}`; export r; \
9899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9900 TFLAGS="$(STAGE4_TFLAGS)"; \
9902 $(POSTSTAGE1_HOST_EXPORTS) \
9903 cd $(HOST_SUBDIR)/gcc && \
9904 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9905 CFLAGS="$(STAGE4_CFLAGS)" \
9906 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9907 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9908 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9909 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9910 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9911 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9912 TFLAGS="$(STAGE4_TFLAGS)" \
9913 $(TARGET-stage4-gcc)
9915 maybe-clean-stage4-gcc: clean-stage4-gcc
9916 clean-stage4: clean-stage4-gcc
9918 @if [ $(current_stage) = stage4 ]; then \
9919 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9921 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9922 $(MAKE) stage4-start; \
9924 cd $(HOST_SUBDIR)/gcc && \
9925 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9926 @endif gcc-bootstrap
9929 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9930 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9931 maybe-all-stageprofile-gcc:
9932 maybe-clean-stageprofile-gcc:
9934 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9935 all-stageprofile: all-stageprofile-gcc
9936 TARGET-stageprofile-gcc = $(TARGET-gcc)
9937 all-stageprofile-gcc: configure-stageprofile-gcc
9938 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9939 @r=`${PWD_COMMAND}`; export r; \
9940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9941 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9943 $(POSTSTAGE1_HOST_EXPORTS) \
9944 cd $(HOST_SUBDIR)/gcc && \
9945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9946 CFLAGS="$(STAGEprofile_CFLAGS)" \
9947 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9948 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9949 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9950 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9951 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9952 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9953 TFLAGS="$(STAGEprofile_TFLAGS)" \
9954 $(TARGET-stageprofile-gcc)
9956 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9957 clean-stageprofile: clean-stageprofile-gcc
9958 clean-stageprofile-gcc:
9959 @if [ $(current_stage) = stageprofile ]; then \
9960 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9962 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9963 $(MAKE) stageprofile-start; \
9965 cd $(HOST_SUBDIR)/gcc && \
9966 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9967 @endif gcc-bootstrap
9970 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9971 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9972 maybe-all-stagefeedback-gcc:
9973 maybe-clean-stagefeedback-gcc:
9975 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9976 all-stagefeedback: all-stagefeedback-gcc
9977 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9978 all-stagefeedback-gcc: configure-stagefeedback-gcc
9979 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9980 @r=`${PWD_COMMAND}`; export r; \
9981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9982 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9984 $(POSTSTAGE1_HOST_EXPORTS) \
9985 cd $(HOST_SUBDIR)/gcc && \
9986 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9987 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9988 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9989 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9990 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9991 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9992 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9993 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9994 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9995 $(TARGET-stagefeedback-gcc)
9997 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9998 clean-stagefeedback: clean-stagefeedback-gcc
9999 clean-stagefeedback-gcc:
10000 @if [ $(current_stage) = stagefeedback ]; then \
10001 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10003 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10004 $(MAKE) stagefeedback-start; \
10006 cd $(HOST_SUBDIR)/gcc && \
10007 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10008 @endif gcc-bootstrap
10014 .PHONY: check-gcc maybe-check-gcc
10017 maybe-check-gcc: check-gcc
10020 @: $(MAKE); $(unstage)
10021 @r=`${PWD_COMMAND}`; export r; \
10022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10024 (cd $(HOST_SUBDIR)/gcc && \
10025 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10029 .PHONY: install-gcc maybe-install-gcc
10032 maybe-install-gcc: install-gcc
10034 install-gcc: installdirs
10035 @: $(MAKE); $(unstage)
10036 @r=`${PWD_COMMAND}`; export r; \
10037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10039 (cd $(HOST_SUBDIR)/gcc && \
10040 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10044 .PHONY: install-strip-gcc maybe-install-strip-gcc
10045 maybe-install-strip-gcc:
10047 maybe-install-strip-gcc: install-strip-gcc
10049 install-strip-gcc: installdirs
10050 @: $(MAKE); $(unstage)
10051 @r=`${PWD_COMMAND}`; export r; \
10052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10054 (cd $(HOST_SUBDIR)/gcc && \
10055 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10059 # Other targets (info, dvi, pdf, etc.)
10061 .PHONY: maybe-info-gcc info-gcc
10064 maybe-info-gcc: info-gcc
10068 @[ -f ./gcc/Makefile ] || exit 0; \
10069 r=`${PWD_COMMAND}`; export r; \
10070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10072 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10075 echo "Doing info in gcc" ; \
10076 (cd $(HOST_SUBDIR)/gcc && \
10077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10079 "RANLIB=$${RANLIB}" \
10080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10086 .PHONY: maybe-dvi-gcc dvi-gcc
10089 maybe-dvi-gcc: dvi-gcc
10093 @[ -f ./gcc/Makefile ] || exit 0; \
10094 r=`${PWD_COMMAND}`; export r; \
10095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10097 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10100 echo "Doing dvi in gcc" ; \
10101 (cd $(HOST_SUBDIR)/gcc && \
10102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10104 "RANLIB=$${RANLIB}" \
10105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10111 .PHONY: maybe-pdf-gcc pdf-gcc
10114 maybe-pdf-gcc: pdf-gcc
10118 @[ -f ./gcc/Makefile ] || exit 0; \
10119 r=`${PWD_COMMAND}`; export r; \
10120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10122 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10125 echo "Doing pdf in gcc" ; \
10126 (cd $(HOST_SUBDIR)/gcc && \
10127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10129 "RANLIB=$${RANLIB}" \
10130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10136 .PHONY: maybe-html-gcc html-gcc
10139 maybe-html-gcc: html-gcc
10143 @[ -f ./gcc/Makefile ] || exit 0; \
10144 r=`${PWD_COMMAND}`; export r; \
10145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10147 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10150 echo "Doing html in gcc" ; \
10151 (cd $(HOST_SUBDIR)/gcc && \
10152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10154 "RANLIB=$${RANLIB}" \
10155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10161 .PHONY: maybe-TAGS-gcc TAGS-gcc
10164 maybe-TAGS-gcc: TAGS-gcc
10168 @[ -f ./gcc/Makefile ] || exit 0; \
10169 r=`${PWD_COMMAND}`; export r; \
10170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10172 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10175 echo "Doing TAGS in gcc" ; \
10176 (cd $(HOST_SUBDIR)/gcc && \
10177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10179 "RANLIB=$${RANLIB}" \
10180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10186 .PHONY: maybe-install-info-gcc install-info-gcc
10187 maybe-install-info-gcc:
10189 maybe-install-info-gcc: install-info-gcc
10191 install-info-gcc: \
10194 @[ -f ./gcc/Makefile ] || exit 0; \
10195 r=`${PWD_COMMAND}`; export r; \
10196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10198 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10201 echo "Doing install-info in gcc" ; \
10202 (cd $(HOST_SUBDIR)/gcc && \
10203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10205 "RANLIB=$${RANLIB}" \
10206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10212 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10213 maybe-install-pdf-gcc:
10215 maybe-install-pdf-gcc: install-pdf-gcc
10220 @[ -f ./gcc/Makefile ] || exit 0; \
10221 r=`${PWD_COMMAND}`; export r; \
10222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10224 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10227 echo "Doing install-pdf in gcc" ; \
10228 (cd $(HOST_SUBDIR)/gcc && \
10229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10231 "RANLIB=$${RANLIB}" \
10232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10238 .PHONY: maybe-install-html-gcc install-html-gcc
10239 maybe-install-html-gcc:
10241 maybe-install-html-gcc: install-html-gcc
10243 install-html-gcc: \
10246 @[ -f ./gcc/Makefile ] || exit 0; \
10247 r=`${PWD_COMMAND}`; export r; \
10248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10250 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10253 echo "Doing install-html in gcc" ; \
10254 (cd $(HOST_SUBDIR)/gcc && \
10255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10257 "RANLIB=$${RANLIB}" \
10258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10264 .PHONY: maybe-installcheck-gcc installcheck-gcc
10265 maybe-installcheck-gcc:
10267 maybe-installcheck-gcc: installcheck-gcc
10269 installcheck-gcc: \
10271 @[ -f ./gcc/Makefile ] || exit 0; \
10272 r=`${PWD_COMMAND}`; export r; \
10273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10275 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10278 echo "Doing installcheck in gcc" ; \
10279 (cd $(HOST_SUBDIR)/gcc && \
10280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10282 "RANLIB=$${RANLIB}" \
10283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10289 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10290 maybe-mostlyclean-gcc:
10292 maybe-mostlyclean-gcc: mostlyclean-gcc
10295 @[ -f ./gcc/Makefile ] || exit 0; \
10296 r=`${PWD_COMMAND}`; export r; \
10297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10299 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10302 echo "Doing mostlyclean in gcc" ; \
10303 (cd $(HOST_SUBDIR)/gcc && \
10304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10306 "RANLIB=$${RANLIB}" \
10307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10313 .PHONY: maybe-clean-gcc clean-gcc
10316 maybe-clean-gcc: clean-gcc
10319 @[ -f ./gcc/Makefile ] || exit 0; \
10320 r=`${PWD_COMMAND}`; export r; \
10321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10323 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10326 echo "Doing clean in gcc" ; \
10327 (cd $(HOST_SUBDIR)/gcc && \
10328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10330 "RANLIB=$${RANLIB}" \
10331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10337 .PHONY: maybe-distclean-gcc distclean-gcc
10338 maybe-distclean-gcc:
10340 maybe-distclean-gcc: distclean-gcc
10343 @[ -f ./gcc/Makefile ] || exit 0; \
10344 r=`${PWD_COMMAND}`; export r; \
10345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10347 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10350 echo "Doing distclean in gcc" ; \
10351 (cd $(HOST_SUBDIR)/gcc && \
10352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10354 "RANLIB=$${RANLIB}" \
10355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10361 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10362 maybe-maintainer-clean-gcc:
10364 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10366 maintainer-clean-gcc:
10367 @[ -f ./gcc/Makefile ] || exit 0; \
10368 r=`${PWD_COMMAND}`; export r; \
10369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10371 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10374 echo "Doing maintainer-clean in gcc" ; \
10375 (cd $(HOST_SUBDIR)/gcc && \
10376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10378 "RANLIB=$${RANLIB}" \
10379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10380 maintainer-clean) \
10387 .PHONY: configure-gmp maybe-configure-gmp
10388 maybe-configure-gmp:
10390 configure-gmp: stage_current
10391 @endif gcc-bootstrap
10393 maybe-configure-gmp: configure-gmp
10395 @r=`${PWD_COMMAND}`; export r; \
10396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10397 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10400 echo Configuring in $(HOST_SUBDIR)/gmp; \
10401 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10402 case $(srcdir) in \
10403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10404 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10407 srcdiroption="--srcdir=$${topdir}/gmp"; \
10408 libsrcdir="$$s/gmp"; \
10409 $(SHELL) $${libsrcdir}/configure \
10410 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10411 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10417 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10418 maybe-configure-stage1-gmp:
10420 maybe-configure-stage1-gmp: configure-stage1-gmp
10421 configure-stage1-gmp:
10422 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10424 @r=`${PWD_COMMAND}`; export r; \
10425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10426 TFLAGS="$(STAGE1_TFLAGS)"; \
10427 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10429 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10430 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10431 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10432 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10434 cd $(HOST_SUBDIR)/gmp || exit 1; \
10435 case $(srcdir) in \
10436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10437 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10440 srcdiroption="--srcdir=$${topdir}/gmp"; \
10441 libsrcdir="$$s/gmp"; \
10442 $(SHELL) $${libsrcdir}/configure \
10443 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10444 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10445 $(STAGE1_CONFIGURE_FLAGS) \
10447 @endif gmp-bootstrap
10449 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10450 maybe-configure-stage2-gmp:
10452 maybe-configure-stage2-gmp: configure-stage2-gmp
10453 configure-stage2-gmp:
10454 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10456 @r=`${PWD_COMMAND}`; export r; \
10457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10458 TFLAGS="$(STAGE2_TFLAGS)"; \
10459 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10461 $(POSTSTAGE1_HOST_EXPORTS) \
10462 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10463 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10464 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10465 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10467 cd $(HOST_SUBDIR)/gmp || exit 1; \
10468 case $(srcdir) in \
10469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10470 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10473 srcdiroption="--srcdir=$${topdir}/gmp"; \
10474 libsrcdir="$$s/gmp"; \
10475 $(SHELL) $${libsrcdir}/configure \
10476 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10477 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10478 --with-build-libsubdir=$(HOST_SUBDIR) \
10479 $(STAGE2_CONFIGURE_FLAGS) \
10481 @endif gmp-bootstrap
10483 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10484 maybe-configure-stage3-gmp:
10486 maybe-configure-stage3-gmp: configure-stage3-gmp
10487 configure-stage3-gmp:
10488 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10490 @r=`${PWD_COMMAND}`; export r; \
10491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10492 TFLAGS="$(STAGE3_TFLAGS)"; \
10493 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10495 $(POSTSTAGE1_HOST_EXPORTS) \
10496 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10497 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10498 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10499 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10501 cd $(HOST_SUBDIR)/gmp || exit 1; \
10502 case $(srcdir) in \
10503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10504 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10507 srcdiroption="--srcdir=$${topdir}/gmp"; \
10508 libsrcdir="$$s/gmp"; \
10509 $(SHELL) $${libsrcdir}/configure \
10510 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10511 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10512 --with-build-libsubdir=$(HOST_SUBDIR) \
10513 $(STAGE3_CONFIGURE_FLAGS) \
10515 @endif gmp-bootstrap
10517 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10518 maybe-configure-stage4-gmp:
10520 maybe-configure-stage4-gmp: configure-stage4-gmp
10521 configure-stage4-gmp:
10522 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10523 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10524 @r=`${PWD_COMMAND}`; export r; \
10525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10526 TFLAGS="$(STAGE4_TFLAGS)"; \
10527 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10529 $(POSTSTAGE1_HOST_EXPORTS) \
10530 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10531 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10532 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10533 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10535 cd $(HOST_SUBDIR)/gmp || exit 1; \
10536 case $(srcdir) in \
10537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10538 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10541 srcdiroption="--srcdir=$${topdir}/gmp"; \
10542 libsrcdir="$$s/gmp"; \
10543 $(SHELL) $${libsrcdir}/configure \
10544 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10545 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10546 --with-build-libsubdir=$(HOST_SUBDIR) \
10547 $(STAGE4_CONFIGURE_FLAGS) \
10549 @endif gmp-bootstrap
10551 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10552 maybe-configure-stageprofile-gmp:
10554 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10555 configure-stageprofile-gmp:
10556 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10557 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10558 @r=`${PWD_COMMAND}`; export r; \
10559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10560 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10561 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10563 $(POSTSTAGE1_HOST_EXPORTS) \
10564 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10565 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10566 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10567 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10569 cd $(HOST_SUBDIR)/gmp || exit 1; \
10570 case $(srcdir) in \
10571 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10572 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10573 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10575 srcdiroption="--srcdir=$${topdir}/gmp"; \
10576 libsrcdir="$$s/gmp"; \
10577 $(SHELL) $${libsrcdir}/configure \
10578 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10579 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10580 --with-build-libsubdir=$(HOST_SUBDIR) \
10581 $(STAGEprofile_CONFIGURE_FLAGS) \
10583 @endif gmp-bootstrap
10585 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10586 maybe-configure-stagefeedback-gmp:
10588 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10589 configure-stagefeedback-gmp:
10590 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10591 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10592 @r=`${PWD_COMMAND}`; export r; \
10593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10594 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10595 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10597 $(POSTSTAGE1_HOST_EXPORTS) \
10598 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10599 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10600 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10601 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10602 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10603 cd $(HOST_SUBDIR)/gmp || exit 1; \
10604 case $(srcdir) in \
10605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10606 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10609 srcdiroption="--srcdir=$${topdir}/gmp"; \
10610 libsrcdir="$$s/gmp"; \
10611 $(SHELL) $${libsrcdir}/configure \
10612 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10613 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10614 --with-build-libsubdir=$(HOST_SUBDIR) \
10615 $(STAGEfeedback_CONFIGURE_FLAGS) \
10617 @endif gmp-bootstrap
10623 .PHONY: all-gmp maybe-all-gmp
10626 all-gmp: stage_current
10627 @endif gcc-bootstrap
10630 maybe-all-gmp: all-gmp
10631 all-gmp: configure-gmp
10632 @r=`${PWD_COMMAND}`; export r; \
10633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10635 (cd $(HOST_SUBDIR)/gmp && \
10636 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10642 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10643 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10644 maybe-all-stage1-gmp:
10645 maybe-clean-stage1-gmp:
10647 maybe-all-stage1-gmp: all-stage1-gmp
10648 all-stage1: all-stage1-gmp
10649 TARGET-stage1-gmp = $(TARGET-gmp)
10650 all-stage1-gmp: configure-stage1-gmp
10651 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10652 @r=`${PWD_COMMAND}`; export r; \
10653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10654 TFLAGS="$(STAGE1_TFLAGS)"; \
10656 cd $(HOST_SUBDIR)/gmp && \
10657 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10658 CFLAGS="$(STAGE1_CFLAGS)" \
10659 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10660 LIBCFLAGS="$(LIBCFLAGS)" \
10661 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10662 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10663 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10664 $(EXTRA_HOST_FLAGS) \
10665 $(STAGE1_FLAGS_TO_PASS) \
10666 TFLAGS="$(STAGE1_TFLAGS)" \
10667 $(TARGET-stage1-gmp)
10669 maybe-clean-stage1-gmp: clean-stage1-gmp
10670 clean-stage1: clean-stage1-gmp
10672 @if [ $(current_stage) = stage1 ]; then \
10673 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10675 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10676 $(MAKE) stage1-start; \
10678 cd $(HOST_SUBDIR)/gmp && \
10679 $(MAKE) $(EXTRA_HOST_FLAGS) \
10680 $(STAGE1_FLAGS_TO_PASS) clean
10681 @endif gmp-bootstrap
10684 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10685 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10686 maybe-all-stage2-gmp:
10687 maybe-clean-stage2-gmp:
10689 maybe-all-stage2-gmp: all-stage2-gmp
10690 all-stage2: all-stage2-gmp
10691 TARGET-stage2-gmp = $(TARGET-gmp)
10692 all-stage2-gmp: configure-stage2-gmp
10693 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10694 @r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 TFLAGS="$(STAGE2_TFLAGS)"; \
10698 $(POSTSTAGE1_HOST_EXPORTS) \
10699 cd $(HOST_SUBDIR)/gmp && \
10700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10701 CFLAGS="$(STAGE2_CFLAGS)" \
10702 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10703 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10704 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10705 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10706 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10707 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10708 TFLAGS="$(STAGE2_TFLAGS)" \
10709 $(TARGET-stage2-gmp)
10711 maybe-clean-stage2-gmp: clean-stage2-gmp
10712 clean-stage2: clean-stage2-gmp
10714 @if [ $(current_stage) = stage2 ]; then \
10715 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10717 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10718 $(MAKE) stage2-start; \
10720 cd $(HOST_SUBDIR)/gmp && \
10721 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10722 @endif gmp-bootstrap
10725 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10726 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10727 maybe-all-stage3-gmp:
10728 maybe-clean-stage3-gmp:
10730 maybe-all-stage3-gmp: all-stage3-gmp
10731 all-stage3: all-stage3-gmp
10732 TARGET-stage3-gmp = $(TARGET-gmp)
10733 all-stage3-gmp: configure-stage3-gmp
10734 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10735 @r=`${PWD_COMMAND}`; export r; \
10736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10737 TFLAGS="$(STAGE3_TFLAGS)"; \
10739 $(POSTSTAGE1_HOST_EXPORTS) \
10740 cd $(HOST_SUBDIR)/gmp && \
10741 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10742 CFLAGS="$(STAGE3_CFLAGS)" \
10743 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10744 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10745 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10746 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10747 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10748 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10749 TFLAGS="$(STAGE3_TFLAGS)" \
10750 $(TARGET-stage3-gmp)
10752 maybe-clean-stage3-gmp: clean-stage3-gmp
10753 clean-stage3: clean-stage3-gmp
10755 @if [ $(current_stage) = stage3 ]; then \
10756 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10758 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10759 $(MAKE) stage3-start; \
10761 cd $(HOST_SUBDIR)/gmp && \
10762 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10763 @endif gmp-bootstrap
10766 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10767 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10768 maybe-all-stage4-gmp:
10769 maybe-clean-stage4-gmp:
10771 maybe-all-stage4-gmp: all-stage4-gmp
10772 all-stage4: all-stage4-gmp
10773 TARGET-stage4-gmp = $(TARGET-gmp)
10774 all-stage4-gmp: configure-stage4-gmp
10775 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10776 @r=`${PWD_COMMAND}`; export r; \
10777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10778 TFLAGS="$(STAGE4_TFLAGS)"; \
10780 $(POSTSTAGE1_HOST_EXPORTS) \
10781 cd $(HOST_SUBDIR)/gmp && \
10782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10783 CFLAGS="$(STAGE4_CFLAGS)" \
10784 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10785 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10786 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10787 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10788 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10789 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10790 TFLAGS="$(STAGE4_TFLAGS)" \
10791 $(TARGET-stage4-gmp)
10793 maybe-clean-stage4-gmp: clean-stage4-gmp
10794 clean-stage4: clean-stage4-gmp
10796 @if [ $(current_stage) = stage4 ]; then \
10797 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10799 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10800 $(MAKE) stage4-start; \
10802 cd $(HOST_SUBDIR)/gmp && \
10803 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10804 @endif gmp-bootstrap
10807 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10808 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10809 maybe-all-stageprofile-gmp:
10810 maybe-clean-stageprofile-gmp:
10812 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10813 all-stageprofile: all-stageprofile-gmp
10814 TARGET-stageprofile-gmp = $(TARGET-gmp)
10815 all-stageprofile-gmp: configure-stageprofile-gmp
10816 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10817 @r=`${PWD_COMMAND}`; export r; \
10818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10819 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10821 $(POSTSTAGE1_HOST_EXPORTS) \
10822 cd $(HOST_SUBDIR)/gmp && \
10823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10824 CFLAGS="$(STAGEprofile_CFLAGS)" \
10825 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10826 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10830 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10831 TFLAGS="$(STAGEprofile_TFLAGS)" \
10832 $(TARGET-stageprofile-gmp)
10834 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10835 clean-stageprofile: clean-stageprofile-gmp
10836 clean-stageprofile-gmp:
10837 @if [ $(current_stage) = stageprofile ]; then \
10838 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10840 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10841 $(MAKE) stageprofile-start; \
10843 cd $(HOST_SUBDIR)/gmp && \
10844 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10845 @endif gmp-bootstrap
10848 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10849 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10850 maybe-all-stagefeedback-gmp:
10851 maybe-clean-stagefeedback-gmp:
10853 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10854 all-stagefeedback: all-stagefeedback-gmp
10855 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10856 all-stagefeedback-gmp: configure-stagefeedback-gmp
10857 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10858 @r=`${PWD_COMMAND}`; export r; \
10859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10860 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10862 $(POSTSTAGE1_HOST_EXPORTS) \
10863 cd $(HOST_SUBDIR)/gmp && \
10864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10865 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10866 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10867 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10872 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10873 $(TARGET-stagefeedback-gmp)
10875 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10876 clean-stagefeedback: clean-stagefeedback-gmp
10877 clean-stagefeedback-gmp:
10878 @if [ $(current_stage) = stagefeedback ]; then \
10879 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10881 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10882 $(MAKE) stagefeedback-start; \
10884 cd $(HOST_SUBDIR)/gmp && \
10885 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10886 @endif gmp-bootstrap
10892 .PHONY: check-gmp maybe-check-gmp
10895 maybe-check-gmp: check-gmp
10898 @: $(MAKE); $(unstage)
10899 @r=`${PWD_COMMAND}`; export r; \
10900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10902 (cd $(HOST_SUBDIR)/gmp && \
10903 $(MAKE) $(FLAGS_TO_PASS) check)
10907 .PHONY: install-gmp maybe-install-gmp
10910 maybe-install-gmp: install-gmp
10916 .PHONY: install-strip-gmp maybe-install-strip-gmp
10917 maybe-install-strip-gmp:
10919 maybe-install-strip-gmp: install-strip-gmp
10925 # Other targets (info, dvi, pdf, etc.)
10927 .PHONY: maybe-info-gmp info-gmp
10930 maybe-info-gmp: info-gmp
10934 @[ -f ./gmp/Makefile ] || exit 0; \
10935 r=`${PWD_COMMAND}`; export r; \
10936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10938 for flag in $(EXTRA_HOST_FLAGS) ; do \
10939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10941 echo "Doing info in gmp" ; \
10942 (cd $(HOST_SUBDIR)/gmp && \
10943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10945 "RANLIB=$${RANLIB}" \
10946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10952 .PHONY: maybe-dvi-gmp dvi-gmp
10955 maybe-dvi-gmp: dvi-gmp
10959 @[ -f ./gmp/Makefile ] || exit 0; \
10960 r=`${PWD_COMMAND}`; export r; \
10961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10963 for flag in $(EXTRA_HOST_FLAGS) ; do \
10964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10966 echo "Doing dvi in gmp" ; \
10967 (cd $(HOST_SUBDIR)/gmp && \
10968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10970 "RANLIB=$${RANLIB}" \
10971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10977 .PHONY: maybe-pdf-gmp pdf-gmp
10980 maybe-pdf-gmp: pdf-gmp
10984 @[ -f ./gmp/Makefile ] || exit 0; \
10985 r=`${PWD_COMMAND}`; export r; \
10986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10988 for flag in $(EXTRA_HOST_FLAGS) ; do \
10989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10991 echo "Doing pdf in gmp" ; \
10992 (cd $(HOST_SUBDIR)/gmp && \
10993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10995 "RANLIB=$${RANLIB}" \
10996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11002 .PHONY: maybe-html-gmp html-gmp
11005 maybe-html-gmp: html-gmp
11009 @[ -f ./gmp/Makefile ] || exit 0; \
11010 r=`${PWD_COMMAND}`; export r; \
11011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11013 for flag in $(EXTRA_HOST_FLAGS) ; do \
11014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11016 echo "Doing html in gmp" ; \
11017 (cd $(HOST_SUBDIR)/gmp && \
11018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11020 "RANLIB=$${RANLIB}" \
11021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11027 .PHONY: maybe-TAGS-gmp TAGS-gmp
11030 maybe-TAGS-gmp: TAGS-gmp
11034 @[ -f ./gmp/Makefile ] || exit 0; \
11035 r=`${PWD_COMMAND}`; export r; \
11036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11038 for flag in $(EXTRA_HOST_FLAGS) ; do \
11039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11041 echo "Doing TAGS in gmp" ; \
11042 (cd $(HOST_SUBDIR)/gmp && \
11043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11045 "RANLIB=$${RANLIB}" \
11046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11052 .PHONY: maybe-install-info-gmp install-info-gmp
11053 maybe-install-info-gmp:
11055 maybe-install-info-gmp: install-info-gmp
11057 install-info-gmp: \
11060 @[ -f ./gmp/Makefile ] || exit 0; \
11061 r=`${PWD_COMMAND}`; export r; \
11062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11064 for flag in $(EXTRA_HOST_FLAGS) ; do \
11065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11067 echo "Doing install-info in gmp" ; \
11068 (cd $(HOST_SUBDIR)/gmp && \
11069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11071 "RANLIB=$${RANLIB}" \
11072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11078 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11079 maybe-install-pdf-gmp:
11081 maybe-install-pdf-gmp: install-pdf-gmp
11086 @[ -f ./gmp/Makefile ] || exit 0; \
11087 r=`${PWD_COMMAND}`; export r; \
11088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11090 for flag in $(EXTRA_HOST_FLAGS) ; do \
11091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11093 echo "Doing install-pdf in gmp" ; \
11094 (cd $(HOST_SUBDIR)/gmp && \
11095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11097 "RANLIB=$${RANLIB}" \
11098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11104 .PHONY: maybe-install-html-gmp install-html-gmp
11105 maybe-install-html-gmp:
11107 maybe-install-html-gmp: install-html-gmp
11109 install-html-gmp: \
11112 @[ -f ./gmp/Makefile ] || exit 0; \
11113 r=`${PWD_COMMAND}`; export r; \
11114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11116 for flag in $(EXTRA_HOST_FLAGS) ; do \
11117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11119 echo "Doing install-html in gmp" ; \
11120 (cd $(HOST_SUBDIR)/gmp && \
11121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11123 "RANLIB=$${RANLIB}" \
11124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11130 .PHONY: maybe-installcheck-gmp installcheck-gmp
11131 maybe-installcheck-gmp:
11133 maybe-installcheck-gmp: installcheck-gmp
11135 installcheck-gmp: \
11137 @[ -f ./gmp/Makefile ] || exit 0; \
11138 r=`${PWD_COMMAND}`; export r; \
11139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11141 for flag in $(EXTRA_HOST_FLAGS) ; do \
11142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11144 echo "Doing installcheck in gmp" ; \
11145 (cd $(HOST_SUBDIR)/gmp && \
11146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11148 "RANLIB=$${RANLIB}" \
11149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11155 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11156 maybe-mostlyclean-gmp:
11158 maybe-mostlyclean-gmp: mostlyclean-gmp
11161 @[ -f ./gmp/Makefile ] || exit 0; \
11162 r=`${PWD_COMMAND}`; export r; \
11163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11165 for flag in $(EXTRA_HOST_FLAGS) ; do \
11166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11168 echo "Doing mostlyclean in gmp" ; \
11169 (cd $(HOST_SUBDIR)/gmp && \
11170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11172 "RANLIB=$${RANLIB}" \
11173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11179 .PHONY: maybe-clean-gmp clean-gmp
11182 maybe-clean-gmp: clean-gmp
11185 @[ -f ./gmp/Makefile ] || exit 0; \
11186 r=`${PWD_COMMAND}`; export r; \
11187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11189 for flag in $(EXTRA_HOST_FLAGS) ; do \
11190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11192 echo "Doing clean in gmp" ; \
11193 (cd $(HOST_SUBDIR)/gmp && \
11194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11196 "RANLIB=$${RANLIB}" \
11197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11203 .PHONY: maybe-distclean-gmp distclean-gmp
11204 maybe-distclean-gmp:
11206 maybe-distclean-gmp: distclean-gmp
11209 @[ -f ./gmp/Makefile ] || exit 0; \
11210 r=`${PWD_COMMAND}`; export r; \
11211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11213 for flag in $(EXTRA_HOST_FLAGS) ; do \
11214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11216 echo "Doing distclean in gmp" ; \
11217 (cd $(HOST_SUBDIR)/gmp && \
11218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11220 "RANLIB=$${RANLIB}" \
11221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11227 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11228 maybe-maintainer-clean-gmp:
11230 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11232 maintainer-clean-gmp:
11233 @[ -f ./gmp/Makefile ] || exit 0; \
11234 r=`${PWD_COMMAND}`; export r; \
11235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11237 for flag in $(EXTRA_HOST_FLAGS) ; do \
11238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11240 echo "Doing maintainer-clean in gmp" ; \
11241 (cd $(HOST_SUBDIR)/gmp && \
11242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11244 "RANLIB=$${RANLIB}" \
11245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11246 maintainer-clean) \
11253 .PHONY: configure-mpfr maybe-configure-mpfr
11254 maybe-configure-mpfr:
11256 configure-mpfr: stage_current
11257 @endif gcc-bootstrap
11259 maybe-configure-mpfr: configure-mpfr
11261 @r=`${PWD_COMMAND}`; export r; \
11262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11263 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11266 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11267 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11268 case $(srcdir) in \
11269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11270 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11273 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11274 libsrcdir="$$s/mpfr"; \
11275 $(SHELL) $${libsrcdir}/configure \
11276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11277 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11283 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11284 maybe-configure-stage1-mpfr:
11286 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11287 configure-stage1-mpfr:
11288 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11290 @r=`${PWD_COMMAND}`; export r; \
11291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11292 TFLAGS="$(STAGE1_TFLAGS)"; \
11293 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11295 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11296 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11297 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11298 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11300 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11301 case $(srcdir) in \
11302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11303 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11306 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11307 libsrcdir="$$s/mpfr"; \
11308 $(SHELL) $${libsrcdir}/configure \
11309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11310 --target=${target_alias} $${srcdiroption} \
11311 $(STAGE1_CONFIGURE_FLAGS) \
11312 --disable-shared @extra_mpfr_configure_flags@
11313 @endif mpfr-bootstrap
11315 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11316 maybe-configure-stage2-mpfr:
11318 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11319 configure-stage2-mpfr:
11320 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11322 @r=`${PWD_COMMAND}`; export r; \
11323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11324 TFLAGS="$(STAGE2_TFLAGS)"; \
11325 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11327 $(POSTSTAGE1_HOST_EXPORTS) \
11328 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11329 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11330 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11331 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11333 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11334 case $(srcdir) in \
11335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11336 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11339 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11340 libsrcdir="$$s/mpfr"; \
11341 $(SHELL) $${libsrcdir}/configure \
11342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11343 --target=${target_alias} $${srcdiroption} \
11344 --with-build-libsubdir=$(HOST_SUBDIR) \
11345 $(STAGE2_CONFIGURE_FLAGS) \
11346 --disable-shared @extra_mpfr_configure_flags@
11347 @endif mpfr-bootstrap
11349 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11350 maybe-configure-stage3-mpfr:
11352 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11353 configure-stage3-mpfr:
11354 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11355 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11356 @r=`${PWD_COMMAND}`; export r; \
11357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11358 TFLAGS="$(STAGE3_TFLAGS)"; \
11359 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11361 $(POSTSTAGE1_HOST_EXPORTS) \
11362 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11363 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11364 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11365 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11367 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11368 case $(srcdir) in \
11369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11370 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11373 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11374 libsrcdir="$$s/mpfr"; \
11375 $(SHELL) $${libsrcdir}/configure \
11376 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11377 --target=${target_alias} $${srcdiroption} \
11378 --with-build-libsubdir=$(HOST_SUBDIR) \
11379 $(STAGE3_CONFIGURE_FLAGS) \
11380 --disable-shared @extra_mpfr_configure_flags@
11381 @endif mpfr-bootstrap
11383 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11384 maybe-configure-stage4-mpfr:
11386 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11387 configure-stage4-mpfr:
11388 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11390 @r=`${PWD_COMMAND}`; export r; \
11391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11392 TFLAGS="$(STAGE4_TFLAGS)"; \
11393 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11395 $(POSTSTAGE1_HOST_EXPORTS) \
11396 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11397 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11398 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11399 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11401 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11402 case $(srcdir) in \
11403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11404 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11407 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11408 libsrcdir="$$s/mpfr"; \
11409 $(SHELL) $${libsrcdir}/configure \
11410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11411 --target=${target_alias} $${srcdiroption} \
11412 --with-build-libsubdir=$(HOST_SUBDIR) \
11413 $(STAGE4_CONFIGURE_FLAGS) \
11414 --disable-shared @extra_mpfr_configure_flags@
11415 @endif mpfr-bootstrap
11417 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11418 maybe-configure-stageprofile-mpfr:
11420 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11421 configure-stageprofile-mpfr:
11422 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11424 @r=`${PWD_COMMAND}`; export r; \
11425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11426 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11427 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11429 $(POSTSTAGE1_HOST_EXPORTS) \
11430 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11431 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11432 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11433 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11435 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11436 case $(srcdir) in \
11437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11438 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11441 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11442 libsrcdir="$$s/mpfr"; \
11443 $(SHELL) $${libsrcdir}/configure \
11444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11445 --target=${target_alias} $${srcdiroption} \
11446 --with-build-libsubdir=$(HOST_SUBDIR) \
11447 $(STAGEprofile_CONFIGURE_FLAGS) \
11448 --disable-shared @extra_mpfr_configure_flags@
11449 @endif mpfr-bootstrap
11451 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11452 maybe-configure-stagefeedback-mpfr:
11454 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11455 configure-stagefeedback-mpfr:
11456 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11458 @r=`${PWD_COMMAND}`; export r; \
11459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11460 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11461 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11463 $(POSTSTAGE1_HOST_EXPORTS) \
11464 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11465 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11466 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11467 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11469 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11470 case $(srcdir) in \
11471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11472 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11475 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11476 libsrcdir="$$s/mpfr"; \
11477 $(SHELL) $${libsrcdir}/configure \
11478 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11479 --target=${target_alias} $${srcdiroption} \
11480 --with-build-libsubdir=$(HOST_SUBDIR) \
11481 $(STAGEfeedback_CONFIGURE_FLAGS) \
11482 --disable-shared @extra_mpfr_configure_flags@
11483 @endif mpfr-bootstrap
11489 .PHONY: all-mpfr maybe-all-mpfr
11492 all-mpfr: stage_current
11493 @endif gcc-bootstrap
11496 maybe-all-mpfr: all-mpfr
11497 all-mpfr: configure-mpfr
11498 @r=`${PWD_COMMAND}`; export r; \
11499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11501 (cd $(HOST_SUBDIR)/mpfr && \
11502 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11508 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11509 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11510 maybe-all-stage1-mpfr:
11511 maybe-clean-stage1-mpfr:
11513 maybe-all-stage1-mpfr: all-stage1-mpfr
11514 all-stage1: all-stage1-mpfr
11515 TARGET-stage1-mpfr = $(TARGET-mpfr)
11516 all-stage1-mpfr: configure-stage1-mpfr
11517 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11518 @r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11520 TFLAGS="$(STAGE1_TFLAGS)"; \
11522 cd $(HOST_SUBDIR)/mpfr && \
11523 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11524 CFLAGS="$(STAGE1_CFLAGS)" \
11525 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11526 LIBCFLAGS="$(LIBCFLAGS)" \
11527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11530 $(EXTRA_HOST_FLAGS) \
11531 $(STAGE1_FLAGS_TO_PASS) \
11532 TFLAGS="$(STAGE1_TFLAGS)" \
11533 $(TARGET-stage1-mpfr)
11535 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11536 clean-stage1: clean-stage1-mpfr
11538 @if [ $(current_stage) = stage1 ]; then \
11539 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11541 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11542 $(MAKE) stage1-start; \
11544 cd $(HOST_SUBDIR)/mpfr && \
11545 $(MAKE) $(EXTRA_HOST_FLAGS) \
11546 $(STAGE1_FLAGS_TO_PASS) clean
11547 @endif mpfr-bootstrap
11550 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11551 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11552 maybe-all-stage2-mpfr:
11553 maybe-clean-stage2-mpfr:
11555 maybe-all-stage2-mpfr: all-stage2-mpfr
11556 all-stage2: all-stage2-mpfr
11557 TARGET-stage2-mpfr = $(TARGET-mpfr)
11558 all-stage2-mpfr: configure-stage2-mpfr
11559 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11560 @r=`${PWD_COMMAND}`; export r; \
11561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11562 TFLAGS="$(STAGE2_TFLAGS)"; \
11564 $(POSTSTAGE1_HOST_EXPORTS) \
11565 cd $(HOST_SUBDIR)/mpfr && \
11566 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11567 CFLAGS="$(STAGE2_CFLAGS)" \
11568 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11569 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11570 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11571 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11572 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11573 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11574 TFLAGS="$(STAGE2_TFLAGS)" \
11575 $(TARGET-stage2-mpfr)
11577 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11578 clean-stage2: clean-stage2-mpfr
11580 @if [ $(current_stage) = stage2 ]; then \
11581 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11583 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11584 $(MAKE) stage2-start; \
11586 cd $(HOST_SUBDIR)/mpfr && \
11587 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11588 @endif mpfr-bootstrap
11591 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11592 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11593 maybe-all-stage3-mpfr:
11594 maybe-clean-stage3-mpfr:
11596 maybe-all-stage3-mpfr: all-stage3-mpfr
11597 all-stage3: all-stage3-mpfr
11598 TARGET-stage3-mpfr = $(TARGET-mpfr)
11599 all-stage3-mpfr: configure-stage3-mpfr
11600 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11601 @r=`${PWD_COMMAND}`; export r; \
11602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11603 TFLAGS="$(STAGE3_TFLAGS)"; \
11605 $(POSTSTAGE1_HOST_EXPORTS) \
11606 cd $(HOST_SUBDIR)/mpfr && \
11607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11608 CFLAGS="$(STAGE3_CFLAGS)" \
11609 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11610 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11615 TFLAGS="$(STAGE3_TFLAGS)" \
11616 $(TARGET-stage3-mpfr)
11618 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11619 clean-stage3: clean-stage3-mpfr
11621 @if [ $(current_stage) = stage3 ]; then \
11622 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11624 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11625 $(MAKE) stage3-start; \
11627 cd $(HOST_SUBDIR)/mpfr && \
11628 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11629 @endif mpfr-bootstrap
11632 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11633 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11634 maybe-all-stage4-mpfr:
11635 maybe-clean-stage4-mpfr:
11637 maybe-all-stage4-mpfr: all-stage4-mpfr
11638 all-stage4: all-stage4-mpfr
11639 TARGET-stage4-mpfr = $(TARGET-mpfr)
11640 all-stage4-mpfr: configure-stage4-mpfr
11641 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11642 @r=`${PWD_COMMAND}`; export r; \
11643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11644 TFLAGS="$(STAGE4_TFLAGS)"; \
11646 $(POSTSTAGE1_HOST_EXPORTS) \
11647 cd $(HOST_SUBDIR)/mpfr && \
11648 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11649 CFLAGS="$(STAGE4_CFLAGS)" \
11650 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11651 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11652 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11653 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11654 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11655 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11656 TFLAGS="$(STAGE4_TFLAGS)" \
11657 $(TARGET-stage4-mpfr)
11659 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11660 clean-stage4: clean-stage4-mpfr
11662 @if [ $(current_stage) = stage4 ]; then \
11663 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11665 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11666 $(MAKE) stage4-start; \
11668 cd $(HOST_SUBDIR)/mpfr && \
11669 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11670 @endif mpfr-bootstrap
11673 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11674 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11675 maybe-all-stageprofile-mpfr:
11676 maybe-clean-stageprofile-mpfr:
11678 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11679 all-stageprofile: all-stageprofile-mpfr
11680 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11681 all-stageprofile-mpfr: configure-stageprofile-mpfr
11682 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11683 @r=`${PWD_COMMAND}`; export r; \
11684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11685 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11687 $(POSTSTAGE1_HOST_EXPORTS) \
11688 cd $(HOST_SUBDIR)/mpfr && \
11689 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11690 CFLAGS="$(STAGEprofile_CFLAGS)" \
11691 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11692 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11693 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11694 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11695 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11696 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11697 TFLAGS="$(STAGEprofile_TFLAGS)" \
11698 $(TARGET-stageprofile-mpfr)
11700 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11701 clean-stageprofile: clean-stageprofile-mpfr
11702 clean-stageprofile-mpfr:
11703 @if [ $(current_stage) = stageprofile ]; then \
11704 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11706 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11707 $(MAKE) stageprofile-start; \
11709 cd $(HOST_SUBDIR)/mpfr && \
11710 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11711 @endif mpfr-bootstrap
11714 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11715 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11716 maybe-all-stagefeedback-mpfr:
11717 maybe-clean-stagefeedback-mpfr:
11719 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11720 all-stagefeedback: all-stagefeedback-mpfr
11721 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11722 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11723 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11724 @r=`${PWD_COMMAND}`; export r; \
11725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11726 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11728 $(POSTSTAGE1_HOST_EXPORTS) \
11729 cd $(HOST_SUBDIR)/mpfr && \
11730 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11731 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11732 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11733 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11734 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11735 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11736 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11737 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11738 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11739 $(TARGET-stagefeedback-mpfr)
11741 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11742 clean-stagefeedback: clean-stagefeedback-mpfr
11743 clean-stagefeedback-mpfr:
11744 @if [ $(current_stage) = stagefeedback ]; then \
11745 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11747 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11748 $(MAKE) stagefeedback-start; \
11750 cd $(HOST_SUBDIR)/mpfr && \
11751 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11752 @endif mpfr-bootstrap
11758 .PHONY: check-mpfr maybe-check-mpfr
11761 maybe-check-mpfr: check-mpfr
11764 @: $(MAKE); $(unstage)
11765 @r=`${PWD_COMMAND}`; export r; \
11766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11768 (cd $(HOST_SUBDIR)/mpfr && \
11769 $(MAKE) $(FLAGS_TO_PASS) check)
11773 .PHONY: install-mpfr maybe-install-mpfr
11774 maybe-install-mpfr:
11776 maybe-install-mpfr: install-mpfr
11782 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11783 maybe-install-strip-mpfr:
11785 maybe-install-strip-mpfr: install-strip-mpfr
11787 install-strip-mpfr:
11791 # Other targets (info, dvi, pdf, etc.)
11793 .PHONY: maybe-info-mpfr info-mpfr
11796 maybe-info-mpfr: info-mpfr
11800 @[ -f ./mpfr/Makefile ] || exit 0; \
11801 r=`${PWD_COMMAND}`; export r; \
11802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11804 for flag in $(EXTRA_HOST_FLAGS) ; do \
11805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11807 echo "Doing info in mpfr" ; \
11808 (cd $(HOST_SUBDIR)/mpfr && \
11809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11811 "RANLIB=$${RANLIB}" \
11812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11818 .PHONY: maybe-dvi-mpfr dvi-mpfr
11821 maybe-dvi-mpfr: dvi-mpfr
11825 @[ -f ./mpfr/Makefile ] || exit 0; \
11826 r=`${PWD_COMMAND}`; export r; \
11827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11829 for flag in $(EXTRA_HOST_FLAGS) ; do \
11830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11832 echo "Doing dvi in mpfr" ; \
11833 (cd $(HOST_SUBDIR)/mpfr && \
11834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11836 "RANLIB=$${RANLIB}" \
11837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11843 .PHONY: maybe-pdf-mpfr pdf-mpfr
11846 maybe-pdf-mpfr: pdf-mpfr
11850 @[ -f ./mpfr/Makefile ] || exit 0; \
11851 r=`${PWD_COMMAND}`; export r; \
11852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11854 for flag in $(EXTRA_HOST_FLAGS) ; do \
11855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11857 echo "Doing pdf in mpfr" ; \
11858 (cd $(HOST_SUBDIR)/mpfr && \
11859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11861 "RANLIB=$${RANLIB}" \
11862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11868 .PHONY: maybe-html-mpfr html-mpfr
11871 maybe-html-mpfr: html-mpfr
11875 @[ -f ./mpfr/Makefile ] || exit 0; \
11876 r=`${PWD_COMMAND}`; export r; \
11877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11879 for flag in $(EXTRA_HOST_FLAGS) ; do \
11880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11882 echo "Doing html in mpfr" ; \
11883 (cd $(HOST_SUBDIR)/mpfr && \
11884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11886 "RANLIB=$${RANLIB}" \
11887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11893 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11896 maybe-TAGS-mpfr: TAGS-mpfr
11900 @[ -f ./mpfr/Makefile ] || exit 0; \
11901 r=`${PWD_COMMAND}`; export r; \
11902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11904 for flag in $(EXTRA_HOST_FLAGS) ; do \
11905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11907 echo "Doing TAGS in mpfr" ; \
11908 (cd $(HOST_SUBDIR)/mpfr && \
11909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11911 "RANLIB=$${RANLIB}" \
11912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11918 .PHONY: maybe-install-info-mpfr install-info-mpfr
11919 maybe-install-info-mpfr:
11921 maybe-install-info-mpfr: install-info-mpfr
11923 install-info-mpfr: \
11926 @[ -f ./mpfr/Makefile ] || exit 0; \
11927 r=`${PWD_COMMAND}`; export r; \
11928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11930 for flag in $(EXTRA_HOST_FLAGS) ; do \
11931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11933 echo "Doing install-info in mpfr" ; \
11934 (cd $(HOST_SUBDIR)/mpfr && \
11935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11937 "RANLIB=$${RANLIB}" \
11938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11944 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11945 maybe-install-pdf-mpfr:
11947 maybe-install-pdf-mpfr: install-pdf-mpfr
11949 install-pdf-mpfr: \
11952 @[ -f ./mpfr/Makefile ] || exit 0; \
11953 r=`${PWD_COMMAND}`; export r; \
11954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11956 for flag in $(EXTRA_HOST_FLAGS) ; do \
11957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11959 echo "Doing install-pdf in mpfr" ; \
11960 (cd $(HOST_SUBDIR)/mpfr && \
11961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11963 "RANLIB=$${RANLIB}" \
11964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11970 .PHONY: maybe-install-html-mpfr install-html-mpfr
11971 maybe-install-html-mpfr:
11973 maybe-install-html-mpfr: install-html-mpfr
11975 install-html-mpfr: \
11978 @[ -f ./mpfr/Makefile ] || exit 0; \
11979 r=`${PWD_COMMAND}`; export r; \
11980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11982 for flag in $(EXTRA_HOST_FLAGS) ; do \
11983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11985 echo "Doing install-html in mpfr" ; \
11986 (cd $(HOST_SUBDIR)/mpfr && \
11987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11989 "RANLIB=$${RANLIB}" \
11990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11996 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
11997 maybe-installcheck-mpfr:
11999 maybe-installcheck-mpfr: installcheck-mpfr
12001 installcheck-mpfr: \
12003 @[ -f ./mpfr/Makefile ] || exit 0; \
12004 r=`${PWD_COMMAND}`; export r; \
12005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12007 for flag in $(EXTRA_HOST_FLAGS) ; do \
12008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12010 echo "Doing installcheck in mpfr" ; \
12011 (cd $(HOST_SUBDIR)/mpfr && \
12012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12014 "RANLIB=$${RANLIB}" \
12015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12021 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12022 maybe-mostlyclean-mpfr:
12024 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12027 @[ -f ./mpfr/Makefile ] || exit 0; \
12028 r=`${PWD_COMMAND}`; export r; \
12029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12031 for flag in $(EXTRA_HOST_FLAGS) ; do \
12032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12034 echo "Doing mostlyclean in mpfr" ; \
12035 (cd $(HOST_SUBDIR)/mpfr && \
12036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12038 "RANLIB=$${RANLIB}" \
12039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12045 .PHONY: maybe-clean-mpfr clean-mpfr
12048 maybe-clean-mpfr: clean-mpfr
12051 @[ -f ./mpfr/Makefile ] || exit 0; \
12052 r=`${PWD_COMMAND}`; export r; \
12053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12055 for flag in $(EXTRA_HOST_FLAGS) ; do \
12056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12058 echo "Doing clean in mpfr" ; \
12059 (cd $(HOST_SUBDIR)/mpfr && \
12060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12062 "RANLIB=$${RANLIB}" \
12063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12069 .PHONY: maybe-distclean-mpfr distclean-mpfr
12070 maybe-distclean-mpfr:
12072 maybe-distclean-mpfr: distclean-mpfr
12075 @[ -f ./mpfr/Makefile ] || exit 0; \
12076 r=`${PWD_COMMAND}`; export r; \
12077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079 for flag in $(EXTRA_HOST_FLAGS) ; do \
12080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12082 echo "Doing distclean in mpfr" ; \
12083 (cd $(HOST_SUBDIR)/mpfr && \
12084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12086 "RANLIB=$${RANLIB}" \
12087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12093 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12094 maybe-maintainer-clean-mpfr:
12096 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12098 maintainer-clean-mpfr:
12099 @[ -f ./mpfr/Makefile ] || exit 0; \
12100 r=`${PWD_COMMAND}`; export r; \
12101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12103 for flag in $(EXTRA_HOST_FLAGS) ; do \
12104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12106 echo "Doing maintainer-clean in mpfr" ; \
12107 (cd $(HOST_SUBDIR)/mpfr && \
12108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12110 "RANLIB=$${RANLIB}" \
12111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12112 maintainer-clean) \
12119 .PHONY: configure-mpc maybe-configure-mpc
12120 maybe-configure-mpc:
12122 configure-mpc: stage_current
12123 @endif gcc-bootstrap
12125 maybe-configure-mpc: configure-mpc
12127 @r=`${PWD_COMMAND}`; export r; \
12128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12129 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12132 echo Configuring in $(HOST_SUBDIR)/mpc; \
12133 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12134 case $(srcdir) in \
12135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12136 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12139 srcdiroption="--srcdir=$${topdir}/mpc"; \
12140 libsrcdir="$$s/mpc"; \
12141 $(SHELL) $${libsrcdir}/configure \
12142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12143 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12149 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12150 maybe-configure-stage1-mpc:
12152 maybe-configure-stage1-mpc: configure-stage1-mpc
12153 configure-stage1-mpc:
12154 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12156 @r=`${PWD_COMMAND}`; export r; \
12157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12158 TFLAGS="$(STAGE1_TFLAGS)"; \
12159 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12161 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12162 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12163 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12164 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12166 cd $(HOST_SUBDIR)/mpc || exit 1; \
12167 case $(srcdir) in \
12168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12169 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12172 srcdiroption="--srcdir=$${topdir}/mpc"; \
12173 libsrcdir="$$s/mpc"; \
12174 $(SHELL) $${libsrcdir}/configure \
12175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12176 --target=${target_alias} $${srcdiroption} \
12177 $(STAGE1_CONFIGURE_FLAGS) \
12178 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12179 @endif mpc-bootstrap
12181 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12182 maybe-configure-stage2-mpc:
12184 maybe-configure-stage2-mpc: configure-stage2-mpc
12185 configure-stage2-mpc:
12186 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12187 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12188 @r=`${PWD_COMMAND}`; export r; \
12189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12190 TFLAGS="$(STAGE2_TFLAGS)"; \
12191 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12193 $(POSTSTAGE1_HOST_EXPORTS) \
12194 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12195 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12196 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12197 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12199 cd $(HOST_SUBDIR)/mpc || exit 1; \
12200 case $(srcdir) in \
12201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12202 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12205 srcdiroption="--srcdir=$${topdir}/mpc"; \
12206 libsrcdir="$$s/mpc"; \
12207 $(SHELL) $${libsrcdir}/configure \
12208 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12209 --target=${target_alias} $${srcdiroption} \
12210 --with-build-libsubdir=$(HOST_SUBDIR) \
12211 $(STAGE2_CONFIGURE_FLAGS) \
12212 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12213 @endif mpc-bootstrap
12215 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12216 maybe-configure-stage3-mpc:
12218 maybe-configure-stage3-mpc: configure-stage3-mpc
12219 configure-stage3-mpc:
12220 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12221 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12222 @r=`${PWD_COMMAND}`; export r; \
12223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12224 TFLAGS="$(STAGE3_TFLAGS)"; \
12225 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12227 $(POSTSTAGE1_HOST_EXPORTS) \
12228 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12229 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12230 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12231 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12232 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12233 cd $(HOST_SUBDIR)/mpc || exit 1; \
12234 case $(srcdir) in \
12235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12236 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12239 srcdiroption="--srcdir=$${topdir}/mpc"; \
12240 libsrcdir="$$s/mpc"; \
12241 $(SHELL) $${libsrcdir}/configure \
12242 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12243 --target=${target_alias} $${srcdiroption} \
12244 --with-build-libsubdir=$(HOST_SUBDIR) \
12245 $(STAGE3_CONFIGURE_FLAGS) \
12246 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12247 @endif mpc-bootstrap
12249 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12250 maybe-configure-stage4-mpc:
12252 maybe-configure-stage4-mpc: configure-stage4-mpc
12253 configure-stage4-mpc:
12254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12256 @r=`${PWD_COMMAND}`; export r; \
12257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12258 TFLAGS="$(STAGE4_TFLAGS)"; \
12259 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12261 $(POSTSTAGE1_HOST_EXPORTS) \
12262 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12263 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12264 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12265 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12267 cd $(HOST_SUBDIR)/mpc || exit 1; \
12268 case $(srcdir) in \
12269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12270 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12273 srcdiroption="--srcdir=$${topdir}/mpc"; \
12274 libsrcdir="$$s/mpc"; \
12275 $(SHELL) $${libsrcdir}/configure \
12276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12277 --target=${target_alias} $${srcdiroption} \
12278 --with-build-libsubdir=$(HOST_SUBDIR) \
12279 $(STAGE4_CONFIGURE_FLAGS) \
12280 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12281 @endif mpc-bootstrap
12283 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12284 maybe-configure-stageprofile-mpc:
12286 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12287 configure-stageprofile-mpc:
12288 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12290 @r=`${PWD_COMMAND}`; export r; \
12291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12292 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12293 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12295 $(POSTSTAGE1_HOST_EXPORTS) \
12296 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12297 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12298 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12299 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12301 cd $(HOST_SUBDIR)/mpc || exit 1; \
12302 case $(srcdir) in \
12303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12304 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12307 srcdiroption="--srcdir=$${topdir}/mpc"; \
12308 libsrcdir="$$s/mpc"; \
12309 $(SHELL) $${libsrcdir}/configure \
12310 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12311 --target=${target_alias} $${srcdiroption} \
12312 --with-build-libsubdir=$(HOST_SUBDIR) \
12313 $(STAGEprofile_CONFIGURE_FLAGS) \
12314 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12315 @endif mpc-bootstrap
12317 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12318 maybe-configure-stagefeedback-mpc:
12320 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12321 configure-stagefeedback-mpc:
12322 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12324 @r=`${PWD_COMMAND}`; export r; \
12325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12326 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12327 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12329 $(POSTSTAGE1_HOST_EXPORTS) \
12330 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12331 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12332 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12333 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12335 cd $(HOST_SUBDIR)/mpc || exit 1; \
12336 case $(srcdir) in \
12337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12338 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12341 srcdiroption="--srcdir=$${topdir}/mpc"; \
12342 libsrcdir="$$s/mpc"; \
12343 $(SHELL) $${libsrcdir}/configure \
12344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12345 --target=${target_alias} $${srcdiroption} \
12346 --with-build-libsubdir=$(HOST_SUBDIR) \
12347 $(STAGEfeedback_CONFIGURE_FLAGS) \
12348 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12349 @endif mpc-bootstrap
12355 .PHONY: all-mpc maybe-all-mpc
12358 all-mpc: stage_current
12359 @endif gcc-bootstrap
12362 maybe-all-mpc: all-mpc
12363 all-mpc: configure-mpc
12364 @r=`${PWD_COMMAND}`; export r; \
12365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12367 (cd $(HOST_SUBDIR)/mpc && \
12368 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12374 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12375 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12376 maybe-all-stage1-mpc:
12377 maybe-clean-stage1-mpc:
12379 maybe-all-stage1-mpc: all-stage1-mpc
12380 all-stage1: all-stage1-mpc
12381 TARGET-stage1-mpc = $(TARGET-mpc)
12382 all-stage1-mpc: configure-stage1-mpc
12383 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12384 @r=`${PWD_COMMAND}`; export r; \
12385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12386 TFLAGS="$(STAGE1_TFLAGS)"; \
12388 cd $(HOST_SUBDIR)/mpc && \
12389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12390 CFLAGS="$(STAGE1_CFLAGS)" \
12391 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12392 LIBCFLAGS="$(LIBCFLAGS)" \
12393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12396 $(EXTRA_HOST_FLAGS) \
12397 $(STAGE1_FLAGS_TO_PASS) \
12398 TFLAGS="$(STAGE1_TFLAGS)" \
12399 $(TARGET-stage1-mpc)
12401 maybe-clean-stage1-mpc: clean-stage1-mpc
12402 clean-stage1: clean-stage1-mpc
12404 @if [ $(current_stage) = stage1 ]; then \
12405 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12407 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12408 $(MAKE) stage1-start; \
12410 cd $(HOST_SUBDIR)/mpc && \
12411 $(MAKE) $(EXTRA_HOST_FLAGS) \
12412 $(STAGE1_FLAGS_TO_PASS) clean
12413 @endif mpc-bootstrap
12416 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12417 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12418 maybe-all-stage2-mpc:
12419 maybe-clean-stage2-mpc:
12421 maybe-all-stage2-mpc: all-stage2-mpc
12422 all-stage2: all-stage2-mpc
12423 TARGET-stage2-mpc = $(TARGET-mpc)
12424 all-stage2-mpc: configure-stage2-mpc
12425 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12426 @r=`${PWD_COMMAND}`; export r; \
12427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12428 TFLAGS="$(STAGE2_TFLAGS)"; \
12430 $(POSTSTAGE1_HOST_EXPORTS) \
12431 cd $(HOST_SUBDIR)/mpc && \
12432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12433 CFLAGS="$(STAGE2_CFLAGS)" \
12434 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12435 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12439 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12440 TFLAGS="$(STAGE2_TFLAGS)" \
12441 $(TARGET-stage2-mpc)
12443 maybe-clean-stage2-mpc: clean-stage2-mpc
12444 clean-stage2: clean-stage2-mpc
12446 @if [ $(current_stage) = stage2 ]; then \
12447 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12449 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12450 $(MAKE) stage2-start; \
12452 cd $(HOST_SUBDIR)/mpc && \
12453 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12454 @endif mpc-bootstrap
12457 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12458 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12459 maybe-all-stage3-mpc:
12460 maybe-clean-stage3-mpc:
12462 maybe-all-stage3-mpc: all-stage3-mpc
12463 all-stage3: all-stage3-mpc
12464 TARGET-stage3-mpc = $(TARGET-mpc)
12465 all-stage3-mpc: configure-stage3-mpc
12466 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12467 @r=`${PWD_COMMAND}`; export r; \
12468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12469 TFLAGS="$(STAGE3_TFLAGS)"; \
12471 $(POSTSTAGE1_HOST_EXPORTS) \
12472 cd $(HOST_SUBDIR)/mpc && \
12473 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12474 CFLAGS="$(STAGE3_CFLAGS)" \
12475 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12476 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12477 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12478 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12479 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12480 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12481 TFLAGS="$(STAGE3_TFLAGS)" \
12482 $(TARGET-stage3-mpc)
12484 maybe-clean-stage3-mpc: clean-stage3-mpc
12485 clean-stage3: clean-stage3-mpc
12487 @if [ $(current_stage) = stage3 ]; then \
12488 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12490 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12491 $(MAKE) stage3-start; \
12493 cd $(HOST_SUBDIR)/mpc && \
12494 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12495 @endif mpc-bootstrap
12498 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12499 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12500 maybe-all-stage4-mpc:
12501 maybe-clean-stage4-mpc:
12503 maybe-all-stage4-mpc: all-stage4-mpc
12504 all-stage4: all-stage4-mpc
12505 TARGET-stage4-mpc = $(TARGET-mpc)
12506 all-stage4-mpc: configure-stage4-mpc
12507 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12508 @r=`${PWD_COMMAND}`; export r; \
12509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12510 TFLAGS="$(STAGE4_TFLAGS)"; \
12512 $(POSTSTAGE1_HOST_EXPORTS) \
12513 cd $(HOST_SUBDIR)/mpc && \
12514 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12515 CFLAGS="$(STAGE4_CFLAGS)" \
12516 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12517 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12518 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12519 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12520 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12521 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12522 TFLAGS="$(STAGE4_TFLAGS)" \
12523 $(TARGET-stage4-mpc)
12525 maybe-clean-stage4-mpc: clean-stage4-mpc
12526 clean-stage4: clean-stage4-mpc
12528 @if [ $(current_stage) = stage4 ]; then \
12529 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12531 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12532 $(MAKE) stage4-start; \
12534 cd $(HOST_SUBDIR)/mpc && \
12535 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12536 @endif mpc-bootstrap
12539 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12540 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12541 maybe-all-stageprofile-mpc:
12542 maybe-clean-stageprofile-mpc:
12544 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12545 all-stageprofile: all-stageprofile-mpc
12546 TARGET-stageprofile-mpc = $(TARGET-mpc)
12547 all-stageprofile-mpc: configure-stageprofile-mpc
12548 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12549 @r=`${PWD_COMMAND}`; export r; \
12550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12551 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12553 $(POSTSTAGE1_HOST_EXPORTS) \
12554 cd $(HOST_SUBDIR)/mpc && \
12555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12556 CFLAGS="$(STAGEprofile_CFLAGS)" \
12557 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12558 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12562 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12563 TFLAGS="$(STAGEprofile_TFLAGS)" \
12564 $(TARGET-stageprofile-mpc)
12566 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12567 clean-stageprofile: clean-stageprofile-mpc
12568 clean-stageprofile-mpc:
12569 @if [ $(current_stage) = stageprofile ]; then \
12570 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12572 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12573 $(MAKE) stageprofile-start; \
12575 cd $(HOST_SUBDIR)/mpc && \
12576 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12577 @endif mpc-bootstrap
12580 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12581 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12582 maybe-all-stagefeedback-mpc:
12583 maybe-clean-stagefeedback-mpc:
12585 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12586 all-stagefeedback: all-stagefeedback-mpc
12587 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12588 all-stagefeedback-mpc: configure-stagefeedback-mpc
12589 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12590 @r=`${PWD_COMMAND}`; export r; \
12591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12592 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12594 $(POSTSTAGE1_HOST_EXPORTS) \
12595 cd $(HOST_SUBDIR)/mpc && \
12596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12597 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12598 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12599 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12604 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12605 $(TARGET-stagefeedback-mpc)
12607 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12608 clean-stagefeedback: clean-stagefeedback-mpc
12609 clean-stagefeedback-mpc:
12610 @if [ $(current_stage) = stagefeedback ]; then \
12611 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12613 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12614 $(MAKE) stagefeedback-start; \
12616 cd $(HOST_SUBDIR)/mpc && \
12617 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12618 @endif mpc-bootstrap
12624 .PHONY: check-mpc maybe-check-mpc
12627 maybe-check-mpc: check-mpc
12630 @: $(MAKE); $(unstage)
12631 @r=`${PWD_COMMAND}`; export r; \
12632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12634 (cd $(HOST_SUBDIR)/mpc && \
12635 $(MAKE) $(FLAGS_TO_PASS) check)
12639 .PHONY: install-mpc maybe-install-mpc
12642 maybe-install-mpc: install-mpc
12648 .PHONY: install-strip-mpc maybe-install-strip-mpc
12649 maybe-install-strip-mpc:
12651 maybe-install-strip-mpc: install-strip-mpc
12657 # Other targets (info, dvi, pdf, etc.)
12659 .PHONY: maybe-info-mpc info-mpc
12662 maybe-info-mpc: info-mpc
12666 @[ -f ./mpc/Makefile ] || exit 0; \
12667 r=`${PWD_COMMAND}`; export r; \
12668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12670 for flag in $(EXTRA_HOST_FLAGS) ; do \
12671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12673 echo "Doing info in mpc" ; \
12674 (cd $(HOST_SUBDIR)/mpc && \
12675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12677 "RANLIB=$${RANLIB}" \
12678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12684 .PHONY: maybe-dvi-mpc dvi-mpc
12687 maybe-dvi-mpc: dvi-mpc
12691 @[ -f ./mpc/Makefile ] || exit 0; \
12692 r=`${PWD_COMMAND}`; export r; \
12693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12695 for flag in $(EXTRA_HOST_FLAGS) ; do \
12696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12698 echo "Doing dvi in mpc" ; \
12699 (cd $(HOST_SUBDIR)/mpc && \
12700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12702 "RANLIB=$${RANLIB}" \
12703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12709 .PHONY: maybe-pdf-mpc pdf-mpc
12712 maybe-pdf-mpc: pdf-mpc
12716 @[ -f ./mpc/Makefile ] || exit 0; \
12717 r=`${PWD_COMMAND}`; export r; \
12718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12720 for flag in $(EXTRA_HOST_FLAGS) ; do \
12721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12723 echo "Doing pdf in mpc" ; \
12724 (cd $(HOST_SUBDIR)/mpc && \
12725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12727 "RANLIB=$${RANLIB}" \
12728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12734 .PHONY: maybe-html-mpc html-mpc
12737 maybe-html-mpc: html-mpc
12741 @[ -f ./mpc/Makefile ] || exit 0; \
12742 r=`${PWD_COMMAND}`; export r; \
12743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12745 for flag in $(EXTRA_HOST_FLAGS) ; do \
12746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12748 echo "Doing html in mpc" ; \
12749 (cd $(HOST_SUBDIR)/mpc && \
12750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12752 "RANLIB=$${RANLIB}" \
12753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12759 .PHONY: maybe-TAGS-mpc TAGS-mpc
12762 maybe-TAGS-mpc: TAGS-mpc
12766 @[ -f ./mpc/Makefile ] || exit 0; \
12767 r=`${PWD_COMMAND}`; export r; \
12768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770 for flag in $(EXTRA_HOST_FLAGS) ; do \
12771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12773 echo "Doing TAGS in mpc" ; \
12774 (cd $(HOST_SUBDIR)/mpc && \
12775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12777 "RANLIB=$${RANLIB}" \
12778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12784 .PHONY: maybe-install-info-mpc install-info-mpc
12785 maybe-install-info-mpc:
12787 maybe-install-info-mpc: install-info-mpc
12789 install-info-mpc: \
12792 @[ -f ./mpc/Makefile ] || exit 0; \
12793 r=`${PWD_COMMAND}`; export r; \
12794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12796 for flag in $(EXTRA_HOST_FLAGS) ; do \
12797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12799 echo "Doing install-info in mpc" ; \
12800 (cd $(HOST_SUBDIR)/mpc && \
12801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12803 "RANLIB=$${RANLIB}" \
12804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12810 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12811 maybe-install-pdf-mpc:
12813 maybe-install-pdf-mpc: install-pdf-mpc
12818 @[ -f ./mpc/Makefile ] || exit 0; \
12819 r=`${PWD_COMMAND}`; export r; \
12820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12822 for flag in $(EXTRA_HOST_FLAGS) ; do \
12823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12825 echo "Doing install-pdf in mpc" ; \
12826 (cd $(HOST_SUBDIR)/mpc && \
12827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12829 "RANLIB=$${RANLIB}" \
12830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12836 .PHONY: maybe-install-html-mpc install-html-mpc
12837 maybe-install-html-mpc:
12839 maybe-install-html-mpc: install-html-mpc
12841 install-html-mpc: \
12844 @[ -f ./mpc/Makefile ] || exit 0; \
12845 r=`${PWD_COMMAND}`; export r; \
12846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12848 for flag in $(EXTRA_HOST_FLAGS) ; do \
12849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12851 echo "Doing install-html in mpc" ; \
12852 (cd $(HOST_SUBDIR)/mpc && \
12853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12855 "RANLIB=$${RANLIB}" \
12856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12862 .PHONY: maybe-installcheck-mpc installcheck-mpc
12863 maybe-installcheck-mpc:
12865 maybe-installcheck-mpc: installcheck-mpc
12867 installcheck-mpc: \
12869 @[ -f ./mpc/Makefile ] || exit 0; \
12870 r=`${PWD_COMMAND}`; export r; \
12871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12873 for flag in $(EXTRA_HOST_FLAGS) ; do \
12874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12876 echo "Doing installcheck in mpc" ; \
12877 (cd $(HOST_SUBDIR)/mpc && \
12878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12880 "RANLIB=$${RANLIB}" \
12881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12887 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12888 maybe-mostlyclean-mpc:
12890 maybe-mostlyclean-mpc: mostlyclean-mpc
12893 @[ -f ./mpc/Makefile ] || exit 0; \
12894 r=`${PWD_COMMAND}`; export r; \
12895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12897 for flag in $(EXTRA_HOST_FLAGS) ; do \
12898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12900 echo "Doing mostlyclean in mpc" ; \
12901 (cd $(HOST_SUBDIR)/mpc && \
12902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12904 "RANLIB=$${RANLIB}" \
12905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12911 .PHONY: maybe-clean-mpc clean-mpc
12914 maybe-clean-mpc: clean-mpc
12917 @[ -f ./mpc/Makefile ] || exit 0; \
12918 r=`${PWD_COMMAND}`; export r; \
12919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12921 for flag in $(EXTRA_HOST_FLAGS) ; do \
12922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12924 echo "Doing clean in mpc" ; \
12925 (cd $(HOST_SUBDIR)/mpc && \
12926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12928 "RANLIB=$${RANLIB}" \
12929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12935 .PHONY: maybe-distclean-mpc distclean-mpc
12936 maybe-distclean-mpc:
12938 maybe-distclean-mpc: distclean-mpc
12941 @[ -f ./mpc/Makefile ] || exit 0; \
12942 r=`${PWD_COMMAND}`; export r; \
12943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12945 for flag in $(EXTRA_HOST_FLAGS) ; do \
12946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12948 echo "Doing distclean in mpc" ; \
12949 (cd $(HOST_SUBDIR)/mpc && \
12950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12952 "RANLIB=$${RANLIB}" \
12953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12959 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
12960 maybe-maintainer-clean-mpc:
12962 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12964 maintainer-clean-mpc:
12965 @[ -f ./mpc/Makefile ] || exit 0; \
12966 r=`${PWD_COMMAND}`; export r; \
12967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12969 for flag in $(EXTRA_HOST_FLAGS) ; do \
12970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12972 echo "Doing maintainer-clean in mpc" ; \
12973 (cd $(HOST_SUBDIR)/mpc && \
12974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12976 "RANLIB=$${RANLIB}" \
12977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12978 maintainer-clean) \
12985 .PHONY: configure-isl maybe-configure-isl
12986 maybe-configure-isl:
12988 configure-isl: stage_current
12989 @endif gcc-bootstrap
12991 maybe-configure-isl: configure-isl
12993 @r=`${PWD_COMMAND}`; export r; \
12994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12995 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
12996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
12998 echo Configuring in $(HOST_SUBDIR)/isl; \
12999 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13000 case $(srcdir) in \
13001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13002 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13005 srcdiroption="--srcdir=$${topdir}/isl"; \
13006 libsrcdir="$$s/isl"; \
13007 $(SHELL) $${libsrcdir}/configure \
13008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13009 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13015 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13016 maybe-configure-stage1-isl:
13018 maybe-configure-stage1-isl: configure-stage1-isl
13019 configure-stage1-isl:
13020 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13022 @r=`${PWD_COMMAND}`; export r; \
13023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13024 TFLAGS="$(STAGE1_TFLAGS)"; \
13025 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13027 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13028 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13029 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13030 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13032 cd $(HOST_SUBDIR)/isl || exit 1; \
13033 case $(srcdir) in \
13034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13035 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13038 srcdiroption="--srcdir=$${topdir}/isl"; \
13039 libsrcdir="$$s/isl"; \
13040 $(SHELL) $${libsrcdir}/configure \
13041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13042 --target=${target_alias} $${srcdiroption} \
13043 $(STAGE1_CONFIGURE_FLAGS) \
13044 --disable-shared @extra_isl_gmp_configure_flags@
13045 @endif isl-bootstrap
13047 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13048 maybe-configure-stage2-isl:
13050 maybe-configure-stage2-isl: configure-stage2-isl
13051 configure-stage2-isl:
13052 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13054 @r=`${PWD_COMMAND}`; export r; \
13055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13056 TFLAGS="$(STAGE2_TFLAGS)"; \
13057 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13059 $(POSTSTAGE1_HOST_EXPORTS) \
13060 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13061 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13062 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13063 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13065 cd $(HOST_SUBDIR)/isl || exit 1; \
13066 case $(srcdir) in \
13067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13068 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13071 srcdiroption="--srcdir=$${topdir}/isl"; \
13072 libsrcdir="$$s/isl"; \
13073 $(SHELL) $${libsrcdir}/configure \
13074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13075 --target=${target_alias} $${srcdiroption} \
13076 --with-build-libsubdir=$(HOST_SUBDIR) \
13077 $(STAGE2_CONFIGURE_FLAGS) \
13078 --disable-shared @extra_isl_gmp_configure_flags@
13079 @endif isl-bootstrap
13081 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13082 maybe-configure-stage3-isl:
13084 maybe-configure-stage3-isl: configure-stage3-isl
13085 configure-stage3-isl:
13086 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13088 @r=`${PWD_COMMAND}`; export r; \
13089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13090 TFLAGS="$(STAGE3_TFLAGS)"; \
13091 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13093 $(POSTSTAGE1_HOST_EXPORTS) \
13094 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13095 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13096 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13097 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13099 cd $(HOST_SUBDIR)/isl || exit 1; \
13100 case $(srcdir) in \
13101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13102 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13105 srcdiroption="--srcdir=$${topdir}/isl"; \
13106 libsrcdir="$$s/isl"; \
13107 $(SHELL) $${libsrcdir}/configure \
13108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13109 --target=${target_alias} $${srcdiroption} \
13110 --with-build-libsubdir=$(HOST_SUBDIR) \
13111 $(STAGE3_CONFIGURE_FLAGS) \
13112 --disable-shared @extra_isl_gmp_configure_flags@
13113 @endif isl-bootstrap
13115 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13116 maybe-configure-stage4-isl:
13118 maybe-configure-stage4-isl: configure-stage4-isl
13119 configure-stage4-isl:
13120 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13122 @r=`${PWD_COMMAND}`; export r; \
13123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13124 TFLAGS="$(STAGE4_TFLAGS)"; \
13125 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13127 $(POSTSTAGE1_HOST_EXPORTS) \
13128 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13129 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13130 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13131 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13133 cd $(HOST_SUBDIR)/isl || exit 1; \
13134 case $(srcdir) in \
13135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13136 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13139 srcdiroption="--srcdir=$${topdir}/isl"; \
13140 libsrcdir="$$s/isl"; \
13141 $(SHELL) $${libsrcdir}/configure \
13142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13143 --target=${target_alias} $${srcdiroption} \
13144 --with-build-libsubdir=$(HOST_SUBDIR) \
13145 $(STAGE4_CONFIGURE_FLAGS) \
13146 --disable-shared @extra_isl_gmp_configure_flags@
13147 @endif isl-bootstrap
13149 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13150 maybe-configure-stageprofile-isl:
13152 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13153 configure-stageprofile-isl:
13154 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13156 @r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13159 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13161 $(POSTSTAGE1_HOST_EXPORTS) \
13162 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13163 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13164 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13165 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13167 cd $(HOST_SUBDIR)/isl || exit 1; \
13168 case $(srcdir) in \
13169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13170 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13173 srcdiroption="--srcdir=$${topdir}/isl"; \
13174 libsrcdir="$$s/isl"; \
13175 $(SHELL) $${libsrcdir}/configure \
13176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13177 --target=${target_alias} $${srcdiroption} \
13178 --with-build-libsubdir=$(HOST_SUBDIR) \
13179 $(STAGEprofile_CONFIGURE_FLAGS) \
13180 --disable-shared @extra_isl_gmp_configure_flags@
13181 @endif isl-bootstrap
13183 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13184 maybe-configure-stagefeedback-isl:
13186 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13187 configure-stagefeedback-isl:
13188 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13190 @r=`${PWD_COMMAND}`; export r; \
13191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13192 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13193 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13195 $(POSTSTAGE1_HOST_EXPORTS) \
13196 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13197 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13198 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13199 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13201 cd $(HOST_SUBDIR)/isl || exit 1; \
13202 case $(srcdir) in \
13203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13204 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13207 srcdiroption="--srcdir=$${topdir}/isl"; \
13208 libsrcdir="$$s/isl"; \
13209 $(SHELL) $${libsrcdir}/configure \
13210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13211 --target=${target_alias} $${srcdiroption} \
13212 --with-build-libsubdir=$(HOST_SUBDIR) \
13213 $(STAGEfeedback_CONFIGURE_FLAGS) \
13214 --disable-shared @extra_isl_gmp_configure_flags@
13215 @endif isl-bootstrap
13221 .PHONY: all-isl maybe-all-isl
13224 all-isl: stage_current
13225 @endif gcc-bootstrap
13228 maybe-all-isl: all-isl
13229 all-isl: configure-isl
13230 @r=`${PWD_COMMAND}`; export r; \
13231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13233 (cd $(HOST_SUBDIR)/isl && \
13234 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13240 .PHONY: all-stage1-isl maybe-all-stage1-isl
13241 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13242 maybe-all-stage1-isl:
13243 maybe-clean-stage1-isl:
13245 maybe-all-stage1-isl: all-stage1-isl
13246 all-stage1: all-stage1-isl
13247 TARGET-stage1-isl = $(TARGET-isl)
13248 all-stage1-isl: configure-stage1-isl
13249 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13250 @r=`${PWD_COMMAND}`; export r; \
13251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13252 TFLAGS="$(STAGE1_TFLAGS)"; \
13254 cd $(HOST_SUBDIR)/isl && \
13255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13256 CFLAGS="$(STAGE1_CFLAGS)" \
13257 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13258 LIBCFLAGS="$(LIBCFLAGS)" \
13259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13262 $(EXTRA_HOST_FLAGS) \
13263 $(STAGE1_FLAGS_TO_PASS) V=1 \
13264 TFLAGS="$(STAGE1_TFLAGS)" \
13265 $(TARGET-stage1-isl)
13267 maybe-clean-stage1-isl: clean-stage1-isl
13268 clean-stage1: clean-stage1-isl
13270 @if [ $(current_stage) = stage1 ]; then \
13271 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13273 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13274 $(MAKE) stage1-start; \
13276 cd $(HOST_SUBDIR)/isl && \
13277 $(MAKE) $(EXTRA_HOST_FLAGS) \
13278 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13279 @endif isl-bootstrap
13282 .PHONY: all-stage2-isl maybe-all-stage2-isl
13283 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13284 maybe-all-stage2-isl:
13285 maybe-clean-stage2-isl:
13287 maybe-all-stage2-isl: all-stage2-isl
13288 all-stage2: all-stage2-isl
13289 TARGET-stage2-isl = $(TARGET-isl)
13290 all-stage2-isl: configure-stage2-isl
13291 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13292 @r=`${PWD_COMMAND}`; export r; \
13293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13294 TFLAGS="$(STAGE2_TFLAGS)"; \
13296 $(POSTSTAGE1_HOST_EXPORTS) \
13297 cd $(HOST_SUBDIR)/isl && \
13298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13299 CFLAGS="$(STAGE2_CFLAGS)" \
13300 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13301 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13306 TFLAGS="$(STAGE2_TFLAGS)" \
13307 $(TARGET-stage2-isl)
13309 maybe-clean-stage2-isl: clean-stage2-isl
13310 clean-stage2: clean-stage2-isl
13312 @if [ $(current_stage) = stage2 ]; then \
13313 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13315 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13316 $(MAKE) stage2-start; \
13318 cd $(HOST_SUBDIR)/isl && \
13319 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13320 @endif isl-bootstrap
13323 .PHONY: all-stage3-isl maybe-all-stage3-isl
13324 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13325 maybe-all-stage3-isl:
13326 maybe-clean-stage3-isl:
13328 maybe-all-stage3-isl: all-stage3-isl
13329 all-stage3: all-stage3-isl
13330 TARGET-stage3-isl = $(TARGET-isl)
13331 all-stage3-isl: configure-stage3-isl
13332 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13333 @r=`${PWD_COMMAND}`; export r; \
13334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13335 TFLAGS="$(STAGE3_TFLAGS)"; \
13337 $(POSTSTAGE1_HOST_EXPORTS) \
13338 cd $(HOST_SUBDIR)/isl && \
13339 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13340 CFLAGS="$(STAGE3_CFLAGS)" \
13341 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13342 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13343 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13344 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13345 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13346 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13347 TFLAGS="$(STAGE3_TFLAGS)" \
13348 $(TARGET-stage3-isl)
13350 maybe-clean-stage3-isl: clean-stage3-isl
13351 clean-stage3: clean-stage3-isl
13353 @if [ $(current_stage) = stage3 ]; then \
13354 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13356 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13357 $(MAKE) stage3-start; \
13359 cd $(HOST_SUBDIR)/isl && \
13360 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13361 @endif isl-bootstrap
13364 .PHONY: all-stage4-isl maybe-all-stage4-isl
13365 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13366 maybe-all-stage4-isl:
13367 maybe-clean-stage4-isl:
13369 maybe-all-stage4-isl: all-stage4-isl
13370 all-stage4: all-stage4-isl
13371 TARGET-stage4-isl = $(TARGET-isl)
13372 all-stage4-isl: configure-stage4-isl
13373 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13374 @r=`${PWD_COMMAND}`; export r; \
13375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13376 TFLAGS="$(STAGE4_TFLAGS)"; \
13378 $(POSTSTAGE1_HOST_EXPORTS) \
13379 cd $(HOST_SUBDIR)/isl && \
13380 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13381 CFLAGS="$(STAGE4_CFLAGS)" \
13382 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13383 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13384 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13385 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13386 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13387 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13388 TFLAGS="$(STAGE4_TFLAGS)" \
13389 $(TARGET-stage4-isl)
13391 maybe-clean-stage4-isl: clean-stage4-isl
13392 clean-stage4: clean-stage4-isl
13394 @if [ $(current_stage) = stage4 ]; then \
13395 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13397 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13398 $(MAKE) stage4-start; \
13400 cd $(HOST_SUBDIR)/isl && \
13401 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13402 @endif isl-bootstrap
13405 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13406 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13407 maybe-all-stageprofile-isl:
13408 maybe-clean-stageprofile-isl:
13410 maybe-all-stageprofile-isl: all-stageprofile-isl
13411 all-stageprofile: all-stageprofile-isl
13412 TARGET-stageprofile-isl = $(TARGET-isl)
13413 all-stageprofile-isl: configure-stageprofile-isl
13414 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13415 @r=`${PWD_COMMAND}`; export r; \
13416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13417 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13419 $(POSTSTAGE1_HOST_EXPORTS) \
13420 cd $(HOST_SUBDIR)/isl && \
13421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13422 CFLAGS="$(STAGEprofile_CFLAGS)" \
13423 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13424 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13425 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13426 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13427 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13428 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13429 TFLAGS="$(STAGEprofile_TFLAGS)" \
13430 $(TARGET-stageprofile-isl)
13432 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13433 clean-stageprofile: clean-stageprofile-isl
13434 clean-stageprofile-isl:
13435 @if [ $(current_stage) = stageprofile ]; then \
13436 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13438 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13439 $(MAKE) stageprofile-start; \
13441 cd $(HOST_SUBDIR)/isl && \
13442 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13443 @endif isl-bootstrap
13446 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13447 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13448 maybe-all-stagefeedback-isl:
13449 maybe-clean-stagefeedback-isl:
13451 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13452 all-stagefeedback: all-stagefeedback-isl
13453 TARGET-stagefeedback-isl = $(TARGET-isl)
13454 all-stagefeedback-isl: configure-stagefeedback-isl
13455 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13456 @r=`${PWD_COMMAND}`; export r; \
13457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13458 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13460 $(POSTSTAGE1_HOST_EXPORTS) \
13461 cd $(HOST_SUBDIR)/isl && \
13462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13463 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13464 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13465 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13469 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13470 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13471 $(TARGET-stagefeedback-isl)
13473 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13474 clean-stagefeedback: clean-stagefeedback-isl
13475 clean-stagefeedback-isl:
13476 @if [ $(current_stage) = stagefeedback ]; then \
13477 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13479 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13480 $(MAKE) stagefeedback-start; \
13482 cd $(HOST_SUBDIR)/isl && \
13483 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13484 @endif isl-bootstrap
13490 .PHONY: check-isl maybe-check-isl
13493 maybe-check-isl: check-isl
13496 @: $(MAKE); $(unstage)
13497 @r=`${PWD_COMMAND}`; export r; \
13498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 (cd $(HOST_SUBDIR)/isl && \
13501 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13505 .PHONY: install-isl maybe-install-isl
13508 maybe-install-isl: install-isl
13514 .PHONY: install-strip-isl maybe-install-strip-isl
13515 maybe-install-strip-isl:
13517 maybe-install-strip-isl: install-strip-isl
13523 # Other targets (info, dvi, pdf, etc.)
13525 .PHONY: maybe-info-isl info-isl
13528 maybe-info-isl: info-isl
13532 @[ -f ./isl/Makefile ] || exit 0; \
13533 r=`${PWD_COMMAND}`; export r; \
13534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13536 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13539 echo "Doing info in isl" ; \
13540 (cd $(HOST_SUBDIR)/isl && \
13541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13543 "RANLIB=$${RANLIB}" \
13544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13550 .PHONY: maybe-dvi-isl dvi-isl
13553 maybe-dvi-isl: dvi-isl
13557 @[ -f ./isl/Makefile ] || exit 0; \
13558 r=`${PWD_COMMAND}`; export r; \
13559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13561 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13564 echo "Doing dvi in isl" ; \
13565 (cd $(HOST_SUBDIR)/isl && \
13566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13568 "RANLIB=$${RANLIB}" \
13569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13575 .PHONY: maybe-pdf-isl pdf-isl
13578 maybe-pdf-isl: pdf-isl
13582 @[ -f ./isl/Makefile ] || exit 0; \
13583 r=`${PWD_COMMAND}`; export r; \
13584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13586 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13589 echo "Doing pdf in isl" ; \
13590 (cd $(HOST_SUBDIR)/isl && \
13591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13593 "RANLIB=$${RANLIB}" \
13594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13600 .PHONY: maybe-html-isl html-isl
13603 maybe-html-isl: html-isl
13607 @[ -f ./isl/Makefile ] || exit 0; \
13608 r=`${PWD_COMMAND}`; export r; \
13609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13611 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13614 echo "Doing html in isl" ; \
13615 (cd $(HOST_SUBDIR)/isl && \
13616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13618 "RANLIB=$${RANLIB}" \
13619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13625 .PHONY: maybe-TAGS-isl TAGS-isl
13628 maybe-TAGS-isl: TAGS-isl
13632 @[ -f ./isl/Makefile ] || exit 0; \
13633 r=`${PWD_COMMAND}`; export r; \
13634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13636 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13639 echo "Doing TAGS in isl" ; \
13640 (cd $(HOST_SUBDIR)/isl && \
13641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13643 "RANLIB=$${RANLIB}" \
13644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13650 .PHONY: maybe-install-info-isl install-info-isl
13651 maybe-install-info-isl:
13653 maybe-install-info-isl: install-info-isl
13655 install-info-isl: \
13658 @[ -f ./isl/Makefile ] || exit 0; \
13659 r=`${PWD_COMMAND}`; export r; \
13660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13662 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13665 echo "Doing install-info in isl" ; \
13666 (cd $(HOST_SUBDIR)/isl && \
13667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13669 "RANLIB=$${RANLIB}" \
13670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13676 .PHONY: maybe-install-pdf-isl install-pdf-isl
13677 maybe-install-pdf-isl:
13679 maybe-install-pdf-isl: install-pdf-isl
13684 @[ -f ./isl/Makefile ] || exit 0; \
13685 r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13688 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13691 echo "Doing install-pdf in isl" ; \
13692 (cd $(HOST_SUBDIR)/isl && \
13693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13695 "RANLIB=$${RANLIB}" \
13696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13702 .PHONY: maybe-install-html-isl install-html-isl
13703 maybe-install-html-isl:
13705 maybe-install-html-isl: install-html-isl
13707 install-html-isl: \
13710 @[ -f ./isl/Makefile ] || exit 0; \
13711 r=`${PWD_COMMAND}`; export r; \
13712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13714 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13717 echo "Doing install-html in isl" ; \
13718 (cd $(HOST_SUBDIR)/isl && \
13719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13721 "RANLIB=$${RANLIB}" \
13722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13728 .PHONY: maybe-installcheck-isl installcheck-isl
13729 maybe-installcheck-isl:
13731 maybe-installcheck-isl: installcheck-isl
13733 installcheck-isl: \
13735 @[ -f ./isl/Makefile ] || exit 0; \
13736 r=`${PWD_COMMAND}`; export r; \
13737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13739 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13742 echo "Doing installcheck in isl" ; \
13743 (cd $(HOST_SUBDIR)/isl && \
13744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13746 "RANLIB=$${RANLIB}" \
13747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13753 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13754 maybe-mostlyclean-isl:
13756 maybe-mostlyclean-isl: mostlyclean-isl
13759 @[ -f ./isl/Makefile ] || exit 0; \
13760 r=`${PWD_COMMAND}`; export r; \
13761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13763 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13766 echo "Doing mostlyclean in isl" ; \
13767 (cd $(HOST_SUBDIR)/isl && \
13768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13770 "RANLIB=$${RANLIB}" \
13771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13777 .PHONY: maybe-clean-isl clean-isl
13780 maybe-clean-isl: clean-isl
13783 @[ -f ./isl/Makefile ] || exit 0; \
13784 r=`${PWD_COMMAND}`; export r; \
13785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13787 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13790 echo "Doing clean in isl" ; \
13791 (cd $(HOST_SUBDIR)/isl && \
13792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13794 "RANLIB=$${RANLIB}" \
13795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13801 .PHONY: maybe-distclean-isl distclean-isl
13802 maybe-distclean-isl:
13804 maybe-distclean-isl: distclean-isl
13807 @[ -f ./isl/Makefile ] || exit 0; \
13808 r=`${PWD_COMMAND}`; export r; \
13809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13814 echo "Doing distclean in isl" ; \
13815 (cd $(HOST_SUBDIR)/isl && \
13816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13818 "RANLIB=$${RANLIB}" \
13819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13825 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
13826 maybe-maintainer-clean-isl:
13828 maybe-maintainer-clean-isl: maintainer-clean-isl
13830 maintainer-clean-isl:
13831 @[ -f ./isl/Makefile ] || exit 0; \
13832 r=`${PWD_COMMAND}`; export r; \
13833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13835 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13838 echo "Doing maintainer-clean in isl" ; \
13839 (cd $(HOST_SUBDIR)/isl && \
13840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13842 "RANLIB=$${RANLIB}" \
13843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13844 maintainer-clean) \
13851 .PHONY: configure-cloog maybe-configure-cloog
13852 maybe-configure-cloog:
13854 configure-cloog: stage_current
13855 @endif gcc-bootstrap
13857 maybe-configure-cloog: configure-cloog
13859 @r=`${PWD_COMMAND}`; export r; \
13860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13861 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13863 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13864 echo Configuring in $(HOST_SUBDIR)/cloog; \
13865 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13866 case $(srcdir) in \
13867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13868 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13871 srcdiroption="--srcdir=$${topdir}/cloog"; \
13872 libsrcdir="$$s/cloog"; \
13873 $(SHELL) $${libsrcdir}/configure \
13874 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13875 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13881 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13882 maybe-configure-stage1-cloog:
13883 @if cloog-bootstrap
13884 maybe-configure-stage1-cloog: configure-stage1-cloog
13885 configure-stage1-cloog:
13886 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13887 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13888 @r=`${PWD_COMMAND}`; export r; \
13889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13890 TFLAGS="$(STAGE1_TFLAGS)"; \
13891 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13893 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13894 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13895 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13896 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13898 cd $(HOST_SUBDIR)/cloog || exit 1; \
13899 case $(srcdir) in \
13900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13901 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13904 srcdiroption="--srcdir=$${topdir}/cloog"; \
13905 libsrcdir="$$s/cloog"; \
13906 $(SHELL) $${libsrcdir}/configure \
13907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13908 --target=${target_alias} $${srcdiroption} \
13909 $(STAGE1_CONFIGURE_FLAGS) \
13910 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13911 @endif cloog-bootstrap
13913 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13914 maybe-configure-stage2-cloog:
13915 @if cloog-bootstrap
13916 maybe-configure-stage2-cloog: configure-stage2-cloog
13917 configure-stage2-cloog:
13918 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13920 @r=`${PWD_COMMAND}`; export r; \
13921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13922 TFLAGS="$(STAGE2_TFLAGS)"; \
13923 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13925 $(POSTSTAGE1_HOST_EXPORTS) \
13926 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13927 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13928 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13929 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13931 cd $(HOST_SUBDIR)/cloog || exit 1; \
13932 case $(srcdir) in \
13933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13934 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13937 srcdiroption="--srcdir=$${topdir}/cloog"; \
13938 libsrcdir="$$s/cloog"; \
13939 $(SHELL) $${libsrcdir}/configure \
13940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13941 --target=${target_alias} $${srcdiroption} \
13942 --with-build-libsubdir=$(HOST_SUBDIR) \
13943 $(STAGE2_CONFIGURE_FLAGS) \
13944 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13945 @endif cloog-bootstrap
13947 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13948 maybe-configure-stage3-cloog:
13949 @if cloog-bootstrap
13950 maybe-configure-stage3-cloog: configure-stage3-cloog
13951 configure-stage3-cloog:
13952 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13954 @r=`${PWD_COMMAND}`; export r; \
13955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13956 TFLAGS="$(STAGE3_TFLAGS)"; \
13957 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13959 $(POSTSTAGE1_HOST_EXPORTS) \
13960 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13961 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13962 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13963 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13965 cd $(HOST_SUBDIR)/cloog || exit 1; \
13966 case $(srcdir) in \
13967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13968 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13971 srcdiroption="--srcdir=$${topdir}/cloog"; \
13972 libsrcdir="$$s/cloog"; \
13973 $(SHELL) $${libsrcdir}/configure \
13974 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13975 --target=${target_alias} $${srcdiroption} \
13976 --with-build-libsubdir=$(HOST_SUBDIR) \
13977 $(STAGE3_CONFIGURE_FLAGS) \
13978 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13979 @endif cloog-bootstrap
13981 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13982 maybe-configure-stage4-cloog:
13983 @if cloog-bootstrap
13984 maybe-configure-stage4-cloog: configure-stage4-cloog
13985 configure-stage4-cloog:
13986 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13988 @r=`${PWD_COMMAND}`; export r; \
13989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13990 TFLAGS="$(STAGE4_TFLAGS)"; \
13991 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13993 $(POSTSTAGE1_HOST_EXPORTS) \
13994 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13995 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13996 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
13997 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
13998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13999 cd $(HOST_SUBDIR)/cloog || exit 1; \
14000 case $(srcdir) in \
14001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14002 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14005 srcdiroption="--srcdir=$${topdir}/cloog"; \
14006 libsrcdir="$$s/cloog"; \
14007 $(SHELL) $${libsrcdir}/configure \
14008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14009 --target=${target_alias} $${srcdiroption} \
14010 --with-build-libsubdir=$(HOST_SUBDIR) \
14011 $(STAGE4_CONFIGURE_FLAGS) \
14012 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14013 @endif cloog-bootstrap
14015 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14016 maybe-configure-stageprofile-cloog:
14017 @if cloog-bootstrap
14018 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14019 configure-stageprofile-cloog:
14020 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14021 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14022 @r=`${PWD_COMMAND}`; export r; \
14023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14024 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14025 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14027 $(POSTSTAGE1_HOST_EXPORTS) \
14028 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14029 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14030 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14031 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14033 cd $(HOST_SUBDIR)/cloog || exit 1; \
14034 case $(srcdir) in \
14035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14036 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14039 srcdiroption="--srcdir=$${topdir}/cloog"; \
14040 libsrcdir="$$s/cloog"; \
14041 $(SHELL) $${libsrcdir}/configure \
14042 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14043 --target=${target_alias} $${srcdiroption} \
14044 --with-build-libsubdir=$(HOST_SUBDIR) \
14045 $(STAGEprofile_CONFIGURE_FLAGS) \
14046 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14047 @endif cloog-bootstrap
14049 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14050 maybe-configure-stagefeedback-cloog:
14051 @if cloog-bootstrap
14052 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14053 configure-stagefeedback-cloog:
14054 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14056 @r=`${PWD_COMMAND}`; export r; \
14057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14058 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14059 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14061 $(POSTSTAGE1_HOST_EXPORTS) \
14062 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14063 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14064 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14065 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14067 cd $(HOST_SUBDIR)/cloog || exit 1; \
14068 case $(srcdir) in \
14069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14070 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14073 srcdiroption="--srcdir=$${topdir}/cloog"; \
14074 libsrcdir="$$s/cloog"; \
14075 $(SHELL) $${libsrcdir}/configure \
14076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14077 --target=${target_alias} $${srcdiroption} \
14078 --with-build-libsubdir=$(HOST_SUBDIR) \
14079 $(STAGEfeedback_CONFIGURE_FLAGS) \
14080 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14081 @endif cloog-bootstrap
14087 .PHONY: all-cloog maybe-all-cloog
14090 all-cloog: stage_current
14091 @endif gcc-bootstrap
14094 maybe-all-cloog: all-cloog
14095 all-cloog: configure-cloog
14096 @r=`${PWD_COMMAND}`; export r; \
14097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14098 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14099 (cd $(HOST_SUBDIR)/cloog && \
14100 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14106 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14107 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14108 maybe-all-stage1-cloog:
14109 maybe-clean-stage1-cloog:
14110 @if cloog-bootstrap
14111 maybe-all-stage1-cloog: all-stage1-cloog
14112 all-stage1: all-stage1-cloog
14113 TARGET-stage1-cloog = $(TARGET-cloog)
14114 all-stage1-cloog: configure-stage1-cloog
14115 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14116 @r=`${PWD_COMMAND}`; export r; \
14117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14118 TFLAGS="$(STAGE1_TFLAGS)"; \
14119 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14120 cd $(HOST_SUBDIR)/cloog && \
14121 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14122 CFLAGS="$(STAGE1_CFLAGS)" \
14123 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14124 LIBCFLAGS="$(LIBCFLAGS)" \
14125 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14126 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14127 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14128 $(EXTRA_HOST_FLAGS) \
14129 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14130 TFLAGS="$(STAGE1_TFLAGS)" \
14131 $(TARGET-stage1-cloog)
14133 maybe-clean-stage1-cloog: clean-stage1-cloog
14134 clean-stage1: clean-stage1-cloog
14135 clean-stage1-cloog:
14136 @if [ $(current_stage) = stage1 ]; then \
14137 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14139 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14140 $(MAKE) stage1-start; \
14142 cd $(HOST_SUBDIR)/cloog && \
14143 $(MAKE) $(EXTRA_HOST_FLAGS) \
14144 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14145 @endif cloog-bootstrap
14148 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14149 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14150 maybe-all-stage2-cloog:
14151 maybe-clean-stage2-cloog:
14152 @if cloog-bootstrap
14153 maybe-all-stage2-cloog: all-stage2-cloog
14154 all-stage2: all-stage2-cloog
14155 TARGET-stage2-cloog = $(TARGET-cloog)
14156 all-stage2-cloog: configure-stage2-cloog
14157 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14158 @r=`${PWD_COMMAND}`; export r; \
14159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14160 TFLAGS="$(STAGE2_TFLAGS)"; \
14162 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14163 cd $(HOST_SUBDIR)/cloog && \
14164 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14165 CFLAGS="$(STAGE2_CFLAGS)" \
14166 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14167 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14168 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14169 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14170 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14171 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14172 TFLAGS="$(STAGE2_TFLAGS)" \
14173 $(TARGET-stage2-cloog)
14175 maybe-clean-stage2-cloog: clean-stage2-cloog
14176 clean-stage2: clean-stage2-cloog
14177 clean-stage2-cloog:
14178 @if [ $(current_stage) = stage2 ]; then \
14179 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14181 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14182 $(MAKE) stage2-start; \
14184 cd $(HOST_SUBDIR)/cloog && \
14185 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14186 @endif cloog-bootstrap
14189 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14190 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14191 maybe-all-stage3-cloog:
14192 maybe-clean-stage3-cloog:
14193 @if cloog-bootstrap
14194 maybe-all-stage3-cloog: all-stage3-cloog
14195 all-stage3: all-stage3-cloog
14196 TARGET-stage3-cloog = $(TARGET-cloog)
14197 all-stage3-cloog: configure-stage3-cloog
14198 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14199 @r=`${PWD_COMMAND}`; export r; \
14200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14201 TFLAGS="$(STAGE3_TFLAGS)"; \
14203 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14204 cd $(HOST_SUBDIR)/cloog && \
14205 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14206 CFLAGS="$(STAGE3_CFLAGS)" \
14207 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14208 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14209 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14210 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14211 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14212 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14213 TFLAGS="$(STAGE3_TFLAGS)" \
14214 $(TARGET-stage3-cloog)
14216 maybe-clean-stage3-cloog: clean-stage3-cloog
14217 clean-stage3: clean-stage3-cloog
14218 clean-stage3-cloog:
14219 @if [ $(current_stage) = stage3 ]; then \
14220 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14222 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14223 $(MAKE) stage3-start; \
14225 cd $(HOST_SUBDIR)/cloog && \
14226 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14227 @endif cloog-bootstrap
14230 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14231 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14232 maybe-all-stage4-cloog:
14233 maybe-clean-stage4-cloog:
14234 @if cloog-bootstrap
14235 maybe-all-stage4-cloog: all-stage4-cloog
14236 all-stage4: all-stage4-cloog
14237 TARGET-stage4-cloog = $(TARGET-cloog)
14238 all-stage4-cloog: configure-stage4-cloog
14239 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14240 @r=`${PWD_COMMAND}`; export r; \
14241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14242 TFLAGS="$(STAGE4_TFLAGS)"; \
14244 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14245 cd $(HOST_SUBDIR)/cloog && \
14246 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14247 CFLAGS="$(STAGE4_CFLAGS)" \
14248 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14249 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14250 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14251 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14252 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14253 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14254 TFLAGS="$(STAGE4_TFLAGS)" \
14255 $(TARGET-stage4-cloog)
14257 maybe-clean-stage4-cloog: clean-stage4-cloog
14258 clean-stage4: clean-stage4-cloog
14259 clean-stage4-cloog:
14260 @if [ $(current_stage) = stage4 ]; then \
14261 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14263 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14264 $(MAKE) stage4-start; \
14266 cd $(HOST_SUBDIR)/cloog && \
14267 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14268 @endif cloog-bootstrap
14271 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14272 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14273 maybe-all-stageprofile-cloog:
14274 maybe-clean-stageprofile-cloog:
14275 @if cloog-bootstrap
14276 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14277 all-stageprofile: all-stageprofile-cloog
14278 TARGET-stageprofile-cloog = $(TARGET-cloog)
14279 all-stageprofile-cloog: configure-stageprofile-cloog
14280 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14281 @r=`${PWD_COMMAND}`; export r; \
14282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14283 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14285 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14286 cd $(HOST_SUBDIR)/cloog && \
14287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14288 CFLAGS="$(STAGEprofile_CFLAGS)" \
14289 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14290 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14294 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14295 TFLAGS="$(STAGEprofile_TFLAGS)" \
14296 $(TARGET-stageprofile-cloog)
14298 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14299 clean-stageprofile: clean-stageprofile-cloog
14300 clean-stageprofile-cloog:
14301 @if [ $(current_stage) = stageprofile ]; then \
14302 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14304 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14305 $(MAKE) stageprofile-start; \
14307 cd $(HOST_SUBDIR)/cloog && \
14308 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14309 @endif cloog-bootstrap
14312 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14313 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14314 maybe-all-stagefeedback-cloog:
14315 maybe-clean-stagefeedback-cloog:
14316 @if cloog-bootstrap
14317 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14318 all-stagefeedback: all-stagefeedback-cloog
14319 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14320 all-stagefeedback-cloog: configure-stagefeedback-cloog
14321 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14322 @r=`${PWD_COMMAND}`; export r; \
14323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14324 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14326 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \
14327 cd $(HOST_SUBDIR)/cloog && \
14328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14329 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14330 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14331 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14335 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14336 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14337 $(TARGET-stagefeedback-cloog)
14339 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14340 clean-stagefeedback: clean-stagefeedback-cloog
14341 clean-stagefeedback-cloog:
14342 @if [ $(current_stage) = stagefeedback ]; then \
14343 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14345 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14346 $(MAKE) stagefeedback-start; \
14348 cd $(HOST_SUBDIR)/cloog && \
14349 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14350 @endif cloog-bootstrap
14356 .PHONY: check-cloog maybe-check-cloog
14359 maybe-check-cloog: check-cloog
14362 @: $(MAKE); $(unstage)
14363 @r=`${PWD_COMMAND}`; export r; \
14364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14366 (cd $(HOST_SUBDIR)/cloog && \
14367 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14371 .PHONY: install-cloog maybe-install-cloog
14372 maybe-install-cloog:
14374 maybe-install-cloog: install-cloog
14380 .PHONY: install-strip-cloog maybe-install-strip-cloog
14381 maybe-install-strip-cloog:
14383 maybe-install-strip-cloog: install-strip-cloog
14385 install-strip-cloog:
14389 # Other targets (info, dvi, pdf, etc.)
14391 .PHONY: maybe-info-cloog info-cloog
14394 maybe-info-cloog: info-cloog
14398 @[ -f ./cloog/Makefile ] || exit 0; \
14399 r=`${PWD_COMMAND}`; export r; \
14400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14402 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14405 echo "Doing info in cloog" ; \
14406 (cd $(HOST_SUBDIR)/cloog && \
14407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14409 "RANLIB=$${RANLIB}" \
14410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14416 .PHONY: maybe-dvi-cloog dvi-cloog
14419 maybe-dvi-cloog: dvi-cloog
14423 @[ -f ./cloog/Makefile ] || exit 0; \
14424 r=`${PWD_COMMAND}`; export r; \
14425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14427 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14430 echo "Doing dvi in cloog" ; \
14431 (cd $(HOST_SUBDIR)/cloog && \
14432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14434 "RANLIB=$${RANLIB}" \
14435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14441 .PHONY: maybe-pdf-cloog pdf-cloog
14444 maybe-pdf-cloog: pdf-cloog
14448 @[ -f ./cloog/Makefile ] || exit 0; \
14449 r=`${PWD_COMMAND}`; export r; \
14450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14452 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14455 echo "Doing pdf in cloog" ; \
14456 (cd $(HOST_SUBDIR)/cloog && \
14457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14459 "RANLIB=$${RANLIB}" \
14460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14466 .PHONY: maybe-html-cloog html-cloog
14469 maybe-html-cloog: html-cloog
14473 @[ -f ./cloog/Makefile ] || exit 0; \
14474 r=`${PWD_COMMAND}`; export r; \
14475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14477 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14480 echo "Doing html in cloog" ; \
14481 (cd $(HOST_SUBDIR)/cloog && \
14482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14484 "RANLIB=$${RANLIB}" \
14485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14491 .PHONY: maybe-TAGS-cloog TAGS-cloog
14494 maybe-TAGS-cloog: TAGS-cloog
14498 @[ -f ./cloog/Makefile ] || exit 0; \
14499 r=`${PWD_COMMAND}`; export r; \
14500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14502 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14505 echo "Doing TAGS in cloog" ; \
14506 (cd $(HOST_SUBDIR)/cloog && \
14507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14509 "RANLIB=$${RANLIB}" \
14510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14516 .PHONY: maybe-install-info-cloog install-info-cloog
14517 maybe-install-info-cloog:
14519 maybe-install-info-cloog: install-info-cloog
14521 install-info-cloog: \
14524 @[ -f ./cloog/Makefile ] || exit 0; \
14525 r=`${PWD_COMMAND}`; export r; \
14526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14528 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14531 echo "Doing install-info in cloog" ; \
14532 (cd $(HOST_SUBDIR)/cloog && \
14533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14535 "RANLIB=$${RANLIB}" \
14536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14542 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14543 maybe-install-pdf-cloog:
14545 maybe-install-pdf-cloog: install-pdf-cloog
14547 install-pdf-cloog: \
14550 @[ -f ./cloog/Makefile ] || exit 0; \
14551 r=`${PWD_COMMAND}`; export r; \
14552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14554 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14557 echo "Doing install-pdf in cloog" ; \
14558 (cd $(HOST_SUBDIR)/cloog && \
14559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14561 "RANLIB=$${RANLIB}" \
14562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14568 .PHONY: maybe-install-html-cloog install-html-cloog
14569 maybe-install-html-cloog:
14571 maybe-install-html-cloog: install-html-cloog
14573 install-html-cloog: \
14576 @[ -f ./cloog/Makefile ] || exit 0; \
14577 r=`${PWD_COMMAND}`; export r; \
14578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14580 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14583 echo "Doing install-html in cloog" ; \
14584 (cd $(HOST_SUBDIR)/cloog && \
14585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14587 "RANLIB=$${RANLIB}" \
14588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14594 .PHONY: maybe-installcheck-cloog installcheck-cloog
14595 maybe-installcheck-cloog:
14597 maybe-installcheck-cloog: installcheck-cloog
14599 installcheck-cloog: \
14601 @[ -f ./cloog/Makefile ] || exit 0; \
14602 r=`${PWD_COMMAND}`; export r; \
14603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14608 echo "Doing installcheck in cloog" ; \
14609 (cd $(HOST_SUBDIR)/cloog && \
14610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14612 "RANLIB=$${RANLIB}" \
14613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14619 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14620 maybe-mostlyclean-cloog:
14622 maybe-mostlyclean-cloog: mostlyclean-cloog
14625 @[ -f ./cloog/Makefile ] || exit 0; \
14626 r=`${PWD_COMMAND}`; export r; \
14627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14629 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14632 echo "Doing mostlyclean in cloog" ; \
14633 (cd $(HOST_SUBDIR)/cloog && \
14634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14636 "RANLIB=$${RANLIB}" \
14637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14643 .PHONY: maybe-clean-cloog clean-cloog
14646 maybe-clean-cloog: clean-cloog
14649 @[ -f ./cloog/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14653 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14656 echo "Doing clean in cloog" ; \
14657 (cd $(HOST_SUBDIR)/cloog && \
14658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14660 "RANLIB=$${RANLIB}" \
14661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14667 .PHONY: maybe-distclean-cloog distclean-cloog
14668 maybe-distclean-cloog:
14670 maybe-distclean-cloog: distclean-cloog
14673 @[ -f ./cloog/Makefile ] || exit 0; \
14674 r=`${PWD_COMMAND}`; export r; \
14675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14677 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14680 echo "Doing distclean in cloog" ; \
14681 (cd $(HOST_SUBDIR)/cloog && \
14682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14684 "RANLIB=$${RANLIB}" \
14685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14691 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
14692 maybe-maintainer-clean-cloog:
14694 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14696 maintainer-clean-cloog:
14697 @[ -f ./cloog/Makefile ] || exit 0; \
14698 r=`${PWD_COMMAND}`; export r; \
14699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14701 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14704 echo "Doing maintainer-clean in cloog" ; \
14705 (cd $(HOST_SUBDIR)/cloog && \
14706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14708 "RANLIB=$${RANLIB}" \
14709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14710 maintainer-clean) \
14717 .PHONY: configure-libelf maybe-configure-libelf
14718 maybe-configure-libelf:
14720 configure-libelf: stage_current
14721 @endif gcc-bootstrap
14723 maybe-configure-libelf: configure-libelf
14725 @r=`${PWD_COMMAND}`; export r; \
14726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14727 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14730 echo Configuring in $(HOST_SUBDIR)/libelf; \
14731 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14732 case $(srcdir) in \
14733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14734 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14737 srcdiroption="--srcdir=$${topdir}/libelf"; \
14738 libsrcdir="$$s/libelf"; \
14739 $(SHELL) $${libsrcdir}/configure \
14740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14741 --target=${target_alias} $${srcdiroption} --disable-shared \
14747 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14748 maybe-configure-stage1-libelf:
14749 @if libelf-bootstrap
14750 maybe-configure-stage1-libelf: configure-stage1-libelf
14751 configure-stage1-libelf:
14752 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14753 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14754 @r=`${PWD_COMMAND}`; export r; \
14755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14756 TFLAGS="$(STAGE1_TFLAGS)"; \
14757 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14759 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14760 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14761 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14762 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14764 cd $(HOST_SUBDIR)/libelf || exit 1; \
14765 case $(srcdir) in \
14766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14767 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14770 srcdiroption="--srcdir=$${topdir}/libelf"; \
14771 libsrcdir="$$s/libelf"; \
14772 $(SHELL) $${libsrcdir}/configure \
14773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14774 --target=${target_alias} $${srcdiroption} \
14775 $(STAGE1_CONFIGURE_FLAGS) \
14777 @endif libelf-bootstrap
14779 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14780 maybe-configure-stage2-libelf:
14781 @if libelf-bootstrap
14782 maybe-configure-stage2-libelf: configure-stage2-libelf
14783 configure-stage2-libelf:
14784 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14785 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14786 @r=`${PWD_COMMAND}`; export r; \
14787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14788 TFLAGS="$(STAGE2_TFLAGS)"; \
14789 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14791 $(POSTSTAGE1_HOST_EXPORTS) \
14792 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14793 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14794 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14795 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14796 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14797 cd $(HOST_SUBDIR)/libelf || exit 1; \
14798 case $(srcdir) in \
14799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14800 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14803 srcdiroption="--srcdir=$${topdir}/libelf"; \
14804 libsrcdir="$$s/libelf"; \
14805 $(SHELL) $${libsrcdir}/configure \
14806 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14807 --target=${target_alias} $${srcdiroption} \
14808 --with-build-libsubdir=$(HOST_SUBDIR) \
14809 $(STAGE2_CONFIGURE_FLAGS) \
14811 @endif libelf-bootstrap
14813 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14814 maybe-configure-stage3-libelf:
14815 @if libelf-bootstrap
14816 maybe-configure-stage3-libelf: configure-stage3-libelf
14817 configure-stage3-libelf:
14818 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14819 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14820 @r=`${PWD_COMMAND}`; export r; \
14821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14822 TFLAGS="$(STAGE3_TFLAGS)"; \
14823 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14825 $(POSTSTAGE1_HOST_EXPORTS) \
14826 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14827 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14828 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14829 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14831 cd $(HOST_SUBDIR)/libelf || exit 1; \
14832 case $(srcdir) in \
14833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14834 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14837 srcdiroption="--srcdir=$${topdir}/libelf"; \
14838 libsrcdir="$$s/libelf"; \
14839 $(SHELL) $${libsrcdir}/configure \
14840 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14841 --target=${target_alias} $${srcdiroption} \
14842 --with-build-libsubdir=$(HOST_SUBDIR) \
14843 $(STAGE3_CONFIGURE_FLAGS) \
14845 @endif libelf-bootstrap
14847 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14848 maybe-configure-stage4-libelf:
14849 @if libelf-bootstrap
14850 maybe-configure-stage4-libelf: configure-stage4-libelf
14851 configure-stage4-libelf:
14852 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14853 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14854 @r=`${PWD_COMMAND}`; export r; \
14855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14856 TFLAGS="$(STAGE4_TFLAGS)"; \
14857 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14859 $(POSTSTAGE1_HOST_EXPORTS) \
14860 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14861 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14862 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14863 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14864 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14865 cd $(HOST_SUBDIR)/libelf || exit 1; \
14866 case $(srcdir) in \
14867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14868 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14871 srcdiroption="--srcdir=$${topdir}/libelf"; \
14872 libsrcdir="$$s/libelf"; \
14873 $(SHELL) $${libsrcdir}/configure \
14874 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14875 --target=${target_alias} $${srcdiroption} \
14876 --with-build-libsubdir=$(HOST_SUBDIR) \
14877 $(STAGE4_CONFIGURE_FLAGS) \
14879 @endif libelf-bootstrap
14881 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14882 maybe-configure-stageprofile-libelf:
14883 @if libelf-bootstrap
14884 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14885 configure-stageprofile-libelf:
14886 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14887 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14888 @r=`${PWD_COMMAND}`; export r; \
14889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14890 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14891 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14893 $(POSTSTAGE1_HOST_EXPORTS) \
14894 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14895 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14896 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14897 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14899 cd $(HOST_SUBDIR)/libelf || exit 1; \
14900 case $(srcdir) in \
14901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14902 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14905 srcdiroption="--srcdir=$${topdir}/libelf"; \
14906 libsrcdir="$$s/libelf"; \
14907 $(SHELL) $${libsrcdir}/configure \
14908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14909 --target=${target_alias} $${srcdiroption} \
14910 --with-build-libsubdir=$(HOST_SUBDIR) \
14911 $(STAGEprofile_CONFIGURE_FLAGS) \
14913 @endif libelf-bootstrap
14915 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14916 maybe-configure-stagefeedback-libelf:
14917 @if libelf-bootstrap
14918 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14919 configure-stagefeedback-libelf:
14920 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14922 @r=`${PWD_COMMAND}`; export r; \
14923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14924 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14925 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14927 $(POSTSTAGE1_HOST_EXPORTS) \
14928 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14929 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14930 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14931 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14933 cd $(HOST_SUBDIR)/libelf || exit 1; \
14934 case $(srcdir) in \
14935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14936 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14939 srcdiroption="--srcdir=$${topdir}/libelf"; \
14940 libsrcdir="$$s/libelf"; \
14941 $(SHELL) $${libsrcdir}/configure \
14942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14943 --target=${target_alias} $${srcdiroption} \
14944 --with-build-libsubdir=$(HOST_SUBDIR) \
14945 $(STAGEfeedback_CONFIGURE_FLAGS) \
14947 @endif libelf-bootstrap
14953 .PHONY: all-libelf maybe-all-libelf
14956 all-libelf: stage_current
14957 @endif gcc-bootstrap
14960 maybe-all-libelf: all-libelf
14961 all-libelf: configure-libelf
14962 @r=`${PWD_COMMAND}`; export r; \
14963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14965 (cd $(HOST_SUBDIR)/libelf && \
14966 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14972 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14973 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14974 maybe-all-stage1-libelf:
14975 maybe-clean-stage1-libelf:
14976 @if libelf-bootstrap
14977 maybe-all-stage1-libelf: all-stage1-libelf
14978 all-stage1: all-stage1-libelf
14979 TARGET-stage1-libelf = $(TARGET-libelf)
14980 all-stage1-libelf: configure-stage1-libelf
14981 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14982 @r=`${PWD_COMMAND}`; export r; \
14983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14984 TFLAGS="$(STAGE1_TFLAGS)"; \
14986 cd $(HOST_SUBDIR)/libelf && \
14987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14988 CFLAGS="$(STAGE1_CFLAGS)" \
14989 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14990 LIBCFLAGS="$(LIBCFLAGS)" \
14991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14994 $(EXTRA_HOST_FLAGS) \
14995 $(STAGE1_FLAGS_TO_PASS) \
14996 TFLAGS="$(STAGE1_TFLAGS)" \
14997 $(TARGET-stage1-libelf)
14999 maybe-clean-stage1-libelf: clean-stage1-libelf
15000 clean-stage1: clean-stage1-libelf
15001 clean-stage1-libelf:
15002 @if [ $(current_stage) = stage1 ]; then \
15003 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15005 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15006 $(MAKE) stage1-start; \
15008 cd $(HOST_SUBDIR)/libelf && \
15009 $(MAKE) $(EXTRA_HOST_FLAGS) \
15010 $(STAGE1_FLAGS_TO_PASS) clean
15011 @endif libelf-bootstrap
15014 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15015 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15016 maybe-all-stage2-libelf:
15017 maybe-clean-stage2-libelf:
15018 @if libelf-bootstrap
15019 maybe-all-stage2-libelf: all-stage2-libelf
15020 all-stage2: all-stage2-libelf
15021 TARGET-stage2-libelf = $(TARGET-libelf)
15022 all-stage2-libelf: configure-stage2-libelf
15023 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15024 @r=`${PWD_COMMAND}`; export r; \
15025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15026 TFLAGS="$(STAGE2_TFLAGS)"; \
15028 $(POSTSTAGE1_HOST_EXPORTS) \
15029 cd $(HOST_SUBDIR)/libelf && \
15030 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15031 CFLAGS="$(STAGE2_CFLAGS)" \
15032 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15033 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15037 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15038 TFLAGS="$(STAGE2_TFLAGS)" \
15039 $(TARGET-stage2-libelf)
15041 maybe-clean-stage2-libelf: clean-stage2-libelf
15042 clean-stage2: clean-stage2-libelf
15043 clean-stage2-libelf:
15044 @if [ $(current_stage) = stage2 ]; then \
15045 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15047 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15048 $(MAKE) stage2-start; \
15050 cd $(HOST_SUBDIR)/libelf && \
15051 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15052 @endif libelf-bootstrap
15055 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15056 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15057 maybe-all-stage3-libelf:
15058 maybe-clean-stage3-libelf:
15059 @if libelf-bootstrap
15060 maybe-all-stage3-libelf: all-stage3-libelf
15061 all-stage3: all-stage3-libelf
15062 TARGET-stage3-libelf = $(TARGET-libelf)
15063 all-stage3-libelf: configure-stage3-libelf
15064 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15065 @r=`${PWD_COMMAND}`; export r; \
15066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15067 TFLAGS="$(STAGE3_TFLAGS)"; \
15069 $(POSTSTAGE1_HOST_EXPORTS) \
15070 cd $(HOST_SUBDIR)/libelf && \
15071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15072 CFLAGS="$(STAGE3_CFLAGS)" \
15073 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15074 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15078 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15079 TFLAGS="$(STAGE3_TFLAGS)" \
15080 $(TARGET-stage3-libelf)
15082 maybe-clean-stage3-libelf: clean-stage3-libelf
15083 clean-stage3: clean-stage3-libelf
15084 clean-stage3-libelf:
15085 @if [ $(current_stage) = stage3 ]; then \
15086 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15088 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15089 $(MAKE) stage3-start; \
15091 cd $(HOST_SUBDIR)/libelf && \
15092 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15093 @endif libelf-bootstrap
15096 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15097 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15098 maybe-all-stage4-libelf:
15099 maybe-clean-stage4-libelf:
15100 @if libelf-bootstrap
15101 maybe-all-stage4-libelf: all-stage4-libelf
15102 all-stage4: all-stage4-libelf
15103 TARGET-stage4-libelf = $(TARGET-libelf)
15104 all-stage4-libelf: configure-stage4-libelf
15105 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15106 @r=`${PWD_COMMAND}`; export r; \
15107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15108 TFLAGS="$(STAGE4_TFLAGS)"; \
15110 $(POSTSTAGE1_HOST_EXPORTS) \
15111 cd $(HOST_SUBDIR)/libelf && \
15112 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15113 CFLAGS="$(STAGE4_CFLAGS)" \
15114 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15115 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15116 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15117 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15118 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15119 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15120 TFLAGS="$(STAGE4_TFLAGS)" \
15121 $(TARGET-stage4-libelf)
15123 maybe-clean-stage4-libelf: clean-stage4-libelf
15124 clean-stage4: clean-stage4-libelf
15125 clean-stage4-libelf:
15126 @if [ $(current_stage) = stage4 ]; then \
15127 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15129 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15130 $(MAKE) stage4-start; \
15132 cd $(HOST_SUBDIR)/libelf && \
15133 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15134 @endif libelf-bootstrap
15137 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15138 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15139 maybe-all-stageprofile-libelf:
15140 maybe-clean-stageprofile-libelf:
15141 @if libelf-bootstrap
15142 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15143 all-stageprofile: all-stageprofile-libelf
15144 TARGET-stageprofile-libelf = $(TARGET-libelf)
15145 all-stageprofile-libelf: configure-stageprofile-libelf
15146 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15147 @r=`${PWD_COMMAND}`; export r; \
15148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15149 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15151 $(POSTSTAGE1_HOST_EXPORTS) \
15152 cd $(HOST_SUBDIR)/libelf && \
15153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15154 CFLAGS="$(STAGEprofile_CFLAGS)" \
15155 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15156 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15160 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15161 TFLAGS="$(STAGEprofile_TFLAGS)" \
15162 $(TARGET-stageprofile-libelf)
15164 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15165 clean-stageprofile: clean-stageprofile-libelf
15166 clean-stageprofile-libelf:
15167 @if [ $(current_stage) = stageprofile ]; then \
15168 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15170 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15171 $(MAKE) stageprofile-start; \
15173 cd $(HOST_SUBDIR)/libelf && \
15174 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15175 @endif libelf-bootstrap
15178 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15179 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15180 maybe-all-stagefeedback-libelf:
15181 maybe-clean-stagefeedback-libelf:
15182 @if libelf-bootstrap
15183 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15184 all-stagefeedback: all-stagefeedback-libelf
15185 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15186 all-stagefeedback-libelf: configure-stagefeedback-libelf
15187 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15188 @r=`${PWD_COMMAND}`; export r; \
15189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15190 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15192 $(POSTSTAGE1_HOST_EXPORTS) \
15193 cd $(HOST_SUBDIR)/libelf && \
15194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15195 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15196 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15197 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15201 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15202 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15203 $(TARGET-stagefeedback-libelf)
15205 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15206 clean-stagefeedback: clean-stagefeedback-libelf
15207 clean-stagefeedback-libelf:
15208 @if [ $(current_stage) = stagefeedback ]; then \
15209 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15211 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15212 $(MAKE) stagefeedback-start; \
15214 cd $(HOST_SUBDIR)/libelf && \
15215 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15216 @endif libelf-bootstrap
15222 .PHONY: check-libelf maybe-check-libelf
15223 maybe-check-libelf:
15225 maybe-check-libelf: check-libelf
15228 @: $(MAKE); $(unstage)
15229 @r=`${PWD_COMMAND}`; export r; \
15230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15232 (cd $(HOST_SUBDIR)/libelf && \
15233 $(MAKE) $(FLAGS_TO_PASS) check)
15237 .PHONY: install-libelf maybe-install-libelf
15238 maybe-install-libelf:
15240 maybe-install-libelf: install-libelf
15246 .PHONY: install-strip-libelf maybe-install-strip-libelf
15247 maybe-install-strip-libelf:
15249 maybe-install-strip-libelf: install-strip-libelf
15251 install-strip-libelf:
15255 # Other targets (info, dvi, pdf, etc.)
15257 .PHONY: maybe-info-libelf info-libelf
15260 maybe-info-libelf: info-libelf
15264 @[ -f ./libelf/Makefile ] || exit 0; \
15265 r=`${PWD_COMMAND}`; export r; \
15266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15268 for flag in $(EXTRA_HOST_FLAGS) ; do \
15269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15271 echo "Doing info in libelf" ; \
15272 (cd $(HOST_SUBDIR)/libelf && \
15273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15275 "RANLIB=$${RANLIB}" \
15276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15282 .PHONY: maybe-dvi-libelf dvi-libelf
15285 maybe-dvi-libelf: dvi-libelf
15289 @[ -f ./libelf/Makefile ] || exit 0; \
15290 r=`${PWD_COMMAND}`; export r; \
15291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15293 for flag in $(EXTRA_HOST_FLAGS) ; do \
15294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15296 echo "Doing dvi in libelf" ; \
15297 (cd $(HOST_SUBDIR)/libelf && \
15298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15300 "RANLIB=$${RANLIB}" \
15301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15307 .PHONY: maybe-pdf-libelf pdf-libelf
15310 maybe-pdf-libelf: pdf-libelf
15314 @[ -f ./libelf/Makefile ] || exit 0; \
15315 r=`${PWD_COMMAND}`; export r; \
15316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15318 for flag in $(EXTRA_HOST_FLAGS) ; do \
15319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15321 echo "Doing pdf in libelf" ; \
15322 (cd $(HOST_SUBDIR)/libelf && \
15323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15325 "RANLIB=$${RANLIB}" \
15326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15332 .PHONY: maybe-html-libelf html-libelf
15335 maybe-html-libelf: html-libelf
15339 @[ -f ./libelf/Makefile ] || exit 0; \
15340 r=`${PWD_COMMAND}`; export r; \
15341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15343 for flag in $(EXTRA_HOST_FLAGS) ; do \
15344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15346 echo "Doing html in libelf" ; \
15347 (cd $(HOST_SUBDIR)/libelf && \
15348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15350 "RANLIB=$${RANLIB}" \
15351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15357 .PHONY: maybe-TAGS-libelf TAGS-libelf
15360 maybe-TAGS-libelf: TAGS-libelf
15364 @[ -f ./libelf/Makefile ] || exit 0; \
15365 r=`${PWD_COMMAND}`; export r; \
15366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15368 for flag in $(EXTRA_HOST_FLAGS) ; do \
15369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15371 echo "Doing TAGS in libelf" ; \
15372 (cd $(HOST_SUBDIR)/libelf && \
15373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15375 "RANLIB=$${RANLIB}" \
15376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15382 .PHONY: maybe-install-info-libelf install-info-libelf
15383 maybe-install-info-libelf:
15385 maybe-install-info-libelf: install-info-libelf
15387 install-info-libelf: \
15390 @[ -f ./libelf/Makefile ] || exit 0; \
15391 r=`${PWD_COMMAND}`; export r; \
15392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15394 for flag in $(EXTRA_HOST_FLAGS) ; do \
15395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15397 echo "Doing install-info in libelf" ; \
15398 (cd $(HOST_SUBDIR)/libelf && \
15399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15401 "RANLIB=$${RANLIB}" \
15402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15408 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15409 maybe-install-pdf-libelf:
15411 maybe-install-pdf-libelf: install-pdf-libelf
15413 install-pdf-libelf: \
15416 @[ -f ./libelf/Makefile ] || exit 0; \
15417 r=`${PWD_COMMAND}`; export r; \
15418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15420 for flag in $(EXTRA_HOST_FLAGS) ; do \
15421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15423 echo "Doing install-pdf in libelf" ; \
15424 (cd $(HOST_SUBDIR)/libelf && \
15425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15427 "RANLIB=$${RANLIB}" \
15428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15434 .PHONY: maybe-install-html-libelf install-html-libelf
15435 maybe-install-html-libelf:
15437 maybe-install-html-libelf: install-html-libelf
15439 install-html-libelf: \
15442 @[ -f ./libelf/Makefile ] || exit 0; \
15443 r=`${PWD_COMMAND}`; export r; \
15444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15446 for flag in $(EXTRA_HOST_FLAGS) ; do \
15447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15449 echo "Doing install-html in libelf" ; \
15450 (cd $(HOST_SUBDIR)/libelf && \
15451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15453 "RANLIB=$${RANLIB}" \
15454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15460 .PHONY: maybe-installcheck-libelf installcheck-libelf
15461 maybe-installcheck-libelf:
15463 maybe-installcheck-libelf: installcheck-libelf
15465 installcheck-libelf: \
15467 @[ -f ./libelf/Makefile ] || exit 0; \
15468 r=`${PWD_COMMAND}`; export r; \
15469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15471 for flag in $(EXTRA_HOST_FLAGS) ; do \
15472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15474 echo "Doing installcheck in libelf" ; \
15475 (cd $(HOST_SUBDIR)/libelf && \
15476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15478 "RANLIB=$${RANLIB}" \
15479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15485 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15486 maybe-mostlyclean-libelf:
15488 maybe-mostlyclean-libelf: mostlyclean-libelf
15490 mostlyclean-libelf:
15491 @[ -f ./libelf/Makefile ] || exit 0; \
15492 r=`${PWD_COMMAND}`; export r; \
15493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15495 for flag in $(EXTRA_HOST_FLAGS) ; do \
15496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15498 echo "Doing mostlyclean in libelf" ; \
15499 (cd $(HOST_SUBDIR)/libelf && \
15500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15502 "RANLIB=$${RANLIB}" \
15503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15509 .PHONY: maybe-clean-libelf clean-libelf
15510 maybe-clean-libelf:
15512 maybe-clean-libelf: clean-libelf
15515 @[ -f ./libelf/Makefile ] || exit 0; \
15516 r=`${PWD_COMMAND}`; export r; \
15517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15519 for flag in $(EXTRA_HOST_FLAGS) ; do \
15520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15522 echo "Doing clean in libelf" ; \
15523 (cd $(HOST_SUBDIR)/libelf && \
15524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15526 "RANLIB=$${RANLIB}" \
15527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15533 .PHONY: maybe-distclean-libelf distclean-libelf
15534 maybe-distclean-libelf:
15536 maybe-distclean-libelf: distclean-libelf
15539 @[ -f ./libelf/Makefile ] || exit 0; \
15540 r=`${PWD_COMMAND}`; export r; \
15541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15543 for flag in $(EXTRA_HOST_FLAGS) ; do \
15544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15546 echo "Doing distclean in libelf" ; \
15547 (cd $(HOST_SUBDIR)/libelf && \
15548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15550 "RANLIB=$${RANLIB}" \
15551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15557 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15558 maybe-maintainer-clean-libelf:
15560 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15562 maintainer-clean-libelf:
15563 @[ -f ./libelf/Makefile ] || exit 0; \
15564 r=`${PWD_COMMAND}`; export r; \
15565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15567 for flag in $(EXTRA_HOST_FLAGS) ; do \
15568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15570 echo "Doing maintainer-clean in libelf" ; \
15571 (cd $(HOST_SUBDIR)/libelf && \
15572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15574 "RANLIB=$${RANLIB}" \
15575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15576 maintainer-clean) \
15583 .PHONY: configure-gold maybe-configure-gold
15584 maybe-configure-gold:
15586 configure-gold: stage_current
15587 @endif gcc-bootstrap
15589 maybe-configure-gold: configure-gold
15591 @r=`${PWD_COMMAND}`; export r; \
15592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15593 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15596 echo Configuring in $(HOST_SUBDIR)/gold; \
15597 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15598 case $(srcdir) in \
15599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15600 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15603 srcdiroption="--srcdir=$${topdir}/gold"; \
15604 libsrcdir="$$s/gold"; \
15605 $(SHELL) $${libsrcdir}/configure \
15606 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15607 --target=${target_alias} $${srcdiroption} \
15613 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15614 maybe-configure-stage1-gold:
15616 maybe-configure-stage1-gold: configure-stage1-gold
15617 configure-stage1-gold:
15618 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15620 @r=`${PWD_COMMAND}`; export r; \
15621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15622 TFLAGS="$(STAGE1_TFLAGS)"; \
15623 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15625 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15626 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15627 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15628 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15630 cd $(HOST_SUBDIR)/gold || exit 1; \
15631 case $(srcdir) in \
15632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15633 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15636 srcdiroption="--srcdir=$${topdir}/gold"; \
15637 libsrcdir="$$s/gold"; \
15638 $(SHELL) $${libsrcdir}/configure \
15639 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15640 --target=${target_alias} $${srcdiroption} \
15641 $(STAGE1_CONFIGURE_FLAGS)
15642 @endif gold-bootstrap
15644 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15645 maybe-configure-stage2-gold:
15647 maybe-configure-stage2-gold: configure-stage2-gold
15648 configure-stage2-gold:
15649 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15650 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15651 @r=`${PWD_COMMAND}`; export r; \
15652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15653 TFLAGS="$(STAGE2_TFLAGS)"; \
15654 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15656 $(POSTSTAGE1_HOST_EXPORTS) \
15657 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15658 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15659 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15660 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15662 cd $(HOST_SUBDIR)/gold || exit 1; \
15663 case $(srcdir) in \
15664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15665 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15668 srcdiroption="--srcdir=$${topdir}/gold"; \
15669 libsrcdir="$$s/gold"; \
15670 $(SHELL) $${libsrcdir}/configure \
15671 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15672 --target=${target_alias} $${srcdiroption} \
15673 --with-build-libsubdir=$(HOST_SUBDIR) \
15674 $(STAGE2_CONFIGURE_FLAGS)
15675 @endif gold-bootstrap
15677 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15678 maybe-configure-stage3-gold:
15680 maybe-configure-stage3-gold: configure-stage3-gold
15681 configure-stage3-gold:
15682 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15683 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15684 @r=`${PWD_COMMAND}`; export r; \
15685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15686 TFLAGS="$(STAGE3_TFLAGS)"; \
15687 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15689 $(POSTSTAGE1_HOST_EXPORTS) \
15690 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15691 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15692 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15693 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15695 cd $(HOST_SUBDIR)/gold || exit 1; \
15696 case $(srcdir) in \
15697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15698 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15701 srcdiroption="--srcdir=$${topdir}/gold"; \
15702 libsrcdir="$$s/gold"; \
15703 $(SHELL) $${libsrcdir}/configure \
15704 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15705 --target=${target_alias} $${srcdiroption} \
15706 --with-build-libsubdir=$(HOST_SUBDIR) \
15707 $(STAGE3_CONFIGURE_FLAGS)
15708 @endif gold-bootstrap
15710 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15711 maybe-configure-stage4-gold:
15713 maybe-configure-stage4-gold: configure-stage4-gold
15714 configure-stage4-gold:
15715 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15716 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15717 @r=`${PWD_COMMAND}`; export r; \
15718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15719 TFLAGS="$(STAGE4_TFLAGS)"; \
15720 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15722 $(POSTSTAGE1_HOST_EXPORTS) \
15723 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15724 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15725 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15726 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15728 cd $(HOST_SUBDIR)/gold || exit 1; \
15729 case $(srcdir) in \
15730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15731 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15734 srcdiroption="--srcdir=$${topdir}/gold"; \
15735 libsrcdir="$$s/gold"; \
15736 $(SHELL) $${libsrcdir}/configure \
15737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15738 --target=${target_alias} $${srcdiroption} \
15739 --with-build-libsubdir=$(HOST_SUBDIR) \
15740 $(STAGE4_CONFIGURE_FLAGS)
15741 @endif gold-bootstrap
15743 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15744 maybe-configure-stageprofile-gold:
15746 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15747 configure-stageprofile-gold:
15748 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15749 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15750 @r=`${PWD_COMMAND}`; export r; \
15751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15752 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15753 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15755 $(POSTSTAGE1_HOST_EXPORTS) \
15756 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15757 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15758 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15759 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15761 cd $(HOST_SUBDIR)/gold || exit 1; \
15762 case $(srcdir) in \
15763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15764 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15767 srcdiroption="--srcdir=$${topdir}/gold"; \
15768 libsrcdir="$$s/gold"; \
15769 $(SHELL) $${libsrcdir}/configure \
15770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15771 --target=${target_alias} $${srcdiroption} \
15772 --with-build-libsubdir=$(HOST_SUBDIR) \
15773 $(STAGEprofile_CONFIGURE_FLAGS)
15774 @endif gold-bootstrap
15776 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15777 maybe-configure-stagefeedback-gold:
15779 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15780 configure-stagefeedback-gold:
15781 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15782 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15783 @r=`${PWD_COMMAND}`; export r; \
15784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15785 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15786 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15788 $(POSTSTAGE1_HOST_EXPORTS) \
15789 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15790 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15791 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15792 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15794 cd $(HOST_SUBDIR)/gold || exit 1; \
15795 case $(srcdir) in \
15796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15797 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15800 srcdiroption="--srcdir=$${topdir}/gold"; \
15801 libsrcdir="$$s/gold"; \
15802 $(SHELL) $${libsrcdir}/configure \
15803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15804 --target=${target_alias} $${srcdiroption} \
15805 --with-build-libsubdir=$(HOST_SUBDIR) \
15806 $(STAGEfeedback_CONFIGURE_FLAGS)
15807 @endif gold-bootstrap
15813 .PHONY: all-gold maybe-all-gold
15816 all-gold: stage_current
15817 @endif gcc-bootstrap
15820 maybe-all-gold: all-gold
15821 all-gold: configure-gold
15822 @r=`${PWD_COMMAND}`; export r; \
15823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15825 (cd $(HOST_SUBDIR)/gold && \
15826 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15832 .PHONY: all-stage1-gold maybe-all-stage1-gold
15833 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15834 maybe-all-stage1-gold:
15835 maybe-clean-stage1-gold:
15837 maybe-all-stage1-gold: all-stage1-gold
15838 all-stage1: all-stage1-gold
15839 TARGET-stage1-gold = $(TARGET-gold)
15840 all-stage1-gold: configure-stage1-gold
15841 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15842 @r=`${PWD_COMMAND}`; export r; \
15843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15844 TFLAGS="$(STAGE1_TFLAGS)"; \
15846 cd $(HOST_SUBDIR)/gold && \
15847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15848 CFLAGS="$(STAGE1_CFLAGS)" \
15849 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15850 LIBCFLAGS="$(LIBCFLAGS)" \
15851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15854 $(EXTRA_HOST_FLAGS) \
15855 $(STAGE1_FLAGS_TO_PASS) \
15856 TFLAGS="$(STAGE1_TFLAGS)" \
15857 $(TARGET-stage1-gold)
15859 maybe-clean-stage1-gold: clean-stage1-gold
15860 clean-stage1: clean-stage1-gold
15862 @if [ $(current_stage) = stage1 ]; then \
15863 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15865 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15866 $(MAKE) stage1-start; \
15868 cd $(HOST_SUBDIR)/gold && \
15869 $(MAKE) $(EXTRA_HOST_FLAGS) \
15870 $(STAGE1_FLAGS_TO_PASS) clean
15871 @endif gold-bootstrap
15874 .PHONY: all-stage2-gold maybe-all-stage2-gold
15875 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15876 maybe-all-stage2-gold:
15877 maybe-clean-stage2-gold:
15879 maybe-all-stage2-gold: all-stage2-gold
15880 all-stage2: all-stage2-gold
15881 TARGET-stage2-gold = $(TARGET-gold)
15882 all-stage2-gold: configure-stage2-gold
15883 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15884 @r=`${PWD_COMMAND}`; export r; \
15885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15886 TFLAGS="$(STAGE2_TFLAGS)"; \
15888 $(POSTSTAGE1_HOST_EXPORTS) \
15889 cd $(HOST_SUBDIR)/gold && \
15890 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15891 CFLAGS="$(STAGE2_CFLAGS)" \
15892 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15893 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15894 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15895 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15896 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15897 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15898 TFLAGS="$(STAGE2_TFLAGS)" \
15899 $(TARGET-stage2-gold)
15901 maybe-clean-stage2-gold: clean-stage2-gold
15902 clean-stage2: clean-stage2-gold
15904 @if [ $(current_stage) = stage2 ]; then \
15905 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15907 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15908 $(MAKE) stage2-start; \
15910 cd $(HOST_SUBDIR)/gold && \
15911 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15912 @endif gold-bootstrap
15915 .PHONY: all-stage3-gold maybe-all-stage3-gold
15916 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15917 maybe-all-stage3-gold:
15918 maybe-clean-stage3-gold:
15920 maybe-all-stage3-gold: all-stage3-gold
15921 all-stage3: all-stage3-gold
15922 TARGET-stage3-gold = $(TARGET-gold)
15923 all-stage3-gold: configure-stage3-gold
15924 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15925 @r=`${PWD_COMMAND}`; export r; \
15926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15927 TFLAGS="$(STAGE3_TFLAGS)"; \
15929 $(POSTSTAGE1_HOST_EXPORTS) \
15930 cd $(HOST_SUBDIR)/gold && \
15931 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15932 CFLAGS="$(STAGE3_CFLAGS)" \
15933 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15934 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15935 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15936 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15937 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15938 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15939 TFLAGS="$(STAGE3_TFLAGS)" \
15940 $(TARGET-stage3-gold)
15942 maybe-clean-stage3-gold: clean-stage3-gold
15943 clean-stage3: clean-stage3-gold
15945 @if [ $(current_stage) = stage3 ]; then \
15946 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15948 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15949 $(MAKE) stage3-start; \
15951 cd $(HOST_SUBDIR)/gold && \
15952 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15953 @endif gold-bootstrap
15956 .PHONY: all-stage4-gold maybe-all-stage4-gold
15957 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15958 maybe-all-stage4-gold:
15959 maybe-clean-stage4-gold:
15961 maybe-all-stage4-gold: all-stage4-gold
15962 all-stage4: all-stage4-gold
15963 TARGET-stage4-gold = $(TARGET-gold)
15964 all-stage4-gold: configure-stage4-gold
15965 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15966 @r=`${PWD_COMMAND}`; export r; \
15967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15968 TFLAGS="$(STAGE4_TFLAGS)"; \
15970 $(POSTSTAGE1_HOST_EXPORTS) \
15971 cd $(HOST_SUBDIR)/gold && \
15972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15973 CFLAGS="$(STAGE4_CFLAGS)" \
15974 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15975 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15980 TFLAGS="$(STAGE4_TFLAGS)" \
15981 $(TARGET-stage4-gold)
15983 maybe-clean-stage4-gold: clean-stage4-gold
15984 clean-stage4: clean-stage4-gold
15986 @if [ $(current_stage) = stage4 ]; then \
15987 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15989 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15990 $(MAKE) stage4-start; \
15992 cd $(HOST_SUBDIR)/gold && \
15993 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15994 @endif gold-bootstrap
15997 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15998 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15999 maybe-all-stageprofile-gold:
16000 maybe-clean-stageprofile-gold:
16002 maybe-all-stageprofile-gold: all-stageprofile-gold
16003 all-stageprofile: all-stageprofile-gold
16004 TARGET-stageprofile-gold = $(TARGET-gold)
16005 all-stageprofile-gold: configure-stageprofile-gold
16006 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16007 @r=`${PWD_COMMAND}`; export r; \
16008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16009 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16011 $(POSTSTAGE1_HOST_EXPORTS) \
16012 cd $(HOST_SUBDIR)/gold && \
16013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16014 CFLAGS="$(STAGEprofile_CFLAGS)" \
16015 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16016 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16020 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16021 TFLAGS="$(STAGEprofile_TFLAGS)" \
16022 $(TARGET-stageprofile-gold)
16024 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16025 clean-stageprofile: clean-stageprofile-gold
16026 clean-stageprofile-gold:
16027 @if [ $(current_stage) = stageprofile ]; then \
16028 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16030 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16031 $(MAKE) stageprofile-start; \
16033 cd $(HOST_SUBDIR)/gold && \
16034 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16035 @endif gold-bootstrap
16038 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16039 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16040 maybe-all-stagefeedback-gold:
16041 maybe-clean-stagefeedback-gold:
16043 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16044 all-stagefeedback: all-stagefeedback-gold
16045 TARGET-stagefeedback-gold = $(TARGET-gold)
16046 all-stagefeedback-gold: configure-stagefeedback-gold
16047 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16048 @r=`${PWD_COMMAND}`; export r; \
16049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16050 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16052 $(POSTSTAGE1_HOST_EXPORTS) \
16053 cd $(HOST_SUBDIR)/gold && \
16054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16055 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16056 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16057 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16061 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16062 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16063 $(TARGET-stagefeedback-gold)
16065 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16066 clean-stagefeedback: clean-stagefeedback-gold
16067 clean-stagefeedback-gold:
16068 @if [ $(current_stage) = stagefeedback ]; then \
16069 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16071 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16072 $(MAKE) stagefeedback-start; \
16074 cd $(HOST_SUBDIR)/gold && \
16075 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16076 @endif gold-bootstrap
16082 .PHONY: check-gold maybe-check-gold
16085 maybe-check-gold: check-gold
16088 @: $(MAKE); $(unstage)
16089 @r=`${PWD_COMMAND}`; export r; \
16090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16092 (cd $(HOST_SUBDIR)/gold && \
16093 $(MAKE) $(FLAGS_TO_PASS) check)
16097 .PHONY: install-gold maybe-install-gold
16098 maybe-install-gold:
16100 maybe-install-gold: install-gold
16102 install-gold: installdirs
16103 @: $(MAKE); $(unstage)
16104 @r=`${PWD_COMMAND}`; export r; \
16105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16107 (cd $(HOST_SUBDIR)/gold && \
16108 $(MAKE) $(FLAGS_TO_PASS) install)
16112 .PHONY: install-strip-gold maybe-install-strip-gold
16113 maybe-install-strip-gold:
16115 maybe-install-strip-gold: install-strip-gold
16117 install-strip-gold: installdirs
16118 @: $(MAKE); $(unstage)
16119 @r=`${PWD_COMMAND}`; export r; \
16120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16122 (cd $(HOST_SUBDIR)/gold && \
16123 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16127 # Other targets (info, dvi, pdf, etc.)
16129 .PHONY: maybe-info-gold info-gold
16132 maybe-info-gold: info-gold
16136 @[ -f ./gold/Makefile ] || exit 0; \
16137 r=`${PWD_COMMAND}`; export r; \
16138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16140 for flag in $(EXTRA_HOST_FLAGS) ; do \
16141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16143 echo "Doing info in gold" ; \
16144 (cd $(HOST_SUBDIR)/gold && \
16145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16147 "RANLIB=$${RANLIB}" \
16148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16154 .PHONY: maybe-dvi-gold dvi-gold
16157 maybe-dvi-gold: dvi-gold
16161 @[ -f ./gold/Makefile ] || exit 0; \
16162 r=`${PWD_COMMAND}`; export r; \
16163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16165 for flag in $(EXTRA_HOST_FLAGS) ; do \
16166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16168 echo "Doing dvi in gold" ; \
16169 (cd $(HOST_SUBDIR)/gold && \
16170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16172 "RANLIB=$${RANLIB}" \
16173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16179 .PHONY: maybe-pdf-gold pdf-gold
16182 maybe-pdf-gold: pdf-gold
16186 @[ -f ./gold/Makefile ] || exit 0; \
16187 r=`${PWD_COMMAND}`; export r; \
16188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16190 for flag in $(EXTRA_HOST_FLAGS) ; do \
16191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16193 echo "Doing pdf in gold" ; \
16194 (cd $(HOST_SUBDIR)/gold && \
16195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16197 "RANLIB=$${RANLIB}" \
16198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16204 .PHONY: maybe-html-gold html-gold
16207 maybe-html-gold: html-gold
16211 @[ -f ./gold/Makefile ] || exit 0; \
16212 r=`${PWD_COMMAND}`; export r; \
16213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16215 for flag in $(EXTRA_HOST_FLAGS) ; do \
16216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16218 echo "Doing html in gold" ; \
16219 (cd $(HOST_SUBDIR)/gold && \
16220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16222 "RANLIB=$${RANLIB}" \
16223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16229 .PHONY: maybe-TAGS-gold TAGS-gold
16232 maybe-TAGS-gold: TAGS-gold
16236 @[ -f ./gold/Makefile ] || exit 0; \
16237 r=`${PWD_COMMAND}`; export r; \
16238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240 for flag in $(EXTRA_HOST_FLAGS) ; do \
16241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16243 echo "Doing TAGS in gold" ; \
16244 (cd $(HOST_SUBDIR)/gold && \
16245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16247 "RANLIB=$${RANLIB}" \
16248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16254 .PHONY: maybe-install-info-gold install-info-gold
16255 maybe-install-info-gold:
16257 maybe-install-info-gold: install-info-gold
16259 install-info-gold: \
16262 @[ -f ./gold/Makefile ] || exit 0; \
16263 r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16266 for flag in $(EXTRA_HOST_FLAGS) ; do \
16267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16269 echo "Doing install-info in gold" ; \
16270 (cd $(HOST_SUBDIR)/gold && \
16271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16273 "RANLIB=$${RANLIB}" \
16274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16280 .PHONY: maybe-install-pdf-gold install-pdf-gold
16281 maybe-install-pdf-gold:
16283 maybe-install-pdf-gold: install-pdf-gold
16285 install-pdf-gold: \
16288 @[ -f ./gold/Makefile ] || exit 0; \
16289 r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16292 for flag in $(EXTRA_HOST_FLAGS) ; do \
16293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16295 echo "Doing install-pdf in gold" ; \
16296 (cd $(HOST_SUBDIR)/gold && \
16297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16299 "RANLIB=$${RANLIB}" \
16300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16306 .PHONY: maybe-install-html-gold install-html-gold
16307 maybe-install-html-gold:
16309 maybe-install-html-gold: install-html-gold
16311 install-html-gold: \
16314 @[ -f ./gold/Makefile ] || exit 0; \
16315 r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16318 for flag in $(EXTRA_HOST_FLAGS) ; do \
16319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16321 echo "Doing install-html in gold" ; \
16322 (cd $(HOST_SUBDIR)/gold && \
16323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16325 "RANLIB=$${RANLIB}" \
16326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16332 .PHONY: maybe-installcheck-gold installcheck-gold
16333 maybe-installcheck-gold:
16335 maybe-installcheck-gold: installcheck-gold
16337 installcheck-gold: \
16339 @[ -f ./gold/Makefile ] || exit 0; \
16340 r=`${PWD_COMMAND}`; export r; \
16341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16343 for flag in $(EXTRA_HOST_FLAGS) ; do \
16344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16346 echo "Doing installcheck in gold" ; \
16347 (cd $(HOST_SUBDIR)/gold && \
16348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16350 "RANLIB=$${RANLIB}" \
16351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16357 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16358 maybe-mostlyclean-gold:
16360 maybe-mostlyclean-gold: mostlyclean-gold
16363 @[ -f ./gold/Makefile ] || exit 0; \
16364 r=`${PWD_COMMAND}`; export r; \
16365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16370 echo "Doing mostlyclean in gold" ; \
16371 (cd $(HOST_SUBDIR)/gold && \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16381 .PHONY: maybe-clean-gold clean-gold
16384 maybe-clean-gold: clean-gold
16387 @[ -f ./gold/Makefile ] || exit 0; \
16388 r=`${PWD_COMMAND}`; export r; \
16389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16391 for flag in $(EXTRA_HOST_FLAGS) ; do \
16392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16394 echo "Doing clean in gold" ; \
16395 (cd $(HOST_SUBDIR)/gold && \
16396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16398 "RANLIB=$${RANLIB}" \
16399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16405 .PHONY: maybe-distclean-gold distclean-gold
16406 maybe-distclean-gold:
16408 maybe-distclean-gold: distclean-gold
16411 @[ -f ./gold/Makefile ] || exit 0; \
16412 r=`${PWD_COMMAND}`; export r; \
16413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16415 for flag in $(EXTRA_HOST_FLAGS) ; do \
16416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16418 echo "Doing distclean in gold" ; \
16419 (cd $(HOST_SUBDIR)/gold && \
16420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16422 "RANLIB=$${RANLIB}" \
16423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16429 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16430 maybe-maintainer-clean-gold:
16432 maybe-maintainer-clean-gold: maintainer-clean-gold
16434 maintainer-clean-gold:
16435 @[ -f ./gold/Makefile ] || exit 0; \
16436 r=`${PWD_COMMAND}`; export r; \
16437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16439 for flag in $(EXTRA_HOST_FLAGS) ; do \
16440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16442 echo "Doing maintainer-clean in gold" ; \
16443 (cd $(HOST_SUBDIR)/gold && \
16444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16446 "RANLIB=$${RANLIB}" \
16447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16448 maintainer-clean) \
16455 .PHONY: configure-gprof maybe-configure-gprof
16456 maybe-configure-gprof:
16458 configure-gprof: stage_current
16459 @endif gcc-bootstrap
16461 maybe-configure-gprof: configure-gprof
16463 @: $(MAKE); $(unstage)
16464 @r=`${PWD_COMMAND}`; export r; \
16465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16466 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16469 echo Configuring in $(HOST_SUBDIR)/gprof; \
16470 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16471 case $(srcdir) in \
16472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16473 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16476 srcdiroption="--srcdir=$${topdir}/gprof"; \
16477 libsrcdir="$$s/gprof"; \
16478 $(SHELL) $${libsrcdir}/configure \
16479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16480 --target=${target_alias} $${srcdiroption} \
16488 .PHONY: all-gprof maybe-all-gprof
16491 all-gprof: stage_current
16492 @endif gcc-bootstrap
16495 maybe-all-gprof: all-gprof
16496 all-gprof: configure-gprof
16497 @: $(MAKE); $(unstage)
16498 @r=`${PWD_COMMAND}`; export r; \
16499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16501 (cd $(HOST_SUBDIR)/gprof && \
16502 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16509 .PHONY: check-gprof maybe-check-gprof
16512 maybe-check-gprof: check-gprof
16515 @: $(MAKE); $(unstage)
16516 @r=`${PWD_COMMAND}`; export r; \
16517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16519 (cd $(HOST_SUBDIR)/gprof && \
16520 $(MAKE) $(FLAGS_TO_PASS) check)
16524 .PHONY: install-gprof maybe-install-gprof
16525 maybe-install-gprof:
16527 maybe-install-gprof: install-gprof
16529 install-gprof: installdirs
16530 @: $(MAKE); $(unstage)
16531 @r=`${PWD_COMMAND}`; export r; \
16532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16534 (cd $(HOST_SUBDIR)/gprof && \
16535 $(MAKE) $(FLAGS_TO_PASS) install)
16539 .PHONY: install-strip-gprof maybe-install-strip-gprof
16540 maybe-install-strip-gprof:
16542 maybe-install-strip-gprof: install-strip-gprof
16544 install-strip-gprof: installdirs
16545 @: $(MAKE); $(unstage)
16546 @r=`${PWD_COMMAND}`; export r; \
16547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16549 (cd $(HOST_SUBDIR)/gprof && \
16550 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16554 # Other targets (info, dvi, pdf, etc.)
16556 .PHONY: maybe-info-gprof info-gprof
16559 maybe-info-gprof: info-gprof
16563 @: $(MAKE); $(unstage)
16564 @[ -f ./gprof/Makefile ] || exit 0; \
16565 r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16568 for flag in $(EXTRA_HOST_FLAGS) ; do \
16569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16571 echo "Doing info in gprof" ; \
16572 (cd $(HOST_SUBDIR)/gprof && \
16573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16575 "RANLIB=$${RANLIB}" \
16576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16582 .PHONY: maybe-dvi-gprof dvi-gprof
16585 maybe-dvi-gprof: dvi-gprof
16589 @: $(MAKE); $(unstage)
16590 @[ -f ./gprof/Makefile ] || exit 0; \
16591 r=`${PWD_COMMAND}`; export r; \
16592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16594 for flag in $(EXTRA_HOST_FLAGS) ; do \
16595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16597 echo "Doing dvi in gprof" ; \
16598 (cd $(HOST_SUBDIR)/gprof && \
16599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16601 "RANLIB=$${RANLIB}" \
16602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16608 .PHONY: maybe-pdf-gprof pdf-gprof
16611 maybe-pdf-gprof: pdf-gprof
16615 @: $(MAKE); $(unstage)
16616 @[ -f ./gprof/Makefile ] || exit 0; \
16617 r=`${PWD_COMMAND}`; export r; \
16618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16620 for flag in $(EXTRA_HOST_FLAGS) ; do \
16621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16623 echo "Doing pdf in gprof" ; \
16624 (cd $(HOST_SUBDIR)/gprof && \
16625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16627 "RANLIB=$${RANLIB}" \
16628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16634 .PHONY: maybe-html-gprof html-gprof
16637 maybe-html-gprof: html-gprof
16641 @: $(MAKE); $(unstage)
16642 @[ -f ./gprof/Makefile ] || exit 0; \
16643 r=`${PWD_COMMAND}`; export r; \
16644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16646 for flag in $(EXTRA_HOST_FLAGS) ; do \
16647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16649 echo "Doing html in gprof" ; \
16650 (cd $(HOST_SUBDIR)/gprof && \
16651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16653 "RANLIB=$${RANLIB}" \
16654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16660 .PHONY: maybe-TAGS-gprof TAGS-gprof
16663 maybe-TAGS-gprof: TAGS-gprof
16667 @: $(MAKE); $(unstage)
16668 @[ -f ./gprof/Makefile ] || exit 0; \
16669 r=`${PWD_COMMAND}`; export r; \
16670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16672 for flag in $(EXTRA_HOST_FLAGS) ; do \
16673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16675 echo "Doing TAGS in gprof" ; \
16676 (cd $(HOST_SUBDIR)/gprof && \
16677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16679 "RANLIB=$${RANLIB}" \
16680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16686 .PHONY: maybe-install-info-gprof install-info-gprof
16687 maybe-install-info-gprof:
16689 maybe-install-info-gprof: install-info-gprof
16691 install-info-gprof: \
16694 @: $(MAKE); $(unstage)
16695 @[ -f ./gprof/Makefile ] || exit 0; \
16696 r=`${PWD_COMMAND}`; export r; \
16697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16699 for flag in $(EXTRA_HOST_FLAGS) ; do \
16700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16702 echo "Doing install-info in gprof" ; \
16703 (cd $(HOST_SUBDIR)/gprof && \
16704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16706 "RANLIB=$${RANLIB}" \
16707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16713 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16714 maybe-install-pdf-gprof:
16716 maybe-install-pdf-gprof: install-pdf-gprof
16718 install-pdf-gprof: \
16721 @: $(MAKE); $(unstage)
16722 @[ -f ./gprof/Makefile ] || exit 0; \
16723 r=`${PWD_COMMAND}`; export r; \
16724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16726 for flag in $(EXTRA_HOST_FLAGS) ; do \
16727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16729 echo "Doing install-pdf in gprof" ; \
16730 (cd $(HOST_SUBDIR)/gprof && \
16731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16733 "RANLIB=$${RANLIB}" \
16734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16740 .PHONY: maybe-install-html-gprof install-html-gprof
16741 maybe-install-html-gprof:
16743 maybe-install-html-gprof: install-html-gprof
16745 install-html-gprof: \
16748 @: $(MAKE); $(unstage)
16749 @[ -f ./gprof/Makefile ] || exit 0; \
16750 r=`${PWD_COMMAND}`; export r; \
16751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16753 for flag in $(EXTRA_HOST_FLAGS) ; do \
16754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16756 echo "Doing install-html in gprof" ; \
16757 (cd $(HOST_SUBDIR)/gprof && \
16758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16760 "RANLIB=$${RANLIB}" \
16761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16767 .PHONY: maybe-installcheck-gprof installcheck-gprof
16768 maybe-installcheck-gprof:
16770 maybe-installcheck-gprof: installcheck-gprof
16772 installcheck-gprof: \
16774 @: $(MAKE); $(unstage)
16775 @[ -f ./gprof/Makefile ] || exit 0; \
16776 r=`${PWD_COMMAND}`; export r; \
16777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16779 for flag in $(EXTRA_HOST_FLAGS) ; do \
16780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16782 echo "Doing installcheck in gprof" ; \
16783 (cd $(HOST_SUBDIR)/gprof && \
16784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16786 "RANLIB=$${RANLIB}" \
16787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16793 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16794 maybe-mostlyclean-gprof:
16796 maybe-mostlyclean-gprof: mostlyclean-gprof
16799 @: $(MAKE); $(unstage)
16800 @[ -f ./gprof/Makefile ] || exit 0; \
16801 r=`${PWD_COMMAND}`; export r; \
16802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16804 for flag in $(EXTRA_HOST_FLAGS) ; do \
16805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16807 echo "Doing mostlyclean in gprof" ; \
16808 (cd $(HOST_SUBDIR)/gprof && \
16809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16811 "RANLIB=$${RANLIB}" \
16812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16818 .PHONY: maybe-clean-gprof clean-gprof
16821 maybe-clean-gprof: clean-gprof
16824 @: $(MAKE); $(unstage)
16825 @[ -f ./gprof/Makefile ] || exit 0; \
16826 r=`${PWD_COMMAND}`; export r; \
16827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16829 for flag in $(EXTRA_HOST_FLAGS) ; do \
16830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16832 echo "Doing clean in gprof" ; \
16833 (cd $(HOST_SUBDIR)/gprof && \
16834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16836 "RANLIB=$${RANLIB}" \
16837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16843 .PHONY: maybe-distclean-gprof distclean-gprof
16844 maybe-distclean-gprof:
16846 maybe-distclean-gprof: distclean-gprof
16849 @: $(MAKE); $(unstage)
16850 @[ -f ./gprof/Makefile ] || exit 0; \
16851 r=`${PWD_COMMAND}`; export r; \
16852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16854 for flag in $(EXTRA_HOST_FLAGS) ; do \
16855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16857 echo "Doing distclean in gprof" ; \
16858 (cd $(HOST_SUBDIR)/gprof && \
16859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16861 "RANLIB=$${RANLIB}" \
16862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16868 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16869 maybe-maintainer-clean-gprof:
16871 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16873 maintainer-clean-gprof:
16874 @: $(MAKE); $(unstage)
16875 @[ -f ./gprof/Makefile ] || exit 0; \
16876 r=`${PWD_COMMAND}`; export r; \
16877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16879 for flag in $(EXTRA_HOST_FLAGS) ; do \
16880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16882 echo "Doing maintainer-clean in gprof" ; \
16883 (cd $(HOST_SUBDIR)/gprof && \
16884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16886 "RANLIB=$${RANLIB}" \
16887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16888 maintainer-clean) \
16895 .PHONY: configure-intl maybe-configure-intl
16896 maybe-configure-intl:
16898 configure-intl: stage_current
16899 @endif gcc-bootstrap
16901 maybe-configure-intl: configure-intl
16903 @r=`${PWD_COMMAND}`; export r; \
16904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16905 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16908 echo Configuring in $(HOST_SUBDIR)/intl; \
16909 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16910 case $(srcdir) in \
16911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16912 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16915 srcdiroption="--srcdir=$${topdir}/intl"; \
16916 libsrcdir="$$s/intl"; \
16917 $(SHELL) $${libsrcdir}/configure \
16918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16919 --target=${target_alias} $${srcdiroption} \
16925 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16926 maybe-configure-stage1-intl:
16928 maybe-configure-stage1-intl: configure-stage1-intl
16929 configure-stage1-intl:
16930 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16932 @r=`${PWD_COMMAND}`; export r; \
16933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16934 TFLAGS="$(STAGE1_TFLAGS)"; \
16935 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16937 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16938 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16939 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16940 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16942 cd $(HOST_SUBDIR)/intl || exit 1; \
16943 case $(srcdir) in \
16944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16945 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16948 srcdiroption="--srcdir=$${topdir}/intl"; \
16949 libsrcdir="$$s/intl"; \
16950 $(SHELL) $${libsrcdir}/configure \
16951 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16952 --target=${target_alias} $${srcdiroption} \
16953 $(STAGE1_CONFIGURE_FLAGS)
16954 @endif intl-bootstrap
16956 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16957 maybe-configure-stage2-intl:
16959 maybe-configure-stage2-intl: configure-stage2-intl
16960 configure-stage2-intl:
16961 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16963 @r=`${PWD_COMMAND}`; export r; \
16964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16965 TFLAGS="$(STAGE2_TFLAGS)"; \
16966 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16968 $(POSTSTAGE1_HOST_EXPORTS) \
16969 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16970 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16971 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16972 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16974 cd $(HOST_SUBDIR)/intl || exit 1; \
16975 case $(srcdir) in \
16976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16977 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16980 srcdiroption="--srcdir=$${topdir}/intl"; \
16981 libsrcdir="$$s/intl"; \
16982 $(SHELL) $${libsrcdir}/configure \
16983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16984 --target=${target_alias} $${srcdiroption} \
16985 --with-build-libsubdir=$(HOST_SUBDIR) \
16986 $(STAGE2_CONFIGURE_FLAGS)
16987 @endif intl-bootstrap
16989 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16990 maybe-configure-stage3-intl:
16992 maybe-configure-stage3-intl: configure-stage3-intl
16993 configure-stage3-intl:
16994 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16996 @r=`${PWD_COMMAND}`; export r; \
16997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16998 TFLAGS="$(STAGE3_TFLAGS)"; \
16999 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17001 $(POSTSTAGE1_HOST_EXPORTS) \
17002 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17003 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17004 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17005 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17007 cd $(HOST_SUBDIR)/intl || exit 1; \
17008 case $(srcdir) in \
17009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17010 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17013 srcdiroption="--srcdir=$${topdir}/intl"; \
17014 libsrcdir="$$s/intl"; \
17015 $(SHELL) $${libsrcdir}/configure \
17016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17017 --target=${target_alias} $${srcdiroption} \
17018 --with-build-libsubdir=$(HOST_SUBDIR) \
17019 $(STAGE3_CONFIGURE_FLAGS)
17020 @endif intl-bootstrap
17022 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17023 maybe-configure-stage4-intl:
17025 maybe-configure-stage4-intl: configure-stage4-intl
17026 configure-stage4-intl:
17027 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17029 @r=`${PWD_COMMAND}`; export r; \
17030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17031 TFLAGS="$(STAGE4_TFLAGS)"; \
17032 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17034 $(POSTSTAGE1_HOST_EXPORTS) \
17035 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17036 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17037 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17038 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17040 cd $(HOST_SUBDIR)/intl || exit 1; \
17041 case $(srcdir) in \
17042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17043 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17046 srcdiroption="--srcdir=$${topdir}/intl"; \
17047 libsrcdir="$$s/intl"; \
17048 $(SHELL) $${libsrcdir}/configure \
17049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17050 --target=${target_alias} $${srcdiroption} \
17051 --with-build-libsubdir=$(HOST_SUBDIR) \
17052 $(STAGE4_CONFIGURE_FLAGS)
17053 @endif intl-bootstrap
17055 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17056 maybe-configure-stageprofile-intl:
17058 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17059 configure-stageprofile-intl:
17060 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17062 @r=`${PWD_COMMAND}`; export r; \
17063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17064 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17065 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17067 $(POSTSTAGE1_HOST_EXPORTS) \
17068 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17069 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17070 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17071 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17073 cd $(HOST_SUBDIR)/intl || exit 1; \
17074 case $(srcdir) in \
17075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17076 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17079 srcdiroption="--srcdir=$${topdir}/intl"; \
17080 libsrcdir="$$s/intl"; \
17081 $(SHELL) $${libsrcdir}/configure \
17082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17083 --target=${target_alias} $${srcdiroption} \
17084 --with-build-libsubdir=$(HOST_SUBDIR) \
17085 $(STAGEprofile_CONFIGURE_FLAGS)
17086 @endif intl-bootstrap
17088 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17089 maybe-configure-stagefeedback-intl:
17091 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17092 configure-stagefeedback-intl:
17093 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17095 @r=`${PWD_COMMAND}`; export r; \
17096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17098 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17100 $(POSTSTAGE1_HOST_EXPORTS) \
17101 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17102 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17103 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17104 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17106 cd $(HOST_SUBDIR)/intl || exit 1; \
17107 case $(srcdir) in \
17108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17109 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17112 srcdiroption="--srcdir=$${topdir}/intl"; \
17113 libsrcdir="$$s/intl"; \
17114 $(SHELL) $${libsrcdir}/configure \
17115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17116 --target=${target_alias} $${srcdiroption} \
17117 --with-build-libsubdir=$(HOST_SUBDIR) \
17118 $(STAGEfeedback_CONFIGURE_FLAGS)
17119 @endif intl-bootstrap
17125 .PHONY: all-intl maybe-all-intl
17128 all-intl: stage_current
17129 @endif gcc-bootstrap
17132 maybe-all-intl: all-intl
17133 all-intl: configure-intl
17134 @r=`${PWD_COMMAND}`; export r; \
17135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17137 (cd $(HOST_SUBDIR)/intl && \
17138 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17144 .PHONY: all-stage1-intl maybe-all-stage1-intl
17145 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17146 maybe-all-stage1-intl:
17147 maybe-clean-stage1-intl:
17149 maybe-all-stage1-intl: all-stage1-intl
17150 all-stage1: all-stage1-intl
17151 TARGET-stage1-intl = $(TARGET-intl)
17152 all-stage1-intl: configure-stage1-intl
17153 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17154 @r=`${PWD_COMMAND}`; export r; \
17155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17156 TFLAGS="$(STAGE1_TFLAGS)"; \
17158 cd $(HOST_SUBDIR)/intl && \
17159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17160 CFLAGS="$(STAGE1_CFLAGS)" \
17161 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17162 LIBCFLAGS="$(LIBCFLAGS)" \
17163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17166 $(EXTRA_HOST_FLAGS) \
17167 $(STAGE1_FLAGS_TO_PASS) \
17168 TFLAGS="$(STAGE1_TFLAGS)" \
17169 $(TARGET-stage1-intl)
17171 maybe-clean-stage1-intl: clean-stage1-intl
17172 clean-stage1: clean-stage1-intl
17174 @if [ $(current_stage) = stage1 ]; then \
17175 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17177 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17178 $(MAKE) stage1-start; \
17180 cd $(HOST_SUBDIR)/intl && \
17181 $(MAKE) $(EXTRA_HOST_FLAGS) \
17182 $(STAGE1_FLAGS_TO_PASS) clean
17183 @endif intl-bootstrap
17186 .PHONY: all-stage2-intl maybe-all-stage2-intl
17187 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17188 maybe-all-stage2-intl:
17189 maybe-clean-stage2-intl:
17191 maybe-all-stage2-intl: all-stage2-intl
17192 all-stage2: all-stage2-intl
17193 TARGET-stage2-intl = $(TARGET-intl)
17194 all-stage2-intl: configure-stage2-intl
17195 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17196 @r=`${PWD_COMMAND}`; export r; \
17197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17198 TFLAGS="$(STAGE2_TFLAGS)"; \
17200 $(POSTSTAGE1_HOST_EXPORTS) \
17201 cd $(HOST_SUBDIR)/intl && \
17202 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17203 CFLAGS="$(STAGE2_CFLAGS)" \
17204 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17205 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17210 TFLAGS="$(STAGE2_TFLAGS)" \
17211 $(TARGET-stage2-intl)
17213 maybe-clean-stage2-intl: clean-stage2-intl
17214 clean-stage2: clean-stage2-intl
17216 @if [ $(current_stage) = stage2 ]; then \
17217 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17219 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17220 $(MAKE) stage2-start; \
17222 cd $(HOST_SUBDIR)/intl && \
17223 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17224 @endif intl-bootstrap
17227 .PHONY: all-stage3-intl maybe-all-stage3-intl
17228 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17229 maybe-all-stage3-intl:
17230 maybe-clean-stage3-intl:
17232 maybe-all-stage3-intl: all-stage3-intl
17233 all-stage3: all-stage3-intl
17234 TARGET-stage3-intl = $(TARGET-intl)
17235 all-stage3-intl: configure-stage3-intl
17236 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17237 @r=`${PWD_COMMAND}`; export r; \
17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 TFLAGS="$(STAGE3_TFLAGS)"; \
17241 $(POSTSTAGE1_HOST_EXPORTS) \
17242 cd $(HOST_SUBDIR)/intl && \
17243 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17244 CFLAGS="$(STAGE3_CFLAGS)" \
17245 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17246 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17250 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17251 TFLAGS="$(STAGE3_TFLAGS)" \
17252 $(TARGET-stage3-intl)
17254 maybe-clean-stage3-intl: clean-stage3-intl
17255 clean-stage3: clean-stage3-intl
17257 @if [ $(current_stage) = stage3 ]; then \
17258 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17260 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17261 $(MAKE) stage3-start; \
17263 cd $(HOST_SUBDIR)/intl && \
17264 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17265 @endif intl-bootstrap
17268 .PHONY: all-stage4-intl maybe-all-stage4-intl
17269 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17270 maybe-all-stage4-intl:
17271 maybe-clean-stage4-intl:
17273 maybe-all-stage4-intl: all-stage4-intl
17274 all-stage4: all-stage4-intl
17275 TARGET-stage4-intl = $(TARGET-intl)
17276 all-stage4-intl: configure-stage4-intl
17277 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17278 @r=`${PWD_COMMAND}`; export r; \
17279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17280 TFLAGS="$(STAGE4_TFLAGS)"; \
17282 $(POSTSTAGE1_HOST_EXPORTS) \
17283 cd $(HOST_SUBDIR)/intl && \
17284 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17285 CFLAGS="$(STAGE4_CFLAGS)" \
17286 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17287 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17288 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17289 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17290 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17291 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17292 TFLAGS="$(STAGE4_TFLAGS)" \
17293 $(TARGET-stage4-intl)
17295 maybe-clean-stage4-intl: clean-stage4-intl
17296 clean-stage4: clean-stage4-intl
17298 @if [ $(current_stage) = stage4 ]; then \
17299 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17301 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17302 $(MAKE) stage4-start; \
17304 cd $(HOST_SUBDIR)/intl && \
17305 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17306 @endif intl-bootstrap
17309 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17310 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17311 maybe-all-stageprofile-intl:
17312 maybe-clean-stageprofile-intl:
17314 maybe-all-stageprofile-intl: all-stageprofile-intl
17315 all-stageprofile: all-stageprofile-intl
17316 TARGET-stageprofile-intl = $(TARGET-intl)
17317 all-stageprofile-intl: configure-stageprofile-intl
17318 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17319 @r=`${PWD_COMMAND}`; export r; \
17320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17321 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17323 $(POSTSTAGE1_HOST_EXPORTS) \
17324 cd $(HOST_SUBDIR)/intl && \
17325 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17326 CFLAGS="$(STAGEprofile_CFLAGS)" \
17327 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17328 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17333 TFLAGS="$(STAGEprofile_TFLAGS)" \
17334 $(TARGET-stageprofile-intl)
17336 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17337 clean-stageprofile: clean-stageprofile-intl
17338 clean-stageprofile-intl:
17339 @if [ $(current_stage) = stageprofile ]; then \
17340 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17342 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17343 $(MAKE) stageprofile-start; \
17345 cd $(HOST_SUBDIR)/intl && \
17346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17347 @endif intl-bootstrap
17350 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17351 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17352 maybe-all-stagefeedback-intl:
17353 maybe-clean-stagefeedback-intl:
17355 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17356 all-stagefeedback: all-stagefeedback-intl
17357 TARGET-stagefeedback-intl = $(TARGET-intl)
17358 all-stagefeedback-intl: configure-stagefeedback-intl
17359 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17360 @r=`${PWD_COMMAND}`; export r; \
17361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17362 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17364 $(POSTSTAGE1_HOST_EXPORTS) \
17365 cd $(HOST_SUBDIR)/intl && \
17366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17367 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17368 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17369 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17373 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17374 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17375 $(TARGET-stagefeedback-intl)
17377 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17378 clean-stagefeedback: clean-stagefeedback-intl
17379 clean-stagefeedback-intl:
17380 @if [ $(current_stage) = stagefeedback ]; then \
17381 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17383 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17384 $(MAKE) stagefeedback-start; \
17386 cd $(HOST_SUBDIR)/intl && \
17387 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17388 @endif intl-bootstrap
17394 .PHONY: check-intl maybe-check-intl
17397 maybe-check-intl: check-intl
17400 @: $(MAKE); $(unstage)
17401 @r=`${PWD_COMMAND}`; export r; \
17402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17404 (cd $(HOST_SUBDIR)/intl && \
17405 $(MAKE) $(FLAGS_TO_PASS) check)
17409 .PHONY: install-intl maybe-install-intl
17410 maybe-install-intl:
17412 maybe-install-intl: install-intl
17414 install-intl: installdirs
17415 @: $(MAKE); $(unstage)
17416 @r=`${PWD_COMMAND}`; export r; \
17417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17419 (cd $(HOST_SUBDIR)/intl && \
17420 $(MAKE) $(FLAGS_TO_PASS) install)
17424 .PHONY: install-strip-intl maybe-install-strip-intl
17425 maybe-install-strip-intl:
17427 maybe-install-strip-intl: install-strip-intl
17429 install-strip-intl: installdirs
17430 @: $(MAKE); $(unstage)
17431 @r=`${PWD_COMMAND}`; export r; \
17432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17434 (cd $(HOST_SUBDIR)/intl && \
17435 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17439 # Other targets (info, dvi, pdf, etc.)
17441 .PHONY: maybe-info-intl info-intl
17444 maybe-info-intl: info-intl
17448 @[ -f ./intl/Makefile ] || exit 0; \
17449 r=`${PWD_COMMAND}`; export r; \
17450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17452 for flag in $(EXTRA_HOST_FLAGS) ; do \
17453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17455 echo "Doing info in intl" ; \
17456 (cd $(HOST_SUBDIR)/intl && \
17457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17459 "RANLIB=$${RANLIB}" \
17460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17466 .PHONY: maybe-dvi-intl dvi-intl
17469 maybe-dvi-intl: dvi-intl
17473 @[ -f ./intl/Makefile ] || exit 0; \
17474 r=`${PWD_COMMAND}`; export r; \
17475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17477 for flag in $(EXTRA_HOST_FLAGS) ; do \
17478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17480 echo "Doing dvi in intl" ; \
17481 (cd $(HOST_SUBDIR)/intl && \
17482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17484 "RANLIB=$${RANLIB}" \
17485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17491 .PHONY: maybe-pdf-intl pdf-intl
17494 maybe-pdf-intl: pdf-intl
17498 @[ -f ./intl/Makefile ] || exit 0; \
17499 r=`${PWD_COMMAND}`; export r; \
17500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17502 for flag in $(EXTRA_HOST_FLAGS) ; do \
17503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17505 echo "Doing pdf in intl" ; \
17506 (cd $(HOST_SUBDIR)/intl && \
17507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17509 "RANLIB=$${RANLIB}" \
17510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17516 .PHONY: maybe-html-intl html-intl
17519 maybe-html-intl: html-intl
17523 @[ -f ./intl/Makefile ] || exit 0; \
17524 r=`${PWD_COMMAND}`; export r; \
17525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17527 for flag in $(EXTRA_HOST_FLAGS) ; do \
17528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17530 echo "Doing html in intl" ; \
17531 (cd $(HOST_SUBDIR)/intl && \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534 "RANLIB=$${RANLIB}" \
17535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17541 .PHONY: maybe-TAGS-intl TAGS-intl
17544 maybe-TAGS-intl: TAGS-intl
17548 @[ -f ./intl/Makefile ] || exit 0; \
17549 r=`${PWD_COMMAND}`; export r; \
17550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17552 for flag in $(EXTRA_HOST_FLAGS) ; do \
17553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17555 echo "Doing TAGS in intl" ; \
17556 (cd $(HOST_SUBDIR)/intl && \
17557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17559 "RANLIB=$${RANLIB}" \
17560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17566 .PHONY: maybe-install-info-intl install-info-intl
17567 maybe-install-info-intl:
17569 maybe-install-info-intl: install-info-intl
17571 install-info-intl: \
17574 @[ -f ./intl/Makefile ] || exit 0; \
17575 r=`${PWD_COMMAND}`; export r; \
17576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17578 for flag in $(EXTRA_HOST_FLAGS) ; do \
17579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17581 echo "Doing install-info in intl" ; \
17582 (cd $(HOST_SUBDIR)/intl && \
17583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17585 "RANLIB=$${RANLIB}" \
17586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17592 .PHONY: maybe-install-pdf-intl install-pdf-intl
17593 maybe-install-pdf-intl:
17595 maybe-install-pdf-intl: install-pdf-intl
17597 install-pdf-intl: \
17600 @[ -f ./intl/Makefile ] || exit 0; \
17601 r=`${PWD_COMMAND}`; export r; \
17602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17604 for flag in $(EXTRA_HOST_FLAGS) ; do \
17605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17607 echo "Doing install-pdf in intl" ; \
17608 (cd $(HOST_SUBDIR)/intl && \
17609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17611 "RANLIB=$${RANLIB}" \
17612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17618 .PHONY: maybe-install-html-intl install-html-intl
17619 maybe-install-html-intl:
17621 maybe-install-html-intl: install-html-intl
17623 install-html-intl: \
17626 @[ -f ./intl/Makefile ] || exit 0; \
17627 r=`${PWD_COMMAND}`; export r; \
17628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17630 for flag in $(EXTRA_HOST_FLAGS) ; do \
17631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17633 echo "Doing install-html in intl" ; \
17634 (cd $(HOST_SUBDIR)/intl && \
17635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17637 "RANLIB=$${RANLIB}" \
17638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17644 .PHONY: maybe-installcheck-intl installcheck-intl
17645 maybe-installcheck-intl:
17647 maybe-installcheck-intl: installcheck-intl
17649 installcheck-intl: \
17651 @[ -f ./intl/Makefile ] || exit 0; \
17652 r=`${PWD_COMMAND}`; export r; \
17653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17655 for flag in $(EXTRA_HOST_FLAGS) ; do \
17656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17658 echo "Doing installcheck in intl" ; \
17659 (cd $(HOST_SUBDIR)/intl && \
17660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17662 "RANLIB=$${RANLIB}" \
17663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17669 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17670 maybe-mostlyclean-intl:
17672 maybe-mostlyclean-intl: mostlyclean-intl
17675 @[ -f ./intl/Makefile ] || exit 0; \
17676 r=`${PWD_COMMAND}`; export r; \
17677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17679 for flag in $(EXTRA_HOST_FLAGS) ; do \
17680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17682 echo "Doing mostlyclean in intl" ; \
17683 (cd $(HOST_SUBDIR)/intl && \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17686 "RANLIB=$${RANLIB}" \
17687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17693 .PHONY: maybe-clean-intl clean-intl
17696 maybe-clean-intl: clean-intl
17699 @[ -f ./intl/Makefile ] || exit 0; \
17700 r=`${PWD_COMMAND}`; export r; \
17701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17703 for flag in $(EXTRA_HOST_FLAGS) ; do \
17704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17706 echo "Doing clean in intl" ; \
17707 (cd $(HOST_SUBDIR)/intl && \
17708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17710 "RANLIB=$${RANLIB}" \
17711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17717 .PHONY: maybe-distclean-intl distclean-intl
17718 maybe-distclean-intl:
17720 maybe-distclean-intl: distclean-intl
17723 @[ -f ./intl/Makefile ] || exit 0; \
17724 r=`${PWD_COMMAND}`; export r; \
17725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17727 for flag in $(EXTRA_HOST_FLAGS) ; do \
17728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17730 echo "Doing distclean in intl" ; \
17731 (cd $(HOST_SUBDIR)/intl && \
17732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17734 "RANLIB=$${RANLIB}" \
17735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17741 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17742 maybe-maintainer-clean-intl:
17744 maybe-maintainer-clean-intl: maintainer-clean-intl
17746 maintainer-clean-intl:
17747 @[ -f ./intl/Makefile ] || exit 0; \
17748 r=`${PWD_COMMAND}`; export r; \
17749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17751 for flag in $(EXTRA_HOST_FLAGS) ; do \
17752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17754 echo "Doing maintainer-clean in intl" ; \
17755 (cd $(HOST_SUBDIR)/intl && \
17756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17758 "RANLIB=$${RANLIB}" \
17759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17760 maintainer-clean) \
17767 .PHONY: configure-tcl maybe-configure-tcl
17768 maybe-configure-tcl:
17770 configure-tcl: stage_current
17771 @endif gcc-bootstrap
17773 maybe-configure-tcl: configure-tcl
17775 @: $(MAKE); $(unstage)
17776 @r=`${PWD_COMMAND}`; export r; \
17777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17778 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17779 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17781 echo Configuring in $(HOST_SUBDIR)/tcl; \
17782 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17783 case $(srcdir) in \
17784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17785 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17788 srcdiroption="--srcdir=$${topdir}/tcl"; \
17789 libsrcdir="$$s/tcl"; \
17790 $(SHELL) $${libsrcdir}/configure \
17791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17792 --target=${target_alias} $${srcdiroption} \
17800 .PHONY: all-tcl maybe-all-tcl
17803 all-tcl: stage_current
17804 @endif gcc-bootstrap
17807 maybe-all-tcl: all-tcl
17808 all-tcl: configure-tcl
17809 @: $(MAKE); $(unstage)
17810 @r=`${PWD_COMMAND}`; export r; \
17811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17813 (cd $(HOST_SUBDIR)/tcl && \
17814 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17821 .PHONY: check-tcl maybe-check-tcl
17824 maybe-check-tcl: check-tcl
17827 @: $(MAKE); $(unstage)
17828 @r=`${PWD_COMMAND}`; export r; \
17829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17831 (cd $(HOST_SUBDIR)/tcl && \
17832 $(MAKE) $(FLAGS_TO_PASS) check)
17836 .PHONY: install-tcl maybe-install-tcl
17839 maybe-install-tcl: install-tcl
17841 install-tcl: installdirs
17842 @: $(MAKE); $(unstage)
17843 @r=`${PWD_COMMAND}`; export r; \
17844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17846 (cd $(HOST_SUBDIR)/tcl && \
17847 $(MAKE) $(FLAGS_TO_PASS) install)
17851 .PHONY: install-strip-tcl maybe-install-strip-tcl
17852 maybe-install-strip-tcl:
17854 maybe-install-strip-tcl: install-strip-tcl
17856 install-strip-tcl: installdirs
17857 @: $(MAKE); $(unstage)
17858 @r=`${PWD_COMMAND}`; export r; \
17859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17861 (cd $(HOST_SUBDIR)/tcl && \
17862 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17866 # Other targets (info, dvi, pdf, etc.)
17868 .PHONY: maybe-info-tcl info-tcl
17871 maybe-info-tcl: info-tcl
17875 @: $(MAKE); $(unstage)
17876 @[ -f ./tcl/Makefile ] || exit 0; \
17877 r=`${PWD_COMMAND}`; export r; \
17878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17880 for flag in $(EXTRA_HOST_FLAGS) ; do \
17881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17883 echo "Doing info in tcl" ; \
17884 (cd $(HOST_SUBDIR)/tcl && \
17885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17887 "RANLIB=$${RANLIB}" \
17888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17894 .PHONY: maybe-dvi-tcl dvi-tcl
17897 maybe-dvi-tcl: dvi-tcl
17901 @: $(MAKE); $(unstage)
17902 @[ -f ./tcl/Makefile ] || exit 0; \
17903 r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17906 for flag in $(EXTRA_HOST_FLAGS) ; do \
17907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17909 echo "Doing dvi in tcl" ; \
17910 (cd $(HOST_SUBDIR)/tcl && \
17911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17913 "RANLIB=$${RANLIB}" \
17914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17920 .PHONY: maybe-pdf-tcl pdf-tcl
17923 maybe-pdf-tcl: pdf-tcl
17927 @: $(MAKE); $(unstage)
17928 @[ -f ./tcl/Makefile ] || exit 0; \
17929 r=`${PWD_COMMAND}`; export r; \
17930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17932 for flag in $(EXTRA_HOST_FLAGS) ; do \
17933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17935 echo "Doing pdf in tcl" ; \
17936 (cd $(HOST_SUBDIR)/tcl && \
17937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17939 "RANLIB=$${RANLIB}" \
17940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17946 .PHONY: maybe-html-tcl html-tcl
17949 maybe-html-tcl: html-tcl
17953 @: $(MAKE); $(unstage)
17954 @[ -f ./tcl/Makefile ] || exit 0; \
17955 r=`${PWD_COMMAND}`; export r; \
17956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17958 for flag in $(EXTRA_HOST_FLAGS) ; do \
17959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17961 echo "Doing html in tcl" ; \
17962 (cd $(HOST_SUBDIR)/tcl && \
17963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17965 "RANLIB=$${RANLIB}" \
17966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17972 .PHONY: maybe-TAGS-tcl TAGS-tcl
17975 maybe-TAGS-tcl: TAGS-tcl
17979 @: $(MAKE); $(unstage)
17980 @[ -f ./tcl/Makefile ] || exit 0; \
17981 r=`${PWD_COMMAND}`; export r; \
17982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17984 for flag in $(EXTRA_HOST_FLAGS) ; do \
17985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17987 echo "Doing TAGS in tcl" ; \
17988 (cd $(HOST_SUBDIR)/tcl && \
17989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17991 "RANLIB=$${RANLIB}" \
17992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17998 .PHONY: maybe-install-info-tcl install-info-tcl
17999 maybe-install-info-tcl:
18001 maybe-install-info-tcl: install-info-tcl
18003 install-info-tcl: \
18006 @: $(MAKE); $(unstage)
18007 @[ -f ./tcl/Makefile ] || exit 0; \
18008 r=`${PWD_COMMAND}`; export r; \
18009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18011 for flag in $(EXTRA_HOST_FLAGS) ; do \
18012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18014 echo "Doing install-info in tcl" ; \
18015 (cd $(HOST_SUBDIR)/tcl && \
18016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18018 "RANLIB=$${RANLIB}" \
18019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18025 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18026 maybe-install-pdf-tcl:
18028 maybe-install-pdf-tcl: install-pdf-tcl
18033 @: $(MAKE); $(unstage)
18034 @[ -f ./tcl/Makefile ] || exit 0; \
18035 r=`${PWD_COMMAND}`; export r; \
18036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18038 for flag in $(EXTRA_HOST_FLAGS) ; do \
18039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18041 echo "Doing install-pdf in tcl" ; \
18042 (cd $(HOST_SUBDIR)/tcl && \
18043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18045 "RANLIB=$${RANLIB}" \
18046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18052 .PHONY: maybe-install-html-tcl install-html-tcl
18053 maybe-install-html-tcl:
18055 maybe-install-html-tcl: install-html-tcl
18057 install-html-tcl: \
18060 @: $(MAKE); $(unstage)
18061 @[ -f ./tcl/Makefile ] || exit 0; \
18062 r=`${PWD_COMMAND}`; export r; \
18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18065 for flag in $(EXTRA_HOST_FLAGS) ; do \
18066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18068 echo "Doing install-html in tcl" ; \
18069 (cd $(HOST_SUBDIR)/tcl && \
18070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18072 "RANLIB=$${RANLIB}" \
18073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18079 .PHONY: maybe-installcheck-tcl installcheck-tcl
18080 maybe-installcheck-tcl:
18082 maybe-installcheck-tcl: installcheck-tcl
18084 installcheck-tcl: \
18086 @: $(MAKE); $(unstage)
18087 @[ -f ./tcl/Makefile ] || exit 0; \
18088 r=`${PWD_COMMAND}`; export r; \
18089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18091 for flag in $(EXTRA_HOST_FLAGS) ; do \
18092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18094 echo "Doing installcheck in tcl" ; \
18095 (cd $(HOST_SUBDIR)/tcl && \
18096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18098 "RANLIB=$${RANLIB}" \
18099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18105 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18106 maybe-mostlyclean-tcl:
18108 maybe-mostlyclean-tcl: mostlyclean-tcl
18110 # tcl doesn't support mostlyclean.
18115 .PHONY: maybe-clean-tcl clean-tcl
18118 maybe-clean-tcl: clean-tcl
18121 @: $(MAKE); $(unstage)
18122 @[ -f ./tcl/Makefile ] || exit 0; \
18123 r=`${PWD_COMMAND}`; export r; \
18124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18126 for flag in $(EXTRA_HOST_FLAGS) ; do \
18127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18129 echo "Doing clean in tcl" ; \
18130 (cd $(HOST_SUBDIR)/tcl && \
18131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18133 "RANLIB=$${RANLIB}" \
18134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18140 .PHONY: maybe-distclean-tcl distclean-tcl
18141 maybe-distclean-tcl:
18143 maybe-distclean-tcl: distclean-tcl
18146 @: $(MAKE); $(unstage)
18147 @[ -f ./tcl/Makefile ] || exit 0; \
18148 r=`${PWD_COMMAND}`; export r; \
18149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18151 for flag in $(EXTRA_HOST_FLAGS) ; do \
18152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18154 echo "Doing distclean in tcl" ; \
18155 (cd $(HOST_SUBDIR)/tcl && \
18156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18158 "RANLIB=$${RANLIB}" \
18159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18165 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18166 maybe-maintainer-clean-tcl:
18168 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18170 maintainer-clean-tcl:
18171 @: $(MAKE); $(unstage)
18172 @[ -f ./tcl/Makefile ] || exit 0; \
18173 r=`${PWD_COMMAND}`; export r; \
18174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18176 for flag in $(EXTRA_HOST_FLAGS) ; do \
18177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18179 echo "Doing maintainer-clean in tcl" ; \
18180 (cd $(HOST_SUBDIR)/tcl && \
18181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18183 "RANLIB=$${RANLIB}" \
18184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18185 maintainer-clean) \
18192 .PHONY: configure-itcl maybe-configure-itcl
18193 maybe-configure-itcl:
18195 configure-itcl: stage_current
18196 @endif gcc-bootstrap
18198 maybe-configure-itcl: configure-itcl
18200 @: $(MAKE); $(unstage)
18201 @r=`${PWD_COMMAND}`; export r; \
18202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18203 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18206 echo Configuring in $(HOST_SUBDIR)/itcl; \
18207 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18208 case $(srcdir) in \
18209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18210 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18213 srcdiroption="--srcdir=$${topdir}/itcl"; \
18214 libsrcdir="$$s/itcl"; \
18215 $(SHELL) $${libsrcdir}/configure \
18216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18217 --target=${target_alias} $${srcdiroption} \
18225 .PHONY: all-itcl maybe-all-itcl
18228 all-itcl: stage_current
18229 @endif gcc-bootstrap
18232 maybe-all-itcl: all-itcl
18233 all-itcl: configure-itcl
18234 @: $(MAKE); $(unstage)
18235 @r=`${PWD_COMMAND}`; export r; \
18236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18238 (cd $(HOST_SUBDIR)/itcl && \
18239 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18246 .PHONY: check-itcl maybe-check-itcl
18249 maybe-check-itcl: check-itcl
18252 @: $(MAKE); $(unstage)
18253 @r=`${PWD_COMMAND}`; export r; \
18254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18256 (cd $(HOST_SUBDIR)/itcl && \
18257 $(MAKE) $(FLAGS_TO_PASS) check)
18261 .PHONY: install-itcl maybe-install-itcl
18262 maybe-install-itcl:
18264 maybe-install-itcl: install-itcl
18266 install-itcl: installdirs
18267 @: $(MAKE); $(unstage)
18268 @r=`${PWD_COMMAND}`; export r; \
18269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18271 (cd $(HOST_SUBDIR)/itcl && \
18272 $(MAKE) $(FLAGS_TO_PASS) install)
18276 .PHONY: install-strip-itcl maybe-install-strip-itcl
18277 maybe-install-strip-itcl:
18279 maybe-install-strip-itcl: install-strip-itcl
18281 install-strip-itcl: installdirs
18282 @: $(MAKE); $(unstage)
18283 @r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286 (cd $(HOST_SUBDIR)/itcl && \
18287 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18291 # Other targets (info, dvi, pdf, etc.)
18293 .PHONY: maybe-info-itcl info-itcl
18296 maybe-info-itcl: info-itcl
18300 @: $(MAKE); $(unstage)
18301 @[ -f ./itcl/Makefile ] || exit 0; \
18302 r=`${PWD_COMMAND}`; export r; \
18303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18305 for flag in $(EXTRA_HOST_FLAGS) ; do \
18306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18308 echo "Doing info in itcl" ; \
18309 (cd $(HOST_SUBDIR)/itcl && \
18310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18312 "RANLIB=$${RANLIB}" \
18313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18319 .PHONY: maybe-dvi-itcl dvi-itcl
18322 maybe-dvi-itcl: dvi-itcl
18326 @: $(MAKE); $(unstage)
18327 @[ -f ./itcl/Makefile ] || exit 0; \
18328 r=`${PWD_COMMAND}`; export r; \
18329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18331 for flag in $(EXTRA_HOST_FLAGS) ; do \
18332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18334 echo "Doing dvi in itcl" ; \
18335 (cd $(HOST_SUBDIR)/itcl && \
18336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18338 "RANLIB=$${RANLIB}" \
18339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18345 .PHONY: maybe-pdf-itcl pdf-itcl
18348 maybe-pdf-itcl: pdf-itcl
18352 @: $(MAKE); $(unstage)
18353 @[ -f ./itcl/Makefile ] || exit 0; \
18354 r=`${PWD_COMMAND}`; export r; \
18355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18357 for flag in $(EXTRA_HOST_FLAGS) ; do \
18358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18360 echo "Doing pdf in itcl" ; \
18361 (cd $(HOST_SUBDIR)/itcl && \
18362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18364 "RANLIB=$${RANLIB}" \
18365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18371 .PHONY: maybe-html-itcl html-itcl
18374 maybe-html-itcl: html-itcl
18378 @: $(MAKE); $(unstage)
18379 @[ -f ./itcl/Makefile ] || exit 0; \
18380 r=`${PWD_COMMAND}`; export r; \
18381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18383 for flag in $(EXTRA_HOST_FLAGS) ; do \
18384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18386 echo "Doing html in itcl" ; \
18387 (cd $(HOST_SUBDIR)/itcl && \
18388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18390 "RANLIB=$${RANLIB}" \
18391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18397 .PHONY: maybe-TAGS-itcl TAGS-itcl
18400 maybe-TAGS-itcl: TAGS-itcl
18404 @: $(MAKE); $(unstage)
18405 @[ -f ./itcl/Makefile ] || exit 0; \
18406 r=`${PWD_COMMAND}`; export r; \
18407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18409 for flag in $(EXTRA_HOST_FLAGS) ; do \
18410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18412 echo "Doing TAGS in itcl" ; \
18413 (cd $(HOST_SUBDIR)/itcl && \
18414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18416 "RANLIB=$${RANLIB}" \
18417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18423 .PHONY: maybe-install-info-itcl install-info-itcl
18424 maybe-install-info-itcl:
18426 maybe-install-info-itcl: install-info-itcl
18428 install-info-itcl: \
18431 @: $(MAKE); $(unstage)
18432 @[ -f ./itcl/Makefile ] || exit 0; \
18433 r=`${PWD_COMMAND}`; export r; \
18434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18436 for flag in $(EXTRA_HOST_FLAGS) ; do \
18437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18439 echo "Doing install-info in itcl" ; \
18440 (cd $(HOST_SUBDIR)/itcl && \
18441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18443 "RANLIB=$${RANLIB}" \
18444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18450 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18451 maybe-install-pdf-itcl:
18453 maybe-install-pdf-itcl: install-pdf-itcl
18455 install-pdf-itcl: \
18458 @: $(MAKE); $(unstage)
18459 @[ -f ./itcl/Makefile ] || exit 0; \
18460 r=`${PWD_COMMAND}`; export r; \
18461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18463 for flag in $(EXTRA_HOST_FLAGS) ; do \
18464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18466 echo "Doing install-pdf in itcl" ; \
18467 (cd $(HOST_SUBDIR)/itcl && \
18468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18470 "RANLIB=$${RANLIB}" \
18471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18477 .PHONY: maybe-install-html-itcl install-html-itcl
18478 maybe-install-html-itcl:
18480 maybe-install-html-itcl: install-html-itcl
18482 install-html-itcl: \
18485 @: $(MAKE); $(unstage)
18486 @[ -f ./itcl/Makefile ] || exit 0; \
18487 r=`${PWD_COMMAND}`; export r; \
18488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18490 for flag in $(EXTRA_HOST_FLAGS) ; do \
18491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18493 echo "Doing install-html in itcl" ; \
18494 (cd $(HOST_SUBDIR)/itcl && \
18495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18497 "RANLIB=$${RANLIB}" \
18498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18504 .PHONY: maybe-installcheck-itcl installcheck-itcl
18505 maybe-installcheck-itcl:
18507 maybe-installcheck-itcl: installcheck-itcl
18509 installcheck-itcl: \
18511 @: $(MAKE); $(unstage)
18512 @[ -f ./itcl/Makefile ] || exit 0; \
18513 r=`${PWD_COMMAND}`; export r; \
18514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18516 for flag in $(EXTRA_HOST_FLAGS) ; do \
18517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18519 echo "Doing installcheck in itcl" ; \
18520 (cd $(HOST_SUBDIR)/itcl && \
18521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18523 "RANLIB=$${RANLIB}" \
18524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18530 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18531 maybe-mostlyclean-itcl:
18533 maybe-mostlyclean-itcl: mostlyclean-itcl
18536 @: $(MAKE); $(unstage)
18537 @[ -f ./itcl/Makefile ] || exit 0; \
18538 r=`${PWD_COMMAND}`; export r; \
18539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18541 for flag in $(EXTRA_HOST_FLAGS) ; do \
18542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18544 echo "Doing mostlyclean in itcl" ; \
18545 (cd $(HOST_SUBDIR)/itcl && \
18546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18548 "RANLIB=$${RANLIB}" \
18549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18555 .PHONY: maybe-clean-itcl clean-itcl
18558 maybe-clean-itcl: clean-itcl
18561 @: $(MAKE); $(unstage)
18562 @[ -f ./itcl/Makefile ] || exit 0; \
18563 r=`${PWD_COMMAND}`; export r; \
18564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18566 for flag in $(EXTRA_HOST_FLAGS) ; do \
18567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18569 echo "Doing clean in itcl" ; \
18570 (cd $(HOST_SUBDIR)/itcl && \
18571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18573 "RANLIB=$${RANLIB}" \
18574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18580 .PHONY: maybe-distclean-itcl distclean-itcl
18581 maybe-distclean-itcl:
18583 maybe-distclean-itcl: distclean-itcl
18586 @: $(MAKE); $(unstage)
18587 @[ -f ./itcl/Makefile ] || exit 0; \
18588 r=`${PWD_COMMAND}`; export r; \
18589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18591 for flag in $(EXTRA_HOST_FLAGS) ; do \
18592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18594 echo "Doing distclean in itcl" ; \
18595 (cd $(HOST_SUBDIR)/itcl && \
18596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18598 "RANLIB=$${RANLIB}" \
18599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18605 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18606 maybe-maintainer-clean-itcl:
18608 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18610 maintainer-clean-itcl:
18611 @: $(MAKE); $(unstage)
18612 @[ -f ./itcl/Makefile ] || exit 0; \
18613 r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18616 for flag in $(EXTRA_HOST_FLAGS) ; do \
18617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18619 echo "Doing maintainer-clean in itcl" ; \
18620 (cd $(HOST_SUBDIR)/itcl && \
18621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18623 "RANLIB=$${RANLIB}" \
18624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18625 maintainer-clean) \
18632 .PHONY: configure-ld maybe-configure-ld
18633 maybe-configure-ld:
18635 configure-ld: stage_current
18636 @endif gcc-bootstrap
18638 maybe-configure-ld: configure-ld
18640 @r=`${PWD_COMMAND}`; export r; \
18641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18642 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18645 echo Configuring in $(HOST_SUBDIR)/ld; \
18646 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18647 case $(srcdir) in \
18648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18649 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18652 srcdiroption="--srcdir=$${topdir}/ld"; \
18653 libsrcdir="$$s/ld"; \
18654 $(SHELL) $${libsrcdir}/configure \
18655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18656 --target=${target_alias} $${srcdiroption} \
18662 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18663 maybe-configure-stage1-ld:
18665 maybe-configure-stage1-ld: configure-stage1-ld
18666 configure-stage1-ld:
18667 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18669 @r=`${PWD_COMMAND}`; export r; \
18670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18671 TFLAGS="$(STAGE1_TFLAGS)"; \
18672 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18674 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18675 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18676 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18677 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18679 cd $(HOST_SUBDIR)/ld || exit 1; \
18680 case $(srcdir) in \
18681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18682 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18685 srcdiroption="--srcdir=$${topdir}/ld"; \
18686 libsrcdir="$$s/ld"; \
18687 $(SHELL) $${libsrcdir}/configure \
18688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18689 --target=${target_alias} $${srcdiroption} \
18690 $(STAGE1_CONFIGURE_FLAGS)
18691 @endif ld-bootstrap
18693 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18694 maybe-configure-stage2-ld:
18696 maybe-configure-stage2-ld: configure-stage2-ld
18697 configure-stage2-ld:
18698 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18700 @r=`${PWD_COMMAND}`; export r; \
18701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18702 TFLAGS="$(STAGE2_TFLAGS)"; \
18703 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18705 $(POSTSTAGE1_HOST_EXPORTS) \
18706 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18707 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18708 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18709 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18711 cd $(HOST_SUBDIR)/ld || exit 1; \
18712 case $(srcdir) in \
18713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18714 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18717 srcdiroption="--srcdir=$${topdir}/ld"; \
18718 libsrcdir="$$s/ld"; \
18719 $(SHELL) $${libsrcdir}/configure \
18720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18721 --target=${target_alias} $${srcdiroption} \
18722 --with-build-libsubdir=$(HOST_SUBDIR) \
18723 $(STAGE2_CONFIGURE_FLAGS)
18724 @endif ld-bootstrap
18726 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18727 maybe-configure-stage3-ld:
18729 maybe-configure-stage3-ld: configure-stage3-ld
18730 configure-stage3-ld:
18731 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18732 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18733 @r=`${PWD_COMMAND}`; export r; \
18734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18735 TFLAGS="$(STAGE3_TFLAGS)"; \
18736 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18738 $(POSTSTAGE1_HOST_EXPORTS) \
18739 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18740 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18741 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18742 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18743 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18744 cd $(HOST_SUBDIR)/ld || exit 1; \
18745 case $(srcdir) in \
18746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18747 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18750 srcdiroption="--srcdir=$${topdir}/ld"; \
18751 libsrcdir="$$s/ld"; \
18752 $(SHELL) $${libsrcdir}/configure \
18753 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18754 --target=${target_alias} $${srcdiroption} \
18755 --with-build-libsubdir=$(HOST_SUBDIR) \
18756 $(STAGE3_CONFIGURE_FLAGS)
18757 @endif ld-bootstrap
18759 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18760 maybe-configure-stage4-ld:
18762 maybe-configure-stage4-ld: configure-stage4-ld
18763 configure-stage4-ld:
18764 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18766 @r=`${PWD_COMMAND}`; export r; \
18767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18768 TFLAGS="$(STAGE4_TFLAGS)"; \
18769 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18771 $(POSTSTAGE1_HOST_EXPORTS) \
18772 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18773 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18774 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18775 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18777 cd $(HOST_SUBDIR)/ld || exit 1; \
18778 case $(srcdir) in \
18779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18780 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18783 srcdiroption="--srcdir=$${topdir}/ld"; \
18784 libsrcdir="$$s/ld"; \
18785 $(SHELL) $${libsrcdir}/configure \
18786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18787 --target=${target_alias} $${srcdiroption} \
18788 --with-build-libsubdir=$(HOST_SUBDIR) \
18789 $(STAGE4_CONFIGURE_FLAGS)
18790 @endif ld-bootstrap
18792 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18793 maybe-configure-stageprofile-ld:
18795 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18796 configure-stageprofile-ld:
18797 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18799 @r=`${PWD_COMMAND}`; export r; \
18800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18801 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18802 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18804 $(POSTSTAGE1_HOST_EXPORTS) \
18805 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18806 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18807 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18808 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18810 cd $(HOST_SUBDIR)/ld || exit 1; \
18811 case $(srcdir) in \
18812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18813 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18816 srcdiroption="--srcdir=$${topdir}/ld"; \
18817 libsrcdir="$$s/ld"; \
18818 $(SHELL) $${libsrcdir}/configure \
18819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18820 --target=${target_alias} $${srcdiroption} \
18821 --with-build-libsubdir=$(HOST_SUBDIR) \
18822 $(STAGEprofile_CONFIGURE_FLAGS)
18823 @endif ld-bootstrap
18825 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18826 maybe-configure-stagefeedback-ld:
18828 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18829 configure-stagefeedback-ld:
18830 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18832 @r=`${PWD_COMMAND}`; export r; \
18833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18834 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18835 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18837 $(POSTSTAGE1_HOST_EXPORTS) \
18838 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18839 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18840 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18841 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18843 cd $(HOST_SUBDIR)/ld || exit 1; \
18844 case $(srcdir) in \
18845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18846 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18849 srcdiroption="--srcdir=$${topdir}/ld"; \
18850 libsrcdir="$$s/ld"; \
18851 $(SHELL) $${libsrcdir}/configure \
18852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18853 --target=${target_alias} $${srcdiroption} \
18854 --with-build-libsubdir=$(HOST_SUBDIR) \
18855 $(STAGEfeedback_CONFIGURE_FLAGS)
18856 @endif ld-bootstrap
18862 .PHONY: all-ld maybe-all-ld
18865 all-ld: stage_current
18866 @endif gcc-bootstrap
18869 maybe-all-ld: all-ld
18870 all-ld: configure-ld
18871 @r=`${PWD_COMMAND}`; export r; \
18872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18874 (cd $(HOST_SUBDIR)/ld && \
18875 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18881 .PHONY: all-stage1-ld maybe-all-stage1-ld
18882 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18883 maybe-all-stage1-ld:
18884 maybe-clean-stage1-ld:
18886 maybe-all-stage1-ld: all-stage1-ld
18887 all-stage1: all-stage1-ld
18888 TARGET-stage1-ld = $(TARGET-ld)
18889 all-stage1-ld: configure-stage1-ld
18890 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18891 @r=`${PWD_COMMAND}`; export r; \
18892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18893 TFLAGS="$(STAGE1_TFLAGS)"; \
18895 cd $(HOST_SUBDIR)/ld && \
18896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18897 CFLAGS="$(STAGE1_CFLAGS)" \
18898 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18899 LIBCFLAGS="$(LIBCFLAGS)" \
18900 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18901 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18902 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18903 $(EXTRA_HOST_FLAGS) \
18904 $(STAGE1_FLAGS_TO_PASS) \
18905 TFLAGS="$(STAGE1_TFLAGS)" \
18906 $(TARGET-stage1-ld)
18908 maybe-clean-stage1-ld: clean-stage1-ld
18909 clean-stage1: clean-stage1-ld
18911 @if [ $(current_stage) = stage1 ]; then \
18912 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18914 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18915 $(MAKE) stage1-start; \
18917 cd $(HOST_SUBDIR)/ld && \
18918 $(MAKE) $(EXTRA_HOST_FLAGS) \
18919 $(STAGE1_FLAGS_TO_PASS) clean
18920 @endif ld-bootstrap
18923 .PHONY: all-stage2-ld maybe-all-stage2-ld
18924 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18925 maybe-all-stage2-ld:
18926 maybe-clean-stage2-ld:
18928 maybe-all-stage2-ld: all-stage2-ld
18929 all-stage2: all-stage2-ld
18930 TARGET-stage2-ld = $(TARGET-ld)
18931 all-stage2-ld: configure-stage2-ld
18932 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18933 @r=`${PWD_COMMAND}`; export r; \
18934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18935 TFLAGS="$(STAGE2_TFLAGS)"; \
18937 $(POSTSTAGE1_HOST_EXPORTS) \
18938 cd $(HOST_SUBDIR)/ld && \
18939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18940 CFLAGS="$(STAGE2_CFLAGS)" \
18941 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18942 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18943 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18944 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18945 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18946 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18947 TFLAGS="$(STAGE2_TFLAGS)" \
18948 $(TARGET-stage2-ld)
18950 maybe-clean-stage2-ld: clean-stage2-ld
18951 clean-stage2: clean-stage2-ld
18953 @if [ $(current_stage) = stage2 ]; then \
18954 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18956 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18957 $(MAKE) stage2-start; \
18959 cd $(HOST_SUBDIR)/ld && \
18960 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18961 @endif ld-bootstrap
18964 .PHONY: all-stage3-ld maybe-all-stage3-ld
18965 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18966 maybe-all-stage3-ld:
18967 maybe-clean-stage3-ld:
18969 maybe-all-stage3-ld: all-stage3-ld
18970 all-stage3: all-stage3-ld
18971 TARGET-stage3-ld = $(TARGET-ld)
18972 all-stage3-ld: configure-stage3-ld
18973 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18974 @r=`${PWD_COMMAND}`; export r; \
18975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18976 TFLAGS="$(STAGE3_TFLAGS)"; \
18978 $(POSTSTAGE1_HOST_EXPORTS) \
18979 cd $(HOST_SUBDIR)/ld && \
18980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18981 CFLAGS="$(STAGE3_CFLAGS)" \
18982 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18983 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18988 TFLAGS="$(STAGE3_TFLAGS)" \
18989 $(TARGET-stage3-ld)
18991 maybe-clean-stage3-ld: clean-stage3-ld
18992 clean-stage3: clean-stage3-ld
18994 @if [ $(current_stage) = stage3 ]; then \
18995 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18997 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18998 $(MAKE) stage3-start; \
19000 cd $(HOST_SUBDIR)/ld && \
19001 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19002 @endif ld-bootstrap
19005 .PHONY: all-stage4-ld maybe-all-stage4-ld
19006 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19007 maybe-all-stage4-ld:
19008 maybe-clean-stage4-ld:
19010 maybe-all-stage4-ld: all-stage4-ld
19011 all-stage4: all-stage4-ld
19012 TARGET-stage4-ld = $(TARGET-ld)
19013 all-stage4-ld: configure-stage4-ld
19014 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19015 @r=`${PWD_COMMAND}`; export r; \
19016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19017 TFLAGS="$(STAGE4_TFLAGS)"; \
19019 $(POSTSTAGE1_HOST_EXPORTS) \
19020 cd $(HOST_SUBDIR)/ld && \
19021 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19022 CFLAGS="$(STAGE4_CFLAGS)" \
19023 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19024 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19025 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19026 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19027 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19028 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19029 TFLAGS="$(STAGE4_TFLAGS)" \
19030 $(TARGET-stage4-ld)
19032 maybe-clean-stage4-ld: clean-stage4-ld
19033 clean-stage4: clean-stage4-ld
19035 @if [ $(current_stage) = stage4 ]; then \
19036 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19038 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19039 $(MAKE) stage4-start; \
19041 cd $(HOST_SUBDIR)/ld && \
19042 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19043 @endif ld-bootstrap
19046 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19047 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19048 maybe-all-stageprofile-ld:
19049 maybe-clean-stageprofile-ld:
19051 maybe-all-stageprofile-ld: all-stageprofile-ld
19052 all-stageprofile: all-stageprofile-ld
19053 TARGET-stageprofile-ld = $(TARGET-ld)
19054 all-stageprofile-ld: configure-stageprofile-ld
19055 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19056 @r=`${PWD_COMMAND}`; export r; \
19057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19058 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19060 $(POSTSTAGE1_HOST_EXPORTS) \
19061 cd $(HOST_SUBDIR)/ld && \
19062 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19063 CFLAGS="$(STAGEprofile_CFLAGS)" \
19064 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19065 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19066 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19067 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19068 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19069 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19070 TFLAGS="$(STAGEprofile_TFLAGS)" \
19071 $(TARGET-stageprofile-ld)
19073 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19074 clean-stageprofile: clean-stageprofile-ld
19075 clean-stageprofile-ld:
19076 @if [ $(current_stage) = stageprofile ]; then \
19077 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19079 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19080 $(MAKE) stageprofile-start; \
19082 cd $(HOST_SUBDIR)/ld && \
19083 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19084 @endif ld-bootstrap
19087 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19088 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19089 maybe-all-stagefeedback-ld:
19090 maybe-clean-stagefeedback-ld:
19092 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19093 all-stagefeedback: all-stagefeedback-ld
19094 TARGET-stagefeedback-ld = $(TARGET-ld)
19095 all-stagefeedback-ld: configure-stagefeedback-ld
19096 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19097 @r=`${PWD_COMMAND}`; export r; \
19098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19099 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19101 $(POSTSTAGE1_HOST_EXPORTS) \
19102 cd $(HOST_SUBDIR)/ld && \
19103 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19104 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19105 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19106 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19107 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19108 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19109 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19110 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19111 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19112 $(TARGET-stagefeedback-ld)
19114 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19115 clean-stagefeedback: clean-stagefeedback-ld
19116 clean-stagefeedback-ld:
19117 @if [ $(current_stage) = stagefeedback ]; then \
19118 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19120 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19121 $(MAKE) stagefeedback-start; \
19123 cd $(HOST_SUBDIR)/ld && \
19124 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19125 @endif ld-bootstrap
19131 .PHONY: check-ld maybe-check-ld
19134 maybe-check-ld: check-ld
19137 @: $(MAKE); $(unstage)
19138 @r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19141 (cd $(HOST_SUBDIR)/ld && \
19142 $(MAKE) $(FLAGS_TO_PASS) check)
19146 .PHONY: install-ld maybe-install-ld
19149 maybe-install-ld: install-ld
19151 install-ld: installdirs
19152 @: $(MAKE); $(unstage)
19153 @r=`${PWD_COMMAND}`; export r; \
19154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19156 (cd $(HOST_SUBDIR)/ld && \
19157 $(MAKE) $(FLAGS_TO_PASS) install)
19161 .PHONY: install-strip-ld maybe-install-strip-ld
19162 maybe-install-strip-ld:
19164 maybe-install-strip-ld: install-strip-ld
19166 install-strip-ld: installdirs
19167 @: $(MAKE); $(unstage)
19168 @r=`${PWD_COMMAND}`; export r; \
19169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19171 (cd $(HOST_SUBDIR)/ld && \
19172 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19176 # Other targets (info, dvi, pdf, etc.)
19178 .PHONY: maybe-info-ld info-ld
19181 maybe-info-ld: info-ld
19185 @[ -f ./ld/Makefile ] || exit 0; \
19186 r=`${PWD_COMMAND}`; export r; \
19187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19189 for flag in $(EXTRA_HOST_FLAGS) ; do \
19190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19192 echo "Doing info in ld" ; \
19193 (cd $(HOST_SUBDIR)/ld && \
19194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19196 "RANLIB=$${RANLIB}" \
19197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19203 .PHONY: maybe-dvi-ld dvi-ld
19206 maybe-dvi-ld: dvi-ld
19210 @[ -f ./ld/Makefile ] || exit 0; \
19211 r=`${PWD_COMMAND}`; export r; \
19212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19214 for flag in $(EXTRA_HOST_FLAGS) ; do \
19215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19217 echo "Doing dvi in ld" ; \
19218 (cd $(HOST_SUBDIR)/ld && \
19219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19221 "RANLIB=$${RANLIB}" \
19222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19228 .PHONY: maybe-pdf-ld pdf-ld
19231 maybe-pdf-ld: pdf-ld
19235 @[ -f ./ld/Makefile ] || exit 0; \
19236 r=`${PWD_COMMAND}`; export r; \
19237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19239 for flag in $(EXTRA_HOST_FLAGS) ; do \
19240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19242 echo "Doing pdf in ld" ; \
19243 (cd $(HOST_SUBDIR)/ld && \
19244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19246 "RANLIB=$${RANLIB}" \
19247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19253 .PHONY: maybe-html-ld html-ld
19256 maybe-html-ld: html-ld
19260 @[ -f ./ld/Makefile ] || exit 0; \
19261 r=`${PWD_COMMAND}`; export r; \
19262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19264 for flag in $(EXTRA_HOST_FLAGS) ; do \
19265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19267 echo "Doing html in ld" ; \
19268 (cd $(HOST_SUBDIR)/ld && \
19269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19271 "RANLIB=$${RANLIB}" \
19272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19278 .PHONY: maybe-TAGS-ld TAGS-ld
19281 maybe-TAGS-ld: TAGS-ld
19285 @[ -f ./ld/Makefile ] || exit 0; \
19286 r=`${PWD_COMMAND}`; export r; \
19287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19289 for flag in $(EXTRA_HOST_FLAGS) ; do \
19290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19292 echo "Doing TAGS in ld" ; \
19293 (cd $(HOST_SUBDIR)/ld && \
19294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19296 "RANLIB=$${RANLIB}" \
19297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19303 .PHONY: maybe-install-info-ld install-info-ld
19304 maybe-install-info-ld:
19306 maybe-install-info-ld: install-info-ld
19311 @[ -f ./ld/Makefile ] || exit 0; \
19312 r=`${PWD_COMMAND}`; export r; \
19313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19315 for flag in $(EXTRA_HOST_FLAGS) ; do \
19316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19318 echo "Doing install-info in ld" ; \
19319 (cd $(HOST_SUBDIR)/ld && \
19320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19322 "RANLIB=$${RANLIB}" \
19323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19329 .PHONY: maybe-install-pdf-ld install-pdf-ld
19330 maybe-install-pdf-ld:
19332 maybe-install-pdf-ld: install-pdf-ld
19337 @[ -f ./ld/Makefile ] || exit 0; \
19338 r=`${PWD_COMMAND}`; export r; \
19339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19341 for flag in $(EXTRA_HOST_FLAGS) ; do \
19342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19344 echo "Doing install-pdf in ld" ; \
19345 (cd $(HOST_SUBDIR)/ld && \
19346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19348 "RANLIB=$${RANLIB}" \
19349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19355 .PHONY: maybe-install-html-ld install-html-ld
19356 maybe-install-html-ld:
19358 maybe-install-html-ld: install-html-ld
19363 @[ -f ./ld/Makefile ] || exit 0; \
19364 r=`${PWD_COMMAND}`; export r; \
19365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19367 for flag in $(EXTRA_HOST_FLAGS) ; do \
19368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19370 echo "Doing install-html in ld" ; \
19371 (cd $(HOST_SUBDIR)/ld && \
19372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19374 "RANLIB=$${RANLIB}" \
19375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19381 .PHONY: maybe-installcheck-ld installcheck-ld
19382 maybe-installcheck-ld:
19384 maybe-installcheck-ld: installcheck-ld
19388 @[ -f ./ld/Makefile ] || exit 0; \
19389 r=`${PWD_COMMAND}`; export r; \
19390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19392 for flag in $(EXTRA_HOST_FLAGS) ; do \
19393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19395 echo "Doing installcheck in ld" ; \
19396 (cd $(HOST_SUBDIR)/ld && \
19397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19399 "RANLIB=$${RANLIB}" \
19400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19406 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19407 maybe-mostlyclean-ld:
19409 maybe-mostlyclean-ld: mostlyclean-ld
19412 @[ -f ./ld/Makefile ] || exit 0; \
19413 r=`${PWD_COMMAND}`; export r; \
19414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19416 for flag in $(EXTRA_HOST_FLAGS) ; do \
19417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19419 echo "Doing mostlyclean in ld" ; \
19420 (cd $(HOST_SUBDIR)/ld && \
19421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19423 "RANLIB=$${RANLIB}" \
19424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19430 .PHONY: maybe-clean-ld clean-ld
19433 maybe-clean-ld: clean-ld
19436 @[ -f ./ld/Makefile ] || exit 0; \
19437 r=`${PWD_COMMAND}`; export r; \
19438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19440 for flag in $(EXTRA_HOST_FLAGS) ; do \
19441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19443 echo "Doing clean in ld" ; \
19444 (cd $(HOST_SUBDIR)/ld && \
19445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19447 "RANLIB=$${RANLIB}" \
19448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19454 .PHONY: maybe-distclean-ld distclean-ld
19455 maybe-distclean-ld:
19457 maybe-distclean-ld: distclean-ld
19460 @[ -f ./ld/Makefile ] || exit 0; \
19461 r=`${PWD_COMMAND}`; export r; \
19462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19464 for flag in $(EXTRA_HOST_FLAGS) ; do \
19465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19467 echo "Doing distclean in ld" ; \
19468 (cd $(HOST_SUBDIR)/ld && \
19469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19471 "RANLIB=$${RANLIB}" \
19472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19478 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19479 maybe-maintainer-clean-ld:
19481 maybe-maintainer-clean-ld: maintainer-clean-ld
19483 maintainer-clean-ld:
19484 @[ -f ./ld/Makefile ] || exit 0; \
19485 r=`${PWD_COMMAND}`; export r; \
19486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19488 for flag in $(EXTRA_HOST_FLAGS) ; do \
19489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19491 echo "Doing maintainer-clean in ld" ; \
19492 (cd $(HOST_SUBDIR)/ld && \
19493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19495 "RANLIB=$${RANLIB}" \
19496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19497 maintainer-clean) \
19504 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19505 maybe-configure-libbacktrace:
19507 configure-libbacktrace: stage_current
19508 @endif gcc-bootstrap
19510 maybe-configure-libbacktrace: configure-libbacktrace
19511 configure-libbacktrace:
19512 @r=`${PWD_COMMAND}`; export r; \
19513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19514 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19517 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19518 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19519 case $(srcdir) in \
19520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19521 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19524 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19525 libsrcdir="$$s/libbacktrace"; \
19526 $(SHELL) $${libsrcdir}/configure \
19527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19528 --target=${target_alias} $${srcdiroption} \
19530 @endif libbacktrace
19534 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19535 maybe-configure-stage1-libbacktrace:
19536 @if libbacktrace-bootstrap
19537 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19538 configure-stage1-libbacktrace:
19539 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19540 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19541 @r=`${PWD_COMMAND}`; export r; \
19542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19543 TFLAGS="$(STAGE1_TFLAGS)"; \
19544 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19546 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19547 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19548 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19549 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19551 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19552 case $(srcdir) in \
19553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19554 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19557 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19558 libsrcdir="$$s/libbacktrace"; \
19559 $(SHELL) $${libsrcdir}/configure \
19560 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19561 --target=${target_alias} $${srcdiroption} \
19562 $(STAGE1_CONFIGURE_FLAGS)
19563 @endif libbacktrace-bootstrap
19565 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19566 maybe-configure-stage2-libbacktrace:
19567 @if libbacktrace-bootstrap
19568 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19569 configure-stage2-libbacktrace:
19570 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19571 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19572 @r=`${PWD_COMMAND}`; export r; \
19573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19574 TFLAGS="$(STAGE2_TFLAGS)"; \
19575 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19577 $(POSTSTAGE1_HOST_EXPORTS) \
19578 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19579 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19580 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19581 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19583 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19584 case $(srcdir) in \
19585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19586 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19589 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19590 libsrcdir="$$s/libbacktrace"; \
19591 $(SHELL) $${libsrcdir}/configure \
19592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19593 --target=${target_alias} $${srcdiroption} \
19594 --with-build-libsubdir=$(HOST_SUBDIR) \
19595 $(STAGE2_CONFIGURE_FLAGS)
19596 @endif libbacktrace-bootstrap
19598 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19599 maybe-configure-stage3-libbacktrace:
19600 @if libbacktrace-bootstrap
19601 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19602 configure-stage3-libbacktrace:
19603 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19604 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19605 @r=`${PWD_COMMAND}`; export r; \
19606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19607 TFLAGS="$(STAGE3_TFLAGS)"; \
19608 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19610 $(POSTSTAGE1_HOST_EXPORTS) \
19611 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19612 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19613 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19614 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19616 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19617 case $(srcdir) in \
19618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19619 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19622 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19623 libsrcdir="$$s/libbacktrace"; \
19624 $(SHELL) $${libsrcdir}/configure \
19625 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19626 --target=${target_alias} $${srcdiroption} \
19627 --with-build-libsubdir=$(HOST_SUBDIR) \
19628 $(STAGE3_CONFIGURE_FLAGS)
19629 @endif libbacktrace-bootstrap
19631 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19632 maybe-configure-stage4-libbacktrace:
19633 @if libbacktrace-bootstrap
19634 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19635 configure-stage4-libbacktrace:
19636 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19637 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19638 @r=`${PWD_COMMAND}`; export r; \
19639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19640 TFLAGS="$(STAGE4_TFLAGS)"; \
19641 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19643 $(POSTSTAGE1_HOST_EXPORTS) \
19644 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19645 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19646 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19647 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19649 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19650 case $(srcdir) in \
19651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19652 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19655 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19656 libsrcdir="$$s/libbacktrace"; \
19657 $(SHELL) $${libsrcdir}/configure \
19658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19659 --target=${target_alias} $${srcdiroption} \
19660 --with-build-libsubdir=$(HOST_SUBDIR) \
19661 $(STAGE4_CONFIGURE_FLAGS)
19662 @endif libbacktrace-bootstrap
19664 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19665 maybe-configure-stageprofile-libbacktrace:
19666 @if libbacktrace-bootstrap
19667 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19668 configure-stageprofile-libbacktrace:
19669 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19670 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19671 @r=`${PWD_COMMAND}`; export r; \
19672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19673 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19674 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19676 $(POSTSTAGE1_HOST_EXPORTS) \
19677 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19678 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19679 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19680 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19682 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19683 case $(srcdir) in \
19684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19685 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19688 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19689 libsrcdir="$$s/libbacktrace"; \
19690 $(SHELL) $${libsrcdir}/configure \
19691 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19692 --target=${target_alias} $${srcdiroption} \
19693 --with-build-libsubdir=$(HOST_SUBDIR) \
19694 $(STAGEprofile_CONFIGURE_FLAGS)
19695 @endif libbacktrace-bootstrap
19697 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19698 maybe-configure-stagefeedback-libbacktrace:
19699 @if libbacktrace-bootstrap
19700 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19701 configure-stagefeedback-libbacktrace:
19702 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19703 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19704 @r=`${PWD_COMMAND}`; export r; \
19705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19706 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19707 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19709 $(POSTSTAGE1_HOST_EXPORTS) \
19710 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19711 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19712 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19713 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19715 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19716 case $(srcdir) in \
19717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19718 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19721 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19722 libsrcdir="$$s/libbacktrace"; \
19723 $(SHELL) $${libsrcdir}/configure \
19724 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19725 --target=${target_alias} $${srcdiroption} \
19726 --with-build-libsubdir=$(HOST_SUBDIR) \
19727 $(STAGEfeedback_CONFIGURE_FLAGS)
19728 @endif libbacktrace-bootstrap
19734 .PHONY: all-libbacktrace maybe-all-libbacktrace
19735 maybe-all-libbacktrace:
19737 all-libbacktrace: stage_current
19738 @endif gcc-bootstrap
19740 TARGET-libbacktrace=all
19741 maybe-all-libbacktrace: all-libbacktrace
19742 all-libbacktrace: configure-libbacktrace
19743 @r=`${PWD_COMMAND}`; export r; \
19744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19746 (cd $(HOST_SUBDIR)/libbacktrace && \
19747 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19748 $(TARGET-libbacktrace))
19749 @endif libbacktrace
19753 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19754 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19755 maybe-all-stage1-libbacktrace:
19756 maybe-clean-stage1-libbacktrace:
19757 @if libbacktrace-bootstrap
19758 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19759 all-stage1: all-stage1-libbacktrace
19760 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19761 all-stage1-libbacktrace: configure-stage1-libbacktrace
19762 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19763 @r=`${PWD_COMMAND}`; export r; \
19764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765 TFLAGS="$(STAGE1_TFLAGS)"; \
19767 cd $(HOST_SUBDIR)/libbacktrace && \
19768 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19769 CFLAGS="$(STAGE1_CFLAGS)" \
19770 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19771 LIBCFLAGS="$(LIBCFLAGS)" \
19772 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19775 $(EXTRA_HOST_FLAGS) \
19776 $(STAGE1_FLAGS_TO_PASS) \
19777 TFLAGS="$(STAGE1_TFLAGS)" \
19778 $(TARGET-stage1-libbacktrace)
19780 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19781 clean-stage1: clean-stage1-libbacktrace
19782 clean-stage1-libbacktrace:
19783 @if [ $(current_stage) = stage1 ]; then \
19784 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19786 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19787 $(MAKE) stage1-start; \
19789 cd $(HOST_SUBDIR)/libbacktrace && \
19790 $(MAKE) $(EXTRA_HOST_FLAGS) \
19791 $(STAGE1_FLAGS_TO_PASS) clean
19792 @endif libbacktrace-bootstrap
19795 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19796 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19797 maybe-all-stage2-libbacktrace:
19798 maybe-clean-stage2-libbacktrace:
19799 @if libbacktrace-bootstrap
19800 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19801 all-stage2: all-stage2-libbacktrace
19802 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19803 all-stage2-libbacktrace: configure-stage2-libbacktrace
19804 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19805 @r=`${PWD_COMMAND}`; export r; \
19806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19807 TFLAGS="$(STAGE2_TFLAGS)"; \
19809 $(POSTSTAGE1_HOST_EXPORTS) \
19810 cd $(HOST_SUBDIR)/libbacktrace && \
19811 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19812 CFLAGS="$(STAGE2_CFLAGS)" \
19813 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19814 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19815 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19816 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19817 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19818 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19819 TFLAGS="$(STAGE2_TFLAGS)" \
19820 $(TARGET-stage2-libbacktrace)
19822 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19823 clean-stage2: clean-stage2-libbacktrace
19824 clean-stage2-libbacktrace:
19825 @if [ $(current_stage) = stage2 ]; then \
19826 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19828 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19829 $(MAKE) stage2-start; \
19831 cd $(HOST_SUBDIR)/libbacktrace && \
19832 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19833 @endif libbacktrace-bootstrap
19836 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19837 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19838 maybe-all-stage3-libbacktrace:
19839 maybe-clean-stage3-libbacktrace:
19840 @if libbacktrace-bootstrap
19841 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19842 all-stage3: all-stage3-libbacktrace
19843 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19844 all-stage3-libbacktrace: configure-stage3-libbacktrace
19845 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19846 @r=`${PWD_COMMAND}`; export r; \
19847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19848 TFLAGS="$(STAGE3_TFLAGS)"; \
19850 $(POSTSTAGE1_HOST_EXPORTS) \
19851 cd $(HOST_SUBDIR)/libbacktrace && \
19852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19853 CFLAGS="$(STAGE3_CFLAGS)" \
19854 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19855 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19859 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19860 TFLAGS="$(STAGE3_TFLAGS)" \
19861 $(TARGET-stage3-libbacktrace)
19863 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19864 clean-stage3: clean-stage3-libbacktrace
19865 clean-stage3-libbacktrace:
19866 @if [ $(current_stage) = stage3 ]; then \
19867 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19869 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19870 $(MAKE) stage3-start; \
19872 cd $(HOST_SUBDIR)/libbacktrace && \
19873 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19874 @endif libbacktrace-bootstrap
19877 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19878 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19879 maybe-all-stage4-libbacktrace:
19880 maybe-clean-stage4-libbacktrace:
19881 @if libbacktrace-bootstrap
19882 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19883 all-stage4: all-stage4-libbacktrace
19884 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19885 all-stage4-libbacktrace: configure-stage4-libbacktrace
19886 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19887 @r=`${PWD_COMMAND}`; export r; \
19888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19889 TFLAGS="$(STAGE4_TFLAGS)"; \
19891 $(POSTSTAGE1_HOST_EXPORTS) \
19892 cd $(HOST_SUBDIR)/libbacktrace && \
19893 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19894 CFLAGS="$(STAGE4_CFLAGS)" \
19895 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19896 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19900 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19901 TFLAGS="$(STAGE4_TFLAGS)" \
19902 $(TARGET-stage4-libbacktrace)
19904 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19905 clean-stage4: clean-stage4-libbacktrace
19906 clean-stage4-libbacktrace:
19907 @if [ $(current_stage) = stage4 ]; then \
19908 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19910 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19911 $(MAKE) stage4-start; \
19913 cd $(HOST_SUBDIR)/libbacktrace && \
19914 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19915 @endif libbacktrace-bootstrap
19918 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19919 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19920 maybe-all-stageprofile-libbacktrace:
19921 maybe-clean-stageprofile-libbacktrace:
19922 @if libbacktrace-bootstrap
19923 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19924 all-stageprofile: all-stageprofile-libbacktrace
19925 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19926 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19927 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19928 @r=`${PWD_COMMAND}`; export r; \
19929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19930 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19932 $(POSTSTAGE1_HOST_EXPORTS) \
19933 cd $(HOST_SUBDIR)/libbacktrace && \
19934 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19935 CFLAGS="$(STAGEprofile_CFLAGS)" \
19936 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19937 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19938 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19939 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19940 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19941 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19942 TFLAGS="$(STAGEprofile_TFLAGS)" \
19943 $(TARGET-stageprofile-libbacktrace)
19945 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19946 clean-stageprofile: clean-stageprofile-libbacktrace
19947 clean-stageprofile-libbacktrace:
19948 @if [ $(current_stage) = stageprofile ]; then \
19949 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19951 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19952 $(MAKE) stageprofile-start; \
19954 cd $(HOST_SUBDIR)/libbacktrace && \
19955 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19956 @endif libbacktrace-bootstrap
19959 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19960 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19961 maybe-all-stagefeedback-libbacktrace:
19962 maybe-clean-stagefeedback-libbacktrace:
19963 @if libbacktrace-bootstrap
19964 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19965 all-stagefeedback: all-stagefeedback-libbacktrace
19966 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19967 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19968 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19969 @r=`${PWD_COMMAND}`; export r; \
19970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19971 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19973 $(POSTSTAGE1_HOST_EXPORTS) \
19974 cd $(HOST_SUBDIR)/libbacktrace && \
19975 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19976 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19977 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19978 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19979 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19980 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19981 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19982 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19983 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19984 $(TARGET-stagefeedback-libbacktrace)
19986 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19987 clean-stagefeedback: clean-stagefeedback-libbacktrace
19988 clean-stagefeedback-libbacktrace:
19989 @if [ $(current_stage) = stagefeedback ]; then \
19990 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19992 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19993 $(MAKE) stagefeedback-start; \
19995 cd $(HOST_SUBDIR)/libbacktrace && \
19996 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19997 @endif libbacktrace-bootstrap
20003 .PHONY: check-libbacktrace maybe-check-libbacktrace
20004 maybe-check-libbacktrace:
20006 maybe-check-libbacktrace: check-libbacktrace
20008 check-libbacktrace:
20009 @: $(MAKE); $(unstage)
20010 @r=`${PWD_COMMAND}`; export r; \
20011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20013 (cd $(HOST_SUBDIR)/libbacktrace && \
20014 $(MAKE) $(FLAGS_TO_PASS) check)
20016 @endif libbacktrace
20018 .PHONY: install-libbacktrace maybe-install-libbacktrace
20019 maybe-install-libbacktrace:
20021 maybe-install-libbacktrace: install-libbacktrace
20023 install-libbacktrace: installdirs
20024 @: $(MAKE); $(unstage)
20025 @r=`${PWD_COMMAND}`; export r; \
20026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20028 (cd $(HOST_SUBDIR)/libbacktrace && \
20029 $(MAKE) $(FLAGS_TO_PASS) install)
20031 @endif libbacktrace
20033 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20034 maybe-install-strip-libbacktrace:
20036 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20038 install-strip-libbacktrace: installdirs
20039 @: $(MAKE); $(unstage)
20040 @r=`${PWD_COMMAND}`; export r; \
20041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20043 (cd $(HOST_SUBDIR)/libbacktrace && \
20044 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20046 @endif libbacktrace
20048 # Other targets (info, dvi, pdf, etc.)
20050 .PHONY: maybe-info-libbacktrace info-libbacktrace
20051 maybe-info-libbacktrace:
20053 maybe-info-libbacktrace: info-libbacktrace
20055 info-libbacktrace: \
20056 configure-libbacktrace
20057 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20058 r=`${PWD_COMMAND}`; export r; \
20059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20061 for flag in $(EXTRA_HOST_FLAGS) ; do \
20062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20064 echo "Doing info in libbacktrace" ; \
20065 (cd $(HOST_SUBDIR)/libbacktrace && \
20066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20068 "RANLIB=$${RANLIB}" \
20069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20073 @endif libbacktrace
20075 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20076 maybe-dvi-libbacktrace:
20078 maybe-dvi-libbacktrace: dvi-libbacktrace
20080 dvi-libbacktrace: \
20081 configure-libbacktrace
20082 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20083 r=`${PWD_COMMAND}`; export r; \
20084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20086 for flag in $(EXTRA_HOST_FLAGS) ; do \
20087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20089 echo "Doing dvi in libbacktrace" ; \
20090 (cd $(HOST_SUBDIR)/libbacktrace && \
20091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20093 "RANLIB=$${RANLIB}" \
20094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20098 @endif libbacktrace
20100 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20101 maybe-pdf-libbacktrace:
20103 maybe-pdf-libbacktrace: pdf-libbacktrace
20105 pdf-libbacktrace: \
20106 configure-libbacktrace
20107 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20108 r=`${PWD_COMMAND}`; export r; \
20109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 for flag in $(EXTRA_HOST_FLAGS) ; do \
20112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20114 echo "Doing pdf in libbacktrace" ; \
20115 (cd $(HOST_SUBDIR)/libbacktrace && \
20116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20118 "RANLIB=$${RANLIB}" \
20119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20123 @endif libbacktrace
20125 .PHONY: maybe-html-libbacktrace html-libbacktrace
20126 maybe-html-libbacktrace:
20128 maybe-html-libbacktrace: html-libbacktrace
20130 html-libbacktrace: \
20131 configure-libbacktrace
20132 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20133 r=`${PWD_COMMAND}`; export r; \
20134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 for flag in $(EXTRA_HOST_FLAGS) ; do \
20137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20139 echo "Doing html in libbacktrace" ; \
20140 (cd $(HOST_SUBDIR)/libbacktrace && \
20141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20143 "RANLIB=$${RANLIB}" \
20144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20148 @endif libbacktrace
20150 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20151 maybe-TAGS-libbacktrace:
20153 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20155 TAGS-libbacktrace: \
20156 configure-libbacktrace
20157 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20158 r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20161 for flag in $(EXTRA_HOST_FLAGS) ; do \
20162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20164 echo "Doing TAGS in libbacktrace" ; \
20165 (cd $(HOST_SUBDIR)/libbacktrace && \
20166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20168 "RANLIB=$${RANLIB}" \
20169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20173 @endif libbacktrace
20175 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20176 maybe-install-info-libbacktrace:
20178 maybe-install-info-libbacktrace: install-info-libbacktrace
20180 install-info-libbacktrace: \
20181 configure-libbacktrace \
20183 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20184 r=`${PWD_COMMAND}`; export r; \
20185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20187 for flag in $(EXTRA_HOST_FLAGS) ; do \
20188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20190 echo "Doing install-info in libbacktrace" ; \
20191 (cd $(HOST_SUBDIR)/libbacktrace && \
20192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20194 "RANLIB=$${RANLIB}" \
20195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20199 @endif libbacktrace
20201 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20202 maybe-install-pdf-libbacktrace:
20204 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20206 install-pdf-libbacktrace: \
20207 configure-libbacktrace \
20209 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20210 r=`${PWD_COMMAND}`; export r; \
20211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20216 echo "Doing install-pdf in libbacktrace" ; \
20217 (cd $(HOST_SUBDIR)/libbacktrace && \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20225 @endif libbacktrace
20227 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20228 maybe-install-html-libbacktrace:
20230 maybe-install-html-libbacktrace: install-html-libbacktrace
20232 install-html-libbacktrace: \
20233 configure-libbacktrace \
20235 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20236 r=`${PWD_COMMAND}`; export r; \
20237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20239 for flag in $(EXTRA_HOST_FLAGS) ; do \
20240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20242 echo "Doing install-html in libbacktrace" ; \
20243 (cd $(HOST_SUBDIR)/libbacktrace && \
20244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20246 "RANLIB=$${RANLIB}" \
20247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20251 @endif libbacktrace
20253 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20254 maybe-installcheck-libbacktrace:
20256 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20258 installcheck-libbacktrace: \
20259 configure-libbacktrace
20260 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20261 r=`${PWD_COMMAND}`; export r; \
20262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20264 for flag in $(EXTRA_HOST_FLAGS) ; do \
20265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20267 echo "Doing installcheck in libbacktrace" ; \
20268 (cd $(HOST_SUBDIR)/libbacktrace && \
20269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20271 "RANLIB=$${RANLIB}" \
20272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20276 @endif libbacktrace
20278 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20279 maybe-mostlyclean-libbacktrace:
20281 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20283 mostlyclean-libbacktrace:
20284 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20285 r=`${PWD_COMMAND}`; export r; \
20286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20288 for flag in $(EXTRA_HOST_FLAGS) ; do \
20289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20291 echo "Doing mostlyclean in libbacktrace" ; \
20292 (cd $(HOST_SUBDIR)/libbacktrace && \
20293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20295 "RANLIB=$${RANLIB}" \
20296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20300 @endif libbacktrace
20302 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20303 maybe-clean-libbacktrace:
20305 maybe-clean-libbacktrace: clean-libbacktrace
20307 clean-libbacktrace:
20308 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20309 r=`${PWD_COMMAND}`; export r; \
20310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20312 for flag in $(EXTRA_HOST_FLAGS) ; do \
20313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20315 echo "Doing clean in libbacktrace" ; \
20316 (cd $(HOST_SUBDIR)/libbacktrace && \
20317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20319 "RANLIB=$${RANLIB}" \
20320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20324 @endif libbacktrace
20326 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20327 maybe-distclean-libbacktrace:
20329 maybe-distclean-libbacktrace: distclean-libbacktrace
20331 distclean-libbacktrace:
20332 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20333 r=`${PWD_COMMAND}`; export r; \
20334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20336 for flag in $(EXTRA_HOST_FLAGS) ; do \
20337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20339 echo "Doing distclean in libbacktrace" ; \
20340 (cd $(HOST_SUBDIR)/libbacktrace && \
20341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20343 "RANLIB=$${RANLIB}" \
20344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20348 @endif libbacktrace
20350 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20351 maybe-maintainer-clean-libbacktrace:
20353 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20355 maintainer-clean-libbacktrace:
20356 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20357 r=`${PWD_COMMAND}`; export r; \
20358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20360 for flag in $(EXTRA_HOST_FLAGS) ; do \
20361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20363 echo "Doing maintainer-clean in libbacktrace" ; \
20364 (cd $(HOST_SUBDIR)/libbacktrace && \
20365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20367 "RANLIB=$${RANLIB}" \
20368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20369 maintainer-clean) \
20372 @endif libbacktrace
20376 .PHONY: configure-libcpp maybe-configure-libcpp
20377 maybe-configure-libcpp:
20379 configure-libcpp: stage_current
20380 @endif gcc-bootstrap
20382 maybe-configure-libcpp: configure-libcpp
20384 @r=`${PWD_COMMAND}`; export r; \
20385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20386 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20389 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20390 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20391 case $(srcdir) in \
20392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20393 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20396 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20397 libsrcdir="$$s/libcpp"; \
20398 $(SHELL) $${libsrcdir}/configure \
20399 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20400 --target=${target_alias} $${srcdiroption} \
20406 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20407 maybe-configure-stage1-libcpp:
20408 @if libcpp-bootstrap
20409 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20410 configure-stage1-libcpp:
20411 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20412 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20413 @r=`${PWD_COMMAND}`; export r; \
20414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20415 TFLAGS="$(STAGE1_TFLAGS)"; \
20416 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20418 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20419 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20420 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20421 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20423 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20424 case $(srcdir) in \
20425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20426 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20429 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20430 libsrcdir="$$s/libcpp"; \
20431 $(SHELL) $${libsrcdir}/configure \
20432 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20433 --target=${target_alias} $${srcdiroption} \
20434 $(STAGE1_CONFIGURE_FLAGS)
20435 @endif libcpp-bootstrap
20437 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20438 maybe-configure-stage2-libcpp:
20439 @if libcpp-bootstrap
20440 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20441 configure-stage2-libcpp:
20442 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20443 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20444 @r=`${PWD_COMMAND}`; export r; \
20445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20446 TFLAGS="$(STAGE2_TFLAGS)"; \
20447 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20449 $(POSTSTAGE1_HOST_EXPORTS) \
20450 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20451 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20452 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20453 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20454 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20455 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20456 case $(srcdir) in \
20457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20458 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20461 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20462 libsrcdir="$$s/libcpp"; \
20463 $(SHELL) $${libsrcdir}/configure \
20464 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20465 --target=${target_alias} $${srcdiroption} \
20466 --with-build-libsubdir=$(HOST_SUBDIR) \
20467 $(STAGE2_CONFIGURE_FLAGS)
20468 @endif libcpp-bootstrap
20470 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20471 maybe-configure-stage3-libcpp:
20472 @if libcpp-bootstrap
20473 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20474 configure-stage3-libcpp:
20475 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20476 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20477 @r=`${PWD_COMMAND}`; export r; \
20478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20479 TFLAGS="$(STAGE3_TFLAGS)"; \
20480 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20482 $(POSTSTAGE1_HOST_EXPORTS) \
20483 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20484 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20485 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20486 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20488 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20489 case $(srcdir) in \
20490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20491 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20494 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20495 libsrcdir="$$s/libcpp"; \
20496 $(SHELL) $${libsrcdir}/configure \
20497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20498 --target=${target_alias} $${srcdiroption} \
20499 --with-build-libsubdir=$(HOST_SUBDIR) \
20500 $(STAGE3_CONFIGURE_FLAGS)
20501 @endif libcpp-bootstrap
20503 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20504 maybe-configure-stage4-libcpp:
20505 @if libcpp-bootstrap
20506 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20507 configure-stage4-libcpp:
20508 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20510 @r=`${PWD_COMMAND}`; export r; \
20511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20512 TFLAGS="$(STAGE4_TFLAGS)"; \
20513 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20515 $(POSTSTAGE1_HOST_EXPORTS) \
20516 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20517 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20518 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20519 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20521 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20522 case $(srcdir) in \
20523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20524 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20527 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20528 libsrcdir="$$s/libcpp"; \
20529 $(SHELL) $${libsrcdir}/configure \
20530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20531 --target=${target_alias} $${srcdiroption} \
20532 --with-build-libsubdir=$(HOST_SUBDIR) \
20533 $(STAGE4_CONFIGURE_FLAGS)
20534 @endif libcpp-bootstrap
20536 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20537 maybe-configure-stageprofile-libcpp:
20538 @if libcpp-bootstrap
20539 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20540 configure-stageprofile-libcpp:
20541 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20542 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20543 @r=`${PWD_COMMAND}`; export r; \
20544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20545 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20546 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20548 $(POSTSTAGE1_HOST_EXPORTS) \
20549 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20550 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20551 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20552 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20554 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20555 case $(srcdir) in \
20556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20557 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20560 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20561 libsrcdir="$$s/libcpp"; \
20562 $(SHELL) $${libsrcdir}/configure \
20563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20564 --target=${target_alias} $${srcdiroption} \
20565 --with-build-libsubdir=$(HOST_SUBDIR) \
20566 $(STAGEprofile_CONFIGURE_FLAGS)
20567 @endif libcpp-bootstrap
20569 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20570 maybe-configure-stagefeedback-libcpp:
20571 @if libcpp-bootstrap
20572 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20573 configure-stagefeedback-libcpp:
20574 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20576 @r=`${PWD_COMMAND}`; export r; \
20577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20578 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20579 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20581 $(POSTSTAGE1_HOST_EXPORTS) \
20582 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20583 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20584 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20585 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20587 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20588 case $(srcdir) in \
20589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20590 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20593 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20594 libsrcdir="$$s/libcpp"; \
20595 $(SHELL) $${libsrcdir}/configure \
20596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20597 --target=${target_alias} $${srcdiroption} \
20598 --with-build-libsubdir=$(HOST_SUBDIR) \
20599 $(STAGEfeedback_CONFIGURE_FLAGS)
20600 @endif libcpp-bootstrap
20606 .PHONY: all-libcpp maybe-all-libcpp
20609 all-libcpp: stage_current
20610 @endif gcc-bootstrap
20613 maybe-all-libcpp: all-libcpp
20614 all-libcpp: configure-libcpp
20615 @r=`${PWD_COMMAND}`; export r; \
20616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20618 (cd $(HOST_SUBDIR)/libcpp && \
20619 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20625 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20626 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20627 maybe-all-stage1-libcpp:
20628 maybe-clean-stage1-libcpp:
20629 @if libcpp-bootstrap
20630 maybe-all-stage1-libcpp: all-stage1-libcpp
20631 all-stage1: all-stage1-libcpp
20632 TARGET-stage1-libcpp = $(TARGET-libcpp)
20633 all-stage1-libcpp: configure-stage1-libcpp
20634 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20635 @r=`${PWD_COMMAND}`; export r; \
20636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20637 TFLAGS="$(STAGE1_TFLAGS)"; \
20639 cd $(HOST_SUBDIR)/libcpp && \
20640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20641 CFLAGS="$(STAGE1_CFLAGS)" \
20642 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20643 LIBCFLAGS="$(LIBCFLAGS)" \
20644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20647 $(EXTRA_HOST_FLAGS) \
20648 $(STAGE1_FLAGS_TO_PASS) \
20649 TFLAGS="$(STAGE1_TFLAGS)" \
20650 $(TARGET-stage1-libcpp)
20652 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20653 clean-stage1: clean-stage1-libcpp
20654 clean-stage1-libcpp:
20655 @if [ $(current_stage) = stage1 ]; then \
20656 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20658 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20659 $(MAKE) stage1-start; \
20661 cd $(HOST_SUBDIR)/libcpp && \
20662 $(MAKE) $(EXTRA_HOST_FLAGS) \
20663 $(STAGE1_FLAGS_TO_PASS) clean
20664 @endif libcpp-bootstrap
20667 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20668 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20669 maybe-all-stage2-libcpp:
20670 maybe-clean-stage2-libcpp:
20671 @if libcpp-bootstrap
20672 maybe-all-stage2-libcpp: all-stage2-libcpp
20673 all-stage2: all-stage2-libcpp
20674 TARGET-stage2-libcpp = $(TARGET-libcpp)
20675 all-stage2-libcpp: configure-stage2-libcpp
20676 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20677 @r=`${PWD_COMMAND}`; export r; \
20678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20679 TFLAGS="$(STAGE2_TFLAGS)"; \
20681 $(POSTSTAGE1_HOST_EXPORTS) \
20682 cd $(HOST_SUBDIR)/libcpp && \
20683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20684 CFLAGS="$(STAGE2_CFLAGS)" \
20685 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20686 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20687 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20688 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20689 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20690 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20691 TFLAGS="$(STAGE2_TFLAGS)" \
20692 $(TARGET-stage2-libcpp)
20694 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20695 clean-stage2: clean-stage2-libcpp
20696 clean-stage2-libcpp:
20697 @if [ $(current_stage) = stage2 ]; then \
20698 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20700 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20701 $(MAKE) stage2-start; \
20703 cd $(HOST_SUBDIR)/libcpp && \
20704 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20705 @endif libcpp-bootstrap
20708 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20709 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20710 maybe-all-stage3-libcpp:
20711 maybe-clean-stage3-libcpp:
20712 @if libcpp-bootstrap
20713 maybe-all-stage3-libcpp: all-stage3-libcpp
20714 all-stage3: all-stage3-libcpp
20715 TARGET-stage3-libcpp = $(TARGET-libcpp)
20716 all-stage3-libcpp: configure-stage3-libcpp
20717 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20718 @r=`${PWD_COMMAND}`; export r; \
20719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20720 TFLAGS="$(STAGE3_TFLAGS)"; \
20722 $(POSTSTAGE1_HOST_EXPORTS) \
20723 cd $(HOST_SUBDIR)/libcpp && \
20724 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20725 CFLAGS="$(STAGE3_CFLAGS)" \
20726 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20727 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20728 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20729 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20730 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20731 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20732 TFLAGS="$(STAGE3_TFLAGS)" \
20733 $(TARGET-stage3-libcpp)
20735 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20736 clean-stage3: clean-stage3-libcpp
20737 clean-stage3-libcpp:
20738 @if [ $(current_stage) = stage3 ]; then \
20739 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20741 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20742 $(MAKE) stage3-start; \
20744 cd $(HOST_SUBDIR)/libcpp && \
20745 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20746 @endif libcpp-bootstrap
20749 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20750 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20751 maybe-all-stage4-libcpp:
20752 maybe-clean-stage4-libcpp:
20753 @if libcpp-bootstrap
20754 maybe-all-stage4-libcpp: all-stage4-libcpp
20755 all-stage4: all-stage4-libcpp
20756 TARGET-stage4-libcpp = $(TARGET-libcpp)
20757 all-stage4-libcpp: configure-stage4-libcpp
20758 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20759 @r=`${PWD_COMMAND}`; export r; \
20760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20761 TFLAGS="$(STAGE4_TFLAGS)"; \
20763 $(POSTSTAGE1_HOST_EXPORTS) \
20764 cd $(HOST_SUBDIR)/libcpp && \
20765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20766 CFLAGS="$(STAGE4_CFLAGS)" \
20767 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20768 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20769 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20770 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20771 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20772 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20773 TFLAGS="$(STAGE4_TFLAGS)" \
20774 $(TARGET-stage4-libcpp)
20776 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20777 clean-stage4: clean-stage4-libcpp
20778 clean-stage4-libcpp:
20779 @if [ $(current_stage) = stage4 ]; then \
20780 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20782 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20783 $(MAKE) stage4-start; \
20785 cd $(HOST_SUBDIR)/libcpp && \
20786 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20787 @endif libcpp-bootstrap
20790 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20791 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20792 maybe-all-stageprofile-libcpp:
20793 maybe-clean-stageprofile-libcpp:
20794 @if libcpp-bootstrap
20795 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20796 all-stageprofile: all-stageprofile-libcpp
20797 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20798 all-stageprofile-libcpp: configure-stageprofile-libcpp
20799 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20800 @r=`${PWD_COMMAND}`; export r; \
20801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20802 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20804 $(POSTSTAGE1_HOST_EXPORTS) \
20805 cd $(HOST_SUBDIR)/libcpp && \
20806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20807 CFLAGS="$(STAGEprofile_CFLAGS)" \
20808 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20809 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20810 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20811 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20812 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20813 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20814 TFLAGS="$(STAGEprofile_TFLAGS)" \
20815 $(TARGET-stageprofile-libcpp)
20817 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20818 clean-stageprofile: clean-stageprofile-libcpp
20819 clean-stageprofile-libcpp:
20820 @if [ $(current_stage) = stageprofile ]; then \
20821 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20823 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20824 $(MAKE) stageprofile-start; \
20826 cd $(HOST_SUBDIR)/libcpp && \
20827 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20828 @endif libcpp-bootstrap
20831 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20832 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20833 maybe-all-stagefeedback-libcpp:
20834 maybe-clean-stagefeedback-libcpp:
20835 @if libcpp-bootstrap
20836 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20837 all-stagefeedback: all-stagefeedback-libcpp
20838 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20839 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20840 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20841 @r=`${PWD_COMMAND}`; export r; \
20842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20843 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20845 $(POSTSTAGE1_HOST_EXPORTS) \
20846 cd $(HOST_SUBDIR)/libcpp && \
20847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20848 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20849 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20850 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20854 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20855 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20856 $(TARGET-stagefeedback-libcpp)
20858 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20859 clean-stagefeedback: clean-stagefeedback-libcpp
20860 clean-stagefeedback-libcpp:
20861 @if [ $(current_stage) = stagefeedback ]; then \
20862 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20864 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20865 $(MAKE) stagefeedback-start; \
20867 cd $(HOST_SUBDIR)/libcpp && \
20868 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20869 @endif libcpp-bootstrap
20875 .PHONY: check-libcpp maybe-check-libcpp
20876 maybe-check-libcpp:
20878 maybe-check-libcpp: check-libcpp
20881 @: $(MAKE); $(unstage)
20882 @r=`${PWD_COMMAND}`; export r; \
20883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20885 (cd $(HOST_SUBDIR)/libcpp && \
20886 $(MAKE) $(FLAGS_TO_PASS) check)
20890 .PHONY: install-libcpp maybe-install-libcpp
20891 maybe-install-libcpp:
20893 maybe-install-libcpp: install-libcpp
20895 install-libcpp: installdirs
20896 @: $(MAKE); $(unstage)
20897 @r=`${PWD_COMMAND}`; export r; \
20898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20900 (cd $(HOST_SUBDIR)/libcpp && \
20901 $(MAKE) $(FLAGS_TO_PASS) install)
20905 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20906 maybe-install-strip-libcpp:
20908 maybe-install-strip-libcpp: install-strip-libcpp
20910 install-strip-libcpp: installdirs
20911 @: $(MAKE); $(unstage)
20912 @r=`${PWD_COMMAND}`; export r; \
20913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20915 (cd $(HOST_SUBDIR)/libcpp && \
20916 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20920 # Other targets (info, dvi, pdf, etc.)
20922 .PHONY: maybe-info-libcpp info-libcpp
20925 maybe-info-libcpp: info-libcpp
20929 @[ -f ./libcpp/Makefile ] || exit 0; \
20930 r=`${PWD_COMMAND}`; export r; \
20931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20933 for flag in $(EXTRA_HOST_FLAGS) ; do \
20934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20936 echo "Doing info in libcpp" ; \
20937 (cd $(HOST_SUBDIR)/libcpp && \
20938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20940 "RANLIB=$${RANLIB}" \
20941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20947 .PHONY: maybe-dvi-libcpp dvi-libcpp
20950 maybe-dvi-libcpp: dvi-libcpp
20954 @[ -f ./libcpp/Makefile ] || exit 0; \
20955 r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 for flag in $(EXTRA_HOST_FLAGS) ; do \
20959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20961 echo "Doing dvi in libcpp" ; \
20962 (cd $(HOST_SUBDIR)/libcpp && \
20963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965 "RANLIB=$${RANLIB}" \
20966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20972 .PHONY: maybe-pdf-libcpp pdf-libcpp
20975 maybe-pdf-libcpp: pdf-libcpp
20979 @[ -f ./libcpp/Makefile ] || exit 0; \
20980 r=`${PWD_COMMAND}`; export r; \
20981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20983 for flag in $(EXTRA_HOST_FLAGS) ; do \
20984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20986 echo "Doing pdf in libcpp" ; \
20987 (cd $(HOST_SUBDIR)/libcpp && \
20988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20990 "RANLIB=$${RANLIB}" \
20991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20997 .PHONY: maybe-html-libcpp html-libcpp
21000 maybe-html-libcpp: html-libcpp
21004 @[ -f ./libcpp/Makefile ] || exit 0; \
21005 r=`${PWD_COMMAND}`; export r; \
21006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21008 for flag in $(EXTRA_HOST_FLAGS) ; do \
21009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21011 echo "Doing html in libcpp" ; \
21012 (cd $(HOST_SUBDIR)/libcpp && \
21013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21015 "RANLIB=$${RANLIB}" \
21016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21022 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21025 maybe-TAGS-libcpp: TAGS-libcpp
21029 @[ -f ./libcpp/Makefile ] || exit 0; \
21030 r=`${PWD_COMMAND}`; export r; \
21031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21033 for flag in $(EXTRA_HOST_FLAGS) ; do \
21034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21036 echo "Doing TAGS in libcpp" ; \
21037 (cd $(HOST_SUBDIR)/libcpp && \
21038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21040 "RANLIB=$${RANLIB}" \
21041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21047 .PHONY: maybe-install-info-libcpp install-info-libcpp
21048 maybe-install-info-libcpp:
21050 maybe-install-info-libcpp: install-info-libcpp
21052 install-info-libcpp: \
21055 @[ -f ./libcpp/Makefile ] || exit 0; \
21056 r=`${PWD_COMMAND}`; export r; \
21057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21059 for flag in $(EXTRA_HOST_FLAGS) ; do \
21060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21062 echo "Doing install-info in libcpp" ; \
21063 (cd $(HOST_SUBDIR)/libcpp && \
21064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21066 "RANLIB=$${RANLIB}" \
21067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21073 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21074 maybe-install-pdf-libcpp:
21076 maybe-install-pdf-libcpp: install-pdf-libcpp
21078 install-pdf-libcpp: \
21081 @[ -f ./libcpp/Makefile ] || exit 0; \
21082 r=`${PWD_COMMAND}`; export r; \
21083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21085 for flag in $(EXTRA_HOST_FLAGS) ; do \
21086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21088 echo "Doing install-pdf in libcpp" ; \
21089 (cd $(HOST_SUBDIR)/libcpp && \
21090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21092 "RANLIB=$${RANLIB}" \
21093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21099 .PHONY: maybe-install-html-libcpp install-html-libcpp
21100 maybe-install-html-libcpp:
21102 maybe-install-html-libcpp: install-html-libcpp
21104 install-html-libcpp: \
21107 @[ -f ./libcpp/Makefile ] || exit 0; \
21108 r=`${PWD_COMMAND}`; export r; \
21109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21111 for flag in $(EXTRA_HOST_FLAGS) ; do \
21112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21114 echo "Doing install-html in libcpp" ; \
21115 (cd $(HOST_SUBDIR)/libcpp && \
21116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21118 "RANLIB=$${RANLIB}" \
21119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21125 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21126 maybe-installcheck-libcpp:
21128 maybe-installcheck-libcpp: installcheck-libcpp
21130 installcheck-libcpp: \
21132 @[ -f ./libcpp/Makefile ] || exit 0; \
21133 r=`${PWD_COMMAND}`; export r; \
21134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21136 for flag in $(EXTRA_HOST_FLAGS) ; do \
21137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21139 echo "Doing installcheck in libcpp" ; \
21140 (cd $(HOST_SUBDIR)/libcpp && \
21141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21143 "RANLIB=$${RANLIB}" \
21144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21150 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21151 maybe-mostlyclean-libcpp:
21153 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21155 mostlyclean-libcpp:
21156 @[ -f ./libcpp/Makefile ] || exit 0; \
21157 r=`${PWD_COMMAND}`; export r; \
21158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21160 for flag in $(EXTRA_HOST_FLAGS) ; do \
21161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21163 echo "Doing mostlyclean in libcpp" ; \
21164 (cd $(HOST_SUBDIR)/libcpp && \
21165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21167 "RANLIB=$${RANLIB}" \
21168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21174 .PHONY: maybe-clean-libcpp clean-libcpp
21175 maybe-clean-libcpp:
21177 maybe-clean-libcpp: clean-libcpp
21180 @[ -f ./libcpp/Makefile ] || exit 0; \
21181 r=`${PWD_COMMAND}`; export r; \
21182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21184 for flag in $(EXTRA_HOST_FLAGS) ; do \
21185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21187 echo "Doing clean in libcpp" ; \
21188 (cd $(HOST_SUBDIR)/libcpp && \
21189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21191 "RANLIB=$${RANLIB}" \
21192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21198 .PHONY: maybe-distclean-libcpp distclean-libcpp
21199 maybe-distclean-libcpp:
21201 maybe-distclean-libcpp: distclean-libcpp
21204 @[ -f ./libcpp/Makefile ] || exit 0; \
21205 r=`${PWD_COMMAND}`; export r; \
21206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21208 for flag in $(EXTRA_HOST_FLAGS) ; do \
21209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21211 echo "Doing distclean in libcpp" ; \
21212 (cd $(HOST_SUBDIR)/libcpp && \
21213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21215 "RANLIB=$${RANLIB}" \
21216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21222 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21223 maybe-maintainer-clean-libcpp:
21225 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21227 maintainer-clean-libcpp:
21228 @[ -f ./libcpp/Makefile ] || exit 0; \
21229 r=`${PWD_COMMAND}`; export r; \
21230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21232 for flag in $(EXTRA_HOST_FLAGS) ; do \
21233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21235 echo "Doing maintainer-clean in libcpp" ; \
21236 (cd $(HOST_SUBDIR)/libcpp && \
21237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21239 "RANLIB=$${RANLIB}" \
21240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21241 maintainer-clean) \
21248 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21249 maybe-configure-libdecnumber:
21251 configure-libdecnumber: stage_current
21252 @endif gcc-bootstrap
21254 maybe-configure-libdecnumber: configure-libdecnumber
21255 configure-libdecnumber:
21256 @r=`${PWD_COMMAND}`; export r; \
21257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21258 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21261 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21262 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21263 case $(srcdir) in \
21264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21265 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21268 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21269 libsrcdir="$$s/libdecnumber"; \
21270 $(SHELL) $${libsrcdir}/configure \
21271 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21272 --target=${target_alias} $${srcdiroption} \
21274 @endif libdecnumber
21278 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21279 maybe-configure-stage1-libdecnumber:
21280 @if libdecnumber-bootstrap
21281 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21282 configure-stage1-libdecnumber:
21283 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21284 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21285 @r=`${PWD_COMMAND}`; export r; \
21286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21287 TFLAGS="$(STAGE1_TFLAGS)"; \
21288 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21290 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21291 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21292 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21293 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21295 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21296 case $(srcdir) in \
21297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21298 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21301 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21302 libsrcdir="$$s/libdecnumber"; \
21303 $(SHELL) $${libsrcdir}/configure \
21304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21305 --target=${target_alias} $${srcdiroption} \
21306 $(STAGE1_CONFIGURE_FLAGS)
21307 @endif libdecnumber-bootstrap
21309 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21310 maybe-configure-stage2-libdecnumber:
21311 @if libdecnumber-bootstrap
21312 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21313 configure-stage2-libdecnumber:
21314 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21316 @r=`${PWD_COMMAND}`; export r; \
21317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21318 TFLAGS="$(STAGE2_TFLAGS)"; \
21319 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21321 $(POSTSTAGE1_HOST_EXPORTS) \
21322 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21323 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21324 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21325 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21327 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21328 case $(srcdir) in \
21329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21330 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21333 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21334 libsrcdir="$$s/libdecnumber"; \
21335 $(SHELL) $${libsrcdir}/configure \
21336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21337 --target=${target_alias} $${srcdiroption} \
21338 --with-build-libsubdir=$(HOST_SUBDIR) \
21339 $(STAGE2_CONFIGURE_FLAGS)
21340 @endif libdecnumber-bootstrap
21342 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21343 maybe-configure-stage3-libdecnumber:
21344 @if libdecnumber-bootstrap
21345 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21346 configure-stage3-libdecnumber:
21347 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21349 @r=`${PWD_COMMAND}`; export r; \
21350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21351 TFLAGS="$(STAGE3_TFLAGS)"; \
21352 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21354 $(POSTSTAGE1_HOST_EXPORTS) \
21355 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21356 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21357 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21358 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21360 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21361 case $(srcdir) in \
21362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21363 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21366 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21367 libsrcdir="$$s/libdecnumber"; \
21368 $(SHELL) $${libsrcdir}/configure \
21369 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21370 --target=${target_alias} $${srcdiroption} \
21371 --with-build-libsubdir=$(HOST_SUBDIR) \
21372 $(STAGE3_CONFIGURE_FLAGS)
21373 @endif libdecnumber-bootstrap
21375 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21376 maybe-configure-stage4-libdecnumber:
21377 @if libdecnumber-bootstrap
21378 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21379 configure-stage4-libdecnumber:
21380 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21382 @r=`${PWD_COMMAND}`; export r; \
21383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21384 TFLAGS="$(STAGE4_TFLAGS)"; \
21385 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21387 $(POSTSTAGE1_HOST_EXPORTS) \
21388 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21389 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21390 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21391 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21393 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21394 case $(srcdir) in \
21395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21396 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21399 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21400 libsrcdir="$$s/libdecnumber"; \
21401 $(SHELL) $${libsrcdir}/configure \
21402 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21403 --target=${target_alias} $${srcdiroption} \
21404 --with-build-libsubdir=$(HOST_SUBDIR) \
21405 $(STAGE4_CONFIGURE_FLAGS)
21406 @endif libdecnumber-bootstrap
21408 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21409 maybe-configure-stageprofile-libdecnumber:
21410 @if libdecnumber-bootstrap
21411 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21412 configure-stageprofile-libdecnumber:
21413 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21414 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21415 @r=`${PWD_COMMAND}`; export r; \
21416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21417 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21418 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21420 $(POSTSTAGE1_HOST_EXPORTS) \
21421 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21422 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21423 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21424 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21426 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21427 case $(srcdir) in \
21428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21429 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21432 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21433 libsrcdir="$$s/libdecnumber"; \
21434 $(SHELL) $${libsrcdir}/configure \
21435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21436 --target=${target_alias} $${srcdiroption} \
21437 --with-build-libsubdir=$(HOST_SUBDIR) \
21438 $(STAGEprofile_CONFIGURE_FLAGS)
21439 @endif libdecnumber-bootstrap
21441 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21442 maybe-configure-stagefeedback-libdecnumber:
21443 @if libdecnumber-bootstrap
21444 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21445 configure-stagefeedback-libdecnumber:
21446 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21447 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21448 @r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21451 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21453 $(POSTSTAGE1_HOST_EXPORTS) \
21454 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21455 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21456 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21457 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21459 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21460 case $(srcdir) in \
21461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21462 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21465 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21466 libsrcdir="$$s/libdecnumber"; \
21467 $(SHELL) $${libsrcdir}/configure \
21468 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21469 --target=${target_alias} $${srcdiroption} \
21470 --with-build-libsubdir=$(HOST_SUBDIR) \
21471 $(STAGEfeedback_CONFIGURE_FLAGS)
21472 @endif libdecnumber-bootstrap
21478 .PHONY: all-libdecnumber maybe-all-libdecnumber
21479 maybe-all-libdecnumber:
21481 all-libdecnumber: stage_current
21482 @endif gcc-bootstrap
21484 TARGET-libdecnumber=all
21485 maybe-all-libdecnumber: all-libdecnumber
21486 all-libdecnumber: configure-libdecnumber
21487 @r=`${PWD_COMMAND}`; export r; \
21488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21490 (cd $(HOST_SUBDIR)/libdecnumber && \
21491 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21492 $(TARGET-libdecnumber))
21493 @endif libdecnumber
21497 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21498 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21499 maybe-all-stage1-libdecnumber:
21500 maybe-clean-stage1-libdecnumber:
21501 @if libdecnumber-bootstrap
21502 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21503 all-stage1: all-stage1-libdecnumber
21504 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21505 all-stage1-libdecnumber: configure-stage1-libdecnumber
21506 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21507 @r=`${PWD_COMMAND}`; export r; \
21508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21509 TFLAGS="$(STAGE1_TFLAGS)"; \
21511 cd $(HOST_SUBDIR)/libdecnumber && \
21512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21513 CFLAGS="$(STAGE1_CFLAGS)" \
21514 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21515 LIBCFLAGS="$(LIBCFLAGS)" \
21516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21519 $(EXTRA_HOST_FLAGS) \
21520 $(STAGE1_FLAGS_TO_PASS) \
21521 TFLAGS="$(STAGE1_TFLAGS)" \
21522 $(TARGET-stage1-libdecnumber)
21524 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21525 clean-stage1: clean-stage1-libdecnumber
21526 clean-stage1-libdecnumber:
21527 @if [ $(current_stage) = stage1 ]; then \
21528 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21530 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21531 $(MAKE) stage1-start; \
21533 cd $(HOST_SUBDIR)/libdecnumber && \
21534 $(MAKE) $(EXTRA_HOST_FLAGS) \
21535 $(STAGE1_FLAGS_TO_PASS) clean
21536 @endif libdecnumber-bootstrap
21539 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21540 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21541 maybe-all-stage2-libdecnumber:
21542 maybe-clean-stage2-libdecnumber:
21543 @if libdecnumber-bootstrap
21544 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21545 all-stage2: all-stage2-libdecnumber
21546 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21547 all-stage2-libdecnumber: configure-stage2-libdecnumber
21548 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21549 @r=`${PWD_COMMAND}`; export r; \
21550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21551 TFLAGS="$(STAGE2_TFLAGS)"; \
21553 $(POSTSTAGE1_HOST_EXPORTS) \
21554 cd $(HOST_SUBDIR)/libdecnumber && \
21555 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21556 CFLAGS="$(STAGE2_CFLAGS)" \
21557 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21558 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21559 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21560 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21561 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21562 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21563 TFLAGS="$(STAGE2_TFLAGS)" \
21564 $(TARGET-stage2-libdecnumber)
21566 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21567 clean-stage2: clean-stage2-libdecnumber
21568 clean-stage2-libdecnumber:
21569 @if [ $(current_stage) = stage2 ]; then \
21570 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21572 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21573 $(MAKE) stage2-start; \
21575 cd $(HOST_SUBDIR)/libdecnumber && \
21576 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21577 @endif libdecnumber-bootstrap
21580 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21581 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21582 maybe-all-stage3-libdecnumber:
21583 maybe-clean-stage3-libdecnumber:
21584 @if libdecnumber-bootstrap
21585 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21586 all-stage3: all-stage3-libdecnumber
21587 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21588 all-stage3-libdecnumber: configure-stage3-libdecnumber
21589 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21590 @r=`${PWD_COMMAND}`; export r; \
21591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21592 TFLAGS="$(STAGE3_TFLAGS)"; \
21594 $(POSTSTAGE1_HOST_EXPORTS) \
21595 cd $(HOST_SUBDIR)/libdecnumber && \
21596 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21597 CFLAGS="$(STAGE3_CFLAGS)" \
21598 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21599 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21603 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21604 TFLAGS="$(STAGE3_TFLAGS)" \
21605 $(TARGET-stage3-libdecnumber)
21607 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21608 clean-stage3: clean-stage3-libdecnumber
21609 clean-stage3-libdecnumber:
21610 @if [ $(current_stage) = stage3 ]; then \
21611 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21613 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21614 $(MAKE) stage3-start; \
21616 cd $(HOST_SUBDIR)/libdecnumber && \
21617 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21618 @endif libdecnumber-bootstrap
21621 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21622 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21623 maybe-all-stage4-libdecnumber:
21624 maybe-clean-stage4-libdecnumber:
21625 @if libdecnumber-bootstrap
21626 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21627 all-stage4: all-stage4-libdecnumber
21628 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21629 all-stage4-libdecnumber: configure-stage4-libdecnumber
21630 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21631 @r=`${PWD_COMMAND}`; export r; \
21632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21633 TFLAGS="$(STAGE4_TFLAGS)"; \
21635 $(POSTSTAGE1_HOST_EXPORTS) \
21636 cd $(HOST_SUBDIR)/libdecnumber && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21638 CFLAGS="$(STAGE4_CFLAGS)" \
21639 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21640 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21644 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21645 TFLAGS="$(STAGE4_TFLAGS)" \
21646 $(TARGET-stage4-libdecnumber)
21648 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21649 clean-stage4: clean-stage4-libdecnumber
21650 clean-stage4-libdecnumber:
21651 @if [ $(current_stage) = stage4 ]; then \
21652 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21654 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21655 $(MAKE) stage4-start; \
21657 cd $(HOST_SUBDIR)/libdecnumber && \
21658 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21659 @endif libdecnumber-bootstrap
21662 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21663 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21664 maybe-all-stageprofile-libdecnumber:
21665 maybe-clean-stageprofile-libdecnumber:
21666 @if libdecnumber-bootstrap
21667 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21668 all-stageprofile: all-stageprofile-libdecnumber
21669 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21670 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21671 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21672 @r=`${PWD_COMMAND}`; export r; \
21673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21674 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21676 $(POSTSTAGE1_HOST_EXPORTS) \
21677 cd $(HOST_SUBDIR)/libdecnumber && \
21678 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21679 CFLAGS="$(STAGEprofile_CFLAGS)" \
21680 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21681 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21685 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21686 TFLAGS="$(STAGEprofile_TFLAGS)" \
21687 $(TARGET-stageprofile-libdecnumber)
21689 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21690 clean-stageprofile: clean-stageprofile-libdecnumber
21691 clean-stageprofile-libdecnumber:
21692 @if [ $(current_stage) = stageprofile ]; then \
21693 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21695 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21696 $(MAKE) stageprofile-start; \
21698 cd $(HOST_SUBDIR)/libdecnumber && \
21699 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21700 @endif libdecnumber-bootstrap
21703 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21704 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21705 maybe-all-stagefeedback-libdecnumber:
21706 maybe-clean-stagefeedback-libdecnumber:
21707 @if libdecnumber-bootstrap
21708 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21709 all-stagefeedback: all-stagefeedback-libdecnumber
21710 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21711 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21712 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21713 @r=`${PWD_COMMAND}`; export r; \
21714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21715 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21717 $(POSTSTAGE1_HOST_EXPORTS) \
21718 cd $(HOST_SUBDIR)/libdecnumber && \
21719 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21720 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21721 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21722 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21723 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21724 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21725 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21726 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21727 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21728 $(TARGET-stagefeedback-libdecnumber)
21730 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21731 clean-stagefeedback: clean-stagefeedback-libdecnumber
21732 clean-stagefeedback-libdecnumber:
21733 @if [ $(current_stage) = stagefeedback ]; then \
21734 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21736 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21737 $(MAKE) stagefeedback-start; \
21739 cd $(HOST_SUBDIR)/libdecnumber && \
21740 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21741 @endif libdecnumber-bootstrap
21747 .PHONY: check-libdecnumber maybe-check-libdecnumber
21748 maybe-check-libdecnumber:
21750 maybe-check-libdecnumber: check-libdecnumber
21752 check-libdecnumber:
21753 @: $(MAKE); $(unstage)
21754 @r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21757 (cd $(HOST_SUBDIR)/libdecnumber && \
21758 $(MAKE) $(FLAGS_TO_PASS) check)
21760 @endif libdecnumber
21762 .PHONY: install-libdecnumber maybe-install-libdecnumber
21763 maybe-install-libdecnumber:
21765 maybe-install-libdecnumber: install-libdecnumber
21767 install-libdecnumber: installdirs
21768 @: $(MAKE); $(unstage)
21769 @r=`${PWD_COMMAND}`; export r; \
21770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21772 (cd $(HOST_SUBDIR)/libdecnumber && \
21773 $(MAKE) $(FLAGS_TO_PASS) install)
21775 @endif libdecnumber
21777 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21778 maybe-install-strip-libdecnumber:
21780 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21782 install-strip-libdecnumber: installdirs
21783 @: $(MAKE); $(unstage)
21784 @r=`${PWD_COMMAND}`; export r; \
21785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21787 (cd $(HOST_SUBDIR)/libdecnumber && \
21788 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21790 @endif libdecnumber
21792 # Other targets (info, dvi, pdf, etc.)
21794 .PHONY: maybe-info-libdecnumber info-libdecnumber
21795 maybe-info-libdecnumber:
21797 maybe-info-libdecnumber: info-libdecnumber
21799 info-libdecnumber: \
21800 configure-libdecnumber
21801 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21802 r=`${PWD_COMMAND}`; export r; \
21803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21805 for flag in $(EXTRA_HOST_FLAGS) ; do \
21806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21808 echo "Doing info in libdecnumber" ; \
21809 (cd $(HOST_SUBDIR)/libdecnumber && \
21810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21812 "RANLIB=$${RANLIB}" \
21813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21817 @endif libdecnumber
21819 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21820 maybe-dvi-libdecnumber:
21822 maybe-dvi-libdecnumber: dvi-libdecnumber
21824 dvi-libdecnumber: \
21825 configure-libdecnumber
21826 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21827 r=`${PWD_COMMAND}`; export r; \
21828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21830 for flag in $(EXTRA_HOST_FLAGS) ; do \
21831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21833 echo "Doing dvi in libdecnumber" ; \
21834 (cd $(HOST_SUBDIR)/libdecnumber && \
21835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21837 "RANLIB=$${RANLIB}" \
21838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21842 @endif libdecnumber
21844 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21845 maybe-pdf-libdecnumber:
21847 maybe-pdf-libdecnumber: pdf-libdecnumber
21849 pdf-libdecnumber: \
21850 configure-libdecnumber
21851 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21852 r=`${PWD_COMMAND}`; export r; \
21853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 for flag in $(EXTRA_HOST_FLAGS) ; do \
21856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21858 echo "Doing pdf in libdecnumber" ; \
21859 (cd $(HOST_SUBDIR)/libdecnumber && \
21860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21862 "RANLIB=$${RANLIB}" \
21863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21867 @endif libdecnumber
21869 .PHONY: maybe-html-libdecnumber html-libdecnumber
21870 maybe-html-libdecnumber:
21872 maybe-html-libdecnumber: html-libdecnumber
21874 html-libdecnumber: \
21875 configure-libdecnumber
21876 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21877 r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21880 for flag in $(EXTRA_HOST_FLAGS) ; do \
21881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21883 echo "Doing html in libdecnumber" ; \
21884 (cd $(HOST_SUBDIR)/libdecnumber && \
21885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21887 "RANLIB=$${RANLIB}" \
21888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21892 @endif libdecnumber
21894 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21895 maybe-TAGS-libdecnumber:
21897 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21899 TAGS-libdecnumber: \
21900 configure-libdecnumber
21901 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21902 r=`${PWD_COMMAND}`; export r; \
21903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 for flag in $(EXTRA_HOST_FLAGS) ; do \
21906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21908 echo "Doing TAGS in libdecnumber" ; \
21909 (cd $(HOST_SUBDIR)/libdecnumber && \
21910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21912 "RANLIB=$${RANLIB}" \
21913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21917 @endif libdecnumber
21919 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21920 maybe-install-info-libdecnumber:
21922 maybe-install-info-libdecnumber: install-info-libdecnumber
21924 install-info-libdecnumber: \
21925 configure-libdecnumber \
21927 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21928 r=`${PWD_COMMAND}`; export r; \
21929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21931 for flag in $(EXTRA_HOST_FLAGS) ; do \
21932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21934 echo "Doing install-info in libdecnumber" ; \
21935 (cd $(HOST_SUBDIR)/libdecnumber && \
21936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21938 "RANLIB=$${RANLIB}" \
21939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21943 @endif libdecnumber
21945 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21946 maybe-install-pdf-libdecnumber:
21948 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21950 install-pdf-libdecnumber: \
21951 configure-libdecnumber \
21953 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21954 r=`${PWD_COMMAND}`; export r; \
21955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21957 for flag in $(EXTRA_HOST_FLAGS) ; do \
21958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21960 echo "Doing install-pdf in libdecnumber" ; \
21961 (cd $(HOST_SUBDIR)/libdecnumber && \
21962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21964 "RANLIB=$${RANLIB}" \
21965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21969 @endif libdecnumber
21971 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21972 maybe-install-html-libdecnumber:
21974 maybe-install-html-libdecnumber: install-html-libdecnumber
21976 install-html-libdecnumber: \
21977 configure-libdecnumber \
21979 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21980 r=`${PWD_COMMAND}`; export r; \
21981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21983 for flag in $(EXTRA_HOST_FLAGS) ; do \
21984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21986 echo "Doing install-html in libdecnumber" ; \
21987 (cd $(HOST_SUBDIR)/libdecnumber && \
21988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21990 "RANLIB=$${RANLIB}" \
21991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21995 @endif libdecnumber
21997 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21998 maybe-installcheck-libdecnumber:
22000 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22002 installcheck-libdecnumber: \
22003 configure-libdecnumber
22004 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22005 r=`${PWD_COMMAND}`; export r; \
22006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22008 for flag in $(EXTRA_HOST_FLAGS) ; do \
22009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22011 echo "Doing installcheck in libdecnumber" ; \
22012 (cd $(HOST_SUBDIR)/libdecnumber && \
22013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22015 "RANLIB=$${RANLIB}" \
22016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22020 @endif libdecnumber
22022 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22023 maybe-mostlyclean-libdecnumber:
22025 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22027 mostlyclean-libdecnumber:
22028 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22029 r=`${PWD_COMMAND}`; export r; \
22030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22032 for flag in $(EXTRA_HOST_FLAGS) ; do \
22033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22035 echo "Doing mostlyclean in libdecnumber" ; \
22036 (cd $(HOST_SUBDIR)/libdecnumber && \
22037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22039 "RANLIB=$${RANLIB}" \
22040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22044 @endif libdecnumber
22046 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22047 maybe-clean-libdecnumber:
22049 maybe-clean-libdecnumber: clean-libdecnumber
22051 clean-libdecnumber:
22052 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22053 r=`${PWD_COMMAND}`; export r; \
22054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22056 for flag in $(EXTRA_HOST_FLAGS) ; do \
22057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22059 echo "Doing clean in libdecnumber" ; \
22060 (cd $(HOST_SUBDIR)/libdecnumber && \
22061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22063 "RANLIB=$${RANLIB}" \
22064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22068 @endif libdecnumber
22070 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22071 maybe-distclean-libdecnumber:
22073 maybe-distclean-libdecnumber: distclean-libdecnumber
22075 distclean-libdecnumber:
22076 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22077 r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22080 for flag in $(EXTRA_HOST_FLAGS) ; do \
22081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22083 echo "Doing distclean in libdecnumber" ; \
22084 (cd $(HOST_SUBDIR)/libdecnumber && \
22085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22087 "RANLIB=$${RANLIB}" \
22088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22092 @endif libdecnumber
22094 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22095 maybe-maintainer-clean-libdecnumber:
22097 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22099 maintainer-clean-libdecnumber:
22100 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22101 r=`${PWD_COMMAND}`; export r; \
22102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22104 for flag in $(EXTRA_HOST_FLAGS) ; do \
22105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22107 echo "Doing maintainer-clean in libdecnumber" ; \
22108 (cd $(HOST_SUBDIR)/libdecnumber && \
22109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22111 "RANLIB=$${RANLIB}" \
22112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22113 maintainer-clean) \
22116 @endif libdecnumber
22120 .PHONY: configure-libgui maybe-configure-libgui
22121 maybe-configure-libgui:
22123 configure-libgui: stage_current
22124 @endif gcc-bootstrap
22126 maybe-configure-libgui: configure-libgui
22128 @: $(MAKE); $(unstage)
22129 @r=`${PWD_COMMAND}`; export r; \
22130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22131 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22134 echo Configuring in $(HOST_SUBDIR)/libgui; \
22135 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22136 case $(srcdir) in \
22137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22138 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22141 srcdiroption="--srcdir=$${topdir}/libgui"; \
22142 libsrcdir="$$s/libgui"; \
22143 $(SHELL) $${libsrcdir}/configure \
22144 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22145 --target=${target_alias} $${srcdiroption} \
22153 .PHONY: all-libgui maybe-all-libgui
22156 all-libgui: stage_current
22157 @endif gcc-bootstrap
22160 maybe-all-libgui: all-libgui
22161 all-libgui: configure-libgui
22162 @: $(MAKE); $(unstage)
22163 @r=`${PWD_COMMAND}`; export r; \
22164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22166 (cd $(HOST_SUBDIR)/libgui && \
22167 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22174 .PHONY: check-libgui maybe-check-libgui
22175 maybe-check-libgui:
22177 maybe-check-libgui: check-libgui
22180 @: $(MAKE); $(unstage)
22181 @r=`${PWD_COMMAND}`; export r; \
22182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22184 (cd $(HOST_SUBDIR)/libgui && \
22185 $(MAKE) $(FLAGS_TO_PASS) check)
22189 .PHONY: install-libgui maybe-install-libgui
22190 maybe-install-libgui:
22192 maybe-install-libgui: install-libgui
22194 install-libgui: installdirs
22195 @: $(MAKE); $(unstage)
22196 @r=`${PWD_COMMAND}`; export r; \
22197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22199 (cd $(HOST_SUBDIR)/libgui && \
22200 $(MAKE) $(FLAGS_TO_PASS) install)
22204 .PHONY: install-strip-libgui maybe-install-strip-libgui
22205 maybe-install-strip-libgui:
22207 maybe-install-strip-libgui: install-strip-libgui
22209 install-strip-libgui: installdirs
22210 @: $(MAKE); $(unstage)
22211 @r=`${PWD_COMMAND}`; export r; \
22212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22214 (cd $(HOST_SUBDIR)/libgui && \
22215 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22219 # Other targets (info, dvi, pdf, etc.)
22221 .PHONY: maybe-info-libgui info-libgui
22224 maybe-info-libgui: info-libgui
22228 @: $(MAKE); $(unstage)
22229 @[ -f ./libgui/Makefile ] || exit 0; \
22230 r=`${PWD_COMMAND}`; export r; \
22231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22233 for flag in $(EXTRA_HOST_FLAGS) ; do \
22234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22236 echo "Doing info in libgui" ; \
22237 (cd $(HOST_SUBDIR)/libgui && \
22238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22240 "RANLIB=$${RANLIB}" \
22241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22247 .PHONY: maybe-dvi-libgui dvi-libgui
22250 maybe-dvi-libgui: dvi-libgui
22254 @: $(MAKE); $(unstage)
22255 @[ -f ./libgui/Makefile ] || exit 0; \
22256 r=`${PWD_COMMAND}`; export r; \
22257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22259 for flag in $(EXTRA_HOST_FLAGS) ; do \
22260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22262 echo "Doing dvi in libgui" ; \
22263 (cd $(HOST_SUBDIR)/libgui && \
22264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22266 "RANLIB=$${RANLIB}" \
22267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22273 .PHONY: maybe-pdf-libgui pdf-libgui
22276 maybe-pdf-libgui: pdf-libgui
22280 @: $(MAKE); $(unstage)
22281 @[ -f ./libgui/Makefile ] || exit 0; \
22282 r=`${PWD_COMMAND}`; export r; \
22283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22285 for flag in $(EXTRA_HOST_FLAGS) ; do \
22286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22288 echo "Doing pdf in libgui" ; \
22289 (cd $(HOST_SUBDIR)/libgui && \
22290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22292 "RANLIB=$${RANLIB}" \
22293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22299 .PHONY: maybe-html-libgui html-libgui
22302 maybe-html-libgui: html-libgui
22306 @: $(MAKE); $(unstage)
22307 @[ -f ./libgui/Makefile ] || exit 0; \
22308 r=`${PWD_COMMAND}`; export r; \
22309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22311 for flag in $(EXTRA_HOST_FLAGS) ; do \
22312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22314 echo "Doing html in libgui" ; \
22315 (cd $(HOST_SUBDIR)/libgui && \
22316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22318 "RANLIB=$${RANLIB}" \
22319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22325 .PHONY: maybe-TAGS-libgui TAGS-libgui
22328 maybe-TAGS-libgui: TAGS-libgui
22332 @: $(MAKE); $(unstage)
22333 @[ -f ./libgui/Makefile ] || exit 0; \
22334 r=`${PWD_COMMAND}`; export r; \
22335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22337 for flag in $(EXTRA_HOST_FLAGS) ; do \
22338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22340 echo "Doing TAGS in libgui" ; \
22341 (cd $(HOST_SUBDIR)/libgui && \
22342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22344 "RANLIB=$${RANLIB}" \
22345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22351 .PHONY: maybe-install-info-libgui install-info-libgui
22352 maybe-install-info-libgui:
22354 maybe-install-info-libgui: install-info-libgui
22356 install-info-libgui: \
22359 @: $(MAKE); $(unstage)
22360 @[ -f ./libgui/Makefile ] || exit 0; \
22361 r=`${PWD_COMMAND}`; export r; \
22362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22364 for flag in $(EXTRA_HOST_FLAGS) ; do \
22365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22367 echo "Doing install-info in libgui" ; \
22368 (cd $(HOST_SUBDIR)/libgui && \
22369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22371 "RANLIB=$${RANLIB}" \
22372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22378 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22379 maybe-install-pdf-libgui:
22381 maybe-install-pdf-libgui: install-pdf-libgui
22383 install-pdf-libgui: \
22386 @: $(MAKE); $(unstage)
22387 @[ -f ./libgui/Makefile ] || exit 0; \
22388 r=`${PWD_COMMAND}`; export r; \
22389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22391 for flag in $(EXTRA_HOST_FLAGS) ; do \
22392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22394 echo "Doing install-pdf in libgui" ; \
22395 (cd $(HOST_SUBDIR)/libgui && \
22396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22398 "RANLIB=$${RANLIB}" \
22399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22405 .PHONY: maybe-install-html-libgui install-html-libgui
22406 maybe-install-html-libgui:
22408 maybe-install-html-libgui: install-html-libgui
22410 install-html-libgui: \
22413 @: $(MAKE); $(unstage)
22414 @[ -f ./libgui/Makefile ] || exit 0; \
22415 r=`${PWD_COMMAND}`; export r; \
22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 for flag in $(EXTRA_HOST_FLAGS) ; do \
22419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22421 echo "Doing install-html in libgui" ; \
22422 (cd $(HOST_SUBDIR)/libgui && \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425 "RANLIB=$${RANLIB}" \
22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22432 .PHONY: maybe-installcheck-libgui installcheck-libgui
22433 maybe-installcheck-libgui:
22435 maybe-installcheck-libgui: installcheck-libgui
22437 installcheck-libgui: \
22439 @: $(MAKE); $(unstage)
22440 @[ -f ./libgui/Makefile ] || exit 0; \
22441 r=`${PWD_COMMAND}`; export r; \
22442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22444 for flag in $(EXTRA_HOST_FLAGS) ; do \
22445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22447 echo "Doing installcheck in libgui" ; \
22448 (cd $(HOST_SUBDIR)/libgui && \
22449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22451 "RANLIB=$${RANLIB}" \
22452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22458 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22459 maybe-mostlyclean-libgui:
22461 maybe-mostlyclean-libgui: mostlyclean-libgui
22463 mostlyclean-libgui:
22464 @: $(MAKE); $(unstage)
22465 @[ -f ./libgui/Makefile ] || exit 0; \
22466 r=`${PWD_COMMAND}`; export r; \
22467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22469 for flag in $(EXTRA_HOST_FLAGS) ; do \
22470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22472 echo "Doing mostlyclean in libgui" ; \
22473 (cd $(HOST_SUBDIR)/libgui && \
22474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22476 "RANLIB=$${RANLIB}" \
22477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22483 .PHONY: maybe-clean-libgui clean-libgui
22484 maybe-clean-libgui:
22486 maybe-clean-libgui: clean-libgui
22489 @: $(MAKE); $(unstage)
22490 @[ -f ./libgui/Makefile ] || exit 0; \
22491 r=`${PWD_COMMAND}`; export r; \
22492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 for flag in $(EXTRA_HOST_FLAGS) ; do \
22495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22497 echo "Doing clean in libgui" ; \
22498 (cd $(HOST_SUBDIR)/libgui && \
22499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22501 "RANLIB=$${RANLIB}" \
22502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22508 .PHONY: maybe-distclean-libgui distclean-libgui
22509 maybe-distclean-libgui:
22511 maybe-distclean-libgui: distclean-libgui
22514 @: $(MAKE); $(unstage)
22515 @[ -f ./libgui/Makefile ] || exit 0; \
22516 r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22519 for flag in $(EXTRA_HOST_FLAGS) ; do \
22520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22522 echo "Doing distclean in libgui" ; \
22523 (cd $(HOST_SUBDIR)/libgui && \
22524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22526 "RANLIB=$${RANLIB}" \
22527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22533 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22534 maybe-maintainer-clean-libgui:
22536 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22538 maintainer-clean-libgui:
22539 @: $(MAKE); $(unstage)
22540 @[ -f ./libgui/Makefile ] || exit 0; \
22541 r=`${PWD_COMMAND}`; export r; \
22542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22544 for flag in $(EXTRA_HOST_FLAGS) ; do \
22545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22547 echo "Doing maintainer-clean in libgui" ; \
22548 (cd $(HOST_SUBDIR)/libgui && \
22549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22551 "RANLIB=$${RANLIB}" \
22552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22553 maintainer-clean) \
22560 .PHONY: configure-libiberty maybe-configure-libiberty
22561 maybe-configure-libiberty:
22563 configure-libiberty: stage_current
22564 @endif gcc-bootstrap
22566 maybe-configure-libiberty: configure-libiberty
22567 configure-libiberty:
22568 @r=`${PWD_COMMAND}`; export r; \
22569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22570 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22573 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22574 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22575 case $(srcdir) in \
22576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22577 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22580 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22581 libsrcdir="$$s/libiberty"; \
22582 $(SHELL) $${libsrcdir}/configure \
22583 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22584 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
22590 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22591 maybe-configure-stage1-libiberty:
22592 @if libiberty-bootstrap
22593 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22594 configure-stage1-libiberty:
22595 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22596 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22597 @r=`${PWD_COMMAND}`; export r; \
22598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22599 TFLAGS="$(STAGE1_TFLAGS)"; \
22600 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22602 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22603 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22604 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22605 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22607 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22608 case $(srcdir) in \
22609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22610 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22613 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22614 libsrcdir="$$s/libiberty"; \
22615 $(SHELL) $${libsrcdir}/configure \
22616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22617 --target=${target_alias} $${srcdiroption} \
22618 $(STAGE1_CONFIGURE_FLAGS) \
22619 @extra_host_libiberty_configure_flags@
22620 @endif libiberty-bootstrap
22622 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22623 maybe-configure-stage2-libiberty:
22624 @if libiberty-bootstrap
22625 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22626 configure-stage2-libiberty:
22627 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22628 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22629 @r=`${PWD_COMMAND}`; export r; \
22630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22631 TFLAGS="$(STAGE2_TFLAGS)"; \
22632 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22634 $(POSTSTAGE1_HOST_EXPORTS) \
22635 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22636 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22637 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22638 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22640 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22641 case $(srcdir) in \
22642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22643 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22646 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22647 libsrcdir="$$s/libiberty"; \
22648 $(SHELL) $${libsrcdir}/configure \
22649 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22650 --target=${target_alias} $${srcdiroption} \
22651 --with-build-libsubdir=$(HOST_SUBDIR) \
22652 $(STAGE2_CONFIGURE_FLAGS) \
22653 @extra_host_libiberty_configure_flags@
22654 @endif libiberty-bootstrap
22656 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22657 maybe-configure-stage3-libiberty:
22658 @if libiberty-bootstrap
22659 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22660 configure-stage3-libiberty:
22661 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22662 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22663 @r=`${PWD_COMMAND}`; export r; \
22664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22665 TFLAGS="$(STAGE3_TFLAGS)"; \
22666 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22668 $(POSTSTAGE1_HOST_EXPORTS) \
22669 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22670 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22671 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22672 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22674 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22675 case $(srcdir) in \
22676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22677 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22680 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22681 libsrcdir="$$s/libiberty"; \
22682 $(SHELL) $${libsrcdir}/configure \
22683 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22684 --target=${target_alias} $${srcdiroption} \
22685 --with-build-libsubdir=$(HOST_SUBDIR) \
22686 $(STAGE3_CONFIGURE_FLAGS) \
22687 @extra_host_libiberty_configure_flags@
22688 @endif libiberty-bootstrap
22690 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22691 maybe-configure-stage4-libiberty:
22692 @if libiberty-bootstrap
22693 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22694 configure-stage4-libiberty:
22695 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22697 @r=`${PWD_COMMAND}`; export r; \
22698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22699 TFLAGS="$(STAGE4_TFLAGS)"; \
22700 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22702 $(POSTSTAGE1_HOST_EXPORTS) \
22703 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22704 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22705 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22706 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22708 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22709 case $(srcdir) in \
22710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22711 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22714 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22715 libsrcdir="$$s/libiberty"; \
22716 $(SHELL) $${libsrcdir}/configure \
22717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22718 --target=${target_alias} $${srcdiroption} \
22719 --with-build-libsubdir=$(HOST_SUBDIR) \
22720 $(STAGE4_CONFIGURE_FLAGS) \
22721 @extra_host_libiberty_configure_flags@
22722 @endif libiberty-bootstrap
22724 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22725 maybe-configure-stageprofile-libiberty:
22726 @if libiberty-bootstrap
22727 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22728 configure-stageprofile-libiberty:
22729 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22731 @r=`${PWD_COMMAND}`; export r; \
22732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22733 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22734 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22736 $(POSTSTAGE1_HOST_EXPORTS) \
22737 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22738 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22739 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22740 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22742 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22743 case $(srcdir) in \
22744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22745 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22748 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22749 libsrcdir="$$s/libiberty"; \
22750 $(SHELL) $${libsrcdir}/configure \
22751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22752 --target=${target_alias} $${srcdiroption} \
22753 --with-build-libsubdir=$(HOST_SUBDIR) \
22754 $(STAGEprofile_CONFIGURE_FLAGS) \
22755 @extra_host_libiberty_configure_flags@
22756 @endif libiberty-bootstrap
22758 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22759 maybe-configure-stagefeedback-libiberty:
22760 @if libiberty-bootstrap
22761 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22762 configure-stagefeedback-libiberty:
22763 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22765 @r=`${PWD_COMMAND}`; export r; \
22766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22767 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22768 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22770 $(POSTSTAGE1_HOST_EXPORTS) \
22771 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22772 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22773 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22774 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22776 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22777 case $(srcdir) in \
22778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22779 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22782 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22783 libsrcdir="$$s/libiberty"; \
22784 $(SHELL) $${libsrcdir}/configure \
22785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22786 --target=${target_alias} $${srcdiroption} \
22787 --with-build-libsubdir=$(HOST_SUBDIR) \
22788 $(STAGEfeedback_CONFIGURE_FLAGS) \
22789 @extra_host_libiberty_configure_flags@
22790 @endif libiberty-bootstrap
22796 .PHONY: all-libiberty maybe-all-libiberty
22797 maybe-all-libiberty:
22799 all-libiberty: stage_current
22800 @endif gcc-bootstrap
22802 TARGET-libiberty=all
22803 maybe-all-libiberty: all-libiberty
22804 all-libiberty: configure-libiberty
22805 @r=`${PWD_COMMAND}`; export r; \
22806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22808 (cd $(HOST_SUBDIR)/libiberty && \
22809 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22810 $(TARGET-libiberty))
22815 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22816 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22817 maybe-all-stage1-libiberty:
22818 maybe-clean-stage1-libiberty:
22819 @if libiberty-bootstrap
22820 maybe-all-stage1-libiberty: all-stage1-libiberty
22821 all-stage1: all-stage1-libiberty
22822 TARGET-stage1-libiberty = $(TARGET-libiberty)
22823 all-stage1-libiberty: configure-stage1-libiberty
22824 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22825 @r=`${PWD_COMMAND}`; export r; \
22826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827 TFLAGS="$(STAGE1_TFLAGS)"; \
22829 cd $(HOST_SUBDIR)/libiberty && \
22830 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22831 CFLAGS="$(STAGE1_CFLAGS)" \
22832 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22833 LIBCFLAGS="$(LIBCFLAGS)" \
22834 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22835 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22836 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22837 $(EXTRA_HOST_FLAGS) \
22838 $(STAGE1_FLAGS_TO_PASS) \
22839 TFLAGS="$(STAGE1_TFLAGS)" \
22840 $(TARGET-stage1-libiberty)
22842 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22843 clean-stage1: clean-stage1-libiberty
22844 clean-stage1-libiberty:
22845 @if [ $(current_stage) = stage1 ]; then \
22846 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22848 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22849 $(MAKE) stage1-start; \
22851 cd $(HOST_SUBDIR)/libiberty && \
22852 $(MAKE) $(EXTRA_HOST_FLAGS) \
22853 $(STAGE1_FLAGS_TO_PASS) clean
22854 @endif libiberty-bootstrap
22857 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22858 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22859 maybe-all-stage2-libiberty:
22860 maybe-clean-stage2-libiberty:
22861 @if libiberty-bootstrap
22862 maybe-all-stage2-libiberty: all-stage2-libiberty
22863 all-stage2: all-stage2-libiberty
22864 TARGET-stage2-libiberty = $(TARGET-libiberty)
22865 all-stage2-libiberty: configure-stage2-libiberty
22866 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22867 @r=`${PWD_COMMAND}`; export r; \
22868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22869 TFLAGS="$(STAGE2_TFLAGS)"; \
22871 $(POSTSTAGE1_HOST_EXPORTS) \
22872 cd $(HOST_SUBDIR)/libiberty && \
22873 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22874 CFLAGS="$(STAGE2_CFLAGS)" \
22875 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22876 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22877 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22878 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22879 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22880 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22881 TFLAGS="$(STAGE2_TFLAGS)" \
22882 $(TARGET-stage2-libiberty)
22884 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22885 clean-stage2: clean-stage2-libiberty
22886 clean-stage2-libiberty:
22887 @if [ $(current_stage) = stage2 ]; then \
22888 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22890 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22891 $(MAKE) stage2-start; \
22893 cd $(HOST_SUBDIR)/libiberty && \
22894 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22895 @endif libiberty-bootstrap
22898 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22899 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22900 maybe-all-stage3-libiberty:
22901 maybe-clean-stage3-libiberty:
22902 @if libiberty-bootstrap
22903 maybe-all-stage3-libiberty: all-stage3-libiberty
22904 all-stage3: all-stage3-libiberty
22905 TARGET-stage3-libiberty = $(TARGET-libiberty)
22906 all-stage3-libiberty: configure-stage3-libiberty
22907 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22908 @r=`${PWD_COMMAND}`; export r; \
22909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22910 TFLAGS="$(STAGE3_TFLAGS)"; \
22912 $(POSTSTAGE1_HOST_EXPORTS) \
22913 cd $(HOST_SUBDIR)/libiberty && \
22914 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22915 CFLAGS="$(STAGE3_CFLAGS)" \
22916 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22917 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22918 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22919 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22920 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22921 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22922 TFLAGS="$(STAGE3_TFLAGS)" \
22923 $(TARGET-stage3-libiberty)
22925 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22926 clean-stage3: clean-stage3-libiberty
22927 clean-stage3-libiberty:
22928 @if [ $(current_stage) = stage3 ]; then \
22929 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22931 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22932 $(MAKE) stage3-start; \
22934 cd $(HOST_SUBDIR)/libiberty && \
22935 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22936 @endif libiberty-bootstrap
22939 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22940 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22941 maybe-all-stage4-libiberty:
22942 maybe-clean-stage4-libiberty:
22943 @if libiberty-bootstrap
22944 maybe-all-stage4-libiberty: all-stage4-libiberty
22945 all-stage4: all-stage4-libiberty
22946 TARGET-stage4-libiberty = $(TARGET-libiberty)
22947 all-stage4-libiberty: configure-stage4-libiberty
22948 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22949 @r=`${PWD_COMMAND}`; export r; \
22950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22951 TFLAGS="$(STAGE4_TFLAGS)"; \
22953 $(POSTSTAGE1_HOST_EXPORTS) \
22954 cd $(HOST_SUBDIR)/libiberty && \
22955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22956 CFLAGS="$(STAGE4_CFLAGS)" \
22957 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22958 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22962 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22963 TFLAGS="$(STAGE4_TFLAGS)" \
22964 $(TARGET-stage4-libiberty)
22966 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22967 clean-stage4: clean-stage4-libiberty
22968 clean-stage4-libiberty:
22969 @if [ $(current_stage) = stage4 ]; then \
22970 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22972 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22973 $(MAKE) stage4-start; \
22975 cd $(HOST_SUBDIR)/libiberty && \
22976 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22977 @endif libiberty-bootstrap
22980 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22981 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22982 maybe-all-stageprofile-libiberty:
22983 maybe-clean-stageprofile-libiberty:
22984 @if libiberty-bootstrap
22985 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22986 all-stageprofile: all-stageprofile-libiberty
22987 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22988 all-stageprofile-libiberty: configure-stageprofile-libiberty
22989 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22990 @r=`${PWD_COMMAND}`; export r; \
22991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22992 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22994 $(POSTSTAGE1_HOST_EXPORTS) \
22995 cd $(HOST_SUBDIR)/libiberty && \
22996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22997 CFLAGS="$(STAGEprofile_CFLAGS)" \
22998 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22999 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23000 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23001 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23002 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23003 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23004 TFLAGS="$(STAGEprofile_TFLAGS)" \
23005 $(TARGET-stageprofile-libiberty)
23007 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23008 clean-stageprofile: clean-stageprofile-libiberty
23009 clean-stageprofile-libiberty:
23010 @if [ $(current_stage) = stageprofile ]; then \
23011 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23013 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23014 $(MAKE) stageprofile-start; \
23016 cd $(HOST_SUBDIR)/libiberty && \
23017 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23018 @endif libiberty-bootstrap
23021 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23022 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23023 maybe-all-stagefeedback-libiberty:
23024 maybe-clean-stagefeedback-libiberty:
23025 @if libiberty-bootstrap
23026 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23027 all-stagefeedback: all-stagefeedback-libiberty
23028 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23029 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23030 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23031 @r=`${PWD_COMMAND}`; export r; \
23032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23033 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23035 $(POSTSTAGE1_HOST_EXPORTS) \
23036 cd $(HOST_SUBDIR)/libiberty && \
23037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23038 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23039 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23040 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23041 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23042 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23043 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23044 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23045 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23046 $(TARGET-stagefeedback-libiberty)
23048 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23049 clean-stagefeedback: clean-stagefeedback-libiberty
23050 clean-stagefeedback-libiberty:
23051 @if [ $(current_stage) = stagefeedback ]; then \
23052 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23054 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23055 $(MAKE) stagefeedback-start; \
23057 cd $(HOST_SUBDIR)/libiberty && \
23058 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23059 @endif libiberty-bootstrap
23065 .PHONY: check-libiberty maybe-check-libiberty
23066 maybe-check-libiberty:
23068 maybe-check-libiberty: check-libiberty
23071 @: $(MAKE); $(unstage)
23072 @r=`${PWD_COMMAND}`; export r; \
23073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23075 (cd $(HOST_SUBDIR)/libiberty && \
23076 $(MAKE) $(FLAGS_TO_PASS) check)
23080 .PHONY: install-libiberty maybe-install-libiberty
23081 maybe-install-libiberty:
23083 maybe-install-libiberty: install-libiberty
23085 install-libiberty: installdirs
23086 @: $(MAKE); $(unstage)
23087 @r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23090 (cd $(HOST_SUBDIR)/libiberty && \
23091 $(MAKE) $(FLAGS_TO_PASS) install)
23095 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23096 maybe-install-strip-libiberty:
23098 maybe-install-strip-libiberty: install-strip-libiberty
23100 install-strip-libiberty: installdirs
23101 @: $(MAKE); $(unstage)
23102 @r=`${PWD_COMMAND}`; export r; \
23103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23105 (cd $(HOST_SUBDIR)/libiberty && \
23106 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23110 # Other targets (info, dvi, pdf, etc.)
23112 .PHONY: maybe-info-libiberty info-libiberty
23113 maybe-info-libiberty:
23115 maybe-info-libiberty: info-libiberty
23118 configure-libiberty
23119 @[ -f ./libiberty/Makefile ] || exit 0; \
23120 r=`${PWD_COMMAND}`; export r; \
23121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23123 for flag in $(EXTRA_HOST_FLAGS) ; do \
23124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23126 echo "Doing info in libiberty" ; \
23127 (cd $(HOST_SUBDIR)/libiberty && \
23128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23130 "RANLIB=$${RANLIB}" \
23131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23137 .PHONY: maybe-dvi-libiberty dvi-libiberty
23138 maybe-dvi-libiberty:
23140 maybe-dvi-libiberty: dvi-libiberty
23143 configure-libiberty
23144 @[ -f ./libiberty/Makefile ] || exit 0; \
23145 r=`${PWD_COMMAND}`; export r; \
23146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148 for flag in $(EXTRA_HOST_FLAGS) ; do \
23149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23151 echo "Doing dvi in libiberty" ; \
23152 (cd $(HOST_SUBDIR)/libiberty && \
23153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23155 "RANLIB=$${RANLIB}" \
23156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23162 .PHONY: maybe-pdf-libiberty pdf-libiberty
23163 maybe-pdf-libiberty:
23165 maybe-pdf-libiberty: pdf-libiberty
23168 configure-libiberty
23169 @[ -f ./libiberty/Makefile ] || exit 0; \
23170 r=`${PWD_COMMAND}`; export r; \
23171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23173 for flag in $(EXTRA_HOST_FLAGS) ; do \
23174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23176 echo "Doing pdf in libiberty" ; \
23177 (cd $(HOST_SUBDIR)/libiberty && \
23178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23180 "RANLIB=$${RANLIB}" \
23181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23187 .PHONY: maybe-html-libiberty html-libiberty
23188 maybe-html-libiberty:
23190 maybe-html-libiberty: html-libiberty
23193 configure-libiberty
23194 @[ -f ./libiberty/Makefile ] || exit 0; \
23195 r=`${PWD_COMMAND}`; export r; \
23196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23198 for flag in $(EXTRA_HOST_FLAGS) ; do \
23199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23201 echo "Doing html in libiberty" ; \
23202 (cd $(HOST_SUBDIR)/libiberty && \
23203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23205 "RANLIB=$${RANLIB}" \
23206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23212 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23213 maybe-TAGS-libiberty:
23215 maybe-TAGS-libiberty: TAGS-libiberty
23218 configure-libiberty
23219 @[ -f ./libiberty/Makefile ] || exit 0; \
23220 r=`${PWD_COMMAND}`; export r; \
23221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23223 for flag in $(EXTRA_HOST_FLAGS) ; do \
23224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23226 echo "Doing TAGS in libiberty" ; \
23227 (cd $(HOST_SUBDIR)/libiberty && \
23228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23230 "RANLIB=$${RANLIB}" \
23231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23237 .PHONY: maybe-install-info-libiberty install-info-libiberty
23238 maybe-install-info-libiberty:
23240 maybe-install-info-libiberty: install-info-libiberty
23242 install-info-libiberty: \
23243 configure-libiberty \
23245 @[ -f ./libiberty/Makefile ] || exit 0; \
23246 r=`${PWD_COMMAND}`; export r; \
23247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23249 for flag in $(EXTRA_HOST_FLAGS) ; do \
23250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23252 echo "Doing install-info in libiberty" ; \
23253 (cd $(HOST_SUBDIR)/libiberty && \
23254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23256 "RANLIB=$${RANLIB}" \
23257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23263 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23264 maybe-install-pdf-libiberty:
23266 maybe-install-pdf-libiberty: install-pdf-libiberty
23268 install-pdf-libiberty: \
23269 configure-libiberty \
23271 @[ -f ./libiberty/Makefile ] || exit 0; \
23272 r=`${PWD_COMMAND}`; export r; \
23273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23275 for flag in $(EXTRA_HOST_FLAGS) ; do \
23276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23278 echo "Doing install-pdf in libiberty" ; \
23279 (cd $(HOST_SUBDIR)/libiberty && \
23280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23282 "RANLIB=$${RANLIB}" \
23283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23289 .PHONY: maybe-install-html-libiberty install-html-libiberty
23290 maybe-install-html-libiberty:
23292 maybe-install-html-libiberty: install-html-libiberty
23294 install-html-libiberty: \
23295 configure-libiberty \
23297 @[ -f ./libiberty/Makefile ] || exit 0; \
23298 r=`${PWD_COMMAND}`; export r; \
23299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23301 for flag in $(EXTRA_HOST_FLAGS) ; do \
23302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23304 echo "Doing install-html in libiberty" ; \
23305 (cd $(HOST_SUBDIR)/libiberty && \
23306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23308 "RANLIB=$${RANLIB}" \
23309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23315 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23316 maybe-installcheck-libiberty:
23318 maybe-installcheck-libiberty: installcheck-libiberty
23320 installcheck-libiberty: \
23321 configure-libiberty
23322 @[ -f ./libiberty/Makefile ] || exit 0; \
23323 r=`${PWD_COMMAND}`; export r; \
23324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23326 for flag in $(EXTRA_HOST_FLAGS) ; do \
23327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23329 echo "Doing installcheck in libiberty" ; \
23330 (cd $(HOST_SUBDIR)/libiberty && \
23331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23333 "RANLIB=$${RANLIB}" \
23334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23340 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23341 maybe-mostlyclean-libiberty:
23343 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23345 mostlyclean-libiberty:
23346 @[ -f ./libiberty/Makefile ] || exit 0; \
23347 r=`${PWD_COMMAND}`; export r; \
23348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23350 for flag in $(EXTRA_HOST_FLAGS) ; do \
23351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23353 echo "Doing mostlyclean in libiberty" ; \
23354 (cd $(HOST_SUBDIR)/libiberty && \
23355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23357 "RANLIB=$${RANLIB}" \
23358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23364 .PHONY: maybe-clean-libiberty clean-libiberty
23365 maybe-clean-libiberty:
23367 maybe-clean-libiberty: clean-libiberty
23370 @[ -f ./libiberty/Makefile ] || exit 0; \
23371 r=`${PWD_COMMAND}`; export r; \
23372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23374 for flag in $(EXTRA_HOST_FLAGS) ; do \
23375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23377 echo "Doing clean in libiberty" ; \
23378 (cd $(HOST_SUBDIR)/libiberty && \
23379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23381 "RANLIB=$${RANLIB}" \
23382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23388 .PHONY: maybe-distclean-libiberty distclean-libiberty
23389 maybe-distclean-libiberty:
23391 maybe-distclean-libiberty: distclean-libiberty
23393 distclean-libiberty:
23394 @[ -f ./libiberty/Makefile ] || exit 0; \
23395 r=`${PWD_COMMAND}`; export r; \
23396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23398 for flag in $(EXTRA_HOST_FLAGS) ; do \
23399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23401 echo "Doing distclean in libiberty" ; \
23402 (cd $(HOST_SUBDIR)/libiberty && \
23403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23405 "RANLIB=$${RANLIB}" \
23406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23412 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23413 maybe-maintainer-clean-libiberty:
23415 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23417 maintainer-clean-libiberty:
23418 @[ -f ./libiberty/Makefile ] || exit 0; \
23419 r=`${PWD_COMMAND}`; export r; \
23420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23422 for flag in $(EXTRA_HOST_FLAGS) ; do \
23423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23425 echo "Doing maintainer-clean in libiberty" ; \
23426 (cd $(HOST_SUBDIR)/libiberty && \
23427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23429 "RANLIB=$${RANLIB}" \
23430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23431 maintainer-clean) \
23438 .PHONY: configure-libiconv maybe-configure-libiconv
23439 maybe-configure-libiconv:
23441 configure-libiconv: stage_current
23442 @endif gcc-bootstrap
23444 maybe-configure-libiconv: configure-libiconv
23445 configure-libiconv:
23446 @: $(MAKE); $(unstage)
23447 @r=`${PWD_COMMAND}`; export r; \
23448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23449 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
23450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
23452 echo Configuring in $(HOST_SUBDIR)/libiconv; \
23453 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
23454 case $(srcdir) in \
23455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23456 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
23457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23459 srcdiroption="--srcdir=$${topdir}/libiconv"; \
23460 libsrcdir="$$s/libiconv"; \
23461 $(SHELL) $${libsrcdir}/configure \
23462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23463 --target=${target_alias} $${srcdiroption} --disable-shared \
23471 .PHONY: all-libiconv maybe-all-libiconv
23472 maybe-all-libiconv:
23474 all-libiconv: stage_current
23475 @endif gcc-bootstrap
23477 TARGET-libiconv=all
23478 maybe-all-libiconv: all-libiconv
23479 all-libiconv: configure-libiconv
23480 @: $(MAKE); $(unstage)
23481 @r=`${PWD_COMMAND}`; export r; \
23482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23484 (cd $(HOST_SUBDIR)/libiconv && \
23485 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23486 $(TARGET-libiconv))
23492 .PHONY: check-libiconv maybe-check-libiconv
23493 maybe-check-libiconv:
23495 maybe-check-libiconv: check-libiconv
23498 @: $(MAKE); $(unstage)
23499 @r=`${PWD_COMMAND}`; export r; \
23500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23502 (cd $(HOST_SUBDIR)/libiconv && \
23503 $(MAKE) $(FLAGS_TO_PASS) check)
23507 .PHONY: install-libiconv maybe-install-libiconv
23508 maybe-install-libiconv:
23510 maybe-install-libiconv: install-libiconv
23516 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
23517 maybe-install-strip-libiconv:
23519 maybe-install-strip-libiconv: install-strip-libiconv
23521 install-strip-libiconv:
23525 # Other targets (info, dvi, pdf, etc.)
23527 .PHONY: maybe-info-libiconv info-libiconv
23528 maybe-info-libiconv:
23530 maybe-info-libiconv: info-libiconv
23534 @: $(MAKE); $(unstage)
23535 @[ -f ./libiconv/Makefile ] || exit 0; \
23536 r=`${PWD_COMMAND}`; export r; \
23537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23539 for flag in $(EXTRA_HOST_FLAGS) ; do \
23540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23542 echo "Doing info in libiconv" ; \
23543 (cd $(HOST_SUBDIR)/libiconv && \
23544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23546 "RANLIB=$${RANLIB}" \
23547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23553 .PHONY: maybe-dvi-libiconv dvi-libiconv
23554 maybe-dvi-libiconv:
23556 maybe-dvi-libiconv: dvi-libiconv
23560 @: $(MAKE); $(unstage)
23561 @[ -f ./libiconv/Makefile ] || exit 0; \
23562 r=`${PWD_COMMAND}`; export r; \
23563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23565 for flag in $(EXTRA_HOST_FLAGS) ; do \
23566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23568 echo "Doing dvi in libiconv" ; \
23569 (cd $(HOST_SUBDIR)/libiconv && \
23570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23572 "RANLIB=$${RANLIB}" \
23573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23579 .PHONY: maybe-pdf-libiconv pdf-libiconv
23580 maybe-pdf-libiconv:
23582 maybe-pdf-libiconv: pdf-libiconv
23586 @: $(MAKE); $(unstage)
23587 @[ -f ./libiconv/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23594 echo "Doing pdf in libiconv" ; \
23595 (cd $(HOST_SUBDIR)/libiconv && \
23596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598 "RANLIB=$${RANLIB}" \
23599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23605 .PHONY: maybe-html-libiconv html-libiconv
23606 maybe-html-libiconv:
23608 maybe-html-libiconv: html-libiconv
23612 @: $(MAKE); $(unstage)
23613 @[ -f ./libiconv/Makefile ] || exit 0; \
23614 r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23617 for flag in $(EXTRA_HOST_FLAGS) ; do \
23618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23620 echo "Doing html in libiconv" ; \
23621 (cd $(HOST_SUBDIR)/libiconv && \
23622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23624 "RANLIB=$${RANLIB}" \
23625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23631 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
23632 maybe-TAGS-libiconv:
23634 maybe-TAGS-libiconv: TAGS-libiconv
23638 @: $(MAKE); $(unstage)
23639 @[ -f ./libiconv/Makefile ] || exit 0; \
23640 r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23643 for flag in $(EXTRA_HOST_FLAGS) ; do \
23644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23646 echo "Doing TAGS in libiconv" ; \
23647 (cd $(HOST_SUBDIR)/libiconv && \
23648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23650 "RANLIB=$${RANLIB}" \
23651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23657 .PHONY: maybe-install-info-libiconv install-info-libiconv
23658 maybe-install-info-libiconv:
23660 maybe-install-info-libiconv: install-info-libiconv
23662 # libiconv doesn't support install-info.
23663 install-info-libiconv:
23667 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
23668 maybe-install-pdf-libiconv:
23670 maybe-install-pdf-libiconv: install-pdf-libiconv
23672 # libiconv doesn't support install-pdf.
23673 install-pdf-libiconv:
23677 .PHONY: maybe-install-html-libiconv install-html-libiconv
23678 maybe-install-html-libiconv:
23680 maybe-install-html-libiconv: install-html-libiconv
23682 # libiconv doesn't support install-html.
23683 install-html-libiconv:
23687 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
23688 maybe-installcheck-libiconv:
23690 maybe-installcheck-libiconv: installcheck-libiconv
23692 installcheck-libiconv: \
23694 @: $(MAKE); $(unstage)
23695 @[ -f ./libiconv/Makefile ] || exit 0; \
23696 r=`${PWD_COMMAND}`; export r; \
23697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23699 for flag in $(EXTRA_HOST_FLAGS) ; do \
23700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23702 echo "Doing installcheck in libiconv" ; \
23703 (cd $(HOST_SUBDIR)/libiconv && \
23704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23706 "RANLIB=$${RANLIB}" \
23707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23713 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
23714 maybe-mostlyclean-libiconv:
23716 maybe-mostlyclean-libiconv: mostlyclean-libiconv
23718 mostlyclean-libiconv:
23719 @: $(MAKE); $(unstage)
23720 @[ -f ./libiconv/Makefile ] || exit 0; \
23721 r=`${PWD_COMMAND}`; export r; \
23722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23724 for flag in $(EXTRA_HOST_FLAGS) ; do \
23725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23727 echo "Doing mostlyclean in libiconv" ; \
23728 (cd $(HOST_SUBDIR)/libiconv && \
23729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23731 "RANLIB=$${RANLIB}" \
23732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23738 .PHONY: maybe-clean-libiconv clean-libiconv
23739 maybe-clean-libiconv:
23741 maybe-clean-libiconv: clean-libiconv
23744 @: $(MAKE); $(unstage)
23745 @[ -f ./libiconv/Makefile ] || exit 0; \
23746 r=`${PWD_COMMAND}`; export r; \
23747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23749 for flag in $(EXTRA_HOST_FLAGS) ; do \
23750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23752 echo "Doing clean in libiconv" ; \
23753 (cd $(HOST_SUBDIR)/libiconv && \
23754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23756 "RANLIB=$${RANLIB}" \
23757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23763 .PHONY: maybe-distclean-libiconv distclean-libiconv
23764 maybe-distclean-libiconv:
23766 maybe-distclean-libiconv: distclean-libiconv
23768 distclean-libiconv:
23769 @: $(MAKE); $(unstage)
23770 @[ -f ./libiconv/Makefile ] || exit 0; \
23771 r=`${PWD_COMMAND}`; export r; \
23772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23774 for flag in $(EXTRA_HOST_FLAGS) ; do \
23775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23777 echo "Doing distclean in libiconv" ; \
23778 (cd $(HOST_SUBDIR)/libiconv && \
23779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23781 "RANLIB=$${RANLIB}" \
23782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23788 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23789 maybe-maintainer-clean-libiconv:
23791 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23793 maintainer-clean-libiconv:
23794 @: $(MAKE); $(unstage)
23795 @[ -f ./libiconv/Makefile ] || exit 0; \
23796 r=`${PWD_COMMAND}`; export r; \
23797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23799 for flag in $(EXTRA_HOST_FLAGS) ; do \
23800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23802 echo "Doing maintainer-clean in libiconv" ; \
23803 (cd $(HOST_SUBDIR)/libiconv && \
23804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23806 "RANLIB=$${RANLIB}" \
23807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23808 maintainer-clean) \
23815 .PHONY: configure-m4 maybe-configure-m4
23816 maybe-configure-m4:
23818 configure-m4: stage_current
23819 @endif gcc-bootstrap
23821 maybe-configure-m4: configure-m4
23823 @: $(MAKE); $(unstage)
23824 @r=`${PWD_COMMAND}`; export r; \
23825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23826 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23829 echo Configuring in $(HOST_SUBDIR)/m4; \
23830 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23831 case $(srcdir) in \
23832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23833 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23836 srcdiroption="--srcdir=$${topdir}/m4"; \
23837 libsrcdir="$$s/m4"; \
23838 $(SHELL) $${libsrcdir}/configure \
23839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23840 --target=${target_alias} $${srcdiroption} \
23848 .PHONY: all-m4 maybe-all-m4
23851 all-m4: stage_current
23852 @endif gcc-bootstrap
23855 maybe-all-m4: all-m4
23856 all-m4: configure-m4
23857 @: $(MAKE); $(unstage)
23858 @r=`${PWD_COMMAND}`; export r; \
23859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23861 (cd $(HOST_SUBDIR)/m4 && \
23862 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23869 .PHONY: check-m4 maybe-check-m4
23872 maybe-check-m4: check-m4
23875 @: $(MAKE); $(unstage)
23876 @r=`${PWD_COMMAND}`; export r; \
23877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23879 (cd $(HOST_SUBDIR)/m4 && \
23880 $(MAKE) $(FLAGS_TO_PASS) check)
23884 .PHONY: install-m4 maybe-install-m4
23887 maybe-install-m4: install-m4
23889 install-m4: installdirs
23890 @: $(MAKE); $(unstage)
23891 @r=`${PWD_COMMAND}`; export r; \
23892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23894 (cd $(HOST_SUBDIR)/m4 && \
23895 $(MAKE) $(FLAGS_TO_PASS) install)
23899 .PHONY: install-strip-m4 maybe-install-strip-m4
23900 maybe-install-strip-m4:
23902 maybe-install-strip-m4: install-strip-m4
23904 install-strip-m4: installdirs
23905 @: $(MAKE); $(unstage)
23906 @r=`${PWD_COMMAND}`; export r; \
23907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 (cd $(HOST_SUBDIR)/m4 && \
23910 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23914 # Other targets (info, dvi, pdf, etc.)
23916 .PHONY: maybe-info-m4 info-m4
23919 maybe-info-m4: info-m4
23923 @: $(MAKE); $(unstage)
23924 @[ -f ./m4/Makefile ] || exit 0; \
23925 r=`${PWD_COMMAND}`; export r; \
23926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23928 for flag in $(EXTRA_HOST_FLAGS) ; do \
23929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23931 echo "Doing info in m4" ; \
23932 (cd $(HOST_SUBDIR)/m4 && \
23933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23935 "RANLIB=$${RANLIB}" \
23936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23942 .PHONY: maybe-dvi-m4 dvi-m4
23945 maybe-dvi-m4: dvi-m4
23949 @: $(MAKE); $(unstage)
23950 @[ -f ./m4/Makefile ] || exit 0; \
23951 r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23954 for flag in $(EXTRA_HOST_FLAGS) ; do \
23955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23957 echo "Doing dvi in m4" ; \
23958 (cd $(HOST_SUBDIR)/m4 && \
23959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23961 "RANLIB=$${RANLIB}" \
23962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23968 .PHONY: maybe-pdf-m4 pdf-m4
23971 maybe-pdf-m4: pdf-m4
23975 @: $(MAKE); $(unstage)
23976 @[ -f ./m4/Makefile ] || exit 0; \
23977 r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23980 for flag in $(EXTRA_HOST_FLAGS) ; do \
23981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23983 echo "Doing pdf in m4" ; \
23984 (cd $(HOST_SUBDIR)/m4 && \
23985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23987 "RANLIB=$${RANLIB}" \
23988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23994 .PHONY: maybe-html-m4 html-m4
23997 maybe-html-m4: html-m4
24001 @: $(MAKE); $(unstage)
24002 @[ -f ./m4/Makefile ] || exit 0; \
24003 r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24006 for flag in $(EXTRA_HOST_FLAGS) ; do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24009 echo "Doing html in m4" ; \
24010 (cd $(HOST_SUBDIR)/m4 && \
24011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24013 "RANLIB=$${RANLIB}" \
24014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24020 .PHONY: maybe-TAGS-m4 TAGS-m4
24023 maybe-TAGS-m4: TAGS-m4
24027 @: $(MAKE); $(unstage)
24028 @[ -f ./m4/Makefile ] || exit 0; \
24029 r=`${PWD_COMMAND}`; export r; \
24030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24032 for flag in $(EXTRA_HOST_FLAGS) ; do \
24033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24035 echo "Doing TAGS in m4" ; \
24036 (cd $(HOST_SUBDIR)/m4 && \
24037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24039 "RANLIB=$${RANLIB}" \
24040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24046 .PHONY: maybe-install-info-m4 install-info-m4
24047 maybe-install-info-m4:
24049 maybe-install-info-m4: install-info-m4
24054 @: $(MAKE); $(unstage)
24055 @[ -f ./m4/Makefile ] || exit 0; \
24056 r=`${PWD_COMMAND}`; export r; \
24057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24059 for flag in $(EXTRA_HOST_FLAGS) ; do \
24060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24062 echo "Doing install-info in m4" ; \
24063 (cd $(HOST_SUBDIR)/m4 && \
24064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24066 "RANLIB=$${RANLIB}" \
24067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24073 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24074 maybe-install-pdf-m4:
24076 maybe-install-pdf-m4: install-pdf-m4
24081 @: $(MAKE); $(unstage)
24082 @[ -f ./m4/Makefile ] || exit 0; \
24083 r=`${PWD_COMMAND}`; export r; \
24084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24086 for flag in $(EXTRA_HOST_FLAGS) ; do \
24087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24089 echo "Doing install-pdf in m4" ; \
24090 (cd $(HOST_SUBDIR)/m4 && \
24091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24093 "RANLIB=$${RANLIB}" \
24094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24100 .PHONY: maybe-install-html-m4 install-html-m4
24101 maybe-install-html-m4:
24103 maybe-install-html-m4: install-html-m4
24108 @: $(MAKE); $(unstage)
24109 @[ -f ./m4/Makefile ] || exit 0; \
24110 r=`${PWD_COMMAND}`; export r; \
24111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24113 for flag in $(EXTRA_HOST_FLAGS) ; do \
24114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24116 echo "Doing install-html in m4" ; \
24117 (cd $(HOST_SUBDIR)/m4 && \
24118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24120 "RANLIB=$${RANLIB}" \
24121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24127 .PHONY: maybe-installcheck-m4 installcheck-m4
24128 maybe-installcheck-m4:
24130 maybe-installcheck-m4: installcheck-m4
24134 @: $(MAKE); $(unstage)
24135 @[ -f ./m4/Makefile ] || exit 0; \
24136 r=`${PWD_COMMAND}`; export r; \
24137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24139 for flag in $(EXTRA_HOST_FLAGS) ; do \
24140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24142 echo "Doing installcheck in m4" ; \
24143 (cd $(HOST_SUBDIR)/m4 && \
24144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24146 "RANLIB=$${RANLIB}" \
24147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24153 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24154 maybe-mostlyclean-m4:
24156 maybe-mostlyclean-m4: mostlyclean-m4
24159 @: $(MAKE); $(unstage)
24160 @[ -f ./m4/Makefile ] || exit 0; \
24161 r=`${PWD_COMMAND}`; export r; \
24162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24164 for flag in $(EXTRA_HOST_FLAGS) ; do \
24165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24167 echo "Doing mostlyclean in m4" ; \
24168 (cd $(HOST_SUBDIR)/m4 && \
24169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24171 "RANLIB=$${RANLIB}" \
24172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24178 .PHONY: maybe-clean-m4 clean-m4
24181 maybe-clean-m4: clean-m4
24184 @: $(MAKE); $(unstage)
24185 @[ -f ./m4/Makefile ] || exit 0; \
24186 r=`${PWD_COMMAND}`; export r; \
24187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24189 for flag in $(EXTRA_HOST_FLAGS) ; do \
24190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24192 echo "Doing clean in m4" ; \
24193 (cd $(HOST_SUBDIR)/m4 && \
24194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24196 "RANLIB=$${RANLIB}" \
24197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24203 .PHONY: maybe-distclean-m4 distclean-m4
24204 maybe-distclean-m4:
24206 maybe-distclean-m4: distclean-m4
24209 @: $(MAKE); $(unstage)
24210 @[ -f ./m4/Makefile ] || exit 0; \
24211 r=`${PWD_COMMAND}`; export r; \
24212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24214 for flag in $(EXTRA_HOST_FLAGS) ; do \
24215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24217 echo "Doing distclean in m4" ; \
24218 (cd $(HOST_SUBDIR)/m4 && \
24219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24221 "RANLIB=$${RANLIB}" \
24222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24228 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24229 maybe-maintainer-clean-m4:
24231 maybe-maintainer-clean-m4: maintainer-clean-m4
24233 maintainer-clean-m4:
24234 @: $(MAKE); $(unstage)
24235 @[ -f ./m4/Makefile ] || exit 0; \
24236 r=`${PWD_COMMAND}`; export r; \
24237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24239 for flag in $(EXTRA_HOST_FLAGS) ; do \
24240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24242 echo "Doing maintainer-clean in m4" ; \
24243 (cd $(HOST_SUBDIR)/m4 && \
24244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24246 "RANLIB=$${RANLIB}" \
24247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24248 maintainer-clean) \
24255 .PHONY: configure-readline maybe-configure-readline
24256 maybe-configure-readline:
24258 configure-readline: stage_current
24259 @endif gcc-bootstrap
24261 maybe-configure-readline: configure-readline
24262 configure-readline:
24263 @: $(MAKE); $(unstage)
24264 @r=`${PWD_COMMAND}`; export r; \
24265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24266 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24269 echo Configuring in $(HOST_SUBDIR)/readline; \
24270 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24271 case $(srcdir) in \
24272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24273 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24276 srcdiroption="--srcdir=$${topdir}/readline"; \
24277 libsrcdir="$$s/readline"; \
24278 $(SHELL) $${libsrcdir}/configure \
24279 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24280 --target=${target_alias} $${srcdiroption} \
24288 .PHONY: all-readline maybe-all-readline
24289 maybe-all-readline:
24291 all-readline: stage_current
24292 @endif gcc-bootstrap
24294 TARGET-readline=all
24295 maybe-all-readline: all-readline
24296 all-readline: configure-readline
24297 @: $(MAKE); $(unstage)
24298 @r=`${PWD_COMMAND}`; export r; \
24299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24301 (cd $(HOST_SUBDIR)/readline && \
24302 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24303 $(TARGET-readline))
24309 .PHONY: check-readline maybe-check-readline
24310 maybe-check-readline:
24312 maybe-check-readline: check-readline
24315 @: $(MAKE); $(unstage)
24316 @r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24319 (cd $(HOST_SUBDIR)/readline && \
24320 $(MAKE) $(FLAGS_TO_PASS) check)
24324 .PHONY: install-readline maybe-install-readline
24325 maybe-install-readline:
24327 maybe-install-readline: install-readline
24329 install-readline: installdirs
24330 @: $(MAKE); $(unstage)
24331 @r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24334 (cd $(HOST_SUBDIR)/readline && \
24335 $(MAKE) $(FLAGS_TO_PASS) install)
24339 .PHONY: install-strip-readline maybe-install-strip-readline
24340 maybe-install-strip-readline:
24342 maybe-install-strip-readline: install-strip-readline
24344 install-strip-readline: installdirs
24345 @: $(MAKE); $(unstage)
24346 @r=`${PWD_COMMAND}`; export r; \
24347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24349 (cd $(HOST_SUBDIR)/readline && \
24350 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24354 # Other targets (info, dvi, pdf, etc.)
24356 .PHONY: maybe-info-readline info-readline
24357 maybe-info-readline:
24359 maybe-info-readline: info-readline
24363 @: $(MAKE); $(unstage)
24364 @[ -f ./readline/Makefile ] || exit 0; \
24365 r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24368 for flag in $(EXTRA_HOST_FLAGS) ; do \
24369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24371 echo "Doing info in readline" ; \
24372 (cd $(HOST_SUBDIR)/readline && \
24373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24375 "RANLIB=$${RANLIB}" \
24376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24382 .PHONY: maybe-dvi-readline dvi-readline
24383 maybe-dvi-readline:
24385 maybe-dvi-readline: dvi-readline
24389 @: $(MAKE); $(unstage)
24390 @[ -f ./readline/Makefile ] || exit 0; \
24391 r=`${PWD_COMMAND}`; export r; \
24392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24394 for flag in $(EXTRA_HOST_FLAGS) ; do \
24395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24397 echo "Doing dvi in readline" ; \
24398 (cd $(HOST_SUBDIR)/readline && \
24399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24401 "RANLIB=$${RANLIB}" \
24402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24408 .PHONY: maybe-pdf-readline pdf-readline
24409 maybe-pdf-readline:
24411 maybe-pdf-readline: pdf-readline
24415 @: $(MAKE); $(unstage)
24416 @[ -f ./readline/Makefile ] || exit 0; \
24417 r=`${PWD_COMMAND}`; export r; \
24418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24420 for flag in $(EXTRA_HOST_FLAGS) ; do \
24421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24423 echo "Doing pdf in readline" ; \
24424 (cd $(HOST_SUBDIR)/readline && \
24425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24427 "RANLIB=$${RANLIB}" \
24428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24434 .PHONY: maybe-html-readline html-readline
24435 maybe-html-readline:
24437 maybe-html-readline: html-readline
24441 @: $(MAKE); $(unstage)
24442 @[ -f ./readline/Makefile ] || exit 0; \
24443 r=`${PWD_COMMAND}`; export r; \
24444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24446 for flag in $(EXTRA_HOST_FLAGS) ; do \
24447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24449 echo "Doing html in readline" ; \
24450 (cd $(HOST_SUBDIR)/readline && \
24451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24453 "RANLIB=$${RANLIB}" \
24454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24460 .PHONY: maybe-TAGS-readline TAGS-readline
24461 maybe-TAGS-readline:
24463 maybe-TAGS-readline: TAGS-readline
24467 @: $(MAKE); $(unstage)
24468 @[ -f ./readline/Makefile ] || exit 0; \
24469 r=`${PWD_COMMAND}`; export r; \
24470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24472 for flag in $(EXTRA_HOST_FLAGS) ; do \
24473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24475 echo "Doing TAGS in readline" ; \
24476 (cd $(HOST_SUBDIR)/readline && \
24477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24479 "RANLIB=$${RANLIB}" \
24480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24486 .PHONY: maybe-install-info-readline install-info-readline
24487 maybe-install-info-readline:
24489 maybe-install-info-readline: install-info-readline
24491 install-info-readline: \
24492 configure-readline \
24494 @: $(MAKE); $(unstage)
24495 @[ -f ./readline/Makefile ] || exit 0; \
24496 r=`${PWD_COMMAND}`; export r; \
24497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24499 for flag in $(EXTRA_HOST_FLAGS) ; do \
24500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24502 echo "Doing install-info in readline" ; \
24503 (cd $(HOST_SUBDIR)/readline && \
24504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24506 "RANLIB=$${RANLIB}" \
24507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24513 .PHONY: maybe-install-pdf-readline install-pdf-readline
24514 maybe-install-pdf-readline:
24516 maybe-install-pdf-readline: install-pdf-readline
24518 install-pdf-readline: \
24519 configure-readline \
24521 @: $(MAKE); $(unstage)
24522 @[ -f ./readline/Makefile ] || exit 0; \
24523 r=`${PWD_COMMAND}`; export r; \
24524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24526 for flag in $(EXTRA_HOST_FLAGS) ; do \
24527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24529 echo "Doing install-pdf in readline" ; \
24530 (cd $(HOST_SUBDIR)/readline && \
24531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24533 "RANLIB=$${RANLIB}" \
24534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24540 .PHONY: maybe-install-html-readline install-html-readline
24541 maybe-install-html-readline:
24543 maybe-install-html-readline: install-html-readline
24545 install-html-readline: \
24546 configure-readline \
24548 @: $(MAKE); $(unstage)
24549 @[ -f ./readline/Makefile ] || exit 0; \
24550 r=`${PWD_COMMAND}`; export r; \
24551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24553 for flag in $(EXTRA_HOST_FLAGS) ; do \
24554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24556 echo "Doing install-html in readline" ; \
24557 (cd $(HOST_SUBDIR)/readline && \
24558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24560 "RANLIB=$${RANLIB}" \
24561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24567 .PHONY: maybe-installcheck-readline installcheck-readline
24568 maybe-installcheck-readline:
24570 maybe-installcheck-readline: installcheck-readline
24572 installcheck-readline: \
24574 @: $(MAKE); $(unstage)
24575 @[ -f ./readline/Makefile ] || exit 0; \
24576 r=`${PWD_COMMAND}`; export r; \
24577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24579 for flag in $(EXTRA_HOST_FLAGS) ; do \
24580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24582 echo "Doing installcheck in readline" ; \
24583 (cd $(HOST_SUBDIR)/readline && \
24584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24586 "RANLIB=$${RANLIB}" \
24587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24593 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24594 maybe-mostlyclean-readline:
24596 maybe-mostlyclean-readline: mostlyclean-readline
24598 mostlyclean-readline:
24599 @: $(MAKE); $(unstage)
24600 @[ -f ./readline/Makefile ] || exit 0; \
24601 r=`${PWD_COMMAND}`; export r; \
24602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24604 for flag in $(EXTRA_HOST_FLAGS) ; do \
24605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24607 echo "Doing mostlyclean in readline" ; \
24608 (cd $(HOST_SUBDIR)/readline && \
24609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24611 "RANLIB=$${RANLIB}" \
24612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24618 .PHONY: maybe-clean-readline clean-readline
24619 maybe-clean-readline:
24621 maybe-clean-readline: clean-readline
24624 @: $(MAKE); $(unstage)
24625 @[ -f ./readline/Makefile ] || exit 0; \
24626 r=`${PWD_COMMAND}`; export r; \
24627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24629 for flag in $(EXTRA_HOST_FLAGS) ; do \
24630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24632 echo "Doing clean in readline" ; \
24633 (cd $(HOST_SUBDIR)/readline && \
24634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24636 "RANLIB=$${RANLIB}" \
24637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24643 .PHONY: maybe-distclean-readline distclean-readline
24644 maybe-distclean-readline:
24646 maybe-distclean-readline: distclean-readline
24648 distclean-readline:
24649 @: $(MAKE); $(unstage)
24650 @[ -f ./readline/Makefile ] || exit 0; \
24651 r=`${PWD_COMMAND}`; export r; \
24652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24654 for flag in $(EXTRA_HOST_FLAGS) ; do \
24655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24657 echo "Doing distclean in readline" ; \
24658 (cd $(HOST_SUBDIR)/readline && \
24659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24661 "RANLIB=$${RANLIB}" \
24662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24668 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24669 maybe-maintainer-clean-readline:
24671 maybe-maintainer-clean-readline: maintainer-clean-readline
24673 maintainer-clean-readline:
24674 @: $(MAKE); $(unstage)
24675 @[ -f ./readline/Makefile ] || exit 0; \
24676 r=`${PWD_COMMAND}`; export r; \
24677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 for flag in $(EXTRA_HOST_FLAGS) ; do \
24680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24682 echo "Doing maintainer-clean in readline" ; \
24683 (cd $(HOST_SUBDIR)/readline && \
24684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24686 "RANLIB=$${RANLIB}" \
24687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24688 maintainer-clean) \
24695 .PHONY: configure-sid maybe-configure-sid
24696 maybe-configure-sid:
24698 configure-sid: stage_current
24699 @endif gcc-bootstrap
24701 maybe-configure-sid: configure-sid
24703 @: $(MAKE); $(unstage)
24704 @r=`${PWD_COMMAND}`; export r; \
24705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24706 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24709 echo Configuring in $(HOST_SUBDIR)/sid; \
24710 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24711 case $(srcdir) in \
24712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24713 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24716 srcdiroption="--srcdir=$${topdir}/sid"; \
24717 libsrcdir="$$s/sid"; \
24718 $(SHELL) $${libsrcdir}/configure \
24719 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24720 --target=${target_alias} $${srcdiroption} \
24728 .PHONY: all-sid maybe-all-sid
24731 all-sid: stage_current
24732 @endif gcc-bootstrap
24735 maybe-all-sid: all-sid
24736 all-sid: configure-sid
24737 @: $(MAKE); $(unstage)
24738 @r=`${PWD_COMMAND}`; export r; \
24739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24741 (cd $(HOST_SUBDIR)/sid && \
24742 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24749 .PHONY: check-sid maybe-check-sid
24752 maybe-check-sid: check-sid
24755 @: $(MAKE); $(unstage)
24756 @r=`${PWD_COMMAND}`; export r; \
24757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24759 (cd $(HOST_SUBDIR)/sid && \
24760 $(MAKE) $(FLAGS_TO_PASS) check)
24764 .PHONY: install-sid maybe-install-sid
24767 maybe-install-sid: install-sid
24769 install-sid: installdirs
24770 @: $(MAKE); $(unstage)
24771 @r=`${PWD_COMMAND}`; export r; \
24772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24774 (cd $(HOST_SUBDIR)/sid && \
24775 $(MAKE) $(FLAGS_TO_PASS) install)
24779 .PHONY: install-strip-sid maybe-install-strip-sid
24780 maybe-install-strip-sid:
24782 maybe-install-strip-sid: install-strip-sid
24784 install-strip-sid: installdirs
24785 @: $(MAKE); $(unstage)
24786 @r=`${PWD_COMMAND}`; export r; \
24787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24789 (cd $(HOST_SUBDIR)/sid && \
24790 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24794 # Other targets (info, dvi, pdf, etc.)
24796 .PHONY: maybe-info-sid info-sid
24799 maybe-info-sid: info-sid
24803 @: $(MAKE); $(unstage)
24804 @[ -f ./sid/Makefile ] || exit 0; \
24805 r=`${PWD_COMMAND}`; export r; \
24806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24808 for flag in $(EXTRA_HOST_FLAGS) ; do \
24809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24811 echo "Doing info in sid" ; \
24812 (cd $(HOST_SUBDIR)/sid && \
24813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24815 "RANLIB=$${RANLIB}" \
24816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24822 .PHONY: maybe-dvi-sid dvi-sid
24825 maybe-dvi-sid: dvi-sid
24829 @: $(MAKE); $(unstage)
24830 @[ -f ./sid/Makefile ] || exit 0; \
24831 r=`${PWD_COMMAND}`; export r; \
24832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24834 for flag in $(EXTRA_HOST_FLAGS) ; do \
24835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24837 echo "Doing dvi in sid" ; \
24838 (cd $(HOST_SUBDIR)/sid && \
24839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24841 "RANLIB=$${RANLIB}" \
24842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24848 .PHONY: maybe-pdf-sid pdf-sid
24851 maybe-pdf-sid: pdf-sid
24855 @: $(MAKE); $(unstage)
24856 @[ -f ./sid/Makefile ] || exit 0; \
24857 r=`${PWD_COMMAND}`; export r; \
24858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24860 for flag in $(EXTRA_HOST_FLAGS) ; do \
24861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24863 echo "Doing pdf in sid" ; \
24864 (cd $(HOST_SUBDIR)/sid && \
24865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24867 "RANLIB=$${RANLIB}" \
24868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24874 .PHONY: maybe-html-sid html-sid
24877 maybe-html-sid: html-sid
24881 @: $(MAKE); $(unstage)
24882 @[ -f ./sid/Makefile ] || exit 0; \
24883 r=`${PWD_COMMAND}`; export r; \
24884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24886 for flag in $(EXTRA_HOST_FLAGS) ; do \
24887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24889 echo "Doing html in sid" ; \
24890 (cd $(HOST_SUBDIR)/sid && \
24891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24893 "RANLIB=$${RANLIB}" \
24894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24900 .PHONY: maybe-TAGS-sid TAGS-sid
24903 maybe-TAGS-sid: TAGS-sid
24907 @: $(MAKE); $(unstage)
24908 @[ -f ./sid/Makefile ] || exit 0; \
24909 r=`${PWD_COMMAND}`; export r; \
24910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24912 for flag in $(EXTRA_HOST_FLAGS) ; do \
24913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24915 echo "Doing TAGS in sid" ; \
24916 (cd $(HOST_SUBDIR)/sid && \
24917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24919 "RANLIB=$${RANLIB}" \
24920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24926 .PHONY: maybe-install-info-sid install-info-sid
24927 maybe-install-info-sid:
24929 maybe-install-info-sid: install-info-sid
24931 install-info-sid: \
24934 @: $(MAKE); $(unstage)
24935 @[ -f ./sid/Makefile ] || exit 0; \
24936 r=`${PWD_COMMAND}`; export r; \
24937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24939 for flag in $(EXTRA_HOST_FLAGS) ; do \
24940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24942 echo "Doing install-info in sid" ; \
24943 (cd $(HOST_SUBDIR)/sid && \
24944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24946 "RANLIB=$${RANLIB}" \
24947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24953 .PHONY: maybe-install-pdf-sid install-pdf-sid
24954 maybe-install-pdf-sid:
24956 maybe-install-pdf-sid: install-pdf-sid
24961 @: $(MAKE); $(unstage)
24962 @[ -f ./sid/Makefile ] || exit 0; \
24963 r=`${PWD_COMMAND}`; export r; \
24964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24966 for flag in $(EXTRA_HOST_FLAGS) ; do \
24967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24969 echo "Doing install-pdf in sid" ; \
24970 (cd $(HOST_SUBDIR)/sid && \
24971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24973 "RANLIB=$${RANLIB}" \
24974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24980 .PHONY: maybe-install-html-sid install-html-sid
24981 maybe-install-html-sid:
24983 maybe-install-html-sid: install-html-sid
24985 install-html-sid: \
24988 @: $(MAKE); $(unstage)
24989 @[ -f ./sid/Makefile ] || exit 0; \
24990 r=`${PWD_COMMAND}`; export r; \
24991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24993 for flag in $(EXTRA_HOST_FLAGS) ; do \
24994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24996 echo "Doing install-html in sid" ; \
24997 (cd $(HOST_SUBDIR)/sid && \
24998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25000 "RANLIB=$${RANLIB}" \
25001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25007 .PHONY: maybe-installcheck-sid installcheck-sid
25008 maybe-installcheck-sid:
25010 maybe-installcheck-sid: installcheck-sid
25012 installcheck-sid: \
25014 @: $(MAKE); $(unstage)
25015 @[ -f ./sid/Makefile ] || exit 0; \
25016 r=`${PWD_COMMAND}`; export r; \
25017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25019 for flag in $(EXTRA_HOST_FLAGS) ; do \
25020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25022 echo "Doing installcheck in sid" ; \
25023 (cd $(HOST_SUBDIR)/sid && \
25024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25026 "RANLIB=$${RANLIB}" \
25027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25033 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25034 maybe-mostlyclean-sid:
25036 maybe-mostlyclean-sid: mostlyclean-sid
25039 @: $(MAKE); $(unstage)
25040 @[ -f ./sid/Makefile ] || exit 0; \
25041 r=`${PWD_COMMAND}`; export r; \
25042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25044 for flag in $(EXTRA_HOST_FLAGS) ; do \
25045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25047 echo "Doing mostlyclean in sid" ; \
25048 (cd $(HOST_SUBDIR)/sid && \
25049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25051 "RANLIB=$${RANLIB}" \
25052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25058 .PHONY: maybe-clean-sid clean-sid
25061 maybe-clean-sid: clean-sid
25064 @: $(MAKE); $(unstage)
25065 @[ -f ./sid/Makefile ] || exit 0; \
25066 r=`${PWD_COMMAND}`; export r; \
25067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25069 for flag in $(EXTRA_HOST_FLAGS) ; do \
25070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25072 echo "Doing clean in sid" ; \
25073 (cd $(HOST_SUBDIR)/sid && \
25074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25076 "RANLIB=$${RANLIB}" \
25077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25083 .PHONY: maybe-distclean-sid distclean-sid
25084 maybe-distclean-sid:
25086 maybe-distclean-sid: distclean-sid
25089 @: $(MAKE); $(unstage)
25090 @[ -f ./sid/Makefile ] || exit 0; \
25091 r=`${PWD_COMMAND}`; export r; \
25092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25094 for flag in $(EXTRA_HOST_FLAGS) ; do \
25095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25097 echo "Doing distclean in sid" ; \
25098 (cd $(HOST_SUBDIR)/sid && \
25099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25101 "RANLIB=$${RANLIB}" \
25102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25108 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25109 maybe-maintainer-clean-sid:
25111 maybe-maintainer-clean-sid: maintainer-clean-sid
25113 maintainer-clean-sid:
25114 @: $(MAKE); $(unstage)
25115 @[ -f ./sid/Makefile ] || exit 0; \
25116 r=`${PWD_COMMAND}`; export r; \
25117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25119 for flag in $(EXTRA_HOST_FLAGS) ; do \
25120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25122 echo "Doing maintainer-clean in sid" ; \
25123 (cd $(HOST_SUBDIR)/sid && \
25124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25126 "RANLIB=$${RANLIB}" \
25127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25128 maintainer-clean) \
25135 .PHONY: configure-sim maybe-configure-sim
25136 maybe-configure-sim:
25138 configure-sim: stage_current
25139 @endif gcc-bootstrap
25141 maybe-configure-sim: configure-sim
25143 @: $(MAKE); $(unstage)
25144 @r=`${PWD_COMMAND}`; export r; \
25145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25146 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25149 echo Configuring in $(HOST_SUBDIR)/sim; \
25150 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25151 case $(srcdir) in \
25152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25153 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25156 srcdiroption="--srcdir=$${topdir}/sim"; \
25157 libsrcdir="$$s/sim"; \
25158 $(SHELL) $${libsrcdir}/configure \
25159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25160 --target=${target_alias} $${srcdiroption} \
25168 .PHONY: all-sim maybe-all-sim
25171 all-sim: stage_current
25172 @endif gcc-bootstrap
25175 maybe-all-sim: all-sim
25176 all-sim: configure-sim
25177 @: $(MAKE); $(unstage)
25178 @r=`${PWD_COMMAND}`; export r; \
25179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25181 (cd $(HOST_SUBDIR)/sim && \
25182 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25189 .PHONY: check-sim maybe-check-sim
25192 maybe-check-sim: check-sim
25195 @: $(MAKE); $(unstage)
25196 @r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25199 (cd $(HOST_SUBDIR)/sim && \
25200 $(MAKE) $(FLAGS_TO_PASS) check)
25204 .PHONY: install-sim maybe-install-sim
25207 maybe-install-sim: install-sim
25209 install-sim: installdirs
25210 @: $(MAKE); $(unstage)
25211 @r=`${PWD_COMMAND}`; export r; \
25212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25214 (cd $(HOST_SUBDIR)/sim && \
25215 $(MAKE) $(FLAGS_TO_PASS) install)
25219 .PHONY: install-strip-sim maybe-install-strip-sim
25220 maybe-install-strip-sim:
25222 maybe-install-strip-sim: install-strip-sim
25224 install-strip-sim: installdirs
25225 @: $(MAKE); $(unstage)
25226 @r=`${PWD_COMMAND}`; export r; \
25227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25229 (cd $(HOST_SUBDIR)/sim && \
25230 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25234 # Other targets (info, dvi, pdf, etc.)
25236 .PHONY: maybe-info-sim info-sim
25239 maybe-info-sim: info-sim
25243 @: $(MAKE); $(unstage)
25244 @[ -f ./sim/Makefile ] || exit 0; \
25245 r=`${PWD_COMMAND}`; export r; \
25246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25248 for flag in $(EXTRA_HOST_FLAGS) ; do \
25249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25251 echo "Doing info in sim" ; \
25252 (cd $(HOST_SUBDIR)/sim && \
25253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25255 "RANLIB=$${RANLIB}" \
25256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25262 .PHONY: maybe-dvi-sim dvi-sim
25265 maybe-dvi-sim: dvi-sim
25269 @: $(MAKE); $(unstage)
25270 @[ -f ./sim/Makefile ] || exit 0; \
25271 r=`${PWD_COMMAND}`; export r; \
25272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25274 for flag in $(EXTRA_HOST_FLAGS) ; do \
25275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25277 echo "Doing dvi in sim" ; \
25278 (cd $(HOST_SUBDIR)/sim && \
25279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25281 "RANLIB=$${RANLIB}" \
25282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25288 .PHONY: maybe-pdf-sim pdf-sim
25291 maybe-pdf-sim: pdf-sim
25295 @: $(MAKE); $(unstage)
25296 @[ -f ./sim/Makefile ] || exit 0; \
25297 r=`${PWD_COMMAND}`; export r; \
25298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25300 for flag in $(EXTRA_HOST_FLAGS) ; do \
25301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25303 echo "Doing pdf in sim" ; \
25304 (cd $(HOST_SUBDIR)/sim && \
25305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25307 "RANLIB=$${RANLIB}" \
25308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25314 .PHONY: maybe-html-sim html-sim
25317 maybe-html-sim: html-sim
25321 @: $(MAKE); $(unstage)
25322 @[ -f ./sim/Makefile ] || exit 0; \
25323 r=`${PWD_COMMAND}`; export r; \
25324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25326 for flag in $(EXTRA_HOST_FLAGS) ; do \
25327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25329 echo "Doing html in sim" ; \
25330 (cd $(HOST_SUBDIR)/sim && \
25331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25333 "RANLIB=$${RANLIB}" \
25334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25340 .PHONY: maybe-TAGS-sim TAGS-sim
25343 maybe-TAGS-sim: TAGS-sim
25347 @: $(MAKE); $(unstage)
25348 @[ -f ./sim/Makefile ] || exit 0; \
25349 r=`${PWD_COMMAND}`; export r; \
25350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25352 for flag in $(EXTRA_HOST_FLAGS) ; do \
25353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25355 echo "Doing TAGS in sim" ; \
25356 (cd $(HOST_SUBDIR)/sim && \
25357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25359 "RANLIB=$${RANLIB}" \
25360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25366 .PHONY: maybe-install-info-sim install-info-sim
25367 maybe-install-info-sim:
25369 maybe-install-info-sim: install-info-sim
25371 install-info-sim: \
25374 @: $(MAKE); $(unstage)
25375 @[ -f ./sim/Makefile ] || exit 0; \
25376 r=`${PWD_COMMAND}`; export r; \
25377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25379 for flag in $(EXTRA_HOST_FLAGS) ; do \
25380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25382 echo "Doing install-info in sim" ; \
25383 (cd $(HOST_SUBDIR)/sim && \
25384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25386 "RANLIB=$${RANLIB}" \
25387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25393 .PHONY: maybe-install-pdf-sim install-pdf-sim
25394 maybe-install-pdf-sim:
25396 maybe-install-pdf-sim: install-pdf-sim
25401 @: $(MAKE); $(unstage)
25402 @[ -f ./sim/Makefile ] || exit 0; \
25403 r=`${PWD_COMMAND}`; export r; \
25404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25406 for flag in $(EXTRA_HOST_FLAGS) ; do \
25407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25409 echo "Doing install-pdf in sim" ; \
25410 (cd $(HOST_SUBDIR)/sim && \
25411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25413 "RANLIB=$${RANLIB}" \
25414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25420 .PHONY: maybe-install-html-sim install-html-sim
25421 maybe-install-html-sim:
25423 maybe-install-html-sim: install-html-sim
25425 install-html-sim: \
25428 @: $(MAKE); $(unstage)
25429 @[ -f ./sim/Makefile ] || exit 0; \
25430 r=`${PWD_COMMAND}`; export r; \
25431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25433 for flag in $(EXTRA_HOST_FLAGS) ; do \
25434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25436 echo "Doing install-html in sim" ; \
25437 (cd $(HOST_SUBDIR)/sim && \
25438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25440 "RANLIB=$${RANLIB}" \
25441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25447 .PHONY: maybe-installcheck-sim installcheck-sim
25448 maybe-installcheck-sim:
25450 maybe-installcheck-sim: installcheck-sim
25452 installcheck-sim: \
25454 @: $(MAKE); $(unstage)
25455 @[ -f ./sim/Makefile ] || exit 0; \
25456 r=`${PWD_COMMAND}`; export r; \
25457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25459 for flag in $(EXTRA_HOST_FLAGS) ; do \
25460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25462 echo "Doing installcheck in sim" ; \
25463 (cd $(HOST_SUBDIR)/sim && \
25464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25466 "RANLIB=$${RANLIB}" \
25467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25473 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25474 maybe-mostlyclean-sim:
25476 maybe-mostlyclean-sim: mostlyclean-sim
25479 @: $(MAKE); $(unstage)
25480 @[ -f ./sim/Makefile ] || exit 0; \
25481 r=`${PWD_COMMAND}`; export r; \
25482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25484 for flag in $(EXTRA_HOST_FLAGS) ; do \
25485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25487 echo "Doing mostlyclean in sim" ; \
25488 (cd $(HOST_SUBDIR)/sim && \
25489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25491 "RANLIB=$${RANLIB}" \
25492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25498 .PHONY: maybe-clean-sim clean-sim
25501 maybe-clean-sim: clean-sim
25504 @: $(MAKE); $(unstage)
25505 @[ -f ./sim/Makefile ] || exit 0; \
25506 r=`${PWD_COMMAND}`; export r; \
25507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25509 for flag in $(EXTRA_HOST_FLAGS) ; do \
25510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25512 echo "Doing clean in sim" ; \
25513 (cd $(HOST_SUBDIR)/sim && \
25514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25516 "RANLIB=$${RANLIB}" \
25517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25523 .PHONY: maybe-distclean-sim distclean-sim
25524 maybe-distclean-sim:
25526 maybe-distclean-sim: distclean-sim
25529 @: $(MAKE); $(unstage)
25530 @[ -f ./sim/Makefile ] || exit 0; \
25531 r=`${PWD_COMMAND}`; export r; \
25532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25534 for flag in $(EXTRA_HOST_FLAGS) ; do \
25535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25537 echo "Doing distclean in sim" ; \
25538 (cd $(HOST_SUBDIR)/sim && \
25539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25541 "RANLIB=$${RANLIB}" \
25542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25548 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25549 maybe-maintainer-clean-sim:
25551 maybe-maintainer-clean-sim: maintainer-clean-sim
25553 maintainer-clean-sim:
25554 @: $(MAKE); $(unstage)
25555 @[ -f ./sim/Makefile ] || exit 0; \
25556 r=`${PWD_COMMAND}`; export r; \
25557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25559 for flag in $(EXTRA_HOST_FLAGS) ; do \
25560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25562 echo "Doing maintainer-clean in sim" ; \
25563 (cd $(HOST_SUBDIR)/sim && \
25564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25566 "RANLIB=$${RANLIB}" \
25567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25568 maintainer-clean) \
25575 .PHONY: configure-texinfo maybe-configure-texinfo
25576 maybe-configure-texinfo:
25578 configure-texinfo: stage_current
25579 @endif gcc-bootstrap
25581 maybe-configure-texinfo: configure-texinfo
25583 @: $(MAKE); $(unstage)
25584 @r=`${PWD_COMMAND}`; export r; \
25585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25586 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25589 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25590 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25591 case $(srcdir) in \
25592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25593 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25596 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25597 libsrcdir="$$s/texinfo"; \
25598 $(SHELL) $${libsrcdir}/configure \
25599 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25600 --target=${target_alias} $${srcdiroption} \
25608 .PHONY: all-texinfo maybe-all-texinfo
25611 all-texinfo: stage_current
25612 @endif gcc-bootstrap
25615 maybe-all-texinfo: all-texinfo
25616 all-texinfo: configure-texinfo
25617 @: $(MAKE); $(unstage)
25618 @r=`${PWD_COMMAND}`; export r; \
25619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25621 (cd $(HOST_SUBDIR)/texinfo && \
25622 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25629 .PHONY: check-texinfo maybe-check-texinfo
25630 maybe-check-texinfo:
25632 maybe-check-texinfo: check-texinfo
25635 @: $(MAKE); $(unstage)
25636 @r=`${PWD_COMMAND}`; export r; \
25637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25639 (cd $(HOST_SUBDIR)/texinfo && \
25640 $(MAKE) $(FLAGS_TO_PASS) check)
25644 .PHONY: install-texinfo maybe-install-texinfo
25645 maybe-install-texinfo:
25647 maybe-install-texinfo: install-texinfo
25653 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
25654 maybe-install-strip-texinfo:
25656 maybe-install-strip-texinfo: install-strip-texinfo
25658 install-strip-texinfo:
25662 # Other targets (info, dvi, pdf, etc.)
25664 .PHONY: maybe-info-texinfo info-texinfo
25665 maybe-info-texinfo:
25667 maybe-info-texinfo: info-texinfo
25671 @: $(MAKE); $(unstage)
25672 @[ -f ./texinfo/Makefile ] || exit 0; \
25673 r=`${PWD_COMMAND}`; export r; \
25674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25676 for flag in $(EXTRA_HOST_FLAGS) ; do \
25677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25679 echo "Doing info in texinfo" ; \
25680 (cd $(HOST_SUBDIR)/texinfo && \
25681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25683 "RANLIB=$${RANLIB}" \
25684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25690 .PHONY: maybe-dvi-texinfo dvi-texinfo
25693 maybe-dvi-texinfo: dvi-texinfo
25697 @: $(MAKE); $(unstage)
25698 @[ -f ./texinfo/Makefile ] || exit 0; \
25699 r=`${PWD_COMMAND}`; export r; \
25700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25702 for flag in $(EXTRA_HOST_FLAGS) ; do \
25703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25705 echo "Doing dvi in texinfo" ; \
25706 (cd $(HOST_SUBDIR)/texinfo && \
25707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25709 "RANLIB=$${RANLIB}" \
25710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25716 .PHONY: maybe-pdf-texinfo pdf-texinfo
25719 maybe-pdf-texinfo: pdf-texinfo
25723 @: $(MAKE); $(unstage)
25724 @[ -f ./texinfo/Makefile ] || exit 0; \
25725 r=`${PWD_COMMAND}`; export r; \
25726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25728 for flag in $(EXTRA_HOST_FLAGS) ; do \
25729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25731 echo "Doing pdf in texinfo" ; \
25732 (cd $(HOST_SUBDIR)/texinfo && \
25733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25735 "RANLIB=$${RANLIB}" \
25736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25742 .PHONY: maybe-html-texinfo html-texinfo
25743 maybe-html-texinfo:
25745 maybe-html-texinfo: html-texinfo
25749 @: $(MAKE); $(unstage)
25750 @[ -f ./texinfo/Makefile ] || exit 0; \
25751 r=`${PWD_COMMAND}`; export r; \
25752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25754 for flag in $(EXTRA_HOST_FLAGS) ; do \
25755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25757 echo "Doing html in texinfo" ; \
25758 (cd $(HOST_SUBDIR)/texinfo && \
25759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25761 "RANLIB=$${RANLIB}" \
25762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25768 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25769 maybe-TAGS-texinfo:
25771 maybe-TAGS-texinfo: TAGS-texinfo
25775 @: $(MAKE); $(unstage)
25776 @[ -f ./texinfo/Makefile ] || exit 0; \
25777 r=`${PWD_COMMAND}`; export r; \
25778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25780 for flag in $(EXTRA_HOST_FLAGS) ; do \
25781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25783 echo "Doing TAGS in texinfo" ; \
25784 (cd $(HOST_SUBDIR)/texinfo && \
25785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25787 "RANLIB=$${RANLIB}" \
25788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25794 .PHONY: maybe-install-info-texinfo install-info-texinfo
25795 maybe-install-info-texinfo:
25797 maybe-install-info-texinfo: install-info-texinfo
25799 install-info-texinfo: \
25800 configure-texinfo \
25802 @: $(MAKE); $(unstage)
25803 @[ -f ./texinfo/Makefile ] || exit 0; \
25804 r=`${PWD_COMMAND}`; export r; \
25805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25807 for flag in $(EXTRA_HOST_FLAGS) ; do \
25808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25810 echo "Doing install-info in texinfo" ; \
25811 (cd $(HOST_SUBDIR)/texinfo && \
25812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25814 "RANLIB=$${RANLIB}" \
25815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25821 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25822 maybe-install-pdf-texinfo:
25824 maybe-install-pdf-texinfo: install-pdf-texinfo
25826 install-pdf-texinfo: \
25827 configure-texinfo \
25829 @: $(MAKE); $(unstage)
25830 @[ -f ./texinfo/Makefile ] || exit 0; \
25831 r=`${PWD_COMMAND}`; export r; \
25832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25834 for flag in $(EXTRA_HOST_FLAGS) ; do \
25835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25837 echo "Doing install-pdf in texinfo" ; \
25838 (cd $(HOST_SUBDIR)/texinfo && \
25839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25841 "RANLIB=$${RANLIB}" \
25842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25848 .PHONY: maybe-install-html-texinfo install-html-texinfo
25849 maybe-install-html-texinfo:
25851 maybe-install-html-texinfo: install-html-texinfo
25853 install-html-texinfo: \
25854 configure-texinfo \
25856 @: $(MAKE); $(unstage)
25857 @[ -f ./texinfo/Makefile ] || exit 0; \
25858 r=`${PWD_COMMAND}`; export r; \
25859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25861 for flag in $(EXTRA_HOST_FLAGS) ; do \
25862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25864 echo "Doing install-html in texinfo" ; \
25865 (cd $(HOST_SUBDIR)/texinfo && \
25866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25868 "RANLIB=$${RANLIB}" \
25869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25875 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25876 maybe-installcheck-texinfo:
25878 maybe-installcheck-texinfo: installcheck-texinfo
25880 installcheck-texinfo: \
25882 @: $(MAKE); $(unstage)
25883 @[ -f ./texinfo/Makefile ] || exit 0; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25887 for flag in $(EXTRA_HOST_FLAGS) ; do \
25888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25890 echo "Doing installcheck in texinfo" ; \
25891 (cd $(HOST_SUBDIR)/texinfo && \
25892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25894 "RANLIB=$${RANLIB}" \
25895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25901 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25902 maybe-mostlyclean-texinfo:
25904 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25906 mostlyclean-texinfo:
25907 @: $(MAKE); $(unstage)
25908 @[ -f ./texinfo/Makefile ] || exit 0; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912 for flag in $(EXTRA_HOST_FLAGS) ; do \
25913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25915 echo "Doing mostlyclean in texinfo" ; \
25916 (cd $(HOST_SUBDIR)/texinfo && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25926 .PHONY: maybe-clean-texinfo clean-texinfo
25927 maybe-clean-texinfo:
25929 maybe-clean-texinfo: clean-texinfo
25932 @: $(MAKE); $(unstage)
25933 @[ -f ./texinfo/Makefile ] || exit 0; \
25934 r=`${PWD_COMMAND}`; export r; \
25935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 for flag in $(EXTRA_HOST_FLAGS) ; do \
25938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25940 echo "Doing clean in texinfo" ; \
25941 (cd $(HOST_SUBDIR)/texinfo && \
25942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25944 "RANLIB=$${RANLIB}" \
25945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25951 .PHONY: maybe-distclean-texinfo distclean-texinfo
25952 maybe-distclean-texinfo:
25954 maybe-distclean-texinfo: distclean-texinfo
25957 @: $(MAKE); $(unstage)
25958 @[ -f ./texinfo/Makefile ] || exit 0; \
25959 r=`${PWD_COMMAND}`; export r; \
25960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25962 for flag in $(EXTRA_HOST_FLAGS) ; do \
25963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25965 echo "Doing distclean in texinfo" ; \
25966 (cd $(HOST_SUBDIR)/texinfo && \
25967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25969 "RANLIB=$${RANLIB}" \
25970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25976 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25977 maybe-maintainer-clean-texinfo:
25979 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25981 maintainer-clean-texinfo:
25982 @: $(MAKE); $(unstage)
25983 @[ -f ./texinfo/Makefile ] || exit 0; \
25984 r=`${PWD_COMMAND}`; export r; \
25985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25987 for flag in $(EXTRA_HOST_FLAGS) ; do \
25988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25990 echo "Doing maintainer-clean in texinfo" ; \
25991 (cd $(HOST_SUBDIR)/texinfo && \
25992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25994 "RANLIB=$${RANLIB}" \
25995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25996 maintainer-clean) \
26003 .PHONY: configure-zlib maybe-configure-zlib
26004 maybe-configure-zlib:
26006 configure-zlib: stage_current
26007 @endif gcc-bootstrap
26009 maybe-configure-zlib: configure-zlib
26011 @r=`${PWD_COMMAND}`; export r; \
26012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26013 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26016 echo Configuring in $(HOST_SUBDIR)/zlib; \
26017 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26018 case $(srcdir) in \
26019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26020 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26023 srcdiroption="--srcdir=$${topdir}/zlib"; \
26024 libsrcdir="$$s/zlib"; \
26025 $(SHELL) $${libsrcdir}/configure \
26026 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26027 --target=${target_alias} $${srcdiroption} \
26033 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26034 maybe-configure-stage1-zlib:
26036 maybe-configure-stage1-zlib: configure-stage1-zlib
26037 configure-stage1-zlib:
26038 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26040 @r=`${PWD_COMMAND}`; export r; \
26041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26042 TFLAGS="$(STAGE1_TFLAGS)"; \
26043 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26045 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26046 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26047 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26048 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26050 cd $(HOST_SUBDIR)/zlib || exit 1; \
26051 case $(srcdir) in \
26052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26053 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26056 srcdiroption="--srcdir=$${topdir}/zlib"; \
26057 libsrcdir="$$s/zlib"; \
26058 $(SHELL) $${libsrcdir}/configure \
26059 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26060 --target=${target_alias} $${srcdiroption} \
26061 $(STAGE1_CONFIGURE_FLAGS)
26062 @endif zlib-bootstrap
26064 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26065 maybe-configure-stage2-zlib:
26067 maybe-configure-stage2-zlib: configure-stage2-zlib
26068 configure-stage2-zlib:
26069 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26071 @r=`${PWD_COMMAND}`; export r; \
26072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26073 TFLAGS="$(STAGE2_TFLAGS)"; \
26074 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26076 $(POSTSTAGE1_HOST_EXPORTS) \
26077 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26078 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26079 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26080 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26082 cd $(HOST_SUBDIR)/zlib || exit 1; \
26083 case $(srcdir) in \
26084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26085 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26088 srcdiroption="--srcdir=$${topdir}/zlib"; \
26089 libsrcdir="$$s/zlib"; \
26090 $(SHELL) $${libsrcdir}/configure \
26091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26092 --target=${target_alias} $${srcdiroption} \
26093 --with-build-libsubdir=$(HOST_SUBDIR) \
26094 $(STAGE2_CONFIGURE_FLAGS)
26095 @endif zlib-bootstrap
26097 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26098 maybe-configure-stage3-zlib:
26100 maybe-configure-stage3-zlib: configure-stage3-zlib
26101 configure-stage3-zlib:
26102 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26104 @r=`${PWD_COMMAND}`; export r; \
26105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26106 TFLAGS="$(STAGE3_TFLAGS)"; \
26107 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26109 $(POSTSTAGE1_HOST_EXPORTS) \
26110 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26111 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26112 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26113 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26115 cd $(HOST_SUBDIR)/zlib || exit 1; \
26116 case $(srcdir) in \
26117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26118 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26121 srcdiroption="--srcdir=$${topdir}/zlib"; \
26122 libsrcdir="$$s/zlib"; \
26123 $(SHELL) $${libsrcdir}/configure \
26124 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26125 --target=${target_alias} $${srcdiroption} \
26126 --with-build-libsubdir=$(HOST_SUBDIR) \
26127 $(STAGE3_CONFIGURE_FLAGS)
26128 @endif zlib-bootstrap
26130 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26131 maybe-configure-stage4-zlib:
26133 maybe-configure-stage4-zlib: configure-stage4-zlib
26134 configure-stage4-zlib:
26135 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26137 @r=`${PWD_COMMAND}`; export r; \
26138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26139 TFLAGS="$(STAGE4_TFLAGS)"; \
26140 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26142 $(POSTSTAGE1_HOST_EXPORTS) \
26143 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26144 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26145 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26146 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26148 cd $(HOST_SUBDIR)/zlib || exit 1; \
26149 case $(srcdir) in \
26150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26151 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26154 srcdiroption="--srcdir=$${topdir}/zlib"; \
26155 libsrcdir="$$s/zlib"; \
26156 $(SHELL) $${libsrcdir}/configure \
26157 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26158 --target=${target_alias} $${srcdiroption} \
26159 --with-build-libsubdir=$(HOST_SUBDIR) \
26160 $(STAGE4_CONFIGURE_FLAGS)
26161 @endif zlib-bootstrap
26163 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26164 maybe-configure-stageprofile-zlib:
26166 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26167 configure-stageprofile-zlib:
26168 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26169 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26170 @r=`${PWD_COMMAND}`; export r; \
26171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26172 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26173 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26175 $(POSTSTAGE1_HOST_EXPORTS) \
26176 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26177 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26178 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26179 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26181 cd $(HOST_SUBDIR)/zlib || exit 1; \
26182 case $(srcdir) in \
26183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26184 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26187 srcdiroption="--srcdir=$${topdir}/zlib"; \
26188 libsrcdir="$$s/zlib"; \
26189 $(SHELL) $${libsrcdir}/configure \
26190 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26191 --target=${target_alias} $${srcdiroption} \
26192 --with-build-libsubdir=$(HOST_SUBDIR) \
26193 $(STAGEprofile_CONFIGURE_FLAGS)
26194 @endif zlib-bootstrap
26196 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26197 maybe-configure-stagefeedback-zlib:
26199 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26200 configure-stagefeedback-zlib:
26201 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26202 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26203 @r=`${PWD_COMMAND}`; export r; \
26204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26205 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26206 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26208 $(POSTSTAGE1_HOST_EXPORTS) \
26209 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26210 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26211 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26212 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26214 cd $(HOST_SUBDIR)/zlib || exit 1; \
26215 case $(srcdir) in \
26216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26217 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26220 srcdiroption="--srcdir=$${topdir}/zlib"; \
26221 libsrcdir="$$s/zlib"; \
26222 $(SHELL) $${libsrcdir}/configure \
26223 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26224 --target=${target_alias} $${srcdiroption} \
26225 --with-build-libsubdir=$(HOST_SUBDIR) \
26226 $(STAGEfeedback_CONFIGURE_FLAGS)
26227 @endif zlib-bootstrap
26233 .PHONY: all-zlib maybe-all-zlib
26236 all-zlib: stage_current
26237 @endif gcc-bootstrap
26240 maybe-all-zlib: all-zlib
26241 all-zlib: configure-zlib
26242 @r=`${PWD_COMMAND}`; export r; \
26243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26245 (cd $(HOST_SUBDIR)/zlib && \
26246 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26252 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26253 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26254 maybe-all-stage1-zlib:
26255 maybe-clean-stage1-zlib:
26257 maybe-all-stage1-zlib: all-stage1-zlib
26258 all-stage1: all-stage1-zlib
26259 TARGET-stage1-zlib = $(TARGET-zlib)
26260 all-stage1-zlib: configure-stage1-zlib
26261 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26262 @r=`${PWD_COMMAND}`; export r; \
26263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26264 TFLAGS="$(STAGE1_TFLAGS)"; \
26266 cd $(HOST_SUBDIR)/zlib && \
26267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26268 CFLAGS="$(STAGE1_CFLAGS)" \
26269 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26270 LIBCFLAGS="$(LIBCFLAGS)" \
26271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26274 $(EXTRA_HOST_FLAGS) \
26275 $(STAGE1_FLAGS_TO_PASS) \
26276 TFLAGS="$(STAGE1_TFLAGS)" \
26277 $(TARGET-stage1-zlib)
26279 maybe-clean-stage1-zlib: clean-stage1-zlib
26280 clean-stage1: clean-stage1-zlib
26282 @if [ $(current_stage) = stage1 ]; then \
26283 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26285 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26286 $(MAKE) stage1-start; \
26288 cd $(HOST_SUBDIR)/zlib && \
26289 $(MAKE) $(EXTRA_HOST_FLAGS) \
26290 $(STAGE1_FLAGS_TO_PASS) clean
26291 @endif zlib-bootstrap
26294 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26295 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26296 maybe-all-stage2-zlib:
26297 maybe-clean-stage2-zlib:
26299 maybe-all-stage2-zlib: all-stage2-zlib
26300 all-stage2: all-stage2-zlib
26301 TARGET-stage2-zlib = $(TARGET-zlib)
26302 all-stage2-zlib: configure-stage2-zlib
26303 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26304 @r=`${PWD_COMMAND}`; export r; \
26305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26306 TFLAGS="$(STAGE2_TFLAGS)"; \
26308 $(POSTSTAGE1_HOST_EXPORTS) \
26309 cd $(HOST_SUBDIR)/zlib && \
26310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26311 CFLAGS="$(STAGE2_CFLAGS)" \
26312 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26313 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26318 TFLAGS="$(STAGE2_TFLAGS)" \
26319 $(TARGET-stage2-zlib)
26321 maybe-clean-stage2-zlib: clean-stage2-zlib
26322 clean-stage2: clean-stage2-zlib
26324 @if [ $(current_stage) = stage2 ]; then \
26325 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26327 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26328 $(MAKE) stage2-start; \
26330 cd $(HOST_SUBDIR)/zlib && \
26331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26332 @endif zlib-bootstrap
26335 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26336 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26337 maybe-all-stage3-zlib:
26338 maybe-clean-stage3-zlib:
26340 maybe-all-stage3-zlib: all-stage3-zlib
26341 all-stage3: all-stage3-zlib
26342 TARGET-stage3-zlib = $(TARGET-zlib)
26343 all-stage3-zlib: configure-stage3-zlib
26344 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26345 @r=`${PWD_COMMAND}`; export r; \
26346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26347 TFLAGS="$(STAGE3_TFLAGS)"; \
26349 $(POSTSTAGE1_HOST_EXPORTS) \
26350 cd $(HOST_SUBDIR)/zlib && \
26351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26352 CFLAGS="$(STAGE3_CFLAGS)" \
26353 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26354 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26359 TFLAGS="$(STAGE3_TFLAGS)" \
26360 $(TARGET-stage3-zlib)
26362 maybe-clean-stage3-zlib: clean-stage3-zlib
26363 clean-stage3: clean-stage3-zlib
26365 @if [ $(current_stage) = stage3 ]; then \
26366 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26368 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26369 $(MAKE) stage3-start; \
26371 cd $(HOST_SUBDIR)/zlib && \
26372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26373 @endif zlib-bootstrap
26376 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26377 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26378 maybe-all-stage4-zlib:
26379 maybe-clean-stage4-zlib:
26381 maybe-all-stage4-zlib: all-stage4-zlib
26382 all-stage4: all-stage4-zlib
26383 TARGET-stage4-zlib = $(TARGET-zlib)
26384 all-stage4-zlib: configure-stage4-zlib
26385 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26386 @r=`${PWD_COMMAND}`; export r; \
26387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26388 TFLAGS="$(STAGE4_TFLAGS)"; \
26390 $(POSTSTAGE1_HOST_EXPORTS) \
26391 cd $(HOST_SUBDIR)/zlib && \
26392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26393 CFLAGS="$(STAGE4_CFLAGS)" \
26394 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26395 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26396 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26400 TFLAGS="$(STAGE4_TFLAGS)" \
26401 $(TARGET-stage4-zlib)
26403 maybe-clean-stage4-zlib: clean-stage4-zlib
26404 clean-stage4: clean-stage4-zlib
26406 @if [ $(current_stage) = stage4 ]; then \
26407 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26409 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
26410 $(MAKE) stage4-start; \
26412 cd $(HOST_SUBDIR)/zlib && \
26413 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26414 @endif zlib-bootstrap
26417 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26418 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26419 maybe-all-stageprofile-zlib:
26420 maybe-clean-stageprofile-zlib:
26422 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26423 all-stageprofile: all-stageprofile-zlib
26424 TARGET-stageprofile-zlib = $(TARGET-zlib)
26425 all-stageprofile-zlib: configure-stageprofile-zlib
26426 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26427 @r=`${PWD_COMMAND}`; export r; \
26428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26429 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26431 $(POSTSTAGE1_HOST_EXPORTS) \
26432 cd $(HOST_SUBDIR)/zlib && \
26433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26434 CFLAGS="$(STAGEprofile_CFLAGS)" \
26435 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26436 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26441 TFLAGS="$(STAGEprofile_TFLAGS)" \
26442 $(TARGET-stageprofile-zlib)
26444 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26445 clean-stageprofile: clean-stageprofile-zlib
26446 clean-stageprofile-zlib:
26447 @if [ $(current_stage) = stageprofile ]; then \
26448 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26450 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
26451 $(MAKE) stageprofile-start; \
26453 cd $(HOST_SUBDIR)/zlib && \
26454 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26455 @endif zlib-bootstrap
26458 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26459 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26460 maybe-all-stagefeedback-zlib:
26461 maybe-clean-stagefeedback-zlib:
26463 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26464 all-stagefeedback: all-stagefeedback-zlib
26465 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26466 all-stagefeedback-zlib: configure-stagefeedback-zlib
26467 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26468 @r=`${PWD_COMMAND}`; export r; \
26469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26470 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26472 $(POSTSTAGE1_HOST_EXPORTS) \
26473 cd $(HOST_SUBDIR)/zlib && \
26474 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26475 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26476 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26477 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26482 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26483 $(TARGET-stagefeedback-zlib)
26485 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26486 clean-stagefeedback: clean-stagefeedback-zlib
26487 clean-stagefeedback-zlib:
26488 @if [ $(current_stage) = stagefeedback ]; then \
26489 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26491 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
26492 $(MAKE) stagefeedback-start; \
26494 cd $(HOST_SUBDIR)/zlib && \
26495 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26496 @endif zlib-bootstrap
26502 .PHONY: check-zlib maybe-check-zlib
26505 maybe-check-zlib: check-zlib
26511 .PHONY: install-zlib maybe-install-zlib
26512 maybe-install-zlib:
26514 maybe-install-zlib: install-zlib
26520 .PHONY: install-strip-zlib maybe-install-strip-zlib
26521 maybe-install-strip-zlib:
26523 maybe-install-strip-zlib: install-strip-zlib
26525 install-strip-zlib:
26529 # Other targets (info, dvi, pdf, etc.)
26531 .PHONY: maybe-info-zlib info-zlib
26534 maybe-info-zlib: info-zlib
26538 @[ -f ./zlib/Makefile ] || exit 0; \
26539 r=`${PWD_COMMAND}`; export r; \
26540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26542 for flag in $(EXTRA_HOST_FLAGS) ; do \
26543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26545 echo "Doing info in zlib" ; \
26546 (cd $(HOST_SUBDIR)/zlib && \
26547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26549 "RANLIB=$${RANLIB}" \
26550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26556 .PHONY: maybe-dvi-zlib dvi-zlib
26559 maybe-dvi-zlib: dvi-zlib
26563 @[ -f ./zlib/Makefile ] || exit 0; \
26564 r=`${PWD_COMMAND}`; export r; \
26565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26567 for flag in $(EXTRA_HOST_FLAGS) ; do \
26568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26570 echo "Doing dvi in zlib" ; \
26571 (cd $(HOST_SUBDIR)/zlib && \
26572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26574 "RANLIB=$${RANLIB}" \
26575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26581 .PHONY: maybe-pdf-zlib pdf-zlib
26584 maybe-pdf-zlib: pdf-zlib
26588 @[ -f ./zlib/Makefile ] || exit 0; \
26589 r=`${PWD_COMMAND}`; export r; \
26590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26592 for flag in $(EXTRA_HOST_FLAGS) ; do \
26593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26595 echo "Doing pdf in zlib" ; \
26596 (cd $(HOST_SUBDIR)/zlib && \
26597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26599 "RANLIB=$${RANLIB}" \
26600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26606 .PHONY: maybe-html-zlib html-zlib
26609 maybe-html-zlib: html-zlib
26613 @[ -f ./zlib/Makefile ] || exit 0; \
26614 r=`${PWD_COMMAND}`; export r; \
26615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26617 for flag in $(EXTRA_HOST_FLAGS) ; do \
26618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26620 echo "Doing html in zlib" ; \
26621 (cd $(HOST_SUBDIR)/zlib && \
26622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26624 "RANLIB=$${RANLIB}" \
26625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26631 .PHONY: maybe-TAGS-zlib TAGS-zlib
26634 maybe-TAGS-zlib: TAGS-zlib
26638 @[ -f ./zlib/Makefile ] || exit 0; \
26639 r=`${PWD_COMMAND}`; export r; \
26640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26642 for flag in $(EXTRA_HOST_FLAGS) ; do \
26643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26645 echo "Doing TAGS in zlib" ; \
26646 (cd $(HOST_SUBDIR)/zlib && \
26647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26649 "RANLIB=$${RANLIB}" \
26650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26656 .PHONY: maybe-install-info-zlib install-info-zlib
26657 maybe-install-info-zlib:
26659 maybe-install-info-zlib: install-info-zlib
26661 install-info-zlib: \
26664 @[ -f ./zlib/Makefile ] || exit 0; \
26665 r=`${PWD_COMMAND}`; export r; \
26666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26668 for flag in $(EXTRA_HOST_FLAGS) ; do \
26669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26671 echo "Doing install-info in zlib" ; \
26672 (cd $(HOST_SUBDIR)/zlib && \
26673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26675 "RANLIB=$${RANLIB}" \
26676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26682 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
26683 maybe-install-pdf-zlib:
26685 maybe-install-pdf-zlib: install-pdf-zlib
26687 install-pdf-zlib: \
26690 @[ -f ./zlib/Makefile ] || exit 0; \
26691 r=`${PWD_COMMAND}`; export r; \
26692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26694 for flag in $(EXTRA_HOST_FLAGS) ; do \
26695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26697 echo "Doing install-pdf in zlib" ; \
26698 (cd $(HOST_SUBDIR)/zlib && \
26699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26701 "RANLIB=$${RANLIB}" \
26702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26708 .PHONY: maybe-install-html-zlib install-html-zlib
26709 maybe-install-html-zlib:
26711 maybe-install-html-zlib: install-html-zlib
26713 install-html-zlib: \
26716 @[ -f ./zlib/Makefile ] || exit 0; \
26717 r=`${PWD_COMMAND}`; export r; \
26718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26720 for flag in $(EXTRA_HOST_FLAGS) ; do \
26721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26723 echo "Doing install-html in zlib" ; \
26724 (cd $(HOST_SUBDIR)/zlib && \
26725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26727 "RANLIB=$${RANLIB}" \
26728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26734 .PHONY: maybe-installcheck-zlib installcheck-zlib
26735 maybe-installcheck-zlib:
26737 maybe-installcheck-zlib: installcheck-zlib
26739 installcheck-zlib: \
26741 @[ -f ./zlib/Makefile ] || exit 0; \
26742 r=`${PWD_COMMAND}`; export r; \
26743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26745 for flag in $(EXTRA_HOST_FLAGS) ; do \
26746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26748 echo "Doing installcheck in zlib" ; \
26749 (cd $(HOST_SUBDIR)/zlib && \
26750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26752 "RANLIB=$${RANLIB}" \
26753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26759 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26760 maybe-mostlyclean-zlib:
26762 maybe-mostlyclean-zlib: mostlyclean-zlib
26765 @[ -f ./zlib/Makefile ] || exit 0; \
26766 r=`${PWD_COMMAND}`; export r; \
26767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26769 for flag in $(EXTRA_HOST_FLAGS) ; do \
26770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26772 echo "Doing mostlyclean in zlib" ; \
26773 (cd $(HOST_SUBDIR)/zlib && \
26774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26776 "RANLIB=$${RANLIB}" \
26777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26783 .PHONY: maybe-clean-zlib clean-zlib
26786 maybe-clean-zlib: clean-zlib
26789 @[ -f ./zlib/Makefile ] || exit 0; \
26790 r=`${PWD_COMMAND}`; export r; \
26791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26793 for flag in $(EXTRA_HOST_FLAGS) ; do \
26794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26796 echo "Doing clean in zlib" ; \
26797 (cd $(HOST_SUBDIR)/zlib && \
26798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26800 "RANLIB=$${RANLIB}" \
26801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26807 .PHONY: maybe-distclean-zlib distclean-zlib
26808 maybe-distclean-zlib:
26810 maybe-distclean-zlib: distclean-zlib
26813 @[ -f ./zlib/Makefile ] || exit 0; \
26814 r=`${PWD_COMMAND}`; export r; \
26815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26817 for flag in $(EXTRA_HOST_FLAGS) ; do \
26818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26820 echo "Doing distclean in zlib" ; \
26821 (cd $(HOST_SUBDIR)/zlib && \
26822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26824 "RANLIB=$${RANLIB}" \
26825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26831 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26832 maybe-maintainer-clean-zlib:
26834 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26836 maintainer-clean-zlib:
26837 @[ -f ./zlib/Makefile ] || exit 0; \
26838 r=`${PWD_COMMAND}`; export r; \
26839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26841 for flag in $(EXTRA_HOST_FLAGS) ; do \
26842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26844 echo "Doing maintainer-clean in zlib" ; \
26845 (cd $(HOST_SUBDIR)/zlib && \
26846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26848 "RANLIB=$${RANLIB}" \
26849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26850 maintainer-clean) \
26857 .PHONY: configure-gdb maybe-configure-gdb
26858 maybe-configure-gdb:
26860 configure-gdb: stage_current
26861 @endif gcc-bootstrap
26863 maybe-configure-gdb: configure-gdb
26865 @: $(MAKE); $(unstage)
26866 @r=`${PWD_COMMAND}`; export r; \
26867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26868 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26871 echo Configuring in $(HOST_SUBDIR)/gdb; \
26872 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26873 case $(srcdir) in \
26874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26875 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26878 srcdiroption="--srcdir=$${topdir}/gdb"; \
26879 libsrcdir="$$s/gdb"; \
26880 $(SHELL) $${libsrcdir}/configure \
26881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26882 --target=${target_alias} $${srcdiroption} \
26890 .PHONY: all-gdb maybe-all-gdb
26893 all-gdb: stage_current
26894 @endif gcc-bootstrap
26897 maybe-all-gdb: all-gdb
26898 all-gdb: configure-gdb
26899 @: $(MAKE); $(unstage)
26900 @r=`${PWD_COMMAND}`; export r; \
26901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26903 (cd $(HOST_SUBDIR)/gdb && \
26904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26911 .PHONY: check-gdb maybe-check-gdb
26914 maybe-check-gdb: check-gdb
26917 @: $(MAKE); $(unstage)
26918 @r=`${PWD_COMMAND}`; export r; \
26919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26921 (cd $(HOST_SUBDIR)/gdb && \
26922 $(MAKE) $(FLAGS_TO_PASS) check)
26926 .PHONY: install-gdb maybe-install-gdb
26929 maybe-install-gdb: install-gdb
26931 install-gdb: installdirs
26932 @: $(MAKE); $(unstage)
26933 @r=`${PWD_COMMAND}`; export r; \
26934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26936 (cd $(HOST_SUBDIR)/gdb && \
26937 $(MAKE) $(FLAGS_TO_PASS) install)
26941 .PHONY: install-strip-gdb maybe-install-strip-gdb
26942 maybe-install-strip-gdb:
26944 maybe-install-strip-gdb: install-strip-gdb
26946 install-strip-gdb: installdirs
26947 @: $(MAKE); $(unstage)
26948 @r=`${PWD_COMMAND}`; export r; \
26949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26951 (cd $(HOST_SUBDIR)/gdb && \
26952 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26956 # Other targets (info, dvi, pdf, etc.)
26958 .PHONY: maybe-info-gdb info-gdb
26961 maybe-info-gdb: info-gdb
26965 @: $(MAKE); $(unstage)
26966 @[ -f ./gdb/Makefile ] || exit 0; \
26967 r=`${PWD_COMMAND}`; export r; \
26968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26970 for flag in $(EXTRA_HOST_FLAGS) ; do \
26971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26973 echo "Doing info in gdb" ; \
26974 (cd $(HOST_SUBDIR)/gdb && \
26975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26977 "RANLIB=$${RANLIB}" \
26978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26984 .PHONY: maybe-dvi-gdb dvi-gdb
26987 maybe-dvi-gdb: dvi-gdb
26991 @: $(MAKE); $(unstage)
26992 @[ -f ./gdb/Makefile ] || exit 0; \
26993 r=`${PWD_COMMAND}`; export r; \
26994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26996 for flag in $(EXTRA_HOST_FLAGS) ; do \
26997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26999 echo "Doing dvi in gdb" ; \
27000 (cd $(HOST_SUBDIR)/gdb && \
27001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27003 "RANLIB=$${RANLIB}" \
27004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27010 .PHONY: maybe-pdf-gdb pdf-gdb
27013 maybe-pdf-gdb: pdf-gdb
27017 @: $(MAKE); $(unstage)
27018 @[ -f ./gdb/Makefile ] || exit 0; \
27019 r=`${PWD_COMMAND}`; export r; \
27020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27022 for flag in $(EXTRA_HOST_FLAGS) ; do \
27023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27025 echo "Doing pdf in gdb" ; \
27026 (cd $(HOST_SUBDIR)/gdb && \
27027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27029 "RANLIB=$${RANLIB}" \
27030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27036 .PHONY: maybe-html-gdb html-gdb
27039 maybe-html-gdb: html-gdb
27043 @: $(MAKE); $(unstage)
27044 @[ -f ./gdb/Makefile ] || exit 0; \
27045 r=`${PWD_COMMAND}`; export r; \
27046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27048 for flag in $(EXTRA_HOST_FLAGS) ; do \
27049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27051 echo "Doing html in gdb" ; \
27052 (cd $(HOST_SUBDIR)/gdb && \
27053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27055 "RANLIB=$${RANLIB}" \
27056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27062 .PHONY: maybe-TAGS-gdb TAGS-gdb
27065 maybe-TAGS-gdb: TAGS-gdb
27069 @: $(MAKE); $(unstage)
27070 @[ -f ./gdb/Makefile ] || exit 0; \
27071 r=`${PWD_COMMAND}`; export r; \
27072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27074 for flag in $(EXTRA_HOST_FLAGS) ; do \
27075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27077 echo "Doing TAGS in gdb" ; \
27078 (cd $(HOST_SUBDIR)/gdb && \
27079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27081 "RANLIB=$${RANLIB}" \
27082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27088 .PHONY: maybe-install-info-gdb install-info-gdb
27089 maybe-install-info-gdb:
27091 maybe-install-info-gdb: install-info-gdb
27093 install-info-gdb: \
27096 @: $(MAKE); $(unstage)
27097 @[ -f ./gdb/Makefile ] || exit 0; \
27098 r=`${PWD_COMMAND}`; export r; \
27099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27101 for flag in $(EXTRA_HOST_FLAGS) ; do \
27102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27104 echo "Doing install-info in gdb" ; \
27105 (cd $(HOST_SUBDIR)/gdb && \
27106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27108 "RANLIB=$${RANLIB}" \
27109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27115 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27116 maybe-install-pdf-gdb:
27118 maybe-install-pdf-gdb: install-pdf-gdb
27123 @: $(MAKE); $(unstage)
27124 @[ -f ./gdb/Makefile ] || exit 0; \
27125 r=`${PWD_COMMAND}`; export r; \
27126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27128 for flag in $(EXTRA_HOST_FLAGS) ; do \
27129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27131 echo "Doing install-pdf in gdb" ; \
27132 (cd $(HOST_SUBDIR)/gdb && \
27133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27135 "RANLIB=$${RANLIB}" \
27136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27142 .PHONY: maybe-install-html-gdb install-html-gdb
27143 maybe-install-html-gdb:
27145 maybe-install-html-gdb: install-html-gdb
27147 install-html-gdb: \
27150 @: $(MAKE); $(unstage)
27151 @[ -f ./gdb/Makefile ] || exit 0; \
27152 r=`${PWD_COMMAND}`; export r; \
27153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27155 for flag in $(EXTRA_HOST_FLAGS) ; do \
27156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27158 echo "Doing install-html in gdb" ; \
27159 (cd $(HOST_SUBDIR)/gdb && \
27160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27162 "RANLIB=$${RANLIB}" \
27163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27169 .PHONY: maybe-installcheck-gdb installcheck-gdb
27170 maybe-installcheck-gdb:
27172 maybe-installcheck-gdb: installcheck-gdb
27174 installcheck-gdb: \
27176 @: $(MAKE); $(unstage)
27177 @[ -f ./gdb/Makefile ] || exit 0; \
27178 r=`${PWD_COMMAND}`; export r; \
27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27181 for flag in $(EXTRA_HOST_FLAGS) ; do \
27182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27184 echo "Doing installcheck in gdb" ; \
27185 (cd $(HOST_SUBDIR)/gdb && \
27186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27188 "RANLIB=$${RANLIB}" \
27189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27195 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27196 maybe-mostlyclean-gdb:
27198 maybe-mostlyclean-gdb: mostlyclean-gdb
27201 @: $(MAKE); $(unstage)
27202 @[ -f ./gdb/Makefile ] || exit 0; \
27203 r=`${PWD_COMMAND}`; export r; \
27204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27206 for flag in $(EXTRA_HOST_FLAGS) ; do \
27207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27209 echo "Doing mostlyclean in gdb" ; \
27210 (cd $(HOST_SUBDIR)/gdb && \
27211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27213 "RANLIB=$${RANLIB}" \
27214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27220 .PHONY: maybe-clean-gdb clean-gdb
27223 maybe-clean-gdb: clean-gdb
27226 @: $(MAKE); $(unstage)
27227 @[ -f ./gdb/Makefile ] || exit 0; \
27228 r=`${PWD_COMMAND}`; export r; \
27229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27231 for flag in $(EXTRA_HOST_FLAGS) ; do \
27232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27234 echo "Doing clean in gdb" ; \
27235 (cd $(HOST_SUBDIR)/gdb && \
27236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27238 "RANLIB=$${RANLIB}" \
27239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27245 .PHONY: maybe-distclean-gdb distclean-gdb
27246 maybe-distclean-gdb:
27248 maybe-distclean-gdb: distclean-gdb
27251 @: $(MAKE); $(unstage)
27252 @[ -f ./gdb/Makefile ] || exit 0; \
27253 r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27256 for flag in $(EXTRA_HOST_FLAGS) ; do \
27257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27259 echo "Doing distclean in gdb" ; \
27260 (cd $(HOST_SUBDIR)/gdb && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263 "RANLIB=$${RANLIB}" \
27264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27270 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27271 maybe-maintainer-clean-gdb:
27273 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27275 maintainer-clean-gdb:
27276 @: $(MAKE); $(unstage)
27277 @[ -f ./gdb/Makefile ] || exit 0; \
27278 r=`${PWD_COMMAND}`; export r; \
27279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281 for flag in $(EXTRA_HOST_FLAGS) ; do \
27282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27284 echo "Doing maintainer-clean in gdb" ; \
27285 (cd $(HOST_SUBDIR)/gdb && \
27286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27288 "RANLIB=$${RANLIB}" \
27289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27290 maintainer-clean) \
27297 .PHONY: configure-expect maybe-configure-expect
27298 maybe-configure-expect:
27300 configure-expect: stage_current
27301 @endif gcc-bootstrap
27303 maybe-configure-expect: configure-expect
27305 @: $(MAKE); $(unstage)
27306 @r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27311 echo Configuring in $(HOST_SUBDIR)/expect; \
27312 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27313 case $(srcdir) in \
27314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27315 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27318 srcdiroption="--srcdir=$${topdir}/expect"; \
27319 libsrcdir="$$s/expect"; \
27320 $(SHELL) $${libsrcdir}/configure \
27321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27322 --target=${target_alias} $${srcdiroption} \
27330 .PHONY: all-expect maybe-all-expect
27333 all-expect: stage_current
27334 @endif gcc-bootstrap
27337 maybe-all-expect: all-expect
27338 all-expect: configure-expect
27339 @: $(MAKE); $(unstage)
27340 @r=`${PWD_COMMAND}`; export r; \
27341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27343 (cd $(HOST_SUBDIR)/expect && \
27344 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27351 .PHONY: check-expect maybe-check-expect
27352 maybe-check-expect:
27354 maybe-check-expect: check-expect
27357 @: $(MAKE); $(unstage)
27358 @r=`${PWD_COMMAND}`; export r; \
27359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27361 (cd $(HOST_SUBDIR)/expect && \
27362 $(MAKE) $(FLAGS_TO_PASS) check)
27366 .PHONY: install-expect maybe-install-expect
27367 maybe-install-expect:
27369 maybe-install-expect: install-expect
27371 install-expect: installdirs
27372 @: $(MAKE); $(unstage)
27373 @r=`${PWD_COMMAND}`; export r; \
27374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27376 (cd $(HOST_SUBDIR)/expect && \
27377 $(MAKE) $(FLAGS_TO_PASS) install)
27381 .PHONY: install-strip-expect maybe-install-strip-expect
27382 maybe-install-strip-expect:
27384 maybe-install-strip-expect: install-strip-expect
27386 install-strip-expect: installdirs
27387 @: $(MAKE); $(unstage)
27388 @r=`${PWD_COMMAND}`; export r; \
27389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27391 (cd $(HOST_SUBDIR)/expect && \
27392 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27396 # Other targets (info, dvi, pdf, etc.)
27398 .PHONY: maybe-info-expect info-expect
27401 maybe-info-expect: info-expect
27405 @: $(MAKE); $(unstage)
27406 @[ -f ./expect/Makefile ] || exit 0; \
27407 r=`${PWD_COMMAND}`; export r; \
27408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 for flag in $(EXTRA_HOST_FLAGS) ; do \
27411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27413 echo "Doing info in expect" ; \
27414 (cd $(HOST_SUBDIR)/expect && \
27415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27417 "RANLIB=$${RANLIB}" \
27418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27424 .PHONY: maybe-dvi-expect dvi-expect
27427 maybe-dvi-expect: dvi-expect
27431 @: $(MAKE); $(unstage)
27432 @[ -f ./expect/Makefile ] || exit 0; \
27433 r=`${PWD_COMMAND}`; export r; \
27434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27436 for flag in $(EXTRA_HOST_FLAGS) ; do \
27437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27439 echo "Doing dvi in expect" ; \
27440 (cd $(HOST_SUBDIR)/expect && \
27441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27443 "RANLIB=$${RANLIB}" \
27444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27450 .PHONY: maybe-pdf-expect pdf-expect
27453 maybe-pdf-expect: pdf-expect
27457 @: $(MAKE); $(unstage)
27458 @[ -f ./expect/Makefile ] || exit 0; \
27459 r=`${PWD_COMMAND}`; export r; \
27460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27462 for flag in $(EXTRA_HOST_FLAGS) ; do \
27463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27465 echo "Doing pdf in expect" ; \
27466 (cd $(HOST_SUBDIR)/expect && \
27467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27469 "RANLIB=$${RANLIB}" \
27470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27476 .PHONY: maybe-html-expect html-expect
27479 maybe-html-expect: html-expect
27483 @: $(MAKE); $(unstage)
27484 @[ -f ./expect/Makefile ] || exit 0; \
27485 r=`${PWD_COMMAND}`; export r; \
27486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27488 for flag in $(EXTRA_HOST_FLAGS) ; do \
27489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27491 echo "Doing html in expect" ; \
27492 (cd $(HOST_SUBDIR)/expect && \
27493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27495 "RANLIB=$${RANLIB}" \
27496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27502 .PHONY: maybe-TAGS-expect TAGS-expect
27505 maybe-TAGS-expect: TAGS-expect
27509 @: $(MAKE); $(unstage)
27510 @[ -f ./expect/Makefile ] || exit 0; \
27511 r=`${PWD_COMMAND}`; export r; \
27512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27514 for flag in $(EXTRA_HOST_FLAGS) ; do \
27515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27517 echo "Doing TAGS in expect" ; \
27518 (cd $(HOST_SUBDIR)/expect && \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27521 "RANLIB=$${RANLIB}" \
27522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27528 .PHONY: maybe-install-info-expect install-info-expect
27529 maybe-install-info-expect:
27531 maybe-install-info-expect: install-info-expect
27533 install-info-expect: \
27536 @: $(MAKE); $(unstage)
27537 @[ -f ./expect/Makefile ] || exit 0; \
27538 r=`${PWD_COMMAND}`; export r; \
27539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27541 for flag in $(EXTRA_HOST_FLAGS) ; do \
27542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27544 echo "Doing install-info in expect" ; \
27545 (cd $(HOST_SUBDIR)/expect && \
27546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27548 "RANLIB=$${RANLIB}" \
27549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27555 .PHONY: maybe-install-pdf-expect install-pdf-expect
27556 maybe-install-pdf-expect:
27558 maybe-install-pdf-expect: install-pdf-expect
27560 install-pdf-expect: \
27563 @: $(MAKE); $(unstage)
27564 @[ -f ./expect/Makefile ] || exit 0; \
27565 r=`${PWD_COMMAND}`; export r; \
27566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27568 for flag in $(EXTRA_HOST_FLAGS) ; do \
27569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27571 echo "Doing install-pdf in expect" ; \
27572 (cd $(HOST_SUBDIR)/expect && \
27573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27575 "RANLIB=$${RANLIB}" \
27576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27582 .PHONY: maybe-install-html-expect install-html-expect
27583 maybe-install-html-expect:
27585 maybe-install-html-expect: install-html-expect
27587 install-html-expect: \
27590 @: $(MAKE); $(unstage)
27591 @[ -f ./expect/Makefile ] || exit 0; \
27592 r=`${PWD_COMMAND}`; export r; \
27593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27595 for flag in $(EXTRA_HOST_FLAGS) ; do \
27596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27598 echo "Doing install-html in expect" ; \
27599 (cd $(HOST_SUBDIR)/expect && \
27600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27602 "RANLIB=$${RANLIB}" \
27603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27609 .PHONY: maybe-installcheck-expect installcheck-expect
27610 maybe-installcheck-expect:
27612 maybe-installcheck-expect: installcheck-expect
27614 installcheck-expect: \
27616 @: $(MAKE); $(unstage)
27617 @[ -f ./expect/Makefile ] || exit 0; \
27618 r=`${PWD_COMMAND}`; export r; \
27619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27621 for flag in $(EXTRA_HOST_FLAGS) ; do \
27622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27624 echo "Doing installcheck in expect" ; \
27625 (cd $(HOST_SUBDIR)/expect && \
27626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27628 "RANLIB=$${RANLIB}" \
27629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27635 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27636 maybe-mostlyclean-expect:
27638 maybe-mostlyclean-expect: mostlyclean-expect
27640 mostlyclean-expect:
27641 @: $(MAKE); $(unstage)
27642 @[ -f ./expect/Makefile ] || exit 0; \
27643 r=`${PWD_COMMAND}`; export r; \
27644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27646 for flag in $(EXTRA_HOST_FLAGS) ; do \
27647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27649 echo "Doing mostlyclean in expect" ; \
27650 (cd $(HOST_SUBDIR)/expect && \
27651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27653 "RANLIB=$${RANLIB}" \
27654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27660 .PHONY: maybe-clean-expect clean-expect
27661 maybe-clean-expect:
27663 maybe-clean-expect: clean-expect
27666 @: $(MAKE); $(unstage)
27667 @[ -f ./expect/Makefile ] || exit 0; \
27668 r=`${PWD_COMMAND}`; export r; \
27669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27671 for flag in $(EXTRA_HOST_FLAGS) ; do \
27672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27674 echo "Doing clean in expect" ; \
27675 (cd $(HOST_SUBDIR)/expect && \
27676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27678 "RANLIB=$${RANLIB}" \
27679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27685 .PHONY: maybe-distclean-expect distclean-expect
27686 maybe-distclean-expect:
27688 maybe-distclean-expect: distclean-expect
27691 @: $(MAKE); $(unstage)
27692 @[ -f ./expect/Makefile ] || exit 0; \
27693 r=`${PWD_COMMAND}`; export r; \
27694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27696 for flag in $(EXTRA_HOST_FLAGS) ; do \
27697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27699 echo "Doing distclean in expect" ; \
27700 (cd $(HOST_SUBDIR)/expect && \
27701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27703 "RANLIB=$${RANLIB}" \
27704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27710 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27711 maybe-maintainer-clean-expect:
27713 maybe-maintainer-clean-expect: maintainer-clean-expect
27715 maintainer-clean-expect:
27716 @: $(MAKE); $(unstage)
27717 @[ -f ./expect/Makefile ] || exit 0; \
27718 r=`${PWD_COMMAND}`; export r; \
27719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27721 for flag in $(EXTRA_HOST_FLAGS) ; do \
27722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27724 echo "Doing maintainer-clean in expect" ; \
27725 (cd $(HOST_SUBDIR)/expect && \
27726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27728 "RANLIB=$${RANLIB}" \
27729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27730 maintainer-clean) \
27737 .PHONY: configure-guile maybe-configure-guile
27738 maybe-configure-guile:
27740 configure-guile: stage_current
27741 @endif gcc-bootstrap
27743 maybe-configure-guile: configure-guile
27745 @: $(MAKE); $(unstage)
27746 @r=`${PWD_COMMAND}`; export r; \
27747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27748 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27751 echo Configuring in $(HOST_SUBDIR)/guile; \
27752 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27753 case $(srcdir) in \
27754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27755 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27758 srcdiroption="--srcdir=$${topdir}/guile"; \
27759 libsrcdir="$$s/guile"; \
27760 $(SHELL) $${libsrcdir}/configure \
27761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27762 --target=${target_alias} $${srcdiroption} \
27770 .PHONY: all-guile maybe-all-guile
27773 all-guile: stage_current
27774 @endif gcc-bootstrap
27777 maybe-all-guile: all-guile
27778 all-guile: configure-guile
27779 @: $(MAKE); $(unstage)
27780 @r=`${PWD_COMMAND}`; export r; \
27781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27783 (cd $(HOST_SUBDIR)/guile && \
27784 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27791 .PHONY: check-guile maybe-check-guile
27794 maybe-check-guile: check-guile
27797 @: $(MAKE); $(unstage)
27798 @r=`${PWD_COMMAND}`; export r; \
27799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27801 (cd $(HOST_SUBDIR)/guile && \
27802 $(MAKE) $(FLAGS_TO_PASS) check)
27806 .PHONY: install-guile maybe-install-guile
27807 maybe-install-guile:
27809 maybe-install-guile: install-guile
27811 install-guile: installdirs
27812 @: $(MAKE); $(unstage)
27813 @r=`${PWD_COMMAND}`; export r; \
27814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27816 (cd $(HOST_SUBDIR)/guile && \
27817 $(MAKE) $(FLAGS_TO_PASS) install)
27821 .PHONY: install-strip-guile maybe-install-strip-guile
27822 maybe-install-strip-guile:
27824 maybe-install-strip-guile: install-strip-guile
27826 install-strip-guile: installdirs
27827 @: $(MAKE); $(unstage)
27828 @r=`${PWD_COMMAND}`; export r; \
27829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27831 (cd $(HOST_SUBDIR)/guile && \
27832 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27836 # Other targets (info, dvi, pdf, etc.)
27838 .PHONY: maybe-info-guile info-guile
27841 maybe-info-guile: info-guile
27845 @: $(MAKE); $(unstage)
27846 @[ -f ./guile/Makefile ] || exit 0; \
27847 r=`${PWD_COMMAND}`; export r; \
27848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27850 for flag in $(EXTRA_HOST_FLAGS) ; do \
27851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27853 echo "Doing info in guile" ; \
27854 (cd $(HOST_SUBDIR)/guile && \
27855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27857 "RANLIB=$${RANLIB}" \
27858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27864 .PHONY: maybe-dvi-guile dvi-guile
27867 maybe-dvi-guile: dvi-guile
27871 @: $(MAKE); $(unstage)
27872 @[ -f ./guile/Makefile ] || exit 0; \
27873 r=`${PWD_COMMAND}`; export r; \
27874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27876 for flag in $(EXTRA_HOST_FLAGS) ; do \
27877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27879 echo "Doing dvi in guile" ; \
27880 (cd $(HOST_SUBDIR)/guile && \
27881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27883 "RANLIB=$${RANLIB}" \
27884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27890 .PHONY: maybe-pdf-guile pdf-guile
27893 maybe-pdf-guile: pdf-guile
27897 @: $(MAKE); $(unstage)
27898 @[ -f ./guile/Makefile ] || exit 0; \
27899 r=`${PWD_COMMAND}`; export r; \
27900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27902 for flag in $(EXTRA_HOST_FLAGS) ; do \
27903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27905 echo "Doing pdf in guile" ; \
27906 (cd $(HOST_SUBDIR)/guile && \
27907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27909 "RANLIB=$${RANLIB}" \
27910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27916 .PHONY: maybe-html-guile html-guile
27919 maybe-html-guile: html-guile
27923 @: $(MAKE); $(unstage)
27924 @[ -f ./guile/Makefile ] || exit 0; \
27925 r=`${PWD_COMMAND}`; export r; \
27926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27928 for flag in $(EXTRA_HOST_FLAGS) ; do \
27929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27931 echo "Doing html in guile" ; \
27932 (cd $(HOST_SUBDIR)/guile && \
27933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27935 "RANLIB=$${RANLIB}" \
27936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27942 .PHONY: maybe-TAGS-guile TAGS-guile
27945 maybe-TAGS-guile: TAGS-guile
27949 @: $(MAKE); $(unstage)
27950 @[ -f ./guile/Makefile ] || exit 0; \
27951 r=`${PWD_COMMAND}`; export r; \
27952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27954 for flag in $(EXTRA_HOST_FLAGS) ; do \
27955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27957 echo "Doing TAGS in guile" ; \
27958 (cd $(HOST_SUBDIR)/guile && \
27959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27961 "RANLIB=$${RANLIB}" \
27962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27968 .PHONY: maybe-install-info-guile install-info-guile
27969 maybe-install-info-guile:
27971 maybe-install-info-guile: install-info-guile
27973 install-info-guile: \
27976 @: $(MAKE); $(unstage)
27977 @[ -f ./guile/Makefile ] || exit 0; \
27978 r=`${PWD_COMMAND}`; export r; \
27979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27981 for flag in $(EXTRA_HOST_FLAGS) ; do \
27982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27984 echo "Doing install-info in guile" ; \
27985 (cd $(HOST_SUBDIR)/guile && \
27986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27988 "RANLIB=$${RANLIB}" \
27989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27995 .PHONY: maybe-install-pdf-guile install-pdf-guile
27996 maybe-install-pdf-guile:
27998 maybe-install-pdf-guile: install-pdf-guile
28000 install-pdf-guile: \
28003 @: $(MAKE); $(unstage)
28004 @[ -f ./guile/Makefile ] || exit 0; \
28005 r=`${PWD_COMMAND}`; export r; \
28006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28008 for flag in $(EXTRA_HOST_FLAGS) ; do \
28009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28011 echo "Doing install-pdf in guile" ; \
28012 (cd $(HOST_SUBDIR)/guile && \
28013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28015 "RANLIB=$${RANLIB}" \
28016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28022 .PHONY: maybe-install-html-guile install-html-guile
28023 maybe-install-html-guile:
28025 maybe-install-html-guile: install-html-guile
28027 install-html-guile: \
28030 @: $(MAKE); $(unstage)
28031 @[ -f ./guile/Makefile ] || exit 0; \
28032 r=`${PWD_COMMAND}`; export r; \
28033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28035 for flag in $(EXTRA_HOST_FLAGS) ; do \
28036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28038 echo "Doing install-html in guile" ; \
28039 (cd $(HOST_SUBDIR)/guile && \
28040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28042 "RANLIB=$${RANLIB}" \
28043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28049 .PHONY: maybe-installcheck-guile installcheck-guile
28050 maybe-installcheck-guile:
28052 maybe-installcheck-guile: installcheck-guile
28054 installcheck-guile: \
28056 @: $(MAKE); $(unstage)
28057 @[ -f ./guile/Makefile ] || exit 0; \
28058 r=`${PWD_COMMAND}`; export r; \
28059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28061 for flag in $(EXTRA_HOST_FLAGS) ; do \
28062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28064 echo "Doing installcheck in guile" ; \
28065 (cd $(HOST_SUBDIR)/guile && \
28066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28068 "RANLIB=$${RANLIB}" \
28069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28075 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28076 maybe-mostlyclean-guile:
28078 maybe-mostlyclean-guile: mostlyclean-guile
28081 @: $(MAKE); $(unstage)
28082 @[ -f ./guile/Makefile ] || exit 0; \
28083 r=`${PWD_COMMAND}`; export r; \
28084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28086 for flag in $(EXTRA_HOST_FLAGS) ; do \
28087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28089 echo "Doing mostlyclean in guile" ; \
28090 (cd $(HOST_SUBDIR)/guile && \
28091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28093 "RANLIB=$${RANLIB}" \
28094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28100 .PHONY: maybe-clean-guile clean-guile
28103 maybe-clean-guile: clean-guile
28106 @: $(MAKE); $(unstage)
28107 @[ -f ./guile/Makefile ] || exit 0; \
28108 r=`${PWD_COMMAND}`; export r; \
28109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28111 for flag in $(EXTRA_HOST_FLAGS) ; do \
28112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28114 echo "Doing clean in guile" ; \
28115 (cd $(HOST_SUBDIR)/guile && \
28116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28118 "RANLIB=$${RANLIB}" \
28119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28125 .PHONY: maybe-distclean-guile distclean-guile
28126 maybe-distclean-guile:
28128 maybe-distclean-guile: distclean-guile
28131 @: $(MAKE); $(unstage)
28132 @[ -f ./guile/Makefile ] || exit 0; \
28133 r=`${PWD_COMMAND}`; export r; \
28134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28136 for flag in $(EXTRA_HOST_FLAGS) ; do \
28137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28139 echo "Doing distclean in guile" ; \
28140 (cd $(HOST_SUBDIR)/guile && \
28141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28143 "RANLIB=$${RANLIB}" \
28144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28150 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28151 maybe-maintainer-clean-guile:
28153 maybe-maintainer-clean-guile: maintainer-clean-guile
28155 maintainer-clean-guile:
28156 @: $(MAKE); $(unstage)
28157 @[ -f ./guile/Makefile ] || exit 0; \
28158 r=`${PWD_COMMAND}`; export r; \
28159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28161 for flag in $(EXTRA_HOST_FLAGS) ; do \
28162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28164 echo "Doing maintainer-clean in guile" ; \
28165 (cd $(HOST_SUBDIR)/guile && \
28166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28168 "RANLIB=$${RANLIB}" \
28169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28170 maintainer-clean) \
28177 .PHONY: configure-tk maybe-configure-tk
28178 maybe-configure-tk:
28180 configure-tk: stage_current
28181 @endif gcc-bootstrap
28183 maybe-configure-tk: configure-tk
28185 @: $(MAKE); $(unstage)
28186 @r=`${PWD_COMMAND}`; export r; \
28187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28188 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28191 echo Configuring in $(HOST_SUBDIR)/tk; \
28192 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28193 case $(srcdir) in \
28194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28195 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28198 srcdiroption="--srcdir=$${topdir}/tk"; \
28199 libsrcdir="$$s/tk"; \
28200 $(SHELL) $${libsrcdir}/configure \
28201 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28202 --target=${target_alias} $${srcdiroption} \
28210 .PHONY: all-tk maybe-all-tk
28213 all-tk: stage_current
28214 @endif gcc-bootstrap
28217 maybe-all-tk: all-tk
28218 all-tk: configure-tk
28219 @: $(MAKE); $(unstage)
28220 @r=`${PWD_COMMAND}`; export r; \
28221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28223 (cd $(HOST_SUBDIR)/tk && \
28224 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28231 .PHONY: check-tk maybe-check-tk
28234 maybe-check-tk: check-tk
28237 @: $(MAKE); $(unstage)
28238 @r=`${PWD_COMMAND}`; export r; \
28239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28241 (cd $(HOST_SUBDIR)/tk && \
28242 $(MAKE) $(FLAGS_TO_PASS) check)
28246 .PHONY: install-tk maybe-install-tk
28249 maybe-install-tk: install-tk
28251 install-tk: installdirs
28252 @: $(MAKE); $(unstage)
28253 @r=`${PWD_COMMAND}`; export r; \
28254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28256 (cd $(HOST_SUBDIR)/tk && \
28257 $(MAKE) $(FLAGS_TO_PASS) install)
28261 .PHONY: install-strip-tk maybe-install-strip-tk
28262 maybe-install-strip-tk:
28264 maybe-install-strip-tk: install-strip-tk
28266 install-strip-tk: installdirs
28267 @: $(MAKE); $(unstage)
28268 @r=`${PWD_COMMAND}`; export r; \
28269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28271 (cd $(HOST_SUBDIR)/tk && \
28272 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28276 # Other targets (info, dvi, pdf, etc.)
28278 .PHONY: maybe-info-tk info-tk
28281 maybe-info-tk: info-tk
28285 @: $(MAKE); $(unstage)
28286 @[ -f ./tk/Makefile ] || exit 0; \
28287 r=`${PWD_COMMAND}`; export r; \
28288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28290 for flag in $(EXTRA_HOST_FLAGS) ; do \
28291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28293 echo "Doing info in tk" ; \
28294 (cd $(HOST_SUBDIR)/tk && \
28295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28297 "RANLIB=$${RANLIB}" \
28298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28304 .PHONY: maybe-dvi-tk dvi-tk
28307 maybe-dvi-tk: dvi-tk
28311 @: $(MAKE); $(unstage)
28312 @[ -f ./tk/Makefile ] || exit 0; \
28313 r=`${PWD_COMMAND}`; export r; \
28314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28316 for flag in $(EXTRA_HOST_FLAGS) ; do \
28317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28319 echo "Doing dvi in tk" ; \
28320 (cd $(HOST_SUBDIR)/tk && \
28321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28323 "RANLIB=$${RANLIB}" \
28324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28330 .PHONY: maybe-pdf-tk pdf-tk
28333 maybe-pdf-tk: pdf-tk
28337 @: $(MAKE); $(unstage)
28338 @[ -f ./tk/Makefile ] || exit 0; \
28339 r=`${PWD_COMMAND}`; export r; \
28340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28342 for flag in $(EXTRA_HOST_FLAGS) ; do \
28343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28345 echo "Doing pdf in tk" ; \
28346 (cd $(HOST_SUBDIR)/tk && \
28347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28349 "RANLIB=$${RANLIB}" \
28350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28356 .PHONY: maybe-html-tk html-tk
28359 maybe-html-tk: html-tk
28363 @: $(MAKE); $(unstage)
28364 @[ -f ./tk/Makefile ] || exit 0; \
28365 r=`${PWD_COMMAND}`; export r; \
28366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28368 for flag in $(EXTRA_HOST_FLAGS) ; do \
28369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28371 echo "Doing html in tk" ; \
28372 (cd $(HOST_SUBDIR)/tk && \
28373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28375 "RANLIB=$${RANLIB}" \
28376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28382 .PHONY: maybe-TAGS-tk TAGS-tk
28385 maybe-TAGS-tk: TAGS-tk
28389 @: $(MAKE); $(unstage)
28390 @[ -f ./tk/Makefile ] || exit 0; \
28391 r=`${PWD_COMMAND}`; export r; \
28392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28394 for flag in $(EXTRA_HOST_FLAGS) ; do \
28395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28397 echo "Doing TAGS in tk" ; \
28398 (cd $(HOST_SUBDIR)/tk && \
28399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28401 "RANLIB=$${RANLIB}" \
28402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28408 .PHONY: maybe-install-info-tk install-info-tk
28409 maybe-install-info-tk:
28411 maybe-install-info-tk: install-info-tk
28416 @: $(MAKE); $(unstage)
28417 @[ -f ./tk/Makefile ] || exit 0; \
28418 r=`${PWD_COMMAND}`; export r; \
28419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28421 for flag in $(EXTRA_HOST_FLAGS) ; do \
28422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28424 echo "Doing install-info in tk" ; \
28425 (cd $(HOST_SUBDIR)/tk && \
28426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28428 "RANLIB=$${RANLIB}" \
28429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28435 .PHONY: maybe-install-pdf-tk install-pdf-tk
28436 maybe-install-pdf-tk:
28438 maybe-install-pdf-tk: install-pdf-tk
28443 @: $(MAKE); $(unstage)
28444 @[ -f ./tk/Makefile ] || exit 0; \
28445 r=`${PWD_COMMAND}`; export r; \
28446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28448 for flag in $(EXTRA_HOST_FLAGS) ; do \
28449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28451 echo "Doing install-pdf in tk" ; \
28452 (cd $(HOST_SUBDIR)/tk && \
28453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28455 "RANLIB=$${RANLIB}" \
28456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28462 .PHONY: maybe-install-html-tk install-html-tk
28463 maybe-install-html-tk:
28465 maybe-install-html-tk: install-html-tk
28470 @: $(MAKE); $(unstage)
28471 @[ -f ./tk/Makefile ] || exit 0; \
28472 r=`${PWD_COMMAND}`; export r; \
28473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28475 for flag in $(EXTRA_HOST_FLAGS) ; do \
28476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28478 echo "Doing install-html in tk" ; \
28479 (cd $(HOST_SUBDIR)/tk && \
28480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28482 "RANLIB=$${RANLIB}" \
28483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28489 .PHONY: maybe-installcheck-tk installcheck-tk
28490 maybe-installcheck-tk:
28492 maybe-installcheck-tk: installcheck-tk
28496 @: $(MAKE); $(unstage)
28497 @[ -f ./tk/Makefile ] || exit 0; \
28498 r=`${PWD_COMMAND}`; export r; \
28499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28501 for flag in $(EXTRA_HOST_FLAGS) ; do \
28502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28504 echo "Doing installcheck in tk" ; \
28505 (cd $(HOST_SUBDIR)/tk && \
28506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28508 "RANLIB=$${RANLIB}" \
28509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28515 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28516 maybe-mostlyclean-tk:
28518 maybe-mostlyclean-tk: mostlyclean-tk
28521 @: $(MAKE); $(unstage)
28522 @[ -f ./tk/Makefile ] || exit 0; \
28523 r=`${PWD_COMMAND}`; export r; \
28524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28526 for flag in $(EXTRA_HOST_FLAGS) ; do \
28527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28529 echo "Doing mostlyclean in tk" ; \
28530 (cd $(HOST_SUBDIR)/tk && \
28531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28533 "RANLIB=$${RANLIB}" \
28534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28540 .PHONY: maybe-clean-tk clean-tk
28543 maybe-clean-tk: clean-tk
28546 @: $(MAKE); $(unstage)
28547 @[ -f ./tk/Makefile ] || exit 0; \
28548 r=`${PWD_COMMAND}`; export r; \
28549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28551 for flag in $(EXTRA_HOST_FLAGS) ; do \
28552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28554 echo "Doing clean in tk" ; \
28555 (cd $(HOST_SUBDIR)/tk && \
28556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28558 "RANLIB=$${RANLIB}" \
28559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28565 .PHONY: maybe-distclean-tk distclean-tk
28566 maybe-distclean-tk:
28568 maybe-distclean-tk: distclean-tk
28571 @: $(MAKE); $(unstage)
28572 @[ -f ./tk/Makefile ] || exit 0; \
28573 r=`${PWD_COMMAND}`; export r; \
28574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28576 for flag in $(EXTRA_HOST_FLAGS) ; do \
28577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28579 echo "Doing distclean in tk" ; \
28580 (cd $(HOST_SUBDIR)/tk && \
28581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28583 "RANLIB=$${RANLIB}" \
28584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28590 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28591 maybe-maintainer-clean-tk:
28593 maybe-maintainer-clean-tk: maintainer-clean-tk
28595 maintainer-clean-tk:
28596 @: $(MAKE); $(unstage)
28597 @[ -f ./tk/Makefile ] || exit 0; \
28598 r=`${PWD_COMMAND}`; export r; \
28599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28601 for flag in $(EXTRA_HOST_FLAGS) ; do \
28602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28604 echo "Doing maintainer-clean in tk" ; \
28605 (cd $(HOST_SUBDIR)/tk && \
28606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28608 "RANLIB=$${RANLIB}" \
28609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28610 maintainer-clean) \
28617 .PHONY: configure-libtermcap maybe-configure-libtermcap
28618 maybe-configure-libtermcap:
28620 configure-libtermcap: stage_current
28621 @endif gcc-bootstrap
28623 maybe-configure-libtermcap: configure-libtermcap
28624 configure-libtermcap:
28625 @: $(MAKE); $(unstage)
28626 @r=`${PWD_COMMAND}`; export r; \
28627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28628 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28629 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28631 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28632 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28633 case $(srcdir) in \
28634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28635 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28638 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28639 libsrcdir="$$s/libtermcap"; \
28640 $(SHELL) $${libsrcdir}/configure \
28641 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28642 --target=${target_alias} $${srcdiroption} \
28650 .PHONY: all-libtermcap maybe-all-libtermcap
28651 maybe-all-libtermcap:
28653 all-libtermcap: stage_current
28654 @endif gcc-bootstrap
28656 TARGET-libtermcap=all
28657 maybe-all-libtermcap: all-libtermcap
28658 all-libtermcap: configure-libtermcap
28659 @: $(MAKE); $(unstage)
28660 @r=`${PWD_COMMAND}`; export r; \
28661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28663 (cd $(HOST_SUBDIR)/libtermcap && \
28664 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28665 $(TARGET-libtermcap))
28671 .PHONY: check-libtermcap maybe-check-libtermcap
28672 maybe-check-libtermcap:
28674 maybe-check-libtermcap: check-libtermcap
28680 .PHONY: install-libtermcap maybe-install-libtermcap
28681 maybe-install-libtermcap:
28683 maybe-install-libtermcap: install-libtermcap
28685 install-libtermcap: installdirs
28686 @: $(MAKE); $(unstage)
28687 @r=`${PWD_COMMAND}`; export r; \
28688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28690 (cd $(HOST_SUBDIR)/libtermcap && \
28691 $(MAKE) $(FLAGS_TO_PASS) install)
28695 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
28696 maybe-install-strip-libtermcap:
28698 maybe-install-strip-libtermcap: install-strip-libtermcap
28700 install-strip-libtermcap: installdirs
28701 @: $(MAKE); $(unstage)
28702 @r=`${PWD_COMMAND}`; export r; \
28703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28705 (cd $(HOST_SUBDIR)/libtermcap && \
28706 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28710 # Other targets (info, dvi, pdf, etc.)
28712 .PHONY: maybe-info-libtermcap info-libtermcap
28713 maybe-info-libtermcap:
28715 maybe-info-libtermcap: info-libtermcap
28718 configure-libtermcap
28719 @: $(MAKE); $(unstage)
28720 @[ -f ./libtermcap/Makefile ] || exit 0; \
28721 r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28724 for flag in $(EXTRA_HOST_FLAGS) ; do \
28725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28727 echo "Doing info in libtermcap" ; \
28728 (cd $(HOST_SUBDIR)/libtermcap && \
28729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28731 "RANLIB=$${RANLIB}" \
28732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28738 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28739 maybe-dvi-libtermcap:
28741 maybe-dvi-libtermcap: dvi-libtermcap
28744 configure-libtermcap
28745 @: $(MAKE); $(unstage)
28746 @[ -f ./libtermcap/Makefile ] || exit 0; \
28747 r=`${PWD_COMMAND}`; export r; \
28748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28750 for flag in $(EXTRA_HOST_FLAGS) ; do \
28751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28753 echo "Doing dvi in libtermcap" ; \
28754 (cd $(HOST_SUBDIR)/libtermcap && \
28755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28757 "RANLIB=$${RANLIB}" \
28758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28764 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28765 maybe-pdf-libtermcap:
28767 maybe-pdf-libtermcap: pdf-libtermcap
28770 configure-libtermcap
28771 @: $(MAKE); $(unstage)
28772 @[ -f ./libtermcap/Makefile ] || exit 0; \
28773 r=`${PWD_COMMAND}`; export r; \
28774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28776 for flag in $(EXTRA_HOST_FLAGS) ; do \
28777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28779 echo "Doing pdf in libtermcap" ; \
28780 (cd $(HOST_SUBDIR)/libtermcap && \
28781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28783 "RANLIB=$${RANLIB}" \
28784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28790 .PHONY: maybe-html-libtermcap html-libtermcap
28791 maybe-html-libtermcap:
28793 maybe-html-libtermcap: html-libtermcap
28796 configure-libtermcap
28797 @: $(MAKE); $(unstage)
28798 @[ -f ./libtermcap/Makefile ] || exit 0; \
28799 r=`${PWD_COMMAND}`; export r; \
28800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28802 for flag in $(EXTRA_HOST_FLAGS) ; do \
28803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28805 echo "Doing html in libtermcap" ; \
28806 (cd $(HOST_SUBDIR)/libtermcap && \
28807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28809 "RANLIB=$${RANLIB}" \
28810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28816 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28817 maybe-TAGS-libtermcap:
28819 maybe-TAGS-libtermcap: TAGS-libtermcap
28822 configure-libtermcap
28823 @: $(MAKE); $(unstage)
28824 @[ -f ./libtermcap/Makefile ] || exit 0; \
28825 r=`${PWD_COMMAND}`; export r; \
28826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28828 for flag in $(EXTRA_HOST_FLAGS) ; do \
28829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28831 echo "Doing TAGS in libtermcap" ; \
28832 (cd $(HOST_SUBDIR)/libtermcap && \
28833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28835 "RANLIB=$${RANLIB}" \
28836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28842 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28843 maybe-install-info-libtermcap:
28845 maybe-install-info-libtermcap: install-info-libtermcap
28847 install-info-libtermcap: \
28848 configure-libtermcap \
28850 @: $(MAKE); $(unstage)
28851 @[ -f ./libtermcap/Makefile ] || exit 0; \
28852 r=`${PWD_COMMAND}`; export r; \
28853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28855 for flag in $(EXTRA_HOST_FLAGS) ; do \
28856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28858 echo "Doing install-info in libtermcap" ; \
28859 (cd $(HOST_SUBDIR)/libtermcap && \
28860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28862 "RANLIB=$${RANLIB}" \
28863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28869 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28870 maybe-install-pdf-libtermcap:
28872 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28874 install-pdf-libtermcap: \
28875 configure-libtermcap \
28877 @: $(MAKE); $(unstage)
28878 @[ -f ./libtermcap/Makefile ] || exit 0; \
28879 r=`${PWD_COMMAND}`; export r; \
28880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28882 for flag in $(EXTRA_HOST_FLAGS) ; do \
28883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28885 echo "Doing install-pdf in libtermcap" ; \
28886 (cd $(HOST_SUBDIR)/libtermcap && \
28887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28889 "RANLIB=$${RANLIB}" \
28890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28896 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28897 maybe-install-html-libtermcap:
28899 maybe-install-html-libtermcap: install-html-libtermcap
28901 install-html-libtermcap: \
28902 configure-libtermcap \
28904 @: $(MAKE); $(unstage)
28905 @[ -f ./libtermcap/Makefile ] || exit 0; \
28906 r=`${PWD_COMMAND}`; export r; \
28907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28909 for flag in $(EXTRA_HOST_FLAGS) ; do \
28910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28912 echo "Doing install-html in libtermcap" ; \
28913 (cd $(HOST_SUBDIR)/libtermcap && \
28914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28916 "RANLIB=$${RANLIB}" \
28917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28923 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28924 maybe-installcheck-libtermcap:
28926 maybe-installcheck-libtermcap: installcheck-libtermcap
28928 installcheck-libtermcap: \
28929 configure-libtermcap
28930 @: $(MAKE); $(unstage)
28931 @[ -f ./libtermcap/Makefile ] || exit 0; \
28932 r=`${PWD_COMMAND}`; export r; \
28933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28935 for flag in $(EXTRA_HOST_FLAGS) ; do \
28936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28938 echo "Doing installcheck in libtermcap" ; \
28939 (cd $(HOST_SUBDIR)/libtermcap && \
28940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28942 "RANLIB=$${RANLIB}" \
28943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28949 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28950 maybe-mostlyclean-libtermcap:
28952 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28954 # libtermcap doesn't support mostlyclean.
28955 mostlyclean-libtermcap:
28959 .PHONY: maybe-clean-libtermcap clean-libtermcap
28960 maybe-clean-libtermcap:
28962 maybe-clean-libtermcap: clean-libtermcap
28964 # libtermcap doesn't support clean.
28969 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28970 maybe-distclean-libtermcap:
28972 maybe-distclean-libtermcap: distclean-libtermcap
28974 # libtermcap doesn't support distclean.
28975 distclean-libtermcap:
28979 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28980 maybe-maintainer-clean-libtermcap:
28982 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28984 # libtermcap doesn't support maintainer-clean.
28985 maintainer-clean-libtermcap:
28991 .PHONY: configure-utils maybe-configure-utils
28992 maybe-configure-utils:
28994 configure-utils: stage_current
28995 @endif gcc-bootstrap
28997 maybe-configure-utils: configure-utils
28999 @: $(MAKE); $(unstage)
29000 @r=`${PWD_COMMAND}`; export r; \
29001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29002 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29005 echo Configuring in $(HOST_SUBDIR)/utils; \
29006 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29007 case $(srcdir) in \
29008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29009 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29012 srcdiroption="--srcdir=$${topdir}/utils"; \
29013 libsrcdir="$$s/utils"; \
29014 $(SHELL) $${libsrcdir}/configure \
29015 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29016 --target=${target_alias} $${srcdiroption} \
29024 .PHONY: all-utils maybe-all-utils
29027 all-utils: stage_current
29028 @endif gcc-bootstrap
29031 maybe-all-utils: all-utils
29032 all-utils: configure-utils
29033 @: $(MAKE); $(unstage)
29034 @r=`${PWD_COMMAND}`; export r; \
29035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29037 (cd $(HOST_SUBDIR)/utils && \
29038 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29045 .PHONY: check-utils maybe-check-utils
29048 maybe-check-utils: check-utils
29054 .PHONY: install-utils maybe-install-utils
29055 maybe-install-utils:
29057 maybe-install-utils: install-utils
29059 install-utils: installdirs
29060 @: $(MAKE); $(unstage)
29061 @r=`${PWD_COMMAND}`; export r; \
29062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29064 (cd $(HOST_SUBDIR)/utils && \
29065 $(MAKE) $(FLAGS_TO_PASS) install)
29069 .PHONY: install-strip-utils maybe-install-strip-utils
29070 maybe-install-strip-utils:
29072 maybe-install-strip-utils: install-strip-utils
29074 install-strip-utils: installdirs
29075 @: $(MAKE); $(unstage)
29076 @r=`${PWD_COMMAND}`; export r; \
29077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29079 (cd $(HOST_SUBDIR)/utils && \
29080 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29084 # Other targets (info, dvi, pdf, etc.)
29086 .PHONY: maybe-info-utils info-utils
29089 maybe-info-utils: info-utils
29093 @: $(MAKE); $(unstage)
29094 @[ -f ./utils/Makefile ] || exit 0; \
29095 r=`${PWD_COMMAND}`; export r; \
29096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29098 for flag in $(EXTRA_HOST_FLAGS) ; do \
29099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29101 echo "Doing info in utils" ; \
29102 (cd $(HOST_SUBDIR)/utils && \
29103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29105 "RANLIB=$${RANLIB}" \
29106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29112 .PHONY: maybe-dvi-utils dvi-utils
29115 maybe-dvi-utils: dvi-utils
29119 @: $(MAKE); $(unstage)
29120 @[ -f ./utils/Makefile ] || exit 0; \
29121 r=`${PWD_COMMAND}`; export r; \
29122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29124 for flag in $(EXTRA_HOST_FLAGS) ; do \
29125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29127 echo "Doing dvi in utils" ; \
29128 (cd $(HOST_SUBDIR)/utils && \
29129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29131 "RANLIB=$${RANLIB}" \
29132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29138 .PHONY: maybe-pdf-utils pdf-utils
29141 maybe-pdf-utils: pdf-utils
29145 @: $(MAKE); $(unstage)
29146 @[ -f ./utils/Makefile ] || exit 0; \
29147 r=`${PWD_COMMAND}`; export r; \
29148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29150 for flag in $(EXTRA_HOST_FLAGS) ; do \
29151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29153 echo "Doing pdf in utils" ; \
29154 (cd $(HOST_SUBDIR)/utils && \
29155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29157 "RANLIB=$${RANLIB}" \
29158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29164 .PHONY: maybe-html-utils html-utils
29167 maybe-html-utils: html-utils
29171 @: $(MAKE); $(unstage)
29172 @[ -f ./utils/Makefile ] || exit 0; \
29173 r=`${PWD_COMMAND}`; export r; \
29174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29176 for flag in $(EXTRA_HOST_FLAGS) ; do \
29177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29179 echo "Doing html in utils" ; \
29180 (cd $(HOST_SUBDIR)/utils && \
29181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29183 "RANLIB=$${RANLIB}" \
29184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29190 .PHONY: maybe-TAGS-utils TAGS-utils
29193 maybe-TAGS-utils: TAGS-utils
29197 @: $(MAKE); $(unstage)
29198 @[ -f ./utils/Makefile ] || exit 0; \
29199 r=`${PWD_COMMAND}`; export r; \
29200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29202 for flag in $(EXTRA_HOST_FLAGS) ; do \
29203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29205 echo "Doing TAGS in utils" ; \
29206 (cd $(HOST_SUBDIR)/utils && \
29207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29209 "RANLIB=$${RANLIB}" \
29210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29216 .PHONY: maybe-install-info-utils install-info-utils
29217 maybe-install-info-utils:
29219 maybe-install-info-utils: install-info-utils
29221 install-info-utils: \
29224 @: $(MAKE); $(unstage)
29225 @[ -f ./utils/Makefile ] || exit 0; \
29226 r=`${PWD_COMMAND}`; export r; \
29227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29229 for flag in $(EXTRA_HOST_FLAGS) ; do \
29230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29232 echo "Doing install-info in utils" ; \
29233 (cd $(HOST_SUBDIR)/utils && \
29234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29236 "RANLIB=$${RANLIB}" \
29237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29243 .PHONY: maybe-install-pdf-utils install-pdf-utils
29244 maybe-install-pdf-utils:
29246 maybe-install-pdf-utils: install-pdf-utils
29248 install-pdf-utils: \
29251 @: $(MAKE); $(unstage)
29252 @[ -f ./utils/Makefile ] || exit 0; \
29253 r=`${PWD_COMMAND}`; export r; \
29254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29256 for flag in $(EXTRA_HOST_FLAGS) ; do \
29257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29259 echo "Doing install-pdf in utils" ; \
29260 (cd $(HOST_SUBDIR)/utils && \
29261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29263 "RANLIB=$${RANLIB}" \
29264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29270 .PHONY: maybe-install-html-utils install-html-utils
29271 maybe-install-html-utils:
29273 maybe-install-html-utils: install-html-utils
29275 install-html-utils: \
29278 @: $(MAKE); $(unstage)
29279 @[ -f ./utils/Makefile ] || exit 0; \
29280 r=`${PWD_COMMAND}`; export r; \
29281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29283 for flag in $(EXTRA_HOST_FLAGS) ; do \
29284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29286 echo "Doing install-html in utils" ; \
29287 (cd $(HOST_SUBDIR)/utils && \
29288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29290 "RANLIB=$${RANLIB}" \
29291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29297 .PHONY: maybe-installcheck-utils installcheck-utils
29298 maybe-installcheck-utils:
29300 maybe-installcheck-utils: installcheck-utils
29302 installcheck-utils: \
29304 @: $(MAKE); $(unstage)
29305 @[ -f ./utils/Makefile ] || exit 0; \
29306 r=`${PWD_COMMAND}`; export r; \
29307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29309 for flag in $(EXTRA_HOST_FLAGS) ; do \
29310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29312 echo "Doing installcheck in utils" ; \
29313 (cd $(HOST_SUBDIR)/utils && \
29314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29316 "RANLIB=$${RANLIB}" \
29317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29323 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29324 maybe-mostlyclean-utils:
29326 maybe-mostlyclean-utils: mostlyclean-utils
29329 @: $(MAKE); $(unstage)
29330 @[ -f ./utils/Makefile ] || exit 0; \
29331 r=`${PWD_COMMAND}`; export r; \
29332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29334 for flag in $(EXTRA_HOST_FLAGS) ; do \
29335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29337 echo "Doing mostlyclean in utils" ; \
29338 (cd $(HOST_SUBDIR)/utils && \
29339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29341 "RANLIB=$${RANLIB}" \
29342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29348 .PHONY: maybe-clean-utils clean-utils
29351 maybe-clean-utils: clean-utils
29354 @: $(MAKE); $(unstage)
29355 @[ -f ./utils/Makefile ] || exit 0; \
29356 r=`${PWD_COMMAND}`; export r; \
29357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29359 for flag in $(EXTRA_HOST_FLAGS) ; do \
29360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29362 echo "Doing clean in utils" ; \
29363 (cd $(HOST_SUBDIR)/utils && \
29364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29366 "RANLIB=$${RANLIB}" \
29367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29373 .PHONY: maybe-distclean-utils distclean-utils
29374 maybe-distclean-utils:
29376 maybe-distclean-utils: distclean-utils
29379 @: $(MAKE); $(unstage)
29380 @[ -f ./utils/Makefile ] || exit 0; \
29381 r=`${PWD_COMMAND}`; export r; \
29382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29384 for flag in $(EXTRA_HOST_FLAGS) ; do \
29385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29387 echo "Doing distclean in utils" ; \
29388 (cd $(HOST_SUBDIR)/utils && \
29389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29391 "RANLIB=$${RANLIB}" \
29392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29398 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29399 maybe-maintainer-clean-utils:
29401 maybe-maintainer-clean-utils: maintainer-clean-utils
29403 maintainer-clean-utils:
29404 @: $(MAKE); $(unstage)
29405 @[ -f ./utils/Makefile ] || exit 0; \
29406 r=`${PWD_COMMAND}`; export r; \
29407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29409 for flag in $(EXTRA_HOST_FLAGS) ; do \
29410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29412 echo "Doing maintainer-clean in utils" ; \
29413 (cd $(HOST_SUBDIR)/utils && \
29414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29416 "RANLIB=$${RANLIB}" \
29417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29418 maintainer-clean) \
29425 .PHONY: configure-gnattools maybe-configure-gnattools
29426 maybe-configure-gnattools:
29428 configure-gnattools: stage_current
29429 @endif gcc-bootstrap
29431 maybe-configure-gnattools: configure-gnattools
29432 configure-gnattools:
29433 @: $(MAKE); $(unstage)
29434 @r=`${PWD_COMMAND}`; export r; \
29435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29436 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29439 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29440 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29441 case $(srcdir) in \
29442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29443 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29446 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29447 libsrcdir="$$s/gnattools"; \
29448 $(SHELL) $${libsrcdir}/configure \
29449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29450 --target=${target_alias} $${srcdiroption} \
29458 .PHONY: all-gnattools maybe-all-gnattools
29459 maybe-all-gnattools:
29461 all-gnattools: stage_current
29462 @endif gcc-bootstrap
29464 TARGET-gnattools=all
29465 maybe-all-gnattools: all-gnattools
29466 all-gnattools: configure-gnattools
29467 @: $(MAKE); $(unstage)
29468 @r=`${PWD_COMMAND}`; export r; \
29469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29471 (cd $(HOST_SUBDIR)/gnattools && \
29472 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29473 $(TARGET-gnattools))
29479 .PHONY: check-gnattools maybe-check-gnattools
29480 maybe-check-gnattools:
29482 maybe-check-gnattools: check-gnattools
29485 @: $(MAKE); $(unstage)
29486 @r=`${PWD_COMMAND}`; export r; \
29487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29489 (cd $(HOST_SUBDIR)/gnattools && \
29490 $(MAKE) $(FLAGS_TO_PASS) check)
29494 .PHONY: install-gnattools maybe-install-gnattools
29495 maybe-install-gnattools:
29497 maybe-install-gnattools: install-gnattools
29499 install-gnattools: installdirs
29500 @: $(MAKE); $(unstage)
29501 @r=`${PWD_COMMAND}`; export r; \
29502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29504 (cd $(HOST_SUBDIR)/gnattools && \
29505 $(MAKE) $(FLAGS_TO_PASS) install)
29509 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
29510 maybe-install-strip-gnattools:
29512 maybe-install-strip-gnattools: install-strip-gnattools
29514 install-strip-gnattools: installdirs
29515 @: $(MAKE); $(unstage)
29516 @r=`${PWD_COMMAND}`; export r; \
29517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29519 (cd $(HOST_SUBDIR)/gnattools && \
29520 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29524 # Other targets (info, dvi, pdf, etc.)
29526 .PHONY: maybe-info-gnattools info-gnattools
29527 maybe-info-gnattools:
29529 maybe-info-gnattools: info-gnattools
29532 configure-gnattools
29533 @: $(MAKE); $(unstage)
29534 @[ -f ./gnattools/Makefile ] || exit 0; \
29535 r=`${PWD_COMMAND}`; export r; \
29536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29538 for flag in $(EXTRA_HOST_FLAGS) ; do \
29539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29541 echo "Doing info in gnattools" ; \
29542 (cd $(HOST_SUBDIR)/gnattools && \
29543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29545 "RANLIB=$${RANLIB}" \
29546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29552 .PHONY: maybe-dvi-gnattools dvi-gnattools
29553 maybe-dvi-gnattools:
29555 maybe-dvi-gnattools: dvi-gnattools
29558 configure-gnattools
29559 @: $(MAKE); $(unstage)
29560 @[ -f ./gnattools/Makefile ] || exit 0; \
29561 r=`${PWD_COMMAND}`; export r; \
29562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29564 for flag in $(EXTRA_HOST_FLAGS) ; do \
29565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29567 echo "Doing dvi in gnattools" ; \
29568 (cd $(HOST_SUBDIR)/gnattools && \
29569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29571 "RANLIB=$${RANLIB}" \
29572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29578 .PHONY: maybe-pdf-gnattools pdf-gnattools
29579 maybe-pdf-gnattools:
29581 maybe-pdf-gnattools: pdf-gnattools
29584 configure-gnattools
29585 @: $(MAKE); $(unstage)
29586 @[ -f ./gnattools/Makefile ] || exit 0; \
29587 r=`${PWD_COMMAND}`; export r; \
29588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29590 for flag in $(EXTRA_HOST_FLAGS) ; do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29593 echo "Doing pdf in gnattools" ; \
29594 (cd $(HOST_SUBDIR)/gnattools && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29604 .PHONY: maybe-html-gnattools html-gnattools
29605 maybe-html-gnattools:
29607 maybe-html-gnattools: html-gnattools
29610 configure-gnattools
29611 @: $(MAKE); $(unstage)
29612 @[ -f ./gnattools/Makefile ] || exit 0; \
29613 r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29616 for flag in $(EXTRA_HOST_FLAGS) ; do \
29617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29619 echo "Doing html in gnattools" ; \
29620 (cd $(HOST_SUBDIR)/gnattools && \
29621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29623 "RANLIB=$${RANLIB}" \
29624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29630 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
29631 maybe-TAGS-gnattools:
29633 maybe-TAGS-gnattools: TAGS-gnattools
29636 configure-gnattools
29637 @: $(MAKE); $(unstage)
29638 @[ -f ./gnattools/Makefile ] || exit 0; \
29639 r=`${PWD_COMMAND}`; export r; \
29640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29642 for flag in $(EXTRA_HOST_FLAGS) ; do \
29643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29645 echo "Doing TAGS in gnattools" ; \
29646 (cd $(HOST_SUBDIR)/gnattools && \
29647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29649 "RANLIB=$${RANLIB}" \
29650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29656 .PHONY: maybe-install-info-gnattools install-info-gnattools
29657 maybe-install-info-gnattools:
29659 maybe-install-info-gnattools: install-info-gnattools
29661 install-info-gnattools: \
29662 configure-gnattools \
29664 @: $(MAKE); $(unstage)
29665 @[ -f ./gnattools/Makefile ] || exit 0; \
29666 r=`${PWD_COMMAND}`; export r; \
29667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29669 for flag in $(EXTRA_HOST_FLAGS) ; do \
29670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29672 echo "Doing install-info in gnattools" ; \
29673 (cd $(HOST_SUBDIR)/gnattools && \
29674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29676 "RANLIB=$${RANLIB}" \
29677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29683 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
29684 maybe-install-pdf-gnattools:
29686 maybe-install-pdf-gnattools: install-pdf-gnattools
29688 install-pdf-gnattools: \
29689 configure-gnattools \
29691 @: $(MAKE); $(unstage)
29692 @[ -f ./gnattools/Makefile ] || exit 0; \
29693 r=`${PWD_COMMAND}`; export r; \
29694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29696 for flag in $(EXTRA_HOST_FLAGS) ; do \
29697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29699 echo "Doing install-pdf in gnattools" ; \
29700 (cd $(HOST_SUBDIR)/gnattools && \
29701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29703 "RANLIB=$${RANLIB}" \
29704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29710 .PHONY: maybe-install-html-gnattools install-html-gnattools
29711 maybe-install-html-gnattools:
29713 maybe-install-html-gnattools: install-html-gnattools
29715 install-html-gnattools: \
29716 configure-gnattools \
29718 @: $(MAKE); $(unstage)
29719 @[ -f ./gnattools/Makefile ] || exit 0; \
29720 r=`${PWD_COMMAND}`; export r; \
29721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29723 for flag in $(EXTRA_HOST_FLAGS) ; do \
29724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29726 echo "Doing install-html in gnattools" ; \
29727 (cd $(HOST_SUBDIR)/gnattools && \
29728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29730 "RANLIB=$${RANLIB}" \
29731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29737 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29738 maybe-installcheck-gnattools:
29740 maybe-installcheck-gnattools: installcheck-gnattools
29742 installcheck-gnattools: \
29743 configure-gnattools
29744 @: $(MAKE); $(unstage)
29745 @[ -f ./gnattools/Makefile ] || exit 0; \
29746 r=`${PWD_COMMAND}`; export r; \
29747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29749 for flag in $(EXTRA_HOST_FLAGS) ; do \
29750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29752 echo "Doing installcheck in gnattools" ; \
29753 (cd $(HOST_SUBDIR)/gnattools && \
29754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29756 "RANLIB=$${RANLIB}" \
29757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29763 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29764 maybe-mostlyclean-gnattools:
29766 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29768 mostlyclean-gnattools:
29769 @: $(MAKE); $(unstage)
29770 @[ -f ./gnattools/Makefile ] || exit 0; \
29771 r=`${PWD_COMMAND}`; export r; \
29772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29774 for flag in $(EXTRA_HOST_FLAGS) ; do \
29775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29777 echo "Doing mostlyclean in gnattools" ; \
29778 (cd $(HOST_SUBDIR)/gnattools && \
29779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29781 "RANLIB=$${RANLIB}" \
29782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29788 .PHONY: maybe-clean-gnattools clean-gnattools
29789 maybe-clean-gnattools:
29791 maybe-clean-gnattools: clean-gnattools
29794 @: $(MAKE); $(unstage)
29795 @[ -f ./gnattools/Makefile ] || exit 0; \
29796 r=`${PWD_COMMAND}`; export r; \
29797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29799 for flag in $(EXTRA_HOST_FLAGS) ; do \
29800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29802 echo "Doing clean in gnattools" ; \
29803 (cd $(HOST_SUBDIR)/gnattools && \
29804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29806 "RANLIB=$${RANLIB}" \
29807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29813 .PHONY: maybe-distclean-gnattools distclean-gnattools
29814 maybe-distclean-gnattools:
29816 maybe-distclean-gnattools: distclean-gnattools
29818 distclean-gnattools:
29819 @: $(MAKE); $(unstage)
29820 @[ -f ./gnattools/Makefile ] || exit 0; \
29821 r=`${PWD_COMMAND}`; export r; \
29822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29824 for flag in $(EXTRA_HOST_FLAGS) ; do \
29825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29827 echo "Doing distclean in gnattools" ; \
29828 (cd $(HOST_SUBDIR)/gnattools && \
29829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29831 "RANLIB=$${RANLIB}" \
29832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29838 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29839 maybe-maintainer-clean-gnattools:
29841 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29843 maintainer-clean-gnattools:
29844 @: $(MAKE); $(unstage)
29845 @[ -f ./gnattools/Makefile ] || exit 0; \
29846 r=`${PWD_COMMAND}`; export r; \
29847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29849 for flag in $(EXTRA_HOST_FLAGS) ; do \
29850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29852 echo "Doing maintainer-clean in gnattools" ; \
29853 (cd $(HOST_SUBDIR)/gnattools && \
29854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29856 "RANLIB=$${RANLIB}" \
29857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29858 maintainer-clean) \
29865 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29866 maybe-configure-lto-plugin:
29868 configure-lto-plugin: stage_current
29869 @endif gcc-bootstrap
29871 maybe-configure-lto-plugin: configure-lto-plugin
29872 configure-lto-plugin:
29873 @r=`${PWD_COMMAND}`; export r; \
29874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29875 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29878 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29879 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29880 case $(srcdir) in \
29881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29882 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29885 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29886 libsrcdir="$$s/lto-plugin"; \
29887 $(SHELL) $${libsrcdir}/configure \
29888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29889 --target=${target_alias} $${srcdiroption} --enable-shared \
29895 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29896 maybe-configure-stage1-lto-plugin:
29897 @if lto-plugin-bootstrap
29898 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29899 configure-stage1-lto-plugin:
29900 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29901 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29902 @r=`${PWD_COMMAND}`; export r; \
29903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29904 TFLAGS="$(STAGE1_TFLAGS)"; \
29905 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29907 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29908 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29909 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29910 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29912 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29913 case $(srcdir) in \
29914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29915 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29918 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29919 libsrcdir="$$s/lto-plugin"; \
29920 $(SHELL) $${libsrcdir}/configure \
29921 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29922 --target=${target_alias} $${srcdiroption} \
29923 $(STAGE1_CONFIGURE_FLAGS) \
29925 @endif lto-plugin-bootstrap
29927 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29928 maybe-configure-stage2-lto-plugin:
29929 @if lto-plugin-bootstrap
29930 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29931 configure-stage2-lto-plugin:
29932 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29934 @r=`${PWD_COMMAND}`; export r; \
29935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29936 TFLAGS="$(STAGE2_TFLAGS)"; \
29937 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29939 $(POSTSTAGE1_HOST_EXPORTS) \
29940 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29941 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29942 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29943 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29945 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29946 case $(srcdir) in \
29947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29948 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29951 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29952 libsrcdir="$$s/lto-plugin"; \
29953 $(SHELL) $${libsrcdir}/configure \
29954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29955 --target=${target_alias} $${srcdiroption} \
29956 --with-build-libsubdir=$(HOST_SUBDIR) \
29957 $(STAGE2_CONFIGURE_FLAGS) \
29959 @endif lto-plugin-bootstrap
29961 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29962 maybe-configure-stage3-lto-plugin:
29963 @if lto-plugin-bootstrap
29964 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29965 configure-stage3-lto-plugin:
29966 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29968 @r=`${PWD_COMMAND}`; export r; \
29969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29970 TFLAGS="$(STAGE3_TFLAGS)"; \
29971 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29973 $(POSTSTAGE1_HOST_EXPORTS) \
29974 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29975 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29976 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29977 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29979 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29980 case $(srcdir) in \
29981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29982 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29985 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29986 libsrcdir="$$s/lto-plugin"; \
29987 $(SHELL) $${libsrcdir}/configure \
29988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29989 --target=${target_alias} $${srcdiroption} \
29990 --with-build-libsubdir=$(HOST_SUBDIR) \
29991 $(STAGE3_CONFIGURE_FLAGS) \
29993 @endif lto-plugin-bootstrap
29995 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29996 maybe-configure-stage4-lto-plugin:
29997 @if lto-plugin-bootstrap
29998 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29999 configure-stage4-lto-plugin:
30000 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30002 @r=`${PWD_COMMAND}`; export r; \
30003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30004 TFLAGS="$(STAGE4_TFLAGS)"; \
30005 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30007 $(POSTSTAGE1_HOST_EXPORTS) \
30008 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30009 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30010 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30011 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30013 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30014 case $(srcdir) in \
30015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30016 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30019 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30020 libsrcdir="$$s/lto-plugin"; \
30021 $(SHELL) $${libsrcdir}/configure \
30022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30023 --target=${target_alias} $${srcdiroption} \
30024 --with-build-libsubdir=$(HOST_SUBDIR) \
30025 $(STAGE4_CONFIGURE_FLAGS) \
30027 @endif lto-plugin-bootstrap
30029 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30030 maybe-configure-stageprofile-lto-plugin:
30031 @if lto-plugin-bootstrap
30032 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30033 configure-stageprofile-lto-plugin:
30034 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30036 @r=`${PWD_COMMAND}`; export r; \
30037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30038 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30039 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30041 $(POSTSTAGE1_HOST_EXPORTS) \
30042 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30043 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30044 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30045 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30047 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30048 case $(srcdir) in \
30049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30050 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30053 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30054 libsrcdir="$$s/lto-plugin"; \
30055 $(SHELL) $${libsrcdir}/configure \
30056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30057 --target=${target_alias} $${srcdiroption} \
30058 --with-build-libsubdir=$(HOST_SUBDIR) \
30059 $(STAGEprofile_CONFIGURE_FLAGS) \
30061 @endif lto-plugin-bootstrap
30063 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30064 maybe-configure-stagefeedback-lto-plugin:
30065 @if lto-plugin-bootstrap
30066 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30067 configure-stagefeedback-lto-plugin:
30068 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30070 @r=`${PWD_COMMAND}`; export r; \
30071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30072 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30073 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30075 $(POSTSTAGE1_HOST_EXPORTS) \
30076 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30077 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30078 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30079 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30081 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30082 case $(srcdir) in \
30083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30084 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30087 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30088 libsrcdir="$$s/lto-plugin"; \
30089 $(SHELL) $${libsrcdir}/configure \
30090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30091 --target=${target_alias} $${srcdiroption} \
30092 --with-build-libsubdir=$(HOST_SUBDIR) \
30093 $(STAGEfeedback_CONFIGURE_FLAGS) \
30095 @endif lto-plugin-bootstrap
30101 .PHONY: all-lto-plugin maybe-all-lto-plugin
30102 maybe-all-lto-plugin:
30104 all-lto-plugin: stage_current
30105 @endif gcc-bootstrap
30107 TARGET-lto-plugin=all
30108 maybe-all-lto-plugin: all-lto-plugin
30109 all-lto-plugin: configure-lto-plugin
30110 @r=`${PWD_COMMAND}`; export r; \
30111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30113 (cd $(HOST_SUBDIR)/lto-plugin && \
30114 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30115 $(TARGET-lto-plugin))
30120 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30121 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30122 maybe-all-stage1-lto-plugin:
30123 maybe-clean-stage1-lto-plugin:
30124 @if lto-plugin-bootstrap
30125 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30126 all-stage1: all-stage1-lto-plugin
30127 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30128 all-stage1-lto-plugin: configure-stage1-lto-plugin
30129 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30130 @r=`${PWD_COMMAND}`; export r; \
30131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30132 TFLAGS="$(STAGE1_TFLAGS)"; \
30134 cd $(HOST_SUBDIR)/lto-plugin && \
30135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30136 CFLAGS="$(STAGE1_CFLAGS)" \
30137 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30138 LIBCFLAGS="$(LIBCFLAGS)" \
30139 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30142 $(EXTRA_HOST_FLAGS) \
30143 $(STAGE1_FLAGS_TO_PASS) \
30144 TFLAGS="$(STAGE1_TFLAGS)" \
30145 $(TARGET-stage1-lto-plugin)
30147 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30148 clean-stage1: clean-stage1-lto-plugin
30149 clean-stage1-lto-plugin:
30150 @if [ $(current_stage) = stage1 ]; then \
30151 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30153 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30154 $(MAKE) stage1-start; \
30156 cd $(HOST_SUBDIR)/lto-plugin && \
30157 $(MAKE) $(EXTRA_HOST_FLAGS) \
30158 $(STAGE1_FLAGS_TO_PASS) clean
30159 @endif lto-plugin-bootstrap
30162 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30163 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30164 maybe-all-stage2-lto-plugin:
30165 maybe-clean-stage2-lto-plugin:
30166 @if lto-plugin-bootstrap
30167 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30168 all-stage2: all-stage2-lto-plugin
30169 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30170 all-stage2-lto-plugin: configure-stage2-lto-plugin
30171 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30172 @r=`${PWD_COMMAND}`; export r; \
30173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30174 TFLAGS="$(STAGE2_TFLAGS)"; \
30176 $(POSTSTAGE1_HOST_EXPORTS) \
30177 cd $(HOST_SUBDIR)/lto-plugin && \
30178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30179 CFLAGS="$(STAGE2_CFLAGS)" \
30180 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30181 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30185 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30186 TFLAGS="$(STAGE2_TFLAGS)" \
30187 $(TARGET-stage2-lto-plugin)
30189 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30190 clean-stage2: clean-stage2-lto-plugin
30191 clean-stage2-lto-plugin:
30192 @if [ $(current_stage) = stage2 ]; then \
30193 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30195 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30196 $(MAKE) stage2-start; \
30198 cd $(HOST_SUBDIR)/lto-plugin && \
30199 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30200 @endif lto-plugin-bootstrap
30203 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30204 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30205 maybe-all-stage3-lto-plugin:
30206 maybe-clean-stage3-lto-plugin:
30207 @if lto-plugin-bootstrap
30208 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30209 all-stage3: all-stage3-lto-plugin
30210 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30211 all-stage3-lto-plugin: configure-stage3-lto-plugin
30212 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30213 @r=`${PWD_COMMAND}`; export r; \
30214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30215 TFLAGS="$(STAGE3_TFLAGS)"; \
30217 $(POSTSTAGE1_HOST_EXPORTS) \
30218 cd $(HOST_SUBDIR)/lto-plugin && \
30219 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30220 CFLAGS="$(STAGE3_CFLAGS)" \
30221 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30222 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30226 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30227 TFLAGS="$(STAGE3_TFLAGS)" \
30228 $(TARGET-stage3-lto-plugin)
30230 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30231 clean-stage3: clean-stage3-lto-plugin
30232 clean-stage3-lto-plugin:
30233 @if [ $(current_stage) = stage3 ]; then \
30234 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30236 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30237 $(MAKE) stage3-start; \
30239 cd $(HOST_SUBDIR)/lto-plugin && \
30240 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30241 @endif lto-plugin-bootstrap
30244 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30245 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30246 maybe-all-stage4-lto-plugin:
30247 maybe-clean-stage4-lto-plugin:
30248 @if lto-plugin-bootstrap
30249 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30250 all-stage4: all-stage4-lto-plugin
30251 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30252 all-stage4-lto-plugin: configure-stage4-lto-plugin
30253 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30254 @r=`${PWD_COMMAND}`; export r; \
30255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30256 TFLAGS="$(STAGE4_TFLAGS)"; \
30258 $(POSTSTAGE1_HOST_EXPORTS) \
30259 cd $(HOST_SUBDIR)/lto-plugin && \
30260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30261 CFLAGS="$(STAGE4_CFLAGS)" \
30262 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30263 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30267 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30268 TFLAGS="$(STAGE4_TFLAGS)" \
30269 $(TARGET-stage4-lto-plugin)
30271 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30272 clean-stage4: clean-stage4-lto-plugin
30273 clean-stage4-lto-plugin:
30274 @if [ $(current_stage) = stage4 ]; then \
30275 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30277 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30278 $(MAKE) stage4-start; \
30280 cd $(HOST_SUBDIR)/lto-plugin && \
30281 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30282 @endif lto-plugin-bootstrap
30285 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30286 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30287 maybe-all-stageprofile-lto-plugin:
30288 maybe-clean-stageprofile-lto-plugin:
30289 @if lto-plugin-bootstrap
30290 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30291 all-stageprofile: all-stageprofile-lto-plugin
30292 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30293 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30294 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30295 @r=`${PWD_COMMAND}`; export r; \
30296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30297 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30299 $(POSTSTAGE1_HOST_EXPORTS) \
30300 cd $(HOST_SUBDIR)/lto-plugin && \
30301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30302 CFLAGS="$(STAGEprofile_CFLAGS)" \
30303 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30304 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30305 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30306 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30307 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30308 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30309 TFLAGS="$(STAGEprofile_TFLAGS)" \
30310 $(TARGET-stageprofile-lto-plugin)
30312 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30313 clean-stageprofile: clean-stageprofile-lto-plugin
30314 clean-stageprofile-lto-plugin:
30315 @if [ $(current_stage) = stageprofile ]; then \
30316 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30318 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30319 $(MAKE) stageprofile-start; \
30321 cd $(HOST_SUBDIR)/lto-plugin && \
30322 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30323 @endif lto-plugin-bootstrap
30326 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30327 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30328 maybe-all-stagefeedback-lto-plugin:
30329 maybe-clean-stagefeedback-lto-plugin:
30330 @if lto-plugin-bootstrap
30331 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30332 all-stagefeedback: all-stagefeedback-lto-plugin
30333 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30334 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30335 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30336 @r=`${PWD_COMMAND}`; export r; \
30337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30338 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30340 $(POSTSTAGE1_HOST_EXPORTS) \
30341 cd $(HOST_SUBDIR)/lto-plugin && \
30342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30343 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30344 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30345 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30350 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30351 $(TARGET-stagefeedback-lto-plugin)
30353 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30354 clean-stagefeedback: clean-stagefeedback-lto-plugin
30355 clean-stagefeedback-lto-plugin:
30356 @if [ $(current_stage) = stagefeedback ]; then \
30357 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30359 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30360 $(MAKE) stagefeedback-start; \
30362 cd $(HOST_SUBDIR)/lto-plugin && \
30363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30364 @endif lto-plugin-bootstrap
30370 .PHONY: check-lto-plugin maybe-check-lto-plugin
30371 maybe-check-lto-plugin:
30373 maybe-check-lto-plugin: check-lto-plugin
30376 @: $(MAKE); $(unstage)
30377 @r=`${PWD_COMMAND}`; export r; \
30378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30380 (cd $(HOST_SUBDIR)/lto-plugin && \
30381 $(MAKE) $(FLAGS_TO_PASS) check)
30385 .PHONY: install-lto-plugin maybe-install-lto-plugin
30386 maybe-install-lto-plugin:
30388 maybe-install-lto-plugin: install-lto-plugin
30390 install-lto-plugin: installdirs
30391 @: $(MAKE); $(unstage)
30392 @r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30395 (cd $(HOST_SUBDIR)/lto-plugin && \
30396 $(MAKE) $(FLAGS_TO_PASS) install)
30400 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
30401 maybe-install-strip-lto-plugin:
30403 maybe-install-strip-lto-plugin: install-strip-lto-plugin
30405 install-strip-lto-plugin: installdirs
30406 @: $(MAKE); $(unstage)
30407 @r=`${PWD_COMMAND}`; export r; \
30408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30410 (cd $(HOST_SUBDIR)/lto-plugin && \
30411 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30415 # Other targets (info, dvi, pdf, etc.)
30417 .PHONY: maybe-info-lto-plugin info-lto-plugin
30418 maybe-info-lto-plugin:
30420 maybe-info-lto-plugin: info-lto-plugin
30423 configure-lto-plugin
30424 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30425 r=`${PWD_COMMAND}`; export r; \
30426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30428 for flag in $(EXTRA_HOST_FLAGS) ; do \
30429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30431 echo "Doing info in lto-plugin" ; \
30432 (cd $(HOST_SUBDIR)/lto-plugin && \
30433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30435 "RANLIB=$${RANLIB}" \
30436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30442 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
30443 maybe-dvi-lto-plugin:
30445 maybe-dvi-lto-plugin: dvi-lto-plugin
30448 configure-lto-plugin
30449 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30450 r=`${PWD_COMMAND}`; export r; \
30451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30453 for flag in $(EXTRA_HOST_FLAGS) ; do \
30454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30456 echo "Doing dvi in lto-plugin" ; \
30457 (cd $(HOST_SUBDIR)/lto-plugin && \
30458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30460 "RANLIB=$${RANLIB}" \
30461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30467 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
30468 maybe-pdf-lto-plugin:
30470 maybe-pdf-lto-plugin: pdf-lto-plugin
30473 configure-lto-plugin
30474 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30475 r=`${PWD_COMMAND}`; export r; \
30476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30478 for flag in $(EXTRA_HOST_FLAGS) ; do \
30479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30481 echo "Doing pdf in lto-plugin" ; \
30482 (cd $(HOST_SUBDIR)/lto-plugin && \
30483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30485 "RANLIB=$${RANLIB}" \
30486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30492 .PHONY: maybe-html-lto-plugin html-lto-plugin
30493 maybe-html-lto-plugin:
30495 maybe-html-lto-plugin: html-lto-plugin
30498 configure-lto-plugin
30499 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30500 r=`${PWD_COMMAND}`; export r; \
30501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30503 for flag in $(EXTRA_HOST_FLAGS) ; do \
30504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30506 echo "Doing html in lto-plugin" ; \
30507 (cd $(HOST_SUBDIR)/lto-plugin && \
30508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30510 "RANLIB=$${RANLIB}" \
30511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30517 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
30518 maybe-TAGS-lto-plugin:
30520 maybe-TAGS-lto-plugin: TAGS-lto-plugin
30523 configure-lto-plugin
30524 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30525 r=`${PWD_COMMAND}`; export r; \
30526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30528 for flag in $(EXTRA_HOST_FLAGS) ; do \
30529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30531 echo "Doing TAGS in lto-plugin" ; \
30532 (cd $(HOST_SUBDIR)/lto-plugin && \
30533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30535 "RANLIB=$${RANLIB}" \
30536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30542 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
30543 maybe-install-info-lto-plugin:
30545 maybe-install-info-lto-plugin: install-info-lto-plugin
30547 install-info-lto-plugin: \
30548 configure-lto-plugin \
30550 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30551 r=`${PWD_COMMAND}`; export r; \
30552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30554 for flag in $(EXTRA_HOST_FLAGS) ; do \
30555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30557 echo "Doing install-info in lto-plugin" ; \
30558 (cd $(HOST_SUBDIR)/lto-plugin && \
30559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30561 "RANLIB=$${RANLIB}" \
30562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30568 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
30569 maybe-install-pdf-lto-plugin:
30571 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
30573 install-pdf-lto-plugin: \
30574 configure-lto-plugin \
30576 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30577 r=`${PWD_COMMAND}`; export r; \
30578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30580 for flag in $(EXTRA_HOST_FLAGS) ; do \
30581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30583 echo "Doing install-pdf in lto-plugin" ; \
30584 (cd $(HOST_SUBDIR)/lto-plugin && \
30585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30587 "RANLIB=$${RANLIB}" \
30588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30594 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
30595 maybe-install-html-lto-plugin:
30597 maybe-install-html-lto-plugin: install-html-lto-plugin
30599 install-html-lto-plugin: \
30600 configure-lto-plugin \
30602 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30603 r=`${PWD_COMMAND}`; export r; \
30604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30606 for flag in $(EXTRA_HOST_FLAGS) ; do \
30607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30609 echo "Doing install-html in lto-plugin" ; \
30610 (cd $(HOST_SUBDIR)/lto-plugin && \
30611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30613 "RANLIB=$${RANLIB}" \
30614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30620 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
30621 maybe-installcheck-lto-plugin:
30623 maybe-installcheck-lto-plugin: installcheck-lto-plugin
30625 installcheck-lto-plugin: \
30626 configure-lto-plugin
30627 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30628 r=`${PWD_COMMAND}`; export r; \
30629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30631 for flag in $(EXTRA_HOST_FLAGS) ; do \
30632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30634 echo "Doing installcheck in lto-plugin" ; \
30635 (cd $(HOST_SUBDIR)/lto-plugin && \
30636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30638 "RANLIB=$${RANLIB}" \
30639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30645 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
30646 maybe-mostlyclean-lto-plugin:
30648 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
30650 mostlyclean-lto-plugin:
30651 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30652 r=`${PWD_COMMAND}`; export r; \
30653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30655 for flag in $(EXTRA_HOST_FLAGS) ; do \
30656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30658 echo "Doing mostlyclean in lto-plugin" ; \
30659 (cd $(HOST_SUBDIR)/lto-plugin && \
30660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30662 "RANLIB=$${RANLIB}" \
30663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30669 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
30670 maybe-clean-lto-plugin:
30672 maybe-clean-lto-plugin: clean-lto-plugin
30675 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30676 r=`${PWD_COMMAND}`; export r; \
30677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30679 for flag in $(EXTRA_HOST_FLAGS) ; do \
30680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30682 echo "Doing clean in lto-plugin" ; \
30683 (cd $(HOST_SUBDIR)/lto-plugin && \
30684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30686 "RANLIB=$${RANLIB}" \
30687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30693 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
30694 maybe-distclean-lto-plugin:
30696 maybe-distclean-lto-plugin: distclean-lto-plugin
30698 distclean-lto-plugin:
30699 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30700 r=`${PWD_COMMAND}`; export r; \
30701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30703 for flag in $(EXTRA_HOST_FLAGS) ; do \
30704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30706 echo "Doing distclean in lto-plugin" ; \
30707 (cd $(HOST_SUBDIR)/lto-plugin && \
30708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30710 "RANLIB=$${RANLIB}" \
30711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30717 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
30718 maybe-maintainer-clean-lto-plugin:
30720 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
30722 maintainer-clean-lto-plugin:
30723 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30724 r=`${PWD_COMMAND}`; export r; \
30725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30727 for flag in $(EXTRA_HOST_FLAGS) ; do \
30728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30730 echo "Doing maintainer-clean in lto-plugin" ; \
30731 (cd $(HOST_SUBDIR)/lto-plugin && \
30732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30734 "RANLIB=$${RANLIB}" \
30735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30736 maintainer-clean) \
30743 # ---------------------------------------
30744 # Modules which run on the target machine
30745 # ---------------------------------------
30750 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30751 maybe-configure-target-libstdc++-v3:
30753 configure-target-libstdc++-v3: stage_current
30754 @endif gcc-bootstrap
30755 @if target-libstdc++-v3
30756 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30757 configure-target-libstdc++-v3:
30758 @r=`${PWD_COMMAND}`; export r; \
30759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30760 echo "Checking multilib configuration for libstdc++-v3..."; \
30761 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30762 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30763 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30764 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30765 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30767 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30768 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30771 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30773 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30774 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30775 $(RAW_CXX_TARGET_EXPORTS) \
30776 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30777 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30778 case $(srcdir) in \
30779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30780 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30783 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30784 libsrcdir="$$s/libstdc++-v3"; \
30785 rm -f no-such-file || : ; \
30786 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30787 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30788 --target=${target_alias} $${srcdiroption} \
30790 @endif target-libstdc++-v3
30794 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30795 maybe-configure-stage1-target-libstdc++-v3:
30796 @if target-libstdc++-v3-bootstrap
30797 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30798 configure-stage1-target-libstdc++-v3:
30799 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30800 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30801 @r=`${PWD_COMMAND}`; export r; \
30802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30803 TFLAGS="$(STAGE1_TFLAGS)"; \
30804 echo "Checking multilib configuration for libstdc++-v3..."; \
30805 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30806 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30807 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30808 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30810 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30811 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30814 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30816 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30817 $(RAW_CXX_TARGET_EXPORTS) \
30818 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30819 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30820 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30821 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30823 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30824 case $(srcdir) in \
30825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30826 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30829 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30830 libsrcdir="$$s/libstdc++-v3"; \
30831 $(SHELL) $${libsrcdir}/configure \
30832 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30833 --target=${target_alias} $${srcdiroption} \
30834 $(STAGE1_CONFIGURE_FLAGS)
30835 @endif target-libstdc++-v3-bootstrap
30837 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30838 maybe-configure-stage2-target-libstdc++-v3:
30839 @if target-libstdc++-v3-bootstrap
30840 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30841 configure-stage2-target-libstdc++-v3:
30842 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30843 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30844 @r=`${PWD_COMMAND}`; export r; \
30845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30846 TFLAGS="$(STAGE2_TFLAGS)"; \
30847 echo "Checking multilib configuration for libstdc++-v3..."; \
30848 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30849 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30850 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30851 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30853 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30854 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30857 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30859 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30860 $(RAW_CXX_TARGET_EXPORTS) \
30862 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30865 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30866 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30867 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30868 case $(srcdir) in \
30869 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30870 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30871 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30873 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30874 libsrcdir="$$s/libstdc++-v3"; \
30875 $(SHELL) $${libsrcdir}/configure \
30876 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30877 --target=${target_alias} $${srcdiroption} \
30878 --with-build-libsubdir=$(HOST_SUBDIR) \
30879 $(STAGE2_CONFIGURE_FLAGS)
30880 @endif target-libstdc++-v3-bootstrap
30882 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30883 maybe-configure-stage3-target-libstdc++-v3:
30884 @if target-libstdc++-v3-bootstrap
30885 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30886 configure-stage3-target-libstdc++-v3:
30887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30888 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30889 @r=`${PWD_COMMAND}`; export r; \
30890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30891 TFLAGS="$(STAGE3_TFLAGS)"; \
30892 echo "Checking multilib configuration for libstdc++-v3..."; \
30893 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30894 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30895 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30896 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30898 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30899 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30902 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30904 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30905 $(RAW_CXX_TARGET_EXPORTS) \
30907 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30908 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30909 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30910 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30911 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30912 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30913 case $(srcdir) in \
30914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30915 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30918 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30919 libsrcdir="$$s/libstdc++-v3"; \
30920 $(SHELL) $${libsrcdir}/configure \
30921 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30922 --target=${target_alias} $${srcdiroption} \
30923 --with-build-libsubdir=$(HOST_SUBDIR) \
30924 $(STAGE3_CONFIGURE_FLAGS)
30925 @endif target-libstdc++-v3-bootstrap
30927 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30928 maybe-configure-stage4-target-libstdc++-v3:
30929 @if target-libstdc++-v3-bootstrap
30930 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30931 configure-stage4-target-libstdc++-v3:
30932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30933 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30934 @r=`${PWD_COMMAND}`; export r; \
30935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30936 TFLAGS="$(STAGE4_TFLAGS)"; \
30937 echo "Checking multilib configuration for libstdc++-v3..."; \
30938 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30939 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30940 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30941 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30943 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30944 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30947 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30949 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30950 $(RAW_CXX_TARGET_EXPORTS) \
30952 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30953 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30954 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30955 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30957 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30958 case $(srcdir) in \
30959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30960 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30963 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30964 libsrcdir="$$s/libstdc++-v3"; \
30965 $(SHELL) $${libsrcdir}/configure \
30966 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30967 --target=${target_alias} $${srcdiroption} \
30968 --with-build-libsubdir=$(HOST_SUBDIR) \
30969 $(STAGE4_CONFIGURE_FLAGS)
30970 @endif target-libstdc++-v3-bootstrap
30972 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30973 maybe-configure-stageprofile-target-libstdc++-v3:
30974 @if target-libstdc++-v3-bootstrap
30975 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30976 configure-stageprofile-target-libstdc++-v3:
30977 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30978 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30979 @r=`${PWD_COMMAND}`; export r; \
30980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30981 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30982 echo "Checking multilib configuration for libstdc++-v3..."; \
30983 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30984 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30985 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30986 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30988 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30989 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30992 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30994 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30995 $(RAW_CXX_TARGET_EXPORTS) \
30997 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30998 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30999 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31000 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31002 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31003 case $(srcdir) in \
31004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31005 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31008 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31009 libsrcdir="$$s/libstdc++-v3"; \
31010 $(SHELL) $${libsrcdir}/configure \
31011 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31012 --target=${target_alias} $${srcdiroption} \
31013 --with-build-libsubdir=$(HOST_SUBDIR) \
31014 $(STAGEprofile_CONFIGURE_FLAGS)
31015 @endif target-libstdc++-v3-bootstrap
31017 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
31018 maybe-configure-stagefeedback-target-libstdc++-v3:
31019 @if target-libstdc++-v3-bootstrap
31020 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31021 configure-stagefeedback-target-libstdc++-v3:
31022 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31023 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31024 @r=`${PWD_COMMAND}`; export r; \
31025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31026 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31027 echo "Checking multilib configuration for libstdc++-v3..."; \
31028 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31029 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31030 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31031 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31033 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31034 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31037 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31039 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31040 $(RAW_CXX_TARGET_EXPORTS) \
31042 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31043 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31044 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31045 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31046 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31047 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31048 case $(srcdir) in \
31049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31050 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31053 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31054 libsrcdir="$$s/libstdc++-v3"; \
31055 $(SHELL) $${libsrcdir}/configure \
31056 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31057 --target=${target_alias} $${srcdiroption} \
31058 --with-build-libsubdir=$(HOST_SUBDIR) \
31059 $(STAGEfeedback_CONFIGURE_FLAGS)
31060 @endif target-libstdc++-v3-bootstrap
31066 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31067 maybe-all-target-libstdc++-v3:
31069 all-target-libstdc++-v3: stage_current
31070 @endif gcc-bootstrap
31071 @if target-libstdc++-v3
31072 TARGET-target-libstdc++-v3=all
31073 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31074 all-target-libstdc++-v3: configure-target-libstdc++-v3
31075 @r=`${PWD_COMMAND}`; export r; \
31076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31077 $(RAW_CXX_TARGET_EXPORTS) \
31078 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31079 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31080 $(TARGET-target-libstdc++-v3))
31081 @endif target-libstdc++-v3
31085 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
31086 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
31087 maybe-all-stage1-target-libstdc++-v3:
31088 maybe-clean-stage1-target-libstdc++-v3:
31089 @if target-libstdc++-v3-bootstrap
31090 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
31091 all-stage1: all-stage1-target-libstdc++-v3
31092 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31093 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31094 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31095 @r=`${PWD_COMMAND}`; export r; \
31096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31097 TFLAGS="$(STAGE1_TFLAGS)"; \
31098 $(RAW_CXX_TARGET_EXPORTS) \
31099 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31100 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31101 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31102 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31103 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31104 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31105 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31106 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31107 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31109 TFLAGS="$(STAGE1_TFLAGS)" \
31110 $(TARGET-stage1-target-libstdc++-v3)
31112 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
31113 clean-stage1: clean-stage1-target-libstdc++-v3
31114 clean-stage1-target-libstdc++-v3:
31115 @if [ $(current_stage) = stage1 ]; then \
31116 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31118 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
31119 $(MAKE) stage1-start; \
31121 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31122 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31124 @endif target-libstdc++-v3-bootstrap
31127 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
31128 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
31129 maybe-all-stage2-target-libstdc++-v3:
31130 maybe-clean-stage2-target-libstdc++-v3:
31131 @if target-libstdc++-v3-bootstrap
31132 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
31133 all-stage2: all-stage2-target-libstdc++-v3
31134 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31135 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31136 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31137 @r=`${PWD_COMMAND}`; export r; \
31138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31139 TFLAGS="$(STAGE2_TFLAGS)"; \
31140 $(RAW_CXX_TARGET_EXPORTS) \
31142 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31144 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31145 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31146 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31150 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31151 TFLAGS="$(STAGE2_TFLAGS)" \
31152 $(TARGET-stage2-target-libstdc++-v3)
31154 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
31155 clean-stage2: clean-stage2-target-libstdc++-v3
31156 clean-stage2-target-libstdc++-v3:
31157 @if [ $(current_stage) = stage2 ]; then \
31158 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31160 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
31161 $(MAKE) stage2-start; \
31163 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31164 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31165 @endif target-libstdc++-v3-bootstrap
31168 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
31169 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
31170 maybe-all-stage3-target-libstdc++-v3:
31171 maybe-clean-stage3-target-libstdc++-v3:
31172 @if target-libstdc++-v3-bootstrap
31173 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
31174 all-stage3: all-stage3-target-libstdc++-v3
31175 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31176 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31177 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31178 @r=`${PWD_COMMAND}`; export r; \
31179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31180 TFLAGS="$(STAGE3_TFLAGS)"; \
31181 $(RAW_CXX_TARGET_EXPORTS) \
31183 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31185 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31186 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31187 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31188 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31189 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31190 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31191 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31192 TFLAGS="$(STAGE3_TFLAGS)" \
31193 $(TARGET-stage3-target-libstdc++-v3)
31195 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
31196 clean-stage3: clean-stage3-target-libstdc++-v3
31197 clean-stage3-target-libstdc++-v3:
31198 @if [ $(current_stage) = stage3 ]; then \
31199 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31201 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
31202 $(MAKE) stage3-start; \
31204 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31205 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31206 @endif target-libstdc++-v3-bootstrap
31209 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
31210 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
31211 maybe-all-stage4-target-libstdc++-v3:
31212 maybe-clean-stage4-target-libstdc++-v3:
31213 @if target-libstdc++-v3-bootstrap
31214 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
31215 all-stage4: all-stage4-target-libstdc++-v3
31216 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31217 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31218 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31219 @r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 TFLAGS="$(STAGE4_TFLAGS)"; \
31222 $(RAW_CXX_TARGET_EXPORTS) \
31224 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31226 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31227 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31228 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31232 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31233 TFLAGS="$(STAGE4_TFLAGS)" \
31234 $(TARGET-stage4-target-libstdc++-v3)
31236 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
31237 clean-stage4: clean-stage4-target-libstdc++-v3
31238 clean-stage4-target-libstdc++-v3:
31239 @if [ $(current_stage) = stage4 ]; then \
31240 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31242 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
31243 $(MAKE) stage4-start; \
31245 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31246 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31247 @endif target-libstdc++-v3-bootstrap
31250 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
31251 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
31252 maybe-all-stageprofile-target-libstdc++-v3:
31253 maybe-clean-stageprofile-target-libstdc++-v3:
31254 @if target-libstdc++-v3-bootstrap
31255 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
31256 all-stageprofile: all-stageprofile-target-libstdc++-v3
31257 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31258 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31259 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31260 @r=`${PWD_COMMAND}`; export r; \
31261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31262 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31263 $(RAW_CXX_TARGET_EXPORTS) \
31265 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31266 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31267 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31268 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31269 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31273 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31274 TFLAGS="$(STAGEprofile_TFLAGS)" \
31275 $(TARGET-stageprofile-target-libstdc++-v3)
31277 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
31278 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
31279 clean-stageprofile-target-libstdc++-v3:
31280 @if [ $(current_stage) = stageprofile ]; then \
31281 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31283 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
31284 $(MAKE) stageprofile-start; \
31286 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31287 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31288 @endif target-libstdc++-v3-bootstrap
31291 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
31292 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
31293 maybe-all-stagefeedback-target-libstdc++-v3:
31294 maybe-clean-stagefeedback-target-libstdc++-v3:
31295 @if target-libstdc++-v3-bootstrap
31296 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
31297 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
31298 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31299 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31300 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31301 @r=`${PWD_COMMAND}`; export r; \
31302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31303 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31304 $(RAW_CXX_TARGET_EXPORTS) \
31306 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31307 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31308 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31309 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31310 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31311 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31312 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31313 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31314 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31315 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31316 $(TARGET-stagefeedback-target-libstdc++-v3)
31318 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
31319 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
31320 clean-stagefeedback-target-libstdc++-v3:
31321 @if [ $(current_stage) = stagefeedback ]; then \
31322 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31324 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
31325 $(MAKE) stagefeedback-start; \
31327 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31328 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31329 @endif target-libstdc++-v3-bootstrap
31336 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31337 maybe-check-target-libstdc++-v3:
31338 @if target-libstdc++-v3
31339 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31341 check-target-libstdc++-v3:
31342 @: $(MAKE); $(unstage)
31343 @r=`${PWD_COMMAND}`; export r; \
31344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31345 $(RAW_CXX_TARGET_EXPORTS) \
31346 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31347 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31349 @endif target-libstdc++-v3
31351 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31352 maybe-install-target-libstdc++-v3:
31353 @if target-libstdc++-v3
31354 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31356 install-target-libstdc++-v3: installdirs
31357 @: $(MAKE); $(unstage)
31358 @r=`${PWD_COMMAND}`; export r; \
31359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31360 $(RAW_CXX_TARGET_EXPORTS) \
31361 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31362 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31364 @endif target-libstdc++-v3
31366 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
31367 maybe-install-strip-target-libstdc++-v3:
31368 @if target-libstdc++-v3
31369 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
31371 install-strip-target-libstdc++-v3: installdirs
31372 @: $(MAKE); $(unstage)
31373 @r=`${PWD_COMMAND}`; export r; \
31374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31375 $(RAW_CXX_TARGET_EXPORTS) \
31376 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31377 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31379 @endif target-libstdc++-v3
31381 # Other targets (info, dvi, pdf, etc.)
31383 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31384 maybe-info-target-libstdc++-v3:
31385 @if target-libstdc++-v3
31386 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31388 info-target-libstdc++-v3: \
31389 configure-target-libstdc++-v3
31390 @: $(MAKE); $(unstage)
31391 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31392 r=`${PWD_COMMAND}`; export r; \
31393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31394 $(RAW_CXX_TARGET_EXPORTS) \
31395 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31396 for flag in $(EXTRA_TARGET_FLAGS); do \
31397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31399 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31402 "RANLIB=$${RANLIB}" \
31403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31407 @endif target-libstdc++-v3
31409 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31410 maybe-dvi-target-libstdc++-v3:
31411 @if target-libstdc++-v3
31412 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31414 dvi-target-libstdc++-v3: \
31415 configure-target-libstdc++-v3
31416 @: $(MAKE); $(unstage)
31417 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31418 r=`${PWD_COMMAND}`; export r; \
31419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31420 $(RAW_CXX_TARGET_EXPORTS) \
31421 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31422 for flag in $(EXTRA_TARGET_FLAGS); do \
31423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31425 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31428 "RANLIB=$${RANLIB}" \
31429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31433 @endif target-libstdc++-v3
31435 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
31436 maybe-pdf-target-libstdc++-v3:
31437 @if target-libstdc++-v3
31438 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
31440 pdf-target-libstdc++-v3: \
31441 configure-target-libstdc++-v3
31442 @: $(MAKE); $(unstage)
31443 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31444 r=`${PWD_COMMAND}`; export r; \
31445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31446 $(RAW_CXX_TARGET_EXPORTS) \
31447 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31448 for flag in $(EXTRA_TARGET_FLAGS); do \
31449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31451 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31454 "RANLIB=$${RANLIB}" \
31455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31459 @endif target-libstdc++-v3
31461 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31462 maybe-html-target-libstdc++-v3:
31463 @if target-libstdc++-v3
31464 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31466 html-target-libstdc++-v3: \
31467 configure-target-libstdc++-v3
31468 @: $(MAKE); $(unstage)
31469 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31470 r=`${PWD_COMMAND}`; export r; \
31471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31472 $(RAW_CXX_TARGET_EXPORTS) \
31473 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31474 for flag in $(EXTRA_TARGET_FLAGS); do \
31475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31477 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31480 "RANLIB=$${RANLIB}" \
31481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31485 @endif target-libstdc++-v3
31487 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31488 maybe-TAGS-target-libstdc++-v3:
31489 @if target-libstdc++-v3
31490 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31492 TAGS-target-libstdc++-v3: \
31493 configure-target-libstdc++-v3
31494 @: $(MAKE); $(unstage)
31495 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31496 r=`${PWD_COMMAND}`; export r; \
31497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31498 $(RAW_CXX_TARGET_EXPORTS) \
31499 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31500 for flag in $(EXTRA_TARGET_FLAGS); do \
31501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31503 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31506 "RANLIB=$${RANLIB}" \
31507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31511 @endif target-libstdc++-v3
31513 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31514 maybe-install-info-target-libstdc++-v3:
31515 @if target-libstdc++-v3
31516 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31518 install-info-target-libstdc++-v3: \
31519 configure-target-libstdc++-v3 \
31520 info-target-libstdc++-v3
31521 @: $(MAKE); $(unstage)
31522 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31523 r=`${PWD_COMMAND}`; export r; \
31524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31525 $(RAW_CXX_TARGET_EXPORTS) \
31526 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31527 for flag in $(EXTRA_TARGET_FLAGS); do \
31528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31530 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31533 "RANLIB=$${RANLIB}" \
31534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31538 @endif target-libstdc++-v3
31540 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
31541 maybe-install-pdf-target-libstdc++-v3:
31542 @if target-libstdc++-v3
31543 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
31545 install-pdf-target-libstdc++-v3: \
31546 configure-target-libstdc++-v3 \
31547 pdf-target-libstdc++-v3
31548 @: $(MAKE); $(unstage)
31549 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31550 r=`${PWD_COMMAND}`; export r; \
31551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31552 $(RAW_CXX_TARGET_EXPORTS) \
31553 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31554 for flag in $(EXTRA_TARGET_FLAGS); do \
31555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31557 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31560 "RANLIB=$${RANLIB}" \
31561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31565 @endif target-libstdc++-v3
31567 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31568 maybe-install-html-target-libstdc++-v3:
31569 @if target-libstdc++-v3
31570 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31572 install-html-target-libstdc++-v3: \
31573 configure-target-libstdc++-v3 \
31574 html-target-libstdc++-v3
31575 @: $(MAKE); $(unstage)
31576 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31577 r=`${PWD_COMMAND}`; export r; \
31578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31579 $(RAW_CXX_TARGET_EXPORTS) \
31580 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31581 for flag in $(EXTRA_TARGET_FLAGS); do \
31582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31584 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31587 "RANLIB=$${RANLIB}" \
31588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31592 @endif target-libstdc++-v3
31594 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31595 maybe-installcheck-target-libstdc++-v3:
31596 @if target-libstdc++-v3
31597 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31599 installcheck-target-libstdc++-v3: \
31600 configure-target-libstdc++-v3
31601 @: $(MAKE); $(unstage)
31602 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31603 r=`${PWD_COMMAND}`; export r; \
31604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31605 $(RAW_CXX_TARGET_EXPORTS) \
31606 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31607 for flag in $(EXTRA_TARGET_FLAGS); do \
31608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31610 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31613 "RANLIB=$${RANLIB}" \
31614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31618 @endif target-libstdc++-v3
31620 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31621 maybe-mostlyclean-target-libstdc++-v3:
31622 @if target-libstdc++-v3
31623 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31625 mostlyclean-target-libstdc++-v3:
31626 @: $(MAKE); $(unstage)
31627 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31628 r=`${PWD_COMMAND}`; export r; \
31629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31630 $(RAW_CXX_TARGET_EXPORTS) \
31631 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31632 for flag in $(EXTRA_TARGET_FLAGS); do \
31633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31635 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31638 "RANLIB=$${RANLIB}" \
31639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31643 @endif target-libstdc++-v3
31645 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31646 maybe-clean-target-libstdc++-v3:
31647 @if target-libstdc++-v3
31648 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31650 clean-target-libstdc++-v3:
31651 @: $(MAKE); $(unstage)
31652 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31653 r=`${PWD_COMMAND}`; export r; \
31654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31655 $(RAW_CXX_TARGET_EXPORTS) \
31656 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31657 for flag in $(EXTRA_TARGET_FLAGS); do \
31658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31660 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31663 "RANLIB=$${RANLIB}" \
31664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31668 @endif target-libstdc++-v3
31670 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31671 maybe-distclean-target-libstdc++-v3:
31672 @if target-libstdc++-v3
31673 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31675 distclean-target-libstdc++-v3:
31676 @: $(MAKE); $(unstage)
31677 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31678 r=`${PWD_COMMAND}`; export r; \
31679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31680 $(RAW_CXX_TARGET_EXPORTS) \
31681 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31682 for flag in $(EXTRA_TARGET_FLAGS); do \
31683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31685 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31688 "RANLIB=$${RANLIB}" \
31689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31693 @endif target-libstdc++-v3
31695 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31696 maybe-maintainer-clean-target-libstdc++-v3:
31697 @if target-libstdc++-v3
31698 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31700 maintainer-clean-target-libstdc++-v3:
31701 @: $(MAKE); $(unstage)
31702 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31703 r=`${PWD_COMMAND}`; export r; \
31704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31705 $(RAW_CXX_TARGET_EXPORTS) \
31706 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31707 for flag in $(EXTRA_TARGET_FLAGS); do \
31708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31710 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31713 "RANLIB=$${RANLIB}" \
31714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31715 maintainer-clean) \
31718 @endif target-libstdc++-v3
31724 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31725 maybe-configure-target-libmudflap:
31727 configure-target-libmudflap: stage_current
31728 @endif gcc-bootstrap
31729 @if target-libmudflap
31730 maybe-configure-target-libmudflap: configure-target-libmudflap
31731 configure-target-libmudflap:
31732 @: $(MAKE); $(unstage)
31733 @r=`${PWD_COMMAND}`; export r; \
31734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31735 echo "Checking multilib configuration for libmudflap..."; \
31736 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31737 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31738 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31739 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31740 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31742 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31743 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31746 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31748 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31749 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31750 $(NORMAL_TARGET_EXPORTS) \
31751 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31752 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31753 case $(srcdir) in \
31754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31755 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31758 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31759 libsrcdir="$$s/libmudflap"; \
31760 rm -f no-such-file || : ; \
31761 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31762 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31763 --target=${target_alias} $${srcdiroption} \
31765 @endif target-libmudflap
31771 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31772 maybe-all-target-libmudflap:
31774 all-target-libmudflap: stage_current
31775 @endif gcc-bootstrap
31776 @if target-libmudflap
31777 TARGET-target-libmudflap=all
31778 maybe-all-target-libmudflap: all-target-libmudflap
31779 all-target-libmudflap: configure-target-libmudflap
31780 @: $(MAKE); $(unstage)
31781 @r=`${PWD_COMMAND}`; export r; \
31782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31783 $(NORMAL_TARGET_EXPORTS) \
31784 (cd $(TARGET_SUBDIR)/libmudflap && \
31785 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31786 $(TARGET-target-libmudflap))
31787 @endif target-libmudflap
31793 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31794 maybe-check-target-libmudflap:
31795 @if target-libmudflap
31796 maybe-check-target-libmudflap: check-target-libmudflap
31798 check-target-libmudflap:
31799 @: $(MAKE); $(unstage)
31800 @r=`${PWD_COMMAND}`; export r; \
31801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31802 $(NORMAL_TARGET_EXPORTS) \
31803 (cd $(TARGET_SUBDIR)/libmudflap && \
31804 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31806 @endif target-libmudflap
31808 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31809 maybe-install-target-libmudflap:
31810 @if target-libmudflap
31811 maybe-install-target-libmudflap: install-target-libmudflap
31813 install-target-libmudflap: installdirs
31814 @: $(MAKE); $(unstage)
31815 @r=`${PWD_COMMAND}`; export r; \
31816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31817 $(NORMAL_TARGET_EXPORTS) \
31818 (cd $(TARGET_SUBDIR)/libmudflap && \
31819 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31821 @endif target-libmudflap
31823 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31824 maybe-install-strip-target-libmudflap:
31825 @if target-libmudflap
31826 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31828 install-strip-target-libmudflap: installdirs
31829 @: $(MAKE); $(unstage)
31830 @r=`${PWD_COMMAND}`; export r; \
31831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31832 $(NORMAL_TARGET_EXPORTS) \
31833 (cd $(TARGET_SUBDIR)/libmudflap && \
31834 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31836 @endif target-libmudflap
31838 # Other targets (info, dvi, pdf, etc.)
31840 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31841 maybe-info-target-libmudflap:
31842 @if target-libmudflap
31843 maybe-info-target-libmudflap: info-target-libmudflap
31845 info-target-libmudflap: \
31846 configure-target-libmudflap
31847 @: $(MAKE); $(unstage)
31848 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31849 r=`${PWD_COMMAND}`; export r; \
31850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31851 $(NORMAL_TARGET_EXPORTS) \
31852 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31853 for flag in $(EXTRA_TARGET_FLAGS); do \
31854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31856 (cd $(TARGET_SUBDIR)/libmudflap && \
31857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31859 "RANLIB=$${RANLIB}" \
31860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31864 @endif target-libmudflap
31866 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31867 maybe-dvi-target-libmudflap:
31868 @if target-libmudflap
31869 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31871 dvi-target-libmudflap: \
31872 configure-target-libmudflap
31873 @: $(MAKE); $(unstage)
31874 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31875 r=`${PWD_COMMAND}`; export r; \
31876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31877 $(NORMAL_TARGET_EXPORTS) \
31878 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31879 for flag in $(EXTRA_TARGET_FLAGS); do \
31880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31882 (cd $(TARGET_SUBDIR)/libmudflap && \
31883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31885 "RANLIB=$${RANLIB}" \
31886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31890 @endif target-libmudflap
31892 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31893 maybe-pdf-target-libmudflap:
31894 @if target-libmudflap
31895 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31897 pdf-target-libmudflap: \
31898 configure-target-libmudflap
31899 @: $(MAKE); $(unstage)
31900 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31901 r=`${PWD_COMMAND}`; export r; \
31902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31903 $(NORMAL_TARGET_EXPORTS) \
31904 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31905 for flag in $(EXTRA_TARGET_FLAGS); do \
31906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31908 (cd $(TARGET_SUBDIR)/libmudflap && \
31909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31911 "RANLIB=$${RANLIB}" \
31912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31916 @endif target-libmudflap
31918 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31919 maybe-html-target-libmudflap:
31920 @if target-libmudflap
31921 maybe-html-target-libmudflap: html-target-libmudflap
31923 html-target-libmudflap: \
31924 configure-target-libmudflap
31925 @: $(MAKE); $(unstage)
31926 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31927 r=`${PWD_COMMAND}`; export r; \
31928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31929 $(NORMAL_TARGET_EXPORTS) \
31930 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31931 for flag in $(EXTRA_TARGET_FLAGS); do \
31932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31934 (cd $(TARGET_SUBDIR)/libmudflap && \
31935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31937 "RANLIB=$${RANLIB}" \
31938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31942 @endif target-libmudflap
31944 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31945 maybe-TAGS-target-libmudflap:
31946 @if target-libmudflap
31947 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31949 TAGS-target-libmudflap: \
31950 configure-target-libmudflap
31951 @: $(MAKE); $(unstage)
31952 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31953 r=`${PWD_COMMAND}`; export r; \
31954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31955 $(NORMAL_TARGET_EXPORTS) \
31956 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31957 for flag in $(EXTRA_TARGET_FLAGS); do \
31958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31960 (cd $(TARGET_SUBDIR)/libmudflap && \
31961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31963 "RANLIB=$${RANLIB}" \
31964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31968 @endif target-libmudflap
31970 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31971 maybe-install-info-target-libmudflap:
31972 @if target-libmudflap
31973 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31975 install-info-target-libmudflap: \
31976 configure-target-libmudflap \
31977 info-target-libmudflap
31978 @: $(MAKE); $(unstage)
31979 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31980 r=`${PWD_COMMAND}`; export r; \
31981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31982 $(NORMAL_TARGET_EXPORTS) \
31983 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31984 for flag in $(EXTRA_TARGET_FLAGS); do \
31985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31987 (cd $(TARGET_SUBDIR)/libmudflap && \
31988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31990 "RANLIB=$${RANLIB}" \
31991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31995 @endif target-libmudflap
31997 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31998 maybe-install-pdf-target-libmudflap:
31999 @if target-libmudflap
32000 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
32002 install-pdf-target-libmudflap: \
32003 configure-target-libmudflap \
32004 pdf-target-libmudflap
32005 @: $(MAKE); $(unstage)
32006 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32007 r=`${PWD_COMMAND}`; export r; \
32008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32009 $(NORMAL_TARGET_EXPORTS) \
32010 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
32011 for flag in $(EXTRA_TARGET_FLAGS); do \
32012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32014 (cd $(TARGET_SUBDIR)/libmudflap && \
32015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32017 "RANLIB=$${RANLIB}" \
32018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32022 @endif target-libmudflap
32024 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32025 maybe-install-html-target-libmudflap:
32026 @if target-libmudflap
32027 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32029 install-html-target-libmudflap: \
32030 configure-target-libmudflap \
32031 html-target-libmudflap
32032 @: $(MAKE); $(unstage)
32033 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32034 r=`${PWD_COMMAND}`; export r; \
32035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32036 $(NORMAL_TARGET_EXPORTS) \
32037 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32038 for flag in $(EXTRA_TARGET_FLAGS); do \
32039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32041 (cd $(TARGET_SUBDIR)/libmudflap && \
32042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32044 "RANLIB=$${RANLIB}" \
32045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32049 @endif target-libmudflap
32051 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32052 maybe-installcheck-target-libmudflap:
32053 @if target-libmudflap
32054 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32056 installcheck-target-libmudflap: \
32057 configure-target-libmudflap
32058 @: $(MAKE); $(unstage)
32059 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32060 r=`${PWD_COMMAND}`; export r; \
32061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32062 $(NORMAL_TARGET_EXPORTS) \
32063 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32064 for flag in $(EXTRA_TARGET_FLAGS); do \
32065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32067 (cd $(TARGET_SUBDIR)/libmudflap && \
32068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32070 "RANLIB=$${RANLIB}" \
32071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32075 @endif target-libmudflap
32077 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32078 maybe-mostlyclean-target-libmudflap:
32079 @if target-libmudflap
32080 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32082 mostlyclean-target-libmudflap:
32083 @: $(MAKE); $(unstage)
32084 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32085 r=`${PWD_COMMAND}`; export r; \
32086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32087 $(NORMAL_TARGET_EXPORTS) \
32088 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32089 for flag in $(EXTRA_TARGET_FLAGS); do \
32090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32092 (cd $(TARGET_SUBDIR)/libmudflap && \
32093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32095 "RANLIB=$${RANLIB}" \
32096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32100 @endif target-libmudflap
32102 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
32103 maybe-clean-target-libmudflap:
32104 @if target-libmudflap
32105 maybe-clean-target-libmudflap: clean-target-libmudflap
32107 clean-target-libmudflap:
32108 @: $(MAKE); $(unstage)
32109 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32110 r=`${PWD_COMMAND}`; export r; \
32111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32112 $(NORMAL_TARGET_EXPORTS) \
32113 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
32114 for flag in $(EXTRA_TARGET_FLAGS); do \
32115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32117 (cd $(TARGET_SUBDIR)/libmudflap && \
32118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32120 "RANLIB=$${RANLIB}" \
32121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32125 @endif target-libmudflap
32127 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
32128 maybe-distclean-target-libmudflap:
32129 @if target-libmudflap
32130 maybe-distclean-target-libmudflap: distclean-target-libmudflap
32132 distclean-target-libmudflap:
32133 @: $(MAKE); $(unstage)
32134 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32135 r=`${PWD_COMMAND}`; export r; \
32136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32137 $(NORMAL_TARGET_EXPORTS) \
32138 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
32139 for flag in $(EXTRA_TARGET_FLAGS); do \
32140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32142 (cd $(TARGET_SUBDIR)/libmudflap && \
32143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32145 "RANLIB=$${RANLIB}" \
32146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32150 @endif target-libmudflap
32152 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
32153 maybe-maintainer-clean-target-libmudflap:
32154 @if target-libmudflap
32155 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
32157 maintainer-clean-target-libmudflap:
32158 @: $(MAKE); $(unstage)
32159 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32160 r=`${PWD_COMMAND}`; export r; \
32161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32162 $(NORMAL_TARGET_EXPORTS) \
32163 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
32164 for flag in $(EXTRA_TARGET_FLAGS); do \
32165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32167 (cd $(TARGET_SUBDIR)/libmudflap && \
32168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32170 "RANLIB=$${RANLIB}" \
32171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32172 maintainer-clean) \
32175 @endif target-libmudflap
32181 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
32182 maybe-configure-target-libsanitizer:
32184 configure-target-libsanitizer: stage_current
32185 @endif gcc-bootstrap
32186 @if target-libsanitizer
32187 maybe-configure-target-libsanitizer: configure-target-libsanitizer
32188 configure-target-libsanitizer:
32189 @r=`${PWD_COMMAND}`; export r; \
32190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32191 echo "Checking multilib configuration for libsanitizer..."; \
32192 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32193 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32194 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32195 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32196 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32198 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32199 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32202 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32204 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32205 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32206 $(RAW_CXX_TARGET_EXPORTS) \
32207 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
32208 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
32209 case $(srcdir) in \
32210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32211 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32214 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32215 libsrcdir="$$s/libsanitizer"; \
32216 rm -f no-such-file || : ; \
32217 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32218 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32219 --target=${target_alias} $${srcdiroption} \
32221 @endif target-libsanitizer
32225 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
32226 maybe-configure-stage1-target-libsanitizer:
32227 @if target-libsanitizer-bootstrap
32228 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32229 configure-stage1-target-libsanitizer:
32230 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32231 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32232 @r=`${PWD_COMMAND}`; export r; \
32233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32234 TFLAGS="$(STAGE1_TFLAGS)"; \
32235 echo "Checking multilib configuration for libsanitizer..."; \
32236 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32237 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32238 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32239 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32241 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32242 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32245 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32247 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32248 $(RAW_CXX_TARGET_EXPORTS) \
32249 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32250 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32251 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32252 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
32253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32254 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32255 case $(srcdir) in \
32256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32257 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32260 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32261 libsrcdir="$$s/libsanitizer"; \
32262 $(SHELL) $${libsrcdir}/configure \
32263 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32264 --target=${target_alias} $${srcdiroption} \
32265 $(STAGE1_CONFIGURE_FLAGS)
32266 @endif target-libsanitizer-bootstrap
32268 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
32269 maybe-configure-stage2-target-libsanitizer:
32270 @if target-libsanitizer-bootstrap
32271 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32272 configure-stage2-target-libsanitizer:
32273 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32274 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32275 @r=`${PWD_COMMAND}`; export r; \
32276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32277 TFLAGS="$(STAGE2_TFLAGS)"; \
32278 echo "Checking multilib configuration for libsanitizer..."; \
32279 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32280 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32281 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32282 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32284 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32285 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32288 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32290 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32291 $(RAW_CXX_TARGET_EXPORTS) \
32293 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32294 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32295 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32296 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
32297 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32298 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32299 case $(srcdir) in \
32300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32301 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32304 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32305 libsrcdir="$$s/libsanitizer"; \
32306 $(SHELL) $${libsrcdir}/configure \
32307 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32308 --target=${target_alias} $${srcdiroption} \
32309 --with-build-libsubdir=$(HOST_SUBDIR) \
32310 $(STAGE2_CONFIGURE_FLAGS)
32311 @endif target-libsanitizer-bootstrap
32313 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
32314 maybe-configure-stage3-target-libsanitizer:
32315 @if target-libsanitizer-bootstrap
32316 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32317 configure-stage3-target-libsanitizer:
32318 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32319 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32320 @r=`${PWD_COMMAND}`; export r; \
32321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32322 TFLAGS="$(STAGE3_TFLAGS)"; \
32323 echo "Checking multilib configuration for libsanitizer..."; \
32324 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32325 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32326 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32327 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32329 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32330 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32333 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32335 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32336 $(RAW_CXX_TARGET_EXPORTS) \
32338 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32339 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32340 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32341 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
32342 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32343 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32344 case $(srcdir) in \
32345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32346 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32349 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32350 libsrcdir="$$s/libsanitizer"; \
32351 $(SHELL) $${libsrcdir}/configure \
32352 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32353 --target=${target_alias} $${srcdiroption} \
32354 --with-build-libsubdir=$(HOST_SUBDIR) \
32355 $(STAGE3_CONFIGURE_FLAGS)
32356 @endif target-libsanitizer-bootstrap
32358 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
32359 maybe-configure-stage4-target-libsanitizer:
32360 @if target-libsanitizer-bootstrap
32361 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32362 configure-stage4-target-libsanitizer:
32363 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32364 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32365 @r=`${PWD_COMMAND}`; export r; \
32366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32367 TFLAGS="$(STAGE4_TFLAGS)"; \
32368 echo "Checking multilib configuration for libsanitizer..."; \
32369 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32370 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32371 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32372 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32374 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32375 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32378 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32380 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32381 $(RAW_CXX_TARGET_EXPORTS) \
32383 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32384 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32385 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32386 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
32387 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32388 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32389 case $(srcdir) in \
32390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32391 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32394 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32395 libsrcdir="$$s/libsanitizer"; \
32396 $(SHELL) $${libsrcdir}/configure \
32397 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32398 --target=${target_alias} $${srcdiroption} \
32399 --with-build-libsubdir=$(HOST_SUBDIR) \
32400 $(STAGE4_CONFIGURE_FLAGS)
32401 @endif target-libsanitizer-bootstrap
32403 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
32404 maybe-configure-stageprofile-target-libsanitizer:
32405 @if target-libsanitizer-bootstrap
32406 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
32407 configure-stageprofile-target-libsanitizer:
32408 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32409 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32410 @r=`${PWD_COMMAND}`; export r; \
32411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32412 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32413 echo "Checking multilib configuration for libsanitizer..."; \
32414 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32415 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32416 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32417 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32419 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32420 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32423 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32425 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32426 $(RAW_CXX_TARGET_EXPORTS) \
32428 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32429 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32430 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32431 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
32432 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32433 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32434 case $(srcdir) in \
32435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32436 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32439 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32440 libsrcdir="$$s/libsanitizer"; \
32441 $(SHELL) $${libsrcdir}/configure \
32442 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32443 --target=${target_alias} $${srcdiroption} \
32444 --with-build-libsubdir=$(HOST_SUBDIR) \
32445 $(STAGEprofile_CONFIGURE_FLAGS)
32446 @endif target-libsanitizer-bootstrap
32448 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
32449 maybe-configure-stagefeedback-target-libsanitizer:
32450 @if target-libsanitizer-bootstrap
32451 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32452 configure-stagefeedback-target-libsanitizer:
32453 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32454 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32455 @r=`${PWD_COMMAND}`; export r; \
32456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32457 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32458 echo "Checking multilib configuration for libsanitizer..."; \
32459 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32460 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32461 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32462 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32464 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32465 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32468 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32470 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32471 $(RAW_CXX_TARGET_EXPORTS) \
32473 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32474 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32475 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32476 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
32477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32478 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32479 case $(srcdir) in \
32480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32481 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32484 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
32485 libsrcdir="$$s/libsanitizer"; \
32486 $(SHELL) $${libsrcdir}/configure \
32487 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32488 --target=${target_alias} $${srcdiroption} \
32489 --with-build-libsubdir=$(HOST_SUBDIR) \
32490 $(STAGEfeedback_CONFIGURE_FLAGS)
32491 @endif target-libsanitizer-bootstrap
32497 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
32498 maybe-all-target-libsanitizer:
32500 all-target-libsanitizer: stage_current
32501 @endif gcc-bootstrap
32502 @if target-libsanitizer
32503 TARGET-target-libsanitizer=all
32504 maybe-all-target-libsanitizer: all-target-libsanitizer
32505 all-target-libsanitizer: configure-target-libsanitizer
32506 @r=`${PWD_COMMAND}`; export r; \
32507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32508 $(RAW_CXX_TARGET_EXPORTS) \
32509 (cd $(TARGET_SUBDIR)/libsanitizer && \
32510 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32511 $(TARGET-target-libsanitizer))
32512 @endif target-libsanitizer
32516 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
32517 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
32518 maybe-all-stage1-target-libsanitizer:
32519 maybe-clean-stage1-target-libsanitizer:
32520 @if target-libsanitizer-bootstrap
32521 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
32522 all-stage1: all-stage1-target-libsanitizer
32523 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
32524 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32525 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32526 @r=`${PWD_COMMAND}`; export r; \
32527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32528 TFLAGS="$(STAGE1_TFLAGS)"; \
32529 $(RAW_CXX_TARGET_EXPORTS) \
32530 cd $(TARGET_SUBDIR)/libsanitizer && \
32531 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32532 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32533 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32534 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32538 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32540 TFLAGS="$(STAGE1_TFLAGS)" \
32541 $(TARGET-stage1-target-libsanitizer)
32543 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
32544 clean-stage1: clean-stage1-target-libsanitizer
32545 clean-stage1-target-libsanitizer:
32546 @if [ $(current_stage) = stage1 ]; then \
32547 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32549 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
32550 $(MAKE) stage1-start; \
32552 cd $(TARGET_SUBDIR)/libsanitizer && \
32553 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32555 @endif target-libsanitizer-bootstrap
32558 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
32559 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
32560 maybe-all-stage2-target-libsanitizer:
32561 maybe-clean-stage2-target-libsanitizer:
32562 @if target-libsanitizer-bootstrap
32563 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
32564 all-stage2: all-stage2-target-libsanitizer
32565 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
32566 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32567 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32568 @r=`${PWD_COMMAND}`; export r; \
32569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32570 TFLAGS="$(STAGE2_TFLAGS)"; \
32571 $(RAW_CXX_TARGET_EXPORTS) \
32573 cd $(TARGET_SUBDIR)/libsanitizer && \
32574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32575 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32576 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32577 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32581 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32582 TFLAGS="$(STAGE2_TFLAGS)" \
32583 $(TARGET-stage2-target-libsanitizer)
32585 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
32586 clean-stage2: clean-stage2-target-libsanitizer
32587 clean-stage2-target-libsanitizer:
32588 @if [ $(current_stage) = stage2 ]; then \
32589 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32591 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
32592 $(MAKE) stage2-start; \
32594 cd $(TARGET_SUBDIR)/libsanitizer && \
32595 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32596 @endif target-libsanitizer-bootstrap
32599 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
32600 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
32601 maybe-all-stage3-target-libsanitizer:
32602 maybe-clean-stage3-target-libsanitizer:
32603 @if target-libsanitizer-bootstrap
32604 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
32605 all-stage3: all-stage3-target-libsanitizer
32606 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
32607 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32608 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32609 @r=`${PWD_COMMAND}`; export r; \
32610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32611 TFLAGS="$(STAGE3_TFLAGS)"; \
32612 $(RAW_CXX_TARGET_EXPORTS) \
32614 cd $(TARGET_SUBDIR)/libsanitizer && \
32615 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32616 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32617 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32618 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32622 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32623 TFLAGS="$(STAGE3_TFLAGS)" \
32624 $(TARGET-stage3-target-libsanitizer)
32626 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
32627 clean-stage3: clean-stage3-target-libsanitizer
32628 clean-stage3-target-libsanitizer:
32629 @if [ $(current_stage) = stage3 ]; then \
32630 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32632 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
32633 $(MAKE) stage3-start; \
32635 cd $(TARGET_SUBDIR)/libsanitizer && \
32636 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32637 @endif target-libsanitizer-bootstrap
32640 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
32641 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
32642 maybe-all-stage4-target-libsanitizer:
32643 maybe-clean-stage4-target-libsanitizer:
32644 @if target-libsanitizer-bootstrap
32645 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
32646 all-stage4: all-stage4-target-libsanitizer
32647 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
32648 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32649 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32650 @r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 TFLAGS="$(STAGE4_TFLAGS)"; \
32653 $(RAW_CXX_TARGET_EXPORTS) \
32655 cd $(TARGET_SUBDIR)/libsanitizer && \
32656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32657 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32658 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32659 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32660 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32661 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32662 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32663 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32664 TFLAGS="$(STAGE4_TFLAGS)" \
32665 $(TARGET-stage4-target-libsanitizer)
32667 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
32668 clean-stage4: clean-stage4-target-libsanitizer
32669 clean-stage4-target-libsanitizer:
32670 @if [ $(current_stage) = stage4 ]; then \
32671 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32673 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
32674 $(MAKE) stage4-start; \
32676 cd $(TARGET_SUBDIR)/libsanitizer && \
32677 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32678 @endif target-libsanitizer-bootstrap
32681 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
32682 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
32683 maybe-all-stageprofile-target-libsanitizer:
32684 maybe-clean-stageprofile-target-libsanitizer:
32685 @if target-libsanitizer-bootstrap
32686 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
32687 all-stageprofile: all-stageprofile-target-libsanitizer
32688 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
32689 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
32690 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32691 @r=`${PWD_COMMAND}`; export r; \
32692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32693 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32694 $(RAW_CXX_TARGET_EXPORTS) \
32696 cd $(TARGET_SUBDIR)/libsanitizer && \
32697 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32698 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32699 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32700 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32701 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32702 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32703 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32704 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32705 TFLAGS="$(STAGEprofile_TFLAGS)" \
32706 $(TARGET-stageprofile-target-libsanitizer)
32708 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
32709 clean-stageprofile: clean-stageprofile-target-libsanitizer
32710 clean-stageprofile-target-libsanitizer:
32711 @if [ $(current_stage) = stageprofile ]; then \
32712 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32714 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
32715 $(MAKE) stageprofile-start; \
32717 cd $(TARGET_SUBDIR)/libsanitizer && \
32718 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32719 @endif target-libsanitizer-bootstrap
32722 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
32723 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
32724 maybe-all-stagefeedback-target-libsanitizer:
32725 maybe-clean-stagefeedback-target-libsanitizer:
32726 @if target-libsanitizer-bootstrap
32727 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
32728 all-stagefeedback: all-stagefeedback-target-libsanitizer
32729 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
32730 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
32731 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32732 @r=`${PWD_COMMAND}`; export r; \
32733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32734 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32735 $(RAW_CXX_TARGET_EXPORTS) \
32737 cd $(TARGET_SUBDIR)/libsanitizer && \
32738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32739 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32740 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32741 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32745 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32746 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32747 $(TARGET-stagefeedback-target-libsanitizer)
32749 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
32750 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
32751 clean-stagefeedback-target-libsanitizer:
32752 @if [ $(current_stage) = stagefeedback ]; then \
32753 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
32755 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
32756 $(MAKE) stagefeedback-start; \
32758 cd $(TARGET_SUBDIR)/libsanitizer && \
32759 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32760 @endif target-libsanitizer-bootstrap
32767 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
32768 maybe-check-target-libsanitizer:
32769 @if target-libsanitizer
32770 maybe-check-target-libsanitizer: check-target-libsanitizer
32772 check-target-libsanitizer:
32773 @: $(MAKE); $(unstage)
32774 @r=`${PWD_COMMAND}`; export r; \
32775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32776 $(RAW_CXX_TARGET_EXPORTS) \
32777 (cd $(TARGET_SUBDIR)/libsanitizer && \
32778 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32780 @endif target-libsanitizer
32782 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
32783 maybe-install-target-libsanitizer:
32784 @if target-libsanitizer
32785 maybe-install-target-libsanitizer: install-target-libsanitizer
32787 install-target-libsanitizer: installdirs
32788 @: $(MAKE); $(unstage)
32789 @r=`${PWD_COMMAND}`; export r; \
32790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32791 $(RAW_CXX_TARGET_EXPORTS) \
32792 (cd $(TARGET_SUBDIR)/libsanitizer && \
32793 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32795 @endif target-libsanitizer
32797 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
32798 maybe-install-strip-target-libsanitizer:
32799 @if target-libsanitizer
32800 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
32802 install-strip-target-libsanitizer: installdirs
32803 @: $(MAKE); $(unstage)
32804 @r=`${PWD_COMMAND}`; export r; \
32805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32806 $(RAW_CXX_TARGET_EXPORTS) \
32807 (cd $(TARGET_SUBDIR)/libsanitizer && \
32808 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32810 @endif target-libsanitizer
32812 # Other targets (info, dvi, pdf, etc.)
32814 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
32815 maybe-info-target-libsanitizer:
32816 @if target-libsanitizer
32817 maybe-info-target-libsanitizer: info-target-libsanitizer
32819 info-target-libsanitizer: \
32820 configure-target-libsanitizer
32821 @: $(MAKE); $(unstage)
32822 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32823 r=`${PWD_COMMAND}`; export r; \
32824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32825 $(RAW_CXX_TARGET_EXPORTS) \
32826 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
32827 for flag in $(EXTRA_TARGET_FLAGS); do \
32828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32830 (cd $(TARGET_SUBDIR)/libsanitizer && \
32831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32833 "RANLIB=$${RANLIB}" \
32834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32838 @endif target-libsanitizer
32840 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
32841 maybe-dvi-target-libsanitizer:
32842 @if target-libsanitizer
32843 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
32845 dvi-target-libsanitizer: \
32846 configure-target-libsanitizer
32847 @: $(MAKE); $(unstage)
32848 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32849 r=`${PWD_COMMAND}`; export r; \
32850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32851 $(RAW_CXX_TARGET_EXPORTS) \
32852 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
32853 for flag in $(EXTRA_TARGET_FLAGS); do \
32854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32856 (cd $(TARGET_SUBDIR)/libsanitizer && \
32857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32859 "RANLIB=$${RANLIB}" \
32860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32864 @endif target-libsanitizer
32866 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
32867 maybe-pdf-target-libsanitizer:
32868 @if target-libsanitizer
32869 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
32871 pdf-target-libsanitizer: \
32872 configure-target-libsanitizer
32873 @: $(MAKE); $(unstage)
32874 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32875 r=`${PWD_COMMAND}`; export r; \
32876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32877 $(RAW_CXX_TARGET_EXPORTS) \
32878 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32879 for flag in $(EXTRA_TARGET_FLAGS); do \
32880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32882 (cd $(TARGET_SUBDIR)/libsanitizer && \
32883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32885 "RANLIB=$${RANLIB}" \
32886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32890 @endif target-libsanitizer
32892 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
32893 maybe-html-target-libsanitizer:
32894 @if target-libsanitizer
32895 maybe-html-target-libsanitizer: html-target-libsanitizer
32897 html-target-libsanitizer: \
32898 configure-target-libsanitizer
32899 @: $(MAKE); $(unstage)
32900 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32901 r=`${PWD_COMMAND}`; export r; \
32902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32903 $(RAW_CXX_TARGET_EXPORTS) \
32904 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
32905 for flag in $(EXTRA_TARGET_FLAGS); do \
32906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32908 (cd $(TARGET_SUBDIR)/libsanitizer && \
32909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32911 "RANLIB=$${RANLIB}" \
32912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32916 @endif target-libsanitizer
32918 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
32919 maybe-TAGS-target-libsanitizer:
32920 @if target-libsanitizer
32921 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
32923 TAGS-target-libsanitizer: \
32924 configure-target-libsanitizer
32925 @: $(MAKE); $(unstage)
32926 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32927 r=`${PWD_COMMAND}`; export r; \
32928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32929 $(RAW_CXX_TARGET_EXPORTS) \
32930 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
32931 for flag in $(EXTRA_TARGET_FLAGS); do \
32932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32934 (cd $(TARGET_SUBDIR)/libsanitizer && \
32935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32937 "RANLIB=$${RANLIB}" \
32938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32942 @endif target-libsanitizer
32944 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
32945 maybe-install-info-target-libsanitizer:
32946 @if target-libsanitizer
32947 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
32949 install-info-target-libsanitizer: \
32950 configure-target-libsanitizer \
32951 info-target-libsanitizer
32952 @: $(MAKE); $(unstage)
32953 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32954 r=`${PWD_COMMAND}`; export r; \
32955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32956 $(RAW_CXX_TARGET_EXPORTS) \
32957 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
32958 for flag in $(EXTRA_TARGET_FLAGS); do \
32959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32961 (cd $(TARGET_SUBDIR)/libsanitizer && \
32962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32964 "RANLIB=$${RANLIB}" \
32965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32969 @endif target-libsanitizer
32971 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
32972 maybe-install-pdf-target-libsanitizer:
32973 @if target-libsanitizer
32974 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
32976 install-pdf-target-libsanitizer: \
32977 configure-target-libsanitizer \
32978 pdf-target-libsanitizer
32979 @: $(MAKE); $(unstage)
32980 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
32981 r=`${PWD_COMMAND}`; export r; \
32982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32983 $(RAW_CXX_TARGET_EXPORTS) \
32984 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
32985 for flag in $(EXTRA_TARGET_FLAGS); do \
32986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32988 (cd $(TARGET_SUBDIR)/libsanitizer && \
32989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32991 "RANLIB=$${RANLIB}" \
32992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32996 @endif target-libsanitizer
32998 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
32999 maybe-install-html-target-libsanitizer:
33000 @if target-libsanitizer
33001 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33003 install-html-target-libsanitizer: \
33004 configure-target-libsanitizer \
33005 html-target-libsanitizer
33006 @: $(MAKE); $(unstage)
33007 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33008 r=`${PWD_COMMAND}`; export r; \
33009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33010 $(RAW_CXX_TARGET_EXPORTS) \
33011 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33012 for flag in $(EXTRA_TARGET_FLAGS); do \
33013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33015 (cd $(TARGET_SUBDIR)/libsanitizer && \
33016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33018 "RANLIB=$${RANLIB}" \
33019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33023 @endif target-libsanitizer
33025 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
33026 maybe-installcheck-target-libsanitizer:
33027 @if target-libsanitizer
33028 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
33030 installcheck-target-libsanitizer: \
33031 configure-target-libsanitizer
33032 @: $(MAKE); $(unstage)
33033 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33034 r=`${PWD_COMMAND}`; export r; \
33035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33036 $(RAW_CXX_TARGET_EXPORTS) \
33037 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
33038 for flag in $(EXTRA_TARGET_FLAGS); do \
33039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33041 (cd $(TARGET_SUBDIR)/libsanitizer && \
33042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33044 "RANLIB=$${RANLIB}" \
33045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33049 @endif target-libsanitizer
33051 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
33052 maybe-mostlyclean-target-libsanitizer:
33053 @if target-libsanitizer
33054 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
33056 mostlyclean-target-libsanitizer:
33057 @: $(MAKE); $(unstage)
33058 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33059 r=`${PWD_COMMAND}`; export r; \
33060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33061 $(RAW_CXX_TARGET_EXPORTS) \
33062 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33063 for flag in $(EXTRA_TARGET_FLAGS); do \
33064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33066 (cd $(TARGET_SUBDIR)/libsanitizer && \
33067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33069 "RANLIB=$${RANLIB}" \
33070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33074 @endif target-libsanitizer
33076 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
33077 maybe-clean-target-libsanitizer:
33078 @if target-libsanitizer
33079 maybe-clean-target-libsanitizer: clean-target-libsanitizer
33081 clean-target-libsanitizer:
33082 @: $(MAKE); $(unstage)
33083 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33084 r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(RAW_CXX_TARGET_EXPORTS) \
33087 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33088 for flag in $(EXTRA_TARGET_FLAGS); do \
33089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33091 (cd $(TARGET_SUBDIR)/libsanitizer && \
33092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33094 "RANLIB=$${RANLIB}" \
33095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33099 @endif target-libsanitizer
33101 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
33102 maybe-distclean-target-libsanitizer:
33103 @if target-libsanitizer
33104 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
33106 distclean-target-libsanitizer:
33107 @: $(MAKE); $(unstage)
33108 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33109 r=`${PWD_COMMAND}`; export r; \
33110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33111 $(RAW_CXX_TARGET_EXPORTS) \
33112 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33113 for flag in $(EXTRA_TARGET_FLAGS); do \
33114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33116 (cd $(TARGET_SUBDIR)/libsanitizer && \
33117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33119 "RANLIB=$${RANLIB}" \
33120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33124 @endif target-libsanitizer
33126 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
33127 maybe-maintainer-clean-target-libsanitizer:
33128 @if target-libsanitizer
33129 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
33131 maintainer-clean-target-libsanitizer:
33132 @: $(MAKE); $(unstage)
33133 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33134 r=`${PWD_COMMAND}`; export r; \
33135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33136 $(RAW_CXX_TARGET_EXPORTS) \
33137 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33138 for flag in $(EXTRA_TARGET_FLAGS); do \
33139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33141 (cd $(TARGET_SUBDIR)/libsanitizer && \
33142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33144 "RANLIB=$${RANLIB}" \
33145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33146 maintainer-clean) \
33149 @endif target-libsanitizer
33155 .PHONY: configure-target-libssp maybe-configure-target-libssp
33156 maybe-configure-target-libssp:
33158 configure-target-libssp: stage_current
33159 @endif gcc-bootstrap
33161 maybe-configure-target-libssp: configure-target-libssp
33162 configure-target-libssp:
33163 @: $(MAKE); $(unstage)
33164 @r=`${PWD_COMMAND}`; export r; \
33165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33166 echo "Checking multilib configuration for libssp..."; \
33167 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
33168 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
33169 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
33170 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
33171 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
33173 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
33174 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
33177 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
33179 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
33180 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
33181 $(NORMAL_TARGET_EXPORTS) \
33182 echo Configuring in $(TARGET_SUBDIR)/libssp; \
33183 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
33184 case $(srcdir) in \
33185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33186 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
33187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33189 srcdiroption="--srcdir=$${topdir}/libssp"; \
33190 libsrcdir="$$s/libssp"; \
33191 rm -f no-such-file || : ; \
33192 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33193 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33194 --target=${target_alias} $${srcdiroption} \
33196 @endif target-libssp
33202 .PHONY: all-target-libssp maybe-all-target-libssp
33203 maybe-all-target-libssp:
33205 all-target-libssp: stage_current
33206 @endif gcc-bootstrap
33208 TARGET-target-libssp=all
33209 maybe-all-target-libssp: all-target-libssp
33210 all-target-libssp: configure-target-libssp
33211 @: $(MAKE); $(unstage)
33212 @r=`${PWD_COMMAND}`; export r; \
33213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33214 $(NORMAL_TARGET_EXPORTS) \
33215 (cd $(TARGET_SUBDIR)/libssp && \
33216 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33217 $(TARGET-target-libssp))
33218 @endif target-libssp
33224 .PHONY: check-target-libssp maybe-check-target-libssp
33225 maybe-check-target-libssp:
33227 maybe-check-target-libssp: check-target-libssp
33229 check-target-libssp:
33230 @: $(MAKE); $(unstage)
33231 @r=`${PWD_COMMAND}`; export r; \
33232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33233 $(NORMAL_TARGET_EXPORTS) \
33234 (cd $(TARGET_SUBDIR)/libssp && \
33235 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33237 @endif target-libssp
33239 .PHONY: install-target-libssp maybe-install-target-libssp
33240 maybe-install-target-libssp:
33242 maybe-install-target-libssp: install-target-libssp
33244 install-target-libssp: installdirs
33245 @: $(MAKE); $(unstage)
33246 @r=`${PWD_COMMAND}`; export r; \
33247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33248 $(NORMAL_TARGET_EXPORTS) \
33249 (cd $(TARGET_SUBDIR)/libssp && \
33250 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33252 @endif target-libssp
33254 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
33255 maybe-install-strip-target-libssp:
33257 maybe-install-strip-target-libssp: install-strip-target-libssp
33259 install-strip-target-libssp: installdirs
33260 @: $(MAKE); $(unstage)
33261 @r=`${PWD_COMMAND}`; export r; \
33262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33263 $(NORMAL_TARGET_EXPORTS) \
33264 (cd $(TARGET_SUBDIR)/libssp && \
33265 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33267 @endif target-libssp
33269 # Other targets (info, dvi, pdf, etc.)
33271 .PHONY: maybe-info-target-libssp info-target-libssp
33272 maybe-info-target-libssp:
33274 maybe-info-target-libssp: info-target-libssp
33276 info-target-libssp: \
33277 configure-target-libssp
33278 @: $(MAKE); $(unstage)
33279 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33280 r=`${PWD_COMMAND}`; export r; \
33281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33282 $(NORMAL_TARGET_EXPORTS) \
33283 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
33284 for flag in $(EXTRA_TARGET_FLAGS); do \
33285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33287 (cd $(TARGET_SUBDIR)/libssp && \
33288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33290 "RANLIB=$${RANLIB}" \
33291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33295 @endif target-libssp
33297 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
33298 maybe-dvi-target-libssp:
33300 maybe-dvi-target-libssp: dvi-target-libssp
33302 dvi-target-libssp: \
33303 configure-target-libssp
33304 @: $(MAKE); $(unstage)
33305 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33306 r=`${PWD_COMMAND}`; export r; \
33307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33308 $(NORMAL_TARGET_EXPORTS) \
33309 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
33310 for flag in $(EXTRA_TARGET_FLAGS); do \
33311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33313 (cd $(TARGET_SUBDIR)/libssp && \
33314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33316 "RANLIB=$${RANLIB}" \
33317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33321 @endif target-libssp
33323 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
33324 maybe-pdf-target-libssp:
33326 maybe-pdf-target-libssp: pdf-target-libssp
33328 pdf-target-libssp: \
33329 configure-target-libssp
33330 @: $(MAKE); $(unstage)
33331 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33332 r=`${PWD_COMMAND}`; export r; \
33333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33334 $(NORMAL_TARGET_EXPORTS) \
33335 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
33336 for flag in $(EXTRA_TARGET_FLAGS); do \
33337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33339 (cd $(TARGET_SUBDIR)/libssp && \
33340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33342 "RANLIB=$${RANLIB}" \
33343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33347 @endif target-libssp
33349 .PHONY: maybe-html-target-libssp html-target-libssp
33350 maybe-html-target-libssp:
33352 maybe-html-target-libssp: html-target-libssp
33354 html-target-libssp: \
33355 configure-target-libssp
33356 @: $(MAKE); $(unstage)
33357 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33358 r=`${PWD_COMMAND}`; export r; \
33359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33360 $(NORMAL_TARGET_EXPORTS) \
33361 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
33362 for flag in $(EXTRA_TARGET_FLAGS); do \
33363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33365 (cd $(TARGET_SUBDIR)/libssp && \
33366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33368 "RANLIB=$${RANLIB}" \
33369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33373 @endif target-libssp
33375 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
33376 maybe-TAGS-target-libssp:
33378 maybe-TAGS-target-libssp: TAGS-target-libssp
33380 TAGS-target-libssp: \
33381 configure-target-libssp
33382 @: $(MAKE); $(unstage)
33383 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33384 r=`${PWD_COMMAND}`; export r; \
33385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33386 $(NORMAL_TARGET_EXPORTS) \
33387 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
33388 for flag in $(EXTRA_TARGET_FLAGS); do \
33389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33391 (cd $(TARGET_SUBDIR)/libssp && \
33392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33394 "RANLIB=$${RANLIB}" \
33395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33399 @endif target-libssp
33401 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
33402 maybe-install-info-target-libssp:
33404 maybe-install-info-target-libssp: install-info-target-libssp
33406 install-info-target-libssp: \
33407 configure-target-libssp \
33409 @: $(MAKE); $(unstage)
33410 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33411 r=`${PWD_COMMAND}`; export r; \
33412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33413 $(NORMAL_TARGET_EXPORTS) \
33414 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
33415 for flag in $(EXTRA_TARGET_FLAGS); do \
33416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33418 (cd $(TARGET_SUBDIR)/libssp && \
33419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33421 "RANLIB=$${RANLIB}" \
33422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33426 @endif target-libssp
33428 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
33429 maybe-install-pdf-target-libssp:
33431 maybe-install-pdf-target-libssp: install-pdf-target-libssp
33433 install-pdf-target-libssp: \
33434 configure-target-libssp \
33436 @: $(MAKE); $(unstage)
33437 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33438 r=`${PWD_COMMAND}`; export r; \
33439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33440 $(NORMAL_TARGET_EXPORTS) \
33441 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
33442 for flag in $(EXTRA_TARGET_FLAGS); do \
33443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33445 (cd $(TARGET_SUBDIR)/libssp && \
33446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33448 "RANLIB=$${RANLIB}" \
33449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33453 @endif target-libssp
33455 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
33456 maybe-install-html-target-libssp:
33458 maybe-install-html-target-libssp: install-html-target-libssp
33460 install-html-target-libssp: \
33461 configure-target-libssp \
33463 @: $(MAKE); $(unstage)
33464 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33465 r=`${PWD_COMMAND}`; export r; \
33466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33467 $(NORMAL_TARGET_EXPORTS) \
33468 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
33469 for flag in $(EXTRA_TARGET_FLAGS); do \
33470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33472 (cd $(TARGET_SUBDIR)/libssp && \
33473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33475 "RANLIB=$${RANLIB}" \
33476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33480 @endif target-libssp
33482 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
33483 maybe-installcheck-target-libssp:
33485 maybe-installcheck-target-libssp: installcheck-target-libssp
33487 installcheck-target-libssp: \
33488 configure-target-libssp
33489 @: $(MAKE); $(unstage)
33490 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33491 r=`${PWD_COMMAND}`; export r; \
33492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33493 $(NORMAL_TARGET_EXPORTS) \
33494 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
33495 for flag in $(EXTRA_TARGET_FLAGS); do \
33496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33498 (cd $(TARGET_SUBDIR)/libssp && \
33499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33501 "RANLIB=$${RANLIB}" \
33502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33506 @endif target-libssp
33508 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
33509 maybe-mostlyclean-target-libssp:
33511 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
33513 mostlyclean-target-libssp:
33514 @: $(MAKE); $(unstage)
33515 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33516 r=`${PWD_COMMAND}`; export r; \
33517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33518 $(NORMAL_TARGET_EXPORTS) \
33519 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
33520 for flag in $(EXTRA_TARGET_FLAGS); do \
33521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33523 (cd $(TARGET_SUBDIR)/libssp && \
33524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33526 "RANLIB=$${RANLIB}" \
33527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33531 @endif target-libssp
33533 .PHONY: maybe-clean-target-libssp clean-target-libssp
33534 maybe-clean-target-libssp:
33536 maybe-clean-target-libssp: clean-target-libssp
33538 clean-target-libssp:
33539 @: $(MAKE); $(unstage)
33540 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33541 r=`${PWD_COMMAND}`; export r; \
33542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33543 $(NORMAL_TARGET_EXPORTS) \
33544 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
33545 for flag in $(EXTRA_TARGET_FLAGS); do \
33546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33548 (cd $(TARGET_SUBDIR)/libssp && \
33549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33551 "RANLIB=$${RANLIB}" \
33552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33556 @endif target-libssp
33558 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
33559 maybe-distclean-target-libssp:
33561 maybe-distclean-target-libssp: distclean-target-libssp
33563 distclean-target-libssp:
33564 @: $(MAKE); $(unstage)
33565 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33566 r=`${PWD_COMMAND}`; export r; \
33567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33568 $(NORMAL_TARGET_EXPORTS) \
33569 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
33570 for flag in $(EXTRA_TARGET_FLAGS); do \
33571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33573 (cd $(TARGET_SUBDIR)/libssp && \
33574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33576 "RANLIB=$${RANLIB}" \
33577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33581 @endif target-libssp
33583 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
33584 maybe-maintainer-clean-target-libssp:
33586 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
33588 maintainer-clean-target-libssp:
33589 @: $(MAKE); $(unstage)
33590 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
33591 r=`${PWD_COMMAND}`; export r; \
33592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33593 $(NORMAL_TARGET_EXPORTS) \
33594 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
33595 for flag in $(EXTRA_TARGET_FLAGS); do \
33596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33598 (cd $(TARGET_SUBDIR)/libssp && \
33599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33601 "RANLIB=$${RANLIB}" \
33602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33603 maintainer-clean) \
33606 @endif target-libssp
33612 .PHONY: configure-target-newlib maybe-configure-target-newlib
33613 maybe-configure-target-newlib:
33615 configure-target-newlib: stage_current
33616 @endif gcc-bootstrap
33618 maybe-configure-target-newlib: configure-target-newlib
33619 configure-target-newlib:
33620 @: $(MAKE); $(unstage)
33621 @r=`${PWD_COMMAND}`; export r; \
33622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33623 echo "Checking multilib configuration for newlib..."; \
33624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
33625 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
33626 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
33627 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
33628 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
33630 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
33631 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
33634 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
33636 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
33637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
33638 $(NORMAL_TARGET_EXPORTS) \
33639 echo Configuring in $(TARGET_SUBDIR)/newlib; \
33640 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
33641 case $(srcdir) in \
33642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33643 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
33644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33646 srcdiroption="--srcdir=$${topdir}/newlib"; \
33647 libsrcdir="$$s/newlib"; \
33648 rm -f no-such-file || : ; \
33649 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33650 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33651 --target=${target_alias} $${srcdiroption} \
33653 @endif target-newlib
33659 .PHONY: all-target-newlib maybe-all-target-newlib
33660 maybe-all-target-newlib:
33662 all-target-newlib: stage_current
33663 @endif gcc-bootstrap
33665 TARGET-target-newlib=all
33666 maybe-all-target-newlib: all-target-newlib
33667 all-target-newlib: configure-target-newlib
33668 @: $(MAKE); $(unstage)
33669 @r=`${PWD_COMMAND}`; export r; \
33670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33671 $(NORMAL_TARGET_EXPORTS) \
33672 (cd $(TARGET_SUBDIR)/newlib && \
33673 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33674 $(TARGET-target-newlib))
33675 @endif target-newlib
33681 .PHONY: check-target-newlib maybe-check-target-newlib
33682 maybe-check-target-newlib:
33684 maybe-check-target-newlib: check-target-newlib
33686 check-target-newlib:
33687 @: $(MAKE); $(unstage)
33688 @r=`${PWD_COMMAND}`; export r; \
33689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33690 $(NORMAL_TARGET_EXPORTS) \
33691 (cd $(TARGET_SUBDIR)/newlib && \
33692 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33694 @endif target-newlib
33696 .PHONY: install-target-newlib maybe-install-target-newlib
33697 maybe-install-target-newlib:
33699 maybe-install-target-newlib: install-target-newlib
33701 install-target-newlib: installdirs
33702 @: $(MAKE); $(unstage)
33703 @r=`${PWD_COMMAND}`; export r; \
33704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33705 $(NORMAL_TARGET_EXPORTS) \
33706 (cd $(TARGET_SUBDIR)/newlib && \
33707 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33709 @endif target-newlib
33711 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
33712 maybe-install-strip-target-newlib:
33714 maybe-install-strip-target-newlib: install-strip-target-newlib
33716 install-strip-target-newlib: installdirs
33717 @: $(MAKE); $(unstage)
33718 @r=`${PWD_COMMAND}`; export r; \
33719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33720 $(NORMAL_TARGET_EXPORTS) \
33721 (cd $(TARGET_SUBDIR)/newlib && \
33722 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33724 @endif target-newlib
33726 # Other targets (info, dvi, pdf, etc.)
33728 .PHONY: maybe-info-target-newlib info-target-newlib
33729 maybe-info-target-newlib:
33731 maybe-info-target-newlib: info-target-newlib
33733 info-target-newlib: \
33734 configure-target-newlib
33735 @: $(MAKE); $(unstage)
33736 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33737 r=`${PWD_COMMAND}`; export r; \
33738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33739 $(NORMAL_TARGET_EXPORTS) \
33740 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
33741 for flag in $(EXTRA_TARGET_FLAGS); do \
33742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33744 (cd $(TARGET_SUBDIR)/newlib && \
33745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33747 "RANLIB=$${RANLIB}" \
33748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33752 @endif target-newlib
33754 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
33755 maybe-dvi-target-newlib:
33757 maybe-dvi-target-newlib: dvi-target-newlib
33759 dvi-target-newlib: \
33760 configure-target-newlib
33761 @: $(MAKE); $(unstage)
33762 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33763 r=`${PWD_COMMAND}`; export r; \
33764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33765 $(NORMAL_TARGET_EXPORTS) \
33766 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
33767 for flag in $(EXTRA_TARGET_FLAGS); do \
33768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33770 (cd $(TARGET_SUBDIR)/newlib && \
33771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33773 "RANLIB=$${RANLIB}" \
33774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33778 @endif target-newlib
33780 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
33781 maybe-pdf-target-newlib:
33783 maybe-pdf-target-newlib: pdf-target-newlib
33785 pdf-target-newlib: \
33786 configure-target-newlib
33787 @: $(MAKE); $(unstage)
33788 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33789 r=`${PWD_COMMAND}`; export r; \
33790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33791 $(NORMAL_TARGET_EXPORTS) \
33792 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
33793 for flag in $(EXTRA_TARGET_FLAGS); do \
33794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33796 (cd $(TARGET_SUBDIR)/newlib && \
33797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33799 "RANLIB=$${RANLIB}" \
33800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33804 @endif target-newlib
33806 .PHONY: maybe-html-target-newlib html-target-newlib
33807 maybe-html-target-newlib:
33809 maybe-html-target-newlib: html-target-newlib
33811 html-target-newlib: \
33812 configure-target-newlib
33813 @: $(MAKE); $(unstage)
33814 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33815 r=`${PWD_COMMAND}`; export r; \
33816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33817 $(NORMAL_TARGET_EXPORTS) \
33818 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
33819 for flag in $(EXTRA_TARGET_FLAGS); do \
33820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33822 (cd $(TARGET_SUBDIR)/newlib && \
33823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33825 "RANLIB=$${RANLIB}" \
33826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33830 @endif target-newlib
33832 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
33833 maybe-TAGS-target-newlib:
33835 maybe-TAGS-target-newlib: TAGS-target-newlib
33837 TAGS-target-newlib: \
33838 configure-target-newlib
33839 @: $(MAKE); $(unstage)
33840 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33841 r=`${PWD_COMMAND}`; export r; \
33842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33843 $(NORMAL_TARGET_EXPORTS) \
33844 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
33845 for flag in $(EXTRA_TARGET_FLAGS); do \
33846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33848 (cd $(TARGET_SUBDIR)/newlib && \
33849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33851 "RANLIB=$${RANLIB}" \
33852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33856 @endif target-newlib
33858 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
33859 maybe-install-info-target-newlib:
33861 maybe-install-info-target-newlib: install-info-target-newlib
33863 install-info-target-newlib: \
33864 configure-target-newlib \
33866 @: $(MAKE); $(unstage)
33867 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33868 r=`${PWD_COMMAND}`; export r; \
33869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33870 $(NORMAL_TARGET_EXPORTS) \
33871 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
33872 for flag in $(EXTRA_TARGET_FLAGS); do \
33873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33875 (cd $(TARGET_SUBDIR)/newlib && \
33876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33878 "RANLIB=$${RANLIB}" \
33879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33883 @endif target-newlib
33885 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
33886 maybe-install-pdf-target-newlib:
33888 maybe-install-pdf-target-newlib: install-pdf-target-newlib
33890 install-pdf-target-newlib: \
33891 configure-target-newlib \
33893 @: $(MAKE); $(unstage)
33894 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33895 r=`${PWD_COMMAND}`; export r; \
33896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33897 $(NORMAL_TARGET_EXPORTS) \
33898 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
33899 for flag in $(EXTRA_TARGET_FLAGS); do \
33900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33902 (cd $(TARGET_SUBDIR)/newlib && \
33903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33905 "RANLIB=$${RANLIB}" \
33906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33910 @endif target-newlib
33912 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
33913 maybe-install-html-target-newlib:
33915 maybe-install-html-target-newlib: install-html-target-newlib
33917 install-html-target-newlib: \
33918 configure-target-newlib \
33920 @: $(MAKE); $(unstage)
33921 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33922 r=`${PWD_COMMAND}`; export r; \
33923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33924 $(NORMAL_TARGET_EXPORTS) \
33925 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
33926 for flag in $(EXTRA_TARGET_FLAGS); do \
33927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33929 (cd $(TARGET_SUBDIR)/newlib && \
33930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33932 "RANLIB=$${RANLIB}" \
33933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33937 @endif target-newlib
33939 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
33940 maybe-installcheck-target-newlib:
33942 maybe-installcheck-target-newlib: installcheck-target-newlib
33944 installcheck-target-newlib: \
33945 configure-target-newlib
33946 @: $(MAKE); $(unstage)
33947 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33948 r=`${PWD_COMMAND}`; export r; \
33949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33950 $(NORMAL_TARGET_EXPORTS) \
33951 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
33952 for flag in $(EXTRA_TARGET_FLAGS); do \
33953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33955 (cd $(TARGET_SUBDIR)/newlib && \
33956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33958 "RANLIB=$${RANLIB}" \
33959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33963 @endif target-newlib
33965 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
33966 maybe-mostlyclean-target-newlib:
33968 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
33970 mostlyclean-target-newlib:
33971 @: $(MAKE); $(unstage)
33972 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33973 r=`${PWD_COMMAND}`; export r; \
33974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33975 $(NORMAL_TARGET_EXPORTS) \
33976 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
33977 for flag in $(EXTRA_TARGET_FLAGS); do \
33978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33980 (cd $(TARGET_SUBDIR)/newlib && \
33981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33983 "RANLIB=$${RANLIB}" \
33984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33988 @endif target-newlib
33990 .PHONY: maybe-clean-target-newlib clean-target-newlib
33991 maybe-clean-target-newlib:
33993 maybe-clean-target-newlib: clean-target-newlib
33995 clean-target-newlib:
33996 @: $(MAKE); $(unstage)
33997 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33998 r=`${PWD_COMMAND}`; export r; \
33999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34000 $(NORMAL_TARGET_EXPORTS) \
34001 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
34002 for flag in $(EXTRA_TARGET_FLAGS); do \
34003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34005 (cd $(TARGET_SUBDIR)/newlib && \
34006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34008 "RANLIB=$${RANLIB}" \
34009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34013 @endif target-newlib
34015 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
34016 maybe-distclean-target-newlib:
34018 maybe-distclean-target-newlib: distclean-target-newlib
34020 distclean-target-newlib:
34021 @: $(MAKE); $(unstage)
34022 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34023 r=`${PWD_COMMAND}`; export r; \
34024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34025 $(NORMAL_TARGET_EXPORTS) \
34026 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
34027 for flag in $(EXTRA_TARGET_FLAGS); do \
34028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34030 (cd $(TARGET_SUBDIR)/newlib && \
34031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34033 "RANLIB=$${RANLIB}" \
34034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34038 @endif target-newlib
34040 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
34041 maybe-maintainer-clean-target-newlib:
34043 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
34045 maintainer-clean-target-newlib:
34046 @: $(MAKE); $(unstage)
34047 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
34048 r=`${PWD_COMMAND}`; export r; \
34049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34050 $(NORMAL_TARGET_EXPORTS) \
34051 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
34052 for flag in $(EXTRA_TARGET_FLAGS); do \
34053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34055 (cd $(TARGET_SUBDIR)/newlib && \
34056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34058 "RANLIB=$${RANLIB}" \
34059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34060 maintainer-clean) \
34063 @endif target-newlib
34069 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
34070 maybe-configure-target-libgcc:
34072 configure-target-libgcc: stage_current
34073 @endif gcc-bootstrap
34075 maybe-configure-target-libgcc: configure-target-libgcc
34076 configure-target-libgcc:
34077 @r=`${PWD_COMMAND}`; export r; \
34078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34079 echo "Checking multilib configuration for libgcc..."; \
34080 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34081 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34082 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34083 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34084 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34086 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34087 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34090 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34092 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34093 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34094 $(NORMAL_TARGET_EXPORTS) \
34095 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
34096 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
34097 case $(srcdir) in \
34098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34099 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34102 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34103 libsrcdir="$$s/libgcc"; \
34104 rm -f no-such-file || : ; \
34105 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34106 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34107 --target=${target_alias} $${srcdiroption} \
34109 @endif target-libgcc
34113 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
34114 maybe-configure-stage1-target-libgcc:
34115 @if target-libgcc-bootstrap
34116 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
34117 configure-stage1-target-libgcc:
34118 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34119 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34120 @r=`${PWD_COMMAND}`; export r; \
34121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34122 TFLAGS="$(STAGE1_TFLAGS)"; \
34123 echo "Checking multilib configuration for libgcc..."; \
34124 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34125 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34126 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34127 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34129 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34130 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34133 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34135 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34136 $(NORMAL_TARGET_EXPORTS) \
34137 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34140 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
34141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34142 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34143 case $(srcdir) in \
34144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34145 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34148 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34149 libsrcdir="$$s/libgcc"; \
34150 $(SHELL) $${libsrcdir}/configure \
34151 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34152 --target=${target_alias} $${srcdiroption} \
34153 $(STAGE1_CONFIGURE_FLAGS)
34154 @endif target-libgcc-bootstrap
34156 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
34157 maybe-configure-stage2-target-libgcc:
34158 @if target-libgcc-bootstrap
34159 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
34160 configure-stage2-target-libgcc:
34161 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34162 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34163 @r=`${PWD_COMMAND}`; export r; \
34164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34165 TFLAGS="$(STAGE2_TFLAGS)"; \
34166 echo "Checking multilib configuration for libgcc..."; \
34167 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34168 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34169 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34170 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34172 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34173 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34176 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34178 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34179 $(NORMAL_TARGET_EXPORTS) \
34181 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34182 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34183 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34184 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
34185 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34186 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34187 case $(srcdir) in \
34188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34189 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34192 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34193 libsrcdir="$$s/libgcc"; \
34194 $(SHELL) $${libsrcdir}/configure \
34195 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34196 --target=${target_alias} $${srcdiroption} \
34197 --with-build-libsubdir=$(HOST_SUBDIR) \
34198 $(STAGE2_CONFIGURE_FLAGS)
34199 @endif target-libgcc-bootstrap
34201 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
34202 maybe-configure-stage3-target-libgcc:
34203 @if target-libgcc-bootstrap
34204 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
34205 configure-stage3-target-libgcc:
34206 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34207 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34208 @r=`${PWD_COMMAND}`; export r; \
34209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34210 TFLAGS="$(STAGE3_TFLAGS)"; \
34211 echo "Checking multilib configuration for libgcc..."; \
34212 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34213 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34214 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34215 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34217 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34218 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34221 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34223 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34224 $(NORMAL_TARGET_EXPORTS) \
34226 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34227 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34228 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34229 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
34230 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34231 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34232 case $(srcdir) in \
34233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34234 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34237 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34238 libsrcdir="$$s/libgcc"; \
34239 $(SHELL) $${libsrcdir}/configure \
34240 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34241 --target=${target_alias} $${srcdiroption} \
34242 --with-build-libsubdir=$(HOST_SUBDIR) \
34243 $(STAGE3_CONFIGURE_FLAGS)
34244 @endif target-libgcc-bootstrap
34246 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
34247 maybe-configure-stage4-target-libgcc:
34248 @if target-libgcc-bootstrap
34249 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
34250 configure-stage4-target-libgcc:
34251 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34252 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34253 @r=`${PWD_COMMAND}`; export r; \
34254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34255 TFLAGS="$(STAGE4_TFLAGS)"; \
34256 echo "Checking multilib configuration for libgcc..."; \
34257 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34258 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34259 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34260 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34262 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34263 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34266 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34268 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34269 $(NORMAL_TARGET_EXPORTS) \
34271 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34272 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34273 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34274 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
34275 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34276 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34277 case $(srcdir) in \
34278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34279 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34282 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34283 libsrcdir="$$s/libgcc"; \
34284 $(SHELL) $${libsrcdir}/configure \
34285 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34286 --target=${target_alias} $${srcdiroption} \
34287 --with-build-libsubdir=$(HOST_SUBDIR) \
34288 $(STAGE4_CONFIGURE_FLAGS)
34289 @endif target-libgcc-bootstrap
34291 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
34292 maybe-configure-stageprofile-target-libgcc:
34293 @if target-libgcc-bootstrap
34294 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
34295 configure-stageprofile-target-libgcc:
34296 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34297 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34298 @r=`${PWD_COMMAND}`; export r; \
34299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34300 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34301 echo "Checking multilib configuration for libgcc..."; \
34302 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34303 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34304 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34305 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34307 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34308 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34311 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34313 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34314 $(NORMAL_TARGET_EXPORTS) \
34316 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34317 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34318 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34319 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
34320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34321 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34322 case $(srcdir) in \
34323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34324 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34327 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34328 libsrcdir="$$s/libgcc"; \
34329 $(SHELL) $${libsrcdir}/configure \
34330 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34331 --target=${target_alias} $${srcdiroption} \
34332 --with-build-libsubdir=$(HOST_SUBDIR) \
34333 $(STAGEprofile_CONFIGURE_FLAGS)
34334 @endif target-libgcc-bootstrap
34336 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
34337 maybe-configure-stagefeedback-target-libgcc:
34338 @if target-libgcc-bootstrap
34339 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
34340 configure-stagefeedback-target-libgcc:
34341 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34342 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
34343 @r=`${PWD_COMMAND}`; export r; \
34344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34345 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34346 echo "Checking multilib configuration for libgcc..."; \
34347 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
34348 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34349 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
34350 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
34352 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
34353 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34356 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
34358 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
34359 $(NORMAL_TARGET_EXPORTS) \
34361 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34362 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34363 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34364 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
34365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
34366 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
34367 case $(srcdir) in \
34368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34369 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
34370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34372 srcdiroption="--srcdir=$${topdir}/libgcc"; \
34373 libsrcdir="$$s/libgcc"; \
34374 $(SHELL) $${libsrcdir}/configure \
34375 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34376 --target=${target_alias} $${srcdiroption} \
34377 --with-build-libsubdir=$(HOST_SUBDIR) \
34378 $(STAGEfeedback_CONFIGURE_FLAGS)
34379 @endif target-libgcc-bootstrap
34385 .PHONY: all-target-libgcc maybe-all-target-libgcc
34386 maybe-all-target-libgcc:
34388 all-target-libgcc: stage_current
34389 @endif gcc-bootstrap
34391 TARGET-target-libgcc=all
34392 maybe-all-target-libgcc: all-target-libgcc
34393 all-target-libgcc: configure-target-libgcc
34394 @r=`${PWD_COMMAND}`; export r; \
34395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34396 $(NORMAL_TARGET_EXPORTS) \
34397 (cd $(TARGET_SUBDIR)/libgcc && \
34398 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34399 $(TARGET-target-libgcc))
34400 @endif target-libgcc
34404 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
34405 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
34406 maybe-all-stage1-target-libgcc:
34407 maybe-clean-stage1-target-libgcc:
34408 @if target-libgcc-bootstrap
34409 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
34410 all-stage1: all-stage1-target-libgcc
34411 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
34412 all-stage1-target-libgcc: configure-stage1-target-libgcc
34413 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34414 @r=`${PWD_COMMAND}`; export r; \
34415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34416 TFLAGS="$(STAGE1_TFLAGS)"; \
34417 $(NORMAL_TARGET_EXPORTS) \
34418 cd $(TARGET_SUBDIR)/libgcc && \
34419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34420 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34421 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34422 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34423 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34424 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34425 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34426 $(EXTRA_TARGET_FLAGS) \
34428 TFLAGS="$(STAGE1_TFLAGS)" \
34429 $(TARGET-stage1-target-libgcc)
34431 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
34432 clean-stage1: clean-stage1-target-libgcc
34433 clean-stage1-target-libgcc:
34434 @if [ $(current_stage) = stage1 ]; then \
34435 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34437 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
34438 $(MAKE) stage1-start; \
34440 cd $(TARGET_SUBDIR)/libgcc && \
34441 $(MAKE) $(EXTRA_TARGET_FLAGS) \
34443 @endif target-libgcc-bootstrap
34446 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
34447 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
34448 maybe-all-stage2-target-libgcc:
34449 maybe-clean-stage2-target-libgcc:
34450 @if target-libgcc-bootstrap
34451 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
34452 all-stage2: all-stage2-target-libgcc
34453 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
34454 all-stage2-target-libgcc: configure-stage2-target-libgcc
34455 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34456 @r=`${PWD_COMMAND}`; export r; \
34457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34458 TFLAGS="$(STAGE2_TFLAGS)"; \
34459 $(NORMAL_TARGET_EXPORTS) \
34461 cd $(TARGET_SUBDIR)/libgcc && \
34462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34463 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34464 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34465 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34469 $(EXTRA_TARGET_FLAGS) \
34470 TFLAGS="$(STAGE2_TFLAGS)" \
34471 $(TARGET-stage2-target-libgcc)
34473 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
34474 clean-stage2: clean-stage2-target-libgcc
34475 clean-stage2-target-libgcc:
34476 @if [ $(current_stage) = stage2 ]; then \
34477 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34479 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
34480 $(MAKE) stage2-start; \
34482 cd $(TARGET_SUBDIR)/libgcc && \
34483 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34484 @endif target-libgcc-bootstrap
34487 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
34488 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
34489 maybe-all-stage3-target-libgcc:
34490 maybe-clean-stage3-target-libgcc:
34491 @if target-libgcc-bootstrap
34492 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
34493 all-stage3: all-stage3-target-libgcc
34494 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
34495 all-stage3-target-libgcc: configure-stage3-target-libgcc
34496 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34497 @r=`${PWD_COMMAND}`; export r; \
34498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34499 TFLAGS="$(STAGE3_TFLAGS)"; \
34500 $(NORMAL_TARGET_EXPORTS) \
34502 cd $(TARGET_SUBDIR)/libgcc && \
34503 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34504 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34505 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34506 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34507 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34508 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34509 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34510 $(EXTRA_TARGET_FLAGS) \
34511 TFLAGS="$(STAGE3_TFLAGS)" \
34512 $(TARGET-stage3-target-libgcc)
34514 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
34515 clean-stage3: clean-stage3-target-libgcc
34516 clean-stage3-target-libgcc:
34517 @if [ $(current_stage) = stage3 ]; then \
34518 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34520 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
34521 $(MAKE) stage3-start; \
34523 cd $(TARGET_SUBDIR)/libgcc && \
34524 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34525 @endif target-libgcc-bootstrap
34528 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
34529 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
34530 maybe-all-stage4-target-libgcc:
34531 maybe-clean-stage4-target-libgcc:
34532 @if target-libgcc-bootstrap
34533 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
34534 all-stage4: all-stage4-target-libgcc
34535 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
34536 all-stage4-target-libgcc: configure-stage4-target-libgcc
34537 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34538 @r=`${PWD_COMMAND}`; export r; \
34539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34540 TFLAGS="$(STAGE4_TFLAGS)"; \
34541 $(NORMAL_TARGET_EXPORTS) \
34543 cd $(TARGET_SUBDIR)/libgcc && \
34544 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34545 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34546 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34547 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34551 $(EXTRA_TARGET_FLAGS) \
34552 TFLAGS="$(STAGE4_TFLAGS)" \
34553 $(TARGET-stage4-target-libgcc)
34555 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
34556 clean-stage4: clean-stage4-target-libgcc
34557 clean-stage4-target-libgcc:
34558 @if [ $(current_stage) = stage4 ]; then \
34559 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34561 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
34562 $(MAKE) stage4-start; \
34564 cd $(TARGET_SUBDIR)/libgcc && \
34565 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34566 @endif target-libgcc-bootstrap
34569 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
34570 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
34571 maybe-all-stageprofile-target-libgcc:
34572 maybe-clean-stageprofile-target-libgcc:
34573 @if target-libgcc-bootstrap
34574 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
34575 all-stageprofile: all-stageprofile-target-libgcc
34576 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
34577 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
34578 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34579 @r=`${PWD_COMMAND}`; export r; \
34580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34581 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34582 $(NORMAL_TARGET_EXPORTS) \
34584 cd $(TARGET_SUBDIR)/libgcc && \
34585 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34586 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34587 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34588 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34589 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34590 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34591 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34592 $(EXTRA_TARGET_FLAGS) \
34593 TFLAGS="$(STAGEprofile_TFLAGS)" \
34594 $(TARGET-stageprofile-target-libgcc)
34596 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
34597 clean-stageprofile: clean-stageprofile-target-libgcc
34598 clean-stageprofile-target-libgcc:
34599 @if [ $(current_stage) = stageprofile ]; then \
34600 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34602 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
34603 $(MAKE) stageprofile-start; \
34605 cd $(TARGET_SUBDIR)/libgcc && \
34606 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34607 @endif target-libgcc-bootstrap
34610 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
34611 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
34612 maybe-all-stagefeedback-target-libgcc:
34613 maybe-clean-stagefeedback-target-libgcc:
34614 @if target-libgcc-bootstrap
34615 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
34616 all-stagefeedback: all-stagefeedback-target-libgcc
34617 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
34618 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
34619 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34620 @r=`${PWD_COMMAND}`; export r; \
34621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34622 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34623 $(NORMAL_TARGET_EXPORTS) \
34625 cd $(TARGET_SUBDIR)/libgcc && \
34626 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34627 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34628 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34629 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34630 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34631 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34632 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34633 $(EXTRA_TARGET_FLAGS) \
34634 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34635 $(TARGET-stagefeedback-target-libgcc)
34637 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
34638 clean-stagefeedback: clean-stagefeedback-target-libgcc
34639 clean-stagefeedback-target-libgcc:
34640 @if [ $(current_stage) = stagefeedback ]; then \
34641 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
34643 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
34644 $(MAKE) stagefeedback-start; \
34646 cd $(TARGET_SUBDIR)/libgcc && \
34647 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
34648 @endif target-libgcc-bootstrap
34655 .PHONY: check-target-libgcc maybe-check-target-libgcc
34656 maybe-check-target-libgcc:
34658 maybe-check-target-libgcc: check-target-libgcc
34660 # Dummy target for uncheckable module.
34661 check-target-libgcc:
34663 @endif target-libgcc
34665 .PHONY: install-target-libgcc maybe-install-target-libgcc
34666 maybe-install-target-libgcc:
34668 maybe-install-target-libgcc: install-target-libgcc
34670 install-target-libgcc: installdirs
34671 @: $(MAKE); $(unstage)
34672 @r=`${PWD_COMMAND}`; export r; \
34673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34674 $(NORMAL_TARGET_EXPORTS) \
34675 (cd $(TARGET_SUBDIR)/libgcc && \
34676 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34678 @endif target-libgcc
34680 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
34681 maybe-install-strip-target-libgcc:
34683 maybe-install-strip-target-libgcc: install-strip-target-libgcc
34685 install-strip-target-libgcc: installdirs
34686 @: $(MAKE); $(unstage)
34687 @r=`${PWD_COMMAND}`; export r; \
34688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34689 $(NORMAL_TARGET_EXPORTS) \
34690 (cd $(TARGET_SUBDIR)/libgcc && \
34691 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34693 @endif target-libgcc
34695 # Other targets (info, dvi, pdf, etc.)
34697 .PHONY: maybe-info-target-libgcc info-target-libgcc
34698 maybe-info-target-libgcc:
34700 maybe-info-target-libgcc: info-target-libgcc
34702 info-target-libgcc: \
34703 configure-target-libgcc
34704 @: $(MAKE); $(unstage)
34705 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34706 r=`${PWD_COMMAND}`; export r; \
34707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34708 $(NORMAL_TARGET_EXPORTS) \
34709 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
34710 for flag in $(EXTRA_TARGET_FLAGS); do \
34711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34713 (cd $(TARGET_SUBDIR)/libgcc && \
34714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34716 "RANLIB=$${RANLIB}" \
34717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34721 @endif target-libgcc
34723 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
34724 maybe-dvi-target-libgcc:
34726 maybe-dvi-target-libgcc: dvi-target-libgcc
34728 dvi-target-libgcc: \
34729 configure-target-libgcc
34730 @: $(MAKE); $(unstage)
34731 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34732 r=`${PWD_COMMAND}`; export r; \
34733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34734 $(NORMAL_TARGET_EXPORTS) \
34735 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
34736 for flag in $(EXTRA_TARGET_FLAGS); do \
34737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34739 (cd $(TARGET_SUBDIR)/libgcc && \
34740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34742 "RANLIB=$${RANLIB}" \
34743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34747 @endif target-libgcc
34749 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
34750 maybe-pdf-target-libgcc:
34752 maybe-pdf-target-libgcc: pdf-target-libgcc
34754 pdf-target-libgcc: \
34755 configure-target-libgcc
34756 @: $(MAKE); $(unstage)
34757 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34758 r=`${PWD_COMMAND}`; export r; \
34759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34760 $(NORMAL_TARGET_EXPORTS) \
34761 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
34762 for flag in $(EXTRA_TARGET_FLAGS); do \
34763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34765 (cd $(TARGET_SUBDIR)/libgcc && \
34766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34768 "RANLIB=$${RANLIB}" \
34769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34773 @endif target-libgcc
34775 .PHONY: maybe-html-target-libgcc html-target-libgcc
34776 maybe-html-target-libgcc:
34778 maybe-html-target-libgcc: html-target-libgcc
34780 html-target-libgcc: \
34781 configure-target-libgcc
34782 @: $(MAKE); $(unstage)
34783 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34784 r=`${PWD_COMMAND}`; export r; \
34785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34786 $(NORMAL_TARGET_EXPORTS) \
34787 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
34788 for flag in $(EXTRA_TARGET_FLAGS); do \
34789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34791 (cd $(TARGET_SUBDIR)/libgcc && \
34792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34794 "RANLIB=$${RANLIB}" \
34795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34799 @endif target-libgcc
34801 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
34802 maybe-TAGS-target-libgcc:
34804 maybe-TAGS-target-libgcc: TAGS-target-libgcc
34806 TAGS-target-libgcc: \
34807 configure-target-libgcc
34808 @: $(MAKE); $(unstage)
34809 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34810 r=`${PWD_COMMAND}`; export r; \
34811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34812 $(NORMAL_TARGET_EXPORTS) \
34813 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
34814 for flag in $(EXTRA_TARGET_FLAGS); do \
34815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34817 (cd $(TARGET_SUBDIR)/libgcc && \
34818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34820 "RANLIB=$${RANLIB}" \
34821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34825 @endif target-libgcc
34827 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
34828 maybe-install-info-target-libgcc:
34830 maybe-install-info-target-libgcc: install-info-target-libgcc
34832 install-info-target-libgcc: \
34833 configure-target-libgcc \
34835 @: $(MAKE); $(unstage)
34836 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34837 r=`${PWD_COMMAND}`; export r; \
34838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34839 $(NORMAL_TARGET_EXPORTS) \
34840 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
34841 for flag in $(EXTRA_TARGET_FLAGS); do \
34842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34844 (cd $(TARGET_SUBDIR)/libgcc && \
34845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34847 "RANLIB=$${RANLIB}" \
34848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34852 @endif target-libgcc
34854 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
34855 maybe-install-pdf-target-libgcc:
34857 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
34859 install-pdf-target-libgcc: \
34860 configure-target-libgcc \
34862 @: $(MAKE); $(unstage)
34863 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34864 r=`${PWD_COMMAND}`; export r; \
34865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34866 $(NORMAL_TARGET_EXPORTS) \
34867 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
34868 for flag in $(EXTRA_TARGET_FLAGS); do \
34869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34871 (cd $(TARGET_SUBDIR)/libgcc && \
34872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34874 "RANLIB=$${RANLIB}" \
34875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34879 @endif target-libgcc
34881 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
34882 maybe-install-html-target-libgcc:
34884 maybe-install-html-target-libgcc: install-html-target-libgcc
34886 install-html-target-libgcc: \
34887 configure-target-libgcc \
34889 @: $(MAKE); $(unstage)
34890 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34891 r=`${PWD_COMMAND}`; export r; \
34892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34893 $(NORMAL_TARGET_EXPORTS) \
34894 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
34895 for flag in $(EXTRA_TARGET_FLAGS); do \
34896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34898 (cd $(TARGET_SUBDIR)/libgcc && \
34899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34901 "RANLIB=$${RANLIB}" \
34902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34906 @endif target-libgcc
34908 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
34909 maybe-installcheck-target-libgcc:
34911 maybe-installcheck-target-libgcc: installcheck-target-libgcc
34913 installcheck-target-libgcc: \
34914 configure-target-libgcc
34915 @: $(MAKE); $(unstage)
34916 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34917 r=`${PWD_COMMAND}`; export r; \
34918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34919 $(NORMAL_TARGET_EXPORTS) \
34920 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
34921 for flag in $(EXTRA_TARGET_FLAGS); do \
34922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34924 (cd $(TARGET_SUBDIR)/libgcc && \
34925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34927 "RANLIB=$${RANLIB}" \
34928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34932 @endif target-libgcc
34934 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
34935 maybe-mostlyclean-target-libgcc:
34937 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
34939 mostlyclean-target-libgcc:
34940 @: $(MAKE); $(unstage)
34941 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34942 r=`${PWD_COMMAND}`; export r; \
34943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34944 $(NORMAL_TARGET_EXPORTS) \
34945 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
34946 for flag in $(EXTRA_TARGET_FLAGS); do \
34947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34949 (cd $(TARGET_SUBDIR)/libgcc && \
34950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34952 "RANLIB=$${RANLIB}" \
34953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34957 @endif target-libgcc
34959 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
34960 maybe-clean-target-libgcc:
34962 maybe-clean-target-libgcc: clean-target-libgcc
34964 clean-target-libgcc:
34965 @: $(MAKE); $(unstage)
34966 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34967 r=`${PWD_COMMAND}`; export r; \
34968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34969 $(NORMAL_TARGET_EXPORTS) \
34970 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
34971 for flag in $(EXTRA_TARGET_FLAGS); do \
34972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34974 (cd $(TARGET_SUBDIR)/libgcc && \
34975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34977 "RANLIB=$${RANLIB}" \
34978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34982 @endif target-libgcc
34984 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
34985 maybe-distclean-target-libgcc:
34987 maybe-distclean-target-libgcc: distclean-target-libgcc
34989 distclean-target-libgcc:
34990 @: $(MAKE); $(unstage)
34991 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34992 r=`${PWD_COMMAND}`; export r; \
34993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34994 $(NORMAL_TARGET_EXPORTS) \
34995 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
34996 for flag in $(EXTRA_TARGET_FLAGS); do \
34997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34999 (cd $(TARGET_SUBDIR)/libgcc && \
35000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35002 "RANLIB=$${RANLIB}" \
35003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35007 @endif target-libgcc
35009 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
35010 maybe-maintainer-clean-target-libgcc:
35012 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
35014 maintainer-clean-target-libgcc:
35015 @: $(MAKE); $(unstage)
35016 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
35017 r=`${PWD_COMMAND}`; export r; \
35018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35019 $(NORMAL_TARGET_EXPORTS) \
35020 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
35021 for flag in $(EXTRA_TARGET_FLAGS); do \
35022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35024 (cd $(TARGET_SUBDIR)/libgcc && \
35025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35027 "RANLIB=$${RANLIB}" \
35028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35029 maintainer-clean) \
35032 @endif target-libgcc
35038 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
35039 maybe-configure-target-libbacktrace:
35041 configure-target-libbacktrace: stage_current
35042 @endif gcc-bootstrap
35043 @if target-libbacktrace
35044 maybe-configure-target-libbacktrace: configure-target-libbacktrace
35045 configure-target-libbacktrace:
35046 @: $(MAKE); $(unstage)
35047 @r=`${PWD_COMMAND}`; export r; \
35048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35049 echo "Checking multilib configuration for libbacktrace..."; \
35050 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
35051 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
35052 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
35053 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
35054 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
35056 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
35057 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
35060 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
35062 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
35063 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
35064 $(NORMAL_TARGET_EXPORTS) \
35065 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
35066 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
35067 case $(srcdir) in \
35068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35069 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
35070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35072 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
35073 libsrcdir="$$s/libbacktrace"; \
35074 rm -f no-such-file || : ; \
35075 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35076 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35077 --target=${target_alias} $${srcdiroption} \
35079 @endif target-libbacktrace
35085 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
35086 maybe-all-target-libbacktrace:
35088 all-target-libbacktrace: stage_current
35089 @endif gcc-bootstrap
35090 @if target-libbacktrace
35091 TARGET-target-libbacktrace=all
35092 maybe-all-target-libbacktrace: all-target-libbacktrace
35093 all-target-libbacktrace: configure-target-libbacktrace
35094 @: $(MAKE); $(unstage)
35095 @r=`${PWD_COMMAND}`; export r; \
35096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35097 $(NORMAL_TARGET_EXPORTS) \
35098 (cd $(TARGET_SUBDIR)/libbacktrace && \
35099 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35100 $(TARGET-target-libbacktrace))
35101 @endif target-libbacktrace
35107 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
35108 maybe-check-target-libbacktrace:
35109 @if target-libbacktrace
35110 maybe-check-target-libbacktrace: check-target-libbacktrace
35112 check-target-libbacktrace:
35113 @: $(MAKE); $(unstage)
35114 @r=`${PWD_COMMAND}`; export r; \
35115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35116 $(NORMAL_TARGET_EXPORTS) \
35117 (cd $(TARGET_SUBDIR)/libbacktrace && \
35118 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35120 @endif target-libbacktrace
35122 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
35123 maybe-install-target-libbacktrace:
35124 @if target-libbacktrace
35125 maybe-install-target-libbacktrace: install-target-libbacktrace
35127 install-target-libbacktrace: installdirs
35128 @: $(MAKE); $(unstage)
35129 @r=`${PWD_COMMAND}`; export r; \
35130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35131 $(NORMAL_TARGET_EXPORTS) \
35132 (cd $(TARGET_SUBDIR)/libbacktrace && \
35133 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35135 @endif target-libbacktrace
35137 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
35138 maybe-install-strip-target-libbacktrace:
35139 @if target-libbacktrace
35140 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
35142 install-strip-target-libbacktrace: installdirs
35143 @: $(MAKE); $(unstage)
35144 @r=`${PWD_COMMAND}`; export r; \
35145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35146 $(NORMAL_TARGET_EXPORTS) \
35147 (cd $(TARGET_SUBDIR)/libbacktrace && \
35148 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35150 @endif target-libbacktrace
35152 # Other targets (info, dvi, pdf, etc.)
35154 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
35155 maybe-info-target-libbacktrace:
35156 @if target-libbacktrace
35157 maybe-info-target-libbacktrace: info-target-libbacktrace
35159 info-target-libbacktrace: \
35160 configure-target-libbacktrace
35161 @: $(MAKE); $(unstage)
35162 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35163 r=`${PWD_COMMAND}`; export r; \
35164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35165 $(NORMAL_TARGET_EXPORTS) \
35166 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
35167 for flag in $(EXTRA_TARGET_FLAGS); do \
35168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35170 (cd $(TARGET_SUBDIR)/libbacktrace && \
35171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35173 "RANLIB=$${RANLIB}" \
35174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35178 @endif target-libbacktrace
35180 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
35181 maybe-dvi-target-libbacktrace:
35182 @if target-libbacktrace
35183 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
35185 dvi-target-libbacktrace: \
35186 configure-target-libbacktrace
35187 @: $(MAKE); $(unstage)
35188 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35189 r=`${PWD_COMMAND}`; export r; \
35190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35191 $(NORMAL_TARGET_EXPORTS) \
35192 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
35193 for flag in $(EXTRA_TARGET_FLAGS); do \
35194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35196 (cd $(TARGET_SUBDIR)/libbacktrace && \
35197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35199 "RANLIB=$${RANLIB}" \
35200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35204 @endif target-libbacktrace
35206 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
35207 maybe-pdf-target-libbacktrace:
35208 @if target-libbacktrace
35209 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
35211 pdf-target-libbacktrace: \
35212 configure-target-libbacktrace
35213 @: $(MAKE); $(unstage)
35214 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35215 r=`${PWD_COMMAND}`; export r; \
35216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35217 $(NORMAL_TARGET_EXPORTS) \
35218 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
35219 for flag in $(EXTRA_TARGET_FLAGS); do \
35220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35222 (cd $(TARGET_SUBDIR)/libbacktrace && \
35223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35225 "RANLIB=$${RANLIB}" \
35226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35230 @endif target-libbacktrace
35232 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
35233 maybe-html-target-libbacktrace:
35234 @if target-libbacktrace
35235 maybe-html-target-libbacktrace: html-target-libbacktrace
35237 html-target-libbacktrace: \
35238 configure-target-libbacktrace
35239 @: $(MAKE); $(unstage)
35240 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35241 r=`${PWD_COMMAND}`; export r; \
35242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35243 $(NORMAL_TARGET_EXPORTS) \
35244 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
35245 for flag in $(EXTRA_TARGET_FLAGS); do \
35246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35248 (cd $(TARGET_SUBDIR)/libbacktrace && \
35249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35251 "RANLIB=$${RANLIB}" \
35252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35256 @endif target-libbacktrace
35258 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
35259 maybe-TAGS-target-libbacktrace:
35260 @if target-libbacktrace
35261 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
35263 TAGS-target-libbacktrace: \
35264 configure-target-libbacktrace
35265 @: $(MAKE); $(unstage)
35266 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35267 r=`${PWD_COMMAND}`; export r; \
35268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35269 $(NORMAL_TARGET_EXPORTS) \
35270 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
35271 for flag in $(EXTRA_TARGET_FLAGS); do \
35272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35274 (cd $(TARGET_SUBDIR)/libbacktrace && \
35275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35277 "RANLIB=$${RANLIB}" \
35278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35282 @endif target-libbacktrace
35284 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
35285 maybe-install-info-target-libbacktrace:
35286 @if target-libbacktrace
35287 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
35289 install-info-target-libbacktrace: \
35290 configure-target-libbacktrace \
35291 info-target-libbacktrace
35292 @: $(MAKE); $(unstage)
35293 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35294 r=`${PWD_COMMAND}`; export r; \
35295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35296 $(NORMAL_TARGET_EXPORTS) \
35297 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
35298 for flag in $(EXTRA_TARGET_FLAGS); do \
35299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35301 (cd $(TARGET_SUBDIR)/libbacktrace && \
35302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35304 "RANLIB=$${RANLIB}" \
35305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35309 @endif target-libbacktrace
35311 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
35312 maybe-install-pdf-target-libbacktrace:
35313 @if target-libbacktrace
35314 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
35316 install-pdf-target-libbacktrace: \
35317 configure-target-libbacktrace \
35318 pdf-target-libbacktrace
35319 @: $(MAKE); $(unstage)
35320 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35321 r=`${PWD_COMMAND}`; export r; \
35322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35323 $(NORMAL_TARGET_EXPORTS) \
35324 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
35325 for flag in $(EXTRA_TARGET_FLAGS); do \
35326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35328 (cd $(TARGET_SUBDIR)/libbacktrace && \
35329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35331 "RANLIB=$${RANLIB}" \
35332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35336 @endif target-libbacktrace
35338 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
35339 maybe-install-html-target-libbacktrace:
35340 @if target-libbacktrace
35341 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
35343 install-html-target-libbacktrace: \
35344 configure-target-libbacktrace \
35345 html-target-libbacktrace
35346 @: $(MAKE); $(unstage)
35347 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35348 r=`${PWD_COMMAND}`; export r; \
35349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35350 $(NORMAL_TARGET_EXPORTS) \
35351 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
35352 for flag in $(EXTRA_TARGET_FLAGS); do \
35353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35355 (cd $(TARGET_SUBDIR)/libbacktrace && \
35356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35358 "RANLIB=$${RANLIB}" \
35359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35363 @endif target-libbacktrace
35365 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
35366 maybe-installcheck-target-libbacktrace:
35367 @if target-libbacktrace
35368 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
35370 installcheck-target-libbacktrace: \
35371 configure-target-libbacktrace
35372 @: $(MAKE); $(unstage)
35373 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35374 r=`${PWD_COMMAND}`; export r; \
35375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35376 $(NORMAL_TARGET_EXPORTS) \
35377 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
35378 for flag in $(EXTRA_TARGET_FLAGS); do \
35379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35381 (cd $(TARGET_SUBDIR)/libbacktrace && \
35382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35384 "RANLIB=$${RANLIB}" \
35385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35389 @endif target-libbacktrace
35391 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
35392 maybe-mostlyclean-target-libbacktrace:
35393 @if target-libbacktrace
35394 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
35396 mostlyclean-target-libbacktrace:
35397 @: $(MAKE); $(unstage)
35398 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35399 r=`${PWD_COMMAND}`; export r; \
35400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35401 $(NORMAL_TARGET_EXPORTS) \
35402 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
35403 for flag in $(EXTRA_TARGET_FLAGS); do \
35404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35406 (cd $(TARGET_SUBDIR)/libbacktrace && \
35407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35409 "RANLIB=$${RANLIB}" \
35410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35414 @endif target-libbacktrace
35416 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
35417 maybe-clean-target-libbacktrace:
35418 @if target-libbacktrace
35419 maybe-clean-target-libbacktrace: clean-target-libbacktrace
35421 clean-target-libbacktrace:
35422 @: $(MAKE); $(unstage)
35423 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35424 r=`${PWD_COMMAND}`; export r; \
35425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35426 $(NORMAL_TARGET_EXPORTS) \
35427 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
35428 for flag in $(EXTRA_TARGET_FLAGS); do \
35429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35431 (cd $(TARGET_SUBDIR)/libbacktrace && \
35432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35434 "RANLIB=$${RANLIB}" \
35435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35439 @endif target-libbacktrace
35441 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
35442 maybe-distclean-target-libbacktrace:
35443 @if target-libbacktrace
35444 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
35446 distclean-target-libbacktrace:
35447 @: $(MAKE); $(unstage)
35448 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35449 r=`${PWD_COMMAND}`; export r; \
35450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35451 $(NORMAL_TARGET_EXPORTS) \
35452 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
35453 for flag in $(EXTRA_TARGET_FLAGS); do \
35454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35456 (cd $(TARGET_SUBDIR)/libbacktrace && \
35457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35459 "RANLIB=$${RANLIB}" \
35460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35464 @endif target-libbacktrace
35466 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
35467 maybe-maintainer-clean-target-libbacktrace:
35468 @if target-libbacktrace
35469 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
35471 maintainer-clean-target-libbacktrace:
35472 @: $(MAKE); $(unstage)
35473 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
35474 r=`${PWD_COMMAND}`; export r; \
35475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35476 $(NORMAL_TARGET_EXPORTS) \
35477 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
35478 for flag in $(EXTRA_TARGET_FLAGS); do \
35479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35481 (cd $(TARGET_SUBDIR)/libbacktrace && \
35482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35484 "RANLIB=$${RANLIB}" \
35485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35486 maintainer-clean) \
35489 @endif target-libbacktrace
35495 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
35496 maybe-configure-target-libquadmath:
35498 configure-target-libquadmath: stage_current
35499 @endif gcc-bootstrap
35500 @if target-libquadmath
35501 maybe-configure-target-libquadmath: configure-target-libquadmath
35502 configure-target-libquadmath:
35503 @: $(MAKE); $(unstage)
35504 @r=`${PWD_COMMAND}`; export r; \
35505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35506 echo "Checking multilib configuration for libquadmath..."; \
35507 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
35508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
35509 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
35510 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
35511 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
35513 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
35514 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
35517 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
35519 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
35520 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
35521 $(NORMAL_TARGET_EXPORTS) \
35522 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
35523 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
35524 case $(srcdir) in \
35525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35526 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
35527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35529 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
35530 libsrcdir="$$s/libquadmath"; \
35531 rm -f no-such-file || : ; \
35532 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35533 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35534 --target=${target_alias} $${srcdiroption} \
35536 @endif target-libquadmath
35542 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
35543 maybe-all-target-libquadmath:
35545 all-target-libquadmath: stage_current
35546 @endif gcc-bootstrap
35547 @if target-libquadmath
35548 TARGET-target-libquadmath=all
35549 maybe-all-target-libquadmath: all-target-libquadmath
35550 all-target-libquadmath: configure-target-libquadmath
35551 @: $(MAKE); $(unstage)
35552 @r=`${PWD_COMMAND}`; export r; \
35553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35554 $(NORMAL_TARGET_EXPORTS) \
35555 (cd $(TARGET_SUBDIR)/libquadmath && \
35556 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35557 $(TARGET-target-libquadmath))
35558 @endif target-libquadmath
35564 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
35565 maybe-check-target-libquadmath:
35566 @if target-libquadmath
35567 maybe-check-target-libquadmath: check-target-libquadmath
35569 check-target-libquadmath:
35570 @: $(MAKE); $(unstage)
35571 @r=`${PWD_COMMAND}`; export r; \
35572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35573 $(NORMAL_TARGET_EXPORTS) \
35574 (cd $(TARGET_SUBDIR)/libquadmath && \
35575 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35577 @endif target-libquadmath
35579 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
35580 maybe-install-target-libquadmath:
35581 @if target-libquadmath
35582 maybe-install-target-libquadmath: install-target-libquadmath
35584 install-target-libquadmath: installdirs
35585 @: $(MAKE); $(unstage)
35586 @r=`${PWD_COMMAND}`; export r; \
35587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35588 $(NORMAL_TARGET_EXPORTS) \
35589 (cd $(TARGET_SUBDIR)/libquadmath && \
35590 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35592 @endif target-libquadmath
35594 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
35595 maybe-install-strip-target-libquadmath:
35596 @if target-libquadmath
35597 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
35599 install-strip-target-libquadmath: installdirs
35600 @: $(MAKE); $(unstage)
35601 @r=`${PWD_COMMAND}`; export r; \
35602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35603 $(NORMAL_TARGET_EXPORTS) \
35604 (cd $(TARGET_SUBDIR)/libquadmath && \
35605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35607 @endif target-libquadmath
35609 # Other targets (info, dvi, pdf, etc.)
35611 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
35612 maybe-info-target-libquadmath:
35613 @if target-libquadmath
35614 maybe-info-target-libquadmath: info-target-libquadmath
35616 info-target-libquadmath: \
35617 configure-target-libquadmath
35618 @: $(MAKE); $(unstage)
35619 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35620 r=`${PWD_COMMAND}`; export r; \
35621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35622 $(NORMAL_TARGET_EXPORTS) \
35623 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
35624 for flag in $(EXTRA_TARGET_FLAGS); do \
35625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35627 (cd $(TARGET_SUBDIR)/libquadmath && \
35628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35630 "RANLIB=$${RANLIB}" \
35631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35635 @endif target-libquadmath
35637 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
35638 maybe-dvi-target-libquadmath:
35639 @if target-libquadmath
35640 maybe-dvi-target-libquadmath: dvi-target-libquadmath
35642 dvi-target-libquadmath: \
35643 configure-target-libquadmath
35644 @: $(MAKE); $(unstage)
35645 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35646 r=`${PWD_COMMAND}`; export r; \
35647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35648 $(NORMAL_TARGET_EXPORTS) \
35649 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
35650 for flag in $(EXTRA_TARGET_FLAGS); do \
35651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35653 (cd $(TARGET_SUBDIR)/libquadmath && \
35654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35656 "RANLIB=$${RANLIB}" \
35657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35661 @endif target-libquadmath
35663 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
35664 maybe-pdf-target-libquadmath:
35665 @if target-libquadmath
35666 maybe-pdf-target-libquadmath: pdf-target-libquadmath
35668 pdf-target-libquadmath: \
35669 configure-target-libquadmath
35670 @: $(MAKE); $(unstage)
35671 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35672 r=`${PWD_COMMAND}`; export r; \
35673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35674 $(NORMAL_TARGET_EXPORTS) \
35675 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
35676 for flag in $(EXTRA_TARGET_FLAGS); do \
35677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35679 (cd $(TARGET_SUBDIR)/libquadmath && \
35680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35682 "RANLIB=$${RANLIB}" \
35683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35687 @endif target-libquadmath
35689 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
35690 maybe-html-target-libquadmath:
35691 @if target-libquadmath
35692 maybe-html-target-libquadmath: html-target-libquadmath
35694 html-target-libquadmath: \
35695 configure-target-libquadmath
35696 @: $(MAKE); $(unstage)
35697 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35698 r=`${PWD_COMMAND}`; export r; \
35699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35700 $(NORMAL_TARGET_EXPORTS) \
35701 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
35702 for flag in $(EXTRA_TARGET_FLAGS); do \
35703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35705 (cd $(TARGET_SUBDIR)/libquadmath && \
35706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35708 "RANLIB=$${RANLIB}" \
35709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35713 @endif target-libquadmath
35715 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
35716 maybe-TAGS-target-libquadmath:
35717 @if target-libquadmath
35718 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
35720 TAGS-target-libquadmath: \
35721 configure-target-libquadmath
35722 @: $(MAKE); $(unstage)
35723 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35724 r=`${PWD_COMMAND}`; export r; \
35725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35726 $(NORMAL_TARGET_EXPORTS) \
35727 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
35728 for flag in $(EXTRA_TARGET_FLAGS); do \
35729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35731 (cd $(TARGET_SUBDIR)/libquadmath && \
35732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35734 "RANLIB=$${RANLIB}" \
35735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35739 @endif target-libquadmath
35741 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
35742 maybe-install-info-target-libquadmath:
35743 @if target-libquadmath
35744 maybe-install-info-target-libquadmath: install-info-target-libquadmath
35746 install-info-target-libquadmath: \
35747 configure-target-libquadmath \
35748 info-target-libquadmath
35749 @: $(MAKE); $(unstage)
35750 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35751 r=`${PWD_COMMAND}`; export r; \
35752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35753 $(NORMAL_TARGET_EXPORTS) \
35754 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
35755 for flag in $(EXTRA_TARGET_FLAGS); do \
35756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35758 (cd $(TARGET_SUBDIR)/libquadmath && \
35759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35761 "RANLIB=$${RANLIB}" \
35762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35766 @endif target-libquadmath
35768 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
35769 maybe-install-pdf-target-libquadmath:
35770 @if target-libquadmath
35771 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
35773 install-pdf-target-libquadmath: \
35774 configure-target-libquadmath \
35775 pdf-target-libquadmath
35776 @: $(MAKE); $(unstage)
35777 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35778 r=`${PWD_COMMAND}`; export r; \
35779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35780 $(NORMAL_TARGET_EXPORTS) \
35781 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
35782 for flag in $(EXTRA_TARGET_FLAGS); do \
35783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35785 (cd $(TARGET_SUBDIR)/libquadmath && \
35786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35788 "RANLIB=$${RANLIB}" \
35789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35793 @endif target-libquadmath
35795 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
35796 maybe-install-html-target-libquadmath:
35797 @if target-libquadmath
35798 maybe-install-html-target-libquadmath: install-html-target-libquadmath
35800 install-html-target-libquadmath: \
35801 configure-target-libquadmath \
35802 html-target-libquadmath
35803 @: $(MAKE); $(unstage)
35804 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35805 r=`${PWD_COMMAND}`; export r; \
35806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35807 $(NORMAL_TARGET_EXPORTS) \
35808 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
35809 for flag in $(EXTRA_TARGET_FLAGS); do \
35810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35812 (cd $(TARGET_SUBDIR)/libquadmath && \
35813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35815 "RANLIB=$${RANLIB}" \
35816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35820 @endif target-libquadmath
35822 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
35823 maybe-installcheck-target-libquadmath:
35824 @if target-libquadmath
35825 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
35827 installcheck-target-libquadmath: \
35828 configure-target-libquadmath
35829 @: $(MAKE); $(unstage)
35830 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35831 r=`${PWD_COMMAND}`; export r; \
35832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35833 $(NORMAL_TARGET_EXPORTS) \
35834 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
35835 for flag in $(EXTRA_TARGET_FLAGS); do \
35836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35838 (cd $(TARGET_SUBDIR)/libquadmath && \
35839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35841 "RANLIB=$${RANLIB}" \
35842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35846 @endif target-libquadmath
35848 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
35849 maybe-mostlyclean-target-libquadmath:
35850 @if target-libquadmath
35851 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
35853 mostlyclean-target-libquadmath:
35854 @: $(MAKE); $(unstage)
35855 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35856 r=`${PWD_COMMAND}`; export r; \
35857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35858 $(NORMAL_TARGET_EXPORTS) \
35859 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
35860 for flag in $(EXTRA_TARGET_FLAGS); do \
35861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35863 (cd $(TARGET_SUBDIR)/libquadmath && \
35864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35866 "RANLIB=$${RANLIB}" \
35867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35871 @endif target-libquadmath
35873 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
35874 maybe-clean-target-libquadmath:
35875 @if target-libquadmath
35876 maybe-clean-target-libquadmath: clean-target-libquadmath
35878 clean-target-libquadmath:
35879 @: $(MAKE); $(unstage)
35880 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35881 r=`${PWD_COMMAND}`; export r; \
35882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35883 $(NORMAL_TARGET_EXPORTS) \
35884 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
35885 for flag in $(EXTRA_TARGET_FLAGS); do \
35886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35888 (cd $(TARGET_SUBDIR)/libquadmath && \
35889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35891 "RANLIB=$${RANLIB}" \
35892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35896 @endif target-libquadmath
35898 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
35899 maybe-distclean-target-libquadmath:
35900 @if target-libquadmath
35901 maybe-distclean-target-libquadmath: distclean-target-libquadmath
35903 distclean-target-libquadmath:
35904 @: $(MAKE); $(unstage)
35905 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35906 r=`${PWD_COMMAND}`; export r; \
35907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35908 $(NORMAL_TARGET_EXPORTS) \
35909 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
35910 for flag in $(EXTRA_TARGET_FLAGS); do \
35911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35913 (cd $(TARGET_SUBDIR)/libquadmath && \
35914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35916 "RANLIB=$${RANLIB}" \
35917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35921 @endif target-libquadmath
35923 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
35924 maybe-maintainer-clean-target-libquadmath:
35925 @if target-libquadmath
35926 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
35928 maintainer-clean-target-libquadmath:
35929 @: $(MAKE); $(unstage)
35930 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
35931 r=`${PWD_COMMAND}`; export r; \
35932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35933 $(NORMAL_TARGET_EXPORTS) \
35934 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
35935 for flag in $(EXTRA_TARGET_FLAGS); do \
35936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35938 (cd $(TARGET_SUBDIR)/libquadmath && \
35939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35941 "RANLIB=$${RANLIB}" \
35942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35943 maintainer-clean) \
35946 @endif target-libquadmath
35952 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
35953 maybe-configure-target-libgfortran:
35955 configure-target-libgfortran: stage_current
35956 @endif gcc-bootstrap
35957 @if target-libgfortran
35958 maybe-configure-target-libgfortran: configure-target-libgfortran
35959 configure-target-libgfortran:
35960 @: $(MAKE); $(unstage)
35961 @r=`${PWD_COMMAND}`; export r; \
35962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35963 echo "Checking multilib configuration for libgfortran..."; \
35964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35965 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
35966 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35967 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
35968 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
35970 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
35971 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35974 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
35976 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
35977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
35978 $(NORMAL_TARGET_EXPORTS) \
35979 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
35980 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
35981 case $(srcdir) in \
35982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35983 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
35984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35986 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
35987 libsrcdir="$$s/libgfortran"; \
35988 rm -f no-such-file || : ; \
35989 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35990 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35991 --target=${target_alias} $${srcdiroption} \
35993 @endif target-libgfortran
35999 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
36000 maybe-all-target-libgfortran:
36002 all-target-libgfortran: stage_current
36003 @endif gcc-bootstrap
36004 @if target-libgfortran
36005 TARGET-target-libgfortran=all
36006 maybe-all-target-libgfortran: all-target-libgfortran
36007 all-target-libgfortran: configure-target-libgfortran
36008 @: $(MAKE); $(unstage)
36009 @r=`${PWD_COMMAND}`; export r; \
36010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36011 $(NORMAL_TARGET_EXPORTS) \
36012 (cd $(TARGET_SUBDIR)/libgfortran && \
36013 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36014 $(TARGET-target-libgfortran))
36015 @endif target-libgfortran
36021 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
36022 maybe-check-target-libgfortran:
36023 @if target-libgfortran
36024 maybe-check-target-libgfortran: check-target-libgfortran
36026 check-target-libgfortran:
36027 @: $(MAKE); $(unstage)
36028 @r=`${PWD_COMMAND}`; export r; \
36029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36030 $(NORMAL_TARGET_EXPORTS) \
36031 (cd $(TARGET_SUBDIR)/libgfortran && \
36032 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36034 @endif target-libgfortran
36036 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
36037 maybe-install-target-libgfortran:
36038 @if target-libgfortran
36039 maybe-install-target-libgfortran: install-target-libgfortran
36041 install-target-libgfortran: installdirs
36042 @: $(MAKE); $(unstage)
36043 @r=`${PWD_COMMAND}`; export r; \
36044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36045 $(NORMAL_TARGET_EXPORTS) \
36046 (cd $(TARGET_SUBDIR)/libgfortran && \
36047 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36049 @endif target-libgfortran
36051 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
36052 maybe-install-strip-target-libgfortran:
36053 @if target-libgfortran
36054 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
36056 install-strip-target-libgfortran: installdirs
36057 @: $(MAKE); $(unstage)
36058 @r=`${PWD_COMMAND}`; export r; \
36059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36060 $(NORMAL_TARGET_EXPORTS) \
36061 (cd $(TARGET_SUBDIR)/libgfortran && \
36062 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36064 @endif target-libgfortran
36066 # Other targets (info, dvi, pdf, etc.)
36068 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
36069 maybe-info-target-libgfortran:
36070 @if target-libgfortran
36071 maybe-info-target-libgfortran: info-target-libgfortran
36073 info-target-libgfortran: \
36074 configure-target-libgfortran
36075 @: $(MAKE); $(unstage)
36076 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36077 r=`${PWD_COMMAND}`; export r; \
36078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36079 $(NORMAL_TARGET_EXPORTS) \
36080 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
36081 for flag in $(EXTRA_TARGET_FLAGS); do \
36082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36084 (cd $(TARGET_SUBDIR)/libgfortran && \
36085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36087 "RANLIB=$${RANLIB}" \
36088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36092 @endif target-libgfortran
36094 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
36095 maybe-dvi-target-libgfortran:
36096 @if target-libgfortran
36097 maybe-dvi-target-libgfortran: dvi-target-libgfortran
36099 dvi-target-libgfortran: \
36100 configure-target-libgfortran
36101 @: $(MAKE); $(unstage)
36102 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36103 r=`${PWD_COMMAND}`; export r; \
36104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36105 $(NORMAL_TARGET_EXPORTS) \
36106 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
36107 for flag in $(EXTRA_TARGET_FLAGS); do \
36108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36110 (cd $(TARGET_SUBDIR)/libgfortran && \
36111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36113 "RANLIB=$${RANLIB}" \
36114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36118 @endif target-libgfortran
36120 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
36121 maybe-pdf-target-libgfortran:
36122 @if target-libgfortran
36123 maybe-pdf-target-libgfortran: pdf-target-libgfortran
36125 pdf-target-libgfortran: \
36126 configure-target-libgfortran
36127 @: $(MAKE); $(unstage)
36128 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36129 r=`${PWD_COMMAND}`; export r; \
36130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36131 $(NORMAL_TARGET_EXPORTS) \
36132 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
36133 for flag in $(EXTRA_TARGET_FLAGS); do \
36134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36136 (cd $(TARGET_SUBDIR)/libgfortran && \
36137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36139 "RANLIB=$${RANLIB}" \
36140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36144 @endif target-libgfortran
36146 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
36147 maybe-html-target-libgfortran:
36148 @if target-libgfortran
36149 maybe-html-target-libgfortran: html-target-libgfortran
36151 html-target-libgfortran: \
36152 configure-target-libgfortran
36153 @: $(MAKE); $(unstage)
36154 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36155 r=`${PWD_COMMAND}`; export r; \
36156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36157 $(NORMAL_TARGET_EXPORTS) \
36158 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
36159 for flag in $(EXTRA_TARGET_FLAGS); do \
36160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36162 (cd $(TARGET_SUBDIR)/libgfortran && \
36163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36165 "RANLIB=$${RANLIB}" \
36166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36170 @endif target-libgfortran
36172 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
36173 maybe-TAGS-target-libgfortran:
36174 @if target-libgfortran
36175 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
36177 TAGS-target-libgfortran: \
36178 configure-target-libgfortran
36179 @: $(MAKE); $(unstage)
36180 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36181 r=`${PWD_COMMAND}`; export r; \
36182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36183 $(NORMAL_TARGET_EXPORTS) \
36184 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
36185 for flag in $(EXTRA_TARGET_FLAGS); do \
36186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36188 (cd $(TARGET_SUBDIR)/libgfortran && \
36189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36191 "RANLIB=$${RANLIB}" \
36192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36196 @endif target-libgfortran
36198 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
36199 maybe-install-info-target-libgfortran:
36200 @if target-libgfortran
36201 maybe-install-info-target-libgfortran: install-info-target-libgfortran
36203 install-info-target-libgfortran: \
36204 configure-target-libgfortran \
36205 info-target-libgfortran
36206 @: $(MAKE); $(unstage)
36207 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36208 r=`${PWD_COMMAND}`; export r; \
36209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36210 $(NORMAL_TARGET_EXPORTS) \
36211 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
36212 for flag in $(EXTRA_TARGET_FLAGS); do \
36213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36215 (cd $(TARGET_SUBDIR)/libgfortran && \
36216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36218 "RANLIB=$${RANLIB}" \
36219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36223 @endif target-libgfortran
36225 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
36226 maybe-install-pdf-target-libgfortran:
36227 @if target-libgfortran
36228 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
36230 install-pdf-target-libgfortran: \
36231 configure-target-libgfortran \
36232 pdf-target-libgfortran
36233 @: $(MAKE); $(unstage)
36234 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36235 r=`${PWD_COMMAND}`; export r; \
36236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36237 $(NORMAL_TARGET_EXPORTS) \
36238 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
36239 for flag in $(EXTRA_TARGET_FLAGS); do \
36240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36242 (cd $(TARGET_SUBDIR)/libgfortran && \
36243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36245 "RANLIB=$${RANLIB}" \
36246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36250 @endif target-libgfortran
36252 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
36253 maybe-install-html-target-libgfortran:
36254 @if target-libgfortran
36255 maybe-install-html-target-libgfortran: install-html-target-libgfortran
36257 install-html-target-libgfortran: \
36258 configure-target-libgfortran \
36259 html-target-libgfortran
36260 @: $(MAKE); $(unstage)
36261 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36262 r=`${PWD_COMMAND}`; export r; \
36263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36264 $(NORMAL_TARGET_EXPORTS) \
36265 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
36266 for flag in $(EXTRA_TARGET_FLAGS); do \
36267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36269 (cd $(TARGET_SUBDIR)/libgfortran && \
36270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36272 "RANLIB=$${RANLIB}" \
36273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36277 @endif target-libgfortran
36279 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
36280 maybe-installcheck-target-libgfortran:
36281 @if target-libgfortran
36282 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
36284 installcheck-target-libgfortran: \
36285 configure-target-libgfortran
36286 @: $(MAKE); $(unstage)
36287 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36288 r=`${PWD_COMMAND}`; export r; \
36289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36290 $(NORMAL_TARGET_EXPORTS) \
36291 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
36292 for flag in $(EXTRA_TARGET_FLAGS); do \
36293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36295 (cd $(TARGET_SUBDIR)/libgfortran && \
36296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36298 "RANLIB=$${RANLIB}" \
36299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36303 @endif target-libgfortran
36305 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
36306 maybe-mostlyclean-target-libgfortran:
36307 @if target-libgfortran
36308 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
36310 mostlyclean-target-libgfortran:
36311 @: $(MAKE); $(unstage)
36312 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36313 r=`${PWD_COMMAND}`; export r; \
36314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36315 $(NORMAL_TARGET_EXPORTS) \
36316 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
36317 for flag in $(EXTRA_TARGET_FLAGS); do \
36318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36320 (cd $(TARGET_SUBDIR)/libgfortran && \
36321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36323 "RANLIB=$${RANLIB}" \
36324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36328 @endif target-libgfortran
36330 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
36331 maybe-clean-target-libgfortran:
36332 @if target-libgfortran
36333 maybe-clean-target-libgfortran: clean-target-libgfortran
36335 clean-target-libgfortran:
36336 @: $(MAKE); $(unstage)
36337 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36338 r=`${PWD_COMMAND}`; export r; \
36339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36340 $(NORMAL_TARGET_EXPORTS) \
36341 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
36342 for flag in $(EXTRA_TARGET_FLAGS); do \
36343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36345 (cd $(TARGET_SUBDIR)/libgfortran && \
36346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36348 "RANLIB=$${RANLIB}" \
36349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36353 @endif target-libgfortran
36355 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
36356 maybe-distclean-target-libgfortran:
36357 @if target-libgfortran
36358 maybe-distclean-target-libgfortran: distclean-target-libgfortran
36360 distclean-target-libgfortran:
36361 @: $(MAKE); $(unstage)
36362 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36363 r=`${PWD_COMMAND}`; export r; \
36364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36365 $(NORMAL_TARGET_EXPORTS) \
36366 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
36367 for flag in $(EXTRA_TARGET_FLAGS); do \
36368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36370 (cd $(TARGET_SUBDIR)/libgfortran && \
36371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36373 "RANLIB=$${RANLIB}" \
36374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36378 @endif target-libgfortran
36380 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
36381 maybe-maintainer-clean-target-libgfortran:
36382 @if target-libgfortran
36383 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
36385 maintainer-clean-target-libgfortran:
36386 @: $(MAKE); $(unstage)
36387 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
36388 r=`${PWD_COMMAND}`; export r; \
36389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36390 $(NORMAL_TARGET_EXPORTS) \
36391 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
36392 for flag in $(EXTRA_TARGET_FLAGS); do \
36393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36395 (cd $(TARGET_SUBDIR)/libgfortran && \
36396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36398 "RANLIB=$${RANLIB}" \
36399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36400 maintainer-clean) \
36403 @endif target-libgfortran
36409 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
36410 maybe-configure-target-libobjc:
36412 configure-target-libobjc: stage_current
36413 @endif gcc-bootstrap
36415 maybe-configure-target-libobjc: configure-target-libobjc
36416 configure-target-libobjc:
36417 @: $(MAKE); $(unstage)
36418 @r=`${PWD_COMMAND}`; export r; \
36419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36420 echo "Checking multilib configuration for libobjc..."; \
36421 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
36422 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
36423 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
36424 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
36425 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
36427 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
36428 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
36431 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
36433 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
36434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
36435 $(NORMAL_TARGET_EXPORTS) \
36436 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
36437 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
36438 case $(srcdir) in \
36439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36440 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
36441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36443 srcdiroption="--srcdir=$${topdir}/libobjc"; \
36444 libsrcdir="$$s/libobjc"; \
36445 rm -f no-such-file || : ; \
36446 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36447 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36448 --target=${target_alias} $${srcdiroption} \
36450 @endif target-libobjc
36456 .PHONY: all-target-libobjc maybe-all-target-libobjc
36457 maybe-all-target-libobjc:
36459 all-target-libobjc: stage_current
36460 @endif gcc-bootstrap
36462 TARGET-target-libobjc=all
36463 maybe-all-target-libobjc: all-target-libobjc
36464 all-target-libobjc: configure-target-libobjc
36465 @: $(MAKE); $(unstage)
36466 @r=`${PWD_COMMAND}`; export r; \
36467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36468 $(NORMAL_TARGET_EXPORTS) \
36469 (cd $(TARGET_SUBDIR)/libobjc && \
36470 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36471 $(TARGET-target-libobjc))
36472 @endif target-libobjc
36478 .PHONY: check-target-libobjc maybe-check-target-libobjc
36479 maybe-check-target-libobjc:
36481 maybe-check-target-libobjc: check-target-libobjc
36483 check-target-libobjc:
36484 @: $(MAKE); $(unstage)
36485 @r=`${PWD_COMMAND}`; export r; \
36486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36487 $(NORMAL_TARGET_EXPORTS) \
36488 (cd $(TARGET_SUBDIR)/libobjc && \
36489 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36491 @endif target-libobjc
36493 .PHONY: install-target-libobjc maybe-install-target-libobjc
36494 maybe-install-target-libobjc:
36496 maybe-install-target-libobjc: install-target-libobjc
36498 install-target-libobjc: installdirs
36499 @: $(MAKE); $(unstage)
36500 @r=`${PWD_COMMAND}`; export r; \
36501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36502 $(NORMAL_TARGET_EXPORTS) \
36503 (cd $(TARGET_SUBDIR)/libobjc && \
36504 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36506 @endif target-libobjc
36508 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
36509 maybe-install-strip-target-libobjc:
36511 maybe-install-strip-target-libobjc: install-strip-target-libobjc
36513 install-strip-target-libobjc: installdirs
36514 @: $(MAKE); $(unstage)
36515 @r=`${PWD_COMMAND}`; export r; \
36516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36517 $(NORMAL_TARGET_EXPORTS) \
36518 (cd $(TARGET_SUBDIR)/libobjc && \
36519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36521 @endif target-libobjc
36523 # Other targets (info, dvi, pdf, etc.)
36525 .PHONY: maybe-info-target-libobjc info-target-libobjc
36526 maybe-info-target-libobjc:
36528 maybe-info-target-libobjc: info-target-libobjc
36530 info-target-libobjc: \
36531 configure-target-libobjc
36532 @: $(MAKE); $(unstage)
36533 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36534 r=`${PWD_COMMAND}`; export r; \
36535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36536 $(NORMAL_TARGET_EXPORTS) \
36537 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
36538 for flag in $(EXTRA_TARGET_FLAGS); do \
36539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36541 (cd $(TARGET_SUBDIR)/libobjc && \
36542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36544 "RANLIB=$${RANLIB}" \
36545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36549 @endif target-libobjc
36551 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
36552 maybe-dvi-target-libobjc:
36554 maybe-dvi-target-libobjc: dvi-target-libobjc
36556 dvi-target-libobjc: \
36557 configure-target-libobjc
36558 @: $(MAKE); $(unstage)
36559 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36560 r=`${PWD_COMMAND}`; export r; \
36561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36562 $(NORMAL_TARGET_EXPORTS) \
36563 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
36564 for flag in $(EXTRA_TARGET_FLAGS); do \
36565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36567 (cd $(TARGET_SUBDIR)/libobjc && \
36568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36570 "RANLIB=$${RANLIB}" \
36571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36575 @endif target-libobjc
36577 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
36578 maybe-pdf-target-libobjc:
36580 maybe-pdf-target-libobjc: pdf-target-libobjc
36582 pdf-target-libobjc: \
36583 configure-target-libobjc
36584 @: $(MAKE); $(unstage)
36585 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36586 r=`${PWD_COMMAND}`; export r; \
36587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36588 $(NORMAL_TARGET_EXPORTS) \
36589 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
36590 for flag in $(EXTRA_TARGET_FLAGS); do \
36591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36593 (cd $(TARGET_SUBDIR)/libobjc && \
36594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36596 "RANLIB=$${RANLIB}" \
36597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36601 @endif target-libobjc
36603 .PHONY: maybe-html-target-libobjc html-target-libobjc
36604 maybe-html-target-libobjc:
36606 maybe-html-target-libobjc: html-target-libobjc
36608 html-target-libobjc: \
36609 configure-target-libobjc
36610 @: $(MAKE); $(unstage)
36611 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36612 r=`${PWD_COMMAND}`; export r; \
36613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36614 $(NORMAL_TARGET_EXPORTS) \
36615 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
36616 for flag in $(EXTRA_TARGET_FLAGS); do \
36617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36619 (cd $(TARGET_SUBDIR)/libobjc && \
36620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36622 "RANLIB=$${RANLIB}" \
36623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36627 @endif target-libobjc
36629 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
36630 maybe-TAGS-target-libobjc:
36632 maybe-TAGS-target-libobjc: TAGS-target-libobjc
36634 TAGS-target-libobjc: \
36635 configure-target-libobjc
36636 @: $(MAKE); $(unstage)
36637 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36638 r=`${PWD_COMMAND}`; export r; \
36639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36640 $(NORMAL_TARGET_EXPORTS) \
36641 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
36642 for flag in $(EXTRA_TARGET_FLAGS); do \
36643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36645 (cd $(TARGET_SUBDIR)/libobjc && \
36646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36648 "RANLIB=$${RANLIB}" \
36649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36653 @endif target-libobjc
36655 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
36656 maybe-install-info-target-libobjc:
36658 maybe-install-info-target-libobjc: install-info-target-libobjc
36660 install-info-target-libobjc: \
36661 configure-target-libobjc \
36662 info-target-libobjc
36663 @: $(MAKE); $(unstage)
36664 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36665 r=`${PWD_COMMAND}`; export r; \
36666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36667 $(NORMAL_TARGET_EXPORTS) \
36668 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
36669 for flag in $(EXTRA_TARGET_FLAGS); do \
36670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36672 (cd $(TARGET_SUBDIR)/libobjc && \
36673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36675 "RANLIB=$${RANLIB}" \
36676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36680 @endif target-libobjc
36682 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
36683 maybe-install-pdf-target-libobjc:
36685 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
36687 install-pdf-target-libobjc: \
36688 configure-target-libobjc \
36690 @: $(MAKE); $(unstage)
36691 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36692 r=`${PWD_COMMAND}`; export r; \
36693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36694 $(NORMAL_TARGET_EXPORTS) \
36695 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
36696 for flag in $(EXTRA_TARGET_FLAGS); do \
36697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36699 (cd $(TARGET_SUBDIR)/libobjc && \
36700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36702 "RANLIB=$${RANLIB}" \
36703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36707 @endif target-libobjc
36709 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
36710 maybe-install-html-target-libobjc:
36712 maybe-install-html-target-libobjc: install-html-target-libobjc
36714 install-html-target-libobjc: \
36715 configure-target-libobjc \
36716 html-target-libobjc
36717 @: $(MAKE); $(unstage)
36718 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36719 r=`${PWD_COMMAND}`; export r; \
36720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36721 $(NORMAL_TARGET_EXPORTS) \
36722 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
36723 for flag in $(EXTRA_TARGET_FLAGS); do \
36724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36726 (cd $(TARGET_SUBDIR)/libobjc && \
36727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36729 "RANLIB=$${RANLIB}" \
36730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36734 @endif target-libobjc
36736 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
36737 maybe-installcheck-target-libobjc:
36739 maybe-installcheck-target-libobjc: installcheck-target-libobjc
36741 installcheck-target-libobjc: \
36742 configure-target-libobjc
36743 @: $(MAKE); $(unstage)
36744 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36745 r=`${PWD_COMMAND}`; export r; \
36746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36747 $(NORMAL_TARGET_EXPORTS) \
36748 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
36749 for flag in $(EXTRA_TARGET_FLAGS); do \
36750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36752 (cd $(TARGET_SUBDIR)/libobjc && \
36753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36755 "RANLIB=$${RANLIB}" \
36756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36760 @endif target-libobjc
36762 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
36763 maybe-mostlyclean-target-libobjc:
36765 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
36767 mostlyclean-target-libobjc:
36768 @: $(MAKE); $(unstage)
36769 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36770 r=`${PWD_COMMAND}`; export r; \
36771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36772 $(NORMAL_TARGET_EXPORTS) \
36773 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
36774 for flag in $(EXTRA_TARGET_FLAGS); do \
36775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36777 (cd $(TARGET_SUBDIR)/libobjc && \
36778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36780 "RANLIB=$${RANLIB}" \
36781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36785 @endif target-libobjc
36787 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
36788 maybe-clean-target-libobjc:
36790 maybe-clean-target-libobjc: clean-target-libobjc
36792 clean-target-libobjc:
36793 @: $(MAKE); $(unstage)
36794 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36795 r=`${PWD_COMMAND}`; export r; \
36796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36797 $(NORMAL_TARGET_EXPORTS) \
36798 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
36799 for flag in $(EXTRA_TARGET_FLAGS); do \
36800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36802 (cd $(TARGET_SUBDIR)/libobjc && \
36803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36805 "RANLIB=$${RANLIB}" \
36806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36810 @endif target-libobjc
36812 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
36813 maybe-distclean-target-libobjc:
36815 maybe-distclean-target-libobjc: distclean-target-libobjc
36817 distclean-target-libobjc:
36818 @: $(MAKE); $(unstage)
36819 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36820 r=`${PWD_COMMAND}`; export r; \
36821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36822 $(NORMAL_TARGET_EXPORTS) \
36823 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
36824 for flag in $(EXTRA_TARGET_FLAGS); do \
36825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36827 (cd $(TARGET_SUBDIR)/libobjc && \
36828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36830 "RANLIB=$${RANLIB}" \
36831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36835 @endif target-libobjc
36837 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
36838 maybe-maintainer-clean-target-libobjc:
36840 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
36842 maintainer-clean-target-libobjc:
36843 @: $(MAKE); $(unstage)
36844 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
36845 r=`${PWD_COMMAND}`; export r; \
36846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36847 $(NORMAL_TARGET_EXPORTS) \
36848 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
36849 for flag in $(EXTRA_TARGET_FLAGS); do \
36850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36852 (cd $(TARGET_SUBDIR)/libobjc && \
36853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36855 "RANLIB=$${RANLIB}" \
36856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36857 maintainer-clean) \
36860 @endif target-libobjc
36866 .PHONY: configure-target-libgo maybe-configure-target-libgo
36867 maybe-configure-target-libgo:
36869 configure-target-libgo: stage_current
36870 @endif gcc-bootstrap
36872 maybe-configure-target-libgo: configure-target-libgo
36873 configure-target-libgo:
36874 @: $(MAKE); $(unstage)
36875 @r=`${PWD_COMMAND}`; export r; \
36876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36877 echo "Checking multilib configuration for libgo..."; \
36878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
36879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
36880 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
36881 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
36882 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
36884 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
36885 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
36888 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
36890 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
36891 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
36892 $(NORMAL_TARGET_EXPORTS) \
36893 echo Configuring in $(TARGET_SUBDIR)/libgo; \
36894 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
36895 case $(srcdir) in \
36896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36897 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
36898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36900 srcdiroption="--srcdir=$${topdir}/libgo"; \
36901 libsrcdir="$$s/libgo"; \
36902 rm -f no-such-file || : ; \
36903 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36904 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36905 --target=${target_alias} $${srcdiroption} \
36907 @endif target-libgo
36913 .PHONY: all-target-libgo maybe-all-target-libgo
36914 maybe-all-target-libgo:
36916 all-target-libgo: stage_current
36917 @endif gcc-bootstrap
36919 TARGET-target-libgo=all
36920 maybe-all-target-libgo: all-target-libgo
36921 all-target-libgo: configure-target-libgo
36922 @: $(MAKE); $(unstage)
36923 @r=`${PWD_COMMAND}`; export r; \
36924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36925 $(NORMAL_TARGET_EXPORTS) \
36926 (cd $(TARGET_SUBDIR)/libgo && \
36927 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36928 $(TARGET-target-libgo))
36929 @endif target-libgo
36935 .PHONY: check-target-libgo maybe-check-target-libgo
36936 maybe-check-target-libgo:
36938 maybe-check-target-libgo: check-target-libgo
36940 check-target-libgo:
36941 @: $(MAKE); $(unstage)
36942 @r=`${PWD_COMMAND}`; export r; \
36943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36944 $(NORMAL_TARGET_EXPORTS) \
36945 (cd $(TARGET_SUBDIR)/libgo && \
36946 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36948 @endif target-libgo
36950 .PHONY: install-target-libgo maybe-install-target-libgo
36951 maybe-install-target-libgo:
36953 maybe-install-target-libgo: install-target-libgo
36955 install-target-libgo: installdirs
36956 @: $(MAKE); $(unstage)
36957 @r=`${PWD_COMMAND}`; export r; \
36958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36959 $(NORMAL_TARGET_EXPORTS) \
36960 (cd $(TARGET_SUBDIR)/libgo && \
36961 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36963 @endif target-libgo
36965 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
36966 maybe-install-strip-target-libgo:
36968 maybe-install-strip-target-libgo: install-strip-target-libgo
36970 install-strip-target-libgo: installdirs
36971 @: $(MAKE); $(unstage)
36972 @r=`${PWD_COMMAND}`; export r; \
36973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36974 $(NORMAL_TARGET_EXPORTS) \
36975 (cd $(TARGET_SUBDIR)/libgo && \
36976 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36978 @endif target-libgo
36980 # Other targets (info, dvi, pdf, etc.)
36982 .PHONY: maybe-info-target-libgo info-target-libgo
36983 maybe-info-target-libgo:
36985 maybe-info-target-libgo: info-target-libgo
36987 info-target-libgo: \
36988 configure-target-libgo
36989 @: $(MAKE); $(unstage)
36990 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36991 r=`${PWD_COMMAND}`; export r; \
36992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36993 $(NORMAL_TARGET_EXPORTS) \
36994 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
36995 for flag in $(EXTRA_TARGET_FLAGS); do \
36996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36998 (cd $(TARGET_SUBDIR)/libgo && \
36999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37001 "RANLIB=$${RANLIB}" \
37002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37006 @endif target-libgo
37008 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
37009 maybe-dvi-target-libgo:
37011 maybe-dvi-target-libgo: dvi-target-libgo
37013 dvi-target-libgo: \
37014 configure-target-libgo
37015 @: $(MAKE); $(unstage)
37016 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37017 r=`${PWD_COMMAND}`; export r; \
37018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37019 $(NORMAL_TARGET_EXPORTS) \
37020 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
37021 for flag in $(EXTRA_TARGET_FLAGS); do \
37022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37024 (cd $(TARGET_SUBDIR)/libgo && \
37025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37027 "RANLIB=$${RANLIB}" \
37028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37032 @endif target-libgo
37034 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
37035 maybe-pdf-target-libgo:
37037 maybe-pdf-target-libgo: pdf-target-libgo
37039 pdf-target-libgo: \
37040 configure-target-libgo
37041 @: $(MAKE); $(unstage)
37042 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37043 r=`${PWD_COMMAND}`; export r; \
37044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37045 $(NORMAL_TARGET_EXPORTS) \
37046 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
37047 for flag in $(EXTRA_TARGET_FLAGS); do \
37048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37050 (cd $(TARGET_SUBDIR)/libgo && \
37051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37053 "RANLIB=$${RANLIB}" \
37054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37058 @endif target-libgo
37060 .PHONY: maybe-html-target-libgo html-target-libgo
37061 maybe-html-target-libgo:
37063 maybe-html-target-libgo: html-target-libgo
37065 html-target-libgo: \
37066 configure-target-libgo
37067 @: $(MAKE); $(unstage)
37068 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37069 r=`${PWD_COMMAND}`; export r; \
37070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37071 $(NORMAL_TARGET_EXPORTS) \
37072 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
37073 for flag in $(EXTRA_TARGET_FLAGS); do \
37074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37076 (cd $(TARGET_SUBDIR)/libgo && \
37077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37079 "RANLIB=$${RANLIB}" \
37080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37084 @endif target-libgo
37086 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
37087 maybe-TAGS-target-libgo:
37089 maybe-TAGS-target-libgo: TAGS-target-libgo
37091 TAGS-target-libgo: \
37092 configure-target-libgo
37093 @: $(MAKE); $(unstage)
37094 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37095 r=`${PWD_COMMAND}`; export r; \
37096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37097 $(NORMAL_TARGET_EXPORTS) \
37098 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
37099 for flag in $(EXTRA_TARGET_FLAGS); do \
37100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37102 (cd $(TARGET_SUBDIR)/libgo && \
37103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37105 "RANLIB=$${RANLIB}" \
37106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37110 @endif target-libgo
37112 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
37113 maybe-install-info-target-libgo:
37115 maybe-install-info-target-libgo: install-info-target-libgo
37117 install-info-target-libgo: \
37118 configure-target-libgo \
37120 @: $(MAKE); $(unstage)
37121 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37122 r=`${PWD_COMMAND}`; export r; \
37123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37124 $(NORMAL_TARGET_EXPORTS) \
37125 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
37126 for flag in $(EXTRA_TARGET_FLAGS); do \
37127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37129 (cd $(TARGET_SUBDIR)/libgo && \
37130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37132 "RANLIB=$${RANLIB}" \
37133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37137 @endif target-libgo
37139 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
37140 maybe-install-pdf-target-libgo:
37142 maybe-install-pdf-target-libgo: install-pdf-target-libgo
37144 install-pdf-target-libgo: \
37145 configure-target-libgo \
37147 @: $(MAKE); $(unstage)
37148 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37149 r=`${PWD_COMMAND}`; export r; \
37150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37151 $(NORMAL_TARGET_EXPORTS) \
37152 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
37153 for flag in $(EXTRA_TARGET_FLAGS); do \
37154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37156 (cd $(TARGET_SUBDIR)/libgo && \
37157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37159 "RANLIB=$${RANLIB}" \
37160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37164 @endif target-libgo
37166 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
37167 maybe-install-html-target-libgo:
37169 maybe-install-html-target-libgo: install-html-target-libgo
37171 install-html-target-libgo: \
37172 configure-target-libgo \
37174 @: $(MAKE); $(unstage)
37175 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37176 r=`${PWD_COMMAND}`; export r; \
37177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37178 $(NORMAL_TARGET_EXPORTS) \
37179 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
37180 for flag in $(EXTRA_TARGET_FLAGS); do \
37181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37183 (cd $(TARGET_SUBDIR)/libgo && \
37184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37186 "RANLIB=$${RANLIB}" \
37187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37191 @endif target-libgo
37193 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
37194 maybe-installcheck-target-libgo:
37196 maybe-installcheck-target-libgo: installcheck-target-libgo
37198 installcheck-target-libgo: \
37199 configure-target-libgo
37200 @: $(MAKE); $(unstage)
37201 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37202 r=`${PWD_COMMAND}`; export r; \
37203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37204 $(NORMAL_TARGET_EXPORTS) \
37205 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
37206 for flag in $(EXTRA_TARGET_FLAGS); do \
37207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37209 (cd $(TARGET_SUBDIR)/libgo && \
37210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37212 "RANLIB=$${RANLIB}" \
37213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37217 @endif target-libgo
37219 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
37220 maybe-mostlyclean-target-libgo:
37222 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
37224 mostlyclean-target-libgo:
37225 @: $(MAKE); $(unstage)
37226 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37227 r=`${PWD_COMMAND}`; export r; \
37228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37229 $(NORMAL_TARGET_EXPORTS) \
37230 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
37231 for flag in $(EXTRA_TARGET_FLAGS); do \
37232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37234 (cd $(TARGET_SUBDIR)/libgo && \
37235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37237 "RANLIB=$${RANLIB}" \
37238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37242 @endif target-libgo
37244 .PHONY: maybe-clean-target-libgo clean-target-libgo
37245 maybe-clean-target-libgo:
37247 maybe-clean-target-libgo: clean-target-libgo
37249 clean-target-libgo:
37250 @: $(MAKE); $(unstage)
37251 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37252 r=`${PWD_COMMAND}`; export r; \
37253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37254 $(NORMAL_TARGET_EXPORTS) \
37255 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
37256 for flag in $(EXTRA_TARGET_FLAGS); do \
37257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37259 (cd $(TARGET_SUBDIR)/libgo && \
37260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37262 "RANLIB=$${RANLIB}" \
37263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37267 @endif target-libgo
37269 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
37270 maybe-distclean-target-libgo:
37272 maybe-distclean-target-libgo: distclean-target-libgo
37274 distclean-target-libgo:
37275 @: $(MAKE); $(unstage)
37276 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37277 r=`${PWD_COMMAND}`; export r; \
37278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37279 $(NORMAL_TARGET_EXPORTS) \
37280 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
37281 for flag in $(EXTRA_TARGET_FLAGS); do \
37282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37284 (cd $(TARGET_SUBDIR)/libgo && \
37285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37287 "RANLIB=$${RANLIB}" \
37288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37292 @endif target-libgo
37294 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
37295 maybe-maintainer-clean-target-libgo:
37297 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
37299 maintainer-clean-target-libgo:
37300 @: $(MAKE); $(unstage)
37301 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
37302 r=`${PWD_COMMAND}`; export r; \
37303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37304 $(NORMAL_TARGET_EXPORTS) \
37305 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
37306 for flag in $(EXTRA_TARGET_FLAGS); do \
37307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37309 (cd $(TARGET_SUBDIR)/libgo && \
37310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37312 "RANLIB=$${RANLIB}" \
37313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37314 maintainer-clean) \
37317 @endif target-libgo
37323 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
37324 maybe-configure-target-libtermcap:
37326 configure-target-libtermcap: stage_current
37327 @endif gcc-bootstrap
37328 @if target-libtermcap
37329 maybe-configure-target-libtermcap: configure-target-libtermcap
37330 configure-target-libtermcap:
37331 @: $(MAKE); $(unstage)
37332 @r=`${PWD_COMMAND}`; export r; \
37333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37334 echo "Checking multilib configuration for libtermcap..."; \
37335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
37336 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
37337 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
37338 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
37339 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
37341 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
37342 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
37345 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
37347 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
37348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
37349 $(NORMAL_TARGET_EXPORTS) \
37350 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
37351 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
37352 case $(srcdir) in \
37353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37354 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
37355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37357 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
37358 libsrcdir="$$s/libtermcap"; \
37359 rm -f no-such-file || : ; \
37360 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37361 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37362 --target=${target_alias} $${srcdiroption} \
37364 @endif target-libtermcap
37370 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
37371 maybe-all-target-libtermcap:
37373 all-target-libtermcap: stage_current
37374 @endif gcc-bootstrap
37375 @if target-libtermcap
37376 TARGET-target-libtermcap=all
37377 maybe-all-target-libtermcap: all-target-libtermcap
37378 all-target-libtermcap: configure-target-libtermcap
37379 @: $(MAKE); $(unstage)
37380 @r=`${PWD_COMMAND}`; export r; \
37381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37382 $(NORMAL_TARGET_EXPORTS) \
37383 (cd $(TARGET_SUBDIR)/libtermcap && \
37384 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37385 $(TARGET-target-libtermcap))
37386 @endif target-libtermcap
37392 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
37393 maybe-check-target-libtermcap:
37394 @if target-libtermcap
37395 maybe-check-target-libtermcap: check-target-libtermcap
37397 # Dummy target for uncheckable module.
37398 check-target-libtermcap:
37400 @endif target-libtermcap
37402 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
37403 maybe-install-target-libtermcap:
37404 @if target-libtermcap
37405 maybe-install-target-libtermcap: install-target-libtermcap
37407 install-target-libtermcap: installdirs
37408 @: $(MAKE); $(unstage)
37409 @r=`${PWD_COMMAND}`; export r; \
37410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37411 $(NORMAL_TARGET_EXPORTS) \
37412 (cd $(TARGET_SUBDIR)/libtermcap && \
37413 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37415 @endif target-libtermcap
37417 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
37418 maybe-install-strip-target-libtermcap:
37419 @if target-libtermcap
37420 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
37422 install-strip-target-libtermcap: installdirs
37423 @: $(MAKE); $(unstage)
37424 @r=`${PWD_COMMAND}`; export r; \
37425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37426 $(NORMAL_TARGET_EXPORTS) \
37427 (cd $(TARGET_SUBDIR)/libtermcap && \
37428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37430 @endif target-libtermcap
37432 # Other targets (info, dvi, pdf, etc.)
37434 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
37435 maybe-info-target-libtermcap:
37436 @if target-libtermcap
37437 maybe-info-target-libtermcap: info-target-libtermcap
37439 info-target-libtermcap: \
37440 configure-target-libtermcap
37441 @: $(MAKE); $(unstage)
37442 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37443 r=`${PWD_COMMAND}`; export r; \
37444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37445 $(NORMAL_TARGET_EXPORTS) \
37446 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
37447 for flag in $(EXTRA_TARGET_FLAGS); do \
37448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37450 (cd $(TARGET_SUBDIR)/libtermcap && \
37451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37453 "RANLIB=$${RANLIB}" \
37454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37458 @endif target-libtermcap
37460 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
37461 maybe-dvi-target-libtermcap:
37462 @if target-libtermcap
37463 maybe-dvi-target-libtermcap: dvi-target-libtermcap
37465 dvi-target-libtermcap: \
37466 configure-target-libtermcap
37467 @: $(MAKE); $(unstage)
37468 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37469 r=`${PWD_COMMAND}`; export r; \
37470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37471 $(NORMAL_TARGET_EXPORTS) \
37472 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
37473 for flag in $(EXTRA_TARGET_FLAGS); do \
37474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37476 (cd $(TARGET_SUBDIR)/libtermcap && \
37477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37479 "RANLIB=$${RANLIB}" \
37480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37484 @endif target-libtermcap
37486 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
37487 maybe-pdf-target-libtermcap:
37488 @if target-libtermcap
37489 maybe-pdf-target-libtermcap: pdf-target-libtermcap
37491 pdf-target-libtermcap: \
37492 configure-target-libtermcap
37493 @: $(MAKE); $(unstage)
37494 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37495 r=`${PWD_COMMAND}`; export r; \
37496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37497 $(NORMAL_TARGET_EXPORTS) \
37498 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
37499 for flag in $(EXTRA_TARGET_FLAGS); do \
37500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37502 (cd $(TARGET_SUBDIR)/libtermcap && \
37503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37505 "RANLIB=$${RANLIB}" \
37506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37510 @endif target-libtermcap
37512 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
37513 maybe-html-target-libtermcap:
37514 @if target-libtermcap
37515 maybe-html-target-libtermcap: html-target-libtermcap
37517 html-target-libtermcap: \
37518 configure-target-libtermcap
37519 @: $(MAKE); $(unstage)
37520 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37521 r=`${PWD_COMMAND}`; export r; \
37522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37523 $(NORMAL_TARGET_EXPORTS) \
37524 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
37525 for flag in $(EXTRA_TARGET_FLAGS); do \
37526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37528 (cd $(TARGET_SUBDIR)/libtermcap && \
37529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37531 "RANLIB=$${RANLIB}" \
37532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37536 @endif target-libtermcap
37538 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
37539 maybe-TAGS-target-libtermcap:
37540 @if target-libtermcap
37541 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
37543 TAGS-target-libtermcap: \
37544 configure-target-libtermcap
37545 @: $(MAKE); $(unstage)
37546 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37547 r=`${PWD_COMMAND}`; export r; \
37548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37549 $(NORMAL_TARGET_EXPORTS) \
37550 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
37551 for flag in $(EXTRA_TARGET_FLAGS); do \
37552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37554 (cd $(TARGET_SUBDIR)/libtermcap && \
37555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37557 "RANLIB=$${RANLIB}" \
37558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37562 @endif target-libtermcap
37564 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
37565 maybe-install-info-target-libtermcap:
37566 @if target-libtermcap
37567 maybe-install-info-target-libtermcap: install-info-target-libtermcap
37569 install-info-target-libtermcap: \
37570 configure-target-libtermcap \
37571 info-target-libtermcap
37572 @: $(MAKE); $(unstage)
37573 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37574 r=`${PWD_COMMAND}`; export r; \
37575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37576 $(NORMAL_TARGET_EXPORTS) \
37577 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
37578 for flag in $(EXTRA_TARGET_FLAGS); do \
37579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37581 (cd $(TARGET_SUBDIR)/libtermcap && \
37582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37584 "RANLIB=$${RANLIB}" \
37585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37589 @endif target-libtermcap
37591 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
37592 maybe-install-pdf-target-libtermcap:
37593 @if target-libtermcap
37594 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
37596 install-pdf-target-libtermcap: \
37597 configure-target-libtermcap \
37598 pdf-target-libtermcap
37599 @: $(MAKE); $(unstage)
37600 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37601 r=`${PWD_COMMAND}`; export r; \
37602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37603 $(NORMAL_TARGET_EXPORTS) \
37604 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
37605 for flag in $(EXTRA_TARGET_FLAGS); do \
37606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37608 (cd $(TARGET_SUBDIR)/libtermcap && \
37609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37611 "RANLIB=$${RANLIB}" \
37612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37616 @endif target-libtermcap
37618 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
37619 maybe-install-html-target-libtermcap:
37620 @if target-libtermcap
37621 maybe-install-html-target-libtermcap: install-html-target-libtermcap
37623 install-html-target-libtermcap: \
37624 configure-target-libtermcap \
37625 html-target-libtermcap
37626 @: $(MAKE); $(unstage)
37627 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37628 r=`${PWD_COMMAND}`; export r; \
37629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37630 $(NORMAL_TARGET_EXPORTS) \
37631 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
37632 for flag in $(EXTRA_TARGET_FLAGS); do \
37633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37635 (cd $(TARGET_SUBDIR)/libtermcap && \
37636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37638 "RANLIB=$${RANLIB}" \
37639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37643 @endif target-libtermcap
37645 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
37646 maybe-installcheck-target-libtermcap:
37647 @if target-libtermcap
37648 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
37650 installcheck-target-libtermcap: \
37651 configure-target-libtermcap
37652 @: $(MAKE); $(unstage)
37653 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
37654 r=`${PWD_COMMAND}`; export r; \
37655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37656 $(NORMAL_TARGET_EXPORTS) \
37657 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
37658 for flag in $(EXTRA_TARGET_FLAGS); do \
37659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37661 (cd $(TARGET_SUBDIR)/libtermcap && \
37662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37664 "RANLIB=$${RANLIB}" \
37665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37669 @endif target-libtermcap
37671 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
37672 maybe-mostlyclean-target-libtermcap:
37673 @if target-libtermcap
37674 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
37676 # libtermcap doesn't support mostlyclean.
37677 mostlyclean-target-libtermcap:
37679 @endif target-libtermcap
37681 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
37682 maybe-clean-target-libtermcap:
37683 @if target-libtermcap
37684 maybe-clean-target-libtermcap: clean-target-libtermcap
37686 # libtermcap doesn't support clean.
37687 clean-target-libtermcap:
37689 @endif target-libtermcap
37691 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
37692 maybe-distclean-target-libtermcap:
37693 @if target-libtermcap
37694 maybe-distclean-target-libtermcap: distclean-target-libtermcap
37696 # libtermcap doesn't support distclean.
37697 distclean-target-libtermcap:
37699 @endif target-libtermcap
37701 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
37702 maybe-maintainer-clean-target-libtermcap:
37703 @if target-libtermcap
37704 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
37706 # libtermcap doesn't support maintainer-clean.
37707 maintainer-clean-target-libtermcap:
37709 @endif target-libtermcap
37715 .PHONY: configure-target-winsup maybe-configure-target-winsup
37716 maybe-configure-target-winsup:
37718 configure-target-winsup: stage_current
37719 @endif gcc-bootstrap
37721 maybe-configure-target-winsup: configure-target-winsup
37722 configure-target-winsup:
37723 @: $(MAKE); $(unstage)
37724 @r=`${PWD_COMMAND}`; export r; \
37725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37726 echo "Checking multilib configuration for winsup..."; \
37727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
37728 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
37729 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
37730 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
37731 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
37733 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
37734 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
37737 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
37739 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
37740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
37741 $(NORMAL_TARGET_EXPORTS) \
37742 echo Configuring in $(TARGET_SUBDIR)/winsup; \
37743 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
37744 case $(srcdir) in \
37745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37746 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
37747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37749 srcdiroption="--srcdir=$${topdir}/winsup"; \
37750 libsrcdir="$$s/winsup"; \
37751 rm -f no-such-file || : ; \
37752 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37753 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37754 --target=${target_alias} $${srcdiroption} \
37756 @endif target-winsup
37762 .PHONY: all-target-winsup maybe-all-target-winsup
37763 maybe-all-target-winsup:
37765 all-target-winsup: stage_current
37766 @endif gcc-bootstrap
37768 TARGET-target-winsup=all
37769 maybe-all-target-winsup: all-target-winsup
37770 all-target-winsup: configure-target-winsup
37771 @: $(MAKE); $(unstage)
37772 @r=`${PWD_COMMAND}`; export r; \
37773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37774 $(NORMAL_TARGET_EXPORTS) \
37775 (cd $(TARGET_SUBDIR)/winsup && \
37776 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37777 $(TARGET-target-winsup))
37778 @endif target-winsup
37784 .PHONY: check-target-winsup maybe-check-target-winsup
37785 maybe-check-target-winsup:
37787 maybe-check-target-winsup: check-target-winsup
37789 check-target-winsup:
37790 @: $(MAKE); $(unstage)
37791 @r=`${PWD_COMMAND}`; export r; \
37792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37793 $(NORMAL_TARGET_EXPORTS) \
37794 (cd $(TARGET_SUBDIR)/winsup && \
37795 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37797 @endif target-winsup
37799 .PHONY: install-target-winsup maybe-install-target-winsup
37800 maybe-install-target-winsup:
37802 maybe-install-target-winsup: install-target-winsup
37804 install-target-winsup: installdirs
37805 @: $(MAKE); $(unstage)
37806 @r=`${PWD_COMMAND}`; export r; \
37807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37808 $(NORMAL_TARGET_EXPORTS) \
37809 (cd $(TARGET_SUBDIR)/winsup && \
37810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37812 @endif target-winsup
37814 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
37815 maybe-install-strip-target-winsup:
37817 maybe-install-strip-target-winsup: install-strip-target-winsup
37819 install-strip-target-winsup: installdirs
37820 @: $(MAKE); $(unstage)
37821 @r=`${PWD_COMMAND}`; export r; \
37822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37823 $(NORMAL_TARGET_EXPORTS) \
37824 (cd $(TARGET_SUBDIR)/winsup && \
37825 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37827 @endif target-winsup
37829 # Other targets (info, dvi, pdf, etc.)
37831 .PHONY: maybe-info-target-winsup info-target-winsup
37832 maybe-info-target-winsup:
37834 maybe-info-target-winsup: info-target-winsup
37836 info-target-winsup: \
37837 configure-target-winsup
37838 @: $(MAKE); $(unstage)
37839 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37840 r=`${PWD_COMMAND}`; export r; \
37841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37842 $(NORMAL_TARGET_EXPORTS) \
37843 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
37844 for flag in $(EXTRA_TARGET_FLAGS); do \
37845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37847 (cd $(TARGET_SUBDIR)/winsup && \
37848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37850 "RANLIB=$${RANLIB}" \
37851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37855 @endif target-winsup
37857 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
37858 maybe-dvi-target-winsup:
37860 maybe-dvi-target-winsup: dvi-target-winsup
37862 dvi-target-winsup: \
37863 configure-target-winsup
37864 @: $(MAKE); $(unstage)
37865 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37866 r=`${PWD_COMMAND}`; export r; \
37867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37868 $(NORMAL_TARGET_EXPORTS) \
37869 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
37870 for flag in $(EXTRA_TARGET_FLAGS); do \
37871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37873 (cd $(TARGET_SUBDIR)/winsup && \
37874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37876 "RANLIB=$${RANLIB}" \
37877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37881 @endif target-winsup
37883 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
37884 maybe-pdf-target-winsup:
37886 maybe-pdf-target-winsup: pdf-target-winsup
37888 pdf-target-winsup: \
37889 configure-target-winsup
37890 @: $(MAKE); $(unstage)
37891 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37892 r=`${PWD_COMMAND}`; export r; \
37893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37894 $(NORMAL_TARGET_EXPORTS) \
37895 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
37896 for flag in $(EXTRA_TARGET_FLAGS); do \
37897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37899 (cd $(TARGET_SUBDIR)/winsup && \
37900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37902 "RANLIB=$${RANLIB}" \
37903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37907 @endif target-winsup
37909 .PHONY: maybe-html-target-winsup html-target-winsup
37910 maybe-html-target-winsup:
37912 maybe-html-target-winsup: html-target-winsup
37914 html-target-winsup: \
37915 configure-target-winsup
37916 @: $(MAKE); $(unstage)
37917 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37918 r=`${PWD_COMMAND}`; export r; \
37919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37920 $(NORMAL_TARGET_EXPORTS) \
37921 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
37922 for flag in $(EXTRA_TARGET_FLAGS); do \
37923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37925 (cd $(TARGET_SUBDIR)/winsup && \
37926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37928 "RANLIB=$${RANLIB}" \
37929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37933 @endif target-winsup
37935 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
37936 maybe-TAGS-target-winsup:
37938 maybe-TAGS-target-winsup: TAGS-target-winsup
37940 TAGS-target-winsup: \
37941 configure-target-winsup
37942 @: $(MAKE); $(unstage)
37943 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37944 r=`${PWD_COMMAND}`; export r; \
37945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37946 $(NORMAL_TARGET_EXPORTS) \
37947 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
37948 for flag in $(EXTRA_TARGET_FLAGS); do \
37949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37951 (cd $(TARGET_SUBDIR)/winsup && \
37952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37954 "RANLIB=$${RANLIB}" \
37955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37959 @endif target-winsup
37961 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
37962 maybe-install-info-target-winsup:
37964 maybe-install-info-target-winsup: install-info-target-winsup
37966 install-info-target-winsup: \
37967 configure-target-winsup \
37969 @: $(MAKE); $(unstage)
37970 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37971 r=`${PWD_COMMAND}`; export r; \
37972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37973 $(NORMAL_TARGET_EXPORTS) \
37974 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
37975 for flag in $(EXTRA_TARGET_FLAGS); do \
37976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37978 (cd $(TARGET_SUBDIR)/winsup && \
37979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37981 "RANLIB=$${RANLIB}" \
37982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37986 @endif target-winsup
37988 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
37989 maybe-install-pdf-target-winsup:
37991 maybe-install-pdf-target-winsup: install-pdf-target-winsup
37993 install-pdf-target-winsup: \
37994 configure-target-winsup \
37996 @: $(MAKE); $(unstage)
37997 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37998 r=`${PWD_COMMAND}`; export r; \
37999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38000 $(NORMAL_TARGET_EXPORTS) \
38001 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
38002 for flag in $(EXTRA_TARGET_FLAGS); do \
38003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38005 (cd $(TARGET_SUBDIR)/winsup && \
38006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38008 "RANLIB=$${RANLIB}" \
38009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38013 @endif target-winsup
38015 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
38016 maybe-install-html-target-winsup:
38018 maybe-install-html-target-winsup: install-html-target-winsup
38020 install-html-target-winsup: \
38021 configure-target-winsup \
38023 @: $(MAKE); $(unstage)
38024 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38025 r=`${PWD_COMMAND}`; export r; \
38026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38027 $(NORMAL_TARGET_EXPORTS) \
38028 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
38029 for flag in $(EXTRA_TARGET_FLAGS); do \
38030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38032 (cd $(TARGET_SUBDIR)/winsup && \
38033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38035 "RANLIB=$${RANLIB}" \
38036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38040 @endif target-winsup
38042 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
38043 maybe-installcheck-target-winsup:
38045 maybe-installcheck-target-winsup: installcheck-target-winsup
38047 installcheck-target-winsup: \
38048 configure-target-winsup
38049 @: $(MAKE); $(unstage)
38050 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38051 r=`${PWD_COMMAND}`; export r; \
38052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38053 $(NORMAL_TARGET_EXPORTS) \
38054 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
38055 for flag in $(EXTRA_TARGET_FLAGS); do \
38056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38058 (cd $(TARGET_SUBDIR)/winsup && \
38059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38061 "RANLIB=$${RANLIB}" \
38062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38066 @endif target-winsup
38068 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
38069 maybe-mostlyclean-target-winsup:
38071 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
38073 mostlyclean-target-winsup:
38074 @: $(MAKE); $(unstage)
38075 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38076 r=`${PWD_COMMAND}`; export r; \
38077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38078 $(NORMAL_TARGET_EXPORTS) \
38079 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
38080 for flag in $(EXTRA_TARGET_FLAGS); do \
38081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38083 (cd $(TARGET_SUBDIR)/winsup && \
38084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38086 "RANLIB=$${RANLIB}" \
38087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38091 @endif target-winsup
38093 .PHONY: maybe-clean-target-winsup clean-target-winsup
38094 maybe-clean-target-winsup:
38096 maybe-clean-target-winsup: clean-target-winsup
38098 clean-target-winsup:
38099 @: $(MAKE); $(unstage)
38100 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38101 r=`${PWD_COMMAND}`; export r; \
38102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38103 $(NORMAL_TARGET_EXPORTS) \
38104 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
38105 for flag in $(EXTRA_TARGET_FLAGS); do \
38106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38108 (cd $(TARGET_SUBDIR)/winsup && \
38109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38111 "RANLIB=$${RANLIB}" \
38112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38116 @endif target-winsup
38118 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
38119 maybe-distclean-target-winsup:
38121 maybe-distclean-target-winsup: distclean-target-winsup
38123 distclean-target-winsup:
38124 @: $(MAKE); $(unstage)
38125 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38126 r=`${PWD_COMMAND}`; export r; \
38127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38128 $(NORMAL_TARGET_EXPORTS) \
38129 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
38130 for flag in $(EXTRA_TARGET_FLAGS); do \
38131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38133 (cd $(TARGET_SUBDIR)/winsup && \
38134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38136 "RANLIB=$${RANLIB}" \
38137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38141 @endif target-winsup
38143 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
38144 maybe-maintainer-clean-target-winsup:
38146 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
38148 maintainer-clean-target-winsup:
38149 @: $(MAKE); $(unstage)
38150 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
38151 r=`${PWD_COMMAND}`; export r; \
38152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38153 $(NORMAL_TARGET_EXPORTS) \
38154 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
38155 for flag in $(EXTRA_TARGET_FLAGS); do \
38156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38158 (cd $(TARGET_SUBDIR)/winsup && \
38159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38161 "RANLIB=$${RANLIB}" \
38162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38163 maintainer-clean) \
38166 @endif target-winsup
38172 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
38173 maybe-configure-target-libgloss:
38175 configure-target-libgloss: stage_current
38176 @endif gcc-bootstrap
38177 @if target-libgloss
38178 maybe-configure-target-libgloss: configure-target-libgloss
38179 configure-target-libgloss:
38180 @: $(MAKE); $(unstage)
38181 @r=`${PWD_COMMAND}`; export r; \
38182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38183 echo "Checking multilib configuration for libgloss..."; \
38184 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
38185 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
38186 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
38187 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
38188 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
38190 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
38191 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
38194 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
38196 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
38197 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
38198 $(NORMAL_TARGET_EXPORTS) \
38199 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
38200 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
38201 case $(srcdir) in \
38202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38203 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
38204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38206 srcdiroption="--srcdir=$${topdir}/libgloss"; \
38207 libsrcdir="$$s/libgloss"; \
38208 rm -f no-such-file || : ; \
38209 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38210 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38211 --target=${target_alias} $${srcdiroption} \
38213 @endif target-libgloss
38219 .PHONY: all-target-libgloss maybe-all-target-libgloss
38220 maybe-all-target-libgloss:
38222 all-target-libgloss: stage_current
38223 @endif gcc-bootstrap
38224 @if target-libgloss
38225 TARGET-target-libgloss=all
38226 maybe-all-target-libgloss: all-target-libgloss
38227 all-target-libgloss: configure-target-libgloss
38228 @: $(MAKE); $(unstage)
38229 @r=`${PWD_COMMAND}`; export r; \
38230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38231 $(NORMAL_TARGET_EXPORTS) \
38232 (cd $(TARGET_SUBDIR)/libgloss && \
38233 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38234 $(TARGET-target-libgloss))
38235 @endif target-libgloss
38241 .PHONY: check-target-libgloss maybe-check-target-libgloss
38242 maybe-check-target-libgloss:
38243 @if target-libgloss
38244 maybe-check-target-libgloss: check-target-libgloss
38246 # Dummy target for uncheckable module.
38247 check-target-libgloss:
38249 @endif target-libgloss
38251 .PHONY: install-target-libgloss maybe-install-target-libgloss
38252 maybe-install-target-libgloss:
38253 @if target-libgloss
38254 maybe-install-target-libgloss: install-target-libgloss
38256 install-target-libgloss: installdirs
38257 @: $(MAKE); $(unstage)
38258 @r=`${PWD_COMMAND}`; export r; \
38259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38260 $(NORMAL_TARGET_EXPORTS) \
38261 (cd $(TARGET_SUBDIR)/libgloss && \
38262 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38264 @endif target-libgloss
38266 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
38267 maybe-install-strip-target-libgloss:
38268 @if target-libgloss
38269 maybe-install-strip-target-libgloss: install-strip-target-libgloss
38271 install-strip-target-libgloss: installdirs
38272 @: $(MAKE); $(unstage)
38273 @r=`${PWD_COMMAND}`; export r; \
38274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38275 $(NORMAL_TARGET_EXPORTS) \
38276 (cd $(TARGET_SUBDIR)/libgloss && \
38277 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38279 @endif target-libgloss
38281 # Other targets (info, dvi, pdf, etc.)
38283 .PHONY: maybe-info-target-libgloss info-target-libgloss
38284 maybe-info-target-libgloss:
38285 @if target-libgloss
38286 maybe-info-target-libgloss: info-target-libgloss
38288 info-target-libgloss: \
38289 configure-target-libgloss
38290 @: $(MAKE); $(unstage)
38291 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38292 r=`${PWD_COMMAND}`; export r; \
38293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38294 $(NORMAL_TARGET_EXPORTS) \
38295 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
38296 for flag in $(EXTRA_TARGET_FLAGS); do \
38297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38299 (cd $(TARGET_SUBDIR)/libgloss && \
38300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38302 "RANLIB=$${RANLIB}" \
38303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38307 @endif target-libgloss
38309 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
38310 maybe-dvi-target-libgloss:
38311 @if target-libgloss
38312 maybe-dvi-target-libgloss: dvi-target-libgloss
38314 dvi-target-libgloss: \
38315 configure-target-libgloss
38316 @: $(MAKE); $(unstage)
38317 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38318 r=`${PWD_COMMAND}`; export r; \
38319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38320 $(NORMAL_TARGET_EXPORTS) \
38321 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
38322 for flag in $(EXTRA_TARGET_FLAGS); do \
38323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38325 (cd $(TARGET_SUBDIR)/libgloss && \
38326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38328 "RANLIB=$${RANLIB}" \
38329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38333 @endif target-libgloss
38335 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
38336 maybe-pdf-target-libgloss:
38337 @if target-libgloss
38338 maybe-pdf-target-libgloss: pdf-target-libgloss
38340 pdf-target-libgloss: \
38341 configure-target-libgloss
38342 @: $(MAKE); $(unstage)
38343 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38344 r=`${PWD_COMMAND}`; export r; \
38345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38346 $(NORMAL_TARGET_EXPORTS) \
38347 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
38348 for flag in $(EXTRA_TARGET_FLAGS); do \
38349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38351 (cd $(TARGET_SUBDIR)/libgloss && \
38352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38354 "RANLIB=$${RANLIB}" \
38355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38359 @endif target-libgloss
38361 .PHONY: maybe-html-target-libgloss html-target-libgloss
38362 maybe-html-target-libgloss:
38363 @if target-libgloss
38364 maybe-html-target-libgloss: html-target-libgloss
38366 html-target-libgloss: \
38367 configure-target-libgloss
38368 @: $(MAKE); $(unstage)
38369 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38370 r=`${PWD_COMMAND}`; export r; \
38371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38372 $(NORMAL_TARGET_EXPORTS) \
38373 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
38374 for flag in $(EXTRA_TARGET_FLAGS); do \
38375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38377 (cd $(TARGET_SUBDIR)/libgloss && \
38378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38380 "RANLIB=$${RANLIB}" \
38381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38385 @endif target-libgloss
38387 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
38388 maybe-TAGS-target-libgloss:
38389 @if target-libgloss
38390 maybe-TAGS-target-libgloss: TAGS-target-libgloss
38392 TAGS-target-libgloss: \
38393 configure-target-libgloss
38394 @: $(MAKE); $(unstage)
38395 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38396 r=`${PWD_COMMAND}`; export r; \
38397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38398 $(NORMAL_TARGET_EXPORTS) \
38399 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
38400 for flag in $(EXTRA_TARGET_FLAGS); do \
38401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38403 (cd $(TARGET_SUBDIR)/libgloss && \
38404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38406 "RANLIB=$${RANLIB}" \
38407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38411 @endif target-libgloss
38413 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
38414 maybe-install-info-target-libgloss:
38415 @if target-libgloss
38416 maybe-install-info-target-libgloss: install-info-target-libgloss
38418 install-info-target-libgloss: \
38419 configure-target-libgloss \
38420 info-target-libgloss
38421 @: $(MAKE); $(unstage)
38422 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38423 r=`${PWD_COMMAND}`; export r; \
38424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38425 $(NORMAL_TARGET_EXPORTS) \
38426 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
38427 for flag in $(EXTRA_TARGET_FLAGS); do \
38428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38430 (cd $(TARGET_SUBDIR)/libgloss && \
38431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38433 "RANLIB=$${RANLIB}" \
38434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38438 @endif target-libgloss
38440 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
38441 maybe-install-pdf-target-libgloss:
38442 @if target-libgloss
38443 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
38445 install-pdf-target-libgloss: \
38446 configure-target-libgloss \
38447 pdf-target-libgloss
38448 @: $(MAKE); $(unstage)
38449 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38450 r=`${PWD_COMMAND}`; export r; \
38451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38452 $(NORMAL_TARGET_EXPORTS) \
38453 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
38454 for flag in $(EXTRA_TARGET_FLAGS); do \
38455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38457 (cd $(TARGET_SUBDIR)/libgloss && \
38458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38460 "RANLIB=$${RANLIB}" \
38461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38465 @endif target-libgloss
38467 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
38468 maybe-install-html-target-libgloss:
38469 @if target-libgloss
38470 maybe-install-html-target-libgloss: install-html-target-libgloss
38472 install-html-target-libgloss: \
38473 configure-target-libgloss \
38474 html-target-libgloss
38475 @: $(MAKE); $(unstage)
38476 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38477 r=`${PWD_COMMAND}`; export r; \
38478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38479 $(NORMAL_TARGET_EXPORTS) \
38480 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
38481 for flag in $(EXTRA_TARGET_FLAGS); do \
38482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38484 (cd $(TARGET_SUBDIR)/libgloss && \
38485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38487 "RANLIB=$${RANLIB}" \
38488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38492 @endif target-libgloss
38494 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
38495 maybe-installcheck-target-libgloss:
38496 @if target-libgloss
38497 maybe-installcheck-target-libgloss: installcheck-target-libgloss
38499 installcheck-target-libgloss: \
38500 configure-target-libgloss
38501 @: $(MAKE); $(unstage)
38502 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38503 r=`${PWD_COMMAND}`; export r; \
38504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38505 $(NORMAL_TARGET_EXPORTS) \
38506 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
38507 for flag in $(EXTRA_TARGET_FLAGS); do \
38508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38510 (cd $(TARGET_SUBDIR)/libgloss && \
38511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38513 "RANLIB=$${RANLIB}" \
38514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38518 @endif target-libgloss
38520 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
38521 maybe-mostlyclean-target-libgloss:
38522 @if target-libgloss
38523 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
38525 mostlyclean-target-libgloss:
38526 @: $(MAKE); $(unstage)
38527 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38528 r=`${PWD_COMMAND}`; export r; \
38529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38530 $(NORMAL_TARGET_EXPORTS) \
38531 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
38532 for flag in $(EXTRA_TARGET_FLAGS); do \
38533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38535 (cd $(TARGET_SUBDIR)/libgloss && \
38536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38538 "RANLIB=$${RANLIB}" \
38539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38543 @endif target-libgloss
38545 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
38546 maybe-clean-target-libgloss:
38547 @if target-libgloss
38548 maybe-clean-target-libgloss: clean-target-libgloss
38550 clean-target-libgloss:
38551 @: $(MAKE); $(unstage)
38552 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38553 r=`${PWD_COMMAND}`; export r; \
38554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38555 $(NORMAL_TARGET_EXPORTS) \
38556 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
38557 for flag in $(EXTRA_TARGET_FLAGS); do \
38558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38560 (cd $(TARGET_SUBDIR)/libgloss && \
38561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38563 "RANLIB=$${RANLIB}" \
38564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38568 @endif target-libgloss
38570 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
38571 maybe-distclean-target-libgloss:
38572 @if target-libgloss
38573 maybe-distclean-target-libgloss: distclean-target-libgloss
38575 distclean-target-libgloss:
38576 @: $(MAKE); $(unstage)
38577 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38578 r=`${PWD_COMMAND}`; export r; \
38579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38580 $(NORMAL_TARGET_EXPORTS) \
38581 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
38582 for flag in $(EXTRA_TARGET_FLAGS); do \
38583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38585 (cd $(TARGET_SUBDIR)/libgloss && \
38586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38588 "RANLIB=$${RANLIB}" \
38589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38593 @endif target-libgloss
38595 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
38596 maybe-maintainer-clean-target-libgloss:
38597 @if target-libgloss
38598 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
38600 maintainer-clean-target-libgloss:
38601 @: $(MAKE); $(unstage)
38602 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
38603 r=`${PWD_COMMAND}`; export r; \
38604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38605 $(NORMAL_TARGET_EXPORTS) \
38606 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
38607 for flag in $(EXTRA_TARGET_FLAGS); do \
38608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38610 (cd $(TARGET_SUBDIR)/libgloss && \
38611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38613 "RANLIB=$${RANLIB}" \
38614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38615 maintainer-clean) \
38618 @endif target-libgloss
38624 .PHONY: configure-target-libffi maybe-configure-target-libffi
38625 maybe-configure-target-libffi:
38627 configure-target-libffi: stage_current
38628 @endif gcc-bootstrap
38630 maybe-configure-target-libffi: configure-target-libffi
38631 configure-target-libffi:
38632 @: $(MAKE); $(unstage)
38633 @r=`${PWD_COMMAND}`; export r; \
38634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38635 echo "Checking multilib configuration for libffi..."; \
38636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38637 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
38638 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
38639 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
38640 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
38642 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
38643 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38646 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
38648 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
38649 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
38650 $(NORMAL_TARGET_EXPORTS) \
38651 echo Configuring in $(TARGET_SUBDIR)/libffi; \
38652 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
38653 case $(srcdir) in \
38654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38655 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
38656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38658 srcdiroption="--srcdir=$${topdir}/libffi"; \
38659 libsrcdir="$$s/libffi"; \
38660 rm -f no-such-file || : ; \
38661 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38662 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38663 --target=${target_alias} $${srcdiroption} \
38665 @endif target-libffi
38671 .PHONY: all-target-libffi maybe-all-target-libffi
38672 maybe-all-target-libffi:
38674 all-target-libffi: stage_current
38675 @endif gcc-bootstrap
38677 TARGET-target-libffi=all
38678 maybe-all-target-libffi: all-target-libffi
38679 all-target-libffi: configure-target-libffi
38680 @: $(MAKE); $(unstage)
38681 @r=`${PWD_COMMAND}`; export r; \
38682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38683 $(NORMAL_TARGET_EXPORTS) \
38684 (cd $(TARGET_SUBDIR)/libffi && \
38685 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38686 $(TARGET-target-libffi))
38687 @endif target-libffi
38693 .PHONY: check-target-libffi maybe-check-target-libffi
38694 maybe-check-target-libffi:
38696 maybe-check-target-libffi: check-target-libffi
38698 check-target-libffi:
38699 @: $(MAKE); $(unstage)
38700 @r=`${PWD_COMMAND}`; export r; \
38701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38702 $(NORMAL_TARGET_EXPORTS) \
38703 (cd $(TARGET_SUBDIR)/libffi && \
38704 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38706 @endif target-libffi
38708 .PHONY: install-target-libffi maybe-install-target-libffi
38709 maybe-install-target-libffi:
38711 maybe-install-target-libffi: install-target-libffi
38713 install-target-libffi: installdirs
38714 @: $(MAKE); $(unstage)
38715 @r=`${PWD_COMMAND}`; export r; \
38716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38717 $(NORMAL_TARGET_EXPORTS) \
38718 (cd $(TARGET_SUBDIR)/libffi && \
38719 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38721 @endif target-libffi
38723 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
38724 maybe-install-strip-target-libffi:
38726 maybe-install-strip-target-libffi: install-strip-target-libffi
38728 install-strip-target-libffi: installdirs
38729 @: $(MAKE); $(unstage)
38730 @r=`${PWD_COMMAND}`; export r; \
38731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38732 $(NORMAL_TARGET_EXPORTS) \
38733 (cd $(TARGET_SUBDIR)/libffi && \
38734 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38736 @endif target-libffi
38738 # Other targets (info, dvi, pdf, etc.)
38740 .PHONY: maybe-info-target-libffi info-target-libffi
38741 maybe-info-target-libffi:
38743 maybe-info-target-libffi: info-target-libffi
38745 info-target-libffi: \
38746 configure-target-libffi
38747 @: $(MAKE); $(unstage)
38748 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38749 r=`${PWD_COMMAND}`; export r; \
38750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38751 $(NORMAL_TARGET_EXPORTS) \
38752 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
38753 for flag in $(EXTRA_TARGET_FLAGS); do \
38754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38756 (cd $(TARGET_SUBDIR)/libffi && \
38757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38759 "RANLIB=$${RANLIB}" \
38760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38764 @endif target-libffi
38766 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
38767 maybe-dvi-target-libffi:
38769 maybe-dvi-target-libffi: dvi-target-libffi
38771 dvi-target-libffi: \
38772 configure-target-libffi
38773 @: $(MAKE); $(unstage)
38774 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38775 r=`${PWD_COMMAND}`; export r; \
38776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38777 $(NORMAL_TARGET_EXPORTS) \
38778 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
38779 for flag in $(EXTRA_TARGET_FLAGS); do \
38780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38782 (cd $(TARGET_SUBDIR)/libffi && \
38783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38785 "RANLIB=$${RANLIB}" \
38786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38790 @endif target-libffi
38792 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
38793 maybe-pdf-target-libffi:
38795 maybe-pdf-target-libffi: pdf-target-libffi
38797 pdf-target-libffi: \
38798 configure-target-libffi
38799 @: $(MAKE); $(unstage)
38800 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38801 r=`${PWD_COMMAND}`; export r; \
38802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38803 $(NORMAL_TARGET_EXPORTS) \
38804 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
38805 for flag in $(EXTRA_TARGET_FLAGS); do \
38806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38808 (cd $(TARGET_SUBDIR)/libffi && \
38809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38811 "RANLIB=$${RANLIB}" \
38812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38816 @endif target-libffi
38818 .PHONY: maybe-html-target-libffi html-target-libffi
38819 maybe-html-target-libffi:
38821 maybe-html-target-libffi: html-target-libffi
38823 html-target-libffi: \
38824 configure-target-libffi
38825 @: $(MAKE); $(unstage)
38826 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38827 r=`${PWD_COMMAND}`; export r; \
38828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38829 $(NORMAL_TARGET_EXPORTS) \
38830 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
38831 for flag in $(EXTRA_TARGET_FLAGS); do \
38832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38834 (cd $(TARGET_SUBDIR)/libffi && \
38835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38837 "RANLIB=$${RANLIB}" \
38838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38842 @endif target-libffi
38844 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
38845 maybe-TAGS-target-libffi:
38847 maybe-TAGS-target-libffi: TAGS-target-libffi
38849 TAGS-target-libffi: \
38850 configure-target-libffi
38851 @: $(MAKE); $(unstage)
38852 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38853 r=`${PWD_COMMAND}`; export r; \
38854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38855 $(NORMAL_TARGET_EXPORTS) \
38856 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
38857 for flag in $(EXTRA_TARGET_FLAGS); do \
38858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38860 (cd $(TARGET_SUBDIR)/libffi && \
38861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38863 "RANLIB=$${RANLIB}" \
38864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38868 @endif target-libffi
38870 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
38871 maybe-install-info-target-libffi:
38873 maybe-install-info-target-libffi: install-info-target-libffi
38875 install-info-target-libffi: \
38876 configure-target-libffi \
38878 @: $(MAKE); $(unstage)
38879 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38880 r=`${PWD_COMMAND}`; export r; \
38881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38882 $(NORMAL_TARGET_EXPORTS) \
38883 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
38884 for flag in $(EXTRA_TARGET_FLAGS); do \
38885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38887 (cd $(TARGET_SUBDIR)/libffi && \
38888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38890 "RANLIB=$${RANLIB}" \
38891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38895 @endif target-libffi
38897 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
38898 maybe-install-pdf-target-libffi:
38900 maybe-install-pdf-target-libffi: install-pdf-target-libffi
38902 install-pdf-target-libffi: \
38903 configure-target-libffi \
38905 @: $(MAKE); $(unstage)
38906 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38907 r=`${PWD_COMMAND}`; export r; \
38908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38909 $(NORMAL_TARGET_EXPORTS) \
38910 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
38911 for flag in $(EXTRA_TARGET_FLAGS); do \
38912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38914 (cd $(TARGET_SUBDIR)/libffi && \
38915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38917 "RANLIB=$${RANLIB}" \
38918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38922 @endif target-libffi
38924 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
38925 maybe-install-html-target-libffi:
38927 maybe-install-html-target-libffi: install-html-target-libffi
38929 install-html-target-libffi: \
38930 configure-target-libffi \
38932 @: $(MAKE); $(unstage)
38933 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38934 r=`${PWD_COMMAND}`; export r; \
38935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38936 $(NORMAL_TARGET_EXPORTS) \
38937 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
38938 for flag in $(EXTRA_TARGET_FLAGS); do \
38939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38941 (cd $(TARGET_SUBDIR)/libffi && \
38942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38944 "RANLIB=$${RANLIB}" \
38945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38949 @endif target-libffi
38951 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
38952 maybe-installcheck-target-libffi:
38954 maybe-installcheck-target-libffi: installcheck-target-libffi
38956 installcheck-target-libffi: \
38957 configure-target-libffi
38958 @: $(MAKE); $(unstage)
38959 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38960 r=`${PWD_COMMAND}`; export r; \
38961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38962 $(NORMAL_TARGET_EXPORTS) \
38963 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
38964 for flag in $(EXTRA_TARGET_FLAGS); do \
38965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38967 (cd $(TARGET_SUBDIR)/libffi && \
38968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38970 "RANLIB=$${RANLIB}" \
38971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38975 @endif target-libffi
38977 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
38978 maybe-mostlyclean-target-libffi:
38980 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
38982 mostlyclean-target-libffi:
38983 @: $(MAKE); $(unstage)
38984 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38985 r=`${PWD_COMMAND}`; export r; \
38986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38987 $(NORMAL_TARGET_EXPORTS) \
38988 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
38989 for flag in $(EXTRA_TARGET_FLAGS); do \
38990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38992 (cd $(TARGET_SUBDIR)/libffi && \
38993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38995 "RANLIB=$${RANLIB}" \
38996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39000 @endif target-libffi
39002 .PHONY: maybe-clean-target-libffi clean-target-libffi
39003 maybe-clean-target-libffi:
39005 maybe-clean-target-libffi: clean-target-libffi
39007 clean-target-libffi:
39008 @: $(MAKE); $(unstage)
39009 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39010 r=`${PWD_COMMAND}`; export r; \
39011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39012 $(NORMAL_TARGET_EXPORTS) \
39013 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
39014 for flag in $(EXTRA_TARGET_FLAGS); do \
39015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39017 (cd $(TARGET_SUBDIR)/libffi && \
39018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39020 "RANLIB=$${RANLIB}" \
39021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39025 @endif target-libffi
39027 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
39028 maybe-distclean-target-libffi:
39030 maybe-distclean-target-libffi: distclean-target-libffi
39032 distclean-target-libffi:
39033 @: $(MAKE); $(unstage)
39034 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39035 r=`${PWD_COMMAND}`; export r; \
39036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39037 $(NORMAL_TARGET_EXPORTS) \
39038 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
39039 for flag in $(EXTRA_TARGET_FLAGS); do \
39040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39042 (cd $(TARGET_SUBDIR)/libffi && \
39043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39045 "RANLIB=$${RANLIB}" \
39046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39050 @endif target-libffi
39052 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
39053 maybe-maintainer-clean-target-libffi:
39055 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
39057 maintainer-clean-target-libffi:
39058 @: $(MAKE); $(unstage)
39059 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
39060 r=`${PWD_COMMAND}`; export r; \
39061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39062 $(NORMAL_TARGET_EXPORTS) \
39063 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
39064 for flag in $(EXTRA_TARGET_FLAGS); do \
39065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39067 (cd $(TARGET_SUBDIR)/libffi && \
39068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39070 "RANLIB=$${RANLIB}" \
39071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39072 maintainer-clean) \
39075 @endif target-libffi
39081 .PHONY: configure-target-libjava maybe-configure-target-libjava
39082 maybe-configure-target-libjava:
39084 configure-target-libjava: stage_current
39085 @endif gcc-bootstrap
39087 maybe-configure-target-libjava: configure-target-libjava
39088 configure-target-libjava:
39089 @: $(MAKE); $(unstage)
39090 @r=`${PWD_COMMAND}`; export r; \
39091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39092 echo "Checking multilib configuration for libjava..."; \
39093 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
39094 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
39095 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
39096 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
39097 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
39099 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
39100 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
39103 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
39105 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
39106 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
39107 $(RAW_CXX_TARGET_EXPORTS) \
39108 echo Configuring in $(TARGET_SUBDIR)/libjava; \
39109 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
39110 case $(srcdir) in \
39111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39112 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
39113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39115 srcdiroption="--srcdir=$${topdir}/libjava"; \
39116 libsrcdir="$$s/libjava"; \
39117 rm -f no-such-file || : ; \
39118 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39119 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39120 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
39122 @endif target-libjava
39128 .PHONY: all-target-libjava maybe-all-target-libjava
39129 maybe-all-target-libjava:
39131 all-target-libjava: stage_current
39132 @endif gcc-bootstrap
39134 TARGET-target-libjava=all
39135 maybe-all-target-libjava: all-target-libjava
39136 all-target-libjava: configure-target-libjava
39137 @: $(MAKE); $(unstage)
39138 @r=`${PWD_COMMAND}`; export r; \
39139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39140 $(RAW_CXX_TARGET_EXPORTS) \
39141 (cd $(TARGET_SUBDIR)/libjava && \
39142 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39143 $(TARGET-target-libjava))
39144 @endif target-libjava
39150 .PHONY: check-target-libjava maybe-check-target-libjava
39151 maybe-check-target-libjava:
39153 maybe-check-target-libjava: check-target-libjava
39155 check-target-libjava:
39156 @: $(MAKE); $(unstage)
39157 @r=`${PWD_COMMAND}`; export r; \
39158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39159 $(RAW_CXX_TARGET_EXPORTS) \
39160 (cd $(TARGET_SUBDIR)/libjava && \
39161 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
39163 @endif target-libjava
39165 .PHONY: install-target-libjava maybe-install-target-libjava
39166 maybe-install-target-libjava:
39168 maybe-install-target-libjava: install-target-libjava
39170 install-target-libjava: installdirs
39171 @: $(MAKE); $(unstage)
39172 @r=`${PWD_COMMAND}`; export r; \
39173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39174 $(RAW_CXX_TARGET_EXPORTS) \
39175 (cd $(TARGET_SUBDIR)/libjava && \
39176 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39178 @endif target-libjava
39180 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
39181 maybe-install-strip-target-libjava:
39183 maybe-install-strip-target-libjava: install-strip-target-libjava
39185 install-strip-target-libjava: installdirs
39186 @: $(MAKE); $(unstage)
39187 @r=`${PWD_COMMAND}`; export r; \
39188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39189 $(RAW_CXX_TARGET_EXPORTS) \
39190 (cd $(TARGET_SUBDIR)/libjava && \
39191 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39193 @endif target-libjava
39195 # Other targets (info, dvi, pdf, etc.)
39197 .PHONY: maybe-info-target-libjava info-target-libjava
39198 maybe-info-target-libjava:
39200 maybe-info-target-libjava: info-target-libjava
39202 info-target-libjava: \
39203 configure-target-libjava
39204 @: $(MAKE); $(unstage)
39205 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39206 r=`${PWD_COMMAND}`; export r; \
39207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39208 $(RAW_CXX_TARGET_EXPORTS) \
39209 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
39210 for flag in $(EXTRA_TARGET_FLAGS); do \
39211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39213 (cd $(TARGET_SUBDIR)/libjava && \
39214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39216 "RANLIB=$${RANLIB}" \
39217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39221 @endif target-libjava
39223 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
39224 maybe-dvi-target-libjava:
39226 maybe-dvi-target-libjava: dvi-target-libjava
39228 dvi-target-libjava: \
39229 configure-target-libjava
39230 @: $(MAKE); $(unstage)
39231 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39232 r=`${PWD_COMMAND}`; export r; \
39233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39234 $(RAW_CXX_TARGET_EXPORTS) \
39235 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
39236 for flag in $(EXTRA_TARGET_FLAGS); do \
39237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39239 (cd $(TARGET_SUBDIR)/libjava && \
39240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39242 "RANLIB=$${RANLIB}" \
39243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39247 @endif target-libjava
39249 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
39250 maybe-pdf-target-libjava:
39252 maybe-pdf-target-libjava: pdf-target-libjava
39254 pdf-target-libjava: \
39255 configure-target-libjava
39256 @: $(MAKE); $(unstage)
39257 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39258 r=`${PWD_COMMAND}`; export r; \
39259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39260 $(RAW_CXX_TARGET_EXPORTS) \
39261 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
39262 for flag in $(EXTRA_TARGET_FLAGS); do \
39263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39265 (cd $(TARGET_SUBDIR)/libjava && \
39266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39268 "RANLIB=$${RANLIB}" \
39269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39273 @endif target-libjava
39275 .PHONY: maybe-html-target-libjava html-target-libjava
39276 maybe-html-target-libjava:
39278 maybe-html-target-libjava: html-target-libjava
39280 html-target-libjava: \
39281 configure-target-libjava
39282 @: $(MAKE); $(unstage)
39283 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39284 r=`${PWD_COMMAND}`; export r; \
39285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39286 $(RAW_CXX_TARGET_EXPORTS) \
39287 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
39288 for flag in $(EXTRA_TARGET_FLAGS); do \
39289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39291 (cd $(TARGET_SUBDIR)/libjava && \
39292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39294 "RANLIB=$${RANLIB}" \
39295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39299 @endif target-libjava
39301 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
39302 maybe-TAGS-target-libjava:
39304 maybe-TAGS-target-libjava: TAGS-target-libjava
39306 TAGS-target-libjava: \
39307 configure-target-libjava
39308 @: $(MAKE); $(unstage)
39309 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39310 r=`${PWD_COMMAND}`; export r; \
39311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39312 $(RAW_CXX_TARGET_EXPORTS) \
39313 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
39314 for flag in $(EXTRA_TARGET_FLAGS); do \
39315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39317 (cd $(TARGET_SUBDIR)/libjava && \
39318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39320 "RANLIB=$${RANLIB}" \
39321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39325 @endif target-libjava
39327 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
39328 maybe-install-info-target-libjava:
39330 maybe-install-info-target-libjava: install-info-target-libjava
39332 install-info-target-libjava: \
39333 configure-target-libjava \
39334 info-target-libjava
39335 @: $(MAKE); $(unstage)
39336 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39337 r=`${PWD_COMMAND}`; export r; \
39338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39339 $(RAW_CXX_TARGET_EXPORTS) \
39340 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
39341 for flag in $(EXTRA_TARGET_FLAGS); do \
39342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39344 (cd $(TARGET_SUBDIR)/libjava && \
39345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39347 "RANLIB=$${RANLIB}" \
39348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39352 @endif target-libjava
39354 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
39355 maybe-install-pdf-target-libjava:
39357 maybe-install-pdf-target-libjava: install-pdf-target-libjava
39359 install-pdf-target-libjava: \
39360 configure-target-libjava \
39362 @: $(MAKE); $(unstage)
39363 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39364 r=`${PWD_COMMAND}`; export r; \
39365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39366 $(RAW_CXX_TARGET_EXPORTS) \
39367 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
39368 for flag in $(EXTRA_TARGET_FLAGS); do \
39369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39371 (cd $(TARGET_SUBDIR)/libjava && \
39372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39374 "RANLIB=$${RANLIB}" \
39375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39379 @endif target-libjava
39381 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
39382 maybe-install-html-target-libjava:
39384 maybe-install-html-target-libjava: install-html-target-libjava
39386 install-html-target-libjava: \
39387 configure-target-libjava \
39388 html-target-libjava
39389 @: $(MAKE); $(unstage)
39390 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39391 r=`${PWD_COMMAND}`; export r; \
39392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39393 $(RAW_CXX_TARGET_EXPORTS) \
39394 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
39395 for flag in $(EXTRA_TARGET_FLAGS); do \
39396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39398 (cd $(TARGET_SUBDIR)/libjava && \
39399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39401 "RANLIB=$${RANLIB}" \
39402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39406 @endif target-libjava
39408 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
39409 maybe-installcheck-target-libjava:
39411 maybe-installcheck-target-libjava: installcheck-target-libjava
39413 installcheck-target-libjava: \
39414 configure-target-libjava
39415 @: $(MAKE); $(unstage)
39416 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39417 r=`${PWD_COMMAND}`; export r; \
39418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39419 $(RAW_CXX_TARGET_EXPORTS) \
39420 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
39421 for flag in $(EXTRA_TARGET_FLAGS); do \
39422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39424 (cd $(TARGET_SUBDIR)/libjava && \
39425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39427 "RANLIB=$${RANLIB}" \
39428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39432 @endif target-libjava
39434 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
39435 maybe-mostlyclean-target-libjava:
39437 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
39439 mostlyclean-target-libjava:
39440 @: $(MAKE); $(unstage)
39441 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39442 r=`${PWD_COMMAND}`; export r; \
39443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39444 $(RAW_CXX_TARGET_EXPORTS) \
39445 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
39446 for flag in $(EXTRA_TARGET_FLAGS); do \
39447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39449 (cd $(TARGET_SUBDIR)/libjava && \
39450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39452 "RANLIB=$${RANLIB}" \
39453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39457 @endif target-libjava
39459 .PHONY: maybe-clean-target-libjava clean-target-libjava
39460 maybe-clean-target-libjava:
39462 maybe-clean-target-libjava: clean-target-libjava
39464 clean-target-libjava:
39465 @: $(MAKE); $(unstage)
39466 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39467 r=`${PWD_COMMAND}`; export r; \
39468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39469 $(RAW_CXX_TARGET_EXPORTS) \
39470 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
39471 for flag in $(EXTRA_TARGET_FLAGS); do \
39472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39474 (cd $(TARGET_SUBDIR)/libjava && \
39475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39477 "RANLIB=$${RANLIB}" \
39478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39482 @endif target-libjava
39484 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
39485 maybe-distclean-target-libjava:
39487 maybe-distclean-target-libjava: distclean-target-libjava
39489 distclean-target-libjava:
39490 @: $(MAKE); $(unstage)
39491 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39492 r=`${PWD_COMMAND}`; export r; \
39493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39494 $(RAW_CXX_TARGET_EXPORTS) \
39495 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
39496 for flag in $(EXTRA_TARGET_FLAGS); do \
39497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39499 (cd $(TARGET_SUBDIR)/libjava && \
39500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39502 "RANLIB=$${RANLIB}" \
39503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39507 @endif target-libjava
39509 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
39510 maybe-maintainer-clean-target-libjava:
39512 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
39514 maintainer-clean-target-libjava:
39515 @: $(MAKE); $(unstage)
39516 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
39517 r=`${PWD_COMMAND}`; export r; \
39518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39519 $(RAW_CXX_TARGET_EXPORTS) \
39520 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
39521 for flag in $(EXTRA_TARGET_FLAGS); do \
39522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39524 (cd $(TARGET_SUBDIR)/libjava && \
39525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39527 "RANLIB=$${RANLIB}" \
39528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39529 maintainer-clean) \
39532 @endif target-libjava
39538 .PHONY: configure-target-zlib maybe-configure-target-zlib
39539 maybe-configure-target-zlib:
39541 configure-target-zlib: stage_current
39542 @endif gcc-bootstrap
39544 maybe-configure-target-zlib: configure-target-zlib
39545 configure-target-zlib:
39546 @: $(MAKE); $(unstage)
39547 @r=`${PWD_COMMAND}`; export r; \
39548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39549 echo "Checking multilib configuration for zlib..."; \
39550 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39551 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
39552 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
39553 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
39554 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
39556 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
39557 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39560 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
39562 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
39563 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
39564 $(NORMAL_TARGET_EXPORTS) \
39565 echo Configuring in $(TARGET_SUBDIR)/zlib; \
39566 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
39567 case $(srcdir) in \
39568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39569 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
39570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39572 srcdiroption="--srcdir=$${topdir}/zlib"; \
39573 libsrcdir="$$s/zlib"; \
39574 rm -f no-such-file || : ; \
39575 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39576 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39577 --target=${target_alias} $${srcdiroption} \
39585 .PHONY: all-target-zlib maybe-all-target-zlib
39586 maybe-all-target-zlib:
39588 all-target-zlib: stage_current
39589 @endif gcc-bootstrap
39591 TARGET-target-zlib=all
39592 maybe-all-target-zlib: all-target-zlib
39593 all-target-zlib: configure-target-zlib
39594 @: $(MAKE); $(unstage)
39595 @r=`${PWD_COMMAND}`; export r; \
39596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39597 $(NORMAL_TARGET_EXPORTS) \
39598 (cd $(TARGET_SUBDIR)/zlib && \
39599 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39600 $(TARGET-target-zlib))
39607 .PHONY: check-target-zlib maybe-check-target-zlib
39608 maybe-check-target-zlib:
39610 maybe-check-target-zlib: check-target-zlib
39613 @: $(MAKE); $(unstage)
39614 @r=`${PWD_COMMAND}`; export r; \
39615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39616 $(NORMAL_TARGET_EXPORTS) \
39617 (cd $(TARGET_SUBDIR)/zlib && \
39618 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39622 .PHONY: install-target-zlib maybe-install-target-zlib
39623 maybe-install-target-zlib:
39625 maybe-install-target-zlib: install-target-zlib
39627 install-target-zlib: installdirs
39628 @: $(MAKE); $(unstage)
39629 @r=`${PWD_COMMAND}`; export r; \
39630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39631 $(NORMAL_TARGET_EXPORTS) \
39632 (cd $(TARGET_SUBDIR)/zlib && \
39633 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39637 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
39638 maybe-install-strip-target-zlib:
39640 maybe-install-strip-target-zlib: install-strip-target-zlib
39642 install-strip-target-zlib: installdirs
39643 @: $(MAKE); $(unstage)
39644 @r=`${PWD_COMMAND}`; export r; \
39645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39646 $(NORMAL_TARGET_EXPORTS) \
39647 (cd $(TARGET_SUBDIR)/zlib && \
39648 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39652 # Other targets (info, dvi, pdf, etc.)
39654 .PHONY: maybe-info-target-zlib info-target-zlib
39655 maybe-info-target-zlib:
39657 maybe-info-target-zlib: info-target-zlib
39659 info-target-zlib: \
39660 configure-target-zlib
39661 @: $(MAKE); $(unstage)
39662 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39663 r=`${PWD_COMMAND}`; export r; \
39664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39665 $(NORMAL_TARGET_EXPORTS) \
39666 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
39667 for flag in $(EXTRA_TARGET_FLAGS); do \
39668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39670 (cd $(TARGET_SUBDIR)/zlib && \
39671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39673 "RANLIB=$${RANLIB}" \
39674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39680 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
39681 maybe-dvi-target-zlib:
39683 maybe-dvi-target-zlib: dvi-target-zlib
39686 configure-target-zlib
39687 @: $(MAKE); $(unstage)
39688 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39689 r=`${PWD_COMMAND}`; export r; \
39690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39691 $(NORMAL_TARGET_EXPORTS) \
39692 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
39693 for flag in $(EXTRA_TARGET_FLAGS); do \
39694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39696 (cd $(TARGET_SUBDIR)/zlib && \
39697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39699 "RANLIB=$${RANLIB}" \
39700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39706 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
39707 maybe-pdf-target-zlib:
39709 maybe-pdf-target-zlib: pdf-target-zlib
39712 configure-target-zlib
39713 @: $(MAKE); $(unstage)
39714 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39715 r=`${PWD_COMMAND}`; export r; \
39716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39717 $(NORMAL_TARGET_EXPORTS) \
39718 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
39719 for flag in $(EXTRA_TARGET_FLAGS); do \
39720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39722 (cd $(TARGET_SUBDIR)/zlib && \
39723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39725 "RANLIB=$${RANLIB}" \
39726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39732 .PHONY: maybe-html-target-zlib html-target-zlib
39733 maybe-html-target-zlib:
39735 maybe-html-target-zlib: html-target-zlib
39737 html-target-zlib: \
39738 configure-target-zlib
39739 @: $(MAKE); $(unstage)
39740 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39741 r=`${PWD_COMMAND}`; export r; \
39742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39743 $(NORMAL_TARGET_EXPORTS) \
39744 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
39745 for flag in $(EXTRA_TARGET_FLAGS); do \
39746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39748 (cd $(TARGET_SUBDIR)/zlib && \
39749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39751 "RANLIB=$${RANLIB}" \
39752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39758 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
39759 maybe-TAGS-target-zlib:
39761 maybe-TAGS-target-zlib: TAGS-target-zlib
39763 TAGS-target-zlib: \
39764 configure-target-zlib
39765 @: $(MAKE); $(unstage)
39766 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39767 r=`${PWD_COMMAND}`; export r; \
39768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39769 $(NORMAL_TARGET_EXPORTS) \
39770 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
39771 for flag in $(EXTRA_TARGET_FLAGS); do \
39772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39774 (cd $(TARGET_SUBDIR)/zlib && \
39775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39777 "RANLIB=$${RANLIB}" \
39778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39784 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
39785 maybe-install-info-target-zlib:
39787 maybe-install-info-target-zlib: install-info-target-zlib
39789 install-info-target-zlib: \
39790 configure-target-zlib \
39792 @: $(MAKE); $(unstage)
39793 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39794 r=`${PWD_COMMAND}`; export r; \
39795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39796 $(NORMAL_TARGET_EXPORTS) \
39797 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
39798 for flag in $(EXTRA_TARGET_FLAGS); do \
39799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39801 (cd $(TARGET_SUBDIR)/zlib && \
39802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39804 "RANLIB=$${RANLIB}" \
39805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39811 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
39812 maybe-install-pdf-target-zlib:
39814 maybe-install-pdf-target-zlib: install-pdf-target-zlib
39816 install-pdf-target-zlib: \
39817 configure-target-zlib \
39819 @: $(MAKE); $(unstage)
39820 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39821 r=`${PWD_COMMAND}`; export r; \
39822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39823 $(NORMAL_TARGET_EXPORTS) \
39824 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
39825 for flag in $(EXTRA_TARGET_FLAGS); do \
39826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39828 (cd $(TARGET_SUBDIR)/zlib && \
39829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39831 "RANLIB=$${RANLIB}" \
39832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39838 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
39839 maybe-install-html-target-zlib:
39841 maybe-install-html-target-zlib: install-html-target-zlib
39843 install-html-target-zlib: \
39844 configure-target-zlib \
39846 @: $(MAKE); $(unstage)
39847 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39848 r=`${PWD_COMMAND}`; export r; \
39849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39850 $(NORMAL_TARGET_EXPORTS) \
39851 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
39852 for flag in $(EXTRA_TARGET_FLAGS); do \
39853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39855 (cd $(TARGET_SUBDIR)/zlib && \
39856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39858 "RANLIB=$${RANLIB}" \
39859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39865 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
39866 maybe-installcheck-target-zlib:
39868 maybe-installcheck-target-zlib: installcheck-target-zlib
39870 installcheck-target-zlib: \
39871 configure-target-zlib
39872 @: $(MAKE); $(unstage)
39873 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39874 r=`${PWD_COMMAND}`; export r; \
39875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39876 $(NORMAL_TARGET_EXPORTS) \
39877 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
39878 for flag in $(EXTRA_TARGET_FLAGS); do \
39879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39881 (cd $(TARGET_SUBDIR)/zlib && \
39882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39884 "RANLIB=$${RANLIB}" \
39885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39891 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
39892 maybe-mostlyclean-target-zlib:
39894 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
39896 mostlyclean-target-zlib:
39897 @: $(MAKE); $(unstage)
39898 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39899 r=`${PWD_COMMAND}`; export r; \
39900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39901 $(NORMAL_TARGET_EXPORTS) \
39902 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
39903 for flag in $(EXTRA_TARGET_FLAGS); do \
39904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39906 (cd $(TARGET_SUBDIR)/zlib && \
39907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39909 "RANLIB=$${RANLIB}" \
39910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39916 .PHONY: maybe-clean-target-zlib clean-target-zlib
39917 maybe-clean-target-zlib:
39919 maybe-clean-target-zlib: clean-target-zlib
39922 @: $(MAKE); $(unstage)
39923 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39924 r=`${PWD_COMMAND}`; export r; \
39925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39926 $(NORMAL_TARGET_EXPORTS) \
39927 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
39928 for flag in $(EXTRA_TARGET_FLAGS); do \
39929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39931 (cd $(TARGET_SUBDIR)/zlib && \
39932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39934 "RANLIB=$${RANLIB}" \
39935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39941 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
39942 maybe-distclean-target-zlib:
39944 maybe-distclean-target-zlib: distclean-target-zlib
39946 distclean-target-zlib:
39947 @: $(MAKE); $(unstage)
39948 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39949 r=`${PWD_COMMAND}`; export r; \
39950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39951 $(NORMAL_TARGET_EXPORTS) \
39952 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
39953 for flag in $(EXTRA_TARGET_FLAGS); do \
39954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39956 (cd $(TARGET_SUBDIR)/zlib && \
39957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39959 "RANLIB=$${RANLIB}" \
39960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39966 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
39967 maybe-maintainer-clean-target-zlib:
39969 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
39971 maintainer-clean-target-zlib:
39972 @: $(MAKE); $(unstage)
39973 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
39974 r=`${PWD_COMMAND}`; export r; \
39975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39976 $(NORMAL_TARGET_EXPORTS) \
39977 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
39978 for flag in $(EXTRA_TARGET_FLAGS); do \
39979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39981 (cd $(TARGET_SUBDIR)/zlib && \
39982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39984 "RANLIB=$${RANLIB}" \
39985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39986 maintainer-clean) \
39995 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
39996 maybe-configure-target-boehm-gc:
39998 configure-target-boehm-gc: stage_current
39999 @endif gcc-bootstrap
40000 @if target-boehm-gc
40001 maybe-configure-target-boehm-gc: configure-target-boehm-gc
40002 configure-target-boehm-gc:
40003 @: $(MAKE); $(unstage)
40004 @r=`${PWD_COMMAND}`; export r; \
40005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40006 echo "Checking multilib configuration for boehm-gc..."; \
40007 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40008 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
40009 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40010 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
40011 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
40013 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
40014 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40017 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
40019 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
40020 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
40021 $(NORMAL_TARGET_EXPORTS) \
40022 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
40023 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
40024 case $(srcdir) in \
40025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40026 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
40027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40029 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
40030 libsrcdir="$$s/boehm-gc"; \
40031 rm -f no-such-file || : ; \
40032 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40033 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40034 --target=${target_alias} $${srcdiroption} \
40036 @endif target-boehm-gc
40042 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
40043 maybe-all-target-boehm-gc:
40045 all-target-boehm-gc: stage_current
40046 @endif gcc-bootstrap
40047 @if target-boehm-gc
40048 TARGET-target-boehm-gc=all
40049 maybe-all-target-boehm-gc: all-target-boehm-gc
40050 all-target-boehm-gc: configure-target-boehm-gc
40051 @: $(MAKE); $(unstage)
40052 @r=`${PWD_COMMAND}`; export r; \
40053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40054 $(NORMAL_TARGET_EXPORTS) \
40055 (cd $(TARGET_SUBDIR)/boehm-gc && \
40056 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40057 $(TARGET-target-boehm-gc))
40058 @endif target-boehm-gc
40064 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
40065 maybe-check-target-boehm-gc:
40066 @if target-boehm-gc
40067 maybe-check-target-boehm-gc: check-target-boehm-gc
40069 check-target-boehm-gc:
40070 @: $(MAKE); $(unstage)
40071 @r=`${PWD_COMMAND}`; export r; \
40072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40073 $(NORMAL_TARGET_EXPORTS) \
40074 (cd $(TARGET_SUBDIR)/boehm-gc && \
40075 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40077 @endif target-boehm-gc
40079 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
40080 maybe-install-target-boehm-gc:
40081 @if target-boehm-gc
40082 maybe-install-target-boehm-gc: install-target-boehm-gc
40084 install-target-boehm-gc: installdirs
40085 @: $(MAKE); $(unstage)
40086 @r=`${PWD_COMMAND}`; export r; \
40087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40088 $(NORMAL_TARGET_EXPORTS) \
40089 (cd $(TARGET_SUBDIR)/boehm-gc && \
40090 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40092 @endif target-boehm-gc
40094 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
40095 maybe-install-strip-target-boehm-gc:
40096 @if target-boehm-gc
40097 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
40099 install-strip-target-boehm-gc: installdirs
40100 @: $(MAKE); $(unstage)
40101 @r=`${PWD_COMMAND}`; export r; \
40102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40103 $(NORMAL_TARGET_EXPORTS) \
40104 (cd $(TARGET_SUBDIR)/boehm-gc && \
40105 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40107 @endif target-boehm-gc
40109 # Other targets (info, dvi, pdf, etc.)
40111 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
40112 maybe-info-target-boehm-gc:
40113 @if target-boehm-gc
40114 maybe-info-target-boehm-gc: info-target-boehm-gc
40116 info-target-boehm-gc: \
40117 configure-target-boehm-gc
40118 @: $(MAKE); $(unstage)
40119 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40120 r=`${PWD_COMMAND}`; export r; \
40121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40122 $(NORMAL_TARGET_EXPORTS) \
40123 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
40124 for flag in $(EXTRA_TARGET_FLAGS); do \
40125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40127 (cd $(TARGET_SUBDIR)/boehm-gc && \
40128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40130 "RANLIB=$${RANLIB}" \
40131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40135 @endif target-boehm-gc
40137 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
40138 maybe-dvi-target-boehm-gc:
40139 @if target-boehm-gc
40140 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
40142 dvi-target-boehm-gc: \
40143 configure-target-boehm-gc
40144 @: $(MAKE); $(unstage)
40145 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40146 r=`${PWD_COMMAND}`; export r; \
40147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40148 $(NORMAL_TARGET_EXPORTS) \
40149 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
40150 for flag in $(EXTRA_TARGET_FLAGS); do \
40151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40153 (cd $(TARGET_SUBDIR)/boehm-gc && \
40154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40156 "RANLIB=$${RANLIB}" \
40157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40161 @endif target-boehm-gc
40163 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
40164 maybe-pdf-target-boehm-gc:
40165 @if target-boehm-gc
40166 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
40168 pdf-target-boehm-gc: \
40169 configure-target-boehm-gc
40170 @: $(MAKE); $(unstage)
40171 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40172 r=`${PWD_COMMAND}`; export r; \
40173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40174 $(NORMAL_TARGET_EXPORTS) \
40175 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
40176 for flag in $(EXTRA_TARGET_FLAGS); do \
40177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40179 (cd $(TARGET_SUBDIR)/boehm-gc && \
40180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40182 "RANLIB=$${RANLIB}" \
40183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40187 @endif target-boehm-gc
40189 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
40190 maybe-html-target-boehm-gc:
40191 @if target-boehm-gc
40192 maybe-html-target-boehm-gc: html-target-boehm-gc
40194 html-target-boehm-gc: \
40195 configure-target-boehm-gc
40196 @: $(MAKE); $(unstage)
40197 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40198 r=`${PWD_COMMAND}`; export r; \
40199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40200 $(NORMAL_TARGET_EXPORTS) \
40201 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
40202 for flag in $(EXTRA_TARGET_FLAGS); do \
40203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40205 (cd $(TARGET_SUBDIR)/boehm-gc && \
40206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40208 "RANLIB=$${RANLIB}" \
40209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40213 @endif target-boehm-gc
40215 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
40216 maybe-TAGS-target-boehm-gc:
40217 @if target-boehm-gc
40218 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
40220 TAGS-target-boehm-gc: \
40221 configure-target-boehm-gc
40222 @: $(MAKE); $(unstage)
40223 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40224 r=`${PWD_COMMAND}`; export r; \
40225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40226 $(NORMAL_TARGET_EXPORTS) \
40227 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
40228 for flag in $(EXTRA_TARGET_FLAGS); do \
40229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40231 (cd $(TARGET_SUBDIR)/boehm-gc && \
40232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40234 "RANLIB=$${RANLIB}" \
40235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40239 @endif target-boehm-gc
40241 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
40242 maybe-install-info-target-boehm-gc:
40243 @if target-boehm-gc
40244 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
40246 install-info-target-boehm-gc: \
40247 configure-target-boehm-gc \
40248 info-target-boehm-gc
40249 @: $(MAKE); $(unstage)
40250 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40251 r=`${PWD_COMMAND}`; export r; \
40252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40253 $(NORMAL_TARGET_EXPORTS) \
40254 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
40255 for flag in $(EXTRA_TARGET_FLAGS); do \
40256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40258 (cd $(TARGET_SUBDIR)/boehm-gc && \
40259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40261 "RANLIB=$${RANLIB}" \
40262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40266 @endif target-boehm-gc
40268 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
40269 maybe-install-pdf-target-boehm-gc:
40270 @if target-boehm-gc
40271 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
40273 install-pdf-target-boehm-gc: \
40274 configure-target-boehm-gc \
40275 pdf-target-boehm-gc
40276 @: $(MAKE); $(unstage)
40277 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40278 r=`${PWD_COMMAND}`; export r; \
40279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40280 $(NORMAL_TARGET_EXPORTS) \
40281 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
40282 for flag in $(EXTRA_TARGET_FLAGS); do \
40283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40285 (cd $(TARGET_SUBDIR)/boehm-gc && \
40286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40288 "RANLIB=$${RANLIB}" \
40289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40293 @endif target-boehm-gc
40295 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
40296 maybe-install-html-target-boehm-gc:
40297 @if target-boehm-gc
40298 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
40300 install-html-target-boehm-gc: \
40301 configure-target-boehm-gc \
40302 html-target-boehm-gc
40303 @: $(MAKE); $(unstage)
40304 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40305 r=`${PWD_COMMAND}`; export r; \
40306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40307 $(NORMAL_TARGET_EXPORTS) \
40308 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
40309 for flag in $(EXTRA_TARGET_FLAGS); do \
40310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40312 (cd $(TARGET_SUBDIR)/boehm-gc && \
40313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40315 "RANLIB=$${RANLIB}" \
40316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40320 @endif target-boehm-gc
40322 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
40323 maybe-installcheck-target-boehm-gc:
40324 @if target-boehm-gc
40325 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
40327 installcheck-target-boehm-gc: \
40328 configure-target-boehm-gc
40329 @: $(MAKE); $(unstage)
40330 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40331 r=`${PWD_COMMAND}`; export r; \
40332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40333 $(NORMAL_TARGET_EXPORTS) \
40334 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
40335 for flag in $(EXTRA_TARGET_FLAGS); do \
40336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40338 (cd $(TARGET_SUBDIR)/boehm-gc && \
40339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40341 "RANLIB=$${RANLIB}" \
40342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40346 @endif target-boehm-gc
40348 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
40349 maybe-mostlyclean-target-boehm-gc:
40350 @if target-boehm-gc
40351 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
40353 mostlyclean-target-boehm-gc:
40354 @: $(MAKE); $(unstage)
40355 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40356 r=`${PWD_COMMAND}`; export r; \
40357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40358 $(NORMAL_TARGET_EXPORTS) \
40359 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40360 for flag in $(EXTRA_TARGET_FLAGS); do \
40361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40363 (cd $(TARGET_SUBDIR)/boehm-gc && \
40364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40366 "RANLIB=$${RANLIB}" \
40367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40371 @endif target-boehm-gc
40373 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
40374 maybe-clean-target-boehm-gc:
40375 @if target-boehm-gc
40376 maybe-clean-target-boehm-gc: clean-target-boehm-gc
40378 clean-target-boehm-gc:
40379 @: $(MAKE); $(unstage)
40380 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40381 r=`${PWD_COMMAND}`; export r; \
40382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40383 $(NORMAL_TARGET_EXPORTS) \
40384 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40385 for flag in $(EXTRA_TARGET_FLAGS); do \
40386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40388 (cd $(TARGET_SUBDIR)/boehm-gc && \
40389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40391 "RANLIB=$${RANLIB}" \
40392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40396 @endif target-boehm-gc
40398 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
40399 maybe-distclean-target-boehm-gc:
40400 @if target-boehm-gc
40401 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
40403 distclean-target-boehm-gc:
40404 @: $(MAKE); $(unstage)
40405 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40406 r=`${PWD_COMMAND}`; export r; \
40407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40408 $(NORMAL_TARGET_EXPORTS) \
40409 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
40410 for flag in $(EXTRA_TARGET_FLAGS); do \
40411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40413 (cd $(TARGET_SUBDIR)/boehm-gc && \
40414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40416 "RANLIB=$${RANLIB}" \
40417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40421 @endif target-boehm-gc
40423 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
40424 maybe-maintainer-clean-target-boehm-gc:
40425 @if target-boehm-gc
40426 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
40428 maintainer-clean-target-boehm-gc:
40429 @: $(MAKE); $(unstage)
40430 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
40431 r=`${PWD_COMMAND}`; export r; \
40432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40433 $(NORMAL_TARGET_EXPORTS) \
40434 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
40435 for flag in $(EXTRA_TARGET_FLAGS); do \
40436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40438 (cd $(TARGET_SUBDIR)/boehm-gc && \
40439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40441 "RANLIB=$${RANLIB}" \
40442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40443 maintainer-clean) \
40446 @endif target-boehm-gc
40452 .PHONY: configure-target-rda maybe-configure-target-rda
40453 maybe-configure-target-rda:
40455 configure-target-rda: stage_current
40456 @endif gcc-bootstrap
40458 maybe-configure-target-rda: configure-target-rda
40459 configure-target-rda:
40460 @: $(MAKE); $(unstage)
40461 @r=`${PWD_COMMAND}`; export r; \
40462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40463 echo "Checking multilib configuration for rda..."; \
40464 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40465 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
40466 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
40467 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
40468 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
40470 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
40471 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40474 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
40476 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
40477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
40478 $(NORMAL_TARGET_EXPORTS) \
40479 echo Configuring in $(TARGET_SUBDIR)/rda; \
40480 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
40481 case $(srcdir) in \
40482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40483 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
40484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40486 srcdiroption="--srcdir=$${topdir}/rda"; \
40487 libsrcdir="$$s/rda"; \
40488 rm -f no-such-file || : ; \
40489 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40490 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40491 --target=${target_alias} $${srcdiroption} \
40499 .PHONY: all-target-rda maybe-all-target-rda
40500 maybe-all-target-rda:
40502 all-target-rda: stage_current
40503 @endif gcc-bootstrap
40505 TARGET-target-rda=all
40506 maybe-all-target-rda: all-target-rda
40507 all-target-rda: configure-target-rda
40508 @: $(MAKE); $(unstage)
40509 @r=`${PWD_COMMAND}`; export r; \
40510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40511 $(NORMAL_TARGET_EXPORTS) \
40512 (cd $(TARGET_SUBDIR)/rda && \
40513 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40514 $(TARGET-target-rda))
40521 .PHONY: check-target-rda maybe-check-target-rda
40522 maybe-check-target-rda:
40524 maybe-check-target-rda: check-target-rda
40527 @: $(MAKE); $(unstage)
40528 @r=`${PWD_COMMAND}`; export r; \
40529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40530 $(NORMAL_TARGET_EXPORTS) \
40531 (cd $(TARGET_SUBDIR)/rda && \
40532 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40536 .PHONY: install-target-rda maybe-install-target-rda
40537 maybe-install-target-rda:
40539 maybe-install-target-rda: install-target-rda
40541 install-target-rda: installdirs
40542 @: $(MAKE); $(unstage)
40543 @r=`${PWD_COMMAND}`; export r; \
40544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40545 $(NORMAL_TARGET_EXPORTS) \
40546 (cd $(TARGET_SUBDIR)/rda && \
40547 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40551 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
40552 maybe-install-strip-target-rda:
40554 maybe-install-strip-target-rda: install-strip-target-rda
40556 install-strip-target-rda: installdirs
40557 @: $(MAKE); $(unstage)
40558 @r=`${PWD_COMMAND}`; export r; \
40559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40560 $(NORMAL_TARGET_EXPORTS) \
40561 (cd $(TARGET_SUBDIR)/rda && \
40562 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40566 # Other targets (info, dvi, pdf, etc.)
40568 .PHONY: maybe-info-target-rda info-target-rda
40569 maybe-info-target-rda:
40571 maybe-info-target-rda: info-target-rda
40574 configure-target-rda
40575 @: $(MAKE); $(unstage)
40576 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40577 r=`${PWD_COMMAND}`; export r; \
40578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40579 $(NORMAL_TARGET_EXPORTS) \
40580 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
40581 for flag in $(EXTRA_TARGET_FLAGS); do \
40582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40584 (cd $(TARGET_SUBDIR)/rda && \
40585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40587 "RANLIB=$${RANLIB}" \
40588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40594 .PHONY: maybe-dvi-target-rda dvi-target-rda
40595 maybe-dvi-target-rda:
40597 maybe-dvi-target-rda: dvi-target-rda
40600 configure-target-rda
40601 @: $(MAKE); $(unstage)
40602 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40603 r=`${PWD_COMMAND}`; export r; \
40604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40605 $(NORMAL_TARGET_EXPORTS) \
40606 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
40607 for flag in $(EXTRA_TARGET_FLAGS); do \
40608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40610 (cd $(TARGET_SUBDIR)/rda && \
40611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40613 "RANLIB=$${RANLIB}" \
40614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40620 .PHONY: maybe-pdf-target-rda pdf-target-rda
40621 maybe-pdf-target-rda:
40623 maybe-pdf-target-rda: pdf-target-rda
40626 configure-target-rda
40627 @: $(MAKE); $(unstage)
40628 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40629 r=`${PWD_COMMAND}`; export r; \
40630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40631 $(NORMAL_TARGET_EXPORTS) \
40632 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
40633 for flag in $(EXTRA_TARGET_FLAGS); do \
40634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40636 (cd $(TARGET_SUBDIR)/rda && \
40637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40639 "RANLIB=$${RANLIB}" \
40640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40646 .PHONY: maybe-html-target-rda html-target-rda
40647 maybe-html-target-rda:
40649 maybe-html-target-rda: html-target-rda
40652 configure-target-rda
40653 @: $(MAKE); $(unstage)
40654 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40655 r=`${PWD_COMMAND}`; export r; \
40656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40657 $(NORMAL_TARGET_EXPORTS) \
40658 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
40659 for flag in $(EXTRA_TARGET_FLAGS); do \
40660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40662 (cd $(TARGET_SUBDIR)/rda && \
40663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40665 "RANLIB=$${RANLIB}" \
40666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40672 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
40673 maybe-TAGS-target-rda:
40675 maybe-TAGS-target-rda: TAGS-target-rda
40678 configure-target-rda
40679 @: $(MAKE); $(unstage)
40680 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40681 r=`${PWD_COMMAND}`; export r; \
40682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40683 $(NORMAL_TARGET_EXPORTS) \
40684 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
40685 for flag in $(EXTRA_TARGET_FLAGS); do \
40686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40688 (cd $(TARGET_SUBDIR)/rda && \
40689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40691 "RANLIB=$${RANLIB}" \
40692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40698 .PHONY: maybe-install-info-target-rda install-info-target-rda
40699 maybe-install-info-target-rda:
40701 maybe-install-info-target-rda: install-info-target-rda
40703 install-info-target-rda: \
40704 configure-target-rda \
40706 @: $(MAKE); $(unstage)
40707 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40708 r=`${PWD_COMMAND}`; export r; \
40709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40710 $(NORMAL_TARGET_EXPORTS) \
40711 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
40712 for flag in $(EXTRA_TARGET_FLAGS); do \
40713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40715 (cd $(TARGET_SUBDIR)/rda && \
40716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40718 "RANLIB=$${RANLIB}" \
40719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40725 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
40726 maybe-install-pdf-target-rda:
40728 maybe-install-pdf-target-rda: install-pdf-target-rda
40730 install-pdf-target-rda: \
40731 configure-target-rda \
40733 @: $(MAKE); $(unstage)
40734 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40735 r=`${PWD_COMMAND}`; export r; \
40736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40737 $(NORMAL_TARGET_EXPORTS) \
40738 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
40739 for flag in $(EXTRA_TARGET_FLAGS); do \
40740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40742 (cd $(TARGET_SUBDIR)/rda && \
40743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40745 "RANLIB=$${RANLIB}" \
40746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40752 .PHONY: maybe-install-html-target-rda install-html-target-rda
40753 maybe-install-html-target-rda:
40755 maybe-install-html-target-rda: install-html-target-rda
40757 install-html-target-rda: \
40758 configure-target-rda \
40760 @: $(MAKE); $(unstage)
40761 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40762 r=`${PWD_COMMAND}`; export r; \
40763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40764 $(NORMAL_TARGET_EXPORTS) \
40765 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
40766 for flag in $(EXTRA_TARGET_FLAGS); do \
40767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40769 (cd $(TARGET_SUBDIR)/rda && \
40770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40772 "RANLIB=$${RANLIB}" \
40773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40779 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
40780 maybe-installcheck-target-rda:
40782 maybe-installcheck-target-rda: installcheck-target-rda
40784 installcheck-target-rda: \
40785 configure-target-rda
40786 @: $(MAKE); $(unstage)
40787 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40788 r=`${PWD_COMMAND}`; export r; \
40789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40790 $(NORMAL_TARGET_EXPORTS) \
40791 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
40792 for flag in $(EXTRA_TARGET_FLAGS); do \
40793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40795 (cd $(TARGET_SUBDIR)/rda && \
40796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40798 "RANLIB=$${RANLIB}" \
40799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40805 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
40806 maybe-mostlyclean-target-rda:
40808 maybe-mostlyclean-target-rda: mostlyclean-target-rda
40810 mostlyclean-target-rda:
40811 @: $(MAKE); $(unstage)
40812 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40813 r=`${PWD_COMMAND}`; export r; \
40814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40815 $(NORMAL_TARGET_EXPORTS) \
40816 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
40817 for flag in $(EXTRA_TARGET_FLAGS); do \
40818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40820 (cd $(TARGET_SUBDIR)/rda && \
40821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40823 "RANLIB=$${RANLIB}" \
40824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40830 .PHONY: maybe-clean-target-rda clean-target-rda
40831 maybe-clean-target-rda:
40833 maybe-clean-target-rda: clean-target-rda
40836 @: $(MAKE); $(unstage)
40837 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40838 r=`${PWD_COMMAND}`; export r; \
40839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40840 $(NORMAL_TARGET_EXPORTS) \
40841 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
40842 for flag in $(EXTRA_TARGET_FLAGS); do \
40843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40845 (cd $(TARGET_SUBDIR)/rda && \
40846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40848 "RANLIB=$${RANLIB}" \
40849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40855 .PHONY: maybe-distclean-target-rda distclean-target-rda
40856 maybe-distclean-target-rda:
40858 maybe-distclean-target-rda: distclean-target-rda
40860 distclean-target-rda:
40861 @: $(MAKE); $(unstage)
40862 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40863 r=`${PWD_COMMAND}`; export r; \
40864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40865 $(NORMAL_TARGET_EXPORTS) \
40866 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
40867 for flag in $(EXTRA_TARGET_FLAGS); do \
40868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40870 (cd $(TARGET_SUBDIR)/rda && \
40871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40873 "RANLIB=$${RANLIB}" \
40874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40880 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
40881 maybe-maintainer-clean-target-rda:
40883 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
40885 maintainer-clean-target-rda:
40886 @: $(MAKE); $(unstage)
40887 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
40888 r=`${PWD_COMMAND}`; export r; \
40889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40890 $(NORMAL_TARGET_EXPORTS) \
40891 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
40892 for flag in $(EXTRA_TARGET_FLAGS); do \
40893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40895 (cd $(TARGET_SUBDIR)/rda && \
40896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40898 "RANLIB=$${RANLIB}" \
40899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40900 maintainer-clean) \
40909 .PHONY: configure-target-libada maybe-configure-target-libada
40910 maybe-configure-target-libada:
40912 configure-target-libada: stage_current
40913 @endif gcc-bootstrap
40915 maybe-configure-target-libada: configure-target-libada
40916 configure-target-libada:
40917 @: $(MAKE); $(unstage)
40918 @r=`${PWD_COMMAND}`; export r; \
40919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40920 echo "Checking multilib configuration for libada..."; \
40921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40922 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
40923 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
40924 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
40925 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
40927 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
40928 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40931 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
40933 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
40934 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
40935 $(NORMAL_TARGET_EXPORTS) \
40936 echo Configuring in $(TARGET_SUBDIR)/libada; \
40937 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
40938 case $(srcdir) in \
40939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40940 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
40941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40943 srcdiroption="--srcdir=$${topdir}/libada"; \
40944 libsrcdir="$$s/libada"; \
40945 rm -f no-such-file || : ; \
40946 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40947 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40948 --target=${target_alias} $${srcdiroption} \
40950 @endif target-libada
40956 .PHONY: all-target-libada maybe-all-target-libada
40957 maybe-all-target-libada:
40959 all-target-libada: stage_current
40960 @endif gcc-bootstrap
40962 TARGET-target-libada=all
40963 maybe-all-target-libada: all-target-libada
40964 all-target-libada: configure-target-libada
40965 @: $(MAKE); $(unstage)
40966 @r=`${PWD_COMMAND}`; export r; \
40967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40968 $(NORMAL_TARGET_EXPORTS) \
40969 (cd $(TARGET_SUBDIR)/libada && \
40970 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40971 $(TARGET-target-libada))
40972 @endif target-libada
40978 .PHONY: check-target-libada maybe-check-target-libada
40979 maybe-check-target-libada:
40981 maybe-check-target-libada: check-target-libada
40983 check-target-libada:
40984 @: $(MAKE); $(unstage)
40985 @r=`${PWD_COMMAND}`; export r; \
40986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40987 $(NORMAL_TARGET_EXPORTS) \
40988 (cd $(TARGET_SUBDIR)/libada && \
40989 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40991 @endif target-libada
40993 .PHONY: install-target-libada maybe-install-target-libada
40994 maybe-install-target-libada:
40996 maybe-install-target-libada: install-target-libada
40998 install-target-libada: installdirs
40999 @: $(MAKE); $(unstage)
41000 @r=`${PWD_COMMAND}`; export r; \
41001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41002 $(NORMAL_TARGET_EXPORTS) \
41003 (cd $(TARGET_SUBDIR)/libada && \
41004 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41006 @endif target-libada
41008 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
41009 maybe-install-strip-target-libada:
41011 maybe-install-strip-target-libada: install-strip-target-libada
41013 install-strip-target-libada: installdirs
41014 @: $(MAKE); $(unstage)
41015 @r=`${PWD_COMMAND}`; export r; \
41016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41017 $(NORMAL_TARGET_EXPORTS) \
41018 (cd $(TARGET_SUBDIR)/libada && \
41019 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41021 @endif target-libada
41023 # Other targets (info, dvi, pdf, etc.)
41025 .PHONY: maybe-info-target-libada info-target-libada
41026 maybe-info-target-libada:
41028 maybe-info-target-libada: info-target-libada
41030 info-target-libada: \
41031 configure-target-libada
41032 @: $(MAKE); $(unstage)
41033 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41034 r=`${PWD_COMMAND}`; export r; \
41035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41036 $(NORMAL_TARGET_EXPORTS) \
41037 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
41038 for flag in $(EXTRA_TARGET_FLAGS); do \
41039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41041 (cd $(TARGET_SUBDIR)/libada && \
41042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41044 "RANLIB=$${RANLIB}" \
41045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41049 @endif target-libada
41051 .PHONY: maybe-dvi-target-libada dvi-target-libada
41052 maybe-dvi-target-libada:
41054 maybe-dvi-target-libada: dvi-target-libada
41056 dvi-target-libada: \
41057 configure-target-libada
41058 @: $(MAKE); $(unstage)
41059 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41060 r=`${PWD_COMMAND}`; export r; \
41061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41062 $(NORMAL_TARGET_EXPORTS) \
41063 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
41064 for flag in $(EXTRA_TARGET_FLAGS); do \
41065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41067 (cd $(TARGET_SUBDIR)/libada && \
41068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41070 "RANLIB=$${RANLIB}" \
41071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41075 @endif target-libada
41077 .PHONY: maybe-pdf-target-libada pdf-target-libada
41078 maybe-pdf-target-libada:
41080 maybe-pdf-target-libada: pdf-target-libada
41082 pdf-target-libada: \
41083 configure-target-libada
41084 @: $(MAKE); $(unstage)
41085 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41086 r=`${PWD_COMMAND}`; export r; \
41087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41088 $(NORMAL_TARGET_EXPORTS) \
41089 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
41090 for flag in $(EXTRA_TARGET_FLAGS); do \
41091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41093 (cd $(TARGET_SUBDIR)/libada && \
41094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41096 "RANLIB=$${RANLIB}" \
41097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41101 @endif target-libada
41103 .PHONY: maybe-html-target-libada html-target-libada
41104 maybe-html-target-libada:
41106 maybe-html-target-libada: html-target-libada
41108 html-target-libada: \
41109 configure-target-libada
41110 @: $(MAKE); $(unstage)
41111 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41112 r=`${PWD_COMMAND}`; export r; \
41113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41114 $(NORMAL_TARGET_EXPORTS) \
41115 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
41116 for flag in $(EXTRA_TARGET_FLAGS); do \
41117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41119 (cd $(TARGET_SUBDIR)/libada && \
41120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41122 "RANLIB=$${RANLIB}" \
41123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41127 @endif target-libada
41129 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
41130 maybe-TAGS-target-libada:
41132 maybe-TAGS-target-libada: TAGS-target-libada
41134 TAGS-target-libada: \
41135 configure-target-libada
41136 @: $(MAKE); $(unstage)
41137 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41138 r=`${PWD_COMMAND}`; export r; \
41139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41140 $(NORMAL_TARGET_EXPORTS) \
41141 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
41142 for flag in $(EXTRA_TARGET_FLAGS); do \
41143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41145 (cd $(TARGET_SUBDIR)/libada && \
41146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41148 "RANLIB=$${RANLIB}" \
41149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41153 @endif target-libada
41155 .PHONY: maybe-install-info-target-libada install-info-target-libada
41156 maybe-install-info-target-libada:
41158 maybe-install-info-target-libada: install-info-target-libada
41160 install-info-target-libada: \
41161 configure-target-libada \
41163 @: $(MAKE); $(unstage)
41164 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41165 r=`${PWD_COMMAND}`; export r; \
41166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41167 $(NORMAL_TARGET_EXPORTS) \
41168 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
41169 for flag in $(EXTRA_TARGET_FLAGS); do \
41170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41172 (cd $(TARGET_SUBDIR)/libada && \
41173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41175 "RANLIB=$${RANLIB}" \
41176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41180 @endif target-libada
41182 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
41183 maybe-install-pdf-target-libada:
41185 maybe-install-pdf-target-libada: install-pdf-target-libada
41187 install-pdf-target-libada: \
41188 configure-target-libada \
41190 @: $(MAKE); $(unstage)
41191 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41192 r=`${PWD_COMMAND}`; export r; \
41193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41194 $(NORMAL_TARGET_EXPORTS) \
41195 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
41196 for flag in $(EXTRA_TARGET_FLAGS); do \
41197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41199 (cd $(TARGET_SUBDIR)/libada && \
41200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41202 "RANLIB=$${RANLIB}" \
41203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41207 @endif target-libada
41209 .PHONY: maybe-install-html-target-libada install-html-target-libada
41210 maybe-install-html-target-libada:
41212 maybe-install-html-target-libada: install-html-target-libada
41214 install-html-target-libada: \
41215 configure-target-libada \
41217 @: $(MAKE); $(unstage)
41218 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41219 r=`${PWD_COMMAND}`; export r; \
41220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41221 $(NORMAL_TARGET_EXPORTS) \
41222 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
41223 for flag in $(EXTRA_TARGET_FLAGS); do \
41224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41226 (cd $(TARGET_SUBDIR)/libada && \
41227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41229 "RANLIB=$${RANLIB}" \
41230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41234 @endif target-libada
41236 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
41237 maybe-installcheck-target-libada:
41239 maybe-installcheck-target-libada: installcheck-target-libada
41241 installcheck-target-libada: \
41242 configure-target-libada
41243 @: $(MAKE); $(unstage)
41244 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41245 r=`${PWD_COMMAND}`; export r; \
41246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41247 $(NORMAL_TARGET_EXPORTS) \
41248 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
41249 for flag in $(EXTRA_TARGET_FLAGS); do \
41250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41252 (cd $(TARGET_SUBDIR)/libada && \
41253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41255 "RANLIB=$${RANLIB}" \
41256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41260 @endif target-libada
41262 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
41263 maybe-mostlyclean-target-libada:
41265 maybe-mostlyclean-target-libada: mostlyclean-target-libada
41267 mostlyclean-target-libada:
41268 @: $(MAKE); $(unstage)
41269 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41270 r=`${PWD_COMMAND}`; export r; \
41271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41272 $(NORMAL_TARGET_EXPORTS) \
41273 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
41274 for flag in $(EXTRA_TARGET_FLAGS); do \
41275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41277 (cd $(TARGET_SUBDIR)/libada && \
41278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41280 "RANLIB=$${RANLIB}" \
41281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41285 @endif target-libada
41287 .PHONY: maybe-clean-target-libada clean-target-libada
41288 maybe-clean-target-libada:
41290 maybe-clean-target-libada: clean-target-libada
41292 clean-target-libada:
41293 @: $(MAKE); $(unstage)
41294 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41295 r=`${PWD_COMMAND}`; export r; \
41296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41297 $(NORMAL_TARGET_EXPORTS) \
41298 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
41299 for flag in $(EXTRA_TARGET_FLAGS); do \
41300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41302 (cd $(TARGET_SUBDIR)/libada && \
41303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41305 "RANLIB=$${RANLIB}" \
41306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41310 @endif target-libada
41312 .PHONY: maybe-distclean-target-libada distclean-target-libada
41313 maybe-distclean-target-libada:
41315 maybe-distclean-target-libada: distclean-target-libada
41317 distclean-target-libada:
41318 @: $(MAKE); $(unstage)
41319 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41320 r=`${PWD_COMMAND}`; export r; \
41321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41322 $(NORMAL_TARGET_EXPORTS) \
41323 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
41324 for flag in $(EXTRA_TARGET_FLAGS); do \
41325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41327 (cd $(TARGET_SUBDIR)/libada && \
41328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41330 "RANLIB=$${RANLIB}" \
41331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41335 @endif target-libada
41337 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
41338 maybe-maintainer-clean-target-libada:
41340 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
41342 maintainer-clean-target-libada:
41343 @: $(MAKE); $(unstage)
41344 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
41345 r=`${PWD_COMMAND}`; export r; \
41346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41347 $(NORMAL_TARGET_EXPORTS) \
41348 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
41349 for flag in $(EXTRA_TARGET_FLAGS); do \
41350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41352 (cd $(TARGET_SUBDIR)/libada && \
41353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41355 "RANLIB=$${RANLIB}" \
41356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41357 maintainer-clean) \
41360 @endif target-libada
41366 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
41367 maybe-configure-target-libgomp:
41369 configure-target-libgomp: stage_current
41370 @endif gcc-bootstrap
41372 maybe-configure-target-libgomp: configure-target-libgomp
41373 configure-target-libgomp:
41374 @r=`${PWD_COMMAND}`; export r; \
41375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41376 echo "Checking multilib configuration for libgomp..."; \
41377 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41378 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41379 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41380 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41381 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41383 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41384 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41387 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41389 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41391 $(NORMAL_TARGET_EXPORTS) \
41392 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
41393 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
41394 case $(srcdir) in \
41395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41396 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41399 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41400 libsrcdir="$$s/libgomp"; \
41401 rm -f no-such-file || : ; \
41402 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41403 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41404 --target=${target_alias} $${srcdiroption} \
41406 @endif target-libgomp
41410 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
41411 maybe-configure-stage1-target-libgomp:
41412 @if target-libgomp-bootstrap
41413 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
41414 configure-stage1-target-libgomp:
41415 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41416 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41417 @r=`${PWD_COMMAND}`; export r; \
41418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41419 TFLAGS="$(STAGE1_TFLAGS)"; \
41420 echo "Checking multilib configuration for libgomp..."; \
41421 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41422 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41423 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41424 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41426 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41427 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41430 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41432 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41433 $(NORMAL_TARGET_EXPORTS) \
41434 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41435 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41436 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41437 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
41438 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41439 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41440 case $(srcdir) in \
41441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41442 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41445 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41446 libsrcdir="$$s/libgomp"; \
41447 $(SHELL) $${libsrcdir}/configure \
41448 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41449 --target=${target_alias} $${srcdiroption} \
41450 $(STAGE1_CONFIGURE_FLAGS)
41451 @endif target-libgomp-bootstrap
41453 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
41454 maybe-configure-stage2-target-libgomp:
41455 @if target-libgomp-bootstrap
41456 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
41457 configure-stage2-target-libgomp:
41458 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41459 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41460 @r=`${PWD_COMMAND}`; export r; \
41461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41462 TFLAGS="$(STAGE2_TFLAGS)"; \
41463 echo "Checking multilib configuration for libgomp..."; \
41464 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41465 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41466 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41467 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41469 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41470 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41473 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41475 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41476 $(NORMAL_TARGET_EXPORTS) \
41478 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41479 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41480 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41481 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
41482 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41483 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41484 case $(srcdir) in \
41485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41486 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41489 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41490 libsrcdir="$$s/libgomp"; \
41491 $(SHELL) $${libsrcdir}/configure \
41492 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41493 --target=${target_alias} $${srcdiroption} \
41494 --with-build-libsubdir=$(HOST_SUBDIR) \
41495 $(STAGE2_CONFIGURE_FLAGS)
41496 @endif target-libgomp-bootstrap
41498 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
41499 maybe-configure-stage3-target-libgomp:
41500 @if target-libgomp-bootstrap
41501 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
41502 configure-stage3-target-libgomp:
41503 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41504 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41505 @r=`${PWD_COMMAND}`; export r; \
41506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41507 TFLAGS="$(STAGE3_TFLAGS)"; \
41508 echo "Checking multilib configuration for libgomp..."; \
41509 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41510 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41511 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41512 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41514 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41515 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41518 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41520 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41521 $(NORMAL_TARGET_EXPORTS) \
41523 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41524 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41525 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41526 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
41527 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41528 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41529 case $(srcdir) in \
41530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41531 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41534 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41535 libsrcdir="$$s/libgomp"; \
41536 $(SHELL) $${libsrcdir}/configure \
41537 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41538 --target=${target_alias} $${srcdiroption} \
41539 --with-build-libsubdir=$(HOST_SUBDIR) \
41540 $(STAGE3_CONFIGURE_FLAGS)
41541 @endif target-libgomp-bootstrap
41543 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
41544 maybe-configure-stage4-target-libgomp:
41545 @if target-libgomp-bootstrap
41546 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
41547 configure-stage4-target-libgomp:
41548 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41549 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41550 @r=`${PWD_COMMAND}`; export r; \
41551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41552 TFLAGS="$(STAGE4_TFLAGS)"; \
41553 echo "Checking multilib configuration for libgomp..."; \
41554 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41555 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41556 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41557 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41559 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41560 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41563 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41565 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41566 $(NORMAL_TARGET_EXPORTS) \
41568 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41569 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41570 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41571 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
41572 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41573 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41574 case $(srcdir) in \
41575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41576 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41579 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41580 libsrcdir="$$s/libgomp"; \
41581 $(SHELL) $${libsrcdir}/configure \
41582 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41583 --target=${target_alias} $${srcdiroption} \
41584 --with-build-libsubdir=$(HOST_SUBDIR) \
41585 $(STAGE4_CONFIGURE_FLAGS)
41586 @endif target-libgomp-bootstrap
41588 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
41589 maybe-configure-stageprofile-target-libgomp:
41590 @if target-libgomp-bootstrap
41591 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
41592 configure-stageprofile-target-libgomp:
41593 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41594 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41595 @r=`${PWD_COMMAND}`; export r; \
41596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41597 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41598 echo "Checking multilib configuration for libgomp..."; \
41599 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41600 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41601 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41602 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41604 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41605 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41608 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41610 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41611 $(NORMAL_TARGET_EXPORTS) \
41613 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41614 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41615 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41616 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
41617 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41618 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41619 case $(srcdir) in \
41620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41621 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41624 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41625 libsrcdir="$$s/libgomp"; \
41626 $(SHELL) $${libsrcdir}/configure \
41627 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41628 --target=${target_alias} $${srcdiroption} \
41629 --with-build-libsubdir=$(HOST_SUBDIR) \
41630 $(STAGEprofile_CONFIGURE_FLAGS)
41631 @endif target-libgomp-bootstrap
41633 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
41634 maybe-configure-stagefeedback-target-libgomp:
41635 @if target-libgomp-bootstrap
41636 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
41637 configure-stagefeedback-target-libgomp:
41638 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41639 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
41640 @r=`${PWD_COMMAND}`; export r; \
41641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41642 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41643 echo "Checking multilib configuration for libgomp..."; \
41644 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
41645 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41646 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
41647 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
41649 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
41650 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41653 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
41655 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
41656 $(NORMAL_TARGET_EXPORTS) \
41658 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
41659 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
41660 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
41661 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
41662 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
41663 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
41664 case $(srcdir) in \
41665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41666 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
41667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41669 srcdiroption="--srcdir=$${topdir}/libgomp"; \
41670 libsrcdir="$$s/libgomp"; \
41671 $(SHELL) $${libsrcdir}/configure \
41672 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41673 --target=${target_alias} $${srcdiroption} \
41674 --with-build-libsubdir=$(HOST_SUBDIR) \
41675 $(STAGEfeedback_CONFIGURE_FLAGS)
41676 @endif target-libgomp-bootstrap
41682 .PHONY: all-target-libgomp maybe-all-target-libgomp
41683 maybe-all-target-libgomp:
41685 all-target-libgomp: stage_current
41686 @endif gcc-bootstrap
41688 TARGET-target-libgomp=all
41689 maybe-all-target-libgomp: all-target-libgomp
41690 all-target-libgomp: configure-target-libgomp
41691 @r=`${PWD_COMMAND}`; export r; \
41692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41693 $(NORMAL_TARGET_EXPORTS) \
41694 (cd $(TARGET_SUBDIR)/libgomp && \
41695 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41696 $(TARGET-target-libgomp))
41697 @endif target-libgomp
41701 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
41702 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
41703 maybe-all-stage1-target-libgomp:
41704 maybe-clean-stage1-target-libgomp:
41705 @if target-libgomp-bootstrap
41706 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
41707 all-stage1: all-stage1-target-libgomp
41708 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
41709 all-stage1-target-libgomp: configure-stage1-target-libgomp
41710 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
41711 @r=`${PWD_COMMAND}`; export r; \
41712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41713 TFLAGS="$(STAGE1_TFLAGS)"; \
41714 $(NORMAL_TARGET_EXPORTS) \
41715 cd $(TARGET_SUBDIR)/libgomp && \
41716 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41717 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41718 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41719 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41723 $(EXTRA_TARGET_FLAGS) \
41725 TFLAGS="$(STAGE1_TFLAGS)" \
41726 $(TARGET-stage1-target-libgomp)
41728 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
41729 clean-stage1: clean-stage1-target-libgomp
41730 clean-stage1-target-libgomp:
41731 @if [ $(current_stage) = stage1 ]; then \
41732 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41734 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
41735 $(MAKE) stage1-start; \
41737 cd $(TARGET_SUBDIR)/libgomp && \
41738 $(MAKE) $(EXTRA_TARGET_FLAGS) \
41740 @endif target-libgomp-bootstrap
41743 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
41744 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
41745 maybe-all-stage2-target-libgomp:
41746 maybe-clean-stage2-target-libgomp:
41747 @if target-libgomp-bootstrap
41748 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
41749 all-stage2: all-stage2-target-libgomp
41750 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
41751 all-stage2-target-libgomp: configure-stage2-target-libgomp
41752 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
41753 @r=`${PWD_COMMAND}`; export r; \
41754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41755 TFLAGS="$(STAGE2_TFLAGS)"; \
41756 $(NORMAL_TARGET_EXPORTS) \
41758 cd $(TARGET_SUBDIR)/libgomp && \
41759 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41760 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41761 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41762 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41766 $(EXTRA_TARGET_FLAGS) \
41767 TFLAGS="$(STAGE2_TFLAGS)" \
41768 $(TARGET-stage2-target-libgomp)
41770 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
41771 clean-stage2: clean-stage2-target-libgomp
41772 clean-stage2-target-libgomp:
41773 @if [ $(current_stage) = stage2 ]; then \
41774 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41776 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
41777 $(MAKE) stage2-start; \
41779 cd $(TARGET_SUBDIR)/libgomp && \
41780 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41781 @endif target-libgomp-bootstrap
41784 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
41785 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
41786 maybe-all-stage3-target-libgomp:
41787 maybe-clean-stage3-target-libgomp:
41788 @if target-libgomp-bootstrap
41789 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
41790 all-stage3: all-stage3-target-libgomp
41791 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
41792 all-stage3-target-libgomp: configure-stage3-target-libgomp
41793 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
41794 @r=`${PWD_COMMAND}`; export r; \
41795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41796 TFLAGS="$(STAGE3_TFLAGS)"; \
41797 $(NORMAL_TARGET_EXPORTS) \
41799 cd $(TARGET_SUBDIR)/libgomp && \
41800 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41801 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41802 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41803 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41804 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41805 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41806 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41807 $(EXTRA_TARGET_FLAGS) \
41808 TFLAGS="$(STAGE3_TFLAGS)" \
41809 $(TARGET-stage3-target-libgomp)
41811 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
41812 clean-stage3: clean-stage3-target-libgomp
41813 clean-stage3-target-libgomp:
41814 @if [ $(current_stage) = stage3 ]; then \
41815 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41817 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
41818 $(MAKE) stage3-start; \
41820 cd $(TARGET_SUBDIR)/libgomp && \
41821 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41822 @endif target-libgomp-bootstrap
41825 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
41826 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
41827 maybe-all-stage4-target-libgomp:
41828 maybe-clean-stage4-target-libgomp:
41829 @if target-libgomp-bootstrap
41830 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
41831 all-stage4: all-stage4-target-libgomp
41832 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
41833 all-stage4-target-libgomp: configure-stage4-target-libgomp
41834 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41835 @r=`${PWD_COMMAND}`; export r; \
41836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41837 TFLAGS="$(STAGE4_TFLAGS)"; \
41838 $(NORMAL_TARGET_EXPORTS) \
41840 cd $(TARGET_SUBDIR)/libgomp && \
41841 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41842 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41843 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41844 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41848 $(EXTRA_TARGET_FLAGS) \
41849 TFLAGS="$(STAGE4_TFLAGS)" \
41850 $(TARGET-stage4-target-libgomp)
41852 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
41853 clean-stage4: clean-stage4-target-libgomp
41854 clean-stage4-target-libgomp:
41855 @if [ $(current_stage) = stage4 ]; then \
41856 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41858 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
41859 $(MAKE) stage4-start; \
41861 cd $(TARGET_SUBDIR)/libgomp && \
41862 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41863 @endif target-libgomp-bootstrap
41866 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
41867 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
41868 maybe-all-stageprofile-target-libgomp:
41869 maybe-clean-stageprofile-target-libgomp:
41870 @if target-libgomp-bootstrap
41871 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
41872 all-stageprofile: all-stageprofile-target-libgomp
41873 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
41874 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
41875 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41876 @r=`${PWD_COMMAND}`; export r; \
41877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41878 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41879 $(NORMAL_TARGET_EXPORTS) \
41881 cd $(TARGET_SUBDIR)/libgomp && \
41882 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41883 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41884 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41885 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41886 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41887 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41888 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41889 $(EXTRA_TARGET_FLAGS) \
41890 TFLAGS="$(STAGEprofile_TFLAGS)" \
41891 $(TARGET-stageprofile-target-libgomp)
41893 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
41894 clean-stageprofile: clean-stageprofile-target-libgomp
41895 clean-stageprofile-target-libgomp:
41896 @if [ $(current_stage) = stageprofile ]; then \
41897 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41899 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
41900 $(MAKE) stageprofile-start; \
41902 cd $(TARGET_SUBDIR)/libgomp && \
41903 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41904 @endif target-libgomp-bootstrap
41907 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
41908 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
41909 maybe-all-stagefeedback-target-libgomp:
41910 maybe-clean-stagefeedback-target-libgomp:
41911 @if target-libgomp-bootstrap
41912 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
41913 all-stagefeedback: all-stagefeedback-target-libgomp
41914 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
41915 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
41916 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41917 @r=`${PWD_COMMAND}`; export r; \
41918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41919 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41920 $(NORMAL_TARGET_EXPORTS) \
41922 cd $(TARGET_SUBDIR)/libgomp && \
41923 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41924 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41925 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41926 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41930 $(EXTRA_TARGET_FLAGS) \
41931 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41932 $(TARGET-stagefeedback-target-libgomp)
41934 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
41935 clean-stagefeedback: clean-stagefeedback-target-libgomp
41936 clean-stagefeedback-target-libgomp:
41937 @if [ $(current_stage) = stagefeedback ]; then \
41938 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
41940 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
41941 $(MAKE) stagefeedback-start; \
41943 cd $(TARGET_SUBDIR)/libgomp && \
41944 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
41945 @endif target-libgomp-bootstrap
41952 .PHONY: check-target-libgomp maybe-check-target-libgomp
41953 maybe-check-target-libgomp:
41955 maybe-check-target-libgomp: check-target-libgomp
41957 check-target-libgomp:
41958 @: $(MAKE); $(unstage)
41959 @r=`${PWD_COMMAND}`; export r; \
41960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41961 $(NORMAL_TARGET_EXPORTS) \
41962 (cd $(TARGET_SUBDIR)/libgomp && \
41963 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41965 @endif target-libgomp
41967 .PHONY: install-target-libgomp maybe-install-target-libgomp
41968 maybe-install-target-libgomp:
41970 maybe-install-target-libgomp: install-target-libgomp
41972 install-target-libgomp: installdirs
41973 @: $(MAKE); $(unstage)
41974 @r=`${PWD_COMMAND}`; export r; \
41975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41976 $(NORMAL_TARGET_EXPORTS) \
41977 (cd $(TARGET_SUBDIR)/libgomp && \
41978 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41980 @endif target-libgomp
41982 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
41983 maybe-install-strip-target-libgomp:
41985 maybe-install-strip-target-libgomp: install-strip-target-libgomp
41987 install-strip-target-libgomp: installdirs
41988 @: $(MAKE); $(unstage)
41989 @r=`${PWD_COMMAND}`; export r; \
41990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41991 $(NORMAL_TARGET_EXPORTS) \
41992 (cd $(TARGET_SUBDIR)/libgomp && \
41993 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41995 @endif target-libgomp
41997 # Other targets (info, dvi, pdf, etc.)
41999 .PHONY: maybe-info-target-libgomp info-target-libgomp
42000 maybe-info-target-libgomp:
42002 maybe-info-target-libgomp: info-target-libgomp
42004 info-target-libgomp: \
42005 configure-target-libgomp
42006 @: $(MAKE); $(unstage)
42007 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42008 r=`${PWD_COMMAND}`; export r; \
42009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42010 $(NORMAL_TARGET_EXPORTS) \
42011 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
42012 for flag in $(EXTRA_TARGET_FLAGS); do \
42013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42015 (cd $(TARGET_SUBDIR)/libgomp && \
42016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42018 "RANLIB=$${RANLIB}" \
42019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42023 @endif target-libgomp
42025 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
42026 maybe-dvi-target-libgomp:
42028 maybe-dvi-target-libgomp: dvi-target-libgomp
42030 dvi-target-libgomp: \
42031 configure-target-libgomp
42032 @: $(MAKE); $(unstage)
42033 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42034 r=`${PWD_COMMAND}`; export r; \
42035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42036 $(NORMAL_TARGET_EXPORTS) \
42037 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
42038 for flag in $(EXTRA_TARGET_FLAGS); do \
42039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42041 (cd $(TARGET_SUBDIR)/libgomp && \
42042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42044 "RANLIB=$${RANLIB}" \
42045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42049 @endif target-libgomp
42051 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
42052 maybe-pdf-target-libgomp:
42054 maybe-pdf-target-libgomp: pdf-target-libgomp
42056 pdf-target-libgomp: \
42057 configure-target-libgomp
42058 @: $(MAKE); $(unstage)
42059 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42060 r=`${PWD_COMMAND}`; export r; \
42061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42062 $(NORMAL_TARGET_EXPORTS) \
42063 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
42064 for flag in $(EXTRA_TARGET_FLAGS); do \
42065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42067 (cd $(TARGET_SUBDIR)/libgomp && \
42068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42070 "RANLIB=$${RANLIB}" \
42071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42075 @endif target-libgomp
42077 .PHONY: maybe-html-target-libgomp html-target-libgomp
42078 maybe-html-target-libgomp:
42080 maybe-html-target-libgomp: html-target-libgomp
42082 html-target-libgomp: \
42083 configure-target-libgomp
42084 @: $(MAKE); $(unstage)
42085 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42086 r=`${PWD_COMMAND}`; export r; \
42087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42088 $(NORMAL_TARGET_EXPORTS) \
42089 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
42090 for flag in $(EXTRA_TARGET_FLAGS); do \
42091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42093 (cd $(TARGET_SUBDIR)/libgomp && \
42094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42096 "RANLIB=$${RANLIB}" \
42097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42101 @endif target-libgomp
42103 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
42104 maybe-TAGS-target-libgomp:
42106 maybe-TAGS-target-libgomp: TAGS-target-libgomp
42108 TAGS-target-libgomp: \
42109 configure-target-libgomp
42110 @: $(MAKE); $(unstage)
42111 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42112 r=`${PWD_COMMAND}`; export r; \
42113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42114 $(NORMAL_TARGET_EXPORTS) \
42115 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
42116 for flag in $(EXTRA_TARGET_FLAGS); do \
42117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42119 (cd $(TARGET_SUBDIR)/libgomp && \
42120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42122 "RANLIB=$${RANLIB}" \
42123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42127 @endif target-libgomp
42129 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
42130 maybe-install-info-target-libgomp:
42132 maybe-install-info-target-libgomp: install-info-target-libgomp
42134 install-info-target-libgomp: \
42135 configure-target-libgomp \
42136 info-target-libgomp
42137 @: $(MAKE); $(unstage)
42138 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42139 r=`${PWD_COMMAND}`; export r; \
42140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42141 $(NORMAL_TARGET_EXPORTS) \
42142 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
42143 for flag in $(EXTRA_TARGET_FLAGS); do \
42144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42146 (cd $(TARGET_SUBDIR)/libgomp && \
42147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42149 "RANLIB=$${RANLIB}" \
42150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42154 @endif target-libgomp
42156 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
42157 maybe-install-pdf-target-libgomp:
42159 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
42161 install-pdf-target-libgomp: \
42162 configure-target-libgomp \
42164 @: $(MAKE); $(unstage)
42165 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42166 r=`${PWD_COMMAND}`; export r; \
42167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42168 $(NORMAL_TARGET_EXPORTS) \
42169 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
42170 for flag in $(EXTRA_TARGET_FLAGS); do \
42171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42173 (cd $(TARGET_SUBDIR)/libgomp && \
42174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42176 "RANLIB=$${RANLIB}" \
42177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42181 @endif target-libgomp
42183 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
42184 maybe-install-html-target-libgomp:
42186 maybe-install-html-target-libgomp: install-html-target-libgomp
42188 install-html-target-libgomp: \
42189 configure-target-libgomp \
42190 html-target-libgomp
42191 @: $(MAKE); $(unstage)
42192 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42193 r=`${PWD_COMMAND}`; export r; \
42194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42195 $(NORMAL_TARGET_EXPORTS) \
42196 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
42197 for flag in $(EXTRA_TARGET_FLAGS); do \
42198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42200 (cd $(TARGET_SUBDIR)/libgomp && \
42201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42203 "RANLIB=$${RANLIB}" \
42204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42208 @endif target-libgomp
42210 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
42211 maybe-installcheck-target-libgomp:
42213 maybe-installcheck-target-libgomp: installcheck-target-libgomp
42215 installcheck-target-libgomp: \
42216 configure-target-libgomp
42217 @: $(MAKE); $(unstage)
42218 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42219 r=`${PWD_COMMAND}`; export r; \
42220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42221 $(NORMAL_TARGET_EXPORTS) \
42222 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
42223 for flag in $(EXTRA_TARGET_FLAGS); do \
42224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42226 (cd $(TARGET_SUBDIR)/libgomp && \
42227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42229 "RANLIB=$${RANLIB}" \
42230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42234 @endif target-libgomp
42236 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
42237 maybe-mostlyclean-target-libgomp:
42239 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
42241 mostlyclean-target-libgomp:
42242 @: $(MAKE); $(unstage)
42243 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42244 r=`${PWD_COMMAND}`; export r; \
42245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42246 $(NORMAL_TARGET_EXPORTS) \
42247 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
42248 for flag in $(EXTRA_TARGET_FLAGS); do \
42249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42251 (cd $(TARGET_SUBDIR)/libgomp && \
42252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42254 "RANLIB=$${RANLIB}" \
42255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42259 @endif target-libgomp
42261 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
42262 maybe-clean-target-libgomp:
42264 maybe-clean-target-libgomp: clean-target-libgomp
42266 clean-target-libgomp:
42267 @: $(MAKE); $(unstage)
42268 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42269 r=`${PWD_COMMAND}`; export r; \
42270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42271 $(NORMAL_TARGET_EXPORTS) \
42272 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
42273 for flag in $(EXTRA_TARGET_FLAGS); do \
42274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42276 (cd $(TARGET_SUBDIR)/libgomp && \
42277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42279 "RANLIB=$${RANLIB}" \
42280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42284 @endif target-libgomp
42286 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
42287 maybe-distclean-target-libgomp:
42289 maybe-distclean-target-libgomp: distclean-target-libgomp
42291 distclean-target-libgomp:
42292 @: $(MAKE); $(unstage)
42293 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42294 r=`${PWD_COMMAND}`; export r; \
42295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42296 $(NORMAL_TARGET_EXPORTS) \
42297 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
42298 for flag in $(EXTRA_TARGET_FLAGS); do \
42299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42301 (cd $(TARGET_SUBDIR)/libgomp && \
42302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42304 "RANLIB=$${RANLIB}" \
42305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42309 @endif target-libgomp
42311 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
42312 maybe-maintainer-clean-target-libgomp:
42314 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
42316 maintainer-clean-target-libgomp:
42317 @: $(MAKE); $(unstage)
42318 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
42319 r=`${PWD_COMMAND}`; export r; \
42320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42321 $(NORMAL_TARGET_EXPORTS) \
42322 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
42323 for flag in $(EXTRA_TARGET_FLAGS); do \
42324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42326 (cd $(TARGET_SUBDIR)/libgomp && \
42327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42329 "RANLIB=$${RANLIB}" \
42330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42331 maintainer-clean) \
42334 @endif target-libgomp
42340 .PHONY: configure-target-libitm maybe-configure-target-libitm
42341 maybe-configure-target-libitm:
42343 configure-target-libitm: stage_current
42344 @endif gcc-bootstrap
42346 maybe-configure-target-libitm: configure-target-libitm
42347 configure-target-libitm:
42348 @: $(MAKE); $(unstage)
42349 @r=`${PWD_COMMAND}`; export r; \
42350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42351 echo "Checking multilib configuration for libitm..."; \
42352 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
42353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
42354 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
42355 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
42356 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
42358 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
42359 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
42362 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
42364 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
42365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
42366 $(NORMAL_TARGET_EXPORTS) \
42367 echo Configuring in $(TARGET_SUBDIR)/libitm; \
42368 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
42369 case $(srcdir) in \
42370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42371 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
42372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42374 srcdiroption="--srcdir=$${topdir}/libitm"; \
42375 libsrcdir="$$s/libitm"; \
42376 rm -f no-such-file || : ; \
42377 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42378 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42379 --target=${target_alias} $${srcdiroption} \
42381 @endif target-libitm
42387 .PHONY: all-target-libitm maybe-all-target-libitm
42388 maybe-all-target-libitm:
42390 all-target-libitm: stage_current
42391 @endif gcc-bootstrap
42393 TARGET-target-libitm=all
42394 maybe-all-target-libitm: all-target-libitm
42395 all-target-libitm: configure-target-libitm
42396 @: $(MAKE); $(unstage)
42397 @r=`${PWD_COMMAND}`; export r; \
42398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42399 $(NORMAL_TARGET_EXPORTS) \
42400 (cd $(TARGET_SUBDIR)/libitm && \
42401 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42402 $(TARGET-target-libitm))
42403 @endif target-libitm
42409 .PHONY: check-target-libitm maybe-check-target-libitm
42410 maybe-check-target-libitm:
42412 maybe-check-target-libitm: check-target-libitm
42414 check-target-libitm:
42415 @: $(MAKE); $(unstage)
42416 @r=`${PWD_COMMAND}`; export r; \
42417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42418 $(NORMAL_TARGET_EXPORTS) \
42419 (cd $(TARGET_SUBDIR)/libitm && \
42420 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42422 @endif target-libitm
42424 .PHONY: install-target-libitm maybe-install-target-libitm
42425 maybe-install-target-libitm:
42427 maybe-install-target-libitm: install-target-libitm
42429 install-target-libitm: installdirs
42430 @: $(MAKE); $(unstage)
42431 @r=`${PWD_COMMAND}`; export r; \
42432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42433 $(NORMAL_TARGET_EXPORTS) \
42434 (cd $(TARGET_SUBDIR)/libitm && \
42435 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42437 @endif target-libitm
42439 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
42440 maybe-install-strip-target-libitm:
42442 maybe-install-strip-target-libitm: install-strip-target-libitm
42444 install-strip-target-libitm: installdirs
42445 @: $(MAKE); $(unstage)
42446 @r=`${PWD_COMMAND}`; export r; \
42447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42448 $(NORMAL_TARGET_EXPORTS) \
42449 (cd $(TARGET_SUBDIR)/libitm && \
42450 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42452 @endif target-libitm
42454 # Other targets (info, dvi, pdf, etc.)
42456 .PHONY: maybe-info-target-libitm info-target-libitm
42457 maybe-info-target-libitm:
42459 maybe-info-target-libitm: info-target-libitm
42461 info-target-libitm: \
42462 configure-target-libitm
42463 @: $(MAKE); $(unstage)
42464 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42465 r=`${PWD_COMMAND}`; export r; \
42466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42467 $(NORMAL_TARGET_EXPORTS) \
42468 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
42469 for flag in $(EXTRA_TARGET_FLAGS); do \
42470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42472 (cd $(TARGET_SUBDIR)/libitm && \
42473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42475 "RANLIB=$${RANLIB}" \
42476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42480 @endif target-libitm
42482 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
42483 maybe-dvi-target-libitm:
42485 maybe-dvi-target-libitm: dvi-target-libitm
42487 dvi-target-libitm: \
42488 configure-target-libitm
42489 @: $(MAKE); $(unstage)
42490 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42491 r=`${PWD_COMMAND}`; export r; \
42492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42493 $(NORMAL_TARGET_EXPORTS) \
42494 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
42495 for flag in $(EXTRA_TARGET_FLAGS); do \
42496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42498 (cd $(TARGET_SUBDIR)/libitm && \
42499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42501 "RANLIB=$${RANLIB}" \
42502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42506 @endif target-libitm
42508 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
42509 maybe-pdf-target-libitm:
42511 maybe-pdf-target-libitm: pdf-target-libitm
42513 pdf-target-libitm: \
42514 configure-target-libitm
42515 @: $(MAKE); $(unstage)
42516 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42517 r=`${PWD_COMMAND}`; export r; \
42518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42519 $(NORMAL_TARGET_EXPORTS) \
42520 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
42521 for flag in $(EXTRA_TARGET_FLAGS); do \
42522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42524 (cd $(TARGET_SUBDIR)/libitm && \
42525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42527 "RANLIB=$${RANLIB}" \
42528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42532 @endif target-libitm
42534 .PHONY: maybe-html-target-libitm html-target-libitm
42535 maybe-html-target-libitm:
42537 maybe-html-target-libitm: html-target-libitm
42539 html-target-libitm: \
42540 configure-target-libitm
42541 @: $(MAKE); $(unstage)
42542 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42543 r=`${PWD_COMMAND}`; export r; \
42544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42545 $(NORMAL_TARGET_EXPORTS) \
42546 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
42547 for flag in $(EXTRA_TARGET_FLAGS); do \
42548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42550 (cd $(TARGET_SUBDIR)/libitm && \
42551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42553 "RANLIB=$${RANLIB}" \
42554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42558 @endif target-libitm
42560 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
42561 maybe-TAGS-target-libitm:
42563 maybe-TAGS-target-libitm: TAGS-target-libitm
42565 TAGS-target-libitm: \
42566 configure-target-libitm
42567 @: $(MAKE); $(unstage)
42568 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42569 r=`${PWD_COMMAND}`; export r; \
42570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42571 $(NORMAL_TARGET_EXPORTS) \
42572 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
42573 for flag in $(EXTRA_TARGET_FLAGS); do \
42574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42576 (cd $(TARGET_SUBDIR)/libitm && \
42577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42579 "RANLIB=$${RANLIB}" \
42580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42584 @endif target-libitm
42586 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
42587 maybe-install-info-target-libitm:
42589 maybe-install-info-target-libitm: install-info-target-libitm
42591 install-info-target-libitm: \
42592 configure-target-libitm \
42594 @: $(MAKE); $(unstage)
42595 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42596 r=`${PWD_COMMAND}`; export r; \
42597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42598 $(NORMAL_TARGET_EXPORTS) \
42599 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
42600 for flag in $(EXTRA_TARGET_FLAGS); do \
42601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42603 (cd $(TARGET_SUBDIR)/libitm && \
42604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42606 "RANLIB=$${RANLIB}" \
42607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42611 @endif target-libitm
42613 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
42614 maybe-install-pdf-target-libitm:
42616 maybe-install-pdf-target-libitm: install-pdf-target-libitm
42618 install-pdf-target-libitm: \
42619 configure-target-libitm \
42621 @: $(MAKE); $(unstage)
42622 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42623 r=`${PWD_COMMAND}`; export r; \
42624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42625 $(NORMAL_TARGET_EXPORTS) \
42626 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
42627 for flag in $(EXTRA_TARGET_FLAGS); do \
42628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42630 (cd $(TARGET_SUBDIR)/libitm && \
42631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42633 "RANLIB=$${RANLIB}" \
42634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42638 @endif target-libitm
42640 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
42641 maybe-install-html-target-libitm:
42643 maybe-install-html-target-libitm: install-html-target-libitm
42645 install-html-target-libitm: \
42646 configure-target-libitm \
42648 @: $(MAKE); $(unstage)
42649 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42650 r=`${PWD_COMMAND}`; export r; \
42651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42652 $(NORMAL_TARGET_EXPORTS) \
42653 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
42654 for flag in $(EXTRA_TARGET_FLAGS); do \
42655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42657 (cd $(TARGET_SUBDIR)/libitm && \
42658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42660 "RANLIB=$${RANLIB}" \
42661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42665 @endif target-libitm
42667 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
42668 maybe-installcheck-target-libitm:
42670 maybe-installcheck-target-libitm: installcheck-target-libitm
42672 installcheck-target-libitm: \
42673 configure-target-libitm
42674 @: $(MAKE); $(unstage)
42675 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42676 r=`${PWD_COMMAND}`; export r; \
42677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42678 $(NORMAL_TARGET_EXPORTS) \
42679 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
42680 for flag in $(EXTRA_TARGET_FLAGS); do \
42681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42683 (cd $(TARGET_SUBDIR)/libitm && \
42684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42686 "RANLIB=$${RANLIB}" \
42687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42691 @endif target-libitm
42693 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
42694 maybe-mostlyclean-target-libitm:
42696 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
42698 mostlyclean-target-libitm:
42699 @: $(MAKE); $(unstage)
42700 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42701 r=`${PWD_COMMAND}`; export r; \
42702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42703 $(NORMAL_TARGET_EXPORTS) \
42704 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
42705 for flag in $(EXTRA_TARGET_FLAGS); do \
42706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42708 (cd $(TARGET_SUBDIR)/libitm && \
42709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42711 "RANLIB=$${RANLIB}" \
42712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42716 @endif target-libitm
42718 .PHONY: maybe-clean-target-libitm clean-target-libitm
42719 maybe-clean-target-libitm:
42721 maybe-clean-target-libitm: clean-target-libitm
42723 clean-target-libitm:
42724 @: $(MAKE); $(unstage)
42725 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42726 r=`${PWD_COMMAND}`; export r; \
42727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42728 $(NORMAL_TARGET_EXPORTS) \
42729 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
42730 for flag in $(EXTRA_TARGET_FLAGS); do \
42731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42733 (cd $(TARGET_SUBDIR)/libitm && \
42734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42736 "RANLIB=$${RANLIB}" \
42737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42741 @endif target-libitm
42743 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
42744 maybe-distclean-target-libitm:
42746 maybe-distclean-target-libitm: distclean-target-libitm
42748 distclean-target-libitm:
42749 @: $(MAKE); $(unstage)
42750 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42751 r=`${PWD_COMMAND}`; export r; \
42752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42753 $(NORMAL_TARGET_EXPORTS) \
42754 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
42755 for flag in $(EXTRA_TARGET_FLAGS); do \
42756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42758 (cd $(TARGET_SUBDIR)/libitm && \
42759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42761 "RANLIB=$${RANLIB}" \
42762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42766 @endif target-libitm
42768 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
42769 maybe-maintainer-clean-target-libitm:
42771 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
42773 maintainer-clean-target-libitm:
42774 @: $(MAKE); $(unstage)
42775 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
42776 r=`${PWD_COMMAND}`; export r; \
42777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42778 $(NORMAL_TARGET_EXPORTS) \
42779 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
42780 for flag in $(EXTRA_TARGET_FLAGS); do \
42781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42783 (cd $(TARGET_SUBDIR)/libitm && \
42784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42786 "RANLIB=$${RANLIB}" \
42787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42788 maintainer-clean) \
42791 @endif target-libitm
42797 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
42798 maybe-configure-target-libatomic:
42800 configure-target-libatomic: stage_current
42801 @endif gcc-bootstrap
42802 @if target-libatomic
42803 maybe-configure-target-libatomic: configure-target-libatomic
42804 configure-target-libatomic:
42805 @: $(MAKE); $(unstage)
42806 @r=`${PWD_COMMAND}`; export r; \
42807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42808 echo "Checking multilib configuration for libatomic..."; \
42809 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
42810 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
42811 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
42812 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
42813 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
42815 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
42816 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
42819 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
42821 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
42822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
42823 $(NORMAL_TARGET_EXPORTS) \
42824 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
42825 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
42826 case $(srcdir) in \
42827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42828 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
42829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42831 srcdiroption="--srcdir=$${topdir}/libatomic"; \
42832 libsrcdir="$$s/libatomic"; \
42833 rm -f no-such-file || : ; \
42834 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42835 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42836 --target=${target_alias} $${srcdiroption} \
42838 @endif target-libatomic
42844 .PHONY: all-target-libatomic maybe-all-target-libatomic
42845 maybe-all-target-libatomic:
42847 all-target-libatomic: stage_current
42848 @endif gcc-bootstrap
42849 @if target-libatomic
42850 TARGET-target-libatomic=all
42851 maybe-all-target-libatomic: all-target-libatomic
42852 all-target-libatomic: configure-target-libatomic
42853 @: $(MAKE); $(unstage)
42854 @r=`${PWD_COMMAND}`; export r; \
42855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42856 $(NORMAL_TARGET_EXPORTS) \
42857 (cd $(TARGET_SUBDIR)/libatomic && \
42858 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42859 $(TARGET-target-libatomic))
42860 @endif target-libatomic
42866 .PHONY: check-target-libatomic maybe-check-target-libatomic
42867 maybe-check-target-libatomic:
42868 @if target-libatomic
42869 maybe-check-target-libatomic: check-target-libatomic
42871 check-target-libatomic:
42872 @: $(MAKE); $(unstage)
42873 @r=`${PWD_COMMAND}`; export r; \
42874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42875 $(NORMAL_TARGET_EXPORTS) \
42876 (cd $(TARGET_SUBDIR)/libatomic && \
42877 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42879 @endif target-libatomic
42881 .PHONY: install-target-libatomic maybe-install-target-libatomic
42882 maybe-install-target-libatomic:
42883 @if target-libatomic
42884 maybe-install-target-libatomic: install-target-libatomic
42886 install-target-libatomic: installdirs
42887 @: $(MAKE); $(unstage)
42888 @r=`${PWD_COMMAND}`; export r; \
42889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42890 $(NORMAL_TARGET_EXPORTS) \
42891 (cd $(TARGET_SUBDIR)/libatomic && \
42892 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42894 @endif target-libatomic
42896 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
42897 maybe-install-strip-target-libatomic:
42898 @if target-libatomic
42899 maybe-install-strip-target-libatomic: install-strip-target-libatomic
42901 install-strip-target-libatomic: installdirs
42902 @: $(MAKE); $(unstage)
42903 @r=`${PWD_COMMAND}`; export r; \
42904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42905 $(NORMAL_TARGET_EXPORTS) \
42906 (cd $(TARGET_SUBDIR)/libatomic && \
42907 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42909 @endif target-libatomic
42911 # Other targets (info, dvi, pdf, etc.)
42913 .PHONY: maybe-info-target-libatomic info-target-libatomic
42914 maybe-info-target-libatomic:
42915 @if target-libatomic
42916 maybe-info-target-libatomic: info-target-libatomic
42918 info-target-libatomic: \
42919 configure-target-libatomic
42920 @: $(MAKE); $(unstage)
42921 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42922 r=`${PWD_COMMAND}`; export r; \
42923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42924 $(NORMAL_TARGET_EXPORTS) \
42925 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
42926 for flag in $(EXTRA_TARGET_FLAGS); do \
42927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42929 (cd $(TARGET_SUBDIR)/libatomic && \
42930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42932 "RANLIB=$${RANLIB}" \
42933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42937 @endif target-libatomic
42939 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
42940 maybe-dvi-target-libatomic:
42941 @if target-libatomic
42942 maybe-dvi-target-libatomic: dvi-target-libatomic
42944 dvi-target-libatomic: \
42945 configure-target-libatomic
42946 @: $(MAKE); $(unstage)
42947 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42948 r=`${PWD_COMMAND}`; export r; \
42949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42950 $(NORMAL_TARGET_EXPORTS) \
42951 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
42952 for flag in $(EXTRA_TARGET_FLAGS); do \
42953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42955 (cd $(TARGET_SUBDIR)/libatomic && \
42956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42958 "RANLIB=$${RANLIB}" \
42959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42963 @endif target-libatomic
42965 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
42966 maybe-pdf-target-libatomic:
42967 @if target-libatomic
42968 maybe-pdf-target-libatomic: pdf-target-libatomic
42970 pdf-target-libatomic: \
42971 configure-target-libatomic
42972 @: $(MAKE); $(unstage)
42973 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42974 r=`${PWD_COMMAND}`; export r; \
42975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42976 $(NORMAL_TARGET_EXPORTS) \
42977 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
42978 for flag in $(EXTRA_TARGET_FLAGS); do \
42979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42981 (cd $(TARGET_SUBDIR)/libatomic && \
42982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42984 "RANLIB=$${RANLIB}" \
42985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42989 @endif target-libatomic
42991 .PHONY: maybe-html-target-libatomic html-target-libatomic
42992 maybe-html-target-libatomic:
42993 @if target-libatomic
42994 maybe-html-target-libatomic: html-target-libatomic
42996 html-target-libatomic: \
42997 configure-target-libatomic
42998 @: $(MAKE); $(unstage)
42999 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43000 r=`${PWD_COMMAND}`; export r; \
43001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43002 $(NORMAL_TARGET_EXPORTS) \
43003 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
43004 for flag in $(EXTRA_TARGET_FLAGS); do \
43005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43007 (cd $(TARGET_SUBDIR)/libatomic && \
43008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43010 "RANLIB=$${RANLIB}" \
43011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43015 @endif target-libatomic
43017 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
43018 maybe-TAGS-target-libatomic:
43019 @if target-libatomic
43020 maybe-TAGS-target-libatomic: TAGS-target-libatomic
43022 TAGS-target-libatomic: \
43023 configure-target-libatomic
43024 @: $(MAKE); $(unstage)
43025 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43026 r=`${PWD_COMMAND}`; export r; \
43027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43028 $(NORMAL_TARGET_EXPORTS) \
43029 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
43030 for flag in $(EXTRA_TARGET_FLAGS); do \
43031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43033 (cd $(TARGET_SUBDIR)/libatomic && \
43034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43036 "RANLIB=$${RANLIB}" \
43037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43041 @endif target-libatomic
43043 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
43044 maybe-install-info-target-libatomic:
43045 @if target-libatomic
43046 maybe-install-info-target-libatomic: install-info-target-libatomic
43048 install-info-target-libatomic: \
43049 configure-target-libatomic \
43050 info-target-libatomic
43051 @: $(MAKE); $(unstage)
43052 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43053 r=`${PWD_COMMAND}`; export r; \
43054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43055 $(NORMAL_TARGET_EXPORTS) \
43056 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
43057 for flag in $(EXTRA_TARGET_FLAGS); do \
43058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43060 (cd $(TARGET_SUBDIR)/libatomic && \
43061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43063 "RANLIB=$${RANLIB}" \
43064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43068 @endif target-libatomic
43070 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
43071 maybe-install-pdf-target-libatomic:
43072 @if target-libatomic
43073 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
43075 install-pdf-target-libatomic: \
43076 configure-target-libatomic \
43077 pdf-target-libatomic
43078 @: $(MAKE); $(unstage)
43079 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43080 r=`${PWD_COMMAND}`; export r; \
43081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43082 $(NORMAL_TARGET_EXPORTS) \
43083 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
43084 for flag in $(EXTRA_TARGET_FLAGS); do \
43085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43087 (cd $(TARGET_SUBDIR)/libatomic && \
43088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43090 "RANLIB=$${RANLIB}" \
43091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43095 @endif target-libatomic
43097 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
43098 maybe-install-html-target-libatomic:
43099 @if target-libatomic
43100 maybe-install-html-target-libatomic: install-html-target-libatomic
43102 install-html-target-libatomic: \
43103 configure-target-libatomic \
43104 html-target-libatomic
43105 @: $(MAKE); $(unstage)
43106 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43107 r=`${PWD_COMMAND}`; export r; \
43108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43109 $(NORMAL_TARGET_EXPORTS) \
43110 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
43111 for flag in $(EXTRA_TARGET_FLAGS); do \
43112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43114 (cd $(TARGET_SUBDIR)/libatomic && \
43115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43117 "RANLIB=$${RANLIB}" \
43118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43122 @endif target-libatomic
43124 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
43125 maybe-installcheck-target-libatomic:
43126 @if target-libatomic
43127 maybe-installcheck-target-libatomic: installcheck-target-libatomic
43129 installcheck-target-libatomic: \
43130 configure-target-libatomic
43131 @: $(MAKE); $(unstage)
43132 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43133 r=`${PWD_COMMAND}`; export r; \
43134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43135 $(NORMAL_TARGET_EXPORTS) \
43136 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
43137 for flag in $(EXTRA_TARGET_FLAGS); do \
43138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43140 (cd $(TARGET_SUBDIR)/libatomic && \
43141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43143 "RANLIB=$${RANLIB}" \
43144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43148 @endif target-libatomic
43150 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
43151 maybe-mostlyclean-target-libatomic:
43152 @if target-libatomic
43153 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
43155 mostlyclean-target-libatomic:
43156 @: $(MAKE); $(unstage)
43157 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43158 r=`${PWD_COMMAND}`; export r; \
43159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43160 $(NORMAL_TARGET_EXPORTS) \
43161 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
43162 for flag in $(EXTRA_TARGET_FLAGS); do \
43163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43165 (cd $(TARGET_SUBDIR)/libatomic && \
43166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43168 "RANLIB=$${RANLIB}" \
43169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43173 @endif target-libatomic
43175 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
43176 maybe-clean-target-libatomic:
43177 @if target-libatomic
43178 maybe-clean-target-libatomic: clean-target-libatomic
43180 clean-target-libatomic:
43181 @: $(MAKE); $(unstage)
43182 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43183 r=`${PWD_COMMAND}`; export r; \
43184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43185 $(NORMAL_TARGET_EXPORTS) \
43186 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
43187 for flag in $(EXTRA_TARGET_FLAGS); do \
43188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43190 (cd $(TARGET_SUBDIR)/libatomic && \
43191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43193 "RANLIB=$${RANLIB}" \
43194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43198 @endif target-libatomic
43200 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
43201 maybe-distclean-target-libatomic:
43202 @if target-libatomic
43203 maybe-distclean-target-libatomic: distclean-target-libatomic
43205 distclean-target-libatomic:
43206 @: $(MAKE); $(unstage)
43207 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43208 r=`${PWD_COMMAND}`; export r; \
43209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43210 $(NORMAL_TARGET_EXPORTS) \
43211 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
43212 for flag in $(EXTRA_TARGET_FLAGS); do \
43213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43215 (cd $(TARGET_SUBDIR)/libatomic && \
43216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43218 "RANLIB=$${RANLIB}" \
43219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43223 @endif target-libatomic
43225 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
43226 maybe-maintainer-clean-target-libatomic:
43227 @if target-libatomic
43228 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
43230 maintainer-clean-target-libatomic:
43231 @: $(MAKE); $(unstage)
43232 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
43233 r=`${PWD_COMMAND}`; export r; \
43234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43235 $(NORMAL_TARGET_EXPORTS) \
43236 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
43237 for flag in $(EXTRA_TARGET_FLAGS); do \
43238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43240 (cd $(TARGET_SUBDIR)/libatomic && \
43241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43243 "RANLIB=$${RANLIB}" \
43244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43245 maintainer-clean) \
43248 @endif target-libatomic
43252 @if target-libmudflap
43253 .PHONY: check-target-libmudflap-c++
43254 check-target-libmudflap-c++:
43255 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
43257 @endif target-libmudflap
43260 .PHONY: check-target-libgomp-c++
43261 check-target-libgomp-c++:
43262 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
43264 @endif target-libgomp
43267 .PHONY: check-target-libitm-c++
43268 check-target-libitm-c++:
43269 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
43271 @endif target-libitm
43277 @if gcc-no-bootstrap
43279 cross: all-build all-gas all-ld
43280 @r=`${PWD_COMMAND}`; export r; \
43281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43283 echo "Building the C and C++ compiler"; \
43284 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
43285 @r=`${PWD_COMMAND}`; export r; \
43286 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
43287 echo "Building runtime libraries"; \
43288 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
43289 @endif gcc-no-bootstrap
43293 .PHONY: check-gcc-c check-c
43295 r=`${PWD_COMMAND}`; export r; \
43296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43298 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
43299 check-c: check-gcc-c
43301 .PHONY: check-gcc-c++ check-c++
43303 r=`${PWD_COMMAND}`; export r; \
43304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43306 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
43307 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
43309 .PHONY: check-gcc-fortran check-fortran
43311 r=`${PWD_COMMAND}`; export r; \
43312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43314 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
43315 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
43317 .PHONY: check-gcc-java check-java
43319 r=`${PWD_COMMAND}`; export r; \
43320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43322 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
43323 check-java: check-gcc-java check-target-libjava
43325 .PHONY: check-gcc-ada check-ada
43327 r=`${PWD_COMMAND}`; export r; \
43328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43330 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
43331 check-ada: check-gcc-ada check-target-libada
43333 .PHONY: check-gcc-objc check-objc
43335 r=`${PWD_COMMAND}`; export r; \
43336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43338 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
43339 check-objc: check-gcc-objc check-target-libobjc
43341 .PHONY: check-gcc-obj-c++ check-obj-c++
43343 r=`${PWD_COMMAND}`; export r; \
43344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43346 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
43347 check-obj-c++: check-gcc-obj-c++
43349 .PHONY: check-gcc-go check-go
43351 r=`${PWD_COMMAND}`; export r; \
43352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43354 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
43355 check-go: check-gcc-go check-target-libgo
43358 # The gcc part of install-no-fixedincludes, which relies on an intimate
43359 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
43360 .PHONY: gcc-install-no-fixedincludes
43361 gcc-install-no-fixedincludes:
43362 @if [ -f ./gcc/Makefile ]; then \
43363 r=`${PWD_COMMAND}`; export r; \
43364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43367 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
43371 # ---------------------
43372 # GCC bootstrap support
43373 # ---------------------
43375 # We track the current stage (the one in 'gcc') in the stage_current file.
43376 # stage_last instead tracks the stage that was built last. These targets
43377 # are dummy when toplevel bootstrap is not active.
43379 # While making host and target tools, symlinks to the final stage must be
43380 # there, so $(unstage) should be run at various points. To avoid excessive
43381 # recursive invocations of make, we "inline" them using a variable. These
43382 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
43383 # to avoid warnings from the GNU Make job server.
43390 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
43391 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
43392 current_stage = "`cat stage_current 2> /dev/null`"
43393 @endif gcc-bootstrap
43395 .PHONY: unstage stage
43397 @: $(MAKE); $(unstage)
43399 @: $(MAKE); $(stage)
43401 # Disable commands for lean bootstrap.
43404 # We name the build directories for the various stages "stage1-gcc",
43405 # "stage2-gcc","stage3-gcc", etc.
43407 # Since the 'compare' process will fail (on debugging information) if any
43408 # directory names are different, we need to link the gcc directory for
43409 # the previous stage to a constant name ('prev-gcc'), and to make the name of
43410 # the build directories constant as well. For the latter, we use naked names
43411 # like 'gcc', because the scripts in that directory assume it. We use
43412 # mv on platforms where symlinks to directories do not work or are not
43415 # 'touch' doesn't work right on some platforms.
43416 STAMP = echo timestamp >
43418 # We only want to compare .o files, so set this!
43422 .PHONY: stage1-start stage1-end
43425 @: $(MAKE); $(stage); \
43426 echo stage1 > stage_current ; \
43427 echo stage1 > stage_last; \
43428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43430 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
43431 mkdir stage1-bfd; \
43435 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
43436 mkdir stage1-opcodes; \
43437 mv stage1-opcodes opcodes
43440 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
43441 mkdir stage1-binutils; \
43442 mv stage1-binutils binutils
43445 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
43446 mkdir stage1-gas; \
43450 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
43451 mkdir stage1-gcc; \
43455 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
43456 mkdir stage1-gmp; \
43460 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
43461 mkdir stage1-mpfr; \
43462 mv stage1-mpfr mpfr
43465 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
43466 mkdir stage1-mpc; \
43470 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
43471 mkdir stage1-isl; \
43475 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
43476 mkdir stage1-cloog; \
43477 mv stage1-cloog cloog
43480 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
43481 mkdir stage1-libelf; \
43482 mv stage1-libelf libelf
43485 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
43486 mkdir stage1-gold; \
43487 mv stage1-gold gold
43490 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
43491 mkdir stage1-intl; \
43492 mv stage1-intl intl
43495 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
43500 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
43501 mkdir stage1-libbacktrace; \
43502 mv stage1-libbacktrace libbacktrace
43503 @endif libbacktrace
43505 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
43506 mkdir stage1-libcpp; \
43507 mv stage1-libcpp libcpp
43510 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
43511 mkdir stage1-libdecnumber; \
43512 mv stage1-libdecnumber libdecnumber
43513 @endif libdecnumber
43515 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
43516 mkdir stage1-libiberty; \
43517 mv stage1-libiberty libiberty
43520 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
43521 mkdir stage1-zlib; \
43522 mv stage1-zlib zlib
43525 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
43526 mkdir stage1-lto-plugin; \
43527 mv stage1-lto-plugin lto-plugin
43529 @[ -d stage1-$(TARGET_SUBDIR) ] || \
43530 mkdir stage1-$(TARGET_SUBDIR); \
43531 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
43535 @if test -d $(HOST_SUBDIR)/bfd ; then \
43536 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
43540 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43541 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
43545 @if test -d $(HOST_SUBDIR)/binutils ; then \
43546 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
43550 @if test -d $(HOST_SUBDIR)/gas ; then \
43551 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
43555 @if test -d $(HOST_SUBDIR)/gcc ; then \
43556 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
43560 @if test -d $(HOST_SUBDIR)/gmp ; then \
43561 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
43565 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43566 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
43570 @if test -d $(HOST_SUBDIR)/mpc ; then \
43571 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
43575 @if test -d $(HOST_SUBDIR)/isl ; then \
43576 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
43580 @if test -d $(HOST_SUBDIR)/cloog ; then \
43581 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
43585 @if test -d $(HOST_SUBDIR)/libelf ; then \
43586 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
43590 @if test -d $(HOST_SUBDIR)/gold ; then \
43591 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
43595 @if test -d $(HOST_SUBDIR)/intl ; then \
43596 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
43600 @if test -d $(HOST_SUBDIR)/ld ; then \
43601 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
43605 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43606 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
43608 @endif libbacktrace
43610 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43611 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
43615 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43616 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
43618 @endif libdecnumber
43620 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43621 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
43625 @if test -d $(HOST_SUBDIR)/zlib ; then \
43626 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
43630 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43631 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
43634 @if test -d $(TARGET_SUBDIR) ; then \
43635 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
43637 rm -f stage_current
43639 # Bubble a bug fix through all the stages up to stage 1. They are
43640 # remade, but not reconfigured. The next stage (if any) will not be
43641 # reconfigured either.
43642 .PHONY: stage1-bubble
43644 @r=`${PWD_COMMAND}`; export r; \
43645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43646 if test -f stage1-lean ; then \
43647 echo Skipping rebuild of stage1 ; \
43649 $(MAKE) stage1-start; \
43650 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
43653 .PHONY: all-stage1 clean-stage1
43654 do-clean: clean-stage1
43656 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43657 # only possibility, but now it conflicts with no-bootstrap rules
43663 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43665 .PHONY: distclean-stage1
43667 @: $(MAKE); $(stage)
43668 @test "`cat stage_last`" != stage1 || rm -f stage_last
43672 @endif gcc-bootstrap
43675 .PHONY: stage2-start stage2-end
43678 @: $(MAKE); $(stage); \
43679 echo stage2 > stage_current ; \
43680 echo stage2 > stage_last; \
43681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43683 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
43684 mkdir stage2-bfd; \
43685 mv stage2-bfd bfd ; \
43686 mv stage1-bfd prev-bfd || test -f stage1-lean
43689 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
43690 mkdir stage2-opcodes; \
43691 mv stage2-opcodes opcodes ; \
43692 mv stage1-opcodes prev-opcodes || test -f stage1-lean
43695 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
43696 mkdir stage2-binutils; \
43697 mv stage2-binutils binutils ; \
43698 mv stage1-binutils prev-binutils || test -f stage1-lean
43701 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
43702 mkdir stage2-gas; \
43703 mv stage2-gas gas ; \
43704 mv stage1-gas prev-gas || test -f stage1-lean
43707 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
43708 mkdir stage2-gcc; \
43709 mv stage2-gcc gcc ; \
43710 mv stage1-gcc prev-gcc || test -f stage1-lean
43713 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
43714 mkdir stage2-gmp; \
43715 mv stage2-gmp gmp ; \
43716 mv stage1-gmp prev-gmp || test -f stage1-lean
43719 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
43720 mkdir stage2-mpfr; \
43721 mv stage2-mpfr mpfr ; \
43722 mv stage1-mpfr prev-mpfr || test -f stage1-lean
43725 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
43726 mkdir stage2-mpc; \
43727 mv stage2-mpc mpc ; \
43728 mv stage1-mpc prev-mpc || test -f stage1-lean
43731 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
43732 mkdir stage2-isl; \
43733 mv stage2-isl isl ; \
43734 mv stage1-isl prev-isl || test -f stage1-lean
43737 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
43738 mkdir stage2-cloog; \
43739 mv stage2-cloog cloog ; \
43740 mv stage1-cloog prev-cloog || test -f stage1-lean
43743 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
43744 mkdir stage2-libelf; \
43745 mv stage2-libelf libelf ; \
43746 mv stage1-libelf prev-libelf || test -f stage1-lean
43749 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
43750 mkdir stage2-gold; \
43751 mv stage2-gold gold ; \
43752 mv stage1-gold prev-gold || test -f stage1-lean
43755 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
43756 mkdir stage2-intl; \
43757 mv stage2-intl intl ; \
43758 mv stage1-intl prev-intl || test -f stage1-lean
43761 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
43763 mv stage2-ld ld ; \
43764 mv stage1-ld prev-ld || test -f stage1-lean
43767 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
43768 mkdir stage2-libbacktrace; \
43769 mv stage2-libbacktrace libbacktrace ; \
43770 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
43771 @endif libbacktrace
43773 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
43774 mkdir stage2-libcpp; \
43775 mv stage2-libcpp libcpp ; \
43776 mv stage1-libcpp prev-libcpp || test -f stage1-lean
43779 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
43780 mkdir stage2-libdecnumber; \
43781 mv stage2-libdecnumber libdecnumber ; \
43782 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
43783 @endif libdecnumber
43785 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
43786 mkdir stage2-libiberty; \
43787 mv stage2-libiberty libiberty ; \
43788 mv stage1-libiberty prev-libiberty || test -f stage1-lean
43791 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
43792 mkdir stage2-zlib; \
43793 mv stage2-zlib zlib ; \
43794 mv stage1-zlib prev-zlib || test -f stage1-lean
43797 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
43798 mkdir stage2-lto-plugin; \
43799 mv stage2-lto-plugin lto-plugin ; \
43800 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
43802 @[ -d stage2-$(TARGET_SUBDIR) ] || \
43803 mkdir stage2-$(TARGET_SUBDIR); \
43804 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43805 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
43809 @if test -d $(HOST_SUBDIR)/bfd ; then \
43810 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
43811 mv prev-bfd stage1-bfd ; : ; \
43815 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43816 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
43817 mv prev-opcodes stage1-opcodes ; : ; \
43821 @if test -d $(HOST_SUBDIR)/binutils ; then \
43822 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
43823 mv prev-binutils stage1-binutils ; : ; \
43827 @if test -d $(HOST_SUBDIR)/gas ; then \
43828 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
43829 mv prev-gas stage1-gas ; : ; \
43833 @if test -d $(HOST_SUBDIR)/gcc ; then \
43834 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
43835 mv prev-gcc stage1-gcc ; : ; \
43839 @if test -d $(HOST_SUBDIR)/gmp ; then \
43840 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
43841 mv prev-gmp stage1-gmp ; : ; \
43845 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43846 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
43847 mv prev-mpfr stage1-mpfr ; : ; \
43851 @if test -d $(HOST_SUBDIR)/mpc ; then \
43852 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
43853 mv prev-mpc stage1-mpc ; : ; \
43857 @if test -d $(HOST_SUBDIR)/isl ; then \
43858 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
43859 mv prev-isl stage1-isl ; : ; \
43863 @if test -d $(HOST_SUBDIR)/cloog ; then \
43864 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
43865 mv prev-cloog stage1-cloog ; : ; \
43869 @if test -d $(HOST_SUBDIR)/libelf ; then \
43870 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
43871 mv prev-libelf stage1-libelf ; : ; \
43875 @if test -d $(HOST_SUBDIR)/gold ; then \
43876 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
43877 mv prev-gold stage1-gold ; : ; \
43881 @if test -d $(HOST_SUBDIR)/intl ; then \
43882 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
43883 mv prev-intl stage1-intl ; : ; \
43887 @if test -d $(HOST_SUBDIR)/ld ; then \
43888 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
43889 mv prev-ld stage1-ld ; : ; \
43893 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43894 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
43895 mv prev-libbacktrace stage1-libbacktrace ; : ; \
43897 @endif libbacktrace
43899 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43900 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
43901 mv prev-libcpp stage1-libcpp ; : ; \
43905 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43906 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
43907 mv prev-libdecnumber stage1-libdecnumber ; : ; \
43909 @endif libdecnumber
43911 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43912 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
43913 mv prev-libiberty stage1-libiberty ; : ; \
43917 @if test -d $(HOST_SUBDIR)/zlib ; then \
43918 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
43919 mv prev-zlib stage1-zlib ; : ; \
43923 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43924 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
43925 mv prev-lto-plugin stage1-lto-plugin ; : ; \
43928 @if test -d $(TARGET_SUBDIR) ; then \
43929 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
43930 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
43932 rm -f stage_current
43934 # Bubble a bug fix through all the stages up to stage 2. They are
43935 # remade, but not reconfigured. The next stage (if any) will not be
43936 # reconfigured either.
43937 .PHONY: stage2-bubble
43938 stage2-bubble:: stage1-bubble
43939 @r=`${PWD_COMMAND}`; export r; \
43940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43941 if test -f stage2-lean || test -f stage1-lean ; then \
43942 echo Skipping rebuild of stage2 ; \
43944 $(MAKE) stage2-start; \
43945 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
43948 .PHONY: all-stage2 clean-stage2
43949 do-clean: clean-stage2
43951 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43952 # only possibility, but now it conflicts with no-bootstrap rules
43957 .PHONY: bootstrap2 bootstrap2-lean
43959 echo stage2 > stage_final
43960 @r=`${PWD_COMMAND}`; export r; \
43961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43962 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
43963 @: $(MAKE); $(unstage)
43964 @r=`${PWD_COMMAND}`; export r; \
43965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43966 TFLAGS="$(STAGE2_TFLAGS)"; \
43967 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43970 echo stage2 > stage_final
43971 @r=`${PWD_COMMAND}`; export r; \
43972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
43974 @: $(MAKE); $(unstage)
43975 @r=`${PWD_COMMAND}`; export r; \
43976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43977 TFLAGS="$(STAGE2_TFLAGS)"; \
43978 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43981 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43982 distclean-stage1:: distclean-stage2
43983 .PHONY: distclean-stage2
43985 @: $(MAKE); $(stage)
43986 @test "`cat stage_last`" != stage2 || rm -f stage_last
43990 @endif gcc-bootstrap
43993 .PHONY: stage3-start stage3-end
43996 @: $(MAKE); $(stage); \
43997 echo stage3 > stage_current ; \
43998 echo stage3 > stage_last; \
43999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44001 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
44002 mkdir stage3-bfd; \
44003 mv stage3-bfd bfd ; \
44004 mv stage2-bfd prev-bfd || test -f stage2-lean
44007 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
44008 mkdir stage3-opcodes; \
44009 mv stage3-opcodes opcodes ; \
44010 mv stage2-opcodes prev-opcodes || test -f stage2-lean
44013 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
44014 mkdir stage3-binutils; \
44015 mv stage3-binutils binutils ; \
44016 mv stage2-binutils prev-binutils || test -f stage2-lean
44019 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
44020 mkdir stage3-gas; \
44021 mv stage3-gas gas ; \
44022 mv stage2-gas prev-gas || test -f stage2-lean
44025 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
44026 mkdir stage3-gcc; \
44027 mv stage3-gcc gcc ; \
44028 mv stage2-gcc prev-gcc || test -f stage2-lean
44031 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
44032 mkdir stage3-gmp; \
44033 mv stage3-gmp gmp ; \
44034 mv stage2-gmp prev-gmp || test -f stage2-lean
44037 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
44038 mkdir stage3-mpfr; \
44039 mv stage3-mpfr mpfr ; \
44040 mv stage2-mpfr prev-mpfr || test -f stage2-lean
44043 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
44044 mkdir stage3-mpc; \
44045 mv stage3-mpc mpc ; \
44046 mv stage2-mpc prev-mpc || test -f stage2-lean
44049 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
44050 mkdir stage3-isl; \
44051 mv stage3-isl isl ; \
44052 mv stage2-isl prev-isl || test -f stage2-lean
44055 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
44056 mkdir stage3-cloog; \
44057 mv stage3-cloog cloog ; \
44058 mv stage2-cloog prev-cloog || test -f stage2-lean
44061 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
44062 mkdir stage3-libelf; \
44063 mv stage3-libelf libelf ; \
44064 mv stage2-libelf prev-libelf || test -f stage2-lean
44067 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
44068 mkdir stage3-gold; \
44069 mv stage3-gold gold ; \
44070 mv stage2-gold prev-gold || test -f stage2-lean
44073 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
44074 mkdir stage3-intl; \
44075 mv stage3-intl intl ; \
44076 mv stage2-intl prev-intl || test -f stage2-lean
44079 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
44081 mv stage3-ld ld ; \
44082 mv stage2-ld prev-ld || test -f stage2-lean
44085 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
44086 mkdir stage3-libbacktrace; \
44087 mv stage3-libbacktrace libbacktrace ; \
44088 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
44089 @endif libbacktrace
44091 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
44092 mkdir stage3-libcpp; \
44093 mv stage3-libcpp libcpp ; \
44094 mv stage2-libcpp prev-libcpp || test -f stage2-lean
44097 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
44098 mkdir stage3-libdecnumber; \
44099 mv stage3-libdecnumber libdecnumber ; \
44100 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
44101 @endif libdecnumber
44103 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
44104 mkdir stage3-libiberty; \
44105 mv stage3-libiberty libiberty ; \
44106 mv stage2-libiberty prev-libiberty || test -f stage2-lean
44109 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
44110 mkdir stage3-zlib; \
44111 mv stage3-zlib zlib ; \
44112 mv stage2-zlib prev-zlib || test -f stage2-lean
44115 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
44116 mkdir stage3-lto-plugin; \
44117 mv stage3-lto-plugin lto-plugin ; \
44118 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
44120 @[ -d stage3-$(TARGET_SUBDIR) ] || \
44121 mkdir stage3-$(TARGET_SUBDIR); \
44122 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44123 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
44127 @if test -d $(HOST_SUBDIR)/bfd ; then \
44128 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
44129 mv prev-bfd stage2-bfd ; : ; \
44133 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44134 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
44135 mv prev-opcodes stage2-opcodes ; : ; \
44139 @if test -d $(HOST_SUBDIR)/binutils ; then \
44140 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
44141 mv prev-binutils stage2-binutils ; : ; \
44145 @if test -d $(HOST_SUBDIR)/gas ; then \
44146 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
44147 mv prev-gas stage2-gas ; : ; \
44151 @if test -d $(HOST_SUBDIR)/gcc ; then \
44152 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
44153 mv prev-gcc stage2-gcc ; : ; \
44157 @if test -d $(HOST_SUBDIR)/gmp ; then \
44158 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
44159 mv prev-gmp stage2-gmp ; : ; \
44163 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44164 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
44165 mv prev-mpfr stage2-mpfr ; : ; \
44169 @if test -d $(HOST_SUBDIR)/mpc ; then \
44170 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
44171 mv prev-mpc stage2-mpc ; : ; \
44175 @if test -d $(HOST_SUBDIR)/isl ; then \
44176 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
44177 mv prev-isl stage2-isl ; : ; \
44181 @if test -d $(HOST_SUBDIR)/cloog ; then \
44182 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
44183 mv prev-cloog stage2-cloog ; : ; \
44187 @if test -d $(HOST_SUBDIR)/libelf ; then \
44188 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
44189 mv prev-libelf stage2-libelf ; : ; \
44193 @if test -d $(HOST_SUBDIR)/gold ; then \
44194 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
44195 mv prev-gold stage2-gold ; : ; \
44199 @if test -d $(HOST_SUBDIR)/intl ; then \
44200 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
44201 mv prev-intl stage2-intl ; : ; \
44205 @if test -d $(HOST_SUBDIR)/ld ; then \
44206 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
44207 mv prev-ld stage2-ld ; : ; \
44211 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44212 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
44213 mv prev-libbacktrace stage2-libbacktrace ; : ; \
44215 @endif libbacktrace
44217 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44218 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
44219 mv prev-libcpp stage2-libcpp ; : ; \
44223 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44224 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
44225 mv prev-libdecnumber stage2-libdecnumber ; : ; \
44227 @endif libdecnumber
44229 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44230 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
44231 mv prev-libiberty stage2-libiberty ; : ; \
44235 @if test -d $(HOST_SUBDIR)/zlib ; then \
44236 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
44237 mv prev-zlib stage2-zlib ; : ; \
44241 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44242 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
44243 mv prev-lto-plugin stage2-lto-plugin ; : ; \
44246 @if test -d $(TARGET_SUBDIR) ; then \
44247 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
44248 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
44250 rm -f stage_current
44252 # Bubble a bug fix through all the stages up to stage 3. They are
44253 # remade, but not reconfigured. The next stage (if any) will not be
44254 # reconfigured either.
44255 .PHONY: stage3-bubble
44256 stage3-bubble:: stage2-bubble
44257 @r=`${PWD_COMMAND}`; export r; \
44258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44259 if test -f stage3-lean || test -f stage2-lean ; then \
44260 echo Skipping rebuild of stage3 ; \
44262 $(MAKE) stage3-start; \
44264 rm -rf stage1-* ; \
44265 $(STAMP) stage1-lean ; \
44267 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
44269 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
44271 .PHONY: all-stage3 clean-stage3
44272 do-clean: clean-stage3
44274 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44275 # only possibility, but now it conflicts with no-bootstrap rules
44279 @r=`${PWD_COMMAND}`; export r; \
44280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44281 if test -f stage2-lean; then \
44282 echo Cannot compare object files as stage 2 was deleted. ; \
44285 : $(MAKE); $(stage); \
44286 rm -f .bad_compare ; \
44287 echo Comparing stages 2 and 3 ; \
44288 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
44289 files=`find stage3-* -name "*$(objext)" -print | \
44290 sed -n s,^stage$$sed-,,p` ; \
44291 for file in $${files} ; do \
44292 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
44293 if test ! -f $$f1; then continue; fi; \
44294 $(do-compare) > /dev/null 2>&1; \
44295 if test $$? -eq 1; then \
44297 @compare_exclusions@) \
44298 echo warning: $$file differs ;; \
44300 echo $$file differs >> .bad_compare ;; \
44304 if [ -f .bad_compare ]; then \
44305 echo "Bootstrap comparison failure!"; \
44306 cat .bad_compare; \
44309 echo Comparison successful.; \
44314 $(STAMP) stage2-lean; \
44319 .PHONY: bootstrap bootstrap-lean
44321 echo stage3 > stage_final
44322 @r=`${PWD_COMMAND}`; export r; \
44323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44324 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
44325 @: $(MAKE); $(unstage)
44326 @r=`${PWD_COMMAND}`; export r; \
44327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44328 TFLAGS="$(STAGE3_TFLAGS)"; \
44329 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44332 echo stage3 > stage_final
44333 @r=`${PWD_COMMAND}`; export r; \
44334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44335 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
44336 @: $(MAKE); $(unstage)
44337 @r=`${PWD_COMMAND}`; export r; \
44338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44339 TFLAGS="$(STAGE3_TFLAGS)"; \
44340 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44343 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44344 distclean-stage2:: distclean-stage3
44345 .PHONY: distclean-stage3
44347 @: $(MAKE); $(stage)
44348 @test "`cat stage_last`" != stage3 || rm -f stage_last
44349 rm -rf stage3-* compare
44353 cleanstrap: do-distclean local-clean
44354 echo stage3 > stage_final
44355 @r=`${PWD_COMMAND}`; export r; \
44356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44357 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
44358 @: $(MAKE); $(unstage)
44359 @r=`${PWD_COMMAND}`; export r; \
44360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44361 TFLAGS="$(STAGE3_TFLAGS)"; \
44362 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44364 @endif gcc-bootstrap
44367 .PHONY: stage4-start stage4-end
44370 @: $(MAKE); $(stage); \
44371 echo stage4 > stage_current ; \
44372 echo stage4 > stage_last; \
44373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44375 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
44376 mkdir stage4-bfd; \
44377 mv stage4-bfd bfd ; \
44378 mv stage3-bfd prev-bfd || test -f stage3-lean
44381 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
44382 mkdir stage4-opcodes; \
44383 mv stage4-opcodes opcodes ; \
44384 mv stage3-opcodes prev-opcodes || test -f stage3-lean
44387 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
44388 mkdir stage4-binutils; \
44389 mv stage4-binutils binutils ; \
44390 mv stage3-binutils prev-binutils || test -f stage3-lean
44393 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
44394 mkdir stage4-gas; \
44395 mv stage4-gas gas ; \
44396 mv stage3-gas prev-gas || test -f stage3-lean
44399 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
44400 mkdir stage4-gcc; \
44401 mv stage4-gcc gcc ; \
44402 mv stage3-gcc prev-gcc || test -f stage3-lean
44405 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
44406 mkdir stage4-gmp; \
44407 mv stage4-gmp gmp ; \
44408 mv stage3-gmp prev-gmp || test -f stage3-lean
44411 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
44412 mkdir stage4-mpfr; \
44413 mv stage4-mpfr mpfr ; \
44414 mv stage3-mpfr prev-mpfr || test -f stage3-lean
44417 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
44418 mkdir stage4-mpc; \
44419 mv stage4-mpc mpc ; \
44420 mv stage3-mpc prev-mpc || test -f stage3-lean
44423 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
44424 mkdir stage4-isl; \
44425 mv stage4-isl isl ; \
44426 mv stage3-isl prev-isl || test -f stage3-lean
44429 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
44430 mkdir stage4-cloog; \
44431 mv stage4-cloog cloog ; \
44432 mv stage3-cloog prev-cloog || test -f stage3-lean
44435 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
44436 mkdir stage4-libelf; \
44437 mv stage4-libelf libelf ; \
44438 mv stage3-libelf prev-libelf || test -f stage3-lean
44441 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
44442 mkdir stage4-gold; \
44443 mv stage4-gold gold ; \
44444 mv stage3-gold prev-gold || test -f stage3-lean
44447 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
44448 mkdir stage4-intl; \
44449 mv stage4-intl intl ; \
44450 mv stage3-intl prev-intl || test -f stage3-lean
44453 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
44455 mv stage4-ld ld ; \
44456 mv stage3-ld prev-ld || test -f stage3-lean
44459 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
44460 mkdir stage4-libbacktrace; \
44461 mv stage4-libbacktrace libbacktrace ; \
44462 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
44463 @endif libbacktrace
44465 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
44466 mkdir stage4-libcpp; \
44467 mv stage4-libcpp libcpp ; \
44468 mv stage3-libcpp prev-libcpp || test -f stage3-lean
44471 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
44472 mkdir stage4-libdecnumber; \
44473 mv stage4-libdecnumber libdecnumber ; \
44474 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
44475 @endif libdecnumber
44477 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
44478 mkdir stage4-libiberty; \
44479 mv stage4-libiberty libiberty ; \
44480 mv stage3-libiberty prev-libiberty || test -f stage3-lean
44483 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
44484 mkdir stage4-zlib; \
44485 mv stage4-zlib zlib ; \
44486 mv stage3-zlib prev-zlib || test -f stage3-lean
44489 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
44490 mkdir stage4-lto-plugin; \
44491 mv stage4-lto-plugin lto-plugin ; \
44492 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
44494 @[ -d stage4-$(TARGET_SUBDIR) ] || \
44495 mkdir stage4-$(TARGET_SUBDIR); \
44496 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44497 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
44501 @if test -d $(HOST_SUBDIR)/bfd ; then \
44502 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
44503 mv prev-bfd stage3-bfd ; : ; \
44507 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44508 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
44509 mv prev-opcodes stage3-opcodes ; : ; \
44513 @if test -d $(HOST_SUBDIR)/binutils ; then \
44514 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
44515 mv prev-binutils stage3-binutils ; : ; \
44519 @if test -d $(HOST_SUBDIR)/gas ; then \
44520 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
44521 mv prev-gas stage3-gas ; : ; \
44525 @if test -d $(HOST_SUBDIR)/gcc ; then \
44526 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
44527 mv prev-gcc stage3-gcc ; : ; \
44531 @if test -d $(HOST_SUBDIR)/gmp ; then \
44532 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
44533 mv prev-gmp stage3-gmp ; : ; \
44537 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44538 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
44539 mv prev-mpfr stage3-mpfr ; : ; \
44543 @if test -d $(HOST_SUBDIR)/mpc ; then \
44544 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
44545 mv prev-mpc stage3-mpc ; : ; \
44549 @if test -d $(HOST_SUBDIR)/isl ; then \
44550 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
44551 mv prev-isl stage3-isl ; : ; \
44555 @if test -d $(HOST_SUBDIR)/cloog ; then \
44556 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
44557 mv prev-cloog stage3-cloog ; : ; \
44561 @if test -d $(HOST_SUBDIR)/libelf ; then \
44562 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
44563 mv prev-libelf stage3-libelf ; : ; \
44567 @if test -d $(HOST_SUBDIR)/gold ; then \
44568 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
44569 mv prev-gold stage3-gold ; : ; \
44573 @if test -d $(HOST_SUBDIR)/intl ; then \
44574 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
44575 mv prev-intl stage3-intl ; : ; \
44579 @if test -d $(HOST_SUBDIR)/ld ; then \
44580 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
44581 mv prev-ld stage3-ld ; : ; \
44585 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44586 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
44587 mv prev-libbacktrace stage3-libbacktrace ; : ; \
44589 @endif libbacktrace
44591 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44592 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
44593 mv prev-libcpp stage3-libcpp ; : ; \
44597 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44598 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
44599 mv prev-libdecnumber stage3-libdecnumber ; : ; \
44601 @endif libdecnumber
44603 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44604 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
44605 mv prev-libiberty stage3-libiberty ; : ; \
44609 @if test -d $(HOST_SUBDIR)/zlib ; then \
44610 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
44611 mv prev-zlib stage3-zlib ; : ; \
44615 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44616 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
44617 mv prev-lto-plugin stage3-lto-plugin ; : ; \
44620 @if test -d $(TARGET_SUBDIR) ; then \
44621 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
44622 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
44624 rm -f stage_current
44626 # Bubble a bug fix through all the stages up to stage 4. They are
44627 # remade, but not reconfigured. The next stage (if any) will not be
44628 # reconfigured either.
44629 .PHONY: stage4-bubble
44630 stage4-bubble:: stage3-bubble
44631 @r=`${PWD_COMMAND}`; export r; \
44632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44633 if test -f stage4-lean || test -f stage3-lean ; then \
44634 echo Skipping rebuild of stage4 ; \
44636 $(MAKE) stage4-start; \
44638 rm -rf stage2-* ; \
44639 $(STAMP) stage2-lean ; \
44641 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
44643 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
44645 .PHONY: all-stage4 clean-stage4
44646 do-clean: clean-stage4
44648 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44649 # only possibility, but now it conflicts with no-bootstrap rules
44653 @r=`${PWD_COMMAND}`; export r; \
44654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44655 if test -f stage3-lean; then \
44656 echo Cannot compare object files as stage 3 was deleted. ; \
44659 : $(MAKE); $(stage); \
44660 rm -f .bad_compare ; \
44661 echo Comparing stages 3 and 4 ; \
44662 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
44663 files=`find stage4-* -name "*$(objext)" -print | \
44664 sed -n s,^stage$$sed-,,p` ; \
44665 for file in $${files} ; do \
44666 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
44667 if test ! -f $$f1; then continue; fi; \
44668 $(do-compare3) > /dev/null 2>&1; \
44669 if test $$? -eq 1; then \
44671 @compare_exclusions@) \
44672 echo warning: $$file differs ;; \
44674 echo $$file differs >> .bad_compare ;; \
44678 if [ -f .bad_compare ]; then \
44679 echo "Bootstrap comparison failure!"; \
44680 cat .bad_compare; \
44683 echo Comparison successful.; \
44688 $(STAMP) stage3-lean; \
44693 .PHONY: bootstrap4 bootstrap4-lean
44695 echo stage4 > stage_final
44696 @r=`${PWD_COMMAND}`; export r; \
44697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44698 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
44699 @: $(MAKE); $(unstage)
44700 @r=`${PWD_COMMAND}`; export r; \
44701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44702 TFLAGS="$(STAGE4_TFLAGS)"; \
44703 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44706 echo stage4 > stage_final
44707 @r=`${PWD_COMMAND}`; export r; \
44708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44709 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
44710 @: $(MAKE); $(unstage)
44711 @r=`${PWD_COMMAND}`; export r; \
44712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44713 TFLAGS="$(STAGE4_TFLAGS)"; \
44714 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44717 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44718 distclean-stage3:: distclean-stage4
44719 .PHONY: distclean-stage4
44721 @: $(MAKE); $(stage)
44722 @test "`cat stage_last`" != stage4 || rm -f stage_last
44723 rm -rf stage4-* compare3
44726 @endif gcc-bootstrap
44729 .PHONY: stageprofile-start stageprofile-end
44731 stageprofile-start::
44732 @: $(MAKE); $(stage); \
44733 echo stageprofile > stage_current ; \
44734 echo stageprofile > stage_last; \
44735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44737 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
44738 mkdir stageprofile-bfd; \
44739 mv stageprofile-bfd bfd ; \
44740 mv stage1-bfd prev-bfd || test -f stage1-lean
44743 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
44744 mkdir stageprofile-opcodes; \
44745 mv stageprofile-opcodes opcodes ; \
44746 mv stage1-opcodes prev-opcodes || test -f stage1-lean
44749 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
44750 mkdir stageprofile-binutils; \
44751 mv stageprofile-binutils binutils ; \
44752 mv stage1-binutils prev-binutils || test -f stage1-lean
44755 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
44756 mkdir stageprofile-gas; \
44757 mv stageprofile-gas gas ; \
44758 mv stage1-gas prev-gas || test -f stage1-lean
44761 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
44762 mkdir stageprofile-gcc; \
44763 mv stageprofile-gcc gcc ; \
44764 mv stage1-gcc prev-gcc || test -f stage1-lean
44767 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
44768 mkdir stageprofile-gmp; \
44769 mv stageprofile-gmp gmp ; \
44770 mv stage1-gmp prev-gmp || test -f stage1-lean
44773 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
44774 mkdir stageprofile-mpfr; \
44775 mv stageprofile-mpfr mpfr ; \
44776 mv stage1-mpfr prev-mpfr || test -f stage1-lean
44779 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
44780 mkdir stageprofile-mpc; \
44781 mv stageprofile-mpc mpc ; \
44782 mv stage1-mpc prev-mpc || test -f stage1-lean
44785 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
44786 mkdir stageprofile-isl; \
44787 mv stageprofile-isl isl ; \
44788 mv stage1-isl prev-isl || test -f stage1-lean
44791 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
44792 mkdir stageprofile-cloog; \
44793 mv stageprofile-cloog cloog ; \
44794 mv stage1-cloog prev-cloog || test -f stage1-lean
44797 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
44798 mkdir stageprofile-libelf; \
44799 mv stageprofile-libelf libelf ; \
44800 mv stage1-libelf prev-libelf || test -f stage1-lean
44803 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
44804 mkdir stageprofile-gold; \
44805 mv stageprofile-gold gold ; \
44806 mv stage1-gold prev-gold || test -f stage1-lean
44809 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
44810 mkdir stageprofile-intl; \
44811 mv stageprofile-intl intl ; \
44812 mv stage1-intl prev-intl || test -f stage1-lean
44815 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
44816 mkdir stageprofile-ld; \
44817 mv stageprofile-ld ld ; \
44818 mv stage1-ld prev-ld || test -f stage1-lean
44821 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
44822 mkdir stageprofile-libbacktrace; \
44823 mv stageprofile-libbacktrace libbacktrace ; \
44824 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
44825 @endif libbacktrace
44827 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
44828 mkdir stageprofile-libcpp; \
44829 mv stageprofile-libcpp libcpp ; \
44830 mv stage1-libcpp prev-libcpp || test -f stage1-lean
44833 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
44834 mkdir stageprofile-libdecnumber; \
44835 mv stageprofile-libdecnumber libdecnumber ; \
44836 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
44837 @endif libdecnumber
44839 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
44840 mkdir stageprofile-libiberty; \
44841 mv stageprofile-libiberty libiberty ; \
44842 mv stage1-libiberty prev-libiberty || test -f stage1-lean
44845 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
44846 mkdir stageprofile-zlib; \
44847 mv stageprofile-zlib zlib ; \
44848 mv stage1-zlib prev-zlib || test -f stage1-lean
44851 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
44852 mkdir stageprofile-lto-plugin; \
44853 mv stageprofile-lto-plugin lto-plugin ; \
44854 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
44856 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
44857 mkdir stageprofile-$(TARGET_SUBDIR); \
44858 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44859 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
44863 @if test -d $(HOST_SUBDIR)/bfd ; then \
44864 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
44865 mv prev-bfd stage1-bfd ; : ; \
44869 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44870 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
44871 mv prev-opcodes stage1-opcodes ; : ; \
44875 @if test -d $(HOST_SUBDIR)/binutils ; then \
44876 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
44877 mv prev-binutils stage1-binutils ; : ; \
44881 @if test -d $(HOST_SUBDIR)/gas ; then \
44882 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
44883 mv prev-gas stage1-gas ; : ; \
44887 @if test -d $(HOST_SUBDIR)/gcc ; then \
44888 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
44889 mv prev-gcc stage1-gcc ; : ; \
44893 @if test -d $(HOST_SUBDIR)/gmp ; then \
44894 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
44895 mv prev-gmp stage1-gmp ; : ; \
44899 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44900 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
44901 mv prev-mpfr stage1-mpfr ; : ; \
44905 @if test -d $(HOST_SUBDIR)/mpc ; then \
44906 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
44907 mv prev-mpc stage1-mpc ; : ; \
44911 @if test -d $(HOST_SUBDIR)/isl ; then \
44912 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
44913 mv prev-isl stage1-isl ; : ; \
44917 @if test -d $(HOST_SUBDIR)/cloog ; then \
44918 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
44919 mv prev-cloog stage1-cloog ; : ; \
44923 @if test -d $(HOST_SUBDIR)/libelf ; then \
44924 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
44925 mv prev-libelf stage1-libelf ; : ; \
44929 @if test -d $(HOST_SUBDIR)/gold ; then \
44930 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
44931 mv prev-gold stage1-gold ; : ; \
44935 @if test -d $(HOST_SUBDIR)/intl ; then \
44936 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
44937 mv prev-intl stage1-intl ; : ; \
44941 @if test -d $(HOST_SUBDIR)/ld ; then \
44942 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
44943 mv prev-ld stage1-ld ; : ; \
44947 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44948 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
44949 mv prev-libbacktrace stage1-libbacktrace ; : ; \
44951 @endif libbacktrace
44953 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44954 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
44955 mv prev-libcpp stage1-libcpp ; : ; \
44959 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44960 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
44961 mv prev-libdecnumber stage1-libdecnumber ; : ; \
44963 @endif libdecnumber
44965 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44966 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
44967 mv prev-libiberty stage1-libiberty ; : ; \
44971 @if test -d $(HOST_SUBDIR)/zlib ; then \
44972 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
44973 mv prev-zlib stage1-zlib ; : ; \
44977 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44978 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
44979 mv prev-lto-plugin stage1-lto-plugin ; : ; \
44982 @if test -d $(TARGET_SUBDIR) ; then \
44983 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
44984 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
44986 rm -f stage_current
44988 # Bubble a bug fix through all the stages up to stage profile. They are
44989 # remade, but not reconfigured. The next stage (if any) will not be
44990 # reconfigured either.
44991 .PHONY: stageprofile-bubble
44992 stageprofile-bubble:: stage1-bubble
44993 @r=`${PWD_COMMAND}`; export r; \
44994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44995 if test -f stageprofile-lean || test -f stage1-lean ; then \
44996 echo Skipping rebuild of stageprofile ; \
44998 $(MAKE) stageprofile-start; \
44999 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
45002 .PHONY: all-stageprofile clean-stageprofile
45003 do-clean: clean-stageprofile
45005 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45006 # only possibility, but now it conflicts with no-bootstrap rules
45012 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45013 distclean-stage1:: distclean-stageprofile
45014 .PHONY: distclean-stageprofile
45015 distclean-stageprofile::
45016 @: $(MAKE); $(stage)
45017 @test "`cat stage_last`" != stageprofile || rm -f stage_last
45018 rm -rf stageprofile-*
45021 @endif gcc-bootstrap
45024 .PHONY: stagefeedback-start stagefeedback-end
45026 stagefeedback-start::
45027 @: $(MAKE); $(stage); \
45028 echo stagefeedback > stage_current ; \
45029 echo stagefeedback > stage_last; \
45030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45032 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
45033 mkdir stagefeedback-bfd; \
45034 mv stagefeedback-bfd bfd ; \
45035 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
45038 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
45039 mkdir stagefeedback-opcodes; \
45040 mv stagefeedback-opcodes opcodes ; \
45041 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
45044 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
45045 mkdir stagefeedback-binutils; \
45046 mv stagefeedback-binutils binutils ; \
45047 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
45050 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
45051 mkdir stagefeedback-gas; \
45052 mv stagefeedback-gas gas ; \
45053 mv stageprofile-gas prev-gas || test -f stageprofile-lean
45056 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
45057 mkdir stagefeedback-gcc; \
45058 mv stagefeedback-gcc gcc ; \
45059 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
45062 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
45063 mkdir stagefeedback-gmp; \
45064 mv stagefeedback-gmp gmp ; \
45065 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
45068 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
45069 mkdir stagefeedback-mpfr; \
45070 mv stagefeedback-mpfr mpfr ; \
45071 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
45074 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
45075 mkdir stagefeedback-mpc; \
45076 mv stagefeedback-mpc mpc ; \
45077 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
45080 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
45081 mkdir stagefeedback-isl; \
45082 mv stagefeedback-isl isl ; \
45083 mv stageprofile-isl prev-isl || test -f stageprofile-lean
45086 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
45087 mkdir stagefeedback-cloog; \
45088 mv stagefeedback-cloog cloog ; \
45089 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
45092 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
45093 mkdir stagefeedback-libelf; \
45094 mv stagefeedback-libelf libelf ; \
45095 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
45098 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
45099 mkdir stagefeedback-gold; \
45100 mv stagefeedback-gold gold ; \
45101 mv stageprofile-gold prev-gold || test -f stageprofile-lean
45104 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
45105 mkdir stagefeedback-intl; \
45106 mv stagefeedback-intl intl ; \
45107 mv stageprofile-intl prev-intl || test -f stageprofile-lean
45110 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
45111 mkdir stagefeedback-ld; \
45112 mv stagefeedback-ld ld ; \
45113 mv stageprofile-ld prev-ld || test -f stageprofile-lean
45116 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
45117 mkdir stagefeedback-libbacktrace; \
45118 mv stagefeedback-libbacktrace libbacktrace ; \
45119 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
45120 @endif libbacktrace
45122 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
45123 mkdir stagefeedback-libcpp; \
45124 mv stagefeedback-libcpp libcpp ; \
45125 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
45128 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
45129 mkdir stagefeedback-libdecnumber; \
45130 mv stagefeedback-libdecnumber libdecnumber ; \
45131 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
45132 @endif libdecnumber
45134 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
45135 mkdir stagefeedback-libiberty; \
45136 mv stagefeedback-libiberty libiberty ; \
45137 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
45140 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
45141 mkdir stagefeedback-zlib; \
45142 mv stagefeedback-zlib zlib ; \
45143 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
45146 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
45147 mkdir stagefeedback-lto-plugin; \
45148 mv stagefeedback-lto-plugin lto-plugin ; \
45149 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
45151 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
45152 mkdir stagefeedback-$(TARGET_SUBDIR); \
45153 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45154 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
45156 stagefeedback-end::
45158 @if test -d $(HOST_SUBDIR)/bfd ; then \
45159 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
45160 mv prev-bfd stageprofile-bfd ; : ; \
45164 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45165 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
45166 mv prev-opcodes stageprofile-opcodes ; : ; \
45170 @if test -d $(HOST_SUBDIR)/binutils ; then \
45171 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
45172 mv prev-binutils stageprofile-binutils ; : ; \
45176 @if test -d $(HOST_SUBDIR)/gas ; then \
45177 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
45178 mv prev-gas stageprofile-gas ; : ; \
45182 @if test -d $(HOST_SUBDIR)/gcc ; then \
45183 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
45184 mv prev-gcc stageprofile-gcc ; : ; \
45188 @if test -d $(HOST_SUBDIR)/gmp ; then \
45189 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
45190 mv prev-gmp stageprofile-gmp ; : ; \
45194 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45195 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
45196 mv prev-mpfr stageprofile-mpfr ; : ; \
45200 @if test -d $(HOST_SUBDIR)/mpc ; then \
45201 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
45202 mv prev-mpc stageprofile-mpc ; : ; \
45206 @if test -d $(HOST_SUBDIR)/isl ; then \
45207 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
45208 mv prev-isl stageprofile-isl ; : ; \
45212 @if test -d $(HOST_SUBDIR)/cloog ; then \
45213 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
45214 mv prev-cloog stageprofile-cloog ; : ; \
45218 @if test -d $(HOST_SUBDIR)/libelf ; then \
45219 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
45220 mv prev-libelf stageprofile-libelf ; : ; \
45224 @if test -d $(HOST_SUBDIR)/gold ; then \
45225 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
45226 mv prev-gold stageprofile-gold ; : ; \
45230 @if test -d $(HOST_SUBDIR)/intl ; then \
45231 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
45232 mv prev-intl stageprofile-intl ; : ; \
45236 @if test -d $(HOST_SUBDIR)/ld ; then \
45237 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
45238 mv prev-ld stageprofile-ld ; : ; \
45242 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45243 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
45244 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
45246 @endif libbacktrace
45248 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45249 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
45250 mv prev-libcpp stageprofile-libcpp ; : ; \
45254 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45255 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
45256 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
45258 @endif libdecnumber
45260 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45261 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
45262 mv prev-libiberty stageprofile-libiberty ; : ; \
45266 @if test -d $(HOST_SUBDIR)/zlib ; then \
45267 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
45268 mv prev-zlib stageprofile-zlib ; : ; \
45272 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45273 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
45274 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
45277 @if test -d $(TARGET_SUBDIR) ; then \
45278 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
45279 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
45281 rm -f stage_current
45283 # Bubble a bug fix through all the stages up to stage feedback. They are
45284 # remade, but not reconfigured. The next stage (if any) will not be
45285 # reconfigured either.
45286 .PHONY: stagefeedback-bubble
45287 stagefeedback-bubble:: stageprofile-bubble
45288 @r=`${PWD_COMMAND}`; export r; \
45289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45290 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
45291 echo Skipping rebuild of stagefeedback ; \
45293 $(MAKE) stagefeedback-start; \
45294 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
45297 .PHONY: all-stagefeedback clean-stagefeedback
45298 do-clean: clean-stagefeedback
45300 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45301 # only possibility, but now it conflicts with no-bootstrap rules
45306 .PHONY: profiledbootstrap profiledbootstrap-lean
45308 echo stagefeedback > stage_final
45309 @r=`${PWD_COMMAND}`; export r; \
45310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45311 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
45312 @: $(MAKE); $(unstage)
45313 @r=`${PWD_COMMAND}`; export r; \
45314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45315 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45316 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45318 profiledbootstrap-lean:
45319 echo stagefeedback > stage_final
45320 @r=`${PWD_COMMAND}`; export r; \
45321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45322 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
45323 @: $(MAKE); $(unstage)
45324 @r=`${PWD_COMMAND}`; export r; \
45325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45326 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45327 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45330 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45331 distclean-stageprofile:: distclean-stagefeedback
45332 .PHONY: distclean-stagefeedback
45333 distclean-stagefeedback::
45334 @: $(MAKE); $(stage)
45335 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
45336 rm -rf stagefeedback-*
45339 @endif gcc-bootstrap
45344 $(MAKE) distclean-stagefeedback
45346 stagefeedback-start::
45347 @r=`${PWD_COMMAND}`; export r; \
45348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45349 for i in prev-*; do \
45350 j=`echo $$i | sed s/^prev-//` ; \
45352 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
45353 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
45357 do-distclean: distclean-stage1
45359 # Provide a GCC build when we're building target libraries. This does
45360 # not work as a dependency, just as the minimum necessary to avoid errors.
45362 @r=`${PWD_COMMAND}`; export r; \
45363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45364 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
45366 # Same as unstage, but not phony and defaulting to stage1-start. We place
45367 # it in the dependency so that for example `make -j3 all-gcc' works.
45369 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
45373 @: $(MAKE); $(stage)
45374 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
45376 @endif gcc-bootstrap
45378 # --------------------------------------
45379 # Dependencies between different modules
45380 # --------------------------------------
45382 # Generic dependencies for target modules on host stuff, especially gcc
45384 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
45385 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
45386 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
45387 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
45388 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
45389 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
45390 configure-target-libmudflap: stage_last
45391 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
45392 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
45393 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
45394 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
45395 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
45396 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
45397 configure-target-libssp: stage_last
45398 configure-target-newlib: stage_last
45399 configure-stage1-target-libgcc: maybe-all-stage1-gcc
45400 configure-stage2-target-libgcc: maybe-all-stage2-gcc
45401 configure-stage3-target-libgcc: maybe-all-stage3-gcc
45402 configure-stage4-target-libgcc: maybe-all-stage4-gcc
45403 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
45404 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
45405 configure-target-libbacktrace: stage_last
45406 configure-target-libquadmath: stage_last
45407 configure-target-libgfortran: stage_last
45408 configure-target-libobjc: stage_last
45409 configure-target-libgo: stage_last
45410 configure-target-libtermcap: stage_last
45411 configure-target-winsup: stage_last
45412 configure-target-libgloss: stage_last
45413 configure-target-libffi: stage_last
45414 configure-target-libjava: stage_last
45415 configure-target-zlib: stage_last
45416 configure-target-boehm-gc: stage_last
45417 configure-target-rda: stage_last
45418 configure-target-libada: stage_last
45419 configure-stage1-target-libgomp: maybe-all-stage1-gcc
45420 configure-stage2-target-libgomp: maybe-all-stage2-gcc
45421 configure-stage3-target-libgomp: maybe-all-stage3-gcc
45422 configure-stage4-target-libgomp: maybe-all-stage4-gcc
45423 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
45424 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
45425 configure-target-libitm: stage_last
45426 configure-target-libatomic: stage_last
45427 @endif gcc-bootstrap
45429 @if gcc-no-bootstrap
45430 configure-target-libstdc++-v3: maybe-all-gcc
45431 configure-target-libmudflap: maybe-all-gcc
45432 configure-target-libsanitizer: maybe-all-gcc
45433 configure-target-libssp: maybe-all-gcc
45434 configure-target-newlib: maybe-all-gcc
45435 configure-target-libgcc: maybe-all-gcc
45436 configure-target-libbacktrace: maybe-all-gcc
45437 configure-target-libquadmath: maybe-all-gcc
45438 configure-target-libgfortran: maybe-all-gcc
45439 configure-target-libobjc: maybe-all-gcc
45440 configure-target-libgo: maybe-all-gcc
45441 configure-target-libtermcap: maybe-all-gcc
45442 configure-target-winsup: maybe-all-gcc
45443 configure-target-libgloss: maybe-all-gcc
45444 configure-target-libffi: maybe-all-gcc
45445 configure-target-libjava: maybe-all-gcc
45446 configure-target-zlib: maybe-all-gcc
45447 configure-target-boehm-gc: maybe-all-gcc
45448 configure-target-rda: maybe-all-gcc
45449 configure-target-libada: maybe-all-gcc
45450 configure-target-libgomp: maybe-all-gcc
45451 configure-target-libitm: maybe-all-gcc
45452 configure-target-libatomic: maybe-all-gcc
45453 @endif gcc-no-bootstrap
45456 # There are two types of dependencies here: 'hard' dependencies, where one
45457 # module simply won't build without the other; and 'soft' dependencies, where
45458 # if the depended-on module is missing, the depending module will do without
45459 # or find a substitute somewhere (perhaps installed). Soft dependencies
45460 # are made here to depend on a 'maybe-' target. If you're not sure,
45461 # it's safer to use a soft dependency.
45468 # With all the machinery above in place, it is pretty easy to generate
45469 # dependencies. Host dependencies are a bit more complex because we have
45470 # to check for bootstrap/prebootstrap dependencies. To resolve
45471 # prebootstrap dependencies, prebootstrap modules are gathered in
45473 all-build-bison: maybe-all-build-texinfo
45474 all-build-flex: maybe-all-build-texinfo
45475 all-build-flex: maybe-all-build-bison
45476 all-build-flex: maybe-all-build-m4
45477 all-build-libiberty: maybe-all-build-texinfo
45478 all-build-m4: maybe-all-build-texinfo
45479 all-build-fixincludes: maybe-all-build-libiberty
45480 configure-gcc: maybe-configure-intl
45482 configure-stage1-gcc: maybe-configure-stage1-intl
45483 configure-stage2-gcc: maybe-configure-stage2-intl
45484 configure-stage3-gcc: maybe-configure-stage3-intl
45485 configure-stage4-gcc: maybe-configure-stage4-intl
45486 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
45487 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
45488 configure-gcc: maybe-all-lto-plugin
45490 configure-stage1-gcc: maybe-all-stage1-lto-plugin
45491 configure-stage2-gcc: maybe-all-stage2-lto-plugin
45492 configure-stage3-gcc: maybe-all-stage3-lto-plugin
45493 configure-stage4-gcc: maybe-all-stage4-lto-plugin
45494 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
45495 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
45496 configure-gcc: maybe-all-binutils
45498 configure-stage1-gcc: maybe-all-stage1-binutils
45499 configure-stage2-gcc: maybe-all-stage2-binutils
45500 configure-stage3-gcc: maybe-all-stage3-binutils
45501 configure-stage4-gcc: maybe-all-stage4-binutils
45502 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
45503 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
45504 configure-gcc: maybe-all-gas
45506 configure-stage1-gcc: maybe-all-stage1-gas
45507 configure-stage2-gcc: maybe-all-stage2-gas
45508 configure-stage3-gcc: maybe-all-stage3-gas
45509 configure-stage4-gcc: maybe-all-stage4-gas
45510 configure-stageprofile-gcc: maybe-all-stageprofile-gas
45511 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
45512 configure-gcc: maybe-all-ld
45514 configure-stage1-gcc: maybe-all-stage1-ld
45515 configure-stage2-gcc: maybe-all-stage2-ld
45516 configure-stage3-gcc: maybe-all-stage3-ld
45517 configure-stage4-gcc: maybe-all-stage4-ld
45518 configure-stageprofile-gcc: maybe-all-stageprofile-ld
45519 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
45520 configure-gcc: maybe-all-gold
45522 configure-stage1-gcc: maybe-all-stage1-gold
45523 configure-stage2-gcc: maybe-all-stage2-gold
45524 configure-stage3-gcc: maybe-all-stage3-gold
45525 configure-stage4-gcc: maybe-all-stage4-gold
45526 configure-stageprofile-gcc: maybe-all-stageprofile-gold
45527 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
45528 configure-gcc: maybe-all-libelf
45530 configure-stage1-gcc: maybe-all-stage1-libelf
45531 configure-stage2-gcc: maybe-all-stage2-libelf
45532 configure-stage3-gcc: maybe-all-stage3-libelf
45533 configure-stage4-gcc: maybe-all-stage4-libelf
45534 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
45535 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
45536 all-gcc: all-libiberty
45538 all-stage1-gcc: all-stage1-libiberty
45539 all-stage2-gcc: all-stage2-libiberty
45540 all-stage3-gcc: all-stage3-libiberty
45541 all-stage4-gcc: all-stage4-libiberty
45542 all-stageprofile-gcc: all-stageprofile-libiberty
45543 all-stagefeedback-gcc: all-stagefeedback-libiberty
45544 all-gcc: maybe-all-gmp
45546 all-stage1-gcc: maybe-all-stage1-gmp
45547 all-stage2-gcc: maybe-all-stage2-gmp
45548 all-stage3-gcc: maybe-all-stage3-gmp
45549 all-stage4-gcc: maybe-all-stage4-gmp
45550 all-stageprofile-gcc: maybe-all-stageprofile-gmp
45551 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
45552 all-gcc: maybe-all-intl
45554 all-stage1-gcc: maybe-all-stage1-intl
45555 all-stage2-gcc: maybe-all-stage2-intl
45556 all-stage3-gcc: maybe-all-stage3-intl
45557 all-stage4-gcc: maybe-all-stage4-intl
45558 all-stageprofile-gcc: maybe-all-stageprofile-intl
45559 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
45560 all-gcc: maybe-all-mpfr
45562 all-stage1-gcc: maybe-all-stage1-mpfr
45563 all-stage2-gcc: maybe-all-stage2-mpfr
45564 all-stage3-gcc: maybe-all-stage3-mpfr
45565 all-stage4-gcc: maybe-all-stage4-mpfr
45566 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
45567 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
45568 all-gcc: maybe-all-mpc
45570 all-stage1-gcc: maybe-all-stage1-mpc
45571 all-stage2-gcc: maybe-all-stage2-mpc
45572 all-stage3-gcc: maybe-all-stage3-mpc
45573 all-stage4-gcc: maybe-all-stage4-mpc
45574 all-stageprofile-gcc: maybe-all-stageprofile-mpc
45575 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
45576 all-gcc: maybe-all-cloog
45578 all-stage1-gcc: maybe-all-stage1-cloog
45579 all-stage2-gcc: maybe-all-stage2-cloog
45580 all-stage3-gcc: maybe-all-stage3-cloog
45581 all-stage4-gcc: maybe-all-stage4-cloog
45582 all-stageprofile-gcc: maybe-all-stageprofile-cloog
45583 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
45584 all-gcc: maybe-all-build-texinfo
45586 all-stage1-gcc: maybe-all-build-texinfo
45587 all-stage2-gcc: maybe-all-build-texinfo
45588 all-stage3-gcc: maybe-all-build-texinfo
45589 all-stage4-gcc: maybe-all-build-texinfo
45590 all-stageprofile-gcc: maybe-all-build-texinfo
45591 all-stagefeedback-gcc: maybe-all-build-texinfo
45592 all-gcc: maybe-all-build-bison
45594 all-stage1-gcc: maybe-all-build-bison
45595 all-stage2-gcc: maybe-all-build-bison
45596 all-stage3-gcc: maybe-all-build-bison
45597 all-stage4-gcc: maybe-all-build-bison
45598 all-stageprofile-gcc: maybe-all-build-bison
45599 all-stagefeedback-gcc: maybe-all-build-bison
45600 all-gcc: maybe-all-build-flex
45602 all-stage1-gcc: maybe-all-build-flex
45603 all-stage2-gcc: maybe-all-build-flex
45604 all-stage3-gcc: maybe-all-build-flex
45605 all-stage4-gcc: maybe-all-build-flex
45606 all-stageprofile-gcc: maybe-all-build-flex
45607 all-stagefeedback-gcc: maybe-all-build-flex
45608 all-gcc: maybe-all-build-libiberty
45610 all-stage1-gcc: maybe-all-build-libiberty
45611 all-stage2-gcc: maybe-all-build-libiberty
45612 all-stage3-gcc: maybe-all-build-libiberty
45613 all-stage4-gcc: maybe-all-build-libiberty
45614 all-stageprofile-gcc: maybe-all-build-libiberty
45615 all-stagefeedback-gcc: maybe-all-build-libiberty
45616 all-gcc: maybe-all-build-fixincludes
45618 all-stage1-gcc: maybe-all-build-fixincludes
45619 all-stage2-gcc: maybe-all-build-fixincludes
45620 all-stage3-gcc: maybe-all-build-fixincludes
45621 all-stage4-gcc: maybe-all-build-fixincludes
45622 all-stageprofile-gcc: maybe-all-build-fixincludes
45623 all-stagefeedback-gcc: maybe-all-build-fixincludes
45624 all-gcc: maybe-all-zlib
45626 all-stage1-gcc: maybe-all-stage1-zlib
45627 all-stage2-gcc: maybe-all-stage2-zlib
45628 all-stage3-gcc: maybe-all-stage3-zlib
45629 all-stage4-gcc: maybe-all-stage4-zlib
45630 all-stageprofile-gcc: maybe-all-stageprofile-zlib
45631 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
45632 all-gcc: all-libbacktrace
45634 all-stage1-gcc: all-stage1-libbacktrace
45635 all-stage2-gcc: all-stage2-libbacktrace
45636 all-stage3-gcc: all-stage3-libbacktrace
45637 all-stage4-gcc: all-stage4-libbacktrace
45638 all-stageprofile-gcc: all-stageprofile-libbacktrace
45639 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
45640 all-gcc: all-libcpp
45642 all-stage1-gcc: all-stage1-libcpp
45643 all-stage2-gcc: all-stage2-libcpp
45644 all-stage3-gcc: all-stage3-libcpp
45645 all-stage4-gcc: all-stage4-libcpp
45646 all-stageprofile-gcc: all-stageprofile-libcpp
45647 all-stagefeedback-gcc: all-stagefeedback-libcpp
45648 all-gcc: all-libdecnumber
45650 all-stage1-gcc: all-stage1-libdecnumber
45651 all-stage2-gcc: all-stage2-libdecnumber
45652 all-stage3-gcc: all-stage3-libdecnumber
45653 all-stage4-gcc: all-stage4-libdecnumber
45654 all-stageprofile-gcc: all-stageprofile-libdecnumber
45655 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
45656 all-gcc: maybe-all-libiberty
45658 all-stage1-gcc: maybe-all-stage1-libiberty
45659 all-stage2-gcc: maybe-all-stage2-libiberty
45660 all-stage3-gcc: maybe-all-stage3-libiberty
45661 all-stage4-gcc: maybe-all-stage4-libiberty
45662 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
45663 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
45664 all-gcc: maybe-all-fixincludes
45665 all-gcc: maybe-all-lto-plugin
45667 all-stage1-gcc: maybe-all-stage1-lto-plugin
45668 all-stage2-gcc: maybe-all-stage2-lto-plugin
45669 all-stage3-gcc: maybe-all-stage3-lto-plugin
45670 all-stage4-gcc: maybe-all-stage4-lto-plugin
45671 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
45672 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
45673 info-gcc: maybe-all-build-libiberty
45675 info-stage1-gcc: maybe-all-build-libiberty
45676 info-stage2-gcc: maybe-all-build-libiberty
45677 info-stage3-gcc: maybe-all-build-libiberty
45678 info-stage4-gcc: maybe-all-build-libiberty
45679 info-stageprofile-gcc: maybe-all-build-libiberty
45680 info-stagefeedback-gcc: maybe-all-build-libiberty
45681 dvi-gcc: maybe-all-build-libiberty
45683 dvi-stage1-gcc: maybe-all-build-libiberty
45684 dvi-stage2-gcc: maybe-all-build-libiberty
45685 dvi-stage3-gcc: maybe-all-build-libiberty
45686 dvi-stage4-gcc: maybe-all-build-libiberty
45687 dvi-stageprofile-gcc: maybe-all-build-libiberty
45688 dvi-stagefeedback-gcc: maybe-all-build-libiberty
45689 pdf-gcc: maybe-all-build-libiberty
45691 pdf-stage1-gcc: maybe-all-build-libiberty
45692 pdf-stage2-gcc: maybe-all-build-libiberty
45693 pdf-stage3-gcc: maybe-all-build-libiberty
45694 pdf-stage4-gcc: maybe-all-build-libiberty
45695 pdf-stageprofile-gcc: maybe-all-build-libiberty
45696 pdf-stagefeedback-gcc: maybe-all-build-libiberty
45697 html-gcc: maybe-all-build-libiberty
45699 html-stage1-gcc: maybe-all-build-libiberty
45700 html-stage2-gcc: maybe-all-build-libiberty
45701 html-stage3-gcc: maybe-all-build-libiberty
45702 html-stage4-gcc: maybe-all-build-libiberty
45703 html-stageprofile-gcc: maybe-all-build-libiberty
45704 html-stagefeedback-gcc: maybe-all-build-libiberty
45705 install-gcc: maybe-install-fixincludes
45706 install-gcc: maybe-install-lto-plugin
45707 install-strip-gcc: maybe-install-strip-fixincludes
45708 install-strip-gcc: maybe-install-strip-lto-plugin
45709 configure-libcpp: configure-libiberty
45711 configure-stage1-libcpp: configure-stage1-libiberty
45712 configure-stage2-libcpp: configure-stage2-libiberty
45713 configure-stage3-libcpp: configure-stage3-libiberty
45714 configure-stage4-libcpp: configure-stage4-libiberty
45715 configure-stageprofile-libcpp: configure-stageprofile-libiberty
45716 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
45717 configure-libcpp: maybe-configure-intl
45719 configure-stage1-libcpp: maybe-configure-stage1-intl
45720 configure-stage2-libcpp: maybe-configure-stage2-intl
45721 configure-stage3-libcpp: maybe-configure-stage3-intl
45722 configure-stage4-libcpp: maybe-configure-stage4-intl
45723 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
45724 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
45725 all-libcpp: all-libiberty
45727 all-stage1-libcpp: all-stage1-libiberty
45728 all-stage2-libcpp: all-stage2-libiberty
45729 all-stage3-libcpp: all-stage3-libiberty
45730 all-stage4-libcpp: all-stage4-libiberty
45731 all-stageprofile-libcpp: all-stageprofile-libiberty
45732 all-stagefeedback-libcpp: all-stagefeedback-libiberty
45733 all-libcpp: maybe-all-intl
45735 all-stage1-libcpp: maybe-all-stage1-intl
45736 all-stage2-libcpp: maybe-all-stage2-intl
45737 all-stage3-libcpp: maybe-all-stage3-intl
45738 all-stage4-libcpp: maybe-all-stage4-intl
45739 all-stageprofile-libcpp: maybe-all-stageprofile-intl
45740 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
45741 all-fixincludes: maybe-all-libiberty
45742 all-gnattools: maybe-all-target-libada
45743 all-lto-plugin: maybe-all-libiberty
45745 all-stage1-lto-plugin: maybe-all-stage1-libiberty
45746 all-stage2-lto-plugin: maybe-all-stage2-libiberty
45747 all-stage3-lto-plugin: maybe-all-stage3-libiberty
45748 all-stage4-lto-plugin: maybe-all-stage4-libiberty
45749 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
45750 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
45751 all-utils: maybe-all-libiberty
45752 configure-mpfr: maybe-all-gmp
45754 configure-stage1-mpfr: maybe-all-stage1-gmp
45755 configure-stage2-mpfr: maybe-all-stage2-gmp
45756 configure-stage3-mpfr: maybe-all-stage3-gmp
45757 configure-stage4-mpfr: maybe-all-stage4-gmp
45758 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
45759 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
45760 configure-mpc: maybe-all-mpfr
45762 configure-stage1-mpc: maybe-all-stage1-mpfr
45763 configure-stage2-mpc: maybe-all-stage2-mpfr
45764 configure-stage3-mpc: maybe-all-stage3-mpfr
45765 configure-stage4-mpc: maybe-all-stage4-mpfr
45766 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
45767 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
45768 configure-isl: maybe-all-gmp
45770 configure-stage1-isl: maybe-all-stage1-gmp
45771 configure-stage2-isl: maybe-all-stage2-gmp
45772 configure-stage3-isl: maybe-all-stage3-gmp
45773 configure-stage4-isl: maybe-all-stage4-gmp
45774 configure-stageprofile-isl: maybe-all-stageprofile-gmp
45775 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
45776 configure-cloog: maybe-all-isl
45778 configure-stage1-cloog: maybe-all-stage1-isl
45779 configure-stage2-cloog: maybe-all-stage2-isl
45780 configure-stage3-cloog: maybe-all-stage3-isl
45781 configure-stage4-cloog: maybe-all-stage4-isl
45782 configure-stageprofile-cloog: maybe-all-stageprofile-isl
45783 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
45784 configure-cloog: maybe-all-gmp
45786 configure-stage1-cloog: maybe-all-stage1-gmp
45787 configure-stage2-cloog: maybe-all-stage2-gmp
45788 configure-stage3-cloog: maybe-all-stage3-gmp
45789 configure-stage4-cloog: maybe-all-stage4-gmp
45790 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
45791 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
45792 configure-gdb: maybe-all-intl
45793 configure-gdb: maybe-configure-sim
45794 configure-gdb: maybe-all-bfd
45795 configure-gdb: maybe-all-libiconv
45796 all-gdb: maybe-all-libiberty
45797 all-gdb: maybe-all-libiconv
45798 all-gdb: maybe-all-opcodes
45799 all-gdb: maybe-all-readline
45800 all-gdb: maybe-all-build-bison
45801 all-gdb: maybe-all-sim
45802 all-gdb: maybe-all-libdecnumber
45803 all-gdb: maybe-all-libtermcap
45804 configure-libgui: maybe-configure-tcl
45805 configure-libgui: maybe-configure-tk
45806 all-libgui: maybe-all-tcl
45807 all-libgui: maybe-all-tk
45808 all-libgui: maybe-all-itcl
45809 configure-bfd: configure-libiberty
45811 configure-stage1-bfd: configure-stage1-libiberty
45812 configure-stage2-bfd: configure-stage2-libiberty
45813 configure-stage3-bfd: configure-stage3-libiberty
45814 configure-stage4-bfd: configure-stage4-libiberty
45815 configure-stageprofile-bfd: configure-stageprofile-libiberty
45816 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
45817 configure-bfd: maybe-configure-intl
45819 configure-stage1-bfd: maybe-configure-stage1-intl
45820 configure-stage2-bfd: maybe-configure-stage2-intl
45821 configure-stage3-bfd: maybe-configure-stage3-intl
45822 configure-stage4-bfd: maybe-configure-stage4-intl
45823 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
45824 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
45825 all-bfd: maybe-all-libiberty
45827 all-stage1-bfd: maybe-all-stage1-libiberty
45828 all-stage2-bfd: maybe-all-stage2-libiberty
45829 all-stage3-bfd: maybe-all-stage3-libiberty
45830 all-stage4-bfd: maybe-all-stage4-libiberty
45831 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
45832 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
45833 all-bfd: maybe-all-intl
45835 all-stage1-bfd: maybe-all-stage1-intl
45836 all-stage2-bfd: maybe-all-stage2-intl
45837 all-stage3-bfd: maybe-all-stage3-intl
45838 all-stage4-bfd: maybe-all-stage4-intl
45839 all-stageprofile-bfd: maybe-all-stageprofile-intl
45840 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
45841 configure-opcodes: configure-libiberty
45843 configure-stage1-opcodes: configure-stage1-libiberty
45844 configure-stage2-opcodes: configure-stage2-libiberty
45845 configure-stage3-opcodes: configure-stage3-libiberty
45846 configure-stage4-opcodes: configure-stage4-libiberty
45847 configure-stageprofile-opcodes: configure-stageprofile-libiberty
45848 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
45849 all-opcodes: maybe-all-libiberty
45851 all-stage1-opcodes: maybe-all-stage1-libiberty
45852 all-stage2-opcodes: maybe-all-stage2-libiberty
45853 all-stage3-opcodes: maybe-all-stage3-libiberty
45854 all-stage4-opcodes: maybe-all-stage4-libiberty
45855 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
45856 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
45857 configure-binutils: maybe-configure-intl
45859 configure-stage1-binutils: maybe-configure-stage1-intl
45860 configure-stage2-binutils: maybe-configure-stage2-intl
45861 configure-stage3-binutils: maybe-configure-stage3-intl
45862 configure-stage4-binutils: maybe-configure-stage4-intl
45863 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
45864 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
45865 all-binutils: maybe-all-libiberty
45867 all-stage1-binutils: maybe-all-stage1-libiberty
45868 all-stage2-binutils: maybe-all-stage2-libiberty
45869 all-stage3-binutils: maybe-all-stage3-libiberty
45870 all-stage4-binutils: maybe-all-stage4-libiberty
45871 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
45872 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
45873 all-binutils: maybe-all-opcodes
45875 all-stage1-binutils: maybe-all-stage1-opcodes
45876 all-stage2-binutils: maybe-all-stage2-opcodes
45877 all-stage3-binutils: maybe-all-stage3-opcodes
45878 all-stage4-binutils: maybe-all-stage4-opcodes
45879 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
45880 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
45881 all-binutils: maybe-all-bfd
45883 all-stage1-binutils: maybe-all-stage1-bfd
45884 all-stage2-binutils: maybe-all-stage2-bfd
45885 all-stage3-binutils: maybe-all-stage3-bfd
45886 all-stage4-binutils: maybe-all-stage4-bfd
45887 all-stageprofile-binutils: maybe-all-stageprofile-bfd
45888 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
45889 all-binutils: maybe-all-build-flex
45891 all-stage1-binutils: maybe-all-build-flex
45892 all-stage2-binutils: maybe-all-build-flex
45893 all-stage3-binutils: maybe-all-build-flex
45894 all-stage4-binutils: maybe-all-build-flex
45895 all-stageprofile-binutils: maybe-all-build-flex
45896 all-stagefeedback-binutils: maybe-all-build-flex
45897 all-binutils: maybe-all-build-bison
45899 all-stage1-binutils: maybe-all-build-bison
45900 all-stage2-binutils: maybe-all-build-bison
45901 all-stage3-binutils: maybe-all-build-bison
45902 all-stage4-binutils: maybe-all-build-bison
45903 all-stageprofile-binutils: maybe-all-build-bison
45904 all-stagefeedback-binutils: maybe-all-build-bison
45905 all-binutils: maybe-all-intl
45907 all-stage1-binutils: maybe-all-stage1-intl
45908 all-stage2-binutils: maybe-all-stage2-intl
45909 all-stage3-binutils: maybe-all-stage3-intl
45910 all-stage4-binutils: maybe-all-stage4-intl
45911 all-stageprofile-binutils: maybe-all-stageprofile-intl
45912 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
45913 install-binutils: maybe-install-opcodes
45914 install-strip-binutils: maybe-install-strip-opcodes
45915 install-opcodes: maybe-install-bfd
45916 install-strip-opcodes: maybe-install-strip-bfd
45917 configure-gas: maybe-configure-intl
45919 configure-stage1-gas: maybe-configure-stage1-intl
45920 configure-stage2-gas: maybe-configure-stage2-intl
45921 configure-stage3-gas: maybe-configure-stage3-intl
45922 configure-stage4-gas: maybe-configure-stage4-intl
45923 configure-stageprofile-gas: maybe-configure-stageprofile-intl
45924 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
45925 all-gas: maybe-all-libiberty
45927 all-stage1-gas: maybe-all-stage1-libiberty
45928 all-stage2-gas: maybe-all-stage2-libiberty
45929 all-stage3-gas: maybe-all-stage3-libiberty
45930 all-stage4-gas: maybe-all-stage4-libiberty
45931 all-stageprofile-gas: maybe-all-stageprofile-libiberty
45932 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
45933 all-gas: maybe-all-opcodes
45935 all-stage1-gas: maybe-all-stage1-opcodes
45936 all-stage2-gas: maybe-all-stage2-opcodes
45937 all-stage3-gas: maybe-all-stage3-opcodes
45938 all-stage4-gas: maybe-all-stage4-opcodes
45939 all-stageprofile-gas: maybe-all-stageprofile-opcodes
45940 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
45941 all-gas: maybe-all-bfd
45943 all-stage1-gas: maybe-all-stage1-bfd
45944 all-stage2-gas: maybe-all-stage2-bfd
45945 all-stage3-gas: maybe-all-stage3-bfd
45946 all-stage4-gas: maybe-all-stage4-bfd
45947 all-stageprofile-gas: maybe-all-stageprofile-bfd
45948 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
45949 all-gas: maybe-all-intl
45951 all-stage1-gas: maybe-all-stage1-intl
45952 all-stage2-gas: maybe-all-stage2-intl
45953 all-stage3-gas: maybe-all-stage3-intl
45954 all-stage4-gas: maybe-all-stage4-intl
45955 all-stageprofile-gas: maybe-all-stageprofile-intl
45956 all-stagefeedback-gas: maybe-all-stagefeedback-intl
45957 configure-gprof: maybe-configure-intl
45958 all-gprof: maybe-all-libiberty
45959 all-gprof: maybe-all-bfd
45960 all-gprof: maybe-all-opcodes
45961 all-gprof: maybe-all-intl
45962 configure-ld: maybe-configure-intl
45964 configure-stage1-ld: maybe-configure-stage1-intl
45965 configure-stage2-ld: maybe-configure-stage2-intl
45966 configure-stage3-ld: maybe-configure-stage3-intl
45967 configure-stage4-ld: maybe-configure-stage4-intl
45968 configure-stageprofile-ld: maybe-configure-stageprofile-intl
45969 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
45970 all-ld: maybe-all-libiberty
45972 all-stage1-ld: maybe-all-stage1-libiberty
45973 all-stage2-ld: maybe-all-stage2-libiberty
45974 all-stage3-ld: maybe-all-stage3-libiberty
45975 all-stage4-ld: maybe-all-stage4-libiberty
45976 all-stageprofile-ld: maybe-all-stageprofile-libiberty
45977 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
45978 all-ld: maybe-all-bfd
45980 all-stage1-ld: maybe-all-stage1-bfd
45981 all-stage2-ld: maybe-all-stage2-bfd
45982 all-stage3-ld: maybe-all-stage3-bfd
45983 all-stage4-ld: maybe-all-stage4-bfd
45984 all-stageprofile-ld: maybe-all-stageprofile-bfd
45985 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
45986 all-ld: maybe-all-opcodes
45988 all-stage1-ld: maybe-all-stage1-opcodes
45989 all-stage2-ld: maybe-all-stage2-opcodes
45990 all-stage3-ld: maybe-all-stage3-opcodes
45991 all-stage4-ld: maybe-all-stage4-opcodes
45992 all-stageprofile-ld: maybe-all-stageprofile-opcodes
45993 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
45994 all-ld: maybe-all-build-bison
45996 all-stage1-ld: maybe-all-build-bison
45997 all-stage2-ld: maybe-all-build-bison
45998 all-stage3-ld: maybe-all-build-bison
45999 all-stage4-ld: maybe-all-build-bison
46000 all-stageprofile-ld: maybe-all-build-bison
46001 all-stagefeedback-ld: maybe-all-build-bison
46002 all-ld: maybe-all-build-flex
46004 all-stage1-ld: maybe-all-build-flex
46005 all-stage2-ld: maybe-all-build-flex
46006 all-stage3-ld: maybe-all-build-flex
46007 all-stage4-ld: maybe-all-build-flex
46008 all-stageprofile-ld: maybe-all-build-flex
46009 all-stagefeedback-ld: maybe-all-build-flex
46010 all-ld: maybe-all-intl
46012 all-stage1-ld: maybe-all-stage1-intl
46013 all-stage2-ld: maybe-all-stage2-intl
46014 all-stage3-ld: maybe-all-stage3-intl
46015 all-stage4-ld: maybe-all-stage4-intl
46016 all-stageprofile-ld: maybe-all-stageprofile-intl
46017 all-stagefeedback-ld: maybe-all-stagefeedback-intl
46018 install-ld: maybe-install-gold
46019 install-strip-ld: maybe-install-strip-gold
46020 configure-gold: maybe-configure-intl
46022 configure-stage1-gold: maybe-configure-stage1-intl
46023 configure-stage2-gold: maybe-configure-stage2-intl
46024 configure-stage3-gold: maybe-configure-stage3-intl
46025 configure-stage4-gold: maybe-configure-stage4-intl
46026 configure-stageprofile-gold: maybe-configure-stageprofile-intl
46027 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
46028 all-gold: maybe-all-libiberty
46030 all-stage1-gold: maybe-all-stage1-libiberty
46031 all-stage2-gold: maybe-all-stage2-libiberty
46032 all-stage3-gold: maybe-all-stage3-libiberty
46033 all-stage4-gold: maybe-all-stage4-libiberty
46034 all-stageprofile-gold: maybe-all-stageprofile-libiberty
46035 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
46036 all-gold: maybe-all-intl
46038 all-stage1-gold: maybe-all-stage1-intl
46039 all-stage2-gold: maybe-all-stage2-intl
46040 all-stage3-gold: maybe-all-stage3-intl
46041 all-stage4-gold: maybe-all-stage4-intl
46042 all-stageprofile-gold: maybe-all-stageprofile-intl
46043 all-stagefeedback-gold: maybe-all-stagefeedback-intl
46044 all-gold: maybe-all-bfd
46046 all-stage1-gold: maybe-all-stage1-bfd
46047 all-stage2-gold: maybe-all-stage2-bfd
46048 all-stage3-gold: maybe-all-stage3-bfd
46049 all-stage4-gold: maybe-all-stage4-bfd
46050 all-stageprofile-gold: maybe-all-stageprofile-bfd
46051 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
46052 all-gold: maybe-all-build-bison
46054 all-stage1-gold: maybe-all-build-bison
46055 all-stage2-gold: maybe-all-build-bison
46056 all-stage3-gold: maybe-all-build-bison
46057 all-stage4-gold: maybe-all-build-bison
46058 all-stageprofile-gold: maybe-all-build-bison
46059 all-stagefeedback-gold: maybe-all-build-bison
46060 check-gold: maybe-all-binutils
46062 check-stage1-gold: maybe-all-stage1-binutils
46063 check-stage2-gold: maybe-all-stage2-binutils
46064 check-stage3-gold: maybe-all-stage3-binutils
46065 check-stage4-gold: maybe-all-stage4-binutils
46066 check-stageprofile-gold: maybe-all-stageprofile-binutils
46067 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
46068 check-gold: maybe-all-gas
46070 check-stage1-gold: maybe-all-stage1-gas
46071 check-stage2-gold: maybe-all-stage2-gas
46072 check-stage3-gold: maybe-all-stage3-gas
46073 check-stage4-gold: maybe-all-stage4-gas
46074 check-stageprofile-gold: maybe-all-stageprofile-gas
46075 check-stagefeedback-gold: maybe-all-stagefeedback-gas
46076 configure-opcodes: maybe-configure-intl
46078 configure-stage1-opcodes: maybe-configure-stage1-intl
46079 configure-stage2-opcodes: maybe-configure-stage2-intl
46080 configure-stage3-opcodes: maybe-configure-stage3-intl
46081 configure-stage4-opcodes: maybe-configure-stage4-intl
46082 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
46083 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
46084 all-opcodes: maybe-all-bfd
46086 all-stage1-opcodes: maybe-all-stage1-bfd
46087 all-stage2-opcodes: maybe-all-stage2-bfd
46088 all-stage3-opcodes: maybe-all-stage3-bfd
46089 all-stage4-opcodes: maybe-all-stage4-bfd
46090 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
46091 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
46092 all-opcodes: maybe-all-libiberty
46094 all-stage1-opcodes: maybe-all-stage1-libiberty
46095 all-stage2-opcodes: maybe-all-stage2-libiberty
46096 all-stage3-opcodes: maybe-all-stage3-libiberty
46097 all-stage4-opcodes: maybe-all-stage4-libiberty
46098 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
46099 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
46100 all-opcodes: maybe-all-intl
46102 all-stage1-opcodes: maybe-all-stage1-intl
46103 all-stage2-opcodes: maybe-all-stage2-intl
46104 all-stage3-opcodes: maybe-all-stage3-intl
46105 all-stage4-opcodes: maybe-all-stage4-intl
46106 all-stageprofile-opcodes: maybe-all-stageprofile-intl
46107 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
46108 all-dejagnu: maybe-all-tcl
46109 all-dejagnu: maybe-all-expect
46110 all-dejagnu: maybe-all-tk
46111 configure-expect: maybe-configure-tcl
46112 configure-expect: maybe-configure-tk
46113 all-expect: maybe-all-tcl
46114 all-expect: maybe-all-tk
46115 configure-itcl: maybe-configure-tcl
46116 configure-itcl: maybe-configure-tk
46117 all-itcl: maybe-all-tcl
46118 all-itcl: maybe-all-tk
46119 install-itcl: maybe-install-tcl
46120 install-strip-itcl: maybe-install-strip-tcl
46121 configure-tk: maybe-configure-tcl
46122 all-tk: maybe-all-tcl
46123 all-sid: maybe-all-libiberty
46124 all-sid: maybe-all-bfd
46125 all-sid: maybe-all-opcodes
46126 all-sid: maybe-all-tcl
46127 all-sid: maybe-all-tk
46128 install-sid: maybe-install-tcl
46129 install-strip-sid: maybe-install-strip-tcl
46130 install-sid: maybe-install-tk
46131 install-strip-sid: maybe-install-strip-tk
46132 configure-sim: maybe-configure-intl
46133 all-sim: maybe-all-intl
46134 all-sim: maybe-all-libiberty
46135 all-sim: maybe-all-bfd
46136 all-sim: maybe-all-opcodes
46137 all-sim: maybe-all-readline
46138 all-sim: maybe-configure-gdb
46139 all-fastjar: maybe-all-zlib
46140 all-fastjar: maybe-all-build-texinfo
46141 all-fastjar: maybe-all-libiberty
46142 all-bison: maybe-all-intl
46143 all-bison: maybe-all-build-texinfo
46144 all-flex: maybe-all-build-bison
46145 all-flex: maybe-all-intl
46146 all-flex: maybe-all-m4
46147 all-flex: maybe-all-build-texinfo
46148 all-m4: maybe-all-intl
46149 all-m4: maybe-all-build-texinfo
46150 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
46151 configure-target-fastjar: maybe-configure-target-zlib
46152 all-target-fastjar: maybe-all-target-zlib
46153 configure-target-libgo: maybe-configure-target-libffi
46154 configure-target-libgo: maybe-all-target-libstdc++-v3
46155 all-target-libgo: maybe-all-target-libbacktrace
46156 all-target-libgo: maybe-all-target-libffi
46157 all-target-libgo: maybe-all-target-libatomic
46158 configure-target-libjava: maybe-configure-target-zlib
46159 configure-target-libjava: maybe-configure-target-boehm-gc
46160 configure-target-libjava: maybe-configure-target-libffi
46161 all-target-libjava: maybe-all-fastjar
46162 all-target-libjava: maybe-all-target-zlib
46163 all-target-libjava: maybe-all-target-boehm-gc
46164 all-target-libjava: maybe-all-target-libffi
46165 configure-target-libobjc: maybe-configure-target-boehm-gc
46166 all-target-libobjc: maybe-all-target-boehm-gc
46167 configure-target-libstdc++-v3: maybe-configure-target-libgomp
46169 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
46170 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
46171 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
46172 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
46173 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
46174 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
46175 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
46177 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
46178 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
46179 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
46180 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
46181 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
46182 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
46183 all-target-libstdc++-v3: maybe-configure-target-libgomp
46185 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
46186 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
46187 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
46188 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
46189 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
46190 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
46191 install-target-libgo: maybe-install-target-libatomic
46192 install-target-libgfortran: maybe-install-target-libquadmath
46193 install-target-libgfortran: maybe-install-target-libgcc
46194 install-target-libsanitizer: maybe-install-target-libgcc
46195 install-target-libjava: maybe-install-target-libgcc
46196 install-target-libitm: maybe-install-target-libgcc
46197 install-target-libobjc: maybe-install-target-libgcc
46198 install-target-libstdc++-v3: maybe-install-target-libgcc
46199 all-target-libgloss: maybe-all-target-newlib
46200 all-target-winsup: maybe-all-target-libtermcap
46201 configure-target-newlib: maybe-all-binutils
46202 configure-target-newlib: maybe-all-ld
46203 configure-target-libgfortran: maybe-all-target-libquadmath
46206 # Dependencies for target modules on other target modules are
46207 # described by lang_env_dependencies; the defaults apply to anything
46208 # not mentioned there.
46212 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
46213 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
46214 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
46215 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
46216 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
46217 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
46218 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
46219 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
46220 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
46221 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
46222 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
46223 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
46224 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
46225 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
46226 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
46227 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
46228 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
46229 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
46230 @endif gcc-bootstrap
46232 @if gcc-no-bootstrap
46233 configure-target-libstdc++-v3: maybe-all-target-libgcc
46234 configure-target-libmudflap: maybe-all-target-libgcc
46235 configure-target-libsanitizer: maybe-all-target-libgcc
46236 configure-target-libssp: maybe-all-target-libgcc
46237 configure-target-newlib: maybe-all-target-libgcc
46238 configure-target-libbacktrace: maybe-all-target-libgcc
46239 configure-target-libquadmath: maybe-all-target-libgcc
46240 configure-target-libgfortran: maybe-all-target-libgcc
46241 configure-target-libobjc: maybe-all-target-libgcc
46242 configure-target-libgo: maybe-all-target-libgcc
46243 configure-target-libtermcap: maybe-all-target-libgcc
46244 configure-target-winsup: maybe-all-target-libgcc
46245 configure-target-libgloss: maybe-all-target-libgcc
46246 configure-target-libffi: maybe-all-target-libgcc
46247 configure-target-libjava: maybe-all-target-libgcc
46248 configure-target-zlib: maybe-all-target-libgcc
46249 configure-target-boehm-gc: maybe-all-target-libgcc
46250 configure-target-rda: maybe-all-target-libgcc
46251 configure-target-libada: maybe-all-target-libgcc
46252 configure-target-libgomp: maybe-all-target-libgcc
46253 configure-target-libitm: maybe-all-target-libgcc
46254 configure-target-libatomic: maybe-all-target-libgcc
46255 @endif gcc-no-bootstrap
46258 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
46260 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
46262 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
46264 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
46268 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
46270 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
46272 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
46274 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
46276 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
46278 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
46280 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
46283 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
46285 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
46286 configure-target-libjava: maybe-all-target-libstdc++-v3
46288 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
46290 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
46292 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
46294 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
46296 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
46298 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
46299 configure-target-libitm: maybe-all-target-libstdc++-v3
46301 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
46304 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
46306 INSTALL_GDB_TK = @INSTALL_GDB_TK@
46307 configure-gdb: $(CONFIGURE_GDB_TK)
46308 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
46309 install-gdb: $(INSTALL_GDB_TK)
46311 # Serialization dependencies. Host configures don't work well in parallel to
46312 # each other, due to contention over config.cache. Target configures and
46313 # build configures are similar.
46314 @serialization_dependencies@
46316 # --------------------------------
46317 # Regenerating top level configury
46318 # --------------------------------
46320 # Rebuilding Makefile.in, using autogen.
46322 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
46323 cd $(srcdir) && $(AUTOGEN) Makefile.def
46325 # Rebuilding Makefile.
46326 Makefile: $(srcdir)/Makefile.in config.status
46327 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
46329 config.status: configure
46330 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
46332 # Rebuilding configure.
46333 AUTOCONF = autoconf
46334 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
46335 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
46336 cd $(srcdir) && $(AUTOCONF)
46338 # ------------------------------
46339 # Special directives to GNU Make
46340 # ------------------------------
46342 # Don't pass command-line variables to submakes.
46346 # end of Makefile.in