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/g++$(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_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
589 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
593 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
594 @endif target-libgomp
597 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
601 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
602 @endif target-libatomic
606 # This is the list of directories that may be needed in RPATH_ENVVAR
607 # so that programs built for the host machine work.
608 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)
610 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
612 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
617 HOST_LIB_PATH_gmp = \
618 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
622 HOST_LIB_PATH_mpfr = \
623 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
627 HOST_LIB_PATH_mpc = \
628 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
632 HOST_LIB_PATH_isl = \
633 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
637 HOST_LIB_PATH_cloog = \
638 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
642 HOST_LIB_PATH_libelf = \
643 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
647 CXX_FOR_TARGET_FLAG_TO_PASS = \
648 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
649 @if target-libstdc++-v3
650 # CXX_FOR_TARGET is tricky to get right for target libs that require a
651 # functional C++ compiler. When we recurse, if we expand
652 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
653 # libstdc++ include flags from the script. Instead, we get an
654 # -funconfigured-* word, so that we'll get errors if this invalid C++
655 # command line is used for anything, but also so that we can use the
656 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
657 # don't pass it on, sub-make will use the default definition, that
658 # re-expands it at the time of use, so we'll get it right when we need
659 # it. One potential exception is the expansion of CXX_FOR_TARGET
660 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
661 # really work, for C++ host programs can't depend on the current-stage
662 # C++ target library.
663 CXX_FOR_TARGET_FLAG_TO_PASS = \
664 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
665 @endif target-libstdc++-v3
667 # Flags to pass down to all sub-makes.
668 BASE_FLAGS_TO_PASS = \
669 "DESTDIR=$(DESTDIR)" \
670 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
671 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
673 "datadir=$(datadir)" \
674 "exec_prefix=$(exec_prefix)" \
675 "includedir=$(includedir)" \
676 "datarootdir=$(datarootdir)" \
678 "infodir=$(infodir)" \
680 "htmldir=$(htmldir)" \
682 "libexecdir=$(libexecdir)" \
683 "lispdir=$(lispdir)" \
684 "localstatedir=$(localstatedir)" \
686 "oldincludedir=$(oldincludedir)" \
688 "sbindir=$(sbindir)" \
689 "sharedstatedir=$(sharedstatedir)" \
690 "sysconfdir=$(sysconfdir)" \
691 "tooldir=$(tooldir)" \
692 "build_tooldir=$(build_tooldir)" \
693 "target_alias=$(target_alias)" \
696 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
697 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
698 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
701 "INSTALL=$(INSTALL)" \
702 "INSTALL_DATA=$(INSTALL_DATA)" \
703 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
704 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
705 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
709 "RUNTEST=$(RUNTEST)" \
710 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
714 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
715 "ADA_CFLAGS=$(ADA_CFLAGS)" \
716 "AR_FLAGS=$(AR_FLAGS)" \
717 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
718 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
719 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
721 "CXXFLAGS=$(CXXFLAGS)" \
722 "LDFLAGS=$(LDFLAGS)" \
723 "LIBCFLAGS=$(LIBCFLAGS)" \
724 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
725 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
726 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
727 "GNATBIND=$(GNATBIND)" \
728 "GNATMAKE=$(GNATMAKE)" \
729 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
730 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
731 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
732 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
733 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
734 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
735 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
736 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
737 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
738 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
739 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
740 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
741 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
742 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
743 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
744 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
745 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
746 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
747 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
748 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
749 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
750 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
751 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
752 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
753 "BUILD_CONFIG=$(BUILD_CONFIG)" \
754 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
756 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
757 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
758 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
759 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
760 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
761 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
762 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
763 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
764 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
765 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
766 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
767 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
768 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
769 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
770 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
771 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
772 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
773 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
774 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
776 "CONFIG_SHELL=$(SHELL)" \
777 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
779 # We leave this in just in case, but it is not needed anymore.
780 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
782 # Flags to pass down to most sub-makes, in which we're building with
783 # the host environment.
789 'DLLTOOL=$(DLLTOOL)' \
791 'GFORTRAN=$(GFORTRAN)' \
796 'OBJDUMP=$(OBJDUMP)' \
798 'READELF=$(READELF)' \
800 'WINDRES=$(WINDRES)' \
803 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
805 # Flags to pass to stage1 or when not bootstrapping.
807 STAGE1_FLAGS_TO_PASS = \
808 LDFLAGS="$${LDFLAGS}" \
809 HOST_LIBS="$${HOST_LIBS}"
811 # Flags to pass to stage2 and later makes.
813 POSTSTAGE1_FLAGS_TO_PASS = \
814 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
815 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
816 GNATBIND="$${GNATBIND}" \
817 LDFLAGS="$${LDFLAGS}" \
818 HOST_LIBS="$${HOST_LIBS}" \
819 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
821 # Flags to pass down to makes which are built with the target environment.
822 # The double $ decreases the length of the command line; those variables
823 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
824 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
825 # so we expand them here.
826 EXTRA_TARGET_FLAGS = \
827 'AR=$$(AR_FOR_TARGET)' \
828 'AS=$(COMPILER_AS_FOR_TARGET)' \
829 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
830 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
831 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
832 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
833 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
834 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
835 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
836 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
837 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
838 'LD=$(COMPILER_LD_FOR_TARGET)' \
839 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
840 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
841 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
842 'NM=$(COMPILER_NM_FOR_TARGET)' \
843 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
844 'RANLIB=$$(RANLIB_FOR_TARGET)' \
845 'READELF=$$(READELF_FOR_TARGET)' \
846 'WINDRES=$$(WINDRES_FOR_TARGET)' \
847 'WINDMC=$$(WINDMC_FOR_TARGET)' \
848 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
851 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
853 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
854 # unfortunately needs the native compiler and the target ar and
856 # If any variables are added here, they must be added to do-*, below.
857 # The BUILD_* variables are a special case, which are used for the gcc
858 # cross-building scheme.
860 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
861 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
862 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
864 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
867 BUILD_CONFIG = @BUILD_CONFIG@
868 ifneq ($(BUILD_CONFIG),)
869 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
873 .PHONY: configure-host
875 maybe-configure-bfd \
876 maybe-configure-opcodes \
877 maybe-configure-binutils \
878 maybe-configure-bison \
879 maybe-configure-cgen \
880 maybe-configure-dejagnu \
881 maybe-configure-etc \
882 maybe-configure-fastjar \
883 maybe-configure-fixincludes \
884 maybe-configure-flex \
885 maybe-configure-gas \
886 maybe-configure-gcc \
887 maybe-configure-gmp \
888 maybe-configure-mpfr \
889 maybe-configure-mpc \
890 maybe-configure-isl \
891 maybe-configure-cloog \
892 maybe-configure-libelf \
893 maybe-configure-gold \
894 maybe-configure-gprof \
895 maybe-configure-intl \
896 maybe-configure-tcl \
897 maybe-configure-itcl \
899 maybe-configure-libbacktrace \
900 maybe-configure-libcpp \
901 maybe-configure-libdecnumber \
902 maybe-configure-libgui \
903 maybe-configure-libiberty \
904 maybe-configure-libiconv \
906 maybe-configure-readline \
907 maybe-configure-sid \
908 maybe-configure-sim \
909 maybe-configure-texinfo \
910 maybe-configure-zlib \
911 maybe-configure-gdb \
912 maybe-configure-expect \
913 maybe-configure-guile \
915 maybe-configure-libtermcap \
916 maybe-configure-utils \
917 maybe-configure-gnattools \
918 maybe-configure-lto-plugin
919 .PHONY: configure-target
921 maybe-configure-target-libstdc++-v3 \
922 maybe-configure-target-libmudflap \
923 maybe-configure-target-libssp \
924 maybe-configure-target-newlib \
925 maybe-configure-target-libgcc \
926 maybe-configure-target-libbacktrace \
927 maybe-configure-target-libquadmath \
928 maybe-configure-target-libgfortran \
929 maybe-configure-target-libobjc \
930 maybe-configure-target-libgo \
931 maybe-configure-target-libtermcap \
932 maybe-configure-target-winsup \
933 maybe-configure-target-libgloss \
934 maybe-configure-target-libffi \
935 maybe-configure-target-libjava \
936 maybe-configure-target-zlib \
937 maybe-configure-target-boehm-gc \
938 maybe-configure-target-rda \
939 maybe-configure-target-libada \
940 maybe-configure-target-libgomp \
941 maybe-configure-target-libitm \
942 maybe-configure-target-libatomic
944 # The target built for a native non-bootstrap build.
948 [ -f stage_final ] || echo stage3 > stage_final
949 @r=`${PWD_COMMAND}`; export r; \
950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
951 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
953 @: $(MAKE); $(unstage)
954 @r=`${PWD_COMMAND}`; export r; \
955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
957 if [ -f stage_last ]; then \
958 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
959 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
962 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
971 all-build: maybe-all-build-libiberty
972 all-build: maybe-all-build-bison
973 all-build: maybe-all-build-flex
974 all-build: maybe-all-build-m4
975 all-build: maybe-all-build-texinfo
976 all-build: maybe-all-build-fixincludes
981 all-host: maybe-all-bfd
982 @endif bfd-no-bootstrap
983 @if opcodes-no-bootstrap
984 all-host: maybe-all-opcodes
985 @endif opcodes-no-bootstrap
986 @if binutils-no-bootstrap
987 all-host: maybe-all-binutils
988 @endif binutils-no-bootstrap
989 all-host: maybe-all-bison
990 all-host: maybe-all-cgen
991 all-host: maybe-all-dejagnu
992 all-host: maybe-all-etc
993 all-host: maybe-all-fastjar
994 all-host: maybe-all-fixincludes
995 all-host: maybe-all-flex
997 all-host: maybe-all-gas
998 @endif gas-no-bootstrap
1000 all-host: maybe-all-gcc
1001 @endif gcc-no-bootstrap
1002 @if gmp-no-bootstrap
1003 all-host: maybe-all-gmp
1004 @endif gmp-no-bootstrap
1005 @if mpfr-no-bootstrap
1006 all-host: maybe-all-mpfr
1007 @endif mpfr-no-bootstrap
1008 @if mpc-no-bootstrap
1009 all-host: maybe-all-mpc
1010 @endif mpc-no-bootstrap
1011 @if isl-no-bootstrap
1012 all-host: maybe-all-isl
1013 @endif isl-no-bootstrap
1014 @if cloog-no-bootstrap
1015 all-host: maybe-all-cloog
1016 @endif cloog-no-bootstrap
1017 @if libelf-no-bootstrap
1018 all-host: maybe-all-libelf
1019 @endif libelf-no-bootstrap
1020 @if gold-no-bootstrap
1021 all-host: maybe-all-gold
1022 @endif gold-no-bootstrap
1023 all-host: maybe-all-gprof
1024 @if intl-no-bootstrap
1025 all-host: maybe-all-intl
1026 @endif intl-no-bootstrap
1027 all-host: maybe-all-tcl
1028 all-host: maybe-all-itcl
1030 all-host: maybe-all-ld
1031 @endif ld-no-bootstrap
1032 @if libbacktrace-no-bootstrap
1033 all-host: maybe-all-libbacktrace
1034 @endif libbacktrace-no-bootstrap
1035 @if libcpp-no-bootstrap
1036 all-host: maybe-all-libcpp
1037 @endif libcpp-no-bootstrap
1038 @if libdecnumber-no-bootstrap
1039 all-host: maybe-all-libdecnumber
1040 @endif libdecnumber-no-bootstrap
1041 all-host: maybe-all-libgui
1042 @if libiberty-no-bootstrap
1043 all-host: maybe-all-libiberty
1044 @endif libiberty-no-bootstrap
1045 all-host: maybe-all-libiconv
1046 all-host: maybe-all-m4
1047 all-host: maybe-all-readline
1048 all-host: maybe-all-sid
1049 all-host: maybe-all-sim
1050 all-host: maybe-all-texinfo
1051 @if zlib-no-bootstrap
1052 all-host: maybe-all-zlib
1053 @endif zlib-no-bootstrap
1054 all-host: maybe-all-gdb
1055 all-host: maybe-all-expect
1056 all-host: maybe-all-guile
1057 all-host: maybe-all-tk
1058 all-host: maybe-all-libtermcap
1059 all-host: maybe-all-utils
1060 all-host: maybe-all-gnattools
1061 @if lto-plugin-no-bootstrap
1062 all-host: maybe-all-lto-plugin
1063 @endif lto-plugin-no-bootstrap
1067 @if target-libstdc++-v3-no-bootstrap
1068 all-target: maybe-all-target-libstdc++-v3
1069 @endif target-libstdc++-v3-no-bootstrap
1070 all-target: maybe-all-target-libmudflap
1071 all-target: maybe-all-target-libssp
1072 all-target: maybe-all-target-newlib
1073 @if target-libgcc-no-bootstrap
1074 all-target: maybe-all-target-libgcc
1075 @endif target-libgcc-no-bootstrap
1076 all-target: maybe-all-target-libbacktrace
1077 all-target: maybe-all-target-libquadmath
1078 all-target: maybe-all-target-libgfortran
1079 all-target: maybe-all-target-libobjc
1080 all-target: maybe-all-target-libgo
1081 all-target: maybe-all-target-libtermcap
1082 all-target: maybe-all-target-winsup
1083 all-target: maybe-all-target-libgloss
1084 all-target: maybe-all-target-libffi
1085 all-target: maybe-all-target-libjava
1086 all-target: maybe-all-target-zlib
1087 all-target: maybe-all-target-boehm-gc
1088 all-target: maybe-all-target-rda
1089 all-target: maybe-all-target-libada
1090 @if target-libgomp-no-bootstrap
1091 all-target: maybe-all-target-libgomp
1092 @endif target-libgomp-no-bootstrap
1093 all-target: maybe-all-target-libitm
1094 all-target: maybe-all-target-libatomic
1096 # Do a target for all the subdirectories. A ``make do-X'' will do a
1097 # ``make X'' in all subdirectories (because, in general, there is a
1098 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1099 # but it may do additional work as well).
1103 @: $(MAKE); $(unstage)
1104 @r=`${PWD_COMMAND}`; export r; \
1105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1106 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1112 info-host: maybe-info-bfd
1113 info-host: maybe-info-opcodes
1114 info-host: maybe-info-binutils
1115 info-host: maybe-info-bison
1116 info-host: maybe-info-cgen
1117 info-host: maybe-info-dejagnu
1118 info-host: maybe-info-etc
1119 info-host: maybe-info-fastjar
1120 info-host: maybe-info-fixincludes
1121 info-host: maybe-info-flex
1122 info-host: maybe-info-gas
1123 info-host: maybe-info-gcc
1124 info-host: maybe-info-gmp
1125 info-host: maybe-info-mpfr
1126 info-host: maybe-info-mpc
1127 info-host: maybe-info-isl
1128 info-host: maybe-info-cloog
1129 info-host: maybe-info-libelf
1130 info-host: maybe-info-gold
1131 info-host: maybe-info-gprof
1132 info-host: maybe-info-intl
1133 info-host: maybe-info-tcl
1134 info-host: maybe-info-itcl
1135 info-host: maybe-info-ld
1136 info-host: maybe-info-libbacktrace
1137 info-host: maybe-info-libcpp
1138 info-host: maybe-info-libdecnumber
1139 info-host: maybe-info-libgui
1140 info-host: maybe-info-libiberty
1141 info-host: maybe-info-libiconv
1142 info-host: maybe-info-m4
1143 info-host: maybe-info-readline
1144 info-host: maybe-info-sid
1145 info-host: maybe-info-sim
1146 info-host: maybe-info-texinfo
1147 info-host: maybe-info-zlib
1148 info-host: maybe-info-gdb
1149 info-host: maybe-info-expect
1150 info-host: maybe-info-guile
1151 info-host: maybe-info-tk
1152 info-host: maybe-info-libtermcap
1153 info-host: maybe-info-utils
1154 info-host: maybe-info-gnattools
1155 info-host: maybe-info-lto-plugin
1159 info-target: maybe-info-target-libstdc++-v3
1160 info-target: maybe-info-target-libmudflap
1161 info-target: maybe-info-target-libssp
1162 info-target: maybe-info-target-newlib
1163 info-target: maybe-info-target-libgcc
1164 info-target: maybe-info-target-libbacktrace
1165 info-target: maybe-info-target-libquadmath
1166 info-target: maybe-info-target-libgfortran
1167 info-target: maybe-info-target-libobjc
1168 info-target: maybe-info-target-libgo
1169 info-target: maybe-info-target-libtermcap
1170 info-target: maybe-info-target-winsup
1171 info-target: maybe-info-target-libgloss
1172 info-target: maybe-info-target-libffi
1173 info-target: maybe-info-target-libjava
1174 info-target: maybe-info-target-zlib
1175 info-target: maybe-info-target-boehm-gc
1176 info-target: maybe-info-target-rda
1177 info-target: maybe-info-target-libada
1178 info-target: maybe-info-target-libgomp
1179 info-target: maybe-info-target-libitm
1180 info-target: maybe-info-target-libatomic
1184 @: $(MAKE); $(unstage)
1185 @r=`${PWD_COMMAND}`; export r; \
1186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1187 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1193 dvi-host: maybe-dvi-bfd
1194 dvi-host: maybe-dvi-opcodes
1195 dvi-host: maybe-dvi-binutils
1196 dvi-host: maybe-dvi-bison
1197 dvi-host: maybe-dvi-cgen
1198 dvi-host: maybe-dvi-dejagnu
1199 dvi-host: maybe-dvi-etc
1200 dvi-host: maybe-dvi-fastjar
1201 dvi-host: maybe-dvi-fixincludes
1202 dvi-host: maybe-dvi-flex
1203 dvi-host: maybe-dvi-gas
1204 dvi-host: maybe-dvi-gcc
1205 dvi-host: maybe-dvi-gmp
1206 dvi-host: maybe-dvi-mpfr
1207 dvi-host: maybe-dvi-mpc
1208 dvi-host: maybe-dvi-isl
1209 dvi-host: maybe-dvi-cloog
1210 dvi-host: maybe-dvi-libelf
1211 dvi-host: maybe-dvi-gold
1212 dvi-host: maybe-dvi-gprof
1213 dvi-host: maybe-dvi-intl
1214 dvi-host: maybe-dvi-tcl
1215 dvi-host: maybe-dvi-itcl
1216 dvi-host: maybe-dvi-ld
1217 dvi-host: maybe-dvi-libbacktrace
1218 dvi-host: maybe-dvi-libcpp
1219 dvi-host: maybe-dvi-libdecnumber
1220 dvi-host: maybe-dvi-libgui
1221 dvi-host: maybe-dvi-libiberty
1222 dvi-host: maybe-dvi-libiconv
1223 dvi-host: maybe-dvi-m4
1224 dvi-host: maybe-dvi-readline
1225 dvi-host: maybe-dvi-sid
1226 dvi-host: maybe-dvi-sim
1227 dvi-host: maybe-dvi-texinfo
1228 dvi-host: maybe-dvi-zlib
1229 dvi-host: maybe-dvi-gdb
1230 dvi-host: maybe-dvi-expect
1231 dvi-host: maybe-dvi-guile
1232 dvi-host: maybe-dvi-tk
1233 dvi-host: maybe-dvi-libtermcap
1234 dvi-host: maybe-dvi-utils
1235 dvi-host: maybe-dvi-gnattools
1236 dvi-host: maybe-dvi-lto-plugin
1240 dvi-target: maybe-dvi-target-libstdc++-v3
1241 dvi-target: maybe-dvi-target-libmudflap
1242 dvi-target: maybe-dvi-target-libssp
1243 dvi-target: maybe-dvi-target-newlib
1244 dvi-target: maybe-dvi-target-libgcc
1245 dvi-target: maybe-dvi-target-libbacktrace
1246 dvi-target: maybe-dvi-target-libquadmath
1247 dvi-target: maybe-dvi-target-libgfortran
1248 dvi-target: maybe-dvi-target-libobjc
1249 dvi-target: maybe-dvi-target-libgo
1250 dvi-target: maybe-dvi-target-libtermcap
1251 dvi-target: maybe-dvi-target-winsup
1252 dvi-target: maybe-dvi-target-libgloss
1253 dvi-target: maybe-dvi-target-libffi
1254 dvi-target: maybe-dvi-target-libjava
1255 dvi-target: maybe-dvi-target-zlib
1256 dvi-target: maybe-dvi-target-boehm-gc
1257 dvi-target: maybe-dvi-target-rda
1258 dvi-target: maybe-dvi-target-libada
1259 dvi-target: maybe-dvi-target-libgomp
1260 dvi-target: maybe-dvi-target-libitm
1261 dvi-target: maybe-dvi-target-libatomic
1265 @: $(MAKE); $(unstage)
1266 @r=`${PWD_COMMAND}`; export r; \
1267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1268 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1274 pdf-host: maybe-pdf-bfd
1275 pdf-host: maybe-pdf-opcodes
1276 pdf-host: maybe-pdf-binutils
1277 pdf-host: maybe-pdf-bison
1278 pdf-host: maybe-pdf-cgen
1279 pdf-host: maybe-pdf-dejagnu
1280 pdf-host: maybe-pdf-etc
1281 pdf-host: maybe-pdf-fastjar
1282 pdf-host: maybe-pdf-fixincludes
1283 pdf-host: maybe-pdf-flex
1284 pdf-host: maybe-pdf-gas
1285 pdf-host: maybe-pdf-gcc
1286 pdf-host: maybe-pdf-gmp
1287 pdf-host: maybe-pdf-mpfr
1288 pdf-host: maybe-pdf-mpc
1289 pdf-host: maybe-pdf-isl
1290 pdf-host: maybe-pdf-cloog
1291 pdf-host: maybe-pdf-libelf
1292 pdf-host: maybe-pdf-gold
1293 pdf-host: maybe-pdf-gprof
1294 pdf-host: maybe-pdf-intl
1295 pdf-host: maybe-pdf-tcl
1296 pdf-host: maybe-pdf-itcl
1297 pdf-host: maybe-pdf-ld
1298 pdf-host: maybe-pdf-libbacktrace
1299 pdf-host: maybe-pdf-libcpp
1300 pdf-host: maybe-pdf-libdecnumber
1301 pdf-host: maybe-pdf-libgui
1302 pdf-host: maybe-pdf-libiberty
1303 pdf-host: maybe-pdf-libiconv
1304 pdf-host: maybe-pdf-m4
1305 pdf-host: maybe-pdf-readline
1306 pdf-host: maybe-pdf-sid
1307 pdf-host: maybe-pdf-sim
1308 pdf-host: maybe-pdf-texinfo
1309 pdf-host: maybe-pdf-zlib
1310 pdf-host: maybe-pdf-gdb
1311 pdf-host: maybe-pdf-expect
1312 pdf-host: maybe-pdf-guile
1313 pdf-host: maybe-pdf-tk
1314 pdf-host: maybe-pdf-libtermcap
1315 pdf-host: maybe-pdf-utils
1316 pdf-host: maybe-pdf-gnattools
1317 pdf-host: maybe-pdf-lto-plugin
1321 pdf-target: maybe-pdf-target-libstdc++-v3
1322 pdf-target: maybe-pdf-target-libmudflap
1323 pdf-target: maybe-pdf-target-libssp
1324 pdf-target: maybe-pdf-target-newlib
1325 pdf-target: maybe-pdf-target-libgcc
1326 pdf-target: maybe-pdf-target-libbacktrace
1327 pdf-target: maybe-pdf-target-libquadmath
1328 pdf-target: maybe-pdf-target-libgfortran
1329 pdf-target: maybe-pdf-target-libobjc
1330 pdf-target: maybe-pdf-target-libgo
1331 pdf-target: maybe-pdf-target-libtermcap
1332 pdf-target: maybe-pdf-target-winsup
1333 pdf-target: maybe-pdf-target-libgloss
1334 pdf-target: maybe-pdf-target-libffi
1335 pdf-target: maybe-pdf-target-libjava
1336 pdf-target: maybe-pdf-target-zlib
1337 pdf-target: maybe-pdf-target-boehm-gc
1338 pdf-target: maybe-pdf-target-rda
1339 pdf-target: maybe-pdf-target-libada
1340 pdf-target: maybe-pdf-target-libgomp
1341 pdf-target: maybe-pdf-target-libitm
1342 pdf-target: maybe-pdf-target-libatomic
1346 @: $(MAKE); $(unstage)
1347 @r=`${PWD_COMMAND}`; export r; \
1348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1349 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1355 html-host: maybe-html-bfd
1356 html-host: maybe-html-opcodes
1357 html-host: maybe-html-binutils
1358 html-host: maybe-html-bison
1359 html-host: maybe-html-cgen
1360 html-host: maybe-html-dejagnu
1361 html-host: maybe-html-etc
1362 html-host: maybe-html-fastjar
1363 html-host: maybe-html-fixincludes
1364 html-host: maybe-html-flex
1365 html-host: maybe-html-gas
1366 html-host: maybe-html-gcc
1367 html-host: maybe-html-gmp
1368 html-host: maybe-html-mpfr
1369 html-host: maybe-html-mpc
1370 html-host: maybe-html-isl
1371 html-host: maybe-html-cloog
1372 html-host: maybe-html-libelf
1373 html-host: maybe-html-gold
1374 html-host: maybe-html-gprof
1375 html-host: maybe-html-intl
1376 html-host: maybe-html-tcl
1377 html-host: maybe-html-itcl
1378 html-host: maybe-html-ld
1379 html-host: maybe-html-libbacktrace
1380 html-host: maybe-html-libcpp
1381 html-host: maybe-html-libdecnumber
1382 html-host: maybe-html-libgui
1383 html-host: maybe-html-libiberty
1384 html-host: maybe-html-libiconv
1385 html-host: maybe-html-m4
1386 html-host: maybe-html-readline
1387 html-host: maybe-html-sid
1388 html-host: maybe-html-sim
1389 html-host: maybe-html-texinfo
1390 html-host: maybe-html-zlib
1391 html-host: maybe-html-gdb
1392 html-host: maybe-html-expect
1393 html-host: maybe-html-guile
1394 html-host: maybe-html-tk
1395 html-host: maybe-html-libtermcap
1396 html-host: maybe-html-utils
1397 html-host: maybe-html-gnattools
1398 html-host: maybe-html-lto-plugin
1402 html-target: maybe-html-target-libstdc++-v3
1403 html-target: maybe-html-target-libmudflap
1404 html-target: maybe-html-target-libssp
1405 html-target: maybe-html-target-newlib
1406 html-target: maybe-html-target-libgcc
1407 html-target: maybe-html-target-libbacktrace
1408 html-target: maybe-html-target-libquadmath
1409 html-target: maybe-html-target-libgfortran
1410 html-target: maybe-html-target-libobjc
1411 html-target: maybe-html-target-libgo
1412 html-target: maybe-html-target-libtermcap
1413 html-target: maybe-html-target-winsup
1414 html-target: maybe-html-target-libgloss
1415 html-target: maybe-html-target-libffi
1416 html-target: maybe-html-target-libjava
1417 html-target: maybe-html-target-zlib
1418 html-target: maybe-html-target-boehm-gc
1419 html-target: maybe-html-target-rda
1420 html-target: maybe-html-target-libada
1421 html-target: maybe-html-target-libgomp
1422 html-target: maybe-html-target-libitm
1423 html-target: maybe-html-target-libatomic
1427 @: $(MAKE); $(unstage)
1428 @r=`${PWD_COMMAND}`; export r; \
1429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1430 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1436 TAGS-host: maybe-TAGS-bfd
1437 TAGS-host: maybe-TAGS-opcodes
1438 TAGS-host: maybe-TAGS-binutils
1439 TAGS-host: maybe-TAGS-bison
1440 TAGS-host: maybe-TAGS-cgen
1441 TAGS-host: maybe-TAGS-dejagnu
1442 TAGS-host: maybe-TAGS-etc
1443 TAGS-host: maybe-TAGS-fastjar
1444 TAGS-host: maybe-TAGS-fixincludes
1445 TAGS-host: maybe-TAGS-flex
1446 TAGS-host: maybe-TAGS-gas
1447 TAGS-host: maybe-TAGS-gcc
1448 TAGS-host: maybe-TAGS-gmp
1449 TAGS-host: maybe-TAGS-mpfr
1450 TAGS-host: maybe-TAGS-mpc
1451 TAGS-host: maybe-TAGS-isl
1452 TAGS-host: maybe-TAGS-cloog
1453 TAGS-host: maybe-TAGS-libelf
1454 TAGS-host: maybe-TAGS-gold
1455 TAGS-host: maybe-TAGS-gprof
1456 TAGS-host: maybe-TAGS-intl
1457 TAGS-host: maybe-TAGS-tcl
1458 TAGS-host: maybe-TAGS-itcl
1459 TAGS-host: maybe-TAGS-ld
1460 TAGS-host: maybe-TAGS-libbacktrace
1461 TAGS-host: maybe-TAGS-libcpp
1462 TAGS-host: maybe-TAGS-libdecnumber
1463 TAGS-host: maybe-TAGS-libgui
1464 TAGS-host: maybe-TAGS-libiberty
1465 TAGS-host: maybe-TAGS-libiconv
1466 TAGS-host: maybe-TAGS-m4
1467 TAGS-host: maybe-TAGS-readline
1468 TAGS-host: maybe-TAGS-sid
1469 TAGS-host: maybe-TAGS-sim
1470 TAGS-host: maybe-TAGS-texinfo
1471 TAGS-host: maybe-TAGS-zlib
1472 TAGS-host: maybe-TAGS-gdb
1473 TAGS-host: maybe-TAGS-expect
1474 TAGS-host: maybe-TAGS-guile
1475 TAGS-host: maybe-TAGS-tk
1476 TAGS-host: maybe-TAGS-libtermcap
1477 TAGS-host: maybe-TAGS-utils
1478 TAGS-host: maybe-TAGS-gnattools
1479 TAGS-host: maybe-TAGS-lto-plugin
1483 TAGS-target: maybe-TAGS-target-libstdc++-v3
1484 TAGS-target: maybe-TAGS-target-libmudflap
1485 TAGS-target: maybe-TAGS-target-libssp
1486 TAGS-target: maybe-TAGS-target-newlib
1487 TAGS-target: maybe-TAGS-target-libgcc
1488 TAGS-target: maybe-TAGS-target-libbacktrace
1489 TAGS-target: maybe-TAGS-target-libquadmath
1490 TAGS-target: maybe-TAGS-target-libgfortran
1491 TAGS-target: maybe-TAGS-target-libobjc
1492 TAGS-target: maybe-TAGS-target-libgo
1493 TAGS-target: maybe-TAGS-target-libtermcap
1494 TAGS-target: maybe-TAGS-target-winsup
1495 TAGS-target: maybe-TAGS-target-libgloss
1496 TAGS-target: maybe-TAGS-target-libffi
1497 TAGS-target: maybe-TAGS-target-libjava
1498 TAGS-target: maybe-TAGS-target-zlib
1499 TAGS-target: maybe-TAGS-target-boehm-gc
1500 TAGS-target: maybe-TAGS-target-rda
1501 TAGS-target: maybe-TAGS-target-libada
1502 TAGS-target: maybe-TAGS-target-libgomp
1503 TAGS-target: maybe-TAGS-target-libitm
1504 TAGS-target: maybe-TAGS-target-libatomic
1506 .PHONY: do-install-info
1508 @: $(MAKE); $(unstage)
1509 @r=`${PWD_COMMAND}`; export r; \
1510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1511 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1515 .PHONY: install-info-host
1517 install-info-host: maybe-install-info-bfd
1518 install-info-host: maybe-install-info-opcodes
1519 install-info-host: maybe-install-info-binutils
1520 install-info-host: maybe-install-info-bison
1521 install-info-host: maybe-install-info-cgen
1522 install-info-host: maybe-install-info-dejagnu
1523 install-info-host: maybe-install-info-etc
1524 install-info-host: maybe-install-info-fastjar
1525 install-info-host: maybe-install-info-fixincludes
1526 install-info-host: maybe-install-info-flex
1527 install-info-host: maybe-install-info-gas
1528 install-info-host: maybe-install-info-gcc
1529 install-info-host: maybe-install-info-gmp
1530 install-info-host: maybe-install-info-mpfr
1531 install-info-host: maybe-install-info-mpc
1532 install-info-host: maybe-install-info-isl
1533 install-info-host: maybe-install-info-cloog
1534 install-info-host: maybe-install-info-libelf
1535 install-info-host: maybe-install-info-gold
1536 install-info-host: maybe-install-info-gprof
1537 install-info-host: maybe-install-info-intl
1538 install-info-host: maybe-install-info-tcl
1539 install-info-host: maybe-install-info-itcl
1540 install-info-host: maybe-install-info-ld
1541 install-info-host: maybe-install-info-libbacktrace
1542 install-info-host: maybe-install-info-libcpp
1543 install-info-host: maybe-install-info-libdecnumber
1544 install-info-host: maybe-install-info-libgui
1545 install-info-host: maybe-install-info-libiberty
1546 install-info-host: maybe-install-info-libiconv
1547 install-info-host: maybe-install-info-m4
1548 install-info-host: maybe-install-info-readline
1549 install-info-host: maybe-install-info-sid
1550 install-info-host: maybe-install-info-sim
1551 install-info-host: maybe-install-info-texinfo
1552 install-info-host: maybe-install-info-zlib
1553 install-info-host: maybe-install-info-gdb
1554 install-info-host: maybe-install-info-expect
1555 install-info-host: maybe-install-info-guile
1556 install-info-host: maybe-install-info-tk
1557 install-info-host: maybe-install-info-libtermcap
1558 install-info-host: maybe-install-info-utils
1559 install-info-host: maybe-install-info-gnattools
1560 install-info-host: maybe-install-info-lto-plugin
1562 .PHONY: install-info-target
1564 install-info-target: maybe-install-info-target-libstdc++-v3
1565 install-info-target: maybe-install-info-target-libmudflap
1566 install-info-target: maybe-install-info-target-libssp
1567 install-info-target: maybe-install-info-target-newlib
1568 install-info-target: maybe-install-info-target-libgcc
1569 install-info-target: maybe-install-info-target-libbacktrace
1570 install-info-target: maybe-install-info-target-libquadmath
1571 install-info-target: maybe-install-info-target-libgfortran
1572 install-info-target: maybe-install-info-target-libobjc
1573 install-info-target: maybe-install-info-target-libgo
1574 install-info-target: maybe-install-info-target-libtermcap
1575 install-info-target: maybe-install-info-target-winsup
1576 install-info-target: maybe-install-info-target-libgloss
1577 install-info-target: maybe-install-info-target-libffi
1578 install-info-target: maybe-install-info-target-libjava
1579 install-info-target: maybe-install-info-target-zlib
1580 install-info-target: maybe-install-info-target-boehm-gc
1581 install-info-target: maybe-install-info-target-rda
1582 install-info-target: maybe-install-info-target-libada
1583 install-info-target: maybe-install-info-target-libgomp
1584 install-info-target: maybe-install-info-target-libitm
1585 install-info-target: maybe-install-info-target-libatomic
1587 .PHONY: do-install-pdf
1589 @: $(MAKE); $(unstage)
1590 @r=`${PWD_COMMAND}`; export r; \
1591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1592 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1596 .PHONY: install-pdf-host
1598 install-pdf-host: maybe-install-pdf-bfd
1599 install-pdf-host: maybe-install-pdf-opcodes
1600 install-pdf-host: maybe-install-pdf-binutils
1601 install-pdf-host: maybe-install-pdf-bison
1602 install-pdf-host: maybe-install-pdf-cgen
1603 install-pdf-host: maybe-install-pdf-dejagnu
1604 install-pdf-host: maybe-install-pdf-etc
1605 install-pdf-host: maybe-install-pdf-fastjar
1606 install-pdf-host: maybe-install-pdf-fixincludes
1607 install-pdf-host: maybe-install-pdf-flex
1608 install-pdf-host: maybe-install-pdf-gas
1609 install-pdf-host: maybe-install-pdf-gcc
1610 install-pdf-host: maybe-install-pdf-gmp
1611 install-pdf-host: maybe-install-pdf-mpfr
1612 install-pdf-host: maybe-install-pdf-mpc
1613 install-pdf-host: maybe-install-pdf-isl
1614 install-pdf-host: maybe-install-pdf-cloog
1615 install-pdf-host: maybe-install-pdf-libelf
1616 install-pdf-host: maybe-install-pdf-gold
1617 install-pdf-host: maybe-install-pdf-gprof
1618 install-pdf-host: maybe-install-pdf-intl
1619 install-pdf-host: maybe-install-pdf-tcl
1620 install-pdf-host: maybe-install-pdf-itcl
1621 install-pdf-host: maybe-install-pdf-ld
1622 install-pdf-host: maybe-install-pdf-libbacktrace
1623 install-pdf-host: maybe-install-pdf-libcpp
1624 install-pdf-host: maybe-install-pdf-libdecnumber
1625 install-pdf-host: maybe-install-pdf-libgui
1626 install-pdf-host: maybe-install-pdf-libiberty
1627 install-pdf-host: maybe-install-pdf-libiconv
1628 install-pdf-host: maybe-install-pdf-m4
1629 install-pdf-host: maybe-install-pdf-readline
1630 install-pdf-host: maybe-install-pdf-sid
1631 install-pdf-host: maybe-install-pdf-sim
1632 install-pdf-host: maybe-install-pdf-texinfo
1633 install-pdf-host: maybe-install-pdf-zlib
1634 install-pdf-host: maybe-install-pdf-gdb
1635 install-pdf-host: maybe-install-pdf-expect
1636 install-pdf-host: maybe-install-pdf-guile
1637 install-pdf-host: maybe-install-pdf-tk
1638 install-pdf-host: maybe-install-pdf-libtermcap
1639 install-pdf-host: maybe-install-pdf-utils
1640 install-pdf-host: maybe-install-pdf-gnattools
1641 install-pdf-host: maybe-install-pdf-lto-plugin
1643 .PHONY: install-pdf-target
1645 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1646 install-pdf-target: maybe-install-pdf-target-libmudflap
1647 install-pdf-target: maybe-install-pdf-target-libssp
1648 install-pdf-target: maybe-install-pdf-target-newlib
1649 install-pdf-target: maybe-install-pdf-target-libgcc
1650 install-pdf-target: maybe-install-pdf-target-libbacktrace
1651 install-pdf-target: maybe-install-pdf-target-libquadmath
1652 install-pdf-target: maybe-install-pdf-target-libgfortran
1653 install-pdf-target: maybe-install-pdf-target-libobjc
1654 install-pdf-target: maybe-install-pdf-target-libgo
1655 install-pdf-target: maybe-install-pdf-target-libtermcap
1656 install-pdf-target: maybe-install-pdf-target-winsup
1657 install-pdf-target: maybe-install-pdf-target-libgloss
1658 install-pdf-target: maybe-install-pdf-target-libffi
1659 install-pdf-target: maybe-install-pdf-target-libjava
1660 install-pdf-target: maybe-install-pdf-target-zlib
1661 install-pdf-target: maybe-install-pdf-target-boehm-gc
1662 install-pdf-target: maybe-install-pdf-target-rda
1663 install-pdf-target: maybe-install-pdf-target-libada
1664 install-pdf-target: maybe-install-pdf-target-libgomp
1665 install-pdf-target: maybe-install-pdf-target-libitm
1666 install-pdf-target: maybe-install-pdf-target-libatomic
1668 .PHONY: do-install-html
1670 @: $(MAKE); $(unstage)
1671 @r=`${PWD_COMMAND}`; export r; \
1672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1673 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1677 .PHONY: install-html-host
1679 install-html-host: maybe-install-html-bfd
1680 install-html-host: maybe-install-html-opcodes
1681 install-html-host: maybe-install-html-binutils
1682 install-html-host: maybe-install-html-bison
1683 install-html-host: maybe-install-html-cgen
1684 install-html-host: maybe-install-html-dejagnu
1685 install-html-host: maybe-install-html-etc
1686 install-html-host: maybe-install-html-fastjar
1687 install-html-host: maybe-install-html-fixincludes
1688 install-html-host: maybe-install-html-flex
1689 install-html-host: maybe-install-html-gas
1690 install-html-host: maybe-install-html-gcc
1691 install-html-host: maybe-install-html-gmp
1692 install-html-host: maybe-install-html-mpfr
1693 install-html-host: maybe-install-html-mpc
1694 install-html-host: maybe-install-html-isl
1695 install-html-host: maybe-install-html-cloog
1696 install-html-host: maybe-install-html-libelf
1697 install-html-host: maybe-install-html-gold
1698 install-html-host: maybe-install-html-gprof
1699 install-html-host: maybe-install-html-intl
1700 install-html-host: maybe-install-html-tcl
1701 install-html-host: maybe-install-html-itcl
1702 install-html-host: maybe-install-html-ld
1703 install-html-host: maybe-install-html-libbacktrace
1704 install-html-host: maybe-install-html-libcpp
1705 install-html-host: maybe-install-html-libdecnumber
1706 install-html-host: maybe-install-html-libgui
1707 install-html-host: maybe-install-html-libiberty
1708 install-html-host: maybe-install-html-libiconv
1709 install-html-host: maybe-install-html-m4
1710 install-html-host: maybe-install-html-readline
1711 install-html-host: maybe-install-html-sid
1712 install-html-host: maybe-install-html-sim
1713 install-html-host: maybe-install-html-texinfo
1714 install-html-host: maybe-install-html-zlib
1715 install-html-host: maybe-install-html-gdb
1716 install-html-host: maybe-install-html-expect
1717 install-html-host: maybe-install-html-guile
1718 install-html-host: maybe-install-html-tk
1719 install-html-host: maybe-install-html-libtermcap
1720 install-html-host: maybe-install-html-utils
1721 install-html-host: maybe-install-html-gnattools
1722 install-html-host: maybe-install-html-lto-plugin
1724 .PHONY: install-html-target
1726 install-html-target: maybe-install-html-target-libstdc++-v3
1727 install-html-target: maybe-install-html-target-libmudflap
1728 install-html-target: maybe-install-html-target-libssp
1729 install-html-target: maybe-install-html-target-newlib
1730 install-html-target: maybe-install-html-target-libgcc
1731 install-html-target: maybe-install-html-target-libbacktrace
1732 install-html-target: maybe-install-html-target-libquadmath
1733 install-html-target: maybe-install-html-target-libgfortran
1734 install-html-target: maybe-install-html-target-libobjc
1735 install-html-target: maybe-install-html-target-libgo
1736 install-html-target: maybe-install-html-target-libtermcap
1737 install-html-target: maybe-install-html-target-winsup
1738 install-html-target: maybe-install-html-target-libgloss
1739 install-html-target: maybe-install-html-target-libffi
1740 install-html-target: maybe-install-html-target-libjava
1741 install-html-target: maybe-install-html-target-zlib
1742 install-html-target: maybe-install-html-target-boehm-gc
1743 install-html-target: maybe-install-html-target-rda
1744 install-html-target: maybe-install-html-target-libada
1745 install-html-target: maybe-install-html-target-libgomp
1746 install-html-target: maybe-install-html-target-libitm
1747 install-html-target: maybe-install-html-target-libatomic
1749 .PHONY: do-installcheck
1751 @: $(MAKE); $(unstage)
1752 @r=`${PWD_COMMAND}`; export r; \
1753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1754 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1758 .PHONY: installcheck-host
1760 installcheck-host: maybe-installcheck-bfd
1761 installcheck-host: maybe-installcheck-opcodes
1762 installcheck-host: maybe-installcheck-binutils
1763 installcheck-host: maybe-installcheck-bison
1764 installcheck-host: maybe-installcheck-cgen
1765 installcheck-host: maybe-installcheck-dejagnu
1766 installcheck-host: maybe-installcheck-etc
1767 installcheck-host: maybe-installcheck-fastjar
1768 installcheck-host: maybe-installcheck-fixincludes
1769 installcheck-host: maybe-installcheck-flex
1770 installcheck-host: maybe-installcheck-gas
1771 installcheck-host: maybe-installcheck-gcc
1772 installcheck-host: maybe-installcheck-gmp
1773 installcheck-host: maybe-installcheck-mpfr
1774 installcheck-host: maybe-installcheck-mpc
1775 installcheck-host: maybe-installcheck-isl
1776 installcheck-host: maybe-installcheck-cloog
1777 installcheck-host: maybe-installcheck-libelf
1778 installcheck-host: maybe-installcheck-gold
1779 installcheck-host: maybe-installcheck-gprof
1780 installcheck-host: maybe-installcheck-intl
1781 installcheck-host: maybe-installcheck-tcl
1782 installcheck-host: maybe-installcheck-itcl
1783 installcheck-host: maybe-installcheck-ld
1784 installcheck-host: maybe-installcheck-libbacktrace
1785 installcheck-host: maybe-installcheck-libcpp
1786 installcheck-host: maybe-installcheck-libdecnumber
1787 installcheck-host: maybe-installcheck-libgui
1788 installcheck-host: maybe-installcheck-libiberty
1789 installcheck-host: maybe-installcheck-libiconv
1790 installcheck-host: maybe-installcheck-m4
1791 installcheck-host: maybe-installcheck-readline
1792 installcheck-host: maybe-installcheck-sid
1793 installcheck-host: maybe-installcheck-sim
1794 installcheck-host: maybe-installcheck-texinfo
1795 installcheck-host: maybe-installcheck-zlib
1796 installcheck-host: maybe-installcheck-gdb
1797 installcheck-host: maybe-installcheck-expect
1798 installcheck-host: maybe-installcheck-guile
1799 installcheck-host: maybe-installcheck-tk
1800 installcheck-host: maybe-installcheck-libtermcap
1801 installcheck-host: maybe-installcheck-utils
1802 installcheck-host: maybe-installcheck-gnattools
1803 installcheck-host: maybe-installcheck-lto-plugin
1805 .PHONY: installcheck-target
1807 installcheck-target: maybe-installcheck-target-libstdc++-v3
1808 installcheck-target: maybe-installcheck-target-libmudflap
1809 installcheck-target: maybe-installcheck-target-libssp
1810 installcheck-target: maybe-installcheck-target-newlib
1811 installcheck-target: maybe-installcheck-target-libgcc
1812 installcheck-target: maybe-installcheck-target-libbacktrace
1813 installcheck-target: maybe-installcheck-target-libquadmath
1814 installcheck-target: maybe-installcheck-target-libgfortran
1815 installcheck-target: maybe-installcheck-target-libobjc
1816 installcheck-target: maybe-installcheck-target-libgo
1817 installcheck-target: maybe-installcheck-target-libtermcap
1818 installcheck-target: maybe-installcheck-target-winsup
1819 installcheck-target: maybe-installcheck-target-libgloss
1820 installcheck-target: maybe-installcheck-target-libffi
1821 installcheck-target: maybe-installcheck-target-libjava
1822 installcheck-target: maybe-installcheck-target-zlib
1823 installcheck-target: maybe-installcheck-target-boehm-gc
1824 installcheck-target: maybe-installcheck-target-rda
1825 installcheck-target: maybe-installcheck-target-libada
1826 installcheck-target: maybe-installcheck-target-libgomp
1827 installcheck-target: maybe-installcheck-target-libitm
1828 installcheck-target: maybe-installcheck-target-libatomic
1830 .PHONY: do-mostlyclean
1832 @: $(MAKE); $(unstage)
1833 @r=`${PWD_COMMAND}`; export r; \
1834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1835 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1839 .PHONY: mostlyclean-host
1841 mostlyclean-host: maybe-mostlyclean-bfd
1842 mostlyclean-host: maybe-mostlyclean-opcodes
1843 mostlyclean-host: maybe-mostlyclean-binutils
1844 mostlyclean-host: maybe-mostlyclean-bison
1845 mostlyclean-host: maybe-mostlyclean-cgen
1846 mostlyclean-host: maybe-mostlyclean-dejagnu
1847 mostlyclean-host: maybe-mostlyclean-etc
1848 mostlyclean-host: maybe-mostlyclean-fastjar
1849 mostlyclean-host: maybe-mostlyclean-fixincludes
1850 mostlyclean-host: maybe-mostlyclean-flex
1851 mostlyclean-host: maybe-mostlyclean-gas
1852 mostlyclean-host: maybe-mostlyclean-gcc
1853 mostlyclean-host: maybe-mostlyclean-gmp
1854 mostlyclean-host: maybe-mostlyclean-mpfr
1855 mostlyclean-host: maybe-mostlyclean-mpc
1856 mostlyclean-host: maybe-mostlyclean-isl
1857 mostlyclean-host: maybe-mostlyclean-cloog
1858 mostlyclean-host: maybe-mostlyclean-libelf
1859 mostlyclean-host: maybe-mostlyclean-gold
1860 mostlyclean-host: maybe-mostlyclean-gprof
1861 mostlyclean-host: maybe-mostlyclean-intl
1862 mostlyclean-host: maybe-mostlyclean-tcl
1863 mostlyclean-host: maybe-mostlyclean-itcl
1864 mostlyclean-host: maybe-mostlyclean-ld
1865 mostlyclean-host: maybe-mostlyclean-libbacktrace
1866 mostlyclean-host: maybe-mostlyclean-libcpp
1867 mostlyclean-host: maybe-mostlyclean-libdecnumber
1868 mostlyclean-host: maybe-mostlyclean-libgui
1869 mostlyclean-host: maybe-mostlyclean-libiberty
1870 mostlyclean-host: maybe-mostlyclean-libiconv
1871 mostlyclean-host: maybe-mostlyclean-m4
1872 mostlyclean-host: maybe-mostlyclean-readline
1873 mostlyclean-host: maybe-mostlyclean-sid
1874 mostlyclean-host: maybe-mostlyclean-sim
1875 mostlyclean-host: maybe-mostlyclean-texinfo
1876 mostlyclean-host: maybe-mostlyclean-zlib
1877 mostlyclean-host: maybe-mostlyclean-gdb
1878 mostlyclean-host: maybe-mostlyclean-expect
1879 mostlyclean-host: maybe-mostlyclean-guile
1880 mostlyclean-host: maybe-mostlyclean-tk
1881 mostlyclean-host: maybe-mostlyclean-libtermcap
1882 mostlyclean-host: maybe-mostlyclean-utils
1883 mostlyclean-host: maybe-mostlyclean-gnattools
1884 mostlyclean-host: maybe-mostlyclean-lto-plugin
1886 .PHONY: mostlyclean-target
1888 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1889 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1890 mostlyclean-target: maybe-mostlyclean-target-libssp
1891 mostlyclean-target: maybe-mostlyclean-target-newlib
1892 mostlyclean-target: maybe-mostlyclean-target-libgcc
1893 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1894 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1895 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1896 mostlyclean-target: maybe-mostlyclean-target-libobjc
1897 mostlyclean-target: maybe-mostlyclean-target-libgo
1898 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1899 mostlyclean-target: maybe-mostlyclean-target-winsup
1900 mostlyclean-target: maybe-mostlyclean-target-libgloss
1901 mostlyclean-target: maybe-mostlyclean-target-libffi
1902 mostlyclean-target: maybe-mostlyclean-target-libjava
1903 mostlyclean-target: maybe-mostlyclean-target-zlib
1904 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1905 mostlyclean-target: maybe-mostlyclean-target-rda
1906 mostlyclean-target: maybe-mostlyclean-target-libada
1907 mostlyclean-target: maybe-mostlyclean-target-libgomp
1908 mostlyclean-target: maybe-mostlyclean-target-libitm
1909 mostlyclean-target: maybe-mostlyclean-target-libatomic
1913 @: $(MAKE); $(unstage)
1914 @r=`${PWD_COMMAND}`; export r; \
1915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1916 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1922 clean-host: maybe-clean-bfd
1923 clean-host: maybe-clean-opcodes
1924 clean-host: maybe-clean-binutils
1925 clean-host: maybe-clean-bison
1926 clean-host: maybe-clean-cgen
1927 clean-host: maybe-clean-dejagnu
1928 clean-host: maybe-clean-etc
1929 clean-host: maybe-clean-fastjar
1930 clean-host: maybe-clean-fixincludes
1931 clean-host: maybe-clean-flex
1932 clean-host: maybe-clean-gas
1933 clean-host: maybe-clean-gcc
1934 clean-host: maybe-clean-gmp
1935 clean-host: maybe-clean-mpfr
1936 clean-host: maybe-clean-mpc
1937 clean-host: maybe-clean-isl
1938 clean-host: maybe-clean-cloog
1939 clean-host: maybe-clean-libelf
1940 clean-host: maybe-clean-gold
1941 clean-host: maybe-clean-gprof
1942 clean-host: maybe-clean-intl
1943 clean-host: maybe-clean-tcl
1944 clean-host: maybe-clean-itcl
1945 clean-host: maybe-clean-ld
1946 clean-host: maybe-clean-libbacktrace
1947 clean-host: maybe-clean-libcpp
1948 clean-host: maybe-clean-libdecnumber
1949 clean-host: maybe-clean-libgui
1950 clean-host: maybe-clean-libiberty
1951 clean-host: maybe-clean-libiconv
1952 clean-host: maybe-clean-m4
1953 clean-host: maybe-clean-readline
1954 clean-host: maybe-clean-sid
1955 clean-host: maybe-clean-sim
1956 clean-host: maybe-clean-texinfo
1957 clean-host: maybe-clean-zlib
1958 clean-host: maybe-clean-gdb
1959 clean-host: maybe-clean-expect
1960 clean-host: maybe-clean-guile
1961 clean-host: maybe-clean-tk
1962 clean-host: maybe-clean-libtermcap
1963 clean-host: maybe-clean-utils
1964 clean-host: maybe-clean-gnattools
1965 clean-host: maybe-clean-lto-plugin
1967 .PHONY: clean-target
1969 clean-target: maybe-clean-target-libstdc++-v3
1970 clean-target: maybe-clean-target-libmudflap
1971 clean-target: maybe-clean-target-libssp
1972 clean-target: maybe-clean-target-newlib
1973 clean-target: maybe-clean-target-libgcc
1974 clean-target: maybe-clean-target-libbacktrace
1975 clean-target: maybe-clean-target-libquadmath
1976 clean-target: maybe-clean-target-libgfortran
1977 clean-target: maybe-clean-target-libobjc
1978 clean-target: maybe-clean-target-libgo
1979 clean-target: maybe-clean-target-libtermcap
1980 clean-target: maybe-clean-target-winsup
1981 clean-target: maybe-clean-target-libgloss
1982 clean-target: maybe-clean-target-libffi
1983 clean-target: maybe-clean-target-libjava
1984 clean-target: maybe-clean-target-zlib
1985 clean-target: maybe-clean-target-boehm-gc
1986 clean-target: maybe-clean-target-rda
1987 clean-target: maybe-clean-target-libada
1988 clean-target: maybe-clean-target-libgomp
1989 clean-target: maybe-clean-target-libitm
1990 clean-target: maybe-clean-target-libatomic
1992 .PHONY: do-distclean
1994 @: $(MAKE); $(unstage)
1995 @r=`${PWD_COMMAND}`; export r; \
1996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1997 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2001 .PHONY: distclean-host
2003 distclean-host: maybe-distclean-bfd
2004 distclean-host: maybe-distclean-opcodes
2005 distclean-host: maybe-distclean-binutils
2006 distclean-host: maybe-distclean-bison
2007 distclean-host: maybe-distclean-cgen
2008 distclean-host: maybe-distclean-dejagnu
2009 distclean-host: maybe-distclean-etc
2010 distclean-host: maybe-distclean-fastjar
2011 distclean-host: maybe-distclean-fixincludes
2012 distclean-host: maybe-distclean-flex
2013 distclean-host: maybe-distclean-gas
2014 distclean-host: maybe-distclean-gcc
2015 distclean-host: maybe-distclean-gmp
2016 distclean-host: maybe-distclean-mpfr
2017 distclean-host: maybe-distclean-mpc
2018 distclean-host: maybe-distclean-isl
2019 distclean-host: maybe-distclean-cloog
2020 distclean-host: maybe-distclean-libelf
2021 distclean-host: maybe-distclean-gold
2022 distclean-host: maybe-distclean-gprof
2023 distclean-host: maybe-distclean-intl
2024 distclean-host: maybe-distclean-tcl
2025 distclean-host: maybe-distclean-itcl
2026 distclean-host: maybe-distclean-ld
2027 distclean-host: maybe-distclean-libbacktrace
2028 distclean-host: maybe-distclean-libcpp
2029 distclean-host: maybe-distclean-libdecnumber
2030 distclean-host: maybe-distclean-libgui
2031 distclean-host: maybe-distclean-libiberty
2032 distclean-host: maybe-distclean-libiconv
2033 distclean-host: maybe-distclean-m4
2034 distclean-host: maybe-distclean-readline
2035 distclean-host: maybe-distclean-sid
2036 distclean-host: maybe-distclean-sim
2037 distclean-host: maybe-distclean-texinfo
2038 distclean-host: maybe-distclean-zlib
2039 distclean-host: maybe-distclean-gdb
2040 distclean-host: maybe-distclean-expect
2041 distclean-host: maybe-distclean-guile
2042 distclean-host: maybe-distclean-tk
2043 distclean-host: maybe-distclean-libtermcap
2044 distclean-host: maybe-distclean-utils
2045 distclean-host: maybe-distclean-gnattools
2046 distclean-host: maybe-distclean-lto-plugin
2048 .PHONY: distclean-target
2050 distclean-target: maybe-distclean-target-libstdc++-v3
2051 distclean-target: maybe-distclean-target-libmudflap
2052 distclean-target: maybe-distclean-target-libssp
2053 distclean-target: maybe-distclean-target-newlib
2054 distclean-target: maybe-distclean-target-libgcc
2055 distclean-target: maybe-distclean-target-libbacktrace
2056 distclean-target: maybe-distclean-target-libquadmath
2057 distclean-target: maybe-distclean-target-libgfortran
2058 distclean-target: maybe-distclean-target-libobjc
2059 distclean-target: maybe-distclean-target-libgo
2060 distclean-target: maybe-distclean-target-libtermcap
2061 distclean-target: maybe-distclean-target-winsup
2062 distclean-target: maybe-distclean-target-libgloss
2063 distclean-target: maybe-distclean-target-libffi
2064 distclean-target: maybe-distclean-target-libjava
2065 distclean-target: maybe-distclean-target-zlib
2066 distclean-target: maybe-distclean-target-boehm-gc
2067 distclean-target: maybe-distclean-target-rda
2068 distclean-target: maybe-distclean-target-libada
2069 distclean-target: maybe-distclean-target-libgomp
2070 distclean-target: maybe-distclean-target-libitm
2071 distclean-target: maybe-distclean-target-libatomic
2073 .PHONY: do-maintainer-clean
2074 do-maintainer-clean:
2075 @: $(MAKE); $(unstage)
2076 @r=`${PWD_COMMAND}`; export r; \
2077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2078 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2079 maintainer-clean-target
2082 .PHONY: maintainer-clean-host
2084 maintainer-clean-host: maybe-maintainer-clean-bfd
2085 maintainer-clean-host: maybe-maintainer-clean-opcodes
2086 maintainer-clean-host: maybe-maintainer-clean-binutils
2087 maintainer-clean-host: maybe-maintainer-clean-bison
2088 maintainer-clean-host: maybe-maintainer-clean-cgen
2089 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2090 maintainer-clean-host: maybe-maintainer-clean-etc
2091 maintainer-clean-host: maybe-maintainer-clean-fastjar
2092 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2093 maintainer-clean-host: maybe-maintainer-clean-flex
2094 maintainer-clean-host: maybe-maintainer-clean-gas
2095 maintainer-clean-host: maybe-maintainer-clean-gcc
2096 maintainer-clean-host: maybe-maintainer-clean-gmp
2097 maintainer-clean-host: maybe-maintainer-clean-mpfr
2098 maintainer-clean-host: maybe-maintainer-clean-mpc
2099 maintainer-clean-host: maybe-maintainer-clean-isl
2100 maintainer-clean-host: maybe-maintainer-clean-cloog
2101 maintainer-clean-host: maybe-maintainer-clean-libelf
2102 maintainer-clean-host: maybe-maintainer-clean-gold
2103 maintainer-clean-host: maybe-maintainer-clean-gprof
2104 maintainer-clean-host: maybe-maintainer-clean-intl
2105 maintainer-clean-host: maybe-maintainer-clean-tcl
2106 maintainer-clean-host: maybe-maintainer-clean-itcl
2107 maintainer-clean-host: maybe-maintainer-clean-ld
2108 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2109 maintainer-clean-host: maybe-maintainer-clean-libcpp
2110 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2111 maintainer-clean-host: maybe-maintainer-clean-libgui
2112 maintainer-clean-host: maybe-maintainer-clean-libiberty
2113 maintainer-clean-host: maybe-maintainer-clean-libiconv
2114 maintainer-clean-host: maybe-maintainer-clean-m4
2115 maintainer-clean-host: maybe-maintainer-clean-readline
2116 maintainer-clean-host: maybe-maintainer-clean-sid
2117 maintainer-clean-host: maybe-maintainer-clean-sim
2118 maintainer-clean-host: maybe-maintainer-clean-texinfo
2119 maintainer-clean-host: maybe-maintainer-clean-zlib
2120 maintainer-clean-host: maybe-maintainer-clean-gdb
2121 maintainer-clean-host: maybe-maintainer-clean-expect
2122 maintainer-clean-host: maybe-maintainer-clean-guile
2123 maintainer-clean-host: maybe-maintainer-clean-tk
2124 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2125 maintainer-clean-host: maybe-maintainer-clean-utils
2126 maintainer-clean-host: maybe-maintainer-clean-gnattools
2127 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2129 .PHONY: maintainer-clean-target
2131 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2132 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2133 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2134 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2135 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2136 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2137 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2138 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2139 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2140 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2141 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2142 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2143 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2144 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2145 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2146 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2147 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2148 maintainer-clean-target: maybe-maintainer-clean-target-rda
2149 maintainer-clean-target: maybe-maintainer-clean-target-libada
2150 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2151 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2152 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2155 # Here are the targets which correspond to the do-X targets.
2157 .PHONY: info installcheck dvi pdf html
2158 .PHONY: install-info install-pdf install-html
2159 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2160 .PHONY: local-clean local-distclean local-maintainer-clean
2162 installcheck: do-installcheck
2167 # Make sure makeinfo is built before we do a `make info', if we're
2168 # in fact building texinfo.
2169 do-info: maybe-all-texinfo
2171 install-info: do-install-info dir.info
2172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2173 if [ -f dir.info ] ; then \
2174 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2177 install-pdf: do-install-pdf
2179 install-html: do-install-html
2182 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2185 -rm -f Makefile config.status config.cache mh-frag mt-frag
2186 -rm -f maybedep.tmp serdep.tmp
2187 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2188 rm -rf $(TARGET_SUBDIR); \
2190 -rm -rf $(BUILD_SUBDIR)
2191 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2192 rm -rf $(HOST_SUBDIR); \
2194 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2195 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2196 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2197 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2198 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2199 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2201 local-maintainer-clean:
2202 @echo "This command is intended for maintainers to use;"
2203 @echo "it deletes files that may require special tools to rebuild."
2205 clean: do-clean local-clean
2206 mostlyclean: do-mostlyclean local-clean
2207 distclean: do-distclean local-clean local-distclean
2208 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2209 maintainer-clean: local-distclean
2210 realclean: maintainer-clean
2214 .PHONY: check do-check
2217 # Only include modules actually being configured and built.
2221 maybe-check-opcodes \
2222 maybe-check-binutils \
2225 maybe-check-dejagnu \
2227 maybe-check-fastjar \
2228 maybe-check-fixincludes \
2237 maybe-check-libelf \
2244 maybe-check-libbacktrace \
2245 maybe-check-libcpp \
2246 maybe-check-libdecnumber \
2247 maybe-check-libgui \
2248 maybe-check-libiberty \
2249 maybe-check-libiconv \
2251 maybe-check-readline \
2254 maybe-check-texinfo \
2257 maybe-check-expect \
2260 maybe-check-libtermcap \
2262 maybe-check-gnattools \
2263 maybe-check-lto-plugin
2265 .PHONY: check-target
2267 maybe-check-target-libstdc++-v3 \
2268 maybe-check-target-libmudflap \
2269 maybe-check-target-libssp \
2270 maybe-check-target-newlib \
2271 maybe-check-target-libgcc \
2272 maybe-check-target-libbacktrace \
2273 maybe-check-target-libquadmath \
2274 maybe-check-target-libgfortran \
2275 maybe-check-target-libobjc \
2276 maybe-check-target-libgo \
2277 maybe-check-target-libtermcap \
2278 maybe-check-target-winsup \
2279 maybe-check-target-libgloss \
2280 maybe-check-target-libffi \
2281 maybe-check-target-libjava \
2282 maybe-check-target-zlib \
2283 maybe-check-target-boehm-gc \
2284 maybe-check-target-rda \
2285 maybe-check-target-libada \
2286 maybe-check-target-libgomp \
2287 maybe-check-target-libitm \
2288 maybe-check-target-libatomic
2291 @: $(MAKE); $(unstage)
2292 @r=`${PWD_COMMAND}`; export r; \
2293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2294 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2296 # Automated reporting of test results.
2298 warning.log: build.log
2299 $(srcdir)/contrib/warn_summary build.log > $@
2302 if test x'$(BOOT_CFLAGS)' != x''; then \
2303 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2305 $(srcdir)/contrib/test_summary -t >$@
2307 echo If you really want to send e-mail, run ./$@ now
2309 mail-report-with-warnings.log: warning.log
2310 if test x'$(BOOT_CFLAGS)' != x''; then \
2311 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2313 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2315 echo If you really want to send e-mail, run ./$@ now
2317 # Installation targets.
2319 .PHONY: install uninstall
2321 @: $(MAKE); $(unstage)
2322 @r=`${PWD_COMMAND}`; export r; \
2323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2324 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2326 .PHONY: install-host-nogcc
2327 install-host-nogcc: \
2329 maybe-install-opcodes \
2330 maybe-install-binutils \
2331 maybe-install-bison \
2332 maybe-install-cgen \
2333 maybe-install-dejagnu \
2335 maybe-install-fastjar \
2336 maybe-install-fixincludes \
2337 maybe-install-flex \
2340 maybe-install-mpfr \
2343 maybe-install-cloog \
2344 maybe-install-libelf \
2345 maybe-install-gold \
2346 maybe-install-gprof \
2347 maybe-install-intl \
2349 maybe-install-itcl \
2351 maybe-install-libbacktrace \
2352 maybe-install-libcpp \
2353 maybe-install-libdecnumber \
2354 maybe-install-libgui \
2355 maybe-install-libiberty \
2356 maybe-install-libiconv \
2358 maybe-install-readline \
2361 maybe-install-texinfo \
2362 maybe-install-zlib \
2364 maybe-install-expect \
2365 maybe-install-guile \
2367 maybe-install-libtermcap \
2368 maybe-install-utils \
2369 maybe-install-gnattools \
2370 maybe-install-lto-plugin
2372 .PHONY: install-host
2375 maybe-install-opcodes \
2376 maybe-install-binutils \
2377 maybe-install-bison \
2378 maybe-install-cgen \
2379 maybe-install-dejagnu \
2381 maybe-install-fastjar \
2382 maybe-install-fixincludes \
2383 maybe-install-flex \
2387 maybe-install-mpfr \
2390 maybe-install-cloog \
2391 maybe-install-libelf \
2392 maybe-install-gold \
2393 maybe-install-gprof \
2394 maybe-install-intl \
2396 maybe-install-itcl \
2398 maybe-install-libbacktrace \
2399 maybe-install-libcpp \
2400 maybe-install-libdecnumber \
2401 maybe-install-libgui \
2402 maybe-install-libiberty \
2403 maybe-install-libiconv \
2405 maybe-install-readline \
2408 maybe-install-texinfo \
2409 maybe-install-zlib \
2411 maybe-install-expect \
2412 maybe-install-guile \
2414 maybe-install-libtermcap \
2415 maybe-install-utils \
2416 maybe-install-gnattools \
2417 maybe-install-lto-plugin
2419 .PHONY: install-target
2421 maybe-install-target-libstdc++-v3 \
2422 maybe-install-target-libmudflap \
2423 maybe-install-target-libssp \
2424 maybe-install-target-newlib \
2425 maybe-install-target-libgcc \
2426 maybe-install-target-libbacktrace \
2427 maybe-install-target-libquadmath \
2428 maybe-install-target-libgfortran \
2429 maybe-install-target-libobjc \
2430 maybe-install-target-libgo \
2431 maybe-install-target-libtermcap \
2432 maybe-install-target-winsup \
2433 maybe-install-target-libgloss \
2434 maybe-install-target-libffi \
2435 maybe-install-target-libjava \
2436 maybe-install-target-zlib \
2437 maybe-install-target-boehm-gc \
2438 maybe-install-target-rda \
2439 maybe-install-target-libada \
2440 maybe-install-target-libgomp \
2441 maybe-install-target-libitm \
2442 maybe-install-target-libatomic
2445 @echo "the uninstall target is not supported in this tree"
2448 install.all: install-no-fixedincludes
2449 @if [ -f ./gcc/Makefile ] ; then \
2450 r=`${PWD_COMMAND}` ; export r ; \
2451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2454 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2459 # install-no-fixedincludes is used to allow the elaboration of binary packages
2460 # suitable for distribution, where we cannot include the fixed system header
2462 .PHONY: install-no-fixedincludes
2463 install-no-fixedincludes: installdirs install-host-nogcc \
2464 install-target gcc-install-no-fixedincludes
2466 .PHONY: install-strip
2468 @: $(MAKE); $(unstage)
2469 @r=`${PWD_COMMAND}`; export r; \
2470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2471 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2473 .PHONY: install-strip-host
2474 install-strip-host: \
2475 maybe-install-strip-bfd \
2476 maybe-install-strip-opcodes \
2477 maybe-install-strip-binutils \
2478 maybe-install-strip-bison \
2479 maybe-install-strip-cgen \
2480 maybe-install-strip-dejagnu \
2481 maybe-install-strip-etc \
2482 maybe-install-strip-fastjar \
2483 maybe-install-strip-fixincludes \
2484 maybe-install-strip-flex \
2485 maybe-install-strip-gas \
2486 maybe-install-strip-gcc \
2487 maybe-install-strip-gmp \
2488 maybe-install-strip-mpfr \
2489 maybe-install-strip-mpc \
2490 maybe-install-strip-isl \
2491 maybe-install-strip-cloog \
2492 maybe-install-strip-libelf \
2493 maybe-install-strip-gold \
2494 maybe-install-strip-gprof \
2495 maybe-install-strip-intl \
2496 maybe-install-strip-tcl \
2497 maybe-install-strip-itcl \
2498 maybe-install-strip-ld \
2499 maybe-install-strip-libbacktrace \
2500 maybe-install-strip-libcpp \
2501 maybe-install-strip-libdecnumber \
2502 maybe-install-strip-libgui \
2503 maybe-install-strip-libiberty \
2504 maybe-install-strip-libiconv \
2505 maybe-install-strip-m4 \
2506 maybe-install-strip-readline \
2507 maybe-install-strip-sid \
2508 maybe-install-strip-sim \
2509 maybe-install-strip-texinfo \
2510 maybe-install-strip-zlib \
2511 maybe-install-strip-gdb \
2512 maybe-install-strip-expect \
2513 maybe-install-strip-guile \
2514 maybe-install-strip-tk \
2515 maybe-install-strip-libtermcap \
2516 maybe-install-strip-utils \
2517 maybe-install-strip-gnattools \
2518 maybe-install-strip-lto-plugin
2520 .PHONY: install-strip-target
2521 install-strip-target: \
2522 maybe-install-strip-target-libstdc++-v3 \
2523 maybe-install-strip-target-libmudflap \
2524 maybe-install-strip-target-libssp \
2525 maybe-install-strip-target-newlib \
2526 maybe-install-strip-target-libgcc \
2527 maybe-install-strip-target-libbacktrace \
2528 maybe-install-strip-target-libquadmath \
2529 maybe-install-strip-target-libgfortran \
2530 maybe-install-strip-target-libobjc \
2531 maybe-install-strip-target-libgo \
2532 maybe-install-strip-target-libtermcap \
2533 maybe-install-strip-target-winsup \
2534 maybe-install-strip-target-libgloss \
2535 maybe-install-strip-target-libffi \
2536 maybe-install-strip-target-libjava \
2537 maybe-install-strip-target-zlib \
2538 maybe-install-strip-target-boehm-gc \
2539 maybe-install-strip-target-rda \
2540 maybe-install-strip-target-libada \
2541 maybe-install-strip-target-libgomp \
2542 maybe-install-strip-target-libitm \
2543 maybe-install-strip-target-libatomic
2546 ### other supporting targets
2549 $(DESTDIR)$(prefix) \
2550 $(DESTDIR)$(exec_prefix)
2552 installdirs: mkinstalldirs
2553 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2555 dir.info: do-install-info
2556 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2557 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2558 mv -f dir.info.new dir.info ; \
2563 @echo "Building a full distribution of this tree isn't done"
2564 @echo "via 'make dist'. Check out the etc/ subdirectory"
2568 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2569 # ability to use several tags files at once, so there is probably no need
2570 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2571 # (if we felt like it) have this Makefile write a piece of elisp which
2572 # the user could load to tell emacs19 where all the TAGS files we just
2576 # ------------------------------------
2577 # Macros for configure and all targets
2578 # ------------------------------------
2584 # --------------------------------------
2585 # Modules which run on the build machine
2586 # --------------------------------------
2589 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2590 maybe-configure-build-libiberty:
2592 configure-build-libiberty: stage_current
2593 @endif gcc-bootstrap
2595 maybe-configure-build-libiberty: configure-build-libiberty
2596 configure-build-libiberty:
2597 @: $(MAKE); $(unstage)
2598 @r=`${PWD_COMMAND}`; export r; \
2599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2600 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2601 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2603 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2604 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2607 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2610 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2611 libsrcdir="$$s/libiberty"; \
2612 rm -f no-such-file || : ; \
2613 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2614 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2615 --target=${target_alias} $${srcdiroption} \
2617 @endif build-libiberty
2623 .PHONY: all-build-libiberty maybe-all-build-libiberty
2624 maybe-all-build-libiberty:
2626 all-build-libiberty: stage_current
2627 @endif gcc-bootstrap
2629 TARGET-build-libiberty=all
2630 maybe-all-build-libiberty: all-build-libiberty
2631 all-build-libiberty: configure-build-libiberty
2632 @: $(MAKE); $(unstage)
2633 @r=`${PWD_COMMAND}`; export r; \
2634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2636 (cd $(BUILD_SUBDIR)/libiberty && \
2637 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2638 $(TARGET-build-libiberty))
2639 @endif build-libiberty
2645 .PHONY: configure-build-bison maybe-configure-build-bison
2646 maybe-configure-build-bison:
2648 configure-build-bison: stage_current
2649 @endif gcc-bootstrap
2651 maybe-configure-build-bison: configure-build-bison
2652 configure-build-bison:
2653 @: $(MAKE); $(unstage)
2654 @r=`${PWD_COMMAND}`; export r; \
2655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2656 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2657 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2659 echo Configuring in $(BUILD_SUBDIR)/bison; \
2660 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2663 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2666 srcdiroption="--srcdir=$${topdir}/bison"; \
2667 libsrcdir="$$s/bison"; \
2668 rm -f no-such-file || : ; \
2669 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2670 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2671 --target=${target_alias} $${srcdiroption} \
2679 .PHONY: all-build-bison maybe-all-build-bison
2680 maybe-all-build-bison:
2682 all-build-bison: stage_current
2683 @endif gcc-bootstrap
2685 TARGET-build-bison=all
2686 maybe-all-build-bison: all-build-bison
2687 all-build-bison: configure-build-bison
2688 @: $(MAKE); $(unstage)
2689 @r=`${PWD_COMMAND}`; export r; \
2690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2692 (cd $(BUILD_SUBDIR)/bison && \
2693 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2694 $(TARGET-build-bison))
2701 .PHONY: configure-build-flex maybe-configure-build-flex
2702 maybe-configure-build-flex:
2704 configure-build-flex: stage_current
2705 @endif gcc-bootstrap
2707 maybe-configure-build-flex: configure-build-flex
2708 configure-build-flex:
2709 @: $(MAKE); $(unstage)
2710 @r=`${PWD_COMMAND}`; export r; \
2711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2712 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2713 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2715 echo Configuring in $(BUILD_SUBDIR)/flex; \
2716 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2719 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2722 srcdiroption="--srcdir=$${topdir}/flex"; \
2723 libsrcdir="$$s/flex"; \
2724 rm -f no-such-file || : ; \
2725 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2726 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2727 --target=${target_alias} $${srcdiroption} \
2735 .PHONY: all-build-flex maybe-all-build-flex
2736 maybe-all-build-flex:
2738 all-build-flex: stage_current
2739 @endif gcc-bootstrap
2741 TARGET-build-flex=all
2742 maybe-all-build-flex: all-build-flex
2743 all-build-flex: configure-build-flex
2744 @: $(MAKE); $(unstage)
2745 @r=`${PWD_COMMAND}`; export r; \
2746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2748 (cd $(BUILD_SUBDIR)/flex && \
2749 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2750 $(TARGET-build-flex))
2757 .PHONY: configure-build-m4 maybe-configure-build-m4
2758 maybe-configure-build-m4:
2760 configure-build-m4: stage_current
2761 @endif gcc-bootstrap
2763 maybe-configure-build-m4: configure-build-m4
2765 @: $(MAKE); $(unstage)
2766 @r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2769 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2771 echo Configuring in $(BUILD_SUBDIR)/m4; \
2772 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2775 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2778 srcdiroption="--srcdir=$${topdir}/m4"; \
2779 libsrcdir="$$s/m4"; \
2780 rm -f no-such-file || : ; \
2781 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2782 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2783 --target=${target_alias} $${srcdiroption} \
2791 .PHONY: all-build-m4 maybe-all-build-m4
2794 all-build-m4: stage_current
2795 @endif gcc-bootstrap
2798 maybe-all-build-m4: all-build-m4
2799 all-build-m4: configure-build-m4
2800 @: $(MAKE); $(unstage)
2801 @r=`${PWD_COMMAND}`; export r; \
2802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2804 (cd $(BUILD_SUBDIR)/m4 && \
2805 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2813 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2814 maybe-configure-build-texinfo:
2816 configure-build-texinfo: stage_current
2817 @endif gcc-bootstrap
2819 maybe-configure-build-texinfo: configure-build-texinfo
2820 configure-build-texinfo:
2821 @: $(MAKE); $(unstage)
2822 @r=`${PWD_COMMAND}`; export r; \
2823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2824 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2825 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2827 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2828 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2831 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2834 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2835 libsrcdir="$$s/texinfo"; \
2836 rm -f no-such-file || : ; \
2837 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2838 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2839 --target=${target_alias} $${srcdiroption} \
2841 @endif build-texinfo
2847 .PHONY: all-build-texinfo maybe-all-build-texinfo
2848 maybe-all-build-texinfo:
2850 all-build-texinfo: stage_current
2851 @endif gcc-bootstrap
2853 TARGET-build-texinfo=all
2854 maybe-all-build-texinfo: all-build-texinfo
2855 all-build-texinfo: configure-build-texinfo
2856 @: $(MAKE); $(unstage)
2857 @r=`${PWD_COMMAND}`; export r; \
2858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2860 (cd $(BUILD_SUBDIR)/texinfo && \
2861 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2862 $(TARGET-build-texinfo))
2863 @endif build-texinfo
2869 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2870 maybe-configure-build-fixincludes:
2872 configure-build-fixincludes: stage_current
2873 @endif gcc-bootstrap
2874 @if build-fixincludes
2875 maybe-configure-build-fixincludes: configure-build-fixincludes
2876 configure-build-fixincludes:
2877 @: $(MAKE); $(unstage)
2878 @r=`${PWD_COMMAND}`; export r; \
2879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2880 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2881 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2883 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2884 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2887 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2890 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2891 libsrcdir="$$s/fixincludes"; \
2892 rm -f no-such-file || : ; \
2893 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2894 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2895 --target=${target_alias} $${srcdiroption} \
2897 @endif build-fixincludes
2903 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2904 maybe-all-build-fixincludes:
2906 all-build-fixincludes: stage_current
2907 @endif gcc-bootstrap
2908 @if build-fixincludes
2909 TARGET-build-fixincludes=all
2910 maybe-all-build-fixincludes: all-build-fixincludes
2911 all-build-fixincludes: configure-build-fixincludes
2912 @: $(MAKE); $(unstage)
2913 @r=`${PWD_COMMAND}`; export r; \
2914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2916 (cd $(BUILD_SUBDIR)/fixincludes && \
2917 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2918 $(TARGET-build-fixincludes))
2919 @endif build-fixincludes
2925 # --------------------------------------
2926 # Modules which run on the host machine
2927 # --------------------------------------
2930 .PHONY: configure-bfd maybe-configure-bfd
2931 maybe-configure-bfd:
2933 configure-bfd: stage_current
2934 @endif gcc-bootstrap
2936 maybe-configure-bfd: configure-bfd
2938 @r=`${PWD_COMMAND}`; export r; \
2939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2940 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2943 echo Configuring in $(HOST_SUBDIR)/bfd; \
2944 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
2946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2947 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2950 srcdiroption="--srcdir=$${topdir}/bfd"; \
2951 libsrcdir="$$s/bfd"; \
2952 $(SHELL) $${libsrcdir}/configure \
2953 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2954 --target=${target_alias} $${srcdiroption} \
2960 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
2961 maybe-configure-stage1-bfd:
2963 maybe-configure-stage1-bfd: configure-stage1-bfd
2964 configure-stage1-bfd:
2965 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
2966 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2967 @r=`${PWD_COMMAND}`; export r; \
2968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2969 TFLAGS="$(STAGE1_TFLAGS)"; \
2970 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
2972 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
2973 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
2974 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
2975 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
2976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
2977 cd $(HOST_SUBDIR)/bfd || exit 1; \
2979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2980 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
2981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2983 srcdiroption="--srcdir=$${topdir}/bfd"; \
2984 libsrcdir="$$s/bfd"; \
2985 $(SHELL) $${libsrcdir}/configure \
2986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2987 --target=${target_alias} $${srcdiroption} \
2988 $(STAGE1_CONFIGURE_FLAGS)
2989 @endif bfd-bootstrap
2991 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
2992 maybe-configure-stage2-bfd:
2994 maybe-configure-stage2-bfd: configure-stage2-bfd
2995 configure-stage2-bfd:
2996 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
2997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
2998 @r=`${PWD_COMMAND}`; export r; \
2999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3000 TFLAGS="$(STAGE2_TFLAGS)"; \
3001 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3003 $(POSTSTAGE1_HOST_EXPORTS) \
3004 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3005 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3006 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3007 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3009 cd $(HOST_SUBDIR)/bfd || exit 1; \
3011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3012 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3015 srcdiroption="--srcdir=$${topdir}/bfd"; \
3016 libsrcdir="$$s/bfd"; \
3017 $(SHELL) $${libsrcdir}/configure \
3018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3019 --target=${target_alias} $${srcdiroption} \
3020 --with-build-libsubdir=$(HOST_SUBDIR) \
3021 $(STAGE2_CONFIGURE_FLAGS)
3022 @endif bfd-bootstrap
3024 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3025 maybe-configure-stage3-bfd:
3027 maybe-configure-stage3-bfd: configure-stage3-bfd
3028 configure-stage3-bfd:
3029 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3030 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3031 @r=`${PWD_COMMAND}`; export r; \
3032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3033 TFLAGS="$(STAGE3_TFLAGS)"; \
3034 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3036 $(POSTSTAGE1_HOST_EXPORTS) \
3037 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3038 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3039 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3040 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3042 cd $(HOST_SUBDIR)/bfd || exit 1; \
3044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3045 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3048 srcdiroption="--srcdir=$${topdir}/bfd"; \
3049 libsrcdir="$$s/bfd"; \
3050 $(SHELL) $${libsrcdir}/configure \
3051 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3052 --target=${target_alias} $${srcdiroption} \
3053 --with-build-libsubdir=$(HOST_SUBDIR) \
3054 $(STAGE3_CONFIGURE_FLAGS)
3055 @endif bfd-bootstrap
3057 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3058 maybe-configure-stage4-bfd:
3060 maybe-configure-stage4-bfd: configure-stage4-bfd
3061 configure-stage4-bfd:
3062 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3064 @r=`${PWD_COMMAND}`; export r; \
3065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3066 TFLAGS="$(STAGE4_TFLAGS)"; \
3067 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3069 $(POSTSTAGE1_HOST_EXPORTS) \
3070 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3071 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3072 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3073 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3075 cd $(HOST_SUBDIR)/bfd || exit 1; \
3077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3078 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3081 srcdiroption="--srcdir=$${topdir}/bfd"; \
3082 libsrcdir="$$s/bfd"; \
3083 $(SHELL) $${libsrcdir}/configure \
3084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3085 --target=${target_alias} $${srcdiroption} \
3086 --with-build-libsubdir=$(HOST_SUBDIR) \
3087 $(STAGE4_CONFIGURE_FLAGS)
3088 @endif bfd-bootstrap
3090 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3091 maybe-configure-stageprofile-bfd:
3093 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3094 configure-stageprofile-bfd:
3095 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3097 @r=`${PWD_COMMAND}`; export r; \
3098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3099 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3100 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3102 $(POSTSTAGE1_HOST_EXPORTS) \
3103 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3104 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3105 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3106 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3108 cd $(HOST_SUBDIR)/bfd || exit 1; \
3110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3111 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3114 srcdiroption="--srcdir=$${topdir}/bfd"; \
3115 libsrcdir="$$s/bfd"; \
3116 $(SHELL) $${libsrcdir}/configure \
3117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3118 --target=${target_alias} $${srcdiroption} \
3119 --with-build-libsubdir=$(HOST_SUBDIR) \
3120 $(STAGEprofile_CONFIGURE_FLAGS)
3121 @endif bfd-bootstrap
3123 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3124 maybe-configure-stagefeedback-bfd:
3126 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3127 configure-stagefeedback-bfd:
3128 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3130 @r=`${PWD_COMMAND}`; export r; \
3131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3132 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3133 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3135 $(POSTSTAGE1_HOST_EXPORTS) \
3136 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3137 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3138 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3139 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3141 cd $(HOST_SUBDIR)/bfd || exit 1; \
3143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3144 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3147 srcdiroption="--srcdir=$${topdir}/bfd"; \
3148 libsrcdir="$$s/bfd"; \
3149 $(SHELL) $${libsrcdir}/configure \
3150 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3151 --target=${target_alias} $${srcdiroption} \
3152 --with-build-libsubdir=$(HOST_SUBDIR) \
3153 $(STAGEfeedback_CONFIGURE_FLAGS)
3154 @endif bfd-bootstrap
3160 .PHONY: all-bfd maybe-all-bfd
3163 all-bfd: stage_current
3164 @endif gcc-bootstrap
3167 maybe-all-bfd: all-bfd
3168 all-bfd: configure-bfd
3169 @r=`${PWD_COMMAND}`; export r; \
3170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3172 (cd $(HOST_SUBDIR)/bfd && \
3173 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3179 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3180 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3181 maybe-all-stage1-bfd:
3182 maybe-clean-stage1-bfd:
3184 maybe-all-stage1-bfd: all-stage1-bfd
3185 all-stage1: all-stage1-bfd
3186 TARGET-stage1-bfd = $(TARGET-bfd)
3187 all-stage1-bfd: configure-stage1-bfd
3188 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3189 @r=`${PWD_COMMAND}`; export r; \
3190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3191 TFLAGS="$(STAGE1_TFLAGS)"; \
3193 cd $(HOST_SUBDIR)/bfd && \
3194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3195 CFLAGS="$(STAGE1_CFLAGS)" \
3196 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3197 LIBCFLAGS="$(LIBCFLAGS)" \
3198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3201 $(EXTRA_HOST_FLAGS) \
3202 $(STAGE1_FLAGS_TO_PASS) \
3203 TFLAGS="$(STAGE1_TFLAGS)" \
3204 $(TARGET-stage1-bfd)
3206 maybe-clean-stage1-bfd: clean-stage1-bfd
3207 clean-stage1: clean-stage1-bfd
3209 @if [ $(current_stage) = stage1 ]; then \
3210 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3212 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3213 $(MAKE) stage1-start; \
3215 cd $(HOST_SUBDIR)/bfd && \
3216 $(MAKE) $(EXTRA_HOST_FLAGS) \
3217 $(STAGE1_FLAGS_TO_PASS) clean
3218 @endif bfd-bootstrap
3221 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3222 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3223 maybe-all-stage2-bfd:
3224 maybe-clean-stage2-bfd:
3226 maybe-all-stage2-bfd: all-stage2-bfd
3227 all-stage2: all-stage2-bfd
3228 TARGET-stage2-bfd = $(TARGET-bfd)
3229 all-stage2-bfd: configure-stage2-bfd
3230 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3231 @r=`${PWD_COMMAND}`; export r; \
3232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3233 TFLAGS="$(STAGE2_TFLAGS)"; \
3235 $(POSTSTAGE1_HOST_EXPORTS) \
3236 cd $(HOST_SUBDIR)/bfd && \
3237 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3238 CFLAGS="$(STAGE2_CFLAGS)" \
3239 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3240 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3244 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3245 TFLAGS="$(STAGE2_TFLAGS)" \
3246 $(TARGET-stage2-bfd)
3248 maybe-clean-stage2-bfd: clean-stage2-bfd
3249 clean-stage2: clean-stage2-bfd
3251 @if [ $(current_stage) = stage2 ]; then \
3252 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3254 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3255 $(MAKE) stage2-start; \
3257 cd $(HOST_SUBDIR)/bfd && \
3258 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3259 @endif bfd-bootstrap
3262 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3263 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3264 maybe-all-stage3-bfd:
3265 maybe-clean-stage3-bfd:
3267 maybe-all-stage3-bfd: all-stage3-bfd
3268 all-stage3: all-stage3-bfd
3269 TARGET-stage3-bfd = $(TARGET-bfd)
3270 all-stage3-bfd: configure-stage3-bfd
3271 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3272 @r=`${PWD_COMMAND}`; export r; \
3273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3274 TFLAGS="$(STAGE3_TFLAGS)"; \
3276 $(POSTSTAGE1_HOST_EXPORTS) \
3277 cd $(HOST_SUBDIR)/bfd && \
3278 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3279 CFLAGS="$(STAGE3_CFLAGS)" \
3280 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3281 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3282 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3283 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3284 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3285 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3286 TFLAGS="$(STAGE3_TFLAGS)" \
3287 $(TARGET-stage3-bfd)
3289 maybe-clean-stage3-bfd: clean-stage3-bfd
3290 clean-stage3: clean-stage3-bfd
3292 @if [ $(current_stage) = stage3 ]; then \
3293 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3295 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3296 $(MAKE) stage3-start; \
3298 cd $(HOST_SUBDIR)/bfd && \
3299 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3300 @endif bfd-bootstrap
3303 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3304 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3305 maybe-all-stage4-bfd:
3306 maybe-clean-stage4-bfd:
3308 maybe-all-stage4-bfd: all-stage4-bfd
3309 all-stage4: all-stage4-bfd
3310 TARGET-stage4-bfd = $(TARGET-bfd)
3311 all-stage4-bfd: configure-stage4-bfd
3312 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3313 @r=`${PWD_COMMAND}`; export r; \
3314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3315 TFLAGS="$(STAGE4_TFLAGS)"; \
3317 $(POSTSTAGE1_HOST_EXPORTS) \
3318 cd $(HOST_SUBDIR)/bfd && \
3319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3320 CFLAGS="$(STAGE4_CFLAGS)" \
3321 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3322 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3326 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3327 TFLAGS="$(STAGE4_TFLAGS)" \
3328 $(TARGET-stage4-bfd)
3330 maybe-clean-stage4-bfd: clean-stage4-bfd
3331 clean-stage4: clean-stage4-bfd
3333 @if [ $(current_stage) = stage4 ]; then \
3334 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3336 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3337 $(MAKE) stage4-start; \
3339 cd $(HOST_SUBDIR)/bfd && \
3340 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3341 @endif bfd-bootstrap
3344 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3345 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3346 maybe-all-stageprofile-bfd:
3347 maybe-clean-stageprofile-bfd:
3349 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3350 all-stageprofile: all-stageprofile-bfd
3351 TARGET-stageprofile-bfd = $(TARGET-bfd)
3352 all-stageprofile-bfd: configure-stageprofile-bfd
3353 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3354 @r=`${PWD_COMMAND}`; export r; \
3355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3356 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3358 $(POSTSTAGE1_HOST_EXPORTS) \
3359 cd $(HOST_SUBDIR)/bfd && \
3360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3361 CFLAGS="$(STAGEprofile_CFLAGS)" \
3362 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3363 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3364 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3365 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3366 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3367 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3368 TFLAGS="$(STAGEprofile_TFLAGS)" \
3369 $(TARGET-stageprofile-bfd)
3371 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3372 clean-stageprofile: clean-stageprofile-bfd
3373 clean-stageprofile-bfd:
3374 @if [ $(current_stage) = stageprofile ]; then \
3375 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3377 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3378 $(MAKE) stageprofile-start; \
3380 cd $(HOST_SUBDIR)/bfd && \
3381 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3382 @endif bfd-bootstrap
3385 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3386 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3387 maybe-all-stagefeedback-bfd:
3388 maybe-clean-stagefeedback-bfd:
3390 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3391 all-stagefeedback: all-stagefeedback-bfd
3392 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3393 all-stagefeedback-bfd: configure-stagefeedback-bfd
3394 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3395 @r=`${PWD_COMMAND}`; export r; \
3396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3397 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3399 $(POSTSTAGE1_HOST_EXPORTS) \
3400 cd $(HOST_SUBDIR)/bfd && \
3401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3402 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3403 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3404 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3405 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3406 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3407 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3408 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3409 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3410 $(TARGET-stagefeedback-bfd)
3412 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3413 clean-stagefeedback: clean-stagefeedback-bfd
3414 clean-stagefeedback-bfd:
3415 @if [ $(current_stage) = stagefeedback ]; then \
3416 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3418 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3419 $(MAKE) stagefeedback-start; \
3421 cd $(HOST_SUBDIR)/bfd && \
3422 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3423 @endif bfd-bootstrap
3429 .PHONY: check-bfd maybe-check-bfd
3432 maybe-check-bfd: check-bfd
3435 @: $(MAKE); $(unstage)
3436 @r=`${PWD_COMMAND}`; export r; \
3437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3439 (cd $(HOST_SUBDIR)/bfd && \
3440 $(MAKE) $(FLAGS_TO_PASS) check)
3444 .PHONY: install-bfd maybe-install-bfd
3447 maybe-install-bfd: install-bfd
3449 install-bfd: installdirs
3450 @: $(MAKE); $(unstage)
3451 @r=`${PWD_COMMAND}`; export r; \
3452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3454 (cd $(HOST_SUBDIR)/bfd && \
3455 $(MAKE) $(FLAGS_TO_PASS) install)
3459 .PHONY: install-strip-bfd maybe-install-strip-bfd
3460 maybe-install-strip-bfd:
3462 maybe-install-strip-bfd: install-strip-bfd
3464 install-strip-bfd: installdirs
3465 @: $(MAKE); $(unstage)
3466 @r=`${PWD_COMMAND}`; export r; \
3467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3469 (cd $(HOST_SUBDIR)/bfd && \
3470 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3474 # Other targets (info, dvi, pdf, etc.)
3476 .PHONY: maybe-info-bfd info-bfd
3479 maybe-info-bfd: info-bfd
3483 @[ -f ./bfd/Makefile ] || exit 0; \
3484 r=`${PWD_COMMAND}`; export r; \
3485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3487 for flag in $(EXTRA_HOST_FLAGS) ; do \
3488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3490 echo "Doing info in bfd" ; \
3491 (cd $(HOST_SUBDIR)/bfd && \
3492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3494 "RANLIB=$${RANLIB}" \
3495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3501 .PHONY: maybe-dvi-bfd dvi-bfd
3504 maybe-dvi-bfd: dvi-bfd
3508 @[ -f ./bfd/Makefile ] || exit 0; \
3509 r=`${PWD_COMMAND}`; export r; \
3510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3512 for flag in $(EXTRA_HOST_FLAGS) ; do \
3513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3515 echo "Doing dvi in bfd" ; \
3516 (cd $(HOST_SUBDIR)/bfd && \
3517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3519 "RANLIB=$${RANLIB}" \
3520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3526 .PHONY: maybe-pdf-bfd pdf-bfd
3529 maybe-pdf-bfd: pdf-bfd
3533 @[ -f ./bfd/Makefile ] || exit 0; \
3534 r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3537 for flag in $(EXTRA_HOST_FLAGS) ; do \
3538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3540 echo "Doing pdf in bfd" ; \
3541 (cd $(HOST_SUBDIR)/bfd && \
3542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544 "RANLIB=$${RANLIB}" \
3545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3551 .PHONY: maybe-html-bfd html-bfd
3554 maybe-html-bfd: html-bfd
3558 @[ -f ./bfd/Makefile ] || exit 0; \
3559 r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3562 for flag in $(EXTRA_HOST_FLAGS) ; do \
3563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3565 echo "Doing html in bfd" ; \
3566 (cd $(HOST_SUBDIR)/bfd && \
3567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3569 "RANLIB=$${RANLIB}" \
3570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3576 .PHONY: maybe-TAGS-bfd TAGS-bfd
3579 maybe-TAGS-bfd: TAGS-bfd
3583 @[ -f ./bfd/Makefile ] || exit 0; \
3584 r=`${PWD_COMMAND}`; export r; \
3585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3587 for flag in $(EXTRA_HOST_FLAGS) ; do \
3588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3590 echo "Doing TAGS in bfd" ; \
3591 (cd $(HOST_SUBDIR)/bfd && \
3592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3594 "RANLIB=$${RANLIB}" \
3595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3601 .PHONY: maybe-install-info-bfd install-info-bfd
3602 maybe-install-info-bfd:
3604 maybe-install-info-bfd: install-info-bfd
3609 @[ -f ./bfd/Makefile ] || exit 0; \
3610 r=`${PWD_COMMAND}`; export r; \
3611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3613 for flag in $(EXTRA_HOST_FLAGS) ; do \
3614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3616 echo "Doing install-info in bfd" ; \
3617 (cd $(HOST_SUBDIR)/bfd && \
3618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3620 "RANLIB=$${RANLIB}" \
3621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3627 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3628 maybe-install-pdf-bfd:
3630 maybe-install-pdf-bfd: install-pdf-bfd
3635 @[ -f ./bfd/Makefile ] || exit 0; \
3636 r=`${PWD_COMMAND}`; export r; \
3637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3639 for flag in $(EXTRA_HOST_FLAGS) ; do \
3640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3642 echo "Doing install-pdf in bfd" ; \
3643 (cd $(HOST_SUBDIR)/bfd && \
3644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3646 "RANLIB=$${RANLIB}" \
3647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3653 .PHONY: maybe-install-html-bfd install-html-bfd
3654 maybe-install-html-bfd:
3656 maybe-install-html-bfd: install-html-bfd
3661 @[ -f ./bfd/Makefile ] || exit 0; \
3662 r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3665 for flag in $(EXTRA_HOST_FLAGS) ; do \
3666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3668 echo "Doing install-html in bfd" ; \
3669 (cd $(HOST_SUBDIR)/bfd && \
3670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3672 "RANLIB=$${RANLIB}" \
3673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3679 .PHONY: maybe-installcheck-bfd installcheck-bfd
3680 maybe-installcheck-bfd:
3682 maybe-installcheck-bfd: installcheck-bfd
3686 @[ -f ./bfd/Makefile ] || exit 0; \
3687 r=`${PWD_COMMAND}`; export r; \
3688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3690 for flag in $(EXTRA_HOST_FLAGS) ; do \
3691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3693 echo "Doing installcheck in bfd" ; \
3694 (cd $(HOST_SUBDIR)/bfd && \
3695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3697 "RANLIB=$${RANLIB}" \
3698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3704 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3705 maybe-mostlyclean-bfd:
3707 maybe-mostlyclean-bfd: mostlyclean-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 mostlyclean 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-clean-bfd clean-bfd
3731 maybe-clean-bfd: clean-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 clean 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-distclean-bfd distclean-bfd
3753 maybe-distclean-bfd:
3755 maybe-distclean-bfd: distclean-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 distclean 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-maintainer-clean-bfd maintainer-clean-bfd
3777 maybe-maintainer-clean-bfd:
3779 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3781 maintainer-clean-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 maintainer-clean 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}" \
3802 .PHONY: configure-opcodes maybe-configure-opcodes
3803 maybe-configure-opcodes:
3805 configure-opcodes: stage_current
3806 @endif gcc-bootstrap
3808 maybe-configure-opcodes: configure-opcodes
3810 @r=`${PWD_COMMAND}`; export r; \
3811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3812 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3815 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3816 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3819 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3822 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3823 libsrcdir="$$s/opcodes"; \
3824 $(SHELL) $${libsrcdir}/configure \
3825 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3826 --target=${target_alias} $${srcdiroption} \
3832 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3833 maybe-configure-stage1-opcodes:
3834 @if opcodes-bootstrap
3835 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3836 configure-stage1-opcodes:
3837 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3838 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3839 @r=`${PWD_COMMAND}`; export r; \
3840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3841 TFLAGS="$(STAGE1_TFLAGS)"; \
3842 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3844 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3845 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3846 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3847 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3849 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3852 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3855 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3856 libsrcdir="$$s/opcodes"; \
3857 $(SHELL) $${libsrcdir}/configure \
3858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3859 --target=${target_alias} $${srcdiroption} \
3860 $(STAGE1_CONFIGURE_FLAGS)
3861 @endif opcodes-bootstrap
3863 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3864 maybe-configure-stage2-opcodes:
3865 @if opcodes-bootstrap
3866 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3867 configure-stage2-opcodes:
3868 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3870 @r=`${PWD_COMMAND}`; export r; \
3871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3872 TFLAGS="$(STAGE2_TFLAGS)"; \
3873 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3875 $(POSTSTAGE1_HOST_EXPORTS) \
3876 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3877 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3878 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3879 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3881 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3884 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3887 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3888 libsrcdir="$$s/opcodes"; \
3889 $(SHELL) $${libsrcdir}/configure \
3890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3891 --target=${target_alias} $${srcdiroption} \
3892 --with-build-libsubdir=$(HOST_SUBDIR) \
3893 $(STAGE2_CONFIGURE_FLAGS)
3894 @endif opcodes-bootstrap
3896 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3897 maybe-configure-stage3-opcodes:
3898 @if opcodes-bootstrap
3899 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3900 configure-stage3-opcodes:
3901 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3902 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3903 @r=`${PWD_COMMAND}`; export r; \
3904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3905 TFLAGS="$(STAGE3_TFLAGS)"; \
3906 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3908 $(POSTSTAGE1_HOST_EXPORTS) \
3909 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3910 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3911 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3912 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3914 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3917 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3920 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3921 libsrcdir="$$s/opcodes"; \
3922 $(SHELL) $${libsrcdir}/configure \
3923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3924 --target=${target_alias} $${srcdiroption} \
3925 --with-build-libsubdir=$(HOST_SUBDIR) \
3926 $(STAGE3_CONFIGURE_FLAGS)
3927 @endif opcodes-bootstrap
3929 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3930 maybe-configure-stage4-opcodes:
3931 @if opcodes-bootstrap
3932 maybe-configure-stage4-opcodes: configure-stage4-opcodes
3933 configure-stage4-opcodes:
3934 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3935 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3936 @r=`${PWD_COMMAND}`; export r; \
3937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3938 TFLAGS="$(STAGE4_TFLAGS)"; \
3939 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3941 $(POSTSTAGE1_HOST_EXPORTS) \
3942 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3943 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3944 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3945 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
3946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3947 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3950 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3953 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3954 libsrcdir="$$s/opcodes"; \
3955 $(SHELL) $${libsrcdir}/configure \
3956 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3957 --target=${target_alias} $${srcdiroption} \
3958 --with-build-libsubdir=$(HOST_SUBDIR) \
3959 $(STAGE4_CONFIGURE_FLAGS)
3960 @endif opcodes-bootstrap
3962 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
3963 maybe-configure-stageprofile-opcodes:
3964 @if opcodes-bootstrap
3965 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
3966 configure-stageprofile-opcodes:
3967 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3968 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3969 @r=`${PWD_COMMAND}`; export r; \
3970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3971 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3972 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3974 $(POSTSTAGE1_HOST_EXPORTS) \
3975 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3976 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3977 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3978 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
3979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3980 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3983 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3986 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3987 libsrcdir="$$s/opcodes"; \
3988 $(SHELL) $${libsrcdir}/configure \
3989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3990 --target=${target_alias} $${srcdiroption} \
3991 --with-build-libsubdir=$(HOST_SUBDIR) \
3992 $(STAGEprofile_CONFIGURE_FLAGS)
3993 @endif opcodes-bootstrap
3995 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
3996 maybe-configure-stagefeedback-opcodes:
3997 @if opcodes-bootstrap
3998 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
3999 configure-stagefeedback-opcodes:
4000 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4002 @r=`${PWD_COMMAND}`; export r; \
4003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4004 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4005 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4007 $(POSTSTAGE1_HOST_EXPORTS) \
4008 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4009 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4010 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4011 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4013 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4016 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4019 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4020 libsrcdir="$$s/opcodes"; \
4021 $(SHELL) $${libsrcdir}/configure \
4022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4023 --target=${target_alias} $${srcdiroption} \
4024 --with-build-libsubdir=$(HOST_SUBDIR) \
4025 $(STAGEfeedback_CONFIGURE_FLAGS)
4026 @endif opcodes-bootstrap
4032 .PHONY: all-opcodes maybe-all-opcodes
4035 all-opcodes: stage_current
4036 @endif gcc-bootstrap
4039 maybe-all-opcodes: all-opcodes
4040 all-opcodes: configure-opcodes
4041 @r=`${PWD_COMMAND}`; export r; \
4042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4044 (cd $(HOST_SUBDIR)/opcodes && \
4045 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4051 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4052 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4053 maybe-all-stage1-opcodes:
4054 maybe-clean-stage1-opcodes:
4055 @if opcodes-bootstrap
4056 maybe-all-stage1-opcodes: all-stage1-opcodes
4057 all-stage1: all-stage1-opcodes
4058 TARGET-stage1-opcodes = $(TARGET-opcodes)
4059 all-stage1-opcodes: configure-stage1-opcodes
4060 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4061 @r=`${PWD_COMMAND}`; export r; \
4062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4063 TFLAGS="$(STAGE1_TFLAGS)"; \
4065 cd $(HOST_SUBDIR)/opcodes && \
4066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4067 CFLAGS="$(STAGE1_CFLAGS)" \
4068 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4069 LIBCFLAGS="$(LIBCFLAGS)" \
4070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4073 $(EXTRA_HOST_FLAGS) \
4074 $(STAGE1_FLAGS_TO_PASS) \
4075 TFLAGS="$(STAGE1_TFLAGS)" \
4076 $(TARGET-stage1-opcodes)
4078 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4079 clean-stage1: clean-stage1-opcodes
4080 clean-stage1-opcodes:
4081 @if [ $(current_stage) = stage1 ]; then \
4082 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4084 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4085 $(MAKE) stage1-start; \
4087 cd $(HOST_SUBDIR)/opcodes && \
4088 $(MAKE) $(EXTRA_HOST_FLAGS) \
4089 $(STAGE1_FLAGS_TO_PASS) clean
4090 @endif opcodes-bootstrap
4093 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4094 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4095 maybe-all-stage2-opcodes:
4096 maybe-clean-stage2-opcodes:
4097 @if opcodes-bootstrap
4098 maybe-all-stage2-opcodes: all-stage2-opcodes
4099 all-stage2: all-stage2-opcodes
4100 TARGET-stage2-opcodes = $(TARGET-opcodes)
4101 all-stage2-opcodes: configure-stage2-opcodes
4102 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4103 @r=`${PWD_COMMAND}`; export r; \
4104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4105 TFLAGS="$(STAGE2_TFLAGS)"; \
4107 $(POSTSTAGE1_HOST_EXPORTS) \
4108 cd $(HOST_SUBDIR)/opcodes && \
4109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4110 CFLAGS="$(STAGE2_CFLAGS)" \
4111 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4112 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4117 TFLAGS="$(STAGE2_TFLAGS)" \
4118 $(TARGET-stage2-opcodes)
4120 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4121 clean-stage2: clean-stage2-opcodes
4122 clean-stage2-opcodes:
4123 @if [ $(current_stage) = stage2 ]; then \
4124 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4126 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4127 $(MAKE) stage2-start; \
4129 cd $(HOST_SUBDIR)/opcodes && \
4130 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4131 @endif opcodes-bootstrap
4134 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4135 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4136 maybe-all-stage3-opcodes:
4137 maybe-clean-stage3-opcodes:
4138 @if opcodes-bootstrap
4139 maybe-all-stage3-opcodes: all-stage3-opcodes
4140 all-stage3: all-stage3-opcodes
4141 TARGET-stage3-opcodes = $(TARGET-opcodes)
4142 all-stage3-opcodes: configure-stage3-opcodes
4143 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4144 @r=`${PWD_COMMAND}`; export r; \
4145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4146 TFLAGS="$(STAGE3_TFLAGS)"; \
4148 $(POSTSTAGE1_HOST_EXPORTS) \
4149 cd $(HOST_SUBDIR)/opcodes && \
4150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4151 CFLAGS="$(STAGE3_CFLAGS)" \
4152 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4153 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4158 TFLAGS="$(STAGE3_TFLAGS)" \
4159 $(TARGET-stage3-opcodes)
4161 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4162 clean-stage3: clean-stage3-opcodes
4163 clean-stage3-opcodes:
4164 @if [ $(current_stage) = stage3 ]; then \
4165 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4167 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4168 $(MAKE) stage3-start; \
4170 cd $(HOST_SUBDIR)/opcodes && \
4171 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4172 @endif opcodes-bootstrap
4175 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4176 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4177 maybe-all-stage4-opcodes:
4178 maybe-clean-stage4-opcodes:
4179 @if opcodes-bootstrap
4180 maybe-all-stage4-opcodes: all-stage4-opcodes
4181 all-stage4: all-stage4-opcodes
4182 TARGET-stage4-opcodes = $(TARGET-opcodes)
4183 all-stage4-opcodes: configure-stage4-opcodes
4184 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4185 @r=`${PWD_COMMAND}`; export r; \
4186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4187 TFLAGS="$(STAGE4_TFLAGS)"; \
4189 $(POSTSTAGE1_HOST_EXPORTS) \
4190 cd $(HOST_SUBDIR)/opcodes && \
4191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4192 CFLAGS="$(STAGE4_CFLAGS)" \
4193 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4194 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4198 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4199 TFLAGS="$(STAGE4_TFLAGS)" \
4200 $(TARGET-stage4-opcodes)
4202 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4203 clean-stage4: clean-stage4-opcodes
4204 clean-stage4-opcodes:
4205 @if [ $(current_stage) = stage4 ]; then \
4206 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4208 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4209 $(MAKE) stage4-start; \
4211 cd $(HOST_SUBDIR)/opcodes && \
4212 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4213 @endif opcodes-bootstrap
4216 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4217 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4218 maybe-all-stageprofile-opcodes:
4219 maybe-clean-stageprofile-opcodes:
4220 @if opcodes-bootstrap
4221 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4222 all-stageprofile: all-stageprofile-opcodes
4223 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4224 all-stageprofile-opcodes: configure-stageprofile-opcodes
4225 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4226 @r=`${PWD_COMMAND}`; export r; \
4227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4228 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4230 $(POSTSTAGE1_HOST_EXPORTS) \
4231 cd $(HOST_SUBDIR)/opcodes && \
4232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4233 CFLAGS="$(STAGEprofile_CFLAGS)" \
4234 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4235 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4239 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4240 TFLAGS="$(STAGEprofile_TFLAGS)" \
4241 $(TARGET-stageprofile-opcodes)
4243 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4244 clean-stageprofile: clean-stageprofile-opcodes
4245 clean-stageprofile-opcodes:
4246 @if [ $(current_stage) = stageprofile ]; then \
4247 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4249 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4250 $(MAKE) stageprofile-start; \
4252 cd $(HOST_SUBDIR)/opcodes && \
4253 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4254 @endif opcodes-bootstrap
4257 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4258 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4259 maybe-all-stagefeedback-opcodes:
4260 maybe-clean-stagefeedback-opcodes:
4261 @if opcodes-bootstrap
4262 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4263 all-stagefeedback: all-stagefeedback-opcodes
4264 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4265 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4266 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4267 @r=`${PWD_COMMAND}`; export r; \
4268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4269 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4271 $(POSTSTAGE1_HOST_EXPORTS) \
4272 cd $(HOST_SUBDIR)/opcodes && \
4273 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4274 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4275 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4276 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4277 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4278 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4279 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4280 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4281 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4282 $(TARGET-stagefeedback-opcodes)
4284 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4285 clean-stagefeedback: clean-stagefeedback-opcodes
4286 clean-stagefeedback-opcodes:
4287 @if [ $(current_stage) = stagefeedback ]; then \
4288 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4290 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4291 $(MAKE) stagefeedback-start; \
4293 cd $(HOST_SUBDIR)/opcodes && \
4294 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4295 @endif opcodes-bootstrap
4301 .PHONY: check-opcodes maybe-check-opcodes
4302 maybe-check-opcodes:
4304 maybe-check-opcodes: check-opcodes
4307 @: $(MAKE); $(unstage)
4308 @r=`${PWD_COMMAND}`; export r; \
4309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4311 (cd $(HOST_SUBDIR)/opcodes && \
4312 $(MAKE) $(FLAGS_TO_PASS) check)
4316 .PHONY: install-opcodes maybe-install-opcodes
4317 maybe-install-opcodes:
4319 maybe-install-opcodes: install-opcodes
4321 install-opcodes: installdirs
4322 @: $(MAKE); $(unstage)
4323 @r=`${PWD_COMMAND}`; export r; \
4324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4326 (cd $(HOST_SUBDIR)/opcodes && \
4327 $(MAKE) $(FLAGS_TO_PASS) install)
4331 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4332 maybe-install-strip-opcodes:
4334 maybe-install-strip-opcodes: install-strip-opcodes
4336 install-strip-opcodes: installdirs
4337 @: $(MAKE); $(unstage)
4338 @r=`${PWD_COMMAND}`; export r; \
4339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4341 (cd $(HOST_SUBDIR)/opcodes && \
4342 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4346 # Other targets (info, dvi, pdf, etc.)
4348 .PHONY: maybe-info-opcodes info-opcodes
4351 maybe-info-opcodes: info-opcodes
4355 @[ -f ./opcodes/Makefile ] || exit 0; \
4356 r=`${PWD_COMMAND}`; export r; \
4357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4359 for flag in $(EXTRA_HOST_FLAGS) ; do \
4360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4362 echo "Doing info in opcodes" ; \
4363 (cd $(HOST_SUBDIR)/opcodes && \
4364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4366 "RANLIB=$${RANLIB}" \
4367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4373 .PHONY: maybe-dvi-opcodes dvi-opcodes
4376 maybe-dvi-opcodes: dvi-opcodes
4380 @[ -f ./opcodes/Makefile ] || exit 0; \
4381 r=`${PWD_COMMAND}`; export r; \
4382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4384 for flag in $(EXTRA_HOST_FLAGS) ; do \
4385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4387 echo "Doing dvi in opcodes" ; \
4388 (cd $(HOST_SUBDIR)/opcodes && \
4389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4391 "RANLIB=$${RANLIB}" \
4392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4398 .PHONY: maybe-pdf-opcodes pdf-opcodes
4401 maybe-pdf-opcodes: pdf-opcodes
4405 @[ -f ./opcodes/Makefile ] || exit 0; \
4406 r=`${PWD_COMMAND}`; export r; \
4407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4409 for flag in $(EXTRA_HOST_FLAGS) ; do \
4410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4412 echo "Doing pdf in opcodes" ; \
4413 (cd $(HOST_SUBDIR)/opcodes && \
4414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4416 "RANLIB=$${RANLIB}" \
4417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4423 .PHONY: maybe-html-opcodes html-opcodes
4426 maybe-html-opcodes: html-opcodes
4430 @[ -f ./opcodes/Makefile ] || exit 0; \
4431 r=`${PWD_COMMAND}`; export r; \
4432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4434 for flag in $(EXTRA_HOST_FLAGS) ; do \
4435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4437 echo "Doing html in opcodes" ; \
4438 (cd $(HOST_SUBDIR)/opcodes && \
4439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4441 "RANLIB=$${RANLIB}" \
4442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4448 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4451 maybe-TAGS-opcodes: TAGS-opcodes
4455 @[ -f ./opcodes/Makefile ] || exit 0; \
4456 r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4459 for flag in $(EXTRA_HOST_FLAGS) ; do \
4460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4462 echo "Doing TAGS in opcodes" ; \
4463 (cd $(HOST_SUBDIR)/opcodes && \
4464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4466 "RANLIB=$${RANLIB}" \
4467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4473 .PHONY: maybe-install-info-opcodes install-info-opcodes
4474 maybe-install-info-opcodes:
4476 maybe-install-info-opcodes: install-info-opcodes
4478 install-info-opcodes: \
4481 @[ -f ./opcodes/Makefile ] || exit 0; \
4482 r=`${PWD_COMMAND}`; export r; \
4483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4485 for flag in $(EXTRA_HOST_FLAGS) ; do \
4486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4488 echo "Doing install-info in opcodes" ; \
4489 (cd $(HOST_SUBDIR)/opcodes && \
4490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4492 "RANLIB=$${RANLIB}" \
4493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4499 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4500 maybe-install-pdf-opcodes:
4502 maybe-install-pdf-opcodes: install-pdf-opcodes
4504 install-pdf-opcodes: \
4507 @[ -f ./opcodes/Makefile ] || exit 0; \
4508 r=`${PWD_COMMAND}`; export r; \
4509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4511 for flag in $(EXTRA_HOST_FLAGS) ; do \
4512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4514 echo "Doing install-pdf in opcodes" ; \
4515 (cd $(HOST_SUBDIR)/opcodes && \
4516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4518 "RANLIB=$${RANLIB}" \
4519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4525 .PHONY: maybe-install-html-opcodes install-html-opcodes
4526 maybe-install-html-opcodes:
4528 maybe-install-html-opcodes: install-html-opcodes
4530 install-html-opcodes: \
4533 @[ -f ./opcodes/Makefile ] || exit 0; \
4534 r=`${PWD_COMMAND}`; export r; \
4535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4537 for flag in $(EXTRA_HOST_FLAGS) ; do \
4538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4540 echo "Doing install-html in opcodes" ; \
4541 (cd $(HOST_SUBDIR)/opcodes && \
4542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4544 "RANLIB=$${RANLIB}" \
4545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4551 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4552 maybe-installcheck-opcodes:
4554 maybe-installcheck-opcodes: installcheck-opcodes
4556 installcheck-opcodes: \
4558 @[ -f ./opcodes/Makefile ] || exit 0; \
4559 r=`${PWD_COMMAND}`; export r; \
4560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4562 for flag in $(EXTRA_HOST_FLAGS) ; do \
4563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4565 echo "Doing installcheck in opcodes" ; \
4566 (cd $(HOST_SUBDIR)/opcodes && \
4567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4569 "RANLIB=$${RANLIB}" \
4570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4576 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4577 maybe-mostlyclean-opcodes:
4579 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4581 mostlyclean-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 mostlyclean 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-clean-opcodes clean-opcodes
4601 maybe-clean-opcodes:
4603 maybe-clean-opcodes: clean-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 clean 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-distclean-opcodes distclean-opcodes
4625 maybe-distclean-opcodes:
4627 maybe-distclean-opcodes: distclean-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 distclean 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-maintainer-clean-opcodes maintainer-clean-opcodes
4649 maybe-maintainer-clean-opcodes:
4651 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4653 maintainer-clean-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 maintainer-clean 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}" \
4674 .PHONY: configure-binutils maybe-configure-binutils
4675 maybe-configure-binutils:
4677 configure-binutils: stage_current
4678 @endif gcc-bootstrap
4680 maybe-configure-binutils: configure-binutils
4682 @r=`${PWD_COMMAND}`; export r; \
4683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4684 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4687 echo Configuring in $(HOST_SUBDIR)/binutils; \
4688 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4691 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4694 srcdiroption="--srcdir=$${topdir}/binutils"; \
4695 libsrcdir="$$s/binutils"; \
4696 $(SHELL) $${libsrcdir}/configure \
4697 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4698 --target=${target_alias} $${srcdiroption} \
4704 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4705 maybe-configure-stage1-binutils:
4706 @if binutils-bootstrap
4707 maybe-configure-stage1-binutils: configure-stage1-binutils
4708 configure-stage1-binutils:
4709 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4711 @r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4713 TFLAGS="$(STAGE1_TFLAGS)"; \
4714 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4716 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4717 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4718 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4719 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4721 cd $(HOST_SUBDIR)/binutils || exit 1; \
4723 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4724 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4725 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4727 srcdiroption="--srcdir=$${topdir}/binutils"; \
4728 libsrcdir="$$s/binutils"; \
4729 $(SHELL) $${libsrcdir}/configure \
4730 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4731 --target=${target_alias} $${srcdiroption} \
4732 $(STAGE1_CONFIGURE_FLAGS)
4733 @endif binutils-bootstrap
4735 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4736 maybe-configure-stage2-binutils:
4737 @if binutils-bootstrap
4738 maybe-configure-stage2-binutils: configure-stage2-binutils
4739 configure-stage2-binutils:
4740 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4741 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4742 @r=`${PWD_COMMAND}`; export r; \
4743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4744 TFLAGS="$(STAGE2_TFLAGS)"; \
4745 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4747 $(POSTSTAGE1_HOST_EXPORTS) \
4748 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4749 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4750 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4751 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4753 cd $(HOST_SUBDIR)/binutils || exit 1; \
4755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4756 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4759 srcdiroption="--srcdir=$${topdir}/binutils"; \
4760 libsrcdir="$$s/binutils"; \
4761 $(SHELL) $${libsrcdir}/configure \
4762 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4763 --target=${target_alias} $${srcdiroption} \
4764 --with-build-libsubdir=$(HOST_SUBDIR) \
4765 $(STAGE2_CONFIGURE_FLAGS)
4766 @endif binutils-bootstrap
4768 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4769 maybe-configure-stage3-binutils:
4770 @if binutils-bootstrap
4771 maybe-configure-stage3-binutils: configure-stage3-binutils
4772 configure-stage3-binutils:
4773 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4775 @r=`${PWD_COMMAND}`; export r; \
4776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4777 TFLAGS="$(STAGE3_TFLAGS)"; \
4778 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4780 $(POSTSTAGE1_HOST_EXPORTS) \
4781 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4782 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4783 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4784 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4786 cd $(HOST_SUBDIR)/binutils || exit 1; \
4788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4789 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4792 srcdiroption="--srcdir=$${topdir}/binutils"; \
4793 libsrcdir="$$s/binutils"; \
4794 $(SHELL) $${libsrcdir}/configure \
4795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4796 --target=${target_alias} $${srcdiroption} \
4797 --with-build-libsubdir=$(HOST_SUBDIR) \
4798 $(STAGE3_CONFIGURE_FLAGS)
4799 @endif binutils-bootstrap
4801 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4802 maybe-configure-stage4-binutils:
4803 @if binutils-bootstrap
4804 maybe-configure-stage4-binutils: configure-stage4-binutils
4805 configure-stage4-binutils:
4806 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4808 @r=`${PWD_COMMAND}`; export r; \
4809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4810 TFLAGS="$(STAGE4_TFLAGS)"; \
4811 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4813 $(POSTSTAGE1_HOST_EXPORTS) \
4814 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4815 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4816 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4817 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4819 cd $(HOST_SUBDIR)/binutils || exit 1; \
4821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4822 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4825 srcdiroption="--srcdir=$${topdir}/binutils"; \
4826 libsrcdir="$$s/binutils"; \
4827 $(SHELL) $${libsrcdir}/configure \
4828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4829 --target=${target_alias} $${srcdiroption} \
4830 --with-build-libsubdir=$(HOST_SUBDIR) \
4831 $(STAGE4_CONFIGURE_FLAGS)
4832 @endif binutils-bootstrap
4834 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4835 maybe-configure-stageprofile-binutils:
4836 @if binutils-bootstrap
4837 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4838 configure-stageprofile-binutils:
4839 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4841 @r=`${PWD_COMMAND}`; export r; \
4842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4843 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4844 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4846 $(POSTSTAGE1_HOST_EXPORTS) \
4847 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4848 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4849 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4850 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4852 cd $(HOST_SUBDIR)/binutils || exit 1; \
4854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4855 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4858 srcdiroption="--srcdir=$${topdir}/binutils"; \
4859 libsrcdir="$$s/binutils"; \
4860 $(SHELL) $${libsrcdir}/configure \
4861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4862 --target=${target_alias} $${srcdiroption} \
4863 --with-build-libsubdir=$(HOST_SUBDIR) \
4864 $(STAGEprofile_CONFIGURE_FLAGS)
4865 @endif binutils-bootstrap
4867 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4868 maybe-configure-stagefeedback-binutils:
4869 @if binutils-bootstrap
4870 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4871 configure-stagefeedback-binutils:
4872 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4874 @r=`${PWD_COMMAND}`; export r; \
4875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4876 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4877 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4879 $(POSTSTAGE1_HOST_EXPORTS) \
4880 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4881 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4882 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4883 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4885 cd $(HOST_SUBDIR)/binutils || exit 1; \
4887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4888 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4891 srcdiroption="--srcdir=$${topdir}/binutils"; \
4892 libsrcdir="$$s/binutils"; \
4893 $(SHELL) $${libsrcdir}/configure \
4894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4895 --target=${target_alias} $${srcdiroption} \
4896 --with-build-libsubdir=$(HOST_SUBDIR) \
4897 $(STAGEfeedback_CONFIGURE_FLAGS)
4898 @endif binutils-bootstrap
4904 .PHONY: all-binutils maybe-all-binutils
4907 all-binutils: stage_current
4908 @endif gcc-bootstrap
4911 maybe-all-binutils: all-binutils
4912 all-binutils: configure-binutils
4913 @r=`${PWD_COMMAND}`; export r; \
4914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4916 (cd $(HOST_SUBDIR)/binutils && \
4917 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4923 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4924 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4925 maybe-all-stage1-binutils:
4926 maybe-clean-stage1-binutils:
4927 @if binutils-bootstrap
4928 maybe-all-stage1-binutils: all-stage1-binutils
4929 all-stage1: all-stage1-binutils
4930 TARGET-stage1-binutils = $(TARGET-binutils)
4931 all-stage1-binutils: configure-stage1-binutils
4932 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4933 @r=`${PWD_COMMAND}`; export r; \
4934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4935 TFLAGS="$(STAGE1_TFLAGS)"; \
4937 cd $(HOST_SUBDIR)/binutils && \
4938 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4939 CFLAGS="$(STAGE1_CFLAGS)" \
4940 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4941 LIBCFLAGS="$(LIBCFLAGS)" \
4942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4945 $(EXTRA_HOST_FLAGS) \
4946 $(STAGE1_FLAGS_TO_PASS) \
4947 TFLAGS="$(STAGE1_TFLAGS)" \
4948 $(TARGET-stage1-binutils)
4950 maybe-clean-stage1-binutils: clean-stage1-binutils
4951 clean-stage1: clean-stage1-binutils
4952 clean-stage1-binutils:
4953 @if [ $(current_stage) = stage1 ]; then \
4954 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4956 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
4957 $(MAKE) stage1-start; \
4959 cd $(HOST_SUBDIR)/binutils && \
4960 $(MAKE) $(EXTRA_HOST_FLAGS) \
4961 $(STAGE1_FLAGS_TO_PASS) clean
4962 @endif binutils-bootstrap
4965 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
4966 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
4967 maybe-all-stage2-binutils:
4968 maybe-clean-stage2-binutils:
4969 @if binutils-bootstrap
4970 maybe-all-stage2-binutils: all-stage2-binutils
4971 all-stage2: all-stage2-binutils
4972 TARGET-stage2-binutils = $(TARGET-binutils)
4973 all-stage2-binutils: configure-stage2-binutils
4974 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4975 @r=`${PWD_COMMAND}`; export r; \
4976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977 TFLAGS="$(STAGE2_TFLAGS)"; \
4979 $(POSTSTAGE1_HOST_EXPORTS) \
4980 cd $(HOST_SUBDIR)/binutils && \
4981 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4982 CFLAGS="$(STAGE2_CFLAGS)" \
4983 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4984 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4985 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4986 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4987 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4988 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4989 TFLAGS="$(STAGE2_TFLAGS)" \
4990 $(TARGET-stage2-binutils)
4992 maybe-clean-stage2-binutils: clean-stage2-binutils
4993 clean-stage2: clean-stage2-binutils
4994 clean-stage2-binutils:
4995 @if [ $(current_stage) = stage2 ]; then \
4996 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
4998 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
4999 $(MAKE) stage2-start; \
5001 cd $(HOST_SUBDIR)/binutils && \
5002 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5003 @endif binutils-bootstrap
5006 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5007 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5008 maybe-all-stage3-binutils:
5009 maybe-clean-stage3-binutils:
5010 @if binutils-bootstrap
5011 maybe-all-stage3-binutils: all-stage3-binutils
5012 all-stage3: all-stage3-binutils
5013 TARGET-stage3-binutils = $(TARGET-binutils)
5014 all-stage3-binutils: configure-stage3-binutils
5015 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5016 @r=`${PWD_COMMAND}`; export r; \
5017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5018 TFLAGS="$(STAGE3_TFLAGS)"; \
5020 $(POSTSTAGE1_HOST_EXPORTS) \
5021 cd $(HOST_SUBDIR)/binutils && \
5022 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5023 CFLAGS="$(STAGE3_CFLAGS)" \
5024 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5025 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5026 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5027 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5028 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5029 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5030 TFLAGS="$(STAGE3_TFLAGS)" \
5031 $(TARGET-stage3-binutils)
5033 maybe-clean-stage3-binutils: clean-stage3-binutils
5034 clean-stage3: clean-stage3-binutils
5035 clean-stage3-binutils:
5036 @if [ $(current_stage) = stage3 ]; then \
5037 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5039 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5040 $(MAKE) stage3-start; \
5042 cd $(HOST_SUBDIR)/binutils && \
5043 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5044 @endif binutils-bootstrap
5047 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5048 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5049 maybe-all-stage4-binutils:
5050 maybe-clean-stage4-binutils:
5051 @if binutils-bootstrap
5052 maybe-all-stage4-binutils: all-stage4-binutils
5053 all-stage4: all-stage4-binutils
5054 TARGET-stage4-binutils = $(TARGET-binutils)
5055 all-stage4-binutils: configure-stage4-binutils
5056 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5057 @r=`${PWD_COMMAND}`; export r; \
5058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5059 TFLAGS="$(STAGE4_TFLAGS)"; \
5061 $(POSTSTAGE1_HOST_EXPORTS) \
5062 cd $(HOST_SUBDIR)/binutils && \
5063 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5064 CFLAGS="$(STAGE4_CFLAGS)" \
5065 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5066 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5067 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5068 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5069 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5070 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5071 TFLAGS="$(STAGE4_TFLAGS)" \
5072 $(TARGET-stage4-binutils)
5074 maybe-clean-stage4-binutils: clean-stage4-binutils
5075 clean-stage4: clean-stage4-binutils
5076 clean-stage4-binutils:
5077 @if [ $(current_stage) = stage4 ]; then \
5078 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5080 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5081 $(MAKE) stage4-start; \
5083 cd $(HOST_SUBDIR)/binutils && \
5084 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5085 @endif binutils-bootstrap
5088 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5089 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5090 maybe-all-stageprofile-binutils:
5091 maybe-clean-stageprofile-binutils:
5092 @if binutils-bootstrap
5093 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5094 all-stageprofile: all-stageprofile-binutils
5095 TARGET-stageprofile-binutils = $(TARGET-binutils)
5096 all-stageprofile-binutils: configure-stageprofile-binutils
5097 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5098 @r=`${PWD_COMMAND}`; export r; \
5099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5100 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5102 $(POSTSTAGE1_HOST_EXPORTS) \
5103 cd $(HOST_SUBDIR)/binutils && \
5104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5105 CFLAGS="$(STAGEprofile_CFLAGS)" \
5106 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5107 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5111 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5112 TFLAGS="$(STAGEprofile_TFLAGS)" \
5113 $(TARGET-stageprofile-binutils)
5115 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5116 clean-stageprofile: clean-stageprofile-binutils
5117 clean-stageprofile-binutils:
5118 @if [ $(current_stage) = stageprofile ]; then \
5119 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5121 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5122 $(MAKE) stageprofile-start; \
5124 cd $(HOST_SUBDIR)/binutils && \
5125 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5126 @endif binutils-bootstrap
5129 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5130 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5131 maybe-all-stagefeedback-binutils:
5132 maybe-clean-stagefeedback-binutils:
5133 @if binutils-bootstrap
5134 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5135 all-stagefeedback: all-stagefeedback-binutils
5136 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5137 all-stagefeedback-binutils: configure-stagefeedback-binutils
5138 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5139 @r=`${PWD_COMMAND}`; export r; \
5140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5141 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5143 $(POSTSTAGE1_HOST_EXPORTS) \
5144 cd $(HOST_SUBDIR)/binutils && \
5145 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5146 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5147 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5148 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5149 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5150 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5151 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5152 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5153 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5154 $(TARGET-stagefeedback-binutils)
5156 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5157 clean-stagefeedback: clean-stagefeedback-binutils
5158 clean-stagefeedback-binutils:
5159 @if [ $(current_stage) = stagefeedback ]; then \
5160 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5162 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5163 $(MAKE) stagefeedback-start; \
5165 cd $(HOST_SUBDIR)/binutils && \
5166 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5167 @endif binutils-bootstrap
5173 .PHONY: check-binutils maybe-check-binutils
5174 maybe-check-binutils:
5176 maybe-check-binutils: check-binutils
5179 @: $(MAKE); $(unstage)
5180 @r=`${PWD_COMMAND}`; export r; \
5181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5183 (cd $(HOST_SUBDIR)/binutils && \
5184 $(MAKE) $(FLAGS_TO_PASS) check)
5188 .PHONY: install-binutils maybe-install-binutils
5189 maybe-install-binutils:
5191 maybe-install-binutils: install-binutils
5193 install-binutils: installdirs
5194 @: $(MAKE); $(unstage)
5195 @r=`${PWD_COMMAND}`; export r; \
5196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5198 (cd $(HOST_SUBDIR)/binutils && \
5199 $(MAKE) $(FLAGS_TO_PASS) install)
5203 .PHONY: install-strip-binutils maybe-install-strip-binutils
5204 maybe-install-strip-binutils:
5206 maybe-install-strip-binutils: install-strip-binutils
5208 install-strip-binutils: installdirs
5209 @: $(MAKE); $(unstage)
5210 @r=`${PWD_COMMAND}`; export r; \
5211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5213 (cd $(HOST_SUBDIR)/binutils && \
5214 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5218 # Other targets (info, dvi, pdf, etc.)
5220 .PHONY: maybe-info-binutils info-binutils
5221 maybe-info-binutils:
5223 maybe-info-binutils: info-binutils
5227 @[ -f ./binutils/Makefile ] || exit 0; \
5228 r=`${PWD_COMMAND}`; export r; \
5229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5231 for flag in $(EXTRA_HOST_FLAGS) ; do \
5232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5234 echo "Doing info in binutils" ; \
5235 (cd $(HOST_SUBDIR)/binutils && \
5236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5238 "RANLIB=$${RANLIB}" \
5239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5245 .PHONY: maybe-dvi-binutils dvi-binutils
5248 maybe-dvi-binutils: dvi-binutils
5252 @[ -f ./binutils/Makefile ] || exit 0; \
5253 r=`${PWD_COMMAND}`; export r; \
5254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5256 for flag in $(EXTRA_HOST_FLAGS) ; do \
5257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5259 echo "Doing dvi in binutils" ; \
5260 (cd $(HOST_SUBDIR)/binutils && \
5261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5263 "RANLIB=$${RANLIB}" \
5264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5270 .PHONY: maybe-pdf-binutils pdf-binutils
5273 maybe-pdf-binutils: pdf-binutils
5277 @[ -f ./binutils/Makefile ] || exit 0; \
5278 r=`${PWD_COMMAND}`; export r; \
5279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5281 for flag in $(EXTRA_HOST_FLAGS) ; do \
5282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5284 echo "Doing pdf in binutils" ; \
5285 (cd $(HOST_SUBDIR)/binutils && \
5286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5288 "RANLIB=$${RANLIB}" \
5289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5295 .PHONY: maybe-html-binutils html-binutils
5296 maybe-html-binutils:
5298 maybe-html-binutils: html-binutils
5302 @[ -f ./binutils/Makefile ] || exit 0; \
5303 r=`${PWD_COMMAND}`; export r; \
5304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5306 for flag in $(EXTRA_HOST_FLAGS) ; do \
5307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5309 echo "Doing html in binutils" ; \
5310 (cd $(HOST_SUBDIR)/binutils && \
5311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5313 "RANLIB=$${RANLIB}" \
5314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5320 .PHONY: maybe-TAGS-binutils TAGS-binutils
5321 maybe-TAGS-binutils:
5323 maybe-TAGS-binutils: TAGS-binutils
5327 @[ -f ./binutils/Makefile ] || exit 0; \
5328 r=`${PWD_COMMAND}`; export r; \
5329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5331 for flag in $(EXTRA_HOST_FLAGS) ; do \
5332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5334 echo "Doing TAGS in binutils" ; \
5335 (cd $(HOST_SUBDIR)/binutils && \
5336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5338 "RANLIB=$${RANLIB}" \
5339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5345 .PHONY: maybe-install-info-binutils install-info-binutils
5346 maybe-install-info-binutils:
5348 maybe-install-info-binutils: install-info-binutils
5350 install-info-binutils: \
5351 configure-binutils \
5353 @[ -f ./binutils/Makefile ] || exit 0; \
5354 r=`${PWD_COMMAND}`; export r; \
5355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5357 for flag in $(EXTRA_HOST_FLAGS) ; do \
5358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5360 echo "Doing install-info in binutils" ; \
5361 (cd $(HOST_SUBDIR)/binutils && \
5362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5364 "RANLIB=$${RANLIB}" \
5365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5371 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5372 maybe-install-pdf-binutils:
5374 maybe-install-pdf-binutils: install-pdf-binutils
5376 install-pdf-binutils: \
5377 configure-binutils \
5379 @[ -f ./binutils/Makefile ] || exit 0; \
5380 r=`${PWD_COMMAND}`; export r; \
5381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5383 for flag in $(EXTRA_HOST_FLAGS) ; do \
5384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5386 echo "Doing install-pdf in binutils" ; \
5387 (cd $(HOST_SUBDIR)/binutils && \
5388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5390 "RANLIB=$${RANLIB}" \
5391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5397 .PHONY: maybe-install-html-binutils install-html-binutils
5398 maybe-install-html-binutils:
5400 maybe-install-html-binutils: install-html-binutils
5402 install-html-binutils: \
5403 configure-binutils \
5405 @[ -f ./binutils/Makefile ] || exit 0; \
5406 r=`${PWD_COMMAND}`; export r; \
5407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5409 for flag in $(EXTRA_HOST_FLAGS) ; do \
5410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5412 echo "Doing install-html in binutils" ; \
5413 (cd $(HOST_SUBDIR)/binutils && \
5414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5416 "RANLIB=$${RANLIB}" \
5417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5423 .PHONY: maybe-installcheck-binutils installcheck-binutils
5424 maybe-installcheck-binutils:
5426 maybe-installcheck-binutils: installcheck-binutils
5428 installcheck-binutils: \
5430 @[ -f ./binutils/Makefile ] || exit 0; \
5431 r=`${PWD_COMMAND}`; export r; \
5432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5434 for flag in $(EXTRA_HOST_FLAGS) ; do \
5435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5437 echo "Doing installcheck in binutils" ; \
5438 (cd $(HOST_SUBDIR)/binutils && \
5439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5441 "RANLIB=$${RANLIB}" \
5442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5448 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5449 maybe-mostlyclean-binutils:
5451 maybe-mostlyclean-binutils: mostlyclean-binutils
5453 mostlyclean-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 mostlyclean 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-clean-binutils clean-binutils
5473 maybe-clean-binutils:
5475 maybe-clean-binutils: clean-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 clean 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-distclean-binutils distclean-binutils
5497 maybe-distclean-binutils:
5499 maybe-distclean-binutils: distclean-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 distclean 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-maintainer-clean-binutils maintainer-clean-binutils
5521 maybe-maintainer-clean-binutils:
5523 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5525 maintainer-clean-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 maintainer-clean 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}" \
5546 .PHONY: configure-bison maybe-configure-bison
5547 maybe-configure-bison:
5549 configure-bison: stage_current
5550 @endif gcc-bootstrap
5552 maybe-configure-bison: configure-bison
5554 @: $(MAKE); $(unstage)
5555 @r=`${PWD_COMMAND}`; export r; \
5556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5557 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5560 echo Configuring in $(HOST_SUBDIR)/bison; \
5561 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5564 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5567 srcdiroption="--srcdir=$${topdir}/bison"; \
5568 libsrcdir="$$s/bison"; \
5569 $(SHELL) $${libsrcdir}/configure \
5570 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5571 --target=${target_alias} $${srcdiroption} \
5579 .PHONY: all-bison maybe-all-bison
5582 all-bison: stage_current
5583 @endif gcc-bootstrap
5586 maybe-all-bison: all-bison
5587 all-bison: configure-bison
5588 @: $(MAKE); $(unstage)
5589 @r=`${PWD_COMMAND}`; export r; \
5590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5592 (cd $(HOST_SUBDIR)/bison && \
5593 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5600 .PHONY: check-bison maybe-check-bison
5603 maybe-check-bison: check-bison
5605 # This module is only tested in a native toolchain.
5607 @: $(MAKE); $(unstage)
5608 @if [ '$(host)' = '$(target)' ] ; then \
5609 r=`${PWD_COMMAND}`; export r; \
5610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5612 (cd $(HOST_SUBDIR)/bison && \
5613 $(MAKE) $(FLAGS_TO_PASS) check); \
5618 .PHONY: install-bison maybe-install-bison
5619 maybe-install-bison:
5621 maybe-install-bison: install-bison
5623 install-bison: installdirs
5624 @: $(MAKE); $(unstage)
5625 @r=`${PWD_COMMAND}`; export r; \
5626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5628 (cd $(HOST_SUBDIR)/bison && \
5629 $(MAKE) $(FLAGS_TO_PASS) install)
5633 .PHONY: install-strip-bison maybe-install-strip-bison
5634 maybe-install-strip-bison:
5636 maybe-install-strip-bison: install-strip-bison
5638 install-strip-bison: installdirs
5639 @: $(MAKE); $(unstage)
5640 @r=`${PWD_COMMAND}`; export r; \
5641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5643 (cd $(HOST_SUBDIR)/bison && \
5644 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5648 # Other targets (info, dvi, pdf, etc.)
5650 .PHONY: maybe-info-bison info-bison
5653 maybe-info-bison: info-bison
5657 @: $(MAKE); $(unstage)
5658 @[ -f ./bison/Makefile ] || exit 0; \
5659 r=`${PWD_COMMAND}`; export r; \
5660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5662 for flag in $(EXTRA_HOST_FLAGS) ; do \
5663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5665 echo "Doing info in bison" ; \
5666 (cd $(HOST_SUBDIR)/bison && \
5667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5669 "RANLIB=$${RANLIB}" \
5670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5676 .PHONY: maybe-dvi-bison dvi-bison
5679 maybe-dvi-bison: dvi-bison
5683 @: $(MAKE); $(unstage)
5684 @[ -f ./bison/Makefile ] || exit 0; \
5685 r=`${PWD_COMMAND}`; export r; \
5686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5688 for flag in $(EXTRA_HOST_FLAGS) ; do \
5689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5691 echo "Doing dvi in bison" ; \
5692 (cd $(HOST_SUBDIR)/bison && \
5693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5695 "RANLIB=$${RANLIB}" \
5696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5702 .PHONY: maybe-pdf-bison pdf-bison
5705 maybe-pdf-bison: pdf-bison
5709 @: $(MAKE); $(unstage)
5710 @[ -f ./bison/Makefile ] || exit 0; \
5711 r=`${PWD_COMMAND}`; export r; \
5712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5714 for flag in $(EXTRA_HOST_FLAGS) ; do \
5715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5717 echo "Doing pdf in bison" ; \
5718 (cd $(HOST_SUBDIR)/bison && \
5719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5721 "RANLIB=$${RANLIB}" \
5722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5728 .PHONY: maybe-html-bison html-bison
5731 maybe-html-bison: html-bison
5735 @: $(MAKE); $(unstage)
5736 @[ -f ./bison/Makefile ] || exit 0; \
5737 r=`${PWD_COMMAND}`; export r; \
5738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5740 for flag in $(EXTRA_HOST_FLAGS) ; do \
5741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5743 echo "Doing html in bison" ; \
5744 (cd $(HOST_SUBDIR)/bison && \
5745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5747 "RANLIB=$${RANLIB}" \
5748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5754 .PHONY: maybe-TAGS-bison TAGS-bison
5757 maybe-TAGS-bison: TAGS-bison
5761 @: $(MAKE); $(unstage)
5762 @[ -f ./bison/Makefile ] || exit 0; \
5763 r=`${PWD_COMMAND}`; export r; \
5764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5766 for flag in $(EXTRA_HOST_FLAGS) ; do \
5767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5769 echo "Doing TAGS in bison" ; \
5770 (cd $(HOST_SUBDIR)/bison && \
5771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5773 "RANLIB=$${RANLIB}" \
5774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5780 .PHONY: maybe-install-info-bison install-info-bison
5781 maybe-install-info-bison:
5783 maybe-install-info-bison: install-info-bison
5785 install-info-bison: \
5788 @: $(MAKE); $(unstage)
5789 @[ -f ./bison/Makefile ] || exit 0; \
5790 r=`${PWD_COMMAND}`; export r; \
5791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5793 for flag in $(EXTRA_HOST_FLAGS) ; do \
5794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5796 echo "Doing install-info in bison" ; \
5797 (cd $(HOST_SUBDIR)/bison && \
5798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5800 "RANLIB=$${RANLIB}" \
5801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5807 .PHONY: maybe-install-pdf-bison install-pdf-bison
5808 maybe-install-pdf-bison:
5810 maybe-install-pdf-bison: install-pdf-bison
5812 install-pdf-bison: \
5815 @: $(MAKE); $(unstage)
5816 @[ -f ./bison/Makefile ] || exit 0; \
5817 r=`${PWD_COMMAND}`; export r; \
5818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5820 for flag in $(EXTRA_HOST_FLAGS) ; do \
5821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5823 echo "Doing install-pdf in bison" ; \
5824 (cd $(HOST_SUBDIR)/bison && \
5825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5827 "RANLIB=$${RANLIB}" \
5828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5834 .PHONY: maybe-install-html-bison install-html-bison
5835 maybe-install-html-bison:
5837 maybe-install-html-bison: install-html-bison
5839 install-html-bison: \
5842 @: $(MAKE); $(unstage)
5843 @[ -f ./bison/Makefile ] || exit 0; \
5844 r=`${PWD_COMMAND}`; export r; \
5845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5847 for flag in $(EXTRA_HOST_FLAGS) ; do \
5848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5850 echo "Doing install-html in bison" ; \
5851 (cd $(HOST_SUBDIR)/bison && \
5852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5854 "RANLIB=$${RANLIB}" \
5855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5861 .PHONY: maybe-installcheck-bison installcheck-bison
5862 maybe-installcheck-bison:
5864 maybe-installcheck-bison: installcheck-bison
5866 installcheck-bison: \
5868 @: $(MAKE); $(unstage)
5869 @[ -f ./bison/Makefile ] || exit 0; \
5870 r=`${PWD_COMMAND}`; export r; \
5871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5873 for flag in $(EXTRA_HOST_FLAGS) ; do \
5874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5876 echo "Doing installcheck in bison" ; \
5877 (cd $(HOST_SUBDIR)/bison && \
5878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5880 "RANLIB=$${RANLIB}" \
5881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5887 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5888 maybe-mostlyclean-bison:
5890 maybe-mostlyclean-bison: mostlyclean-bison
5893 @: $(MAKE); $(unstage)
5894 @[ -f ./bison/Makefile ] || exit 0; \
5895 r=`${PWD_COMMAND}`; export r; \
5896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5898 for flag in $(EXTRA_HOST_FLAGS) ; do \
5899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5901 echo "Doing mostlyclean in bison" ; \
5902 (cd $(HOST_SUBDIR)/bison && \
5903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5905 "RANLIB=$${RANLIB}" \
5906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5912 .PHONY: maybe-clean-bison clean-bison
5915 maybe-clean-bison: clean-bison
5918 @: $(MAKE); $(unstage)
5919 @[ -f ./bison/Makefile ] || exit 0; \
5920 r=`${PWD_COMMAND}`; export r; \
5921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5923 for flag in $(EXTRA_HOST_FLAGS) ; do \
5924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5926 echo "Doing clean in bison" ; \
5927 (cd $(HOST_SUBDIR)/bison && \
5928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5930 "RANLIB=$${RANLIB}" \
5931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5937 .PHONY: maybe-distclean-bison distclean-bison
5938 maybe-distclean-bison:
5940 maybe-distclean-bison: distclean-bison
5943 @: $(MAKE); $(unstage)
5944 @[ -f ./bison/Makefile ] || exit 0; \
5945 r=`${PWD_COMMAND}`; export r; \
5946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5948 for flag in $(EXTRA_HOST_FLAGS) ; do \
5949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5951 echo "Doing distclean in bison" ; \
5952 (cd $(HOST_SUBDIR)/bison && \
5953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5955 "RANLIB=$${RANLIB}" \
5956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5962 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5963 maybe-maintainer-clean-bison:
5965 maybe-maintainer-clean-bison: maintainer-clean-bison
5967 maintainer-clean-bison:
5968 @: $(MAKE); $(unstage)
5969 @[ -f ./bison/Makefile ] || exit 0; \
5970 r=`${PWD_COMMAND}`; export r; \
5971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5973 for flag in $(EXTRA_HOST_FLAGS) ; do \
5974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5976 echo "Doing maintainer-clean in bison" ; \
5977 (cd $(HOST_SUBDIR)/bison && \
5978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5980 "RANLIB=$${RANLIB}" \
5981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5989 .PHONY: configure-cgen maybe-configure-cgen
5990 maybe-configure-cgen:
5992 configure-cgen: stage_current
5993 @endif gcc-bootstrap
5995 maybe-configure-cgen: configure-cgen
5997 @: $(MAKE); $(unstage)
5998 @r=`${PWD_COMMAND}`; export r; \
5999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6000 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6003 echo Configuring in $(HOST_SUBDIR)/cgen; \
6004 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6007 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6010 srcdiroption="--srcdir=$${topdir}/cgen"; \
6011 libsrcdir="$$s/cgen"; \
6012 $(SHELL) $${libsrcdir}/configure \
6013 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6014 --target=${target_alias} $${srcdiroption} \
6022 .PHONY: all-cgen maybe-all-cgen
6025 all-cgen: stage_current
6026 @endif gcc-bootstrap
6029 maybe-all-cgen: all-cgen
6030 all-cgen: configure-cgen
6031 @: $(MAKE); $(unstage)
6032 @r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6035 (cd $(HOST_SUBDIR)/cgen && \
6036 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6043 .PHONY: check-cgen maybe-check-cgen
6046 maybe-check-cgen: check-cgen
6049 @: $(MAKE); $(unstage)
6050 @r=`${PWD_COMMAND}`; export r; \
6051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6053 (cd $(HOST_SUBDIR)/cgen && \
6054 $(MAKE) $(FLAGS_TO_PASS) check)
6058 .PHONY: install-cgen maybe-install-cgen
6061 maybe-install-cgen: install-cgen
6063 install-cgen: installdirs
6064 @: $(MAKE); $(unstage)
6065 @r=`${PWD_COMMAND}`; export r; \
6066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6068 (cd $(HOST_SUBDIR)/cgen && \
6069 $(MAKE) $(FLAGS_TO_PASS) install)
6073 .PHONY: install-strip-cgen maybe-install-strip-cgen
6074 maybe-install-strip-cgen:
6076 maybe-install-strip-cgen: install-strip-cgen
6078 install-strip-cgen: installdirs
6079 @: $(MAKE); $(unstage)
6080 @r=`${PWD_COMMAND}`; export r; \
6081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6083 (cd $(HOST_SUBDIR)/cgen && \
6084 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6088 # Other targets (info, dvi, pdf, etc.)
6090 .PHONY: maybe-info-cgen info-cgen
6093 maybe-info-cgen: info-cgen
6097 @: $(MAKE); $(unstage)
6098 @[ -f ./cgen/Makefile ] || exit 0; \
6099 r=`${PWD_COMMAND}`; export r; \
6100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6102 for flag in $(EXTRA_HOST_FLAGS) ; do \
6103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6105 echo "Doing info in cgen" ; \
6106 (cd $(HOST_SUBDIR)/cgen && \
6107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6109 "RANLIB=$${RANLIB}" \
6110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6116 .PHONY: maybe-dvi-cgen dvi-cgen
6119 maybe-dvi-cgen: dvi-cgen
6123 @: $(MAKE); $(unstage)
6124 @[ -f ./cgen/Makefile ] || exit 0; \
6125 r=`${PWD_COMMAND}`; export r; \
6126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6128 for flag in $(EXTRA_HOST_FLAGS) ; do \
6129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6131 echo "Doing dvi in cgen" ; \
6132 (cd $(HOST_SUBDIR)/cgen && \
6133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6135 "RANLIB=$${RANLIB}" \
6136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6142 .PHONY: maybe-pdf-cgen pdf-cgen
6145 maybe-pdf-cgen: pdf-cgen
6149 @: $(MAKE); $(unstage)
6150 @[ -f ./cgen/Makefile ] || exit 0; \
6151 r=`${PWD_COMMAND}`; export r; \
6152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6154 for flag in $(EXTRA_HOST_FLAGS) ; do \
6155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6157 echo "Doing pdf in cgen" ; \
6158 (cd $(HOST_SUBDIR)/cgen && \
6159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6161 "RANLIB=$${RANLIB}" \
6162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6168 .PHONY: maybe-html-cgen html-cgen
6171 maybe-html-cgen: html-cgen
6175 @: $(MAKE); $(unstage)
6176 @[ -f ./cgen/Makefile ] || exit 0; \
6177 r=`${PWD_COMMAND}`; export r; \
6178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6180 for flag in $(EXTRA_HOST_FLAGS) ; do \
6181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6183 echo "Doing html in cgen" ; \
6184 (cd $(HOST_SUBDIR)/cgen && \
6185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6187 "RANLIB=$${RANLIB}" \
6188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6194 .PHONY: maybe-TAGS-cgen TAGS-cgen
6197 maybe-TAGS-cgen: TAGS-cgen
6201 @: $(MAKE); $(unstage)
6202 @[ -f ./cgen/Makefile ] || exit 0; \
6203 r=`${PWD_COMMAND}`; export r; \
6204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6206 for flag in $(EXTRA_HOST_FLAGS) ; do \
6207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6209 echo "Doing TAGS in cgen" ; \
6210 (cd $(HOST_SUBDIR)/cgen && \
6211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6213 "RANLIB=$${RANLIB}" \
6214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6220 .PHONY: maybe-install-info-cgen install-info-cgen
6221 maybe-install-info-cgen:
6223 maybe-install-info-cgen: install-info-cgen
6225 install-info-cgen: \
6228 @: $(MAKE); $(unstage)
6229 @[ -f ./cgen/Makefile ] || exit 0; \
6230 r=`${PWD_COMMAND}`; export r; \
6231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6233 for flag in $(EXTRA_HOST_FLAGS) ; do \
6234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6236 echo "Doing install-info in cgen" ; \
6237 (cd $(HOST_SUBDIR)/cgen && \
6238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6240 "RANLIB=$${RANLIB}" \
6241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6247 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6248 maybe-install-pdf-cgen:
6250 maybe-install-pdf-cgen: install-pdf-cgen
6255 @: $(MAKE); $(unstage)
6256 @[ -f ./cgen/Makefile ] || exit 0; \
6257 r=`${PWD_COMMAND}`; export r; \
6258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6260 for flag in $(EXTRA_HOST_FLAGS) ; do \
6261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6263 echo "Doing install-pdf in cgen" ; \
6264 (cd $(HOST_SUBDIR)/cgen && \
6265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6267 "RANLIB=$${RANLIB}" \
6268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6274 .PHONY: maybe-install-html-cgen install-html-cgen
6275 maybe-install-html-cgen:
6277 maybe-install-html-cgen: install-html-cgen
6279 install-html-cgen: \
6282 @: $(MAKE); $(unstage)
6283 @[ -f ./cgen/Makefile ] || exit 0; \
6284 r=`${PWD_COMMAND}`; export r; \
6285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6287 for flag in $(EXTRA_HOST_FLAGS) ; do \
6288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6290 echo "Doing install-html in cgen" ; \
6291 (cd $(HOST_SUBDIR)/cgen && \
6292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6294 "RANLIB=$${RANLIB}" \
6295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6301 .PHONY: maybe-installcheck-cgen installcheck-cgen
6302 maybe-installcheck-cgen:
6304 maybe-installcheck-cgen: installcheck-cgen
6306 installcheck-cgen: \
6308 @: $(MAKE); $(unstage)
6309 @[ -f ./cgen/Makefile ] || exit 0; \
6310 r=`${PWD_COMMAND}`; export r; \
6311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6313 for flag in $(EXTRA_HOST_FLAGS) ; do \
6314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6316 echo "Doing installcheck in cgen" ; \
6317 (cd $(HOST_SUBDIR)/cgen && \
6318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6320 "RANLIB=$${RANLIB}" \
6321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6327 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6328 maybe-mostlyclean-cgen:
6330 maybe-mostlyclean-cgen: mostlyclean-cgen
6333 @: $(MAKE); $(unstage)
6334 @[ -f ./cgen/Makefile ] || exit 0; \
6335 r=`${PWD_COMMAND}`; export r; \
6336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6338 for flag in $(EXTRA_HOST_FLAGS) ; do \
6339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6341 echo "Doing mostlyclean in cgen" ; \
6342 (cd $(HOST_SUBDIR)/cgen && \
6343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6345 "RANLIB=$${RANLIB}" \
6346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6352 .PHONY: maybe-clean-cgen clean-cgen
6355 maybe-clean-cgen: clean-cgen
6358 @: $(MAKE); $(unstage)
6359 @[ -f ./cgen/Makefile ] || exit 0; \
6360 r=`${PWD_COMMAND}`; export r; \
6361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6363 for flag in $(EXTRA_HOST_FLAGS) ; do \
6364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6366 echo "Doing clean in cgen" ; \
6367 (cd $(HOST_SUBDIR)/cgen && \
6368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6370 "RANLIB=$${RANLIB}" \
6371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6377 .PHONY: maybe-distclean-cgen distclean-cgen
6378 maybe-distclean-cgen:
6380 maybe-distclean-cgen: distclean-cgen
6383 @: $(MAKE); $(unstage)
6384 @[ -f ./cgen/Makefile ] || exit 0; \
6385 r=`${PWD_COMMAND}`; export r; \
6386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6388 for flag in $(EXTRA_HOST_FLAGS) ; do \
6389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6391 echo "Doing distclean in cgen" ; \
6392 (cd $(HOST_SUBDIR)/cgen && \
6393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6395 "RANLIB=$${RANLIB}" \
6396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6402 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6403 maybe-maintainer-clean-cgen:
6405 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6407 maintainer-clean-cgen:
6408 @: $(MAKE); $(unstage)
6409 @[ -f ./cgen/Makefile ] || exit 0; \
6410 r=`${PWD_COMMAND}`; export r; \
6411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6413 for flag in $(EXTRA_HOST_FLAGS) ; do \
6414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6416 echo "Doing maintainer-clean in cgen" ; \
6417 (cd $(HOST_SUBDIR)/cgen && \
6418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6420 "RANLIB=$${RANLIB}" \
6421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6429 .PHONY: configure-dejagnu maybe-configure-dejagnu
6430 maybe-configure-dejagnu:
6432 configure-dejagnu: stage_current
6433 @endif gcc-bootstrap
6435 maybe-configure-dejagnu: configure-dejagnu
6437 @: $(MAKE); $(unstage)
6438 @r=`${PWD_COMMAND}`; export r; \
6439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6440 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6443 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6444 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6447 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6450 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6451 libsrcdir="$$s/dejagnu"; \
6452 $(SHELL) $${libsrcdir}/configure \
6453 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6454 --target=${target_alias} $${srcdiroption} \
6462 .PHONY: all-dejagnu maybe-all-dejagnu
6465 all-dejagnu: stage_current
6466 @endif gcc-bootstrap
6469 maybe-all-dejagnu: all-dejagnu
6470 all-dejagnu: configure-dejagnu
6471 @: $(MAKE); $(unstage)
6472 @r=`${PWD_COMMAND}`; export r; \
6473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6475 (cd $(HOST_SUBDIR)/dejagnu && \
6476 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6483 .PHONY: check-dejagnu maybe-check-dejagnu
6484 maybe-check-dejagnu:
6486 maybe-check-dejagnu: check-dejagnu
6489 @: $(MAKE); $(unstage)
6490 @r=`${PWD_COMMAND}`; export r; \
6491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6493 (cd $(HOST_SUBDIR)/dejagnu && \
6494 $(MAKE) $(FLAGS_TO_PASS) check)
6498 .PHONY: install-dejagnu maybe-install-dejagnu
6499 maybe-install-dejagnu:
6501 maybe-install-dejagnu: install-dejagnu
6503 install-dejagnu: installdirs
6504 @: $(MAKE); $(unstage)
6505 @r=`${PWD_COMMAND}`; export r; \
6506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6508 (cd $(HOST_SUBDIR)/dejagnu && \
6509 $(MAKE) $(FLAGS_TO_PASS) install)
6513 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6514 maybe-install-strip-dejagnu:
6516 maybe-install-strip-dejagnu: install-strip-dejagnu
6518 install-strip-dejagnu: installdirs
6519 @: $(MAKE); $(unstage)
6520 @r=`${PWD_COMMAND}`; export r; \
6521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6523 (cd $(HOST_SUBDIR)/dejagnu && \
6524 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6528 # Other targets (info, dvi, pdf, etc.)
6530 .PHONY: maybe-info-dejagnu info-dejagnu
6533 maybe-info-dejagnu: info-dejagnu
6537 @: $(MAKE); $(unstage)
6538 @[ -f ./dejagnu/Makefile ] || exit 0; \
6539 r=`${PWD_COMMAND}`; export r; \
6540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6542 for flag in $(EXTRA_HOST_FLAGS) ; do \
6543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6545 echo "Doing info in dejagnu" ; \
6546 (cd $(HOST_SUBDIR)/dejagnu && \
6547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6549 "RANLIB=$${RANLIB}" \
6550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6556 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6559 maybe-dvi-dejagnu: dvi-dejagnu
6563 @: $(MAKE); $(unstage)
6564 @[ -f ./dejagnu/Makefile ] || exit 0; \
6565 r=`${PWD_COMMAND}`; export r; \
6566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6568 for flag in $(EXTRA_HOST_FLAGS) ; do \
6569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6571 echo "Doing dvi in dejagnu" ; \
6572 (cd $(HOST_SUBDIR)/dejagnu && \
6573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6575 "RANLIB=$${RANLIB}" \
6576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6582 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6585 maybe-pdf-dejagnu: pdf-dejagnu
6589 @: $(MAKE); $(unstage)
6590 @[ -f ./dejagnu/Makefile ] || exit 0; \
6591 r=`${PWD_COMMAND}`; export r; \
6592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6594 for flag in $(EXTRA_HOST_FLAGS) ; do \
6595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6597 echo "Doing pdf in dejagnu" ; \
6598 (cd $(HOST_SUBDIR)/dejagnu && \
6599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6601 "RANLIB=$${RANLIB}" \
6602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6608 .PHONY: maybe-html-dejagnu html-dejagnu
6611 maybe-html-dejagnu: html-dejagnu
6615 @: $(MAKE); $(unstage)
6616 @[ -f ./dejagnu/Makefile ] || exit 0; \
6617 r=`${PWD_COMMAND}`; export r; \
6618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6620 for flag in $(EXTRA_HOST_FLAGS) ; do \
6621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6623 echo "Doing html in dejagnu" ; \
6624 (cd $(HOST_SUBDIR)/dejagnu && \
6625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6627 "RANLIB=$${RANLIB}" \
6628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6634 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6637 maybe-TAGS-dejagnu: TAGS-dejagnu
6641 @: $(MAKE); $(unstage)
6642 @[ -f ./dejagnu/Makefile ] || exit 0; \
6643 r=`${PWD_COMMAND}`; export r; \
6644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6646 for flag in $(EXTRA_HOST_FLAGS) ; do \
6647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6649 echo "Doing TAGS in dejagnu" ; \
6650 (cd $(HOST_SUBDIR)/dejagnu && \
6651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6653 "RANLIB=$${RANLIB}" \
6654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6660 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6661 maybe-install-info-dejagnu:
6663 maybe-install-info-dejagnu: install-info-dejagnu
6665 install-info-dejagnu: \
6668 @: $(MAKE); $(unstage)
6669 @[ -f ./dejagnu/Makefile ] || exit 0; \
6670 r=`${PWD_COMMAND}`; export r; \
6671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6673 for flag in $(EXTRA_HOST_FLAGS) ; do \
6674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6676 echo "Doing install-info in dejagnu" ; \
6677 (cd $(HOST_SUBDIR)/dejagnu && \
6678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6680 "RANLIB=$${RANLIB}" \
6681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6687 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6688 maybe-install-pdf-dejagnu:
6690 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6692 install-pdf-dejagnu: \
6695 @: $(MAKE); $(unstage)
6696 @[ -f ./dejagnu/Makefile ] || exit 0; \
6697 r=`${PWD_COMMAND}`; export r; \
6698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6700 for flag in $(EXTRA_HOST_FLAGS) ; do \
6701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6703 echo "Doing install-pdf in dejagnu" ; \
6704 (cd $(HOST_SUBDIR)/dejagnu && \
6705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6707 "RANLIB=$${RANLIB}" \
6708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6714 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6715 maybe-install-html-dejagnu:
6717 maybe-install-html-dejagnu: install-html-dejagnu
6719 install-html-dejagnu: \
6722 @: $(MAKE); $(unstage)
6723 @[ -f ./dejagnu/Makefile ] || exit 0; \
6724 r=`${PWD_COMMAND}`; export r; \
6725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6727 for flag in $(EXTRA_HOST_FLAGS) ; do \
6728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6730 echo "Doing install-html in dejagnu" ; \
6731 (cd $(HOST_SUBDIR)/dejagnu && \
6732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6734 "RANLIB=$${RANLIB}" \
6735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6741 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6742 maybe-installcheck-dejagnu:
6744 maybe-installcheck-dejagnu: installcheck-dejagnu
6746 installcheck-dejagnu: \
6748 @: $(MAKE); $(unstage)
6749 @[ -f ./dejagnu/Makefile ] || exit 0; \
6750 r=`${PWD_COMMAND}`; export r; \
6751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6753 for flag in $(EXTRA_HOST_FLAGS) ; do \
6754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6756 echo "Doing installcheck in dejagnu" ; \
6757 (cd $(HOST_SUBDIR)/dejagnu && \
6758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6760 "RANLIB=$${RANLIB}" \
6761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6767 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6768 maybe-mostlyclean-dejagnu:
6770 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6772 mostlyclean-dejagnu:
6773 @: $(MAKE); $(unstage)
6774 @[ -f ./dejagnu/Makefile ] || exit 0; \
6775 r=`${PWD_COMMAND}`; export r; \
6776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6778 for flag in $(EXTRA_HOST_FLAGS) ; do \
6779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6781 echo "Doing mostlyclean in dejagnu" ; \
6782 (cd $(HOST_SUBDIR)/dejagnu && \
6783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6785 "RANLIB=$${RANLIB}" \
6786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6792 .PHONY: maybe-clean-dejagnu clean-dejagnu
6793 maybe-clean-dejagnu:
6795 maybe-clean-dejagnu: clean-dejagnu
6798 @: $(MAKE); $(unstage)
6799 @[ -f ./dejagnu/Makefile ] || exit 0; \
6800 r=`${PWD_COMMAND}`; export r; \
6801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6803 for flag in $(EXTRA_HOST_FLAGS) ; do \
6804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6806 echo "Doing clean in dejagnu" ; \
6807 (cd $(HOST_SUBDIR)/dejagnu && \
6808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6810 "RANLIB=$${RANLIB}" \
6811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6817 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6818 maybe-distclean-dejagnu:
6820 maybe-distclean-dejagnu: distclean-dejagnu
6823 @: $(MAKE); $(unstage)
6824 @[ -f ./dejagnu/Makefile ] || exit 0; \
6825 r=`${PWD_COMMAND}`; export r; \
6826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6828 for flag in $(EXTRA_HOST_FLAGS) ; do \
6829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6831 echo "Doing distclean in dejagnu" ; \
6832 (cd $(HOST_SUBDIR)/dejagnu && \
6833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6835 "RANLIB=$${RANLIB}" \
6836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6842 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6843 maybe-maintainer-clean-dejagnu:
6845 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6847 maintainer-clean-dejagnu:
6848 @: $(MAKE); $(unstage)
6849 @[ -f ./dejagnu/Makefile ] || exit 0; \
6850 r=`${PWD_COMMAND}`; export r; \
6851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6853 for flag in $(EXTRA_HOST_FLAGS) ; do \
6854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6856 echo "Doing maintainer-clean in dejagnu" ; \
6857 (cd $(HOST_SUBDIR)/dejagnu && \
6858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6860 "RANLIB=$${RANLIB}" \
6861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6869 .PHONY: configure-etc maybe-configure-etc
6870 maybe-configure-etc:
6872 configure-etc: stage_current
6873 @endif gcc-bootstrap
6875 maybe-configure-etc: configure-etc
6877 @: $(MAKE); $(unstage)
6878 @r=`${PWD_COMMAND}`; export r; \
6879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6880 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6883 echo Configuring in $(HOST_SUBDIR)/etc; \
6884 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6887 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6890 srcdiroption="--srcdir=$${topdir}/etc"; \
6891 libsrcdir="$$s/etc"; \
6892 $(SHELL) $${libsrcdir}/configure \
6893 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6894 --target=${target_alias} $${srcdiroption} \
6902 .PHONY: all-etc maybe-all-etc
6905 all-etc: stage_current
6906 @endif gcc-bootstrap
6909 maybe-all-etc: all-etc
6910 all-etc: configure-etc
6911 @: $(MAKE); $(unstage)
6912 @r=`${PWD_COMMAND}`; export r; \
6913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6915 (cd $(HOST_SUBDIR)/etc && \
6916 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6923 .PHONY: check-etc maybe-check-etc
6926 maybe-check-etc: check-etc
6929 @: $(MAKE); $(unstage)
6930 @r=`${PWD_COMMAND}`; export r; \
6931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933 (cd $(HOST_SUBDIR)/etc && \
6934 $(MAKE) $(FLAGS_TO_PASS) check)
6938 .PHONY: install-etc maybe-install-etc
6941 maybe-install-etc: install-etc
6943 install-etc: installdirs
6944 @: $(MAKE); $(unstage)
6945 @r=`${PWD_COMMAND}`; export r; \
6946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6948 (cd $(HOST_SUBDIR)/etc && \
6949 $(MAKE) $(FLAGS_TO_PASS) install)
6953 .PHONY: install-strip-etc maybe-install-strip-etc
6954 maybe-install-strip-etc:
6956 maybe-install-strip-etc: install-strip-etc
6958 install-strip-etc: installdirs
6959 @: $(MAKE); $(unstage)
6960 @r=`${PWD_COMMAND}`; export r; \
6961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6963 (cd $(HOST_SUBDIR)/etc && \
6964 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6968 # Other targets (info, dvi, pdf, etc.)
6970 .PHONY: maybe-info-etc info-etc
6973 maybe-info-etc: info-etc
6977 @: $(MAKE); $(unstage)
6978 @[ -f ./etc/Makefile ] || exit 0; \
6979 r=`${PWD_COMMAND}`; export r; \
6980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6982 for flag in $(EXTRA_HOST_FLAGS) ; do \
6983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6985 echo "Doing info in etc" ; \
6986 (cd $(HOST_SUBDIR)/etc && \
6987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6989 "RANLIB=$${RANLIB}" \
6990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6996 .PHONY: maybe-dvi-etc dvi-etc
6999 maybe-dvi-etc: dvi-etc
7003 @: $(MAKE); $(unstage)
7004 @[ -f ./etc/Makefile ] || exit 0; \
7005 r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7008 for flag in $(EXTRA_HOST_FLAGS) ; do \
7009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7011 echo "Doing dvi in etc" ; \
7012 (cd $(HOST_SUBDIR)/etc && \
7013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7015 "RANLIB=$${RANLIB}" \
7016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7022 .PHONY: maybe-pdf-etc pdf-etc
7025 maybe-pdf-etc: pdf-etc
7029 @: $(MAKE); $(unstage)
7030 @[ -f ./etc/Makefile ] || exit 0; \
7031 r=`${PWD_COMMAND}`; export r; \
7032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7034 for flag in $(EXTRA_HOST_FLAGS) ; do \
7035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7037 echo "Doing pdf in etc" ; \
7038 (cd $(HOST_SUBDIR)/etc && \
7039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7041 "RANLIB=$${RANLIB}" \
7042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7048 .PHONY: maybe-html-etc html-etc
7051 maybe-html-etc: html-etc
7055 @: $(MAKE); $(unstage)
7056 @[ -f ./etc/Makefile ] || exit 0; \
7057 r=`${PWD_COMMAND}`; export r; \
7058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7060 for flag in $(EXTRA_HOST_FLAGS) ; do \
7061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7063 echo "Doing html in etc" ; \
7064 (cd $(HOST_SUBDIR)/etc && \
7065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7067 "RANLIB=$${RANLIB}" \
7068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7074 .PHONY: maybe-TAGS-etc TAGS-etc
7077 maybe-TAGS-etc: TAGS-etc
7081 @: $(MAKE); $(unstage)
7082 @[ -f ./etc/Makefile ] || exit 0; \
7083 r=`${PWD_COMMAND}`; export r; \
7084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7086 for flag in $(EXTRA_HOST_FLAGS) ; do \
7087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7089 echo "Doing TAGS in etc" ; \
7090 (cd $(HOST_SUBDIR)/etc && \
7091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7093 "RANLIB=$${RANLIB}" \
7094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7100 .PHONY: maybe-install-info-etc install-info-etc
7101 maybe-install-info-etc:
7103 maybe-install-info-etc: install-info-etc
7108 @: $(MAKE); $(unstage)
7109 @[ -f ./etc/Makefile ] || exit 0; \
7110 r=`${PWD_COMMAND}`; export r; \
7111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7113 for flag in $(EXTRA_HOST_FLAGS) ; do \
7114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7116 echo "Doing install-info in etc" ; \
7117 (cd $(HOST_SUBDIR)/etc && \
7118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7120 "RANLIB=$${RANLIB}" \
7121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7127 .PHONY: maybe-install-pdf-etc install-pdf-etc
7128 maybe-install-pdf-etc:
7130 maybe-install-pdf-etc: install-pdf-etc
7135 @: $(MAKE); $(unstage)
7136 @[ -f ./etc/Makefile ] || exit 0; \
7137 r=`${PWD_COMMAND}`; export r; \
7138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7140 for flag in $(EXTRA_HOST_FLAGS) ; do \
7141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7143 echo "Doing install-pdf in etc" ; \
7144 (cd $(HOST_SUBDIR)/etc && \
7145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7147 "RANLIB=$${RANLIB}" \
7148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7154 .PHONY: maybe-install-html-etc install-html-etc
7155 maybe-install-html-etc:
7157 maybe-install-html-etc: install-html-etc
7162 @: $(MAKE); $(unstage)
7163 @[ -f ./etc/Makefile ] || exit 0; \
7164 r=`${PWD_COMMAND}`; export r; \
7165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7167 for flag in $(EXTRA_HOST_FLAGS) ; do \
7168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7170 echo "Doing install-html in etc" ; \
7171 (cd $(HOST_SUBDIR)/etc && \
7172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7174 "RANLIB=$${RANLIB}" \
7175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7181 .PHONY: maybe-installcheck-etc installcheck-etc
7182 maybe-installcheck-etc:
7184 maybe-installcheck-etc: installcheck-etc
7188 @: $(MAKE); $(unstage)
7189 @[ -f ./etc/Makefile ] || exit 0; \
7190 r=`${PWD_COMMAND}`; export r; \
7191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7193 for flag in $(EXTRA_HOST_FLAGS) ; do \
7194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7196 echo "Doing installcheck in etc" ; \
7197 (cd $(HOST_SUBDIR)/etc && \
7198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7200 "RANLIB=$${RANLIB}" \
7201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7207 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7208 maybe-mostlyclean-etc:
7210 maybe-mostlyclean-etc: mostlyclean-etc
7213 @: $(MAKE); $(unstage)
7214 @[ -f ./etc/Makefile ] || exit 0; \
7215 r=`${PWD_COMMAND}`; export r; \
7216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7218 for flag in $(EXTRA_HOST_FLAGS) ; do \
7219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7221 echo "Doing mostlyclean in etc" ; \
7222 (cd $(HOST_SUBDIR)/etc && \
7223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7225 "RANLIB=$${RANLIB}" \
7226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7232 .PHONY: maybe-clean-etc clean-etc
7235 maybe-clean-etc: clean-etc
7238 @: $(MAKE); $(unstage)
7239 @[ -f ./etc/Makefile ] || exit 0; \
7240 r=`${PWD_COMMAND}`; export r; \
7241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7243 for flag in $(EXTRA_HOST_FLAGS) ; do \
7244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7246 echo "Doing clean in etc" ; \
7247 (cd $(HOST_SUBDIR)/etc && \
7248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7250 "RANLIB=$${RANLIB}" \
7251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7257 .PHONY: maybe-distclean-etc distclean-etc
7258 maybe-distclean-etc:
7260 maybe-distclean-etc: distclean-etc
7263 @: $(MAKE); $(unstage)
7264 @[ -f ./etc/Makefile ] || exit 0; \
7265 r=`${PWD_COMMAND}`; export r; \
7266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7268 for flag in $(EXTRA_HOST_FLAGS) ; do \
7269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7271 echo "Doing distclean in etc" ; \
7272 (cd $(HOST_SUBDIR)/etc && \
7273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7275 "RANLIB=$${RANLIB}" \
7276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7282 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7283 maybe-maintainer-clean-etc:
7285 maybe-maintainer-clean-etc: maintainer-clean-etc
7287 maintainer-clean-etc:
7288 @: $(MAKE); $(unstage)
7289 @[ -f ./etc/Makefile ] || exit 0; \
7290 r=`${PWD_COMMAND}`; export r; \
7291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7293 for flag in $(EXTRA_HOST_FLAGS) ; do \
7294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7296 echo "Doing maintainer-clean in etc" ; \
7297 (cd $(HOST_SUBDIR)/etc && \
7298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7300 "RANLIB=$${RANLIB}" \
7301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7309 .PHONY: configure-fastjar maybe-configure-fastjar
7310 maybe-configure-fastjar:
7312 configure-fastjar: stage_current
7313 @endif gcc-bootstrap
7315 maybe-configure-fastjar: configure-fastjar
7317 @: $(MAKE); $(unstage)
7318 @r=`${PWD_COMMAND}`; export r; \
7319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7320 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7323 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7324 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7326 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7327 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7328 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7330 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7331 libsrcdir="$$s/fastjar"; \
7332 $(SHELL) $${libsrcdir}/configure \
7333 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7334 --target=${target_alias} $${srcdiroption} \
7342 .PHONY: all-fastjar maybe-all-fastjar
7345 all-fastjar: stage_current
7346 @endif gcc-bootstrap
7349 maybe-all-fastjar: all-fastjar
7350 all-fastjar: configure-fastjar
7351 @: $(MAKE); $(unstage)
7352 @r=`${PWD_COMMAND}`; export r; \
7353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7355 (cd $(HOST_SUBDIR)/fastjar && \
7356 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7363 .PHONY: check-fastjar maybe-check-fastjar
7364 maybe-check-fastjar:
7366 maybe-check-fastjar: check-fastjar
7368 # This module is only tested in a native toolchain.
7370 @: $(MAKE); $(unstage)
7371 @if [ '$(host)' = '$(target)' ] ; then \
7372 r=`${PWD_COMMAND}`; export r; \
7373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7375 (cd $(HOST_SUBDIR)/fastjar && \
7376 $(MAKE) $(FLAGS_TO_PASS) check); \
7381 .PHONY: install-fastjar maybe-install-fastjar
7382 maybe-install-fastjar:
7384 maybe-install-fastjar: install-fastjar
7386 install-fastjar: installdirs
7387 @: $(MAKE); $(unstage)
7388 @r=`${PWD_COMMAND}`; export r; \
7389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7391 (cd $(HOST_SUBDIR)/fastjar && \
7392 $(MAKE) $(FLAGS_TO_PASS) install)
7396 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7397 maybe-install-strip-fastjar:
7399 maybe-install-strip-fastjar: install-strip-fastjar
7401 install-strip-fastjar: installdirs
7402 @: $(MAKE); $(unstage)
7403 @r=`${PWD_COMMAND}`; export r; \
7404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7406 (cd $(HOST_SUBDIR)/fastjar && \
7407 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7411 # Other targets (info, dvi, pdf, etc.)
7413 .PHONY: maybe-info-fastjar info-fastjar
7416 maybe-info-fastjar: info-fastjar
7420 @: $(MAKE); $(unstage)
7421 @[ -f ./fastjar/Makefile ] || exit 0; \
7422 r=`${PWD_COMMAND}`; export r; \
7423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7425 for flag in $(EXTRA_HOST_FLAGS) ; do \
7426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7428 echo "Doing info in fastjar" ; \
7429 (cd $(HOST_SUBDIR)/fastjar && \
7430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7432 "RANLIB=$${RANLIB}" \
7433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7439 .PHONY: maybe-dvi-fastjar dvi-fastjar
7442 maybe-dvi-fastjar: dvi-fastjar
7446 @: $(MAKE); $(unstage)
7447 @[ -f ./fastjar/Makefile ] || exit 0; \
7448 r=`${PWD_COMMAND}`; export r; \
7449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7451 for flag in $(EXTRA_HOST_FLAGS) ; do \
7452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7454 echo "Doing dvi in fastjar" ; \
7455 (cd $(HOST_SUBDIR)/fastjar && \
7456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7458 "RANLIB=$${RANLIB}" \
7459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7465 .PHONY: maybe-pdf-fastjar pdf-fastjar
7468 maybe-pdf-fastjar: pdf-fastjar
7472 @: $(MAKE); $(unstage)
7473 @[ -f ./fastjar/Makefile ] || exit 0; \
7474 r=`${PWD_COMMAND}`; export r; \
7475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7477 for flag in $(EXTRA_HOST_FLAGS) ; do \
7478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7480 echo "Doing pdf in fastjar" ; \
7481 (cd $(HOST_SUBDIR)/fastjar && \
7482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7484 "RANLIB=$${RANLIB}" \
7485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7491 .PHONY: maybe-html-fastjar html-fastjar
7494 maybe-html-fastjar: html-fastjar
7498 @: $(MAKE); $(unstage)
7499 @[ -f ./fastjar/Makefile ] || exit 0; \
7500 r=`${PWD_COMMAND}`; export r; \
7501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7503 for flag in $(EXTRA_HOST_FLAGS) ; do \
7504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7506 echo "Doing html in fastjar" ; \
7507 (cd $(HOST_SUBDIR)/fastjar && \
7508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7510 "RANLIB=$${RANLIB}" \
7511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7517 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7520 maybe-TAGS-fastjar: TAGS-fastjar
7524 @: $(MAKE); $(unstage)
7525 @[ -f ./fastjar/Makefile ] || exit 0; \
7526 r=`${PWD_COMMAND}`; export r; \
7527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7529 for flag in $(EXTRA_HOST_FLAGS) ; do \
7530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7532 echo "Doing TAGS in fastjar" ; \
7533 (cd $(HOST_SUBDIR)/fastjar && \
7534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7536 "RANLIB=$${RANLIB}" \
7537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7543 .PHONY: maybe-install-info-fastjar install-info-fastjar
7544 maybe-install-info-fastjar:
7546 maybe-install-info-fastjar: install-info-fastjar
7548 install-info-fastjar: \
7551 @: $(MAKE); $(unstage)
7552 @[ -f ./fastjar/Makefile ] || exit 0; \
7553 r=`${PWD_COMMAND}`; export r; \
7554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7556 for flag in $(EXTRA_HOST_FLAGS) ; do \
7557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7559 echo "Doing install-info in fastjar" ; \
7560 (cd $(HOST_SUBDIR)/fastjar && \
7561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7563 "RANLIB=$${RANLIB}" \
7564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7570 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7571 maybe-install-pdf-fastjar:
7573 maybe-install-pdf-fastjar: install-pdf-fastjar
7575 install-pdf-fastjar: \
7578 @: $(MAKE); $(unstage)
7579 @[ -f ./fastjar/Makefile ] || exit 0; \
7580 r=`${PWD_COMMAND}`; export r; \
7581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7583 for flag in $(EXTRA_HOST_FLAGS) ; do \
7584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7586 echo "Doing install-pdf in fastjar" ; \
7587 (cd $(HOST_SUBDIR)/fastjar && \
7588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7590 "RANLIB=$${RANLIB}" \
7591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7597 .PHONY: maybe-install-html-fastjar install-html-fastjar
7598 maybe-install-html-fastjar:
7600 maybe-install-html-fastjar: install-html-fastjar
7602 install-html-fastjar: \
7605 @: $(MAKE); $(unstage)
7606 @[ -f ./fastjar/Makefile ] || exit 0; \
7607 r=`${PWD_COMMAND}`; export r; \
7608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7610 for flag in $(EXTRA_HOST_FLAGS) ; do \
7611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7613 echo "Doing install-html in fastjar" ; \
7614 (cd $(HOST_SUBDIR)/fastjar && \
7615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7617 "RANLIB=$${RANLIB}" \
7618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7624 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7625 maybe-installcheck-fastjar:
7627 maybe-installcheck-fastjar: installcheck-fastjar
7629 installcheck-fastjar: \
7631 @: $(MAKE); $(unstage)
7632 @[ -f ./fastjar/Makefile ] || exit 0; \
7633 r=`${PWD_COMMAND}`; export r; \
7634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7636 for flag in $(EXTRA_HOST_FLAGS) ; do \
7637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7639 echo "Doing installcheck in fastjar" ; \
7640 (cd $(HOST_SUBDIR)/fastjar && \
7641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7643 "RANLIB=$${RANLIB}" \
7644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7650 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7651 maybe-mostlyclean-fastjar:
7653 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7655 mostlyclean-fastjar:
7656 @: $(MAKE); $(unstage)
7657 @[ -f ./fastjar/Makefile ] || exit 0; \
7658 r=`${PWD_COMMAND}`; export r; \
7659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7661 for flag in $(EXTRA_HOST_FLAGS) ; do \
7662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7664 echo "Doing mostlyclean in fastjar" ; \
7665 (cd $(HOST_SUBDIR)/fastjar && \
7666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7668 "RANLIB=$${RANLIB}" \
7669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7675 .PHONY: maybe-clean-fastjar clean-fastjar
7676 maybe-clean-fastjar:
7678 maybe-clean-fastjar: clean-fastjar
7681 @: $(MAKE); $(unstage)
7682 @[ -f ./fastjar/Makefile ] || exit 0; \
7683 r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7686 for flag in $(EXTRA_HOST_FLAGS) ; do \
7687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7689 echo "Doing clean in fastjar" ; \
7690 (cd $(HOST_SUBDIR)/fastjar && \
7691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7693 "RANLIB=$${RANLIB}" \
7694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7700 .PHONY: maybe-distclean-fastjar distclean-fastjar
7701 maybe-distclean-fastjar:
7703 maybe-distclean-fastjar: distclean-fastjar
7706 @: $(MAKE); $(unstage)
7707 @[ -f ./fastjar/Makefile ] || exit 0; \
7708 r=`${PWD_COMMAND}`; export r; \
7709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7711 for flag in $(EXTRA_HOST_FLAGS) ; do \
7712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7714 echo "Doing distclean in fastjar" ; \
7715 (cd $(HOST_SUBDIR)/fastjar && \
7716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7718 "RANLIB=$${RANLIB}" \
7719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7725 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7726 maybe-maintainer-clean-fastjar:
7728 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7730 maintainer-clean-fastjar:
7731 @: $(MAKE); $(unstage)
7732 @[ -f ./fastjar/Makefile ] || exit 0; \
7733 r=`${PWD_COMMAND}`; export r; \
7734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7736 for flag in $(EXTRA_HOST_FLAGS) ; do \
7737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7739 echo "Doing maintainer-clean in fastjar" ; \
7740 (cd $(HOST_SUBDIR)/fastjar && \
7741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7743 "RANLIB=$${RANLIB}" \
7744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7752 .PHONY: configure-fixincludes maybe-configure-fixincludes
7753 maybe-configure-fixincludes:
7755 configure-fixincludes: stage_current
7756 @endif gcc-bootstrap
7758 maybe-configure-fixincludes: configure-fixincludes
7759 configure-fixincludes:
7760 @: $(MAKE); $(unstage)
7761 @r=`${PWD_COMMAND}`; export r; \
7762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7763 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7766 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7767 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7770 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7773 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7774 libsrcdir="$$s/fixincludes"; \
7775 $(SHELL) $${libsrcdir}/configure \
7776 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7777 --target=${target_alias} $${srcdiroption} \
7785 .PHONY: all-fixincludes maybe-all-fixincludes
7786 maybe-all-fixincludes:
7788 all-fixincludes: stage_current
7789 @endif gcc-bootstrap
7791 TARGET-fixincludes=all
7792 maybe-all-fixincludes: all-fixincludes
7793 all-fixincludes: configure-fixincludes
7794 @: $(MAKE); $(unstage)
7795 @r=`${PWD_COMMAND}`; export r; \
7796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7798 (cd $(HOST_SUBDIR)/fixincludes && \
7799 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7800 $(TARGET-fixincludes))
7806 .PHONY: check-fixincludes maybe-check-fixincludes
7807 maybe-check-fixincludes:
7809 maybe-check-fixincludes: check-fixincludes
7812 @: $(MAKE); $(unstage)
7813 @r=`${PWD_COMMAND}`; export r; \
7814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7816 (cd $(HOST_SUBDIR)/fixincludes && \
7817 $(MAKE) $(FLAGS_TO_PASS) check)
7821 .PHONY: install-fixincludes maybe-install-fixincludes
7822 maybe-install-fixincludes:
7824 maybe-install-fixincludes: install-fixincludes
7826 install-fixincludes: installdirs
7827 @: $(MAKE); $(unstage)
7828 @r=`${PWD_COMMAND}`; export r; \
7829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7831 (cd $(HOST_SUBDIR)/fixincludes && \
7832 $(MAKE) $(FLAGS_TO_PASS) install)
7836 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
7837 maybe-install-strip-fixincludes:
7839 maybe-install-strip-fixincludes: install-strip-fixincludes
7841 install-strip-fixincludes: installdirs
7842 @: $(MAKE); $(unstage)
7843 @r=`${PWD_COMMAND}`; export r; \
7844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7846 (cd $(HOST_SUBDIR)/fixincludes && \
7847 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7851 # Other targets (info, dvi, pdf, etc.)
7853 .PHONY: maybe-info-fixincludes info-fixincludes
7854 maybe-info-fixincludes:
7856 maybe-info-fixincludes: info-fixincludes
7859 configure-fixincludes
7860 @: $(MAKE); $(unstage)
7861 @[ -f ./fixincludes/Makefile ] || exit 0; \
7862 r=`${PWD_COMMAND}`; export r; \
7863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7865 for flag in $(EXTRA_HOST_FLAGS) ; do \
7866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7868 echo "Doing info in fixincludes" ; \
7869 (cd $(HOST_SUBDIR)/fixincludes && \
7870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7872 "RANLIB=$${RANLIB}" \
7873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7879 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
7880 maybe-dvi-fixincludes:
7882 maybe-dvi-fixincludes: dvi-fixincludes
7885 configure-fixincludes
7886 @: $(MAKE); $(unstage)
7887 @[ -f ./fixincludes/Makefile ] || exit 0; \
7888 r=`${PWD_COMMAND}`; export r; \
7889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7891 for flag in $(EXTRA_HOST_FLAGS) ; do \
7892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7894 echo "Doing dvi in fixincludes" ; \
7895 (cd $(HOST_SUBDIR)/fixincludes && \
7896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7898 "RANLIB=$${RANLIB}" \
7899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7905 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
7906 maybe-pdf-fixincludes:
7908 maybe-pdf-fixincludes: pdf-fixincludes
7911 configure-fixincludes
7912 @: $(MAKE); $(unstage)
7913 @[ -f ./fixincludes/Makefile ] || exit 0; \
7914 r=`${PWD_COMMAND}`; export r; \
7915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7917 for flag in $(EXTRA_HOST_FLAGS) ; do \
7918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7920 echo "Doing pdf in fixincludes" ; \
7921 (cd $(HOST_SUBDIR)/fixincludes && \
7922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7924 "RANLIB=$${RANLIB}" \
7925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7931 .PHONY: maybe-html-fixincludes html-fixincludes
7932 maybe-html-fixincludes:
7934 maybe-html-fixincludes: html-fixincludes
7937 configure-fixincludes
7938 @: $(MAKE); $(unstage)
7939 @[ -f ./fixincludes/Makefile ] || exit 0; \
7940 r=`${PWD_COMMAND}`; export r; \
7941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7943 for flag in $(EXTRA_HOST_FLAGS) ; do \
7944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7946 echo "Doing html in fixincludes" ; \
7947 (cd $(HOST_SUBDIR)/fixincludes && \
7948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7950 "RANLIB=$${RANLIB}" \
7951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7957 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
7958 maybe-TAGS-fixincludes:
7960 maybe-TAGS-fixincludes: TAGS-fixincludes
7962 # fixincludes doesn't support TAGS.
7967 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
7968 maybe-install-info-fixincludes:
7970 maybe-install-info-fixincludes: install-info-fixincludes
7972 install-info-fixincludes: \
7973 configure-fixincludes \
7975 @: $(MAKE); $(unstage)
7976 @[ -f ./fixincludes/Makefile ] || exit 0; \
7977 r=`${PWD_COMMAND}`; export r; \
7978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7980 for flag in $(EXTRA_HOST_FLAGS) ; do \
7981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7983 echo "Doing install-info in fixincludes" ; \
7984 (cd $(HOST_SUBDIR)/fixincludes && \
7985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7987 "RANLIB=$${RANLIB}" \
7988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7994 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
7995 maybe-install-pdf-fixincludes:
7997 maybe-install-pdf-fixincludes: install-pdf-fixincludes
7999 install-pdf-fixincludes: \
8000 configure-fixincludes \
8002 @: $(MAKE); $(unstage)
8003 @[ -f ./fixincludes/Makefile ] || exit 0; \
8004 r=`${PWD_COMMAND}`; export r; \
8005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8007 for flag in $(EXTRA_HOST_FLAGS) ; do \
8008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8010 echo "Doing install-pdf in fixincludes" ; \
8011 (cd $(HOST_SUBDIR)/fixincludes && \
8012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8014 "RANLIB=$${RANLIB}" \
8015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8021 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8022 maybe-install-html-fixincludes:
8024 maybe-install-html-fixincludes: install-html-fixincludes
8026 install-html-fixincludes: \
8027 configure-fixincludes \
8029 @: $(MAKE); $(unstage)
8030 @[ -f ./fixincludes/Makefile ] || exit 0; \
8031 r=`${PWD_COMMAND}`; export r; \
8032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8034 for flag in $(EXTRA_HOST_FLAGS) ; do \
8035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8037 echo "Doing install-html in fixincludes" ; \
8038 (cd $(HOST_SUBDIR)/fixincludes && \
8039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8041 "RANLIB=$${RANLIB}" \
8042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8048 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8049 maybe-installcheck-fixincludes:
8051 maybe-installcheck-fixincludes: installcheck-fixincludes
8053 installcheck-fixincludes: \
8054 configure-fixincludes
8055 @: $(MAKE); $(unstage)
8056 @[ -f ./fixincludes/Makefile ] || exit 0; \
8057 r=`${PWD_COMMAND}`; export r; \
8058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8060 for flag in $(EXTRA_HOST_FLAGS) ; do \
8061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8063 echo "Doing installcheck in fixincludes" ; \
8064 (cd $(HOST_SUBDIR)/fixincludes && \
8065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8067 "RANLIB=$${RANLIB}" \
8068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8074 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8075 maybe-mostlyclean-fixincludes:
8077 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8079 mostlyclean-fixincludes:
8080 @: $(MAKE); $(unstage)
8081 @[ -f ./fixincludes/Makefile ] || exit 0; \
8082 r=`${PWD_COMMAND}`; export r; \
8083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8085 for flag in $(EXTRA_HOST_FLAGS) ; do \
8086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8088 echo "Doing mostlyclean in fixincludes" ; \
8089 (cd $(HOST_SUBDIR)/fixincludes && \
8090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8092 "RANLIB=$${RANLIB}" \
8093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8099 .PHONY: maybe-clean-fixincludes clean-fixincludes
8100 maybe-clean-fixincludes:
8102 maybe-clean-fixincludes: clean-fixincludes
8105 @: $(MAKE); $(unstage)
8106 @[ -f ./fixincludes/Makefile ] || exit 0; \
8107 r=`${PWD_COMMAND}`; export r; \
8108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8110 for flag in $(EXTRA_HOST_FLAGS) ; do \
8111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8113 echo "Doing clean in fixincludes" ; \
8114 (cd $(HOST_SUBDIR)/fixincludes && \
8115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8117 "RANLIB=$${RANLIB}" \
8118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8124 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8125 maybe-distclean-fixincludes:
8127 maybe-distclean-fixincludes: distclean-fixincludes
8129 distclean-fixincludes:
8130 @: $(MAKE); $(unstage)
8131 @[ -f ./fixincludes/Makefile ] || exit 0; \
8132 r=`${PWD_COMMAND}`; export r; \
8133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8135 for flag in $(EXTRA_HOST_FLAGS) ; do \
8136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8138 echo "Doing distclean in fixincludes" ; \
8139 (cd $(HOST_SUBDIR)/fixincludes && \
8140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8142 "RANLIB=$${RANLIB}" \
8143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8149 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8150 maybe-maintainer-clean-fixincludes:
8152 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8154 maintainer-clean-fixincludes:
8155 @: $(MAKE); $(unstage)
8156 @[ -f ./fixincludes/Makefile ] || exit 0; \
8157 r=`${PWD_COMMAND}`; export r; \
8158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8160 for flag in $(EXTRA_HOST_FLAGS) ; do \
8161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8163 echo "Doing maintainer-clean in fixincludes" ; \
8164 (cd $(HOST_SUBDIR)/fixincludes && \
8165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8167 "RANLIB=$${RANLIB}" \
8168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8176 .PHONY: configure-flex maybe-configure-flex
8177 maybe-configure-flex:
8179 configure-flex: stage_current
8180 @endif gcc-bootstrap
8182 maybe-configure-flex: configure-flex
8184 @: $(MAKE); $(unstage)
8185 @r=`${PWD_COMMAND}`; export r; \
8186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8187 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8190 echo Configuring in $(HOST_SUBDIR)/flex; \
8191 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8194 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8197 srcdiroption="--srcdir=$${topdir}/flex"; \
8198 libsrcdir="$$s/flex"; \
8199 $(SHELL) $${libsrcdir}/configure \
8200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8201 --target=${target_alias} $${srcdiroption} \
8209 .PHONY: all-flex maybe-all-flex
8212 all-flex: stage_current
8213 @endif gcc-bootstrap
8216 maybe-all-flex: all-flex
8217 all-flex: configure-flex
8218 @: $(MAKE); $(unstage)
8219 @r=`${PWD_COMMAND}`; export r; \
8220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8222 (cd $(HOST_SUBDIR)/flex && \
8223 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8230 .PHONY: check-flex maybe-check-flex
8233 maybe-check-flex: check-flex
8235 # This module is only tested in a native toolchain.
8237 @: $(MAKE); $(unstage)
8238 @if [ '$(host)' = '$(target)' ] ; then \
8239 r=`${PWD_COMMAND}`; export r; \
8240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8242 (cd $(HOST_SUBDIR)/flex && \
8243 $(MAKE) $(FLAGS_TO_PASS) check); \
8248 .PHONY: install-flex maybe-install-flex
8251 maybe-install-flex: install-flex
8253 install-flex: installdirs
8254 @: $(MAKE); $(unstage)
8255 @r=`${PWD_COMMAND}`; export r; \
8256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8258 (cd $(HOST_SUBDIR)/flex && \
8259 $(MAKE) $(FLAGS_TO_PASS) install)
8263 .PHONY: install-strip-flex maybe-install-strip-flex
8264 maybe-install-strip-flex:
8266 maybe-install-strip-flex: install-strip-flex
8268 install-strip-flex: installdirs
8269 @: $(MAKE); $(unstage)
8270 @r=`${PWD_COMMAND}`; export r; \
8271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8273 (cd $(HOST_SUBDIR)/flex && \
8274 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8278 # Other targets (info, dvi, pdf, etc.)
8280 .PHONY: maybe-info-flex info-flex
8283 maybe-info-flex: info-flex
8287 @: $(MAKE); $(unstage)
8288 @[ -f ./flex/Makefile ] || exit 0; \
8289 r=`${PWD_COMMAND}`; export r; \
8290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8292 for flag in $(EXTRA_HOST_FLAGS) ; do \
8293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8295 echo "Doing info in flex" ; \
8296 (cd $(HOST_SUBDIR)/flex && \
8297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8299 "RANLIB=$${RANLIB}" \
8300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8306 .PHONY: maybe-dvi-flex dvi-flex
8309 maybe-dvi-flex: dvi-flex
8313 @: $(MAKE); $(unstage)
8314 @[ -f ./flex/Makefile ] || exit 0; \
8315 r=`${PWD_COMMAND}`; export r; \
8316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8318 for flag in $(EXTRA_HOST_FLAGS) ; do \
8319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8321 echo "Doing dvi in flex" ; \
8322 (cd $(HOST_SUBDIR)/flex && \
8323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8325 "RANLIB=$${RANLIB}" \
8326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8332 .PHONY: maybe-pdf-flex pdf-flex
8335 maybe-pdf-flex: pdf-flex
8339 @: $(MAKE); $(unstage)
8340 @[ -f ./flex/Makefile ] || exit 0; \
8341 r=`${PWD_COMMAND}`; export r; \
8342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8344 for flag in $(EXTRA_HOST_FLAGS) ; do \
8345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8347 echo "Doing pdf in flex" ; \
8348 (cd $(HOST_SUBDIR)/flex && \
8349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8351 "RANLIB=$${RANLIB}" \
8352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8358 .PHONY: maybe-html-flex html-flex
8361 maybe-html-flex: html-flex
8365 @: $(MAKE); $(unstage)
8366 @[ -f ./flex/Makefile ] || exit 0; \
8367 r=`${PWD_COMMAND}`; export r; \
8368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8370 for flag in $(EXTRA_HOST_FLAGS) ; do \
8371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8373 echo "Doing html in flex" ; \
8374 (cd $(HOST_SUBDIR)/flex && \
8375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8377 "RANLIB=$${RANLIB}" \
8378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8384 .PHONY: maybe-TAGS-flex TAGS-flex
8387 maybe-TAGS-flex: TAGS-flex
8391 @: $(MAKE); $(unstage)
8392 @[ -f ./flex/Makefile ] || exit 0; \
8393 r=`${PWD_COMMAND}`; export r; \
8394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8396 for flag in $(EXTRA_HOST_FLAGS) ; do \
8397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8399 echo "Doing TAGS in flex" ; \
8400 (cd $(HOST_SUBDIR)/flex && \
8401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8403 "RANLIB=$${RANLIB}" \
8404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8410 .PHONY: maybe-install-info-flex install-info-flex
8411 maybe-install-info-flex:
8413 maybe-install-info-flex: install-info-flex
8415 install-info-flex: \
8418 @: $(MAKE); $(unstage)
8419 @[ -f ./flex/Makefile ] || exit 0; \
8420 r=`${PWD_COMMAND}`; export r; \
8421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8423 for flag in $(EXTRA_HOST_FLAGS) ; do \
8424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8426 echo "Doing install-info in flex" ; \
8427 (cd $(HOST_SUBDIR)/flex && \
8428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8430 "RANLIB=$${RANLIB}" \
8431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8437 .PHONY: maybe-install-pdf-flex install-pdf-flex
8438 maybe-install-pdf-flex:
8440 maybe-install-pdf-flex: install-pdf-flex
8445 @: $(MAKE); $(unstage)
8446 @[ -f ./flex/Makefile ] || exit 0; \
8447 r=`${PWD_COMMAND}`; export r; \
8448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450 for flag in $(EXTRA_HOST_FLAGS) ; do \
8451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8453 echo "Doing install-pdf in flex" ; \
8454 (cd $(HOST_SUBDIR)/flex && \
8455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8457 "RANLIB=$${RANLIB}" \
8458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8464 .PHONY: maybe-install-html-flex install-html-flex
8465 maybe-install-html-flex:
8467 maybe-install-html-flex: install-html-flex
8469 install-html-flex: \
8472 @: $(MAKE); $(unstage)
8473 @[ -f ./flex/Makefile ] || exit 0; \
8474 r=`${PWD_COMMAND}`; export r; \
8475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8477 for flag in $(EXTRA_HOST_FLAGS) ; do \
8478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8480 echo "Doing install-html in flex" ; \
8481 (cd $(HOST_SUBDIR)/flex && \
8482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8484 "RANLIB=$${RANLIB}" \
8485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8491 .PHONY: maybe-installcheck-flex installcheck-flex
8492 maybe-installcheck-flex:
8494 maybe-installcheck-flex: installcheck-flex
8496 installcheck-flex: \
8498 @: $(MAKE); $(unstage)
8499 @[ -f ./flex/Makefile ] || exit 0; \
8500 r=`${PWD_COMMAND}`; export r; \
8501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8503 for flag in $(EXTRA_HOST_FLAGS) ; do \
8504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8506 echo "Doing installcheck in flex" ; \
8507 (cd $(HOST_SUBDIR)/flex && \
8508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8510 "RANLIB=$${RANLIB}" \
8511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8517 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8518 maybe-mostlyclean-flex:
8520 maybe-mostlyclean-flex: mostlyclean-flex
8523 @: $(MAKE); $(unstage)
8524 @[ -f ./flex/Makefile ] || exit 0; \
8525 r=`${PWD_COMMAND}`; export r; \
8526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8528 for flag in $(EXTRA_HOST_FLAGS) ; do \
8529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8531 echo "Doing mostlyclean in flex" ; \
8532 (cd $(HOST_SUBDIR)/flex && \
8533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8535 "RANLIB=$${RANLIB}" \
8536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8542 .PHONY: maybe-clean-flex clean-flex
8545 maybe-clean-flex: clean-flex
8548 @: $(MAKE); $(unstage)
8549 @[ -f ./flex/Makefile ] || exit 0; \
8550 r=`${PWD_COMMAND}`; export r; \
8551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8553 for flag in $(EXTRA_HOST_FLAGS) ; do \
8554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8556 echo "Doing clean in flex" ; \
8557 (cd $(HOST_SUBDIR)/flex && \
8558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8560 "RANLIB=$${RANLIB}" \
8561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8567 .PHONY: maybe-distclean-flex distclean-flex
8568 maybe-distclean-flex:
8570 maybe-distclean-flex: distclean-flex
8573 @: $(MAKE); $(unstage)
8574 @[ -f ./flex/Makefile ] || exit 0; \
8575 r=`${PWD_COMMAND}`; export r; \
8576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8578 for flag in $(EXTRA_HOST_FLAGS) ; do \
8579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8581 echo "Doing distclean in flex" ; \
8582 (cd $(HOST_SUBDIR)/flex && \
8583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8585 "RANLIB=$${RANLIB}" \
8586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8592 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8593 maybe-maintainer-clean-flex:
8595 maybe-maintainer-clean-flex: maintainer-clean-flex
8597 maintainer-clean-flex:
8598 @: $(MAKE); $(unstage)
8599 @[ -f ./flex/Makefile ] || exit 0; \
8600 r=`${PWD_COMMAND}`; export r; \
8601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8603 for flag in $(EXTRA_HOST_FLAGS) ; do \
8604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8606 echo "Doing maintainer-clean in flex" ; \
8607 (cd $(HOST_SUBDIR)/flex && \
8608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8610 "RANLIB=$${RANLIB}" \
8611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8619 .PHONY: configure-gas maybe-configure-gas
8620 maybe-configure-gas:
8622 configure-gas: stage_current
8623 @endif gcc-bootstrap
8625 maybe-configure-gas: configure-gas
8627 @r=`${PWD_COMMAND}`; export r; \
8628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8629 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8632 echo Configuring in $(HOST_SUBDIR)/gas; \
8633 cd "$(HOST_SUBDIR)/gas" || exit 1; \
8635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8636 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8639 srcdiroption="--srcdir=$${topdir}/gas"; \
8640 libsrcdir="$$s/gas"; \
8641 $(SHELL) $${libsrcdir}/configure \
8642 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8643 --target=${target_alias} $${srcdiroption} \
8649 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
8650 maybe-configure-stage1-gas:
8652 maybe-configure-stage1-gas: configure-stage1-gas
8653 configure-stage1-gas:
8654 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8656 @r=`${PWD_COMMAND}`; export r; \
8657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8658 TFLAGS="$(STAGE1_TFLAGS)"; \
8659 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8661 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8662 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8663 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8664 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
8665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8666 cd $(HOST_SUBDIR)/gas || exit 1; \
8668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8669 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8672 srcdiroption="--srcdir=$${topdir}/gas"; \
8673 libsrcdir="$$s/gas"; \
8674 $(SHELL) $${libsrcdir}/configure \
8675 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8676 --target=${target_alias} $${srcdiroption} \
8677 $(STAGE1_CONFIGURE_FLAGS)
8678 @endif gas-bootstrap
8680 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
8681 maybe-configure-stage2-gas:
8683 maybe-configure-stage2-gas: configure-stage2-gas
8684 configure-stage2-gas:
8685 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8686 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8687 @r=`${PWD_COMMAND}`; export r; \
8688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8689 TFLAGS="$(STAGE2_TFLAGS)"; \
8690 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8692 $(POSTSTAGE1_HOST_EXPORTS) \
8693 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8694 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8695 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8696 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
8697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8698 cd $(HOST_SUBDIR)/gas || exit 1; \
8700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8701 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8704 srcdiroption="--srcdir=$${topdir}/gas"; \
8705 libsrcdir="$$s/gas"; \
8706 $(SHELL) $${libsrcdir}/configure \
8707 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8708 --target=${target_alias} $${srcdiroption} \
8709 --with-build-libsubdir=$(HOST_SUBDIR) \
8710 $(STAGE2_CONFIGURE_FLAGS)
8711 @endif gas-bootstrap
8713 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
8714 maybe-configure-stage3-gas:
8716 maybe-configure-stage3-gas: configure-stage3-gas
8717 configure-stage3-gas:
8718 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8719 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8720 @r=`${PWD_COMMAND}`; export r; \
8721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8722 TFLAGS="$(STAGE3_TFLAGS)"; \
8723 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8725 $(POSTSTAGE1_HOST_EXPORTS) \
8726 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8727 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8728 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8729 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
8730 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8731 cd $(HOST_SUBDIR)/gas || exit 1; \
8733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8734 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8737 srcdiroption="--srcdir=$${topdir}/gas"; \
8738 libsrcdir="$$s/gas"; \
8739 $(SHELL) $${libsrcdir}/configure \
8740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8741 --target=${target_alias} $${srcdiroption} \
8742 --with-build-libsubdir=$(HOST_SUBDIR) \
8743 $(STAGE3_CONFIGURE_FLAGS)
8744 @endif gas-bootstrap
8746 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
8747 maybe-configure-stage4-gas:
8749 maybe-configure-stage4-gas: configure-stage4-gas
8750 configure-stage4-gas:
8751 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8752 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8753 @r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 TFLAGS="$(STAGE4_TFLAGS)"; \
8756 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8758 $(POSTSTAGE1_HOST_EXPORTS) \
8759 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8760 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8761 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8762 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
8763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8764 cd $(HOST_SUBDIR)/gas || exit 1; \
8766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8767 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8770 srcdiroption="--srcdir=$${topdir}/gas"; \
8771 libsrcdir="$$s/gas"; \
8772 $(SHELL) $${libsrcdir}/configure \
8773 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8774 --target=${target_alias} $${srcdiroption} \
8775 --with-build-libsubdir=$(HOST_SUBDIR) \
8776 $(STAGE4_CONFIGURE_FLAGS)
8777 @endif gas-bootstrap
8779 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
8780 maybe-configure-stageprofile-gas:
8782 maybe-configure-stageprofile-gas: configure-stageprofile-gas
8783 configure-stageprofile-gas:
8784 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8785 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8786 @r=`${PWD_COMMAND}`; export r; \
8787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8788 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8789 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8791 $(POSTSTAGE1_HOST_EXPORTS) \
8792 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8793 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8794 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8795 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
8796 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8797 cd $(HOST_SUBDIR)/gas || exit 1; \
8799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8800 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8803 srcdiroption="--srcdir=$${topdir}/gas"; \
8804 libsrcdir="$$s/gas"; \
8805 $(SHELL) $${libsrcdir}/configure \
8806 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8807 --target=${target_alias} $${srcdiroption} \
8808 --with-build-libsubdir=$(HOST_SUBDIR) \
8809 $(STAGEprofile_CONFIGURE_FLAGS)
8810 @endif gas-bootstrap
8812 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
8813 maybe-configure-stagefeedback-gas:
8815 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
8816 configure-stagefeedback-gas:
8817 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8818 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
8819 @r=`${PWD_COMMAND}`; export r; \
8820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8821 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8822 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8824 $(POSTSTAGE1_HOST_EXPORTS) \
8825 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8826 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8827 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8828 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
8829 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8830 cd $(HOST_SUBDIR)/gas || exit 1; \
8832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8833 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8836 srcdiroption="--srcdir=$${topdir}/gas"; \
8837 libsrcdir="$$s/gas"; \
8838 $(SHELL) $${libsrcdir}/configure \
8839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8840 --target=${target_alias} $${srcdiroption} \
8841 --with-build-libsubdir=$(HOST_SUBDIR) \
8842 $(STAGEfeedback_CONFIGURE_FLAGS)
8843 @endif gas-bootstrap
8849 .PHONY: all-gas maybe-all-gas
8852 all-gas: stage_current
8853 @endif gcc-bootstrap
8856 maybe-all-gas: all-gas
8857 all-gas: configure-gas
8858 @r=`${PWD_COMMAND}`; export r; \
8859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8861 (cd $(HOST_SUBDIR)/gas && \
8862 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8868 .PHONY: all-stage1-gas maybe-all-stage1-gas
8869 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
8870 maybe-all-stage1-gas:
8871 maybe-clean-stage1-gas:
8873 maybe-all-stage1-gas: all-stage1-gas
8874 all-stage1: all-stage1-gas
8875 TARGET-stage1-gas = $(TARGET-gas)
8876 all-stage1-gas: configure-stage1-gas
8877 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8878 @r=`${PWD_COMMAND}`; export r; \
8879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8880 TFLAGS="$(STAGE1_TFLAGS)"; \
8882 cd $(HOST_SUBDIR)/gas && \
8883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8884 CFLAGS="$(STAGE1_CFLAGS)" \
8885 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8886 LIBCFLAGS="$(LIBCFLAGS)" \
8887 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8888 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8889 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8890 $(EXTRA_HOST_FLAGS) \
8891 $(STAGE1_FLAGS_TO_PASS) \
8892 TFLAGS="$(STAGE1_TFLAGS)" \
8893 $(TARGET-stage1-gas)
8895 maybe-clean-stage1-gas: clean-stage1-gas
8896 clean-stage1: clean-stage1-gas
8898 @if [ $(current_stage) = stage1 ]; then \
8899 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8901 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
8902 $(MAKE) stage1-start; \
8904 cd $(HOST_SUBDIR)/gas && \
8905 $(MAKE) $(EXTRA_HOST_FLAGS) \
8906 $(STAGE1_FLAGS_TO_PASS) clean
8907 @endif gas-bootstrap
8910 .PHONY: all-stage2-gas maybe-all-stage2-gas
8911 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
8912 maybe-all-stage2-gas:
8913 maybe-clean-stage2-gas:
8915 maybe-all-stage2-gas: all-stage2-gas
8916 all-stage2: all-stage2-gas
8917 TARGET-stage2-gas = $(TARGET-gas)
8918 all-stage2-gas: configure-stage2-gas
8919 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8920 @r=`${PWD_COMMAND}`; export r; \
8921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8922 TFLAGS="$(STAGE2_TFLAGS)"; \
8924 $(POSTSTAGE1_HOST_EXPORTS) \
8925 cd $(HOST_SUBDIR)/gas && \
8926 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8927 CFLAGS="$(STAGE2_CFLAGS)" \
8928 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8929 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8930 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8931 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8932 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8933 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8934 TFLAGS="$(STAGE2_TFLAGS)" \
8935 $(TARGET-stage2-gas)
8937 maybe-clean-stage2-gas: clean-stage2-gas
8938 clean-stage2: clean-stage2-gas
8940 @if [ $(current_stage) = stage2 ]; then \
8941 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8943 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
8944 $(MAKE) stage2-start; \
8946 cd $(HOST_SUBDIR)/gas && \
8947 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8948 @endif gas-bootstrap
8951 .PHONY: all-stage3-gas maybe-all-stage3-gas
8952 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
8953 maybe-all-stage3-gas:
8954 maybe-clean-stage3-gas:
8956 maybe-all-stage3-gas: all-stage3-gas
8957 all-stage3: all-stage3-gas
8958 TARGET-stage3-gas = $(TARGET-gas)
8959 all-stage3-gas: configure-stage3-gas
8960 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8961 @r=`${PWD_COMMAND}`; export r; \
8962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8963 TFLAGS="$(STAGE3_TFLAGS)"; \
8965 $(POSTSTAGE1_HOST_EXPORTS) \
8966 cd $(HOST_SUBDIR)/gas && \
8967 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8968 CFLAGS="$(STAGE3_CFLAGS)" \
8969 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8970 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8971 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8972 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8973 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8974 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8975 TFLAGS="$(STAGE3_TFLAGS)" \
8976 $(TARGET-stage3-gas)
8978 maybe-clean-stage3-gas: clean-stage3-gas
8979 clean-stage3: clean-stage3-gas
8981 @if [ $(current_stage) = stage3 ]; then \
8982 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
8984 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
8985 $(MAKE) stage3-start; \
8987 cd $(HOST_SUBDIR)/gas && \
8988 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8989 @endif gas-bootstrap
8992 .PHONY: all-stage4-gas maybe-all-stage4-gas
8993 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
8994 maybe-all-stage4-gas:
8995 maybe-clean-stage4-gas:
8997 maybe-all-stage4-gas: all-stage4-gas
8998 all-stage4: all-stage4-gas
8999 TARGET-stage4-gas = $(TARGET-gas)
9000 all-stage4-gas: configure-stage4-gas
9001 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9002 @r=`${PWD_COMMAND}`; export r; \
9003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9004 TFLAGS="$(STAGE4_TFLAGS)"; \
9006 $(POSTSTAGE1_HOST_EXPORTS) \
9007 cd $(HOST_SUBDIR)/gas && \
9008 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9009 CFLAGS="$(STAGE4_CFLAGS)" \
9010 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9011 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9012 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9013 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9014 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9015 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9016 TFLAGS="$(STAGE4_TFLAGS)" \
9017 $(TARGET-stage4-gas)
9019 maybe-clean-stage4-gas: clean-stage4-gas
9020 clean-stage4: clean-stage4-gas
9022 @if [ $(current_stage) = stage4 ]; then \
9023 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9025 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9026 $(MAKE) stage4-start; \
9028 cd $(HOST_SUBDIR)/gas && \
9029 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9030 @endif gas-bootstrap
9033 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9034 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9035 maybe-all-stageprofile-gas:
9036 maybe-clean-stageprofile-gas:
9038 maybe-all-stageprofile-gas: all-stageprofile-gas
9039 all-stageprofile: all-stageprofile-gas
9040 TARGET-stageprofile-gas = $(TARGET-gas)
9041 all-stageprofile-gas: configure-stageprofile-gas
9042 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9043 @r=`${PWD_COMMAND}`; export r; \
9044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9045 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9047 $(POSTSTAGE1_HOST_EXPORTS) \
9048 cd $(HOST_SUBDIR)/gas && \
9049 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9050 CFLAGS="$(STAGEprofile_CFLAGS)" \
9051 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9052 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9056 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9057 TFLAGS="$(STAGEprofile_TFLAGS)" \
9058 $(TARGET-stageprofile-gas)
9060 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9061 clean-stageprofile: clean-stageprofile-gas
9062 clean-stageprofile-gas:
9063 @if [ $(current_stage) = stageprofile ]; then \
9064 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9066 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9067 $(MAKE) stageprofile-start; \
9069 cd $(HOST_SUBDIR)/gas && \
9070 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9071 @endif gas-bootstrap
9074 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9075 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9076 maybe-all-stagefeedback-gas:
9077 maybe-clean-stagefeedback-gas:
9079 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9080 all-stagefeedback: all-stagefeedback-gas
9081 TARGET-stagefeedback-gas = $(TARGET-gas)
9082 all-stagefeedback-gas: configure-stagefeedback-gas
9083 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9084 @r=`${PWD_COMMAND}`; export r; \
9085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9086 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9088 $(POSTSTAGE1_HOST_EXPORTS) \
9089 cd $(HOST_SUBDIR)/gas && \
9090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9091 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9092 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9093 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9094 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9095 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9096 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9097 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9098 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9099 $(TARGET-stagefeedback-gas)
9101 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9102 clean-stagefeedback: clean-stagefeedback-gas
9103 clean-stagefeedback-gas:
9104 @if [ $(current_stage) = stagefeedback ]; then \
9105 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9107 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9108 $(MAKE) stagefeedback-start; \
9110 cd $(HOST_SUBDIR)/gas && \
9111 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9112 @endif gas-bootstrap
9118 .PHONY: check-gas maybe-check-gas
9121 maybe-check-gas: check-gas
9124 @: $(MAKE); $(unstage)
9125 @r=`${PWD_COMMAND}`; export r; \
9126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128 (cd $(HOST_SUBDIR)/gas && \
9129 $(MAKE) $(FLAGS_TO_PASS) check)
9133 .PHONY: install-gas maybe-install-gas
9136 maybe-install-gas: install-gas
9138 install-gas: installdirs
9139 @: $(MAKE); $(unstage)
9140 @r=`${PWD_COMMAND}`; export r; \
9141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9143 (cd $(HOST_SUBDIR)/gas && \
9144 $(MAKE) $(FLAGS_TO_PASS) install)
9148 .PHONY: install-strip-gas maybe-install-strip-gas
9149 maybe-install-strip-gas:
9151 maybe-install-strip-gas: install-strip-gas
9153 install-strip-gas: installdirs
9154 @: $(MAKE); $(unstage)
9155 @r=`${PWD_COMMAND}`; export r; \
9156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9158 (cd $(HOST_SUBDIR)/gas && \
9159 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9163 # Other targets (info, dvi, pdf, etc.)
9165 .PHONY: maybe-info-gas info-gas
9168 maybe-info-gas: info-gas
9172 @[ -f ./gas/Makefile ] || exit 0; \
9173 r=`${PWD_COMMAND}`; export r; \
9174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9176 for flag in $(EXTRA_HOST_FLAGS) ; do \
9177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9179 echo "Doing info in gas" ; \
9180 (cd $(HOST_SUBDIR)/gas && \
9181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9183 "RANLIB=$${RANLIB}" \
9184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9190 .PHONY: maybe-dvi-gas dvi-gas
9193 maybe-dvi-gas: dvi-gas
9197 @[ -f ./gas/Makefile ] || exit 0; \
9198 r=`${PWD_COMMAND}`; export r; \
9199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9201 for flag in $(EXTRA_HOST_FLAGS) ; do \
9202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9204 echo "Doing dvi in gas" ; \
9205 (cd $(HOST_SUBDIR)/gas && \
9206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9208 "RANLIB=$${RANLIB}" \
9209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9215 .PHONY: maybe-pdf-gas pdf-gas
9218 maybe-pdf-gas: pdf-gas
9222 @[ -f ./gas/Makefile ] || exit 0; \
9223 r=`${PWD_COMMAND}`; export r; \
9224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9226 for flag in $(EXTRA_HOST_FLAGS) ; do \
9227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9229 echo "Doing pdf in gas" ; \
9230 (cd $(HOST_SUBDIR)/gas && \
9231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9233 "RANLIB=$${RANLIB}" \
9234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9240 .PHONY: maybe-html-gas html-gas
9243 maybe-html-gas: html-gas
9247 @[ -f ./gas/Makefile ] || exit 0; \
9248 r=`${PWD_COMMAND}`; export r; \
9249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9251 for flag in $(EXTRA_HOST_FLAGS) ; do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9254 echo "Doing html in gas" ; \
9255 (cd $(HOST_SUBDIR)/gas && \
9256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9258 "RANLIB=$${RANLIB}" \
9259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9265 .PHONY: maybe-TAGS-gas TAGS-gas
9268 maybe-TAGS-gas: TAGS-gas
9272 @[ -f ./gas/Makefile ] || exit 0; \
9273 r=`${PWD_COMMAND}`; export r; \
9274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9276 for flag in $(EXTRA_HOST_FLAGS) ; do \
9277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9279 echo "Doing TAGS in gas" ; \
9280 (cd $(HOST_SUBDIR)/gas && \
9281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9283 "RANLIB=$${RANLIB}" \
9284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9290 .PHONY: maybe-install-info-gas install-info-gas
9291 maybe-install-info-gas:
9293 maybe-install-info-gas: install-info-gas
9298 @[ -f ./gas/Makefile ] || exit 0; \
9299 r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9302 for flag in $(EXTRA_HOST_FLAGS) ; do \
9303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9305 echo "Doing install-info in gas" ; \
9306 (cd $(HOST_SUBDIR)/gas && \
9307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9309 "RANLIB=$${RANLIB}" \
9310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9316 .PHONY: maybe-install-pdf-gas install-pdf-gas
9317 maybe-install-pdf-gas:
9319 maybe-install-pdf-gas: install-pdf-gas
9324 @[ -f ./gas/Makefile ] || exit 0; \
9325 r=`${PWD_COMMAND}`; export r; \
9326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328 for flag in $(EXTRA_HOST_FLAGS) ; do \
9329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9331 echo "Doing install-pdf in gas" ; \
9332 (cd $(HOST_SUBDIR)/gas && \
9333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9335 "RANLIB=$${RANLIB}" \
9336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9342 .PHONY: maybe-install-html-gas install-html-gas
9343 maybe-install-html-gas:
9345 maybe-install-html-gas: install-html-gas
9350 @[ -f ./gas/Makefile ] || exit 0; \
9351 r=`${PWD_COMMAND}`; export r; \
9352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 for flag in $(EXTRA_HOST_FLAGS) ; do \
9355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9357 echo "Doing install-html in gas" ; \
9358 (cd $(HOST_SUBDIR)/gas && \
9359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9361 "RANLIB=$${RANLIB}" \
9362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9368 .PHONY: maybe-installcheck-gas installcheck-gas
9369 maybe-installcheck-gas:
9371 maybe-installcheck-gas: installcheck-gas
9375 @[ -f ./gas/Makefile ] || exit 0; \
9376 r=`${PWD_COMMAND}`; export r; \
9377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9379 for flag in $(EXTRA_HOST_FLAGS) ; do \
9380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9382 echo "Doing installcheck in gas" ; \
9383 (cd $(HOST_SUBDIR)/gas && \
9384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9386 "RANLIB=$${RANLIB}" \
9387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9393 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9394 maybe-mostlyclean-gas:
9396 maybe-mostlyclean-gas: mostlyclean-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 mostlyclean 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-clean-gas clean-gas
9420 maybe-clean-gas: clean-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 clean 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-distclean-gas distclean-gas
9442 maybe-distclean-gas:
9444 maybe-distclean-gas: distclean-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 distclean 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-maintainer-clean-gas maintainer-clean-gas
9466 maybe-maintainer-clean-gas:
9468 maybe-maintainer-clean-gas: maintainer-clean-gas
9470 maintainer-clean-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 maintainer-clean 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}" \
9491 .PHONY: configure-gcc maybe-configure-gcc
9492 maybe-configure-gcc:
9494 configure-gcc: stage_current
9495 @endif gcc-bootstrap
9497 maybe-configure-gcc: configure-gcc
9499 @r=`${PWD_COMMAND}`; export r; \
9500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9501 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9504 echo Configuring in $(HOST_SUBDIR)/gcc; \
9505 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
9507 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9508 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9509 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9511 srcdiroption="--srcdir=$${topdir}/gcc"; \
9512 libsrcdir="$$s/gcc"; \
9513 $(SHELL) $${libsrcdir}/configure \
9514 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9515 --target=${target_alias} $${srcdiroption} \
9521 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
9522 maybe-configure-stage1-gcc:
9524 maybe-configure-stage1-gcc: configure-stage1-gcc
9525 configure-stage1-gcc:
9526 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9527 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9528 @r=`${PWD_COMMAND}`; export r; \
9529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9530 TFLAGS="$(STAGE1_TFLAGS)"; \
9531 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9533 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9534 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9535 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9536 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
9537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9538 cd $(HOST_SUBDIR)/gcc || exit 1; \
9540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9541 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9544 srcdiroption="--srcdir=$${topdir}/gcc"; \
9545 libsrcdir="$$s/gcc"; \
9546 $(SHELL) $${libsrcdir}/configure \
9547 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9548 --target=${target_alias} $${srcdiroption} \
9549 $(STAGE1_CONFIGURE_FLAGS)
9550 @endif gcc-bootstrap
9552 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
9553 maybe-configure-stage2-gcc:
9555 maybe-configure-stage2-gcc: configure-stage2-gcc
9556 configure-stage2-gcc:
9557 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9558 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9559 @r=`${PWD_COMMAND}`; export r; \
9560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9561 TFLAGS="$(STAGE2_TFLAGS)"; \
9562 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9564 $(POSTSTAGE1_HOST_EXPORTS) \
9565 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9566 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9567 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9568 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
9569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9570 cd $(HOST_SUBDIR)/gcc || exit 1; \
9572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9573 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9576 srcdiroption="--srcdir=$${topdir}/gcc"; \
9577 libsrcdir="$$s/gcc"; \
9578 $(SHELL) $${libsrcdir}/configure \
9579 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9580 --target=${target_alias} $${srcdiroption} \
9581 --with-build-libsubdir=$(HOST_SUBDIR) \
9582 $(STAGE2_CONFIGURE_FLAGS)
9583 @endif gcc-bootstrap
9585 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
9586 maybe-configure-stage3-gcc:
9588 maybe-configure-stage3-gcc: configure-stage3-gcc
9589 configure-stage3-gcc:
9590 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9591 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9592 @r=`${PWD_COMMAND}`; export r; \
9593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9594 TFLAGS="$(STAGE3_TFLAGS)"; \
9595 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9597 $(POSTSTAGE1_HOST_EXPORTS) \
9598 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9599 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9600 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9601 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
9602 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9603 cd $(HOST_SUBDIR)/gcc || exit 1; \
9605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9606 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9609 srcdiroption="--srcdir=$${topdir}/gcc"; \
9610 libsrcdir="$$s/gcc"; \
9611 $(SHELL) $${libsrcdir}/configure \
9612 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9613 --target=${target_alias} $${srcdiroption} \
9614 --with-build-libsubdir=$(HOST_SUBDIR) \
9615 $(STAGE3_CONFIGURE_FLAGS)
9616 @endif gcc-bootstrap
9618 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
9619 maybe-configure-stage4-gcc:
9621 maybe-configure-stage4-gcc: configure-stage4-gcc
9622 configure-stage4-gcc:
9623 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9625 @r=`${PWD_COMMAND}`; export r; \
9626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9627 TFLAGS="$(STAGE4_TFLAGS)"; \
9628 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9630 $(POSTSTAGE1_HOST_EXPORTS) \
9631 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9632 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9633 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9634 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
9635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9636 cd $(HOST_SUBDIR)/gcc || exit 1; \
9638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9639 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9642 srcdiroption="--srcdir=$${topdir}/gcc"; \
9643 libsrcdir="$$s/gcc"; \
9644 $(SHELL) $${libsrcdir}/configure \
9645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9646 --target=${target_alias} $${srcdiroption} \
9647 --with-build-libsubdir=$(HOST_SUBDIR) \
9648 $(STAGE4_CONFIGURE_FLAGS)
9649 @endif gcc-bootstrap
9651 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
9652 maybe-configure-stageprofile-gcc:
9654 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
9655 configure-stageprofile-gcc:
9656 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9657 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9658 @r=`${PWD_COMMAND}`; export r; \
9659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9660 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9661 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9663 $(POSTSTAGE1_HOST_EXPORTS) \
9664 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9665 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9666 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9667 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
9668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9669 cd $(HOST_SUBDIR)/gcc || exit 1; \
9671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9672 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9675 srcdiroption="--srcdir=$${topdir}/gcc"; \
9676 libsrcdir="$$s/gcc"; \
9677 $(SHELL) $${libsrcdir}/configure \
9678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9679 --target=${target_alias} $${srcdiroption} \
9680 --with-build-libsubdir=$(HOST_SUBDIR) \
9681 $(STAGEprofile_CONFIGURE_FLAGS)
9682 @endif gcc-bootstrap
9684 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
9685 maybe-configure-stagefeedback-gcc:
9687 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
9688 configure-stagefeedback-gcc:
9689 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
9691 @r=`${PWD_COMMAND}`; export r; \
9692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9693 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9694 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9696 $(POSTSTAGE1_HOST_EXPORTS) \
9697 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9698 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9699 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9700 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
9701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9702 cd $(HOST_SUBDIR)/gcc || exit 1; \
9704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9705 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9708 srcdiroption="--srcdir=$${topdir}/gcc"; \
9709 libsrcdir="$$s/gcc"; \
9710 $(SHELL) $${libsrcdir}/configure \
9711 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9712 --target=${target_alias} $${srcdiroption} \
9713 --with-build-libsubdir=$(HOST_SUBDIR) \
9714 $(STAGEfeedback_CONFIGURE_FLAGS)
9715 @endif gcc-bootstrap
9721 .PHONY: all-gcc maybe-all-gcc
9724 all-gcc: stage_current
9725 @endif gcc-bootstrap
9728 maybe-all-gcc: all-gcc
9729 all-gcc: configure-gcc
9730 @r=`${PWD_COMMAND}`; export r; \
9731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9733 (cd $(HOST_SUBDIR)/gcc && \
9734 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9740 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
9741 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
9742 maybe-all-stage1-gcc:
9743 maybe-clean-stage1-gcc:
9745 maybe-all-stage1-gcc: all-stage1-gcc
9746 all-stage1: all-stage1-gcc
9747 TARGET-stage1-gcc = $(TARGET-gcc)
9748 all-stage1-gcc: configure-stage1-gcc
9749 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9750 @r=`${PWD_COMMAND}`; export r; \
9751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9752 TFLAGS="$(STAGE1_TFLAGS)"; \
9754 cd $(HOST_SUBDIR)/gcc && \
9755 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9756 CFLAGS="$(STAGE1_CFLAGS)" \
9757 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9758 LIBCFLAGS="$(LIBCFLAGS)" \
9759 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9760 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9761 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9762 $(EXTRA_HOST_FLAGS) \
9763 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9764 TFLAGS="$(STAGE1_TFLAGS)" \
9765 $(TARGET-stage1-gcc)
9767 maybe-clean-stage1-gcc: clean-stage1-gcc
9768 clean-stage1: clean-stage1-gcc
9770 @if [ $(current_stage) = stage1 ]; then \
9771 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9773 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
9774 $(MAKE) stage1-start; \
9776 cd $(HOST_SUBDIR)/gcc && \
9777 $(MAKE) $(EXTRA_HOST_FLAGS) \
9778 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9779 @endif gcc-bootstrap
9782 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
9783 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
9784 maybe-all-stage2-gcc:
9785 maybe-clean-stage2-gcc:
9787 maybe-all-stage2-gcc: all-stage2-gcc
9788 all-stage2: all-stage2-gcc
9789 TARGET-stage2-gcc = $(TARGET-gcc)
9790 all-stage2-gcc: configure-stage2-gcc
9791 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9792 @r=`${PWD_COMMAND}`; export r; \
9793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9794 TFLAGS="$(STAGE2_TFLAGS)"; \
9796 $(POSTSTAGE1_HOST_EXPORTS) \
9797 cd $(HOST_SUBDIR)/gcc && \
9798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9799 CFLAGS="$(STAGE2_CFLAGS)" \
9800 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9801 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9802 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9803 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9804 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9805 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9806 TFLAGS="$(STAGE2_TFLAGS)" \
9807 $(TARGET-stage2-gcc)
9809 maybe-clean-stage2-gcc: clean-stage2-gcc
9810 clean-stage2: clean-stage2-gcc
9812 @if [ $(current_stage) = stage2 ]; then \
9813 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9815 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
9816 $(MAKE) stage2-start; \
9818 cd $(HOST_SUBDIR)/gcc && \
9819 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9820 @endif gcc-bootstrap
9823 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
9824 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
9825 maybe-all-stage3-gcc:
9826 maybe-clean-stage3-gcc:
9828 maybe-all-stage3-gcc: all-stage3-gcc
9829 all-stage3: all-stage3-gcc
9830 TARGET-stage3-gcc = $(TARGET-gcc)
9831 all-stage3-gcc: configure-stage3-gcc
9832 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9833 @r=`${PWD_COMMAND}`; export r; \
9834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9835 TFLAGS="$(STAGE3_TFLAGS)"; \
9837 $(POSTSTAGE1_HOST_EXPORTS) \
9838 cd $(HOST_SUBDIR)/gcc && \
9839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9840 CFLAGS="$(STAGE3_CFLAGS)" \
9841 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9842 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9846 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9847 TFLAGS="$(STAGE3_TFLAGS)" \
9848 $(TARGET-stage3-gcc)
9850 maybe-clean-stage3-gcc: clean-stage3-gcc
9851 clean-stage3: clean-stage3-gcc
9853 @if [ $(current_stage) = stage3 ]; then \
9854 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9856 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
9857 $(MAKE) stage3-start; \
9859 cd $(HOST_SUBDIR)/gcc && \
9860 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9861 @endif gcc-bootstrap
9864 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
9865 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
9866 maybe-all-stage4-gcc:
9867 maybe-clean-stage4-gcc:
9869 maybe-all-stage4-gcc: all-stage4-gcc
9870 all-stage4: all-stage4-gcc
9871 TARGET-stage4-gcc = $(TARGET-gcc)
9872 all-stage4-gcc: configure-stage4-gcc
9873 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9874 @r=`${PWD_COMMAND}`; export r; \
9875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9876 TFLAGS="$(STAGE4_TFLAGS)"; \
9878 $(POSTSTAGE1_HOST_EXPORTS) \
9879 cd $(HOST_SUBDIR)/gcc && \
9880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9881 CFLAGS="$(STAGE4_CFLAGS)" \
9882 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9883 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9887 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9888 TFLAGS="$(STAGE4_TFLAGS)" \
9889 $(TARGET-stage4-gcc)
9891 maybe-clean-stage4-gcc: clean-stage4-gcc
9892 clean-stage4: clean-stage4-gcc
9894 @if [ $(current_stage) = stage4 ]; then \
9895 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9897 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
9898 $(MAKE) stage4-start; \
9900 cd $(HOST_SUBDIR)/gcc && \
9901 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9902 @endif gcc-bootstrap
9905 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
9906 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
9907 maybe-all-stageprofile-gcc:
9908 maybe-clean-stageprofile-gcc:
9910 maybe-all-stageprofile-gcc: all-stageprofile-gcc
9911 all-stageprofile: all-stageprofile-gcc
9912 TARGET-stageprofile-gcc = $(TARGET-gcc)
9913 all-stageprofile-gcc: configure-stageprofile-gcc
9914 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9915 @r=`${PWD_COMMAND}`; export r; \
9916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9917 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9919 $(POSTSTAGE1_HOST_EXPORTS) \
9920 cd $(HOST_SUBDIR)/gcc && \
9921 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9922 CFLAGS="$(STAGEprofile_CFLAGS)" \
9923 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9924 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9925 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9928 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9929 TFLAGS="$(STAGEprofile_TFLAGS)" \
9930 $(TARGET-stageprofile-gcc)
9932 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
9933 clean-stageprofile: clean-stageprofile-gcc
9934 clean-stageprofile-gcc:
9935 @if [ $(current_stage) = stageprofile ]; then \
9936 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9938 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
9939 $(MAKE) stageprofile-start; \
9941 cd $(HOST_SUBDIR)/gcc && \
9942 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9943 @endif gcc-bootstrap
9946 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
9947 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
9948 maybe-all-stagefeedback-gcc:
9949 maybe-clean-stagefeedback-gcc:
9951 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
9952 all-stagefeedback: all-stagefeedback-gcc
9953 TARGET-stagefeedback-gcc = $(TARGET-gcc)
9954 all-stagefeedback-gcc: configure-stagefeedback-gcc
9955 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9956 @r=`${PWD_COMMAND}`; export r; \
9957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9958 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9960 $(POSTSTAGE1_HOST_EXPORTS) \
9961 cd $(HOST_SUBDIR)/gcc && \
9962 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9963 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9964 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9965 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9966 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9967 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9968 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9969 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9970 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9971 $(TARGET-stagefeedback-gcc)
9973 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
9974 clean-stagefeedback: clean-stagefeedback-gcc
9975 clean-stagefeedback-gcc:
9976 @if [ $(current_stage) = stagefeedback ]; then \
9977 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
9979 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
9980 $(MAKE) stagefeedback-start; \
9982 cd $(HOST_SUBDIR)/gcc && \
9983 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
9984 @endif gcc-bootstrap
9990 .PHONY: check-gcc maybe-check-gcc
9993 maybe-check-gcc: check-gcc
9996 @: $(MAKE); $(unstage)
9997 @r=`${PWD_COMMAND}`; export r; \
9998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10000 (cd $(HOST_SUBDIR)/gcc && \
10001 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10005 .PHONY: install-gcc maybe-install-gcc
10008 maybe-install-gcc: install-gcc
10010 install-gcc: installdirs
10011 @: $(MAKE); $(unstage)
10012 @r=`${PWD_COMMAND}`; export r; \
10013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10015 (cd $(HOST_SUBDIR)/gcc && \
10016 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10020 .PHONY: install-strip-gcc maybe-install-strip-gcc
10021 maybe-install-strip-gcc:
10023 maybe-install-strip-gcc: install-strip-gcc
10025 install-strip-gcc: installdirs
10026 @: $(MAKE); $(unstage)
10027 @r=`${PWD_COMMAND}`; export r; \
10028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10030 (cd $(HOST_SUBDIR)/gcc && \
10031 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10035 # Other targets (info, dvi, pdf, etc.)
10037 .PHONY: maybe-info-gcc info-gcc
10040 maybe-info-gcc: info-gcc
10044 @[ -f ./gcc/Makefile ] || exit 0; \
10045 r=`${PWD_COMMAND}`; export r; \
10046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10048 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10051 echo "Doing info in gcc" ; \
10052 (cd $(HOST_SUBDIR)/gcc && \
10053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10055 "RANLIB=$${RANLIB}" \
10056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10062 .PHONY: maybe-dvi-gcc dvi-gcc
10065 maybe-dvi-gcc: dvi-gcc
10069 @[ -f ./gcc/Makefile ] || exit 0; \
10070 r=`${PWD_COMMAND}`; export r; \
10071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10073 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10076 echo "Doing dvi in gcc" ; \
10077 (cd $(HOST_SUBDIR)/gcc && \
10078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10080 "RANLIB=$${RANLIB}" \
10081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10087 .PHONY: maybe-pdf-gcc pdf-gcc
10090 maybe-pdf-gcc: pdf-gcc
10094 @[ -f ./gcc/Makefile ] || exit 0; \
10095 r=`${PWD_COMMAND}`; export r; \
10096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10098 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10101 echo "Doing pdf in gcc" ; \
10102 (cd $(HOST_SUBDIR)/gcc && \
10103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10105 "RANLIB=$${RANLIB}" \
10106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10112 .PHONY: maybe-html-gcc html-gcc
10115 maybe-html-gcc: html-gcc
10119 @[ -f ./gcc/Makefile ] || exit 0; \
10120 r=`${PWD_COMMAND}`; export r; \
10121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10123 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10126 echo "Doing html in gcc" ; \
10127 (cd $(HOST_SUBDIR)/gcc && \
10128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10130 "RANLIB=$${RANLIB}" \
10131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10137 .PHONY: maybe-TAGS-gcc TAGS-gcc
10140 maybe-TAGS-gcc: TAGS-gcc
10144 @[ -f ./gcc/Makefile ] || exit 0; \
10145 r=`${PWD_COMMAND}`; export r; \
10146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10148 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10151 echo "Doing TAGS in gcc" ; \
10152 (cd $(HOST_SUBDIR)/gcc && \
10153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10155 "RANLIB=$${RANLIB}" \
10156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10162 .PHONY: maybe-install-info-gcc install-info-gcc
10163 maybe-install-info-gcc:
10165 maybe-install-info-gcc: install-info-gcc
10167 install-info-gcc: \
10170 @[ -f ./gcc/Makefile ] || exit 0; \
10171 r=`${PWD_COMMAND}`; export r; \
10172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10174 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10177 echo "Doing install-info in gcc" ; \
10178 (cd $(HOST_SUBDIR)/gcc && \
10179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10181 "RANLIB=$${RANLIB}" \
10182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10188 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10189 maybe-install-pdf-gcc:
10191 maybe-install-pdf-gcc: install-pdf-gcc
10196 @[ -f ./gcc/Makefile ] || exit 0; \
10197 r=`${PWD_COMMAND}`; export r; \
10198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10200 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10203 echo "Doing install-pdf in gcc" ; \
10204 (cd $(HOST_SUBDIR)/gcc && \
10205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10207 "RANLIB=$${RANLIB}" \
10208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10214 .PHONY: maybe-install-html-gcc install-html-gcc
10215 maybe-install-html-gcc:
10217 maybe-install-html-gcc: install-html-gcc
10219 install-html-gcc: \
10222 @[ -f ./gcc/Makefile ] || exit 0; \
10223 r=`${PWD_COMMAND}`; export r; \
10224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10226 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10229 echo "Doing install-html in gcc" ; \
10230 (cd $(HOST_SUBDIR)/gcc && \
10231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10233 "RANLIB=$${RANLIB}" \
10234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10240 .PHONY: maybe-installcheck-gcc installcheck-gcc
10241 maybe-installcheck-gcc:
10243 maybe-installcheck-gcc: installcheck-gcc
10245 installcheck-gcc: \
10247 @[ -f ./gcc/Makefile ] || exit 0; \
10248 r=`${PWD_COMMAND}`; export r; \
10249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10251 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10254 echo "Doing installcheck in gcc" ; \
10255 (cd $(HOST_SUBDIR)/gcc && \
10256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10258 "RANLIB=$${RANLIB}" \
10259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10265 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10266 maybe-mostlyclean-gcc:
10268 maybe-mostlyclean-gcc: mostlyclean-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 mostlyclean 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-clean-gcc clean-gcc
10292 maybe-clean-gcc: clean-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 clean 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-distclean-gcc distclean-gcc
10314 maybe-distclean-gcc:
10316 maybe-distclean-gcc: distclean-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 distclean 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-maintainer-clean-gcc maintainer-clean-gcc
10338 maybe-maintainer-clean-gcc:
10340 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10342 maintainer-clean-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 maintainer-clean 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}" \
10356 maintainer-clean) \
10363 .PHONY: configure-gmp maybe-configure-gmp
10364 maybe-configure-gmp:
10366 configure-gmp: stage_current
10367 @endif gcc-bootstrap
10369 maybe-configure-gmp: configure-gmp
10371 @r=`${PWD_COMMAND}`; export r; \
10372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10373 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10376 echo Configuring in $(HOST_SUBDIR)/gmp; \
10377 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10378 case $(srcdir) in \
10379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10380 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10383 srcdiroption="--srcdir=$${topdir}/gmp"; \
10384 libsrcdir="$$s/gmp"; \
10385 $(SHELL) $${libsrcdir}/configure \
10386 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10387 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10393 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10394 maybe-configure-stage1-gmp:
10396 maybe-configure-stage1-gmp: configure-stage1-gmp
10397 configure-stage1-gmp:
10398 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10399 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10400 @r=`${PWD_COMMAND}`; export r; \
10401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10402 TFLAGS="$(STAGE1_TFLAGS)"; \
10403 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10405 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10406 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10407 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10408 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10409 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10410 cd $(HOST_SUBDIR)/gmp || exit 1; \
10411 case $(srcdir) in \
10412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10413 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10416 srcdiroption="--srcdir=$${topdir}/gmp"; \
10417 libsrcdir="$$s/gmp"; \
10418 $(SHELL) $${libsrcdir}/configure \
10419 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10420 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10421 $(STAGE1_CONFIGURE_FLAGS) \
10423 @endif gmp-bootstrap
10425 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10426 maybe-configure-stage2-gmp:
10428 maybe-configure-stage2-gmp: configure-stage2-gmp
10429 configure-stage2-gmp:
10430 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10432 @r=`${PWD_COMMAND}`; export r; \
10433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10434 TFLAGS="$(STAGE2_TFLAGS)"; \
10435 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10437 $(POSTSTAGE1_HOST_EXPORTS) \
10438 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10439 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10440 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10441 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10443 cd $(HOST_SUBDIR)/gmp || exit 1; \
10444 case $(srcdir) in \
10445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10446 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10449 srcdiroption="--srcdir=$${topdir}/gmp"; \
10450 libsrcdir="$$s/gmp"; \
10451 $(SHELL) $${libsrcdir}/configure \
10452 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10453 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10454 --with-build-libsubdir=$(HOST_SUBDIR) \
10455 $(STAGE2_CONFIGURE_FLAGS) \
10457 @endif gmp-bootstrap
10459 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10460 maybe-configure-stage3-gmp:
10462 maybe-configure-stage3-gmp: configure-stage3-gmp
10463 configure-stage3-gmp:
10464 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10465 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10466 @r=`${PWD_COMMAND}`; export r; \
10467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10468 TFLAGS="$(STAGE3_TFLAGS)"; \
10469 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10471 $(POSTSTAGE1_HOST_EXPORTS) \
10472 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10473 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10474 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10475 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10477 cd $(HOST_SUBDIR)/gmp || exit 1; \
10478 case $(srcdir) in \
10479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10480 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10483 srcdiroption="--srcdir=$${topdir}/gmp"; \
10484 libsrcdir="$$s/gmp"; \
10485 $(SHELL) $${libsrcdir}/configure \
10486 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10487 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10488 --with-build-libsubdir=$(HOST_SUBDIR) \
10489 $(STAGE3_CONFIGURE_FLAGS) \
10491 @endif gmp-bootstrap
10493 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10494 maybe-configure-stage4-gmp:
10496 maybe-configure-stage4-gmp: configure-stage4-gmp
10497 configure-stage4-gmp:
10498 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10499 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10500 @r=`${PWD_COMMAND}`; export r; \
10501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10502 TFLAGS="$(STAGE4_TFLAGS)"; \
10503 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10505 $(POSTSTAGE1_HOST_EXPORTS) \
10506 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10507 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10508 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10509 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
10510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10511 cd $(HOST_SUBDIR)/gmp || exit 1; \
10512 case $(srcdir) in \
10513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10514 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10517 srcdiroption="--srcdir=$${topdir}/gmp"; \
10518 libsrcdir="$$s/gmp"; \
10519 $(SHELL) $${libsrcdir}/configure \
10520 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10521 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10522 --with-build-libsubdir=$(HOST_SUBDIR) \
10523 $(STAGE4_CONFIGURE_FLAGS) \
10525 @endif gmp-bootstrap
10527 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
10528 maybe-configure-stageprofile-gmp:
10530 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
10531 configure-stageprofile-gmp:
10532 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10533 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10534 @r=`${PWD_COMMAND}`; export r; \
10535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10536 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10537 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10539 $(POSTSTAGE1_HOST_EXPORTS) \
10540 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10541 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10542 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10543 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
10544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10545 cd $(HOST_SUBDIR)/gmp || exit 1; \
10546 case $(srcdir) in \
10547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10548 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10551 srcdiroption="--srcdir=$${topdir}/gmp"; \
10552 libsrcdir="$$s/gmp"; \
10553 $(SHELL) $${libsrcdir}/configure \
10554 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10555 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10556 --with-build-libsubdir=$(HOST_SUBDIR) \
10557 $(STAGEprofile_CONFIGURE_FLAGS) \
10559 @endif gmp-bootstrap
10561 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
10562 maybe-configure-stagefeedback-gmp:
10564 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
10565 configure-stagefeedback-gmp:
10566 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10567 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10568 @r=`${PWD_COMMAND}`; export r; \
10569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10570 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10571 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10573 $(POSTSTAGE1_HOST_EXPORTS) \
10574 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10575 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10576 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10577 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
10578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10579 cd $(HOST_SUBDIR)/gmp || exit 1; \
10580 case $(srcdir) in \
10581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10582 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10585 srcdiroption="--srcdir=$${topdir}/gmp"; \
10586 libsrcdir="$$s/gmp"; \
10587 $(SHELL) $${libsrcdir}/configure \
10588 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10589 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10590 --with-build-libsubdir=$(HOST_SUBDIR) \
10591 $(STAGEfeedback_CONFIGURE_FLAGS) \
10593 @endif gmp-bootstrap
10599 .PHONY: all-gmp maybe-all-gmp
10602 all-gmp: stage_current
10603 @endif gcc-bootstrap
10606 maybe-all-gmp: all-gmp
10607 all-gmp: configure-gmp
10608 @r=`${PWD_COMMAND}`; export r; \
10609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10611 (cd $(HOST_SUBDIR)/gmp && \
10612 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10618 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
10619 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
10620 maybe-all-stage1-gmp:
10621 maybe-clean-stage1-gmp:
10623 maybe-all-stage1-gmp: all-stage1-gmp
10624 all-stage1: all-stage1-gmp
10625 TARGET-stage1-gmp = $(TARGET-gmp)
10626 all-stage1-gmp: configure-stage1-gmp
10627 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10628 @r=`${PWD_COMMAND}`; export r; \
10629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10630 TFLAGS="$(STAGE1_TFLAGS)"; \
10632 cd $(HOST_SUBDIR)/gmp && \
10633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10634 CFLAGS="$(STAGE1_CFLAGS)" \
10635 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10636 LIBCFLAGS="$(LIBCFLAGS)" \
10637 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10638 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10639 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10640 $(EXTRA_HOST_FLAGS) \
10641 $(STAGE1_FLAGS_TO_PASS) \
10642 TFLAGS="$(STAGE1_TFLAGS)" \
10643 $(TARGET-stage1-gmp)
10645 maybe-clean-stage1-gmp: clean-stage1-gmp
10646 clean-stage1: clean-stage1-gmp
10648 @if [ $(current_stage) = stage1 ]; then \
10649 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10651 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
10652 $(MAKE) stage1-start; \
10654 cd $(HOST_SUBDIR)/gmp && \
10655 $(MAKE) $(EXTRA_HOST_FLAGS) \
10656 $(STAGE1_FLAGS_TO_PASS) clean
10657 @endif gmp-bootstrap
10660 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
10661 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
10662 maybe-all-stage2-gmp:
10663 maybe-clean-stage2-gmp:
10665 maybe-all-stage2-gmp: all-stage2-gmp
10666 all-stage2: all-stage2-gmp
10667 TARGET-stage2-gmp = $(TARGET-gmp)
10668 all-stage2-gmp: configure-stage2-gmp
10669 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10670 @r=`${PWD_COMMAND}`; export r; \
10671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10672 TFLAGS="$(STAGE2_TFLAGS)"; \
10674 $(POSTSTAGE1_HOST_EXPORTS) \
10675 cd $(HOST_SUBDIR)/gmp && \
10676 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10677 CFLAGS="$(STAGE2_CFLAGS)" \
10678 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10679 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10680 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10681 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10682 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10683 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10684 TFLAGS="$(STAGE2_TFLAGS)" \
10685 $(TARGET-stage2-gmp)
10687 maybe-clean-stage2-gmp: clean-stage2-gmp
10688 clean-stage2: clean-stage2-gmp
10690 @if [ $(current_stage) = stage2 ]; then \
10691 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10693 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
10694 $(MAKE) stage2-start; \
10696 cd $(HOST_SUBDIR)/gmp && \
10697 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10698 @endif gmp-bootstrap
10701 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
10702 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
10703 maybe-all-stage3-gmp:
10704 maybe-clean-stage3-gmp:
10706 maybe-all-stage3-gmp: all-stage3-gmp
10707 all-stage3: all-stage3-gmp
10708 TARGET-stage3-gmp = $(TARGET-gmp)
10709 all-stage3-gmp: configure-stage3-gmp
10710 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10711 @r=`${PWD_COMMAND}`; export r; \
10712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10713 TFLAGS="$(STAGE3_TFLAGS)"; \
10715 $(POSTSTAGE1_HOST_EXPORTS) \
10716 cd $(HOST_SUBDIR)/gmp && \
10717 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10718 CFLAGS="$(STAGE3_CFLAGS)" \
10719 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10720 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10721 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10722 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10723 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10724 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10725 TFLAGS="$(STAGE3_TFLAGS)" \
10726 $(TARGET-stage3-gmp)
10728 maybe-clean-stage3-gmp: clean-stage3-gmp
10729 clean-stage3: clean-stage3-gmp
10731 @if [ $(current_stage) = stage3 ]; then \
10732 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10734 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
10735 $(MAKE) stage3-start; \
10737 cd $(HOST_SUBDIR)/gmp && \
10738 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10739 @endif gmp-bootstrap
10742 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
10743 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
10744 maybe-all-stage4-gmp:
10745 maybe-clean-stage4-gmp:
10747 maybe-all-stage4-gmp: all-stage4-gmp
10748 all-stage4: all-stage4-gmp
10749 TARGET-stage4-gmp = $(TARGET-gmp)
10750 all-stage4-gmp: configure-stage4-gmp
10751 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10752 @r=`${PWD_COMMAND}`; export r; \
10753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10754 TFLAGS="$(STAGE4_TFLAGS)"; \
10756 $(POSTSTAGE1_HOST_EXPORTS) \
10757 cd $(HOST_SUBDIR)/gmp && \
10758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10759 CFLAGS="$(STAGE4_CFLAGS)" \
10760 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10761 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10762 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10763 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10764 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10765 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10766 TFLAGS="$(STAGE4_TFLAGS)" \
10767 $(TARGET-stage4-gmp)
10769 maybe-clean-stage4-gmp: clean-stage4-gmp
10770 clean-stage4: clean-stage4-gmp
10772 @if [ $(current_stage) = stage4 ]; then \
10773 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10775 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
10776 $(MAKE) stage4-start; \
10778 cd $(HOST_SUBDIR)/gmp && \
10779 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10780 @endif gmp-bootstrap
10783 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
10784 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
10785 maybe-all-stageprofile-gmp:
10786 maybe-clean-stageprofile-gmp:
10788 maybe-all-stageprofile-gmp: all-stageprofile-gmp
10789 all-stageprofile: all-stageprofile-gmp
10790 TARGET-stageprofile-gmp = $(TARGET-gmp)
10791 all-stageprofile-gmp: configure-stageprofile-gmp
10792 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10793 @r=`${PWD_COMMAND}`; export r; \
10794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10795 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10797 $(POSTSTAGE1_HOST_EXPORTS) \
10798 cd $(HOST_SUBDIR)/gmp && \
10799 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10800 CFLAGS="$(STAGEprofile_CFLAGS)" \
10801 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10802 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10803 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10804 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10805 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10806 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10807 TFLAGS="$(STAGEprofile_TFLAGS)" \
10808 $(TARGET-stageprofile-gmp)
10810 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
10811 clean-stageprofile: clean-stageprofile-gmp
10812 clean-stageprofile-gmp:
10813 @if [ $(current_stage) = stageprofile ]; then \
10814 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10816 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
10817 $(MAKE) stageprofile-start; \
10819 cd $(HOST_SUBDIR)/gmp && \
10820 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10821 @endif gmp-bootstrap
10824 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
10825 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
10826 maybe-all-stagefeedback-gmp:
10827 maybe-clean-stagefeedback-gmp:
10829 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
10830 all-stagefeedback: all-stagefeedback-gmp
10831 TARGET-stagefeedback-gmp = $(TARGET-gmp)
10832 all-stagefeedback-gmp: configure-stagefeedback-gmp
10833 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10834 @r=`${PWD_COMMAND}`; export r; \
10835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10836 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10838 $(POSTSTAGE1_HOST_EXPORTS) \
10839 cd $(HOST_SUBDIR)/gmp && \
10840 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10841 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10842 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10843 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10844 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10845 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10846 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10847 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10848 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10849 $(TARGET-stagefeedback-gmp)
10851 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
10852 clean-stagefeedback: clean-stagefeedback-gmp
10853 clean-stagefeedback-gmp:
10854 @if [ $(current_stage) = stagefeedback ]; then \
10855 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
10857 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
10858 $(MAKE) stagefeedback-start; \
10860 cd $(HOST_SUBDIR)/gmp && \
10861 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10862 @endif gmp-bootstrap
10868 .PHONY: check-gmp maybe-check-gmp
10871 maybe-check-gmp: check-gmp
10874 @: $(MAKE); $(unstage)
10875 @r=`${PWD_COMMAND}`; export r; \
10876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10878 (cd $(HOST_SUBDIR)/gmp && \
10879 $(MAKE) $(FLAGS_TO_PASS) check)
10883 .PHONY: install-gmp maybe-install-gmp
10886 maybe-install-gmp: install-gmp
10892 .PHONY: install-strip-gmp maybe-install-strip-gmp
10893 maybe-install-strip-gmp:
10895 maybe-install-strip-gmp: install-strip-gmp
10901 # Other targets (info, dvi, pdf, etc.)
10903 .PHONY: maybe-info-gmp info-gmp
10906 maybe-info-gmp: info-gmp
10910 @[ -f ./gmp/Makefile ] || exit 0; \
10911 r=`${PWD_COMMAND}`; export r; \
10912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10914 for flag in $(EXTRA_HOST_FLAGS) ; do \
10915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10917 echo "Doing info in gmp" ; \
10918 (cd $(HOST_SUBDIR)/gmp && \
10919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10921 "RANLIB=$${RANLIB}" \
10922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10928 .PHONY: maybe-dvi-gmp dvi-gmp
10931 maybe-dvi-gmp: dvi-gmp
10935 @[ -f ./gmp/Makefile ] || exit 0; \
10936 r=`${PWD_COMMAND}`; export r; \
10937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10939 for flag in $(EXTRA_HOST_FLAGS) ; do \
10940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10942 echo "Doing dvi in gmp" ; \
10943 (cd $(HOST_SUBDIR)/gmp && \
10944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10946 "RANLIB=$${RANLIB}" \
10947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10953 .PHONY: maybe-pdf-gmp pdf-gmp
10956 maybe-pdf-gmp: pdf-gmp
10960 @[ -f ./gmp/Makefile ] || exit 0; \
10961 r=`${PWD_COMMAND}`; export r; \
10962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10964 for flag in $(EXTRA_HOST_FLAGS) ; do \
10965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10967 echo "Doing pdf in gmp" ; \
10968 (cd $(HOST_SUBDIR)/gmp && \
10969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10971 "RANLIB=$${RANLIB}" \
10972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10978 .PHONY: maybe-html-gmp html-gmp
10981 maybe-html-gmp: html-gmp
10985 @[ -f ./gmp/Makefile ] || exit 0; \
10986 r=`${PWD_COMMAND}`; export r; \
10987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10989 for flag in $(EXTRA_HOST_FLAGS) ; do \
10990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10992 echo "Doing html in gmp" ; \
10993 (cd $(HOST_SUBDIR)/gmp && \
10994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10996 "RANLIB=$${RANLIB}" \
10997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11003 .PHONY: maybe-TAGS-gmp TAGS-gmp
11006 maybe-TAGS-gmp: TAGS-gmp
11010 @[ -f ./gmp/Makefile ] || exit 0; \
11011 r=`${PWD_COMMAND}`; export r; \
11012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11014 for flag in $(EXTRA_HOST_FLAGS) ; do \
11015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11017 echo "Doing TAGS in gmp" ; \
11018 (cd $(HOST_SUBDIR)/gmp && \
11019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11021 "RANLIB=$${RANLIB}" \
11022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11028 .PHONY: maybe-install-info-gmp install-info-gmp
11029 maybe-install-info-gmp:
11031 maybe-install-info-gmp: install-info-gmp
11033 install-info-gmp: \
11036 @[ -f ./gmp/Makefile ] || exit 0; \
11037 r=`${PWD_COMMAND}`; export r; \
11038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11040 for flag in $(EXTRA_HOST_FLAGS) ; do \
11041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11043 echo "Doing install-info in gmp" ; \
11044 (cd $(HOST_SUBDIR)/gmp && \
11045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11047 "RANLIB=$${RANLIB}" \
11048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11054 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11055 maybe-install-pdf-gmp:
11057 maybe-install-pdf-gmp: install-pdf-gmp
11062 @[ -f ./gmp/Makefile ] || exit 0; \
11063 r=`${PWD_COMMAND}`; export r; \
11064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11066 for flag in $(EXTRA_HOST_FLAGS) ; do \
11067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11069 echo "Doing install-pdf in gmp" ; \
11070 (cd $(HOST_SUBDIR)/gmp && \
11071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11073 "RANLIB=$${RANLIB}" \
11074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11080 .PHONY: maybe-install-html-gmp install-html-gmp
11081 maybe-install-html-gmp:
11083 maybe-install-html-gmp: install-html-gmp
11085 install-html-gmp: \
11088 @[ -f ./gmp/Makefile ] || exit 0; \
11089 r=`${PWD_COMMAND}`; export r; \
11090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11092 for flag in $(EXTRA_HOST_FLAGS) ; do \
11093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11095 echo "Doing install-html in gmp" ; \
11096 (cd $(HOST_SUBDIR)/gmp && \
11097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11099 "RANLIB=$${RANLIB}" \
11100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11106 .PHONY: maybe-installcheck-gmp installcheck-gmp
11107 maybe-installcheck-gmp:
11109 maybe-installcheck-gmp: installcheck-gmp
11111 installcheck-gmp: \
11113 @[ -f ./gmp/Makefile ] || exit 0; \
11114 r=`${PWD_COMMAND}`; export r; \
11115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11117 for flag in $(EXTRA_HOST_FLAGS) ; do \
11118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11120 echo "Doing installcheck in gmp" ; \
11121 (cd $(HOST_SUBDIR)/gmp && \
11122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11124 "RANLIB=$${RANLIB}" \
11125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11131 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11132 maybe-mostlyclean-gmp:
11134 maybe-mostlyclean-gmp: mostlyclean-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 mostlyclean 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-clean-gmp clean-gmp
11158 maybe-clean-gmp: clean-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 clean 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-distclean-gmp distclean-gmp
11180 maybe-distclean-gmp:
11182 maybe-distclean-gmp: distclean-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 distclean 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-maintainer-clean-gmp maintainer-clean-gmp
11204 maybe-maintainer-clean-gmp:
11206 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11208 maintainer-clean-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 maintainer-clean 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}" \
11222 maintainer-clean) \
11229 .PHONY: configure-mpfr maybe-configure-mpfr
11230 maybe-configure-mpfr:
11232 configure-mpfr: stage_current
11233 @endif gcc-bootstrap
11235 maybe-configure-mpfr: configure-mpfr
11237 @r=`${PWD_COMMAND}`; export r; \
11238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11239 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11242 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11243 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11244 case $(srcdir) in \
11245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11246 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11249 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11250 libsrcdir="$$s/mpfr"; \
11251 $(SHELL) $${libsrcdir}/configure \
11252 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11253 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11259 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11260 maybe-configure-stage1-mpfr:
11262 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11263 configure-stage1-mpfr:
11264 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11266 @r=`${PWD_COMMAND}`; export r; \
11267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11268 TFLAGS="$(STAGE1_TFLAGS)"; \
11269 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11271 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11272 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11273 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11274 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11275 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11276 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11277 case $(srcdir) in \
11278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11279 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11282 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11283 libsrcdir="$$s/mpfr"; \
11284 $(SHELL) $${libsrcdir}/configure \
11285 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11286 --target=${target_alias} $${srcdiroption} \
11287 $(STAGE1_CONFIGURE_FLAGS) \
11288 --disable-shared @extra_mpfr_configure_flags@
11289 @endif mpfr-bootstrap
11291 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11292 maybe-configure-stage2-mpfr:
11294 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11295 configure-stage2-mpfr:
11296 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11297 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11298 @r=`${PWD_COMMAND}`; export r; \
11299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11300 TFLAGS="$(STAGE2_TFLAGS)"; \
11301 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11303 $(POSTSTAGE1_HOST_EXPORTS) \
11304 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11305 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11306 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11307 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11309 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11310 case $(srcdir) in \
11311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11312 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11315 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11316 libsrcdir="$$s/mpfr"; \
11317 $(SHELL) $${libsrcdir}/configure \
11318 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11319 --target=${target_alias} $${srcdiroption} \
11320 --with-build-libsubdir=$(HOST_SUBDIR) \
11321 $(STAGE2_CONFIGURE_FLAGS) \
11322 --disable-shared @extra_mpfr_configure_flags@
11323 @endif mpfr-bootstrap
11325 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11326 maybe-configure-stage3-mpfr:
11328 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11329 configure-stage3-mpfr:
11330 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11332 @r=`${PWD_COMMAND}`; export r; \
11333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11334 TFLAGS="$(STAGE3_TFLAGS)"; \
11335 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11337 $(POSTSTAGE1_HOST_EXPORTS) \
11338 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11339 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11340 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11341 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11343 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11344 case $(srcdir) in \
11345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11346 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11349 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11350 libsrcdir="$$s/mpfr"; \
11351 $(SHELL) $${libsrcdir}/configure \
11352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11353 --target=${target_alias} $${srcdiroption} \
11354 --with-build-libsubdir=$(HOST_SUBDIR) \
11355 $(STAGE3_CONFIGURE_FLAGS) \
11356 --disable-shared @extra_mpfr_configure_flags@
11357 @endif mpfr-bootstrap
11359 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11360 maybe-configure-stage4-mpfr:
11362 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11363 configure-stage4-mpfr:
11364 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11365 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11366 @r=`${PWD_COMMAND}`; export r; \
11367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11368 TFLAGS="$(STAGE4_TFLAGS)"; \
11369 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11371 $(POSTSTAGE1_HOST_EXPORTS) \
11372 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11373 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11374 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11375 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11377 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11378 case $(srcdir) in \
11379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11380 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11383 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11384 libsrcdir="$$s/mpfr"; \
11385 $(SHELL) $${libsrcdir}/configure \
11386 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11387 --target=${target_alias} $${srcdiroption} \
11388 --with-build-libsubdir=$(HOST_SUBDIR) \
11389 $(STAGE4_CONFIGURE_FLAGS) \
11390 --disable-shared @extra_mpfr_configure_flags@
11391 @endif mpfr-bootstrap
11393 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11394 maybe-configure-stageprofile-mpfr:
11396 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11397 configure-stageprofile-mpfr:
11398 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11399 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11400 @r=`${PWD_COMMAND}`; export r; \
11401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11403 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11405 $(POSTSTAGE1_HOST_EXPORTS) \
11406 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11407 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11408 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11409 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11411 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11412 case $(srcdir) in \
11413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11414 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11417 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11418 libsrcdir="$$s/mpfr"; \
11419 $(SHELL) $${libsrcdir}/configure \
11420 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11421 --target=${target_alias} $${srcdiroption} \
11422 --with-build-libsubdir=$(HOST_SUBDIR) \
11423 $(STAGEprofile_CONFIGURE_FLAGS) \
11424 --disable-shared @extra_mpfr_configure_flags@
11425 @endif mpfr-bootstrap
11427 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11428 maybe-configure-stagefeedback-mpfr:
11430 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11431 configure-stagefeedback-mpfr:
11432 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11433 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11434 @r=`${PWD_COMMAND}`; export r; \
11435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11436 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11437 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11439 $(POSTSTAGE1_HOST_EXPORTS) \
11440 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11441 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11442 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11443 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11445 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11446 case $(srcdir) in \
11447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11448 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11451 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11452 libsrcdir="$$s/mpfr"; \
11453 $(SHELL) $${libsrcdir}/configure \
11454 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11455 --target=${target_alias} $${srcdiroption} \
11456 --with-build-libsubdir=$(HOST_SUBDIR) \
11457 $(STAGEfeedback_CONFIGURE_FLAGS) \
11458 --disable-shared @extra_mpfr_configure_flags@
11459 @endif mpfr-bootstrap
11465 .PHONY: all-mpfr maybe-all-mpfr
11468 all-mpfr: stage_current
11469 @endif gcc-bootstrap
11472 maybe-all-mpfr: all-mpfr
11473 all-mpfr: configure-mpfr
11474 @r=`${PWD_COMMAND}`; export r; \
11475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11477 (cd $(HOST_SUBDIR)/mpfr && \
11478 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11484 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11485 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11486 maybe-all-stage1-mpfr:
11487 maybe-clean-stage1-mpfr:
11489 maybe-all-stage1-mpfr: all-stage1-mpfr
11490 all-stage1: all-stage1-mpfr
11491 TARGET-stage1-mpfr = $(TARGET-mpfr)
11492 all-stage1-mpfr: configure-stage1-mpfr
11493 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11494 @r=`${PWD_COMMAND}`; export r; \
11495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11496 TFLAGS="$(STAGE1_TFLAGS)"; \
11498 cd $(HOST_SUBDIR)/mpfr && \
11499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11500 CFLAGS="$(STAGE1_CFLAGS)" \
11501 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11502 LIBCFLAGS="$(LIBCFLAGS)" \
11503 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11504 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11505 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11506 $(EXTRA_HOST_FLAGS) \
11507 $(STAGE1_FLAGS_TO_PASS) \
11508 TFLAGS="$(STAGE1_TFLAGS)" \
11509 $(TARGET-stage1-mpfr)
11511 maybe-clean-stage1-mpfr: clean-stage1-mpfr
11512 clean-stage1: clean-stage1-mpfr
11514 @if [ $(current_stage) = stage1 ]; then \
11515 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11517 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
11518 $(MAKE) stage1-start; \
11520 cd $(HOST_SUBDIR)/mpfr && \
11521 $(MAKE) $(EXTRA_HOST_FLAGS) \
11522 $(STAGE1_FLAGS_TO_PASS) clean
11523 @endif mpfr-bootstrap
11526 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
11527 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
11528 maybe-all-stage2-mpfr:
11529 maybe-clean-stage2-mpfr:
11531 maybe-all-stage2-mpfr: all-stage2-mpfr
11532 all-stage2: all-stage2-mpfr
11533 TARGET-stage2-mpfr = $(TARGET-mpfr)
11534 all-stage2-mpfr: configure-stage2-mpfr
11535 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11536 @r=`${PWD_COMMAND}`; export r; \
11537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11538 TFLAGS="$(STAGE2_TFLAGS)"; \
11540 $(POSTSTAGE1_HOST_EXPORTS) \
11541 cd $(HOST_SUBDIR)/mpfr && \
11542 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11543 CFLAGS="$(STAGE2_CFLAGS)" \
11544 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11545 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11546 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11547 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11548 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11549 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11550 TFLAGS="$(STAGE2_TFLAGS)" \
11551 $(TARGET-stage2-mpfr)
11553 maybe-clean-stage2-mpfr: clean-stage2-mpfr
11554 clean-stage2: clean-stage2-mpfr
11556 @if [ $(current_stage) = stage2 ]; then \
11557 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11559 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
11560 $(MAKE) stage2-start; \
11562 cd $(HOST_SUBDIR)/mpfr && \
11563 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11564 @endif mpfr-bootstrap
11567 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
11568 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
11569 maybe-all-stage3-mpfr:
11570 maybe-clean-stage3-mpfr:
11572 maybe-all-stage3-mpfr: all-stage3-mpfr
11573 all-stage3: all-stage3-mpfr
11574 TARGET-stage3-mpfr = $(TARGET-mpfr)
11575 all-stage3-mpfr: configure-stage3-mpfr
11576 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11577 @r=`${PWD_COMMAND}`; export r; \
11578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11579 TFLAGS="$(STAGE3_TFLAGS)"; \
11581 $(POSTSTAGE1_HOST_EXPORTS) \
11582 cd $(HOST_SUBDIR)/mpfr && \
11583 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11584 CFLAGS="$(STAGE3_CFLAGS)" \
11585 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11586 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11587 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11588 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11589 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11590 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11591 TFLAGS="$(STAGE3_TFLAGS)" \
11592 $(TARGET-stage3-mpfr)
11594 maybe-clean-stage3-mpfr: clean-stage3-mpfr
11595 clean-stage3: clean-stage3-mpfr
11597 @if [ $(current_stage) = stage3 ]; then \
11598 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11600 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
11601 $(MAKE) stage3-start; \
11603 cd $(HOST_SUBDIR)/mpfr && \
11604 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11605 @endif mpfr-bootstrap
11608 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
11609 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
11610 maybe-all-stage4-mpfr:
11611 maybe-clean-stage4-mpfr:
11613 maybe-all-stage4-mpfr: all-stage4-mpfr
11614 all-stage4: all-stage4-mpfr
11615 TARGET-stage4-mpfr = $(TARGET-mpfr)
11616 all-stage4-mpfr: configure-stage4-mpfr
11617 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11618 @r=`${PWD_COMMAND}`; export r; \
11619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11620 TFLAGS="$(STAGE4_TFLAGS)"; \
11622 $(POSTSTAGE1_HOST_EXPORTS) \
11623 cd $(HOST_SUBDIR)/mpfr && \
11624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11625 CFLAGS="$(STAGE4_CFLAGS)" \
11626 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11627 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11632 TFLAGS="$(STAGE4_TFLAGS)" \
11633 $(TARGET-stage4-mpfr)
11635 maybe-clean-stage4-mpfr: clean-stage4-mpfr
11636 clean-stage4: clean-stage4-mpfr
11638 @if [ $(current_stage) = stage4 ]; then \
11639 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11641 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
11642 $(MAKE) stage4-start; \
11644 cd $(HOST_SUBDIR)/mpfr && \
11645 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11646 @endif mpfr-bootstrap
11649 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
11650 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
11651 maybe-all-stageprofile-mpfr:
11652 maybe-clean-stageprofile-mpfr:
11654 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
11655 all-stageprofile: all-stageprofile-mpfr
11656 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
11657 all-stageprofile-mpfr: configure-stageprofile-mpfr
11658 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11659 @r=`${PWD_COMMAND}`; export r; \
11660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11661 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11663 $(POSTSTAGE1_HOST_EXPORTS) \
11664 cd $(HOST_SUBDIR)/mpfr && \
11665 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11666 CFLAGS="$(STAGEprofile_CFLAGS)" \
11667 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11668 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11669 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11670 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11671 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11672 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11673 TFLAGS="$(STAGEprofile_TFLAGS)" \
11674 $(TARGET-stageprofile-mpfr)
11676 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
11677 clean-stageprofile: clean-stageprofile-mpfr
11678 clean-stageprofile-mpfr:
11679 @if [ $(current_stage) = stageprofile ]; then \
11680 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11682 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
11683 $(MAKE) stageprofile-start; \
11685 cd $(HOST_SUBDIR)/mpfr && \
11686 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11687 @endif mpfr-bootstrap
11690 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
11691 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
11692 maybe-all-stagefeedback-mpfr:
11693 maybe-clean-stagefeedback-mpfr:
11695 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
11696 all-stagefeedback: all-stagefeedback-mpfr
11697 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
11698 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
11699 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11700 @r=`${PWD_COMMAND}`; export r; \
11701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11702 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11704 $(POSTSTAGE1_HOST_EXPORTS) \
11705 cd $(HOST_SUBDIR)/mpfr && \
11706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11707 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11708 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11709 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11714 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11715 $(TARGET-stagefeedback-mpfr)
11717 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
11718 clean-stagefeedback: clean-stagefeedback-mpfr
11719 clean-stagefeedback-mpfr:
11720 @if [ $(current_stage) = stagefeedback ]; then \
11721 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
11723 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
11724 $(MAKE) stagefeedback-start; \
11726 cd $(HOST_SUBDIR)/mpfr && \
11727 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11728 @endif mpfr-bootstrap
11734 .PHONY: check-mpfr maybe-check-mpfr
11737 maybe-check-mpfr: check-mpfr
11740 @: $(MAKE); $(unstage)
11741 @r=`${PWD_COMMAND}`; export r; \
11742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11744 (cd $(HOST_SUBDIR)/mpfr && \
11745 $(MAKE) $(FLAGS_TO_PASS) check)
11749 .PHONY: install-mpfr maybe-install-mpfr
11750 maybe-install-mpfr:
11752 maybe-install-mpfr: install-mpfr
11758 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
11759 maybe-install-strip-mpfr:
11761 maybe-install-strip-mpfr: install-strip-mpfr
11763 install-strip-mpfr:
11767 # Other targets (info, dvi, pdf, etc.)
11769 .PHONY: maybe-info-mpfr info-mpfr
11772 maybe-info-mpfr: info-mpfr
11776 @[ -f ./mpfr/Makefile ] || exit 0; \
11777 r=`${PWD_COMMAND}`; export r; \
11778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11780 for flag in $(EXTRA_HOST_FLAGS) ; do \
11781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11783 echo "Doing info in mpfr" ; \
11784 (cd $(HOST_SUBDIR)/mpfr && \
11785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11787 "RANLIB=$${RANLIB}" \
11788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11794 .PHONY: maybe-dvi-mpfr dvi-mpfr
11797 maybe-dvi-mpfr: dvi-mpfr
11801 @[ -f ./mpfr/Makefile ] || exit 0; \
11802 r=`${PWD_COMMAND}`; export r; \
11803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11805 for flag in $(EXTRA_HOST_FLAGS) ; do \
11806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11808 echo "Doing dvi in mpfr" ; \
11809 (cd $(HOST_SUBDIR)/mpfr && \
11810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11812 "RANLIB=$${RANLIB}" \
11813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11819 .PHONY: maybe-pdf-mpfr pdf-mpfr
11822 maybe-pdf-mpfr: pdf-mpfr
11826 @[ -f ./mpfr/Makefile ] || exit 0; \
11827 r=`${PWD_COMMAND}`; export r; \
11828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11830 for flag in $(EXTRA_HOST_FLAGS) ; do \
11831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11833 echo "Doing pdf in mpfr" ; \
11834 (cd $(HOST_SUBDIR)/mpfr && \
11835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11837 "RANLIB=$${RANLIB}" \
11838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11844 .PHONY: maybe-html-mpfr html-mpfr
11847 maybe-html-mpfr: html-mpfr
11851 @[ -f ./mpfr/Makefile ] || exit 0; \
11852 r=`${PWD_COMMAND}`; export r; \
11853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11855 for flag in $(EXTRA_HOST_FLAGS) ; do \
11856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11858 echo "Doing html in mpfr" ; \
11859 (cd $(HOST_SUBDIR)/mpfr && \
11860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11862 "RANLIB=$${RANLIB}" \
11863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11869 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
11872 maybe-TAGS-mpfr: TAGS-mpfr
11876 @[ -f ./mpfr/Makefile ] || exit 0; \
11877 r=`${PWD_COMMAND}`; export r; \
11878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11880 for flag in $(EXTRA_HOST_FLAGS) ; do \
11881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11883 echo "Doing TAGS in mpfr" ; \
11884 (cd $(HOST_SUBDIR)/mpfr && \
11885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11887 "RANLIB=$${RANLIB}" \
11888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11894 .PHONY: maybe-install-info-mpfr install-info-mpfr
11895 maybe-install-info-mpfr:
11897 maybe-install-info-mpfr: install-info-mpfr
11899 install-info-mpfr: \
11902 @[ -f ./mpfr/Makefile ] || exit 0; \
11903 r=`${PWD_COMMAND}`; export r; \
11904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11906 for flag in $(EXTRA_HOST_FLAGS) ; do \
11907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11909 echo "Doing install-info in mpfr" ; \
11910 (cd $(HOST_SUBDIR)/mpfr && \
11911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11913 "RANLIB=$${RANLIB}" \
11914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11920 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
11921 maybe-install-pdf-mpfr:
11923 maybe-install-pdf-mpfr: install-pdf-mpfr
11925 install-pdf-mpfr: \
11928 @[ -f ./mpfr/Makefile ] || exit 0; \
11929 r=`${PWD_COMMAND}`; export r; \
11930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11932 for flag in $(EXTRA_HOST_FLAGS) ; do \
11933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11935 echo "Doing install-pdf in mpfr" ; \
11936 (cd $(HOST_SUBDIR)/mpfr && \
11937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11939 "RANLIB=$${RANLIB}" \
11940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11946 .PHONY: maybe-install-html-mpfr install-html-mpfr
11947 maybe-install-html-mpfr:
11949 maybe-install-html-mpfr: install-html-mpfr
11951 install-html-mpfr: \
11954 @[ -f ./mpfr/Makefile ] || exit 0; \
11955 r=`${PWD_COMMAND}`; export r; \
11956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11958 for flag in $(EXTRA_HOST_FLAGS) ; do \
11959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11961 echo "Doing install-html in mpfr" ; \
11962 (cd $(HOST_SUBDIR)/mpfr && \
11963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11965 "RANLIB=$${RANLIB}" \
11966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11972 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
11973 maybe-installcheck-mpfr:
11975 maybe-installcheck-mpfr: installcheck-mpfr
11977 installcheck-mpfr: \
11979 @[ -f ./mpfr/Makefile ] || exit 0; \
11980 r=`${PWD_COMMAND}`; export r; \
11981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11983 for flag in $(EXTRA_HOST_FLAGS) ; do \
11984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11986 echo "Doing installcheck in mpfr" ; \
11987 (cd $(HOST_SUBDIR)/mpfr && \
11988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11990 "RANLIB=$${RANLIB}" \
11991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11997 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
11998 maybe-mostlyclean-mpfr:
12000 maybe-mostlyclean-mpfr: mostlyclean-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 mostlyclean 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-clean-mpfr clean-mpfr
12024 maybe-clean-mpfr: clean-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 clean 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-distclean-mpfr distclean-mpfr
12046 maybe-distclean-mpfr:
12048 maybe-distclean-mpfr: distclean-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 distclean 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-maintainer-clean-mpfr maintainer-clean-mpfr
12070 maybe-maintainer-clean-mpfr:
12072 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12074 maintainer-clean-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 maintainer-clean 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}" \
12088 maintainer-clean) \
12095 .PHONY: configure-mpc maybe-configure-mpc
12096 maybe-configure-mpc:
12098 configure-mpc: stage_current
12099 @endif gcc-bootstrap
12101 maybe-configure-mpc: configure-mpc
12103 @r=`${PWD_COMMAND}`; export r; \
12104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12105 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12108 echo Configuring in $(HOST_SUBDIR)/mpc; \
12109 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12110 case $(srcdir) in \
12111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12112 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12115 srcdiroption="--srcdir=$${topdir}/mpc"; \
12116 libsrcdir="$$s/mpc"; \
12117 $(SHELL) $${libsrcdir}/configure \
12118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12119 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12125 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12126 maybe-configure-stage1-mpc:
12128 maybe-configure-stage1-mpc: configure-stage1-mpc
12129 configure-stage1-mpc:
12130 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12132 @r=`${PWD_COMMAND}`; export r; \
12133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12134 TFLAGS="$(STAGE1_TFLAGS)"; \
12135 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12137 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12138 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12139 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12140 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12142 cd $(HOST_SUBDIR)/mpc || exit 1; \
12143 case $(srcdir) in \
12144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12145 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12148 srcdiroption="--srcdir=$${topdir}/mpc"; \
12149 libsrcdir="$$s/mpc"; \
12150 $(SHELL) $${libsrcdir}/configure \
12151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12152 --target=${target_alias} $${srcdiroption} \
12153 $(STAGE1_CONFIGURE_FLAGS) \
12154 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12155 @endif mpc-bootstrap
12157 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12158 maybe-configure-stage2-mpc:
12160 maybe-configure-stage2-mpc: configure-stage2-mpc
12161 configure-stage2-mpc:
12162 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12164 @r=`${PWD_COMMAND}`; export r; \
12165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12166 TFLAGS="$(STAGE2_TFLAGS)"; \
12167 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12169 $(POSTSTAGE1_HOST_EXPORTS) \
12170 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12171 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12172 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12173 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12175 cd $(HOST_SUBDIR)/mpc || exit 1; \
12176 case $(srcdir) in \
12177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12178 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12181 srcdiroption="--srcdir=$${topdir}/mpc"; \
12182 libsrcdir="$$s/mpc"; \
12183 $(SHELL) $${libsrcdir}/configure \
12184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12185 --target=${target_alias} $${srcdiroption} \
12186 --with-build-libsubdir=$(HOST_SUBDIR) \
12187 $(STAGE2_CONFIGURE_FLAGS) \
12188 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12189 @endif mpc-bootstrap
12191 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12192 maybe-configure-stage3-mpc:
12194 maybe-configure-stage3-mpc: configure-stage3-mpc
12195 configure-stage3-mpc:
12196 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12197 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12198 @r=`${PWD_COMMAND}`; export r; \
12199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12200 TFLAGS="$(STAGE3_TFLAGS)"; \
12201 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12203 $(POSTSTAGE1_HOST_EXPORTS) \
12204 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12205 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12206 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12207 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12209 cd $(HOST_SUBDIR)/mpc || exit 1; \
12210 case $(srcdir) in \
12211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12212 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12215 srcdiroption="--srcdir=$${topdir}/mpc"; \
12216 libsrcdir="$$s/mpc"; \
12217 $(SHELL) $${libsrcdir}/configure \
12218 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12219 --target=${target_alias} $${srcdiroption} \
12220 --with-build-libsubdir=$(HOST_SUBDIR) \
12221 $(STAGE3_CONFIGURE_FLAGS) \
12222 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12223 @endif mpc-bootstrap
12225 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12226 maybe-configure-stage4-mpc:
12228 maybe-configure-stage4-mpc: configure-stage4-mpc
12229 configure-stage4-mpc:
12230 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12232 @r=`${PWD_COMMAND}`; export r; \
12233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12234 TFLAGS="$(STAGE4_TFLAGS)"; \
12235 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12237 $(POSTSTAGE1_HOST_EXPORTS) \
12238 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12239 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12240 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12241 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12243 cd $(HOST_SUBDIR)/mpc || exit 1; \
12244 case $(srcdir) in \
12245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12246 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12249 srcdiroption="--srcdir=$${topdir}/mpc"; \
12250 libsrcdir="$$s/mpc"; \
12251 $(SHELL) $${libsrcdir}/configure \
12252 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12253 --target=${target_alias} $${srcdiroption} \
12254 --with-build-libsubdir=$(HOST_SUBDIR) \
12255 $(STAGE4_CONFIGURE_FLAGS) \
12256 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12257 @endif mpc-bootstrap
12259 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12260 maybe-configure-stageprofile-mpc:
12262 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12263 configure-stageprofile-mpc:
12264 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12266 @r=`${PWD_COMMAND}`; export r; \
12267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12268 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12269 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12271 $(POSTSTAGE1_HOST_EXPORTS) \
12272 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12273 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12274 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12275 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12277 cd $(HOST_SUBDIR)/mpc || exit 1; \
12278 case $(srcdir) in \
12279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12280 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12283 srcdiroption="--srcdir=$${topdir}/mpc"; \
12284 libsrcdir="$$s/mpc"; \
12285 $(SHELL) $${libsrcdir}/configure \
12286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12287 --target=${target_alias} $${srcdiroption} \
12288 --with-build-libsubdir=$(HOST_SUBDIR) \
12289 $(STAGEprofile_CONFIGURE_FLAGS) \
12290 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12291 @endif mpc-bootstrap
12293 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12294 maybe-configure-stagefeedback-mpc:
12296 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12297 configure-stagefeedback-mpc:
12298 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12300 @r=`${PWD_COMMAND}`; export r; \
12301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12302 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12303 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12305 $(POSTSTAGE1_HOST_EXPORTS) \
12306 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12307 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12308 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12309 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12311 cd $(HOST_SUBDIR)/mpc || exit 1; \
12312 case $(srcdir) in \
12313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12314 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12317 srcdiroption="--srcdir=$${topdir}/mpc"; \
12318 libsrcdir="$$s/mpc"; \
12319 $(SHELL) $${libsrcdir}/configure \
12320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12321 --target=${target_alias} $${srcdiroption} \
12322 --with-build-libsubdir=$(HOST_SUBDIR) \
12323 $(STAGEfeedback_CONFIGURE_FLAGS) \
12324 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12325 @endif mpc-bootstrap
12331 .PHONY: all-mpc maybe-all-mpc
12334 all-mpc: stage_current
12335 @endif gcc-bootstrap
12338 maybe-all-mpc: all-mpc
12339 all-mpc: configure-mpc
12340 @r=`${PWD_COMMAND}`; export r; \
12341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12343 (cd $(HOST_SUBDIR)/mpc && \
12344 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12350 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12351 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12352 maybe-all-stage1-mpc:
12353 maybe-clean-stage1-mpc:
12355 maybe-all-stage1-mpc: all-stage1-mpc
12356 all-stage1: all-stage1-mpc
12357 TARGET-stage1-mpc = $(TARGET-mpc)
12358 all-stage1-mpc: configure-stage1-mpc
12359 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12360 @r=`${PWD_COMMAND}`; export r; \
12361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12362 TFLAGS="$(STAGE1_TFLAGS)"; \
12364 cd $(HOST_SUBDIR)/mpc && \
12365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12366 CFLAGS="$(STAGE1_CFLAGS)" \
12367 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12368 LIBCFLAGS="$(LIBCFLAGS)" \
12369 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12370 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12371 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12372 $(EXTRA_HOST_FLAGS) \
12373 $(STAGE1_FLAGS_TO_PASS) \
12374 TFLAGS="$(STAGE1_TFLAGS)" \
12375 $(TARGET-stage1-mpc)
12377 maybe-clean-stage1-mpc: clean-stage1-mpc
12378 clean-stage1: clean-stage1-mpc
12380 @if [ $(current_stage) = stage1 ]; then \
12381 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12383 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12384 $(MAKE) stage1-start; \
12386 cd $(HOST_SUBDIR)/mpc && \
12387 $(MAKE) $(EXTRA_HOST_FLAGS) \
12388 $(STAGE1_FLAGS_TO_PASS) clean
12389 @endif mpc-bootstrap
12392 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12393 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12394 maybe-all-stage2-mpc:
12395 maybe-clean-stage2-mpc:
12397 maybe-all-stage2-mpc: all-stage2-mpc
12398 all-stage2: all-stage2-mpc
12399 TARGET-stage2-mpc = $(TARGET-mpc)
12400 all-stage2-mpc: configure-stage2-mpc
12401 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12402 @r=`${PWD_COMMAND}`; export r; \
12403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12404 TFLAGS="$(STAGE2_TFLAGS)"; \
12406 $(POSTSTAGE1_HOST_EXPORTS) \
12407 cd $(HOST_SUBDIR)/mpc && \
12408 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12409 CFLAGS="$(STAGE2_CFLAGS)" \
12410 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12411 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12412 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12413 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12414 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12415 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12416 TFLAGS="$(STAGE2_TFLAGS)" \
12417 $(TARGET-stage2-mpc)
12419 maybe-clean-stage2-mpc: clean-stage2-mpc
12420 clean-stage2: clean-stage2-mpc
12422 @if [ $(current_stage) = stage2 ]; then \
12423 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12425 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12426 $(MAKE) stage2-start; \
12428 cd $(HOST_SUBDIR)/mpc && \
12429 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12430 @endif mpc-bootstrap
12433 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12434 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12435 maybe-all-stage3-mpc:
12436 maybe-clean-stage3-mpc:
12438 maybe-all-stage3-mpc: all-stage3-mpc
12439 all-stage3: all-stage3-mpc
12440 TARGET-stage3-mpc = $(TARGET-mpc)
12441 all-stage3-mpc: configure-stage3-mpc
12442 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12443 @r=`${PWD_COMMAND}`; export r; \
12444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12445 TFLAGS="$(STAGE3_TFLAGS)"; \
12447 $(POSTSTAGE1_HOST_EXPORTS) \
12448 cd $(HOST_SUBDIR)/mpc && \
12449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12450 CFLAGS="$(STAGE3_CFLAGS)" \
12451 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12452 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12457 TFLAGS="$(STAGE3_TFLAGS)" \
12458 $(TARGET-stage3-mpc)
12460 maybe-clean-stage3-mpc: clean-stage3-mpc
12461 clean-stage3: clean-stage3-mpc
12463 @if [ $(current_stage) = stage3 ]; then \
12464 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12466 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12467 $(MAKE) stage3-start; \
12469 cd $(HOST_SUBDIR)/mpc && \
12470 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12471 @endif mpc-bootstrap
12474 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12475 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12476 maybe-all-stage4-mpc:
12477 maybe-clean-stage4-mpc:
12479 maybe-all-stage4-mpc: all-stage4-mpc
12480 all-stage4: all-stage4-mpc
12481 TARGET-stage4-mpc = $(TARGET-mpc)
12482 all-stage4-mpc: configure-stage4-mpc
12483 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12484 @r=`${PWD_COMMAND}`; export r; \
12485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12486 TFLAGS="$(STAGE4_TFLAGS)"; \
12488 $(POSTSTAGE1_HOST_EXPORTS) \
12489 cd $(HOST_SUBDIR)/mpc && \
12490 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12491 CFLAGS="$(STAGE4_CFLAGS)" \
12492 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12493 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12494 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12495 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12496 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12497 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12498 TFLAGS="$(STAGE4_TFLAGS)" \
12499 $(TARGET-stage4-mpc)
12501 maybe-clean-stage4-mpc: clean-stage4-mpc
12502 clean-stage4: clean-stage4-mpc
12504 @if [ $(current_stage) = stage4 ]; then \
12505 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12507 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
12508 $(MAKE) stage4-start; \
12510 cd $(HOST_SUBDIR)/mpc && \
12511 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12512 @endif mpc-bootstrap
12515 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
12516 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
12517 maybe-all-stageprofile-mpc:
12518 maybe-clean-stageprofile-mpc:
12520 maybe-all-stageprofile-mpc: all-stageprofile-mpc
12521 all-stageprofile: all-stageprofile-mpc
12522 TARGET-stageprofile-mpc = $(TARGET-mpc)
12523 all-stageprofile-mpc: configure-stageprofile-mpc
12524 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12525 @r=`${PWD_COMMAND}`; export r; \
12526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12527 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12529 $(POSTSTAGE1_HOST_EXPORTS) \
12530 cd $(HOST_SUBDIR)/mpc && \
12531 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12532 CFLAGS="$(STAGEprofile_CFLAGS)" \
12533 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12534 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12539 TFLAGS="$(STAGEprofile_TFLAGS)" \
12540 $(TARGET-stageprofile-mpc)
12542 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
12543 clean-stageprofile: clean-stageprofile-mpc
12544 clean-stageprofile-mpc:
12545 @if [ $(current_stage) = stageprofile ]; then \
12546 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12548 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
12549 $(MAKE) stageprofile-start; \
12551 cd $(HOST_SUBDIR)/mpc && \
12552 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12553 @endif mpc-bootstrap
12556 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
12557 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
12558 maybe-all-stagefeedback-mpc:
12559 maybe-clean-stagefeedback-mpc:
12561 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
12562 all-stagefeedback: all-stagefeedback-mpc
12563 TARGET-stagefeedback-mpc = $(TARGET-mpc)
12564 all-stagefeedback-mpc: configure-stagefeedback-mpc
12565 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12566 @r=`${PWD_COMMAND}`; export r; \
12567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12568 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12570 $(POSTSTAGE1_HOST_EXPORTS) \
12571 cd $(HOST_SUBDIR)/mpc && \
12572 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12573 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12574 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12575 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12579 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12580 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12581 $(TARGET-stagefeedback-mpc)
12583 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
12584 clean-stagefeedback: clean-stagefeedback-mpc
12585 clean-stagefeedback-mpc:
12586 @if [ $(current_stage) = stagefeedback ]; then \
12587 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12589 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
12590 $(MAKE) stagefeedback-start; \
12592 cd $(HOST_SUBDIR)/mpc && \
12593 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12594 @endif mpc-bootstrap
12600 .PHONY: check-mpc maybe-check-mpc
12603 maybe-check-mpc: check-mpc
12606 @: $(MAKE); $(unstage)
12607 @r=`${PWD_COMMAND}`; export r; \
12608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12610 (cd $(HOST_SUBDIR)/mpc && \
12611 $(MAKE) $(FLAGS_TO_PASS) check)
12615 .PHONY: install-mpc maybe-install-mpc
12618 maybe-install-mpc: install-mpc
12624 .PHONY: install-strip-mpc maybe-install-strip-mpc
12625 maybe-install-strip-mpc:
12627 maybe-install-strip-mpc: install-strip-mpc
12633 # Other targets (info, dvi, pdf, etc.)
12635 .PHONY: maybe-info-mpc info-mpc
12638 maybe-info-mpc: info-mpc
12642 @[ -f ./mpc/Makefile ] || exit 0; \
12643 r=`${PWD_COMMAND}`; export r; \
12644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12646 for flag in $(EXTRA_HOST_FLAGS) ; do \
12647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12649 echo "Doing info in mpc" ; \
12650 (cd $(HOST_SUBDIR)/mpc && \
12651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12653 "RANLIB=$${RANLIB}" \
12654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12660 .PHONY: maybe-dvi-mpc dvi-mpc
12663 maybe-dvi-mpc: dvi-mpc
12667 @[ -f ./mpc/Makefile ] || exit 0; \
12668 r=`${PWD_COMMAND}`; export r; \
12669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12671 for flag in $(EXTRA_HOST_FLAGS) ; do \
12672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12674 echo "Doing dvi in mpc" ; \
12675 (cd $(HOST_SUBDIR)/mpc && \
12676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12678 "RANLIB=$${RANLIB}" \
12679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12685 .PHONY: maybe-pdf-mpc pdf-mpc
12688 maybe-pdf-mpc: pdf-mpc
12692 @[ -f ./mpc/Makefile ] || exit 0; \
12693 r=`${PWD_COMMAND}`; export r; \
12694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12696 for flag in $(EXTRA_HOST_FLAGS) ; do \
12697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12699 echo "Doing pdf in mpc" ; \
12700 (cd $(HOST_SUBDIR)/mpc && \
12701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12703 "RANLIB=$${RANLIB}" \
12704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12710 .PHONY: maybe-html-mpc html-mpc
12713 maybe-html-mpc: html-mpc
12717 @[ -f ./mpc/Makefile ] || exit 0; \
12718 r=`${PWD_COMMAND}`; export r; \
12719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12721 for flag in $(EXTRA_HOST_FLAGS) ; do \
12722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12724 echo "Doing html in mpc" ; \
12725 (cd $(HOST_SUBDIR)/mpc && \
12726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12728 "RANLIB=$${RANLIB}" \
12729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12735 .PHONY: maybe-TAGS-mpc TAGS-mpc
12738 maybe-TAGS-mpc: TAGS-mpc
12742 @[ -f ./mpc/Makefile ] || exit 0; \
12743 r=`${PWD_COMMAND}`; export r; \
12744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12746 for flag in $(EXTRA_HOST_FLAGS) ; do \
12747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12749 echo "Doing TAGS in mpc" ; \
12750 (cd $(HOST_SUBDIR)/mpc && \
12751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12753 "RANLIB=$${RANLIB}" \
12754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12760 .PHONY: maybe-install-info-mpc install-info-mpc
12761 maybe-install-info-mpc:
12763 maybe-install-info-mpc: install-info-mpc
12765 install-info-mpc: \
12768 @[ -f ./mpc/Makefile ] || exit 0; \
12769 r=`${PWD_COMMAND}`; export r; \
12770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12772 for flag in $(EXTRA_HOST_FLAGS) ; do \
12773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12775 echo "Doing install-info in mpc" ; \
12776 (cd $(HOST_SUBDIR)/mpc && \
12777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12779 "RANLIB=$${RANLIB}" \
12780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12786 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
12787 maybe-install-pdf-mpc:
12789 maybe-install-pdf-mpc: install-pdf-mpc
12794 @[ -f ./mpc/Makefile ] || exit 0; \
12795 r=`${PWD_COMMAND}`; export r; \
12796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12798 for flag in $(EXTRA_HOST_FLAGS) ; do \
12799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12801 echo "Doing install-pdf in mpc" ; \
12802 (cd $(HOST_SUBDIR)/mpc && \
12803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12805 "RANLIB=$${RANLIB}" \
12806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12812 .PHONY: maybe-install-html-mpc install-html-mpc
12813 maybe-install-html-mpc:
12815 maybe-install-html-mpc: install-html-mpc
12817 install-html-mpc: \
12820 @[ -f ./mpc/Makefile ] || exit 0; \
12821 r=`${PWD_COMMAND}`; export r; \
12822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12824 for flag in $(EXTRA_HOST_FLAGS) ; do \
12825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12827 echo "Doing install-html in mpc" ; \
12828 (cd $(HOST_SUBDIR)/mpc && \
12829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12831 "RANLIB=$${RANLIB}" \
12832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12838 .PHONY: maybe-installcheck-mpc installcheck-mpc
12839 maybe-installcheck-mpc:
12841 maybe-installcheck-mpc: installcheck-mpc
12843 installcheck-mpc: \
12845 @[ -f ./mpc/Makefile ] || exit 0; \
12846 r=`${PWD_COMMAND}`; export r; \
12847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12849 for flag in $(EXTRA_HOST_FLAGS) ; do \
12850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12852 echo "Doing installcheck in mpc" ; \
12853 (cd $(HOST_SUBDIR)/mpc && \
12854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12856 "RANLIB=$${RANLIB}" \
12857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12863 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
12864 maybe-mostlyclean-mpc:
12866 maybe-mostlyclean-mpc: mostlyclean-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 mostlyclean 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-clean-mpc clean-mpc
12890 maybe-clean-mpc: clean-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 clean 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-distclean-mpc distclean-mpc
12912 maybe-distclean-mpc:
12914 maybe-distclean-mpc: distclean-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 distclean 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-maintainer-clean-mpc maintainer-clean-mpc
12936 maybe-maintainer-clean-mpc:
12938 maybe-maintainer-clean-mpc: maintainer-clean-mpc
12940 maintainer-clean-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 maintainer-clean 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}" \
12954 maintainer-clean) \
12961 .PHONY: configure-isl maybe-configure-isl
12962 maybe-configure-isl:
12964 configure-isl: stage_current
12965 @endif gcc-bootstrap
12967 maybe-configure-isl: configure-isl
12969 @r=`${PWD_COMMAND}`; export r; \
12970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12971 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
12972 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
12974 echo Configuring in $(HOST_SUBDIR)/isl; \
12975 cd "$(HOST_SUBDIR)/isl" || exit 1; \
12976 case $(srcdir) in \
12977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12978 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
12979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12981 srcdiroption="--srcdir=$${topdir}/isl"; \
12982 libsrcdir="$$s/isl"; \
12983 $(SHELL) $${libsrcdir}/configure \
12984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12985 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
12991 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
12992 maybe-configure-stage1-isl:
12994 maybe-configure-stage1-isl: configure-stage1-isl
12995 configure-stage1-isl:
12996 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
12998 @r=`${PWD_COMMAND}`; export r; \
12999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13000 TFLAGS="$(STAGE1_TFLAGS)"; \
13001 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13003 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13004 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13005 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13006 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13008 cd $(HOST_SUBDIR)/isl || exit 1; \
13009 case $(srcdir) in \
13010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13011 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13014 srcdiroption="--srcdir=$${topdir}/isl"; \
13015 libsrcdir="$$s/isl"; \
13016 $(SHELL) $${libsrcdir}/configure \
13017 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13018 --target=${target_alias} $${srcdiroption} \
13019 $(STAGE1_CONFIGURE_FLAGS) \
13020 --disable-shared @extra_isl_gmp_configure_flags@
13021 @endif isl-bootstrap
13023 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13024 maybe-configure-stage2-isl:
13026 maybe-configure-stage2-isl: configure-stage2-isl
13027 configure-stage2-isl:
13028 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13030 @r=`${PWD_COMMAND}`; export r; \
13031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13032 TFLAGS="$(STAGE2_TFLAGS)"; \
13033 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13035 $(POSTSTAGE1_HOST_EXPORTS) \
13036 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13037 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13038 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13039 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13041 cd $(HOST_SUBDIR)/isl || exit 1; \
13042 case $(srcdir) in \
13043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13044 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13047 srcdiroption="--srcdir=$${topdir}/isl"; \
13048 libsrcdir="$$s/isl"; \
13049 $(SHELL) $${libsrcdir}/configure \
13050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13051 --target=${target_alias} $${srcdiroption} \
13052 --with-build-libsubdir=$(HOST_SUBDIR) \
13053 $(STAGE2_CONFIGURE_FLAGS) \
13054 --disable-shared @extra_isl_gmp_configure_flags@
13055 @endif isl-bootstrap
13057 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13058 maybe-configure-stage3-isl:
13060 maybe-configure-stage3-isl: configure-stage3-isl
13061 configure-stage3-isl:
13062 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13064 @r=`${PWD_COMMAND}`; export r; \
13065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13066 TFLAGS="$(STAGE3_TFLAGS)"; \
13067 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13069 $(POSTSTAGE1_HOST_EXPORTS) \
13070 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13071 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13072 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13073 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13075 cd $(HOST_SUBDIR)/isl || exit 1; \
13076 case $(srcdir) in \
13077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13078 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13081 srcdiroption="--srcdir=$${topdir}/isl"; \
13082 libsrcdir="$$s/isl"; \
13083 $(SHELL) $${libsrcdir}/configure \
13084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13085 --target=${target_alias} $${srcdiroption} \
13086 --with-build-libsubdir=$(HOST_SUBDIR) \
13087 $(STAGE3_CONFIGURE_FLAGS) \
13088 --disable-shared @extra_isl_gmp_configure_flags@
13089 @endif isl-bootstrap
13091 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13092 maybe-configure-stage4-isl:
13094 maybe-configure-stage4-isl: configure-stage4-isl
13095 configure-stage4-isl:
13096 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13098 @r=`${PWD_COMMAND}`; export r; \
13099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13100 TFLAGS="$(STAGE4_TFLAGS)"; \
13101 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13103 $(POSTSTAGE1_HOST_EXPORTS) \
13104 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13105 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13106 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13107 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13109 cd $(HOST_SUBDIR)/isl || exit 1; \
13110 case $(srcdir) in \
13111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13112 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13115 srcdiroption="--srcdir=$${topdir}/isl"; \
13116 libsrcdir="$$s/isl"; \
13117 $(SHELL) $${libsrcdir}/configure \
13118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13119 --target=${target_alias} $${srcdiroption} \
13120 --with-build-libsubdir=$(HOST_SUBDIR) \
13121 $(STAGE4_CONFIGURE_FLAGS) \
13122 --disable-shared @extra_isl_gmp_configure_flags@
13123 @endif isl-bootstrap
13125 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13126 maybe-configure-stageprofile-isl:
13128 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13129 configure-stageprofile-isl:
13130 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13132 @r=`${PWD_COMMAND}`; export r; \
13133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13134 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13135 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13137 $(POSTSTAGE1_HOST_EXPORTS) \
13138 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13139 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13140 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13141 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13143 cd $(HOST_SUBDIR)/isl || exit 1; \
13144 case $(srcdir) in \
13145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13146 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13149 srcdiroption="--srcdir=$${topdir}/isl"; \
13150 libsrcdir="$$s/isl"; \
13151 $(SHELL) $${libsrcdir}/configure \
13152 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13153 --target=${target_alias} $${srcdiroption} \
13154 --with-build-libsubdir=$(HOST_SUBDIR) \
13155 $(STAGEprofile_CONFIGURE_FLAGS) \
13156 --disable-shared @extra_isl_gmp_configure_flags@
13157 @endif isl-bootstrap
13159 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13160 maybe-configure-stagefeedback-isl:
13162 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13163 configure-stagefeedback-isl:
13164 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13165 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13166 @r=`${PWD_COMMAND}`; export r; \
13167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13168 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13169 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13171 $(POSTSTAGE1_HOST_EXPORTS) \
13172 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13173 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13174 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13175 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13177 cd $(HOST_SUBDIR)/isl || exit 1; \
13178 case $(srcdir) in \
13179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13180 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13183 srcdiroption="--srcdir=$${topdir}/isl"; \
13184 libsrcdir="$$s/isl"; \
13185 $(SHELL) $${libsrcdir}/configure \
13186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13187 --target=${target_alias} $${srcdiroption} \
13188 --with-build-libsubdir=$(HOST_SUBDIR) \
13189 $(STAGEfeedback_CONFIGURE_FLAGS) \
13190 --disable-shared @extra_isl_gmp_configure_flags@
13191 @endif isl-bootstrap
13197 .PHONY: all-isl maybe-all-isl
13200 all-isl: stage_current
13201 @endif gcc-bootstrap
13204 maybe-all-isl: all-isl
13205 all-isl: configure-isl
13206 @r=`${PWD_COMMAND}`; export r; \
13207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13209 (cd $(HOST_SUBDIR)/isl && \
13210 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13216 .PHONY: all-stage1-isl maybe-all-stage1-isl
13217 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13218 maybe-all-stage1-isl:
13219 maybe-clean-stage1-isl:
13221 maybe-all-stage1-isl: all-stage1-isl
13222 all-stage1: all-stage1-isl
13223 TARGET-stage1-isl = $(TARGET-isl)
13224 all-stage1-isl: configure-stage1-isl
13225 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13226 @r=`${PWD_COMMAND}`; export r; \
13227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 TFLAGS="$(STAGE1_TFLAGS)"; \
13230 cd $(HOST_SUBDIR)/isl && \
13231 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13232 CFLAGS="$(STAGE1_CFLAGS)" \
13233 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13234 LIBCFLAGS="$(LIBCFLAGS)" \
13235 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13236 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13237 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13238 $(EXTRA_HOST_FLAGS) \
13239 $(STAGE1_FLAGS_TO_PASS) V=1 \
13240 TFLAGS="$(STAGE1_TFLAGS)" \
13241 $(TARGET-stage1-isl)
13243 maybe-clean-stage1-isl: clean-stage1-isl
13244 clean-stage1: clean-stage1-isl
13246 @if [ $(current_stage) = stage1 ]; then \
13247 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13249 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13250 $(MAKE) stage1-start; \
13252 cd $(HOST_SUBDIR)/isl && \
13253 $(MAKE) $(EXTRA_HOST_FLAGS) \
13254 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13255 @endif isl-bootstrap
13258 .PHONY: all-stage2-isl maybe-all-stage2-isl
13259 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13260 maybe-all-stage2-isl:
13261 maybe-clean-stage2-isl:
13263 maybe-all-stage2-isl: all-stage2-isl
13264 all-stage2: all-stage2-isl
13265 TARGET-stage2-isl = $(TARGET-isl)
13266 all-stage2-isl: configure-stage2-isl
13267 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13268 @r=`${PWD_COMMAND}`; export r; \
13269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13270 TFLAGS="$(STAGE2_TFLAGS)"; \
13272 $(POSTSTAGE1_HOST_EXPORTS) \
13273 cd $(HOST_SUBDIR)/isl && \
13274 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13275 CFLAGS="$(STAGE2_CFLAGS)" \
13276 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13277 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13278 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13279 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13280 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13281 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13282 TFLAGS="$(STAGE2_TFLAGS)" \
13283 $(TARGET-stage2-isl)
13285 maybe-clean-stage2-isl: clean-stage2-isl
13286 clean-stage2: clean-stage2-isl
13288 @if [ $(current_stage) = stage2 ]; then \
13289 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13291 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13292 $(MAKE) stage2-start; \
13294 cd $(HOST_SUBDIR)/isl && \
13295 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13296 @endif isl-bootstrap
13299 .PHONY: all-stage3-isl maybe-all-stage3-isl
13300 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13301 maybe-all-stage3-isl:
13302 maybe-clean-stage3-isl:
13304 maybe-all-stage3-isl: all-stage3-isl
13305 all-stage3: all-stage3-isl
13306 TARGET-stage3-isl = $(TARGET-isl)
13307 all-stage3-isl: configure-stage3-isl
13308 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13309 @r=`${PWD_COMMAND}`; export r; \
13310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13311 TFLAGS="$(STAGE3_TFLAGS)"; \
13313 $(POSTSTAGE1_HOST_EXPORTS) \
13314 cd $(HOST_SUBDIR)/isl && \
13315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13316 CFLAGS="$(STAGE3_CFLAGS)" \
13317 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13318 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13319 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13320 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13321 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13322 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13323 TFLAGS="$(STAGE3_TFLAGS)" \
13324 $(TARGET-stage3-isl)
13326 maybe-clean-stage3-isl: clean-stage3-isl
13327 clean-stage3: clean-stage3-isl
13329 @if [ $(current_stage) = stage3 ]; then \
13330 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13332 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13333 $(MAKE) stage3-start; \
13335 cd $(HOST_SUBDIR)/isl && \
13336 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13337 @endif isl-bootstrap
13340 .PHONY: all-stage4-isl maybe-all-stage4-isl
13341 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13342 maybe-all-stage4-isl:
13343 maybe-clean-stage4-isl:
13345 maybe-all-stage4-isl: all-stage4-isl
13346 all-stage4: all-stage4-isl
13347 TARGET-stage4-isl = $(TARGET-isl)
13348 all-stage4-isl: configure-stage4-isl
13349 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13350 @r=`${PWD_COMMAND}`; export r; \
13351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13352 TFLAGS="$(STAGE4_TFLAGS)"; \
13354 $(POSTSTAGE1_HOST_EXPORTS) \
13355 cd $(HOST_SUBDIR)/isl && \
13356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13357 CFLAGS="$(STAGE4_CFLAGS)" \
13358 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13359 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13360 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13361 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13362 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13363 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13364 TFLAGS="$(STAGE4_TFLAGS)" \
13365 $(TARGET-stage4-isl)
13367 maybe-clean-stage4-isl: clean-stage4-isl
13368 clean-stage4: clean-stage4-isl
13370 @if [ $(current_stage) = stage4 ]; then \
13371 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13373 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13374 $(MAKE) stage4-start; \
13376 cd $(HOST_SUBDIR)/isl && \
13377 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13378 @endif isl-bootstrap
13381 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13382 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13383 maybe-all-stageprofile-isl:
13384 maybe-clean-stageprofile-isl:
13386 maybe-all-stageprofile-isl: all-stageprofile-isl
13387 all-stageprofile: all-stageprofile-isl
13388 TARGET-stageprofile-isl = $(TARGET-isl)
13389 all-stageprofile-isl: configure-stageprofile-isl
13390 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13391 @r=`${PWD_COMMAND}`; export r; \
13392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13393 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13395 $(POSTSTAGE1_HOST_EXPORTS) \
13396 cd $(HOST_SUBDIR)/isl && \
13397 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13398 CFLAGS="$(STAGEprofile_CFLAGS)" \
13399 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13400 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13401 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13402 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13403 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13404 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13405 TFLAGS="$(STAGEprofile_TFLAGS)" \
13406 $(TARGET-stageprofile-isl)
13408 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13409 clean-stageprofile: clean-stageprofile-isl
13410 clean-stageprofile-isl:
13411 @if [ $(current_stage) = stageprofile ]; then \
13412 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13414 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13415 $(MAKE) stageprofile-start; \
13417 cd $(HOST_SUBDIR)/isl && \
13418 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13419 @endif isl-bootstrap
13422 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13423 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13424 maybe-all-stagefeedback-isl:
13425 maybe-clean-stagefeedback-isl:
13427 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13428 all-stagefeedback: all-stagefeedback-isl
13429 TARGET-stagefeedback-isl = $(TARGET-isl)
13430 all-stagefeedback-isl: configure-stagefeedback-isl
13431 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13432 @r=`${PWD_COMMAND}`; export r; \
13433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13434 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13436 $(POSTSTAGE1_HOST_EXPORTS) \
13437 cd $(HOST_SUBDIR)/isl && \
13438 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13439 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13440 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13441 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13442 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13443 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13444 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13445 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13446 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13447 $(TARGET-stagefeedback-isl)
13449 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13450 clean-stagefeedback: clean-stagefeedback-isl
13451 clean-stagefeedback-isl:
13452 @if [ $(current_stage) = stagefeedback ]; then \
13453 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13455 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13456 $(MAKE) stagefeedback-start; \
13458 cd $(HOST_SUBDIR)/isl && \
13459 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13460 @endif isl-bootstrap
13466 .PHONY: check-isl maybe-check-isl
13469 maybe-check-isl: check-isl
13472 @: $(MAKE); $(unstage)
13473 @r=`${PWD_COMMAND}`; export r; \
13474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13476 (cd $(HOST_SUBDIR)/isl && \
13477 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13481 .PHONY: install-isl maybe-install-isl
13484 maybe-install-isl: install-isl
13490 .PHONY: install-strip-isl maybe-install-strip-isl
13491 maybe-install-strip-isl:
13493 maybe-install-strip-isl: install-strip-isl
13499 # Other targets (info, dvi, pdf, etc.)
13501 .PHONY: maybe-info-isl info-isl
13504 maybe-info-isl: info-isl
13508 @[ -f ./isl/Makefile ] || exit 0; \
13509 r=`${PWD_COMMAND}`; export r; \
13510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13512 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13515 echo "Doing info in isl" ; \
13516 (cd $(HOST_SUBDIR)/isl && \
13517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13519 "RANLIB=$${RANLIB}" \
13520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13526 .PHONY: maybe-dvi-isl dvi-isl
13529 maybe-dvi-isl: dvi-isl
13533 @[ -f ./isl/Makefile ] || exit 0; \
13534 r=`${PWD_COMMAND}`; export r; \
13535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13537 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13540 echo "Doing dvi in isl" ; \
13541 (cd $(HOST_SUBDIR)/isl && \
13542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13544 "RANLIB=$${RANLIB}" \
13545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13551 .PHONY: maybe-pdf-isl pdf-isl
13554 maybe-pdf-isl: pdf-isl
13558 @[ -f ./isl/Makefile ] || exit 0; \
13559 r=`${PWD_COMMAND}`; export r; \
13560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13562 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13565 echo "Doing pdf in isl" ; \
13566 (cd $(HOST_SUBDIR)/isl && \
13567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13569 "RANLIB=$${RANLIB}" \
13570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13576 .PHONY: maybe-html-isl html-isl
13579 maybe-html-isl: html-isl
13583 @[ -f ./isl/Makefile ] || exit 0; \
13584 r=`${PWD_COMMAND}`; export r; \
13585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13587 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13590 echo "Doing html in isl" ; \
13591 (cd $(HOST_SUBDIR)/isl && \
13592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13594 "RANLIB=$${RANLIB}" \
13595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13601 .PHONY: maybe-TAGS-isl TAGS-isl
13604 maybe-TAGS-isl: TAGS-isl
13608 @[ -f ./isl/Makefile ] || exit 0; \
13609 r=`${PWD_COMMAND}`; export r; \
13610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13612 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13615 echo "Doing TAGS in isl" ; \
13616 (cd $(HOST_SUBDIR)/isl && \
13617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13619 "RANLIB=$${RANLIB}" \
13620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13626 .PHONY: maybe-install-info-isl install-info-isl
13627 maybe-install-info-isl:
13629 maybe-install-info-isl: install-info-isl
13631 install-info-isl: \
13634 @[ -f ./isl/Makefile ] || exit 0; \
13635 r=`${PWD_COMMAND}`; export r; \
13636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13638 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13641 echo "Doing install-info in isl" ; \
13642 (cd $(HOST_SUBDIR)/isl && \
13643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13645 "RANLIB=$${RANLIB}" \
13646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13652 .PHONY: maybe-install-pdf-isl install-pdf-isl
13653 maybe-install-pdf-isl:
13655 maybe-install-pdf-isl: install-pdf-isl
13660 @[ -f ./isl/Makefile ] || exit 0; \
13661 r=`${PWD_COMMAND}`; export r; \
13662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13664 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13667 echo "Doing install-pdf in isl" ; \
13668 (cd $(HOST_SUBDIR)/isl && \
13669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13671 "RANLIB=$${RANLIB}" \
13672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13678 .PHONY: maybe-install-html-isl install-html-isl
13679 maybe-install-html-isl:
13681 maybe-install-html-isl: install-html-isl
13683 install-html-isl: \
13686 @[ -f ./isl/Makefile ] || exit 0; \
13687 r=`${PWD_COMMAND}`; export r; \
13688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13690 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13693 echo "Doing install-html in isl" ; \
13694 (cd $(HOST_SUBDIR)/isl && \
13695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13697 "RANLIB=$${RANLIB}" \
13698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13704 .PHONY: maybe-installcheck-isl installcheck-isl
13705 maybe-installcheck-isl:
13707 maybe-installcheck-isl: installcheck-isl
13709 installcheck-isl: \
13711 @[ -f ./isl/Makefile ] || exit 0; \
13712 r=`${PWD_COMMAND}`; export r; \
13713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13715 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
13716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13718 echo "Doing installcheck in isl" ; \
13719 (cd $(HOST_SUBDIR)/isl && \
13720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13722 "RANLIB=$${RANLIB}" \
13723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13729 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
13730 maybe-mostlyclean-isl:
13732 maybe-mostlyclean-isl: mostlyclean-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 mostlyclean 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-clean-isl clean-isl
13756 maybe-clean-isl: clean-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 clean 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-distclean-isl distclean-isl
13778 maybe-distclean-isl:
13780 maybe-distclean-isl: distclean-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 distclean 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-maintainer-clean-isl maintainer-clean-isl
13802 maybe-maintainer-clean-isl:
13804 maybe-maintainer-clean-isl: maintainer-clean-isl
13806 maintainer-clean-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 maintainer-clean 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}" \
13820 maintainer-clean) \
13827 .PHONY: configure-cloog maybe-configure-cloog
13828 maybe-configure-cloog:
13830 configure-cloog: stage_current
13831 @endif gcc-bootstrap
13833 maybe-configure-cloog: configure-cloog
13835 @r=`${PWD_COMMAND}`; export r; \
13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13837 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13839 $(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; \
13840 echo Configuring in $(HOST_SUBDIR)/cloog; \
13841 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
13842 case $(srcdir) in \
13843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13844 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13847 srcdiroption="--srcdir=$${topdir}/cloog"; \
13848 libsrcdir="$$s/cloog"; \
13849 $(SHELL) $${libsrcdir}/configure \
13850 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13851 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
13857 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
13858 maybe-configure-stage1-cloog:
13859 @if cloog-bootstrap
13860 maybe-configure-stage1-cloog: configure-stage1-cloog
13861 configure-stage1-cloog:
13862 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13864 @r=`${PWD_COMMAND}`; export r; \
13865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13866 TFLAGS="$(STAGE1_TFLAGS)"; \
13867 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13869 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13870 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13871 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; \
13872 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
13873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13874 cd $(HOST_SUBDIR)/cloog || exit 1; \
13875 case $(srcdir) in \
13876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13877 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13880 srcdiroption="--srcdir=$${topdir}/cloog"; \
13881 libsrcdir="$$s/cloog"; \
13882 $(SHELL) $${libsrcdir}/configure \
13883 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13884 --target=${target_alias} $${srcdiroption} \
13885 $(STAGE1_CONFIGURE_FLAGS) \
13886 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13887 @endif cloog-bootstrap
13889 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
13890 maybe-configure-stage2-cloog:
13891 @if cloog-bootstrap
13892 maybe-configure-stage2-cloog: configure-stage2-cloog
13893 configure-stage2-cloog:
13894 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13895 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13896 @r=`${PWD_COMMAND}`; export r; \
13897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13898 TFLAGS="$(STAGE2_TFLAGS)"; \
13899 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13901 $(POSTSTAGE1_HOST_EXPORTS) \
13902 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13903 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13904 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; \
13905 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
13906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13907 cd $(HOST_SUBDIR)/cloog || exit 1; \
13908 case $(srcdir) in \
13909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13910 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13913 srcdiroption="--srcdir=$${topdir}/cloog"; \
13914 libsrcdir="$$s/cloog"; \
13915 $(SHELL) $${libsrcdir}/configure \
13916 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13917 --target=${target_alias} $${srcdiroption} \
13918 --with-build-libsubdir=$(HOST_SUBDIR) \
13919 $(STAGE2_CONFIGURE_FLAGS) \
13920 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13921 @endif cloog-bootstrap
13923 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
13924 maybe-configure-stage3-cloog:
13925 @if cloog-bootstrap
13926 maybe-configure-stage3-cloog: configure-stage3-cloog
13927 configure-stage3-cloog:
13928 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13929 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13930 @r=`${PWD_COMMAND}`; export r; \
13931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13932 TFLAGS="$(STAGE3_TFLAGS)"; \
13933 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13935 $(POSTSTAGE1_HOST_EXPORTS) \
13936 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13937 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13938 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; \
13939 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
13940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13941 cd $(HOST_SUBDIR)/cloog || exit 1; \
13942 case $(srcdir) in \
13943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13944 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13947 srcdiroption="--srcdir=$${topdir}/cloog"; \
13948 libsrcdir="$$s/cloog"; \
13949 $(SHELL) $${libsrcdir}/configure \
13950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13951 --target=${target_alias} $${srcdiroption} \
13952 --with-build-libsubdir=$(HOST_SUBDIR) \
13953 $(STAGE3_CONFIGURE_FLAGS) \
13954 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13955 @endif cloog-bootstrap
13957 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
13958 maybe-configure-stage4-cloog:
13959 @if cloog-bootstrap
13960 maybe-configure-stage4-cloog: configure-stage4-cloog
13961 configure-stage4-cloog:
13962 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13964 @r=`${PWD_COMMAND}`; export r; \
13965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13966 TFLAGS="$(STAGE4_TFLAGS)"; \
13967 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
13969 $(POSTSTAGE1_HOST_EXPORTS) \
13970 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13971 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13972 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; \
13973 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
13974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
13975 cd $(HOST_SUBDIR)/cloog || exit 1; \
13976 case $(srcdir) in \
13977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13978 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
13979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13981 srcdiroption="--srcdir=$${topdir}/cloog"; \
13982 libsrcdir="$$s/cloog"; \
13983 $(SHELL) $${libsrcdir}/configure \
13984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13985 --target=${target_alias} $${srcdiroption} \
13986 --with-build-libsubdir=$(HOST_SUBDIR) \
13987 $(STAGE4_CONFIGURE_FLAGS) \
13988 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
13989 @endif cloog-bootstrap
13991 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
13992 maybe-configure-stageprofile-cloog:
13993 @if cloog-bootstrap
13994 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
13995 configure-stageprofile-cloog:
13996 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
13998 @r=`${PWD_COMMAND}`; export r; \
13999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14000 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14001 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14003 $(POSTSTAGE1_HOST_EXPORTS) \
14004 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14005 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14006 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; \
14007 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14009 cd $(HOST_SUBDIR)/cloog || exit 1; \
14010 case $(srcdir) in \
14011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14012 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14015 srcdiroption="--srcdir=$${topdir}/cloog"; \
14016 libsrcdir="$$s/cloog"; \
14017 $(SHELL) $${libsrcdir}/configure \
14018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14019 --target=${target_alias} $${srcdiroption} \
14020 --with-build-libsubdir=$(HOST_SUBDIR) \
14021 $(STAGEprofile_CONFIGURE_FLAGS) \
14022 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14023 @endif cloog-bootstrap
14025 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14026 maybe-configure-stagefeedback-cloog:
14027 @if cloog-bootstrap
14028 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14029 configure-stagefeedback-cloog:
14030 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14032 @r=`${PWD_COMMAND}`; export r; \
14033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14034 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14035 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14037 $(POSTSTAGE1_HOST_EXPORTS) \
14038 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14039 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14040 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; \
14041 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14043 cd $(HOST_SUBDIR)/cloog || exit 1; \
14044 case $(srcdir) in \
14045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14046 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14049 srcdiroption="--srcdir=$${topdir}/cloog"; \
14050 libsrcdir="$$s/cloog"; \
14051 $(SHELL) $${libsrcdir}/configure \
14052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14053 --target=${target_alias} $${srcdiroption} \
14054 --with-build-libsubdir=$(HOST_SUBDIR) \
14055 $(STAGEfeedback_CONFIGURE_FLAGS) \
14056 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14057 @endif cloog-bootstrap
14063 .PHONY: all-cloog maybe-all-cloog
14066 all-cloog: stage_current
14067 @endif gcc-bootstrap
14070 maybe-all-cloog: all-cloog
14071 all-cloog: configure-cloog
14072 @r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14074 $(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; \
14075 (cd $(HOST_SUBDIR)/cloog && \
14076 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14082 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14083 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14084 maybe-all-stage1-cloog:
14085 maybe-clean-stage1-cloog:
14086 @if cloog-bootstrap
14087 maybe-all-stage1-cloog: all-stage1-cloog
14088 all-stage1: all-stage1-cloog
14089 TARGET-stage1-cloog = $(TARGET-cloog)
14090 all-stage1-cloog: configure-stage1-cloog
14091 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14092 @r=`${PWD_COMMAND}`; export r; \
14093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14094 TFLAGS="$(STAGE1_TFLAGS)"; \
14095 $(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; \
14096 cd $(HOST_SUBDIR)/cloog && \
14097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14098 CFLAGS="$(STAGE1_CFLAGS)" \
14099 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14100 LIBCFLAGS="$(LIBCFLAGS)" \
14101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14104 $(EXTRA_HOST_FLAGS) \
14105 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14106 TFLAGS="$(STAGE1_TFLAGS)" \
14107 $(TARGET-stage1-cloog)
14109 maybe-clean-stage1-cloog: clean-stage1-cloog
14110 clean-stage1: clean-stage1-cloog
14111 clean-stage1-cloog:
14112 @if [ $(current_stage) = stage1 ]; then \
14113 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14115 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14116 $(MAKE) stage1-start; \
14118 cd $(HOST_SUBDIR)/cloog && \
14119 $(MAKE) $(EXTRA_HOST_FLAGS) \
14120 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14121 @endif cloog-bootstrap
14124 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14125 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14126 maybe-all-stage2-cloog:
14127 maybe-clean-stage2-cloog:
14128 @if cloog-bootstrap
14129 maybe-all-stage2-cloog: all-stage2-cloog
14130 all-stage2: all-stage2-cloog
14131 TARGET-stage2-cloog = $(TARGET-cloog)
14132 all-stage2-cloog: configure-stage2-cloog
14133 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14134 @r=`${PWD_COMMAND}`; export r; \
14135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14136 TFLAGS="$(STAGE2_TFLAGS)"; \
14138 $(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; \
14139 cd $(HOST_SUBDIR)/cloog && \
14140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14141 CFLAGS="$(STAGE2_CFLAGS)" \
14142 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14143 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14144 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14145 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14146 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14147 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14148 TFLAGS="$(STAGE2_TFLAGS)" \
14149 $(TARGET-stage2-cloog)
14151 maybe-clean-stage2-cloog: clean-stage2-cloog
14152 clean-stage2: clean-stage2-cloog
14153 clean-stage2-cloog:
14154 @if [ $(current_stage) = stage2 ]; then \
14155 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14157 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14158 $(MAKE) stage2-start; \
14160 cd $(HOST_SUBDIR)/cloog && \
14161 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14162 @endif cloog-bootstrap
14165 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14166 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14167 maybe-all-stage3-cloog:
14168 maybe-clean-stage3-cloog:
14169 @if cloog-bootstrap
14170 maybe-all-stage3-cloog: all-stage3-cloog
14171 all-stage3: all-stage3-cloog
14172 TARGET-stage3-cloog = $(TARGET-cloog)
14173 all-stage3-cloog: configure-stage3-cloog
14174 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14175 @r=`${PWD_COMMAND}`; export r; \
14176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14177 TFLAGS="$(STAGE3_TFLAGS)"; \
14179 $(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; \
14180 cd $(HOST_SUBDIR)/cloog && \
14181 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14182 CFLAGS="$(STAGE3_CFLAGS)" \
14183 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14184 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14188 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14189 TFLAGS="$(STAGE3_TFLAGS)" \
14190 $(TARGET-stage3-cloog)
14192 maybe-clean-stage3-cloog: clean-stage3-cloog
14193 clean-stage3: clean-stage3-cloog
14194 clean-stage3-cloog:
14195 @if [ $(current_stage) = stage3 ]; then \
14196 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14198 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14199 $(MAKE) stage3-start; \
14201 cd $(HOST_SUBDIR)/cloog && \
14202 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14203 @endif cloog-bootstrap
14206 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14207 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14208 maybe-all-stage4-cloog:
14209 maybe-clean-stage4-cloog:
14210 @if cloog-bootstrap
14211 maybe-all-stage4-cloog: all-stage4-cloog
14212 all-stage4: all-stage4-cloog
14213 TARGET-stage4-cloog = $(TARGET-cloog)
14214 all-stage4-cloog: configure-stage4-cloog
14215 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14216 @r=`${PWD_COMMAND}`; export r; \
14217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14218 TFLAGS="$(STAGE4_TFLAGS)"; \
14220 $(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; \
14221 cd $(HOST_SUBDIR)/cloog && \
14222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14223 CFLAGS="$(STAGE4_CFLAGS)" \
14224 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14225 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14229 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14230 TFLAGS="$(STAGE4_TFLAGS)" \
14231 $(TARGET-stage4-cloog)
14233 maybe-clean-stage4-cloog: clean-stage4-cloog
14234 clean-stage4: clean-stage4-cloog
14235 clean-stage4-cloog:
14236 @if [ $(current_stage) = stage4 ]; then \
14237 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14239 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14240 $(MAKE) stage4-start; \
14242 cd $(HOST_SUBDIR)/cloog && \
14243 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14244 @endif cloog-bootstrap
14247 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14248 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14249 maybe-all-stageprofile-cloog:
14250 maybe-clean-stageprofile-cloog:
14251 @if cloog-bootstrap
14252 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14253 all-stageprofile: all-stageprofile-cloog
14254 TARGET-stageprofile-cloog = $(TARGET-cloog)
14255 all-stageprofile-cloog: configure-stageprofile-cloog
14256 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14257 @r=`${PWD_COMMAND}`; export r; \
14258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14259 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14261 $(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; \
14262 cd $(HOST_SUBDIR)/cloog && \
14263 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14264 CFLAGS="$(STAGEprofile_CFLAGS)" \
14265 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14266 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14270 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14271 TFLAGS="$(STAGEprofile_TFLAGS)" \
14272 $(TARGET-stageprofile-cloog)
14274 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14275 clean-stageprofile: clean-stageprofile-cloog
14276 clean-stageprofile-cloog:
14277 @if [ $(current_stage) = stageprofile ]; then \
14278 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14280 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14281 $(MAKE) stageprofile-start; \
14283 cd $(HOST_SUBDIR)/cloog && \
14284 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14285 @endif cloog-bootstrap
14288 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14289 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14290 maybe-all-stagefeedback-cloog:
14291 maybe-clean-stagefeedback-cloog:
14292 @if cloog-bootstrap
14293 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14294 all-stagefeedback: all-stagefeedback-cloog
14295 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14296 all-stagefeedback-cloog: configure-stagefeedback-cloog
14297 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14298 @r=`${PWD_COMMAND}`; export r; \
14299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14300 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14302 $(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; \
14303 cd $(HOST_SUBDIR)/cloog && \
14304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14305 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14306 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14307 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14312 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14313 $(TARGET-stagefeedback-cloog)
14315 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14316 clean-stagefeedback: clean-stagefeedback-cloog
14317 clean-stagefeedback-cloog:
14318 @if [ $(current_stage) = stagefeedback ]; then \
14319 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14321 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14322 $(MAKE) stagefeedback-start; \
14324 cd $(HOST_SUBDIR)/cloog && \
14325 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14326 @endif cloog-bootstrap
14332 .PHONY: check-cloog maybe-check-cloog
14335 maybe-check-cloog: check-cloog
14338 @: $(MAKE); $(unstage)
14339 @r=`${PWD_COMMAND}`; export r; \
14340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14342 (cd $(HOST_SUBDIR)/cloog && \
14343 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14347 .PHONY: install-cloog maybe-install-cloog
14348 maybe-install-cloog:
14350 maybe-install-cloog: install-cloog
14356 .PHONY: install-strip-cloog maybe-install-strip-cloog
14357 maybe-install-strip-cloog:
14359 maybe-install-strip-cloog: install-strip-cloog
14361 install-strip-cloog:
14365 # Other targets (info, dvi, pdf, etc.)
14367 .PHONY: maybe-info-cloog info-cloog
14370 maybe-info-cloog: info-cloog
14374 @[ -f ./cloog/Makefile ] || exit 0; \
14375 r=`${PWD_COMMAND}`; export r; \
14376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14378 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14381 echo "Doing info in cloog" ; \
14382 (cd $(HOST_SUBDIR)/cloog && \
14383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14385 "RANLIB=$${RANLIB}" \
14386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14392 .PHONY: maybe-dvi-cloog dvi-cloog
14395 maybe-dvi-cloog: dvi-cloog
14399 @[ -f ./cloog/Makefile ] || exit 0; \
14400 r=`${PWD_COMMAND}`; export r; \
14401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14403 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14406 echo "Doing dvi in cloog" ; \
14407 (cd $(HOST_SUBDIR)/cloog && \
14408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14410 "RANLIB=$${RANLIB}" \
14411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14417 .PHONY: maybe-pdf-cloog pdf-cloog
14420 maybe-pdf-cloog: pdf-cloog
14424 @[ -f ./cloog/Makefile ] || exit 0; \
14425 r=`${PWD_COMMAND}`; export r; \
14426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14428 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14431 echo "Doing pdf in cloog" ; \
14432 (cd $(HOST_SUBDIR)/cloog && \
14433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14435 "RANLIB=$${RANLIB}" \
14436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14442 .PHONY: maybe-html-cloog html-cloog
14445 maybe-html-cloog: html-cloog
14449 @[ -f ./cloog/Makefile ] || exit 0; \
14450 r=`${PWD_COMMAND}`; export r; \
14451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14453 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14456 echo "Doing html in cloog" ; \
14457 (cd $(HOST_SUBDIR)/cloog && \
14458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14460 "RANLIB=$${RANLIB}" \
14461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14467 .PHONY: maybe-TAGS-cloog TAGS-cloog
14470 maybe-TAGS-cloog: TAGS-cloog
14474 @[ -f ./cloog/Makefile ] || exit 0; \
14475 r=`${PWD_COMMAND}`; export r; \
14476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14478 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14481 echo "Doing TAGS in cloog" ; \
14482 (cd $(HOST_SUBDIR)/cloog && \
14483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14485 "RANLIB=$${RANLIB}" \
14486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14492 .PHONY: maybe-install-info-cloog install-info-cloog
14493 maybe-install-info-cloog:
14495 maybe-install-info-cloog: install-info-cloog
14497 install-info-cloog: \
14500 @[ -f ./cloog/Makefile ] || exit 0; \
14501 r=`${PWD_COMMAND}`; export r; \
14502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14504 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14507 echo "Doing install-info in cloog" ; \
14508 (cd $(HOST_SUBDIR)/cloog && \
14509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14511 "RANLIB=$${RANLIB}" \
14512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14518 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
14519 maybe-install-pdf-cloog:
14521 maybe-install-pdf-cloog: install-pdf-cloog
14523 install-pdf-cloog: \
14526 @[ -f ./cloog/Makefile ] || exit 0; \
14527 r=`${PWD_COMMAND}`; export r; \
14528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14530 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14533 echo "Doing install-pdf in cloog" ; \
14534 (cd $(HOST_SUBDIR)/cloog && \
14535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14537 "RANLIB=$${RANLIB}" \
14538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14544 .PHONY: maybe-install-html-cloog install-html-cloog
14545 maybe-install-html-cloog:
14547 maybe-install-html-cloog: install-html-cloog
14549 install-html-cloog: \
14552 @[ -f ./cloog/Makefile ] || exit 0; \
14553 r=`${PWD_COMMAND}`; export r; \
14554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14556 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14559 echo "Doing install-html in cloog" ; \
14560 (cd $(HOST_SUBDIR)/cloog && \
14561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14563 "RANLIB=$${RANLIB}" \
14564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14570 .PHONY: maybe-installcheck-cloog installcheck-cloog
14571 maybe-installcheck-cloog:
14573 maybe-installcheck-cloog: installcheck-cloog
14575 installcheck-cloog: \
14577 @[ -f ./cloog/Makefile ] || exit 0; \
14578 r=`${PWD_COMMAND}`; export r; \
14579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14581 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14584 echo "Doing installcheck in cloog" ; \
14585 (cd $(HOST_SUBDIR)/cloog && \
14586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14588 "RANLIB=$${RANLIB}" \
14589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14595 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
14596 maybe-mostlyclean-cloog:
14598 maybe-mostlyclean-cloog: mostlyclean-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 mostlyclean 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-clean-cloog clean-cloog
14622 maybe-clean-cloog: clean-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 clean 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-distclean-cloog distclean-cloog
14644 maybe-distclean-cloog:
14646 maybe-distclean-cloog: distclean-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 distclean 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-maintainer-clean-cloog maintainer-clean-cloog
14668 maybe-maintainer-clean-cloog:
14670 maybe-maintainer-clean-cloog: maintainer-clean-cloog
14672 maintainer-clean-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 maintainer-clean 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}" \
14686 maintainer-clean) \
14693 .PHONY: configure-libelf maybe-configure-libelf
14694 maybe-configure-libelf:
14696 configure-libelf: stage_current
14697 @endif gcc-bootstrap
14699 maybe-configure-libelf: configure-libelf
14701 @r=`${PWD_COMMAND}`; export r; \
14702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14703 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14706 echo Configuring in $(HOST_SUBDIR)/libelf; \
14707 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14708 case $(srcdir) in \
14709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14710 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14713 srcdiroption="--srcdir=$${topdir}/libelf"; \
14714 libsrcdir="$$s/libelf"; \
14715 $(SHELL) $${libsrcdir}/configure \
14716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14717 --target=${target_alias} $${srcdiroption} --disable-shared \
14723 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14724 maybe-configure-stage1-libelf:
14725 @if libelf-bootstrap
14726 maybe-configure-stage1-libelf: configure-stage1-libelf
14727 configure-stage1-libelf:
14728 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14729 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14730 @r=`${PWD_COMMAND}`; export r; \
14731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14732 TFLAGS="$(STAGE1_TFLAGS)"; \
14733 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14735 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14736 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14737 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14738 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14740 cd $(HOST_SUBDIR)/libelf || exit 1; \
14741 case $(srcdir) in \
14742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14743 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14746 srcdiroption="--srcdir=$${topdir}/libelf"; \
14747 libsrcdir="$$s/libelf"; \
14748 $(SHELL) $${libsrcdir}/configure \
14749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14750 --target=${target_alias} $${srcdiroption} \
14751 $(STAGE1_CONFIGURE_FLAGS) \
14753 @endif libelf-bootstrap
14755 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14756 maybe-configure-stage2-libelf:
14757 @if libelf-bootstrap
14758 maybe-configure-stage2-libelf: configure-stage2-libelf
14759 configure-stage2-libelf:
14760 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14761 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14762 @r=`${PWD_COMMAND}`; export r; \
14763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14764 TFLAGS="$(STAGE2_TFLAGS)"; \
14765 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14767 $(POSTSTAGE1_HOST_EXPORTS) \
14768 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14769 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14770 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14771 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14773 cd $(HOST_SUBDIR)/libelf || exit 1; \
14774 case $(srcdir) in \
14775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14776 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14779 srcdiroption="--srcdir=$${topdir}/libelf"; \
14780 libsrcdir="$$s/libelf"; \
14781 $(SHELL) $${libsrcdir}/configure \
14782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14783 --target=${target_alias} $${srcdiroption} \
14784 --with-build-libsubdir=$(HOST_SUBDIR) \
14785 $(STAGE2_CONFIGURE_FLAGS) \
14787 @endif libelf-bootstrap
14789 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14790 maybe-configure-stage3-libelf:
14791 @if libelf-bootstrap
14792 maybe-configure-stage3-libelf: configure-stage3-libelf
14793 configure-stage3-libelf:
14794 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14795 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14796 @r=`${PWD_COMMAND}`; export r; \
14797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14798 TFLAGS="$(STAGE3_TFLAGS)"; \
14799 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14801 $(POSTSTAGE1_HOST_EXPORTS) \
14802 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14803 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14804 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14805 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14807 cd $(HOST_SUBDIR)/libelf || exit 1; \
14808 case $(srcdir) in \
14809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14810 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14813 srcdiroption="--srcdir=$${topdir}/libelf"; \
14814 libsrcdir="$$s/libelf"; \
14815 $(SHELL) $${libsrcdir}/configure \
14816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14817 --target=${target_alias} $${srcdiroption} \
14818 --with-build-libsubdir=$(HOST_SUBDIR) \
14819 $(STAGE3_CONFIGURE_FLAGS) \
14821 @endif libelf-bootstrap
14823 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14824 maybe-configure-stage4-libelf:
14825 @if libelf-bootstrap
14826 maybe-configure-stage4-libelf: configure-stage4-libelf
14827 configure-stage4-libelf:
14828 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14830 @r=`${PWD_COMMAND}`; export r; \
14831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14832 TFLAGS="$(STAGE4_TFLAGS)"; \
14833 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14835 $(POSTSTAGE1_HOST_EXPORTS) \
14836 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14837 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14838 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14839 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14840 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14841 cd $(HOST_SUBDIR)/libelf || exit 1; \
14842 case $(srcdir) in \
14843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14844 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14847 srcdiroption="--srcdir=$${topdir}/libelf"; \
14848 libsrcdir="$$s/libelf"; \
14849 $(SHELL) $${libsrcdir}/configure \
14850 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14851 --target=${target_alias} $${srcdiroption} \
14852 --with-build-libsubdir=$(HOST_SUBDIR) \
14853 $(STAGE4_CONFIGURE_FLAGS) \
14855 @endif libelf-bootstrap
14857 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14858 maybe-configure-stageprofile-libelf:
14859 @if libelf-bootstrap
14860 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14861 configure-stageprofile-libelf:
14862 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14864 @r=`${PWD_COMMAND}`; export r; \
14865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14866 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14867 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14869 $(POSTSTAGE1_HOST_EXPORTS) \
14870 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14871 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14872 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14873 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14875 cd $(HOST_SUBDIR)/libelf || exit 1; \
14876 case $(srcdir) in \
14877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14878 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14881 srcdiroption="--srcdir=$${topdir}/libelf"; \
14882 libsrcdir="$$s/libelf"; \
14883 $(SHELL) $${libsrcdir}/configure \
14884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14885 --target=${target_alias} $${srcdiroption} \
14886 --with-build-libsubdir=$(HOST_SUBDIR) \
14887 $(STAGEprofile_CONFIGURE_FLAGS) \
14889 @endif libelf-bootstrap
14891 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14892 maybe-configure-stagefeedback-libelf:
14893 @if libelf-bootstrap
14894 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14895 configure-stagefeedback-libelf:
14896 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14898 @r=`${PWD_COMMAND}`; export r; \
14899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14900 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14901 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14903 $(POSTSTAGE1_HOST_EXPORTS) \
14904 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14905 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14906 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14907 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14909 cd $(HOST_SUBDIR)/libelf || exit 1; \
14910 case $(srcdir) in \
14911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14912 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14915 srcdiroption="--srcdir=$${topdir}/libelf"; \
14916 libsrcdir="$$s/libelf"; \
14917 $(SHELL) $${libsrcdir}/configure \
14918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14919 --target=${target_alias} $${srcdiroption} \
14920 --with-build-libsubdir=$(HOST_SUBDIR) \
14921 $(STAGEfeedback_CONFIGURE_FLAGS) \
14923 @endif libelf-bootstrap
14929 .PHONY: all-libelf maybe-all-libelf
14932 all-libelf: stage_current
14933 @endif gcc-bootstrap
14936 maybe-all-libelf: all-libelf
14937 all-libelf: configure-libelf
14938 @r=`${PWD_COMMAND}`; export r; \
14939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14941 (cd $(HOST_SUBDIR)/libelf && \
14942 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14948 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14949 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14950 maybe-all-stage1-libelf:
14951 maybe-clean-stage1-libelf:
14952 @if libelf-bootstrap
14953 maybe-all-stage1-libelf: all-stage1-libelf
14954 all-stage1: all-stage1-libelf
14955 TARGET-stage1-libelf = $(TARGET-libelf)
14956 all-stage1-libelf: configure-stage1-libelf
14957 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14958 @r=`${PWD_COMMAND}`; export r; \
14959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14960 TFLAGS="$(STAGE1_TFLAGS)"; \
14962 cd $(HOST_SUBDIR)/libelf && \
14963 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14964 CFLAGS="$(STAGE1_CFLAGS)" \
14965 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14966 LIBCFLAGS="$(LIBCFLAGS)" \
14967 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14968 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14969 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14970 $(EXTRA_HOST_FLAGS) \
14971 $(STAGE1_FLAGS_TO_PASS) \
14972 TFLAGS="$(STAGE1_TFLAGS)" \
14973 $(TARGET-stage1-libelf)
14975 maybe-clean-stage1-libelf: clean-stage1-libelf
14976 clean-stage1: clean-stage1-libelf
14977 clean-stage1-libelf:
14978 @if [ $(current_stage) = stage1 ]; then \
14979 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14981 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
14982 $(MAKE) stage1-start; \
14984 cd $(HOST_SUBDIR)/libelf && \
14985 $(MAKE) $(EXTRA_HOST_FLAGS) \
14986 $(STAGE1_FLAGS_TO_PASS) clean
14987 @endif libelf-bootstrap
14990 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
14991 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
14992 maybe-all-stage2-libelf:
14993 maybe-clean-stage2-libelf:
14994 @if libelf-bootstrap
14995 maybe-all-stage2-libelf: all-stage2-libelf
14996 all-stage2: all-stage2-libelf
14997 TARGET-stage2-libelf = $(TARGET-libelf)
14998 all-stage2-libelf: configure-stage2-libelf
14999 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15000 @r=`${PWD_COMMAND}`; export r; \
15001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15002 TFLAGS="$(STAGE2_TFLAGS)"; \
15004 $(POSTSTAGE1_HOST_EXPORTS) \
15005 cd $(HOST_SUBDIR)/libelf && \
15006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15007 CFLAGS="$(STAGE2_CFLAGS)" \
15008 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15009 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15014 TFLAGS="$(STAGE2_TFLAGS)" \
15015 $(TARGET-stage2-libelf)
15017 maybe-clean-stage2-libelf: clean-stage2-libelf
15018 clean-stage2: clean-stage2-libelf
15019 clean-stage2-libelf:
15020 @if [ $(current_stage) = stage2 ]; then \
15021 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15023 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15024 $(MAKE) stage2-start; \
15026 cd $(HOST_SUBDIR)/libelf && \
15027 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15028 @endif libelf-bootstrap
15031 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15032 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15033 maybe-all-stage3-libelf:
15034 maybe-clean-stage3-libelf:
15035 @if libelf-bootstrap
15036 maybe-all-stage3-libelf: all-stage3-libelf
15037 all-stage3: all-stage3-libelf
15038 TARGET-stage3-libelf = $(TARGET-libelf)
15039 all-stage3-libelf: configure-stage3-libelf
15040 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15041 @r=`${PWD_COMMAND}`; export r; \
15042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15043 TFLAGS="$(STAGE3_TFLAGS)"; \
15045 $(POSTSTAGE1_HOST_EXPORTS) \
15046 cd $(HOST_SUBDIR)/libelf && \
15047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15048 CFLAGS="$(STAGE3_CFLAGS)" \
15049 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15050 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15055 TFLAGS="$(STAGE3_TFLAGS)" \
15056 $(TARGET-stage3-libelf)
15058 maybe-clean-stage3-libelf: clean-stage3-libelf
15059 clean-stage3: clean-stage3-libelf
15060 clean-stage3-libelf:
15061 @if [ $(current_stage) = stage3 ]; then \
15062 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15064 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15065 $(MAKE) stage3-start; \
15067 cd $(HOST_SUBDIR)/libelf && \
15068 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15069 @endif libelf-bootstrap
15072 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15073 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15074 maybe-all-stage4-libelf:
15075 maybe-clean-stage4-libelf:
15076 @if libelf-bootstrap
15077 maybe-all-stage4-libelf: all-stage4-libelf
15078 all-stage4: all-stage4-libelf
15079 TARGET-stage4-libelf = $(TARGET-libelf)
15080 all-stage4-libelf: configure-stage4-libelf
15081 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15082 @r=`${PWD_COMMAND}`; export r; \
15083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15084 TFLAGS="$(STAGE4_TFLAGS)"; \
15086 $(POSTSTAGE1_HOST_EXPORTS) \
15087 cd $(HOST_SUBDIR)/libelf && \
15088 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15089 CFLAGS="$(STAGE4_CFLAGS)" \
15090 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15091 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15092 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15093 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15094 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15095 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15096 TFLAGS="$(STAGE4_TFLAGS)" \
15097 $(TARGET-stage4-libelf)
15099 maybe-clean-stage4-libelf: clean-stage4-libelf
15100 clean-stage4: clean-stage4-libelf
15101 clean-stage4-libelf:
15102 @if [ $(current_stage) = stage4 ]; then \
15103 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15105 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15106 $(MAKE) stage4-start; \
15108 cd $(HOST_SUBDIR)/libelf && \
15109 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15110 @endif libelf-bootstrap
15113 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15114 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15115 maybe-all-stageprofile-libelf:
15116 maybe-clean-stageprofile-libelf:
15117 @if libelf-bootstrap
15118 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15119 all-stageprofile: all-stageprofile-libelf
15120 TARGET-stageprofile-libelf = $(TARGET-libelf)
15121 all-stageprofile-libelf: configure-stageprofile-libelf
15122 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15123 @r=`${PWD_COMMAND}`; export r; \
15124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15125 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15127 $(POSTSTAGE1_HOST_EXPORTS) \
15128 cd $(HOST_SUBDIR)/libelf && \
15129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15130 CFLAGS="$(STAGEprofile_CFLAGS)" \
15131 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15132 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15133 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15136 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15137 TFLAGS="$(STAGEprofile_TFLAGS)" \
15138 $(TARGET-stageprofile-libelf)
15140 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15141 clean-stageprofile: clean-stageprofile-libelf
15142 clean-stageprofile-libelf:
15143 @if [ $(current_stage) = stageprofile ]; then \
15144 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15146 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15147 $(MAKE) stageprofile-start; \
15149 cd $(HOST_SUBDIR)/libelf && \
15150 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15151 @endif libelf-bootstrap
15154 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15155 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15156 maybe-all-stagefeedback-libelf:
15157 maybe-clean-stagefeedback-libelf:
15158 @if libelf-bootstrap
15159 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15160 all-stagefeedback: all-stagefeedback-libelf
15161 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15162 all-stagefeedback-libelf: configure-stagefeedback-libelf
15163 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15164 @r=`${PWD_COMMAND}`; export r; \
15165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15166 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15168 $(POSTSTAGE1_HOST_EXPORTS) \
15169 cd $(HOST_SUBDIR)/libelf && \
15170 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15171 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15172 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15173 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15177 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15178 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15179 $(TARGET-stagefeedback-libelf)
15181 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15182 clean-stagefeedback: clean-stagefeedback-libelf
15183 clean-stagefeedback-libelf:
15184 @if [ $(current_stage) = stagefeedback ]; then \
15185 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15187 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15188 $(MAKE) stagefeedback-start; \
15190 cd $(HOST_SUBDIR)/libelf && \
15191 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15192 @endif libelf-bootstrap
15198 .PHONY: check-libelf maybe-check-libelf
15199 maybe-check-libelf:
15201 maybe-check-libelf: check-libelf
15204 @: $(MAKE); $(unstage)
15205 @r=`${PWD_COMMAND}`; export r; \
15206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15208 (cd $(HOST_SUBDIR)/libelf && \
15209 $(MAKE) $(FLAGS_TO_PASS) check)
15213 .PHONY: install-libelf maybe-install-libelf
15214 maybe-install-libelf:
15216 maybe-install-libelf: install-libelf
15222 .PHONY: install-strip-libelf maybe-install-strip-libelf
15223 maybe-install-strip-libelf:
15225 maybe-install-strip-libelf: install-strip-libelf
15227 install-strip-libelf:
15231 # Other targets (info, dvi, pdf, etc.)
15233 .PHONY: maybe-info-libelf info-libelf
15236 maybe-info-libelf: info-libelf
15240 @[ -f ./libelf/Makefile ] || exit 0; \
15241 r=`${PWD_COMMAND}`; export r; \
15242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15244 for flag in $(EXTRA_HOST_FLAGS) ; do \
15245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15247 echo "Doing info in libelf" ; \
15248 (cd $(HOST_SUBDIR)/libelf && \
15249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15251 "RANLIB=$${RANLIB}" \
15252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15258 .PHONY: maybe-dvi-libelf dvi-libelf
15261 maybe-dvi-libelf: dvi-libelf
15265 @[ -f ./libelf/Makefile ] || exit 0; \
15266 r=`${PWD_COMMAND}`; export r; \
15267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15269 for flag in $(EXTRA_HOST_FLAGS) ; do \
15270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15272 echo "Doing dvi in libelf" ; \
15273 (cd $(HOST_SUBDIR)/libelf && \
15274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15276 "RANLIB=$${RANLIB}" \
15277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15283 .PHONY: maybe-pdf-libelf pdf-libelf
15286 maybe-pdf-libelf: pdf-libelf
15290 @[ -f ./libelf/Makefile ] || exit 0; \
15291 r=`${PWD_COMMAND}`; export r; \
15292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15294 for flag in $(EXTRA_HOST_FLAGS) ; do \
15295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15297 echo "Doing pdf in libelf" ; \
15298 (cd $(HOST_SUBDIR)/libelf && \
15299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15301 "RANLIB=$${RANLIB}" \
15302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15308 .PHONY: maybe-html-libelf html-libelf
15311 maybe-html-libelf: html-libelf
15315 @[ -f ./libelf/Makefile ] || exit 0; \
15316 r=`${PWD_COMMAND}`; export r; \
15317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15319 for flag in $(EXTRA_HOST_FLAGS) ; do \
15320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15322 echo "Doing html in libelf" ; \
15323 (cd $(HOST_SUBDIR)/libelf && \
15324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15326 "RANLIB=$${RANLIB}" \
15327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15333 .PHONY: maybe-TAGS-libelf TAGS-libelf
15336 maybe-TAGS-libelf: TAGS-libelf
15340 @[ -f ./libelf/Makefile ] || exit 0; \
15341 r=`${PWD_COMMAND}`; export r; \
15342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15344 for flag in $(EXTRA_HOST_FLAGS) ; do \
15345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15347 echo "Doing TAGS in libelf" ; \
15348 (cd $(HOST_SUBDIR)/libelf && \
15349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15351 "RANLIB=$${RANLIB}" \
15352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15358 .PHONY: maybe-install-info-libelf install-info-libelf
15359 maybe-install-info-libelf:
15361 maybe-install-info-libelf: install-info-libelf
15363 install-info-libelf: \
15366 @[ -f ./libelf/Makefile ] || exit 0; \
15367 r=`${PWD_COMMAND}`; export r; \
15368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15370 for flag in $(EXTRA_HOST_FLAGS) ; do \
15371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15373 echo "Doing install-info in libelf" ; \
15374 (cd $(HOST_SUBDIR)/libelf && \
15375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15377 "RANLIB=$${RANLIB}" \
15378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15384 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15385 maybe-install-pdf-libelf:
15387 maybe-install-pdf-libelf: install-pdf-libelf
15389 install-pdf-libelf: \
15392 @[ -f ./libelf/Makefile ] || exit 0; \
15393 r=`${PWD_COMMAND}`; export r; \
15394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15396 for flag in $(EXTRA_HOST_FLAGS) ; do \
15397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15399 echo "Doing install-pdf in libelf" ; \
15400 (cd $(HOST_SUBDIR)/libelf && \
15401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15403 "RANLIB=$${RANLIB}" \
15404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15410 .PHONY: maybe-install-html-libelf install-html-libelf
15411 maybe-install-html-libelf:
15413 maybe-install-html-libelf: install-html-libelf
15415 install-html-libelf: \
15418 @[ -f ./libelf/Makefile ] || exit 0; \
15419 r=`${PWD_COMMAND}`; export r; \
15420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15422 for flag in $(EXTRA_HOST_FLAGS) ; do \
15423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15425 echo "Doing install-html in libelf" ; \
15426 (cd $(HOST_SUBDIR)/libelf && \
15427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15429 "RANLIB=$${RANLIB}" \
15430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15436 .PHONY: maybe-installcheck-libelf installcheck-libelf
15437 maybe-installcheck-libelf:
15439 maybe-installcheck-libelf: installcheck-libelf
15441 installcheck-libelf: \
15443 @[ -f ./libelf/Makefile ] || exit 0; \
15444 r=`${PWD_COMMAND}`; export r; \
15445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15447 for flag in $(EXTRA_HOST_FLAGS) ; do \
15448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15450 echo "Doing installcheck in libelf" ; \
15451 (cd $(HOST_SUBDIR)/libelf && \
15452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15454 "RANLIB=$${RANLIB}" \
15455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15461 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15462 maybe-mostlyclean-libelf:
15464 maybe-mostlyclean-libelf: mostlyclean-libelf
15466 mostlyclean-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 mostlyclean 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-clean-libelf clean-libelf
15486 maybe-clean-libelf:
15488 maybe-clean-libelf: clean-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 clean 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-distclean-libelf distclean-libelf
15510 maybe-distclean-libelf:
15512 maybe-distclean-libelf: distclean-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 distclean 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-maintainer-clean-libelf maintainer-clean-libelf
15534 maybe-maintainer-clean-libelf:
15536 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15538 maintainer-clean-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 maintainer-clean 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}" \
15552 maintainer-clean) \
15559 .PHONY: configure-gold maybe-configure-gold
15560 maybe-configure-gold:
15562 configure-gold: stage_current
15563 @endif gcc-bootstrap
15565 maybe-configure-gold: configure-gold
15567 @r=`${PWD_COMMAND}`; export r; \
15568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15569 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15572 echo Configuring in $(HOST_SUBDIR)/gold; \
15573 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15574 case $(srcdir) in \
15575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15576 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15579 srcdiroption="--srcdir=$${topdir}/gold"; \
15580 libsrcdir="$$s/gold"; \
15581 $(SHELL) $${libsrcdir}/configure \
15582 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15583 --target=${target_alias} $${srcdiroption} \
15589 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15590 maybe-configure-stage1-gold:
15592 maybe-configure-stage1-gold: configure-stage1-gold
15593 configure-stage1-gold:
15594 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15595 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15596 @r=`${PWD_COMMAND}`; export r; \
15597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15598 TFLAGS="$(STAGE1_TFLAGS)"; \
15599 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15601 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15602 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15603 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15604 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15606 cd $(HOST_SUBDIR)/gold || exit 1; \
15607 case $(srcdir) in \
15608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15609 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15612 srcdiroption="--srcdir=$${topdir}/gold"; \
15613 libsrcdir="$$s/gold"; \
15614 $(SHELL) $${libsrcdir}/configure \
15615 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15616 --target=${target_alias} $${srcdiroption} \
15617 $(STAGE1_CONFIGURE_FLAGS)
15618 @endif gold-bootstrap
15620 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15621 maybe-configure-stage2-gold:
15623 maybe-configure-stage2-gold: configure-stage2-gold
15624 configure-stage2-gold:
15625 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15627 @r=`${PWD_COMMAND}`; export r; \
15628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15629 TFLAGS="$(STAGE2_TFLAGS)"; \
15630 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15632 $(POSTSTAGE1_HOST_EXPORTS) \
15633 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15634 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15635 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15636 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15638 cd $(HOST_SUBDIR)/gold || exit 1; \
15639 case $(srcdir) in \
15640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15641 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15644 srcdiroption="--srcdir=$${topdir}/gold"; \
15645 libsrcdir="$$s/gold"; \
15646 $(SHELL) $${libsrcdir}/configure \
15647 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15648 --target=${target_alias} $${srcdiroption} \
15649 --with-build-libsubdir=$(HOST_SUBDIR) \
15650 $(STAGE2_CONFIGURE_FLAGS)
15651 @endif gold-bootstrap
15653 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15654 maybe-configure-stage3-gold:
15656 maybe-configure-stage3-gold: configure-stage3-gold
15657 configure-stage3-gold:
15658 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15659 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15660 @r=`${PWD_COMMAND}`; export r; \
15661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15662 TFLAGS="$(STAGE3_TFLAGS)"; \
15663 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15665 $(POSTSTAGE1_HOST_EXPORTS) \
15666 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15667 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15668 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15669 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15671 cd $(HOST_SUBDIR)/gold || exit 1; \
15672 case $(srcdir) in \
15673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15674 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15677 srcdiroption="--srcdir=$${topdir}/gold"; \
15678 libsrcdir="$$s/gold"; \
15679 $(SHELL) $${libsrcdir}/configure \
15680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15681 --target=${target_alias} $${srcdiroption} \
15682 --with-build-libsubdir=$(HOST_SUBDIR) \
15683 $(STAGE3_CONFIGURE_FLAGS)
15684 @endif gold-bootstrap
15686 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15687 maybe-configure-stage4-gold:
15689 maybe-configure-stage4-gold: configure-stage4-gold
15690 configure-stage4-gold:
15691 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15693 @r=`${PWD_COMMAND}`; export r; \
15694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15695 TFLAGS="$(STAGE4_TFLAGS)"; \
15696 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15698 $(POSTSTAGE1_HOST_EXPORTS) \
15699 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15700 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15701 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15702 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15704 cd $(HOST_SUBDIR)/gold || exit 1; \
15705 case $(srcdir) in \
15706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15707 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15710 srcdiroption="--srcdir=$${topdir}/gold"; \
15711 libsrcdir="$$s/gold"; \
15712 $(SHELL) $${libsrcdir}/configure \
15713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15714 --target=${target_alias} $${srcdiroption} \
15715 --with-build-libsubdir=$(HOST_SUBDIR) \
15716 $(STAGE4_CONFIGURE_FLAGS)
15717 @endif gold-bootstrap
15719 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15720 maybe-configure-stageprofile-gold:
15722 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15723 configure-stageprofile-gold:
15724 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15725 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15726 @r=`${PWD_COMMAND}`; export r; \
15727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15728 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15729 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15731 $(POSTSTAGE1_HOST_EXPORTS) \
15732 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15733 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15734 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15735 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15737 cd $(HOST_SUBDIR)/gold || exit 1; \
15738 case $(srcdir) in \
15739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15740 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15743 srcdiroption="--srcdir=$${topdir}/gold"; \
15744 libsrcdir="$$s/gold"; \
15745 $(SHELL) $${libsrcdir}/configure \
15746 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15747 --target=${target_alias} $${srcdiroption} \
15748 --with-build-libsubdir=$(HOST_SUBDIR) \
15749 $(STAGEprofile_CONFIGURE_FLAGS)
15750 @endif gold-bootstrap
15752 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15753 maybe-configure-stagefeedback-gold:
15755 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15756 configure-stagefeedback-gold:
15757 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15758 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15759 @r=`${PWD_COMMAND}`; export r; \
15760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15761 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15762 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15764 $(POSTSTAGE1_HOST_EXPORTS) \
15765 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15766 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15767 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15768 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15770 cd $(HOST_SUBDIR)/gold || exit 1; \
15771 case $(srcdir) in \
15772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15773 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15776 srcdiroption="--srcdir=$${topdir}/gold"; \
15777 libsrcdir="$$s/gold"; \
15778 $(SHELL) $${libsrcdir}/configure \
15779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15780 --target=${target_alias} $${srcdiroption} \
15781 --with-build-libsubdir=$(HOST_SUBDIR) \
15782 $(STAGEfeedback_CONFIGURE_FLAGS)
15783 @endif gold-bootstrap
15789 .PHONY: all-gold maybe-all-gold
15792 all-gold: stage_current
15793 @endif gcc-bootstrap
15796 maybe-all-gold: all-gold
15797 all-gold: configure-gold
15798 @r=`${PWD_COMMAND}`; export r; \
15799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15801 (cd $(HOST_SUBDIR)/gold && \
15802 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15808 .PHONY: all-stage1-gold maybe-all-stage1-gold
15809 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15810 maybe-all-stage1-gold:
15811 maybe-clean-stage1-gold:
15813 maybe-all-stage1-gold: all-stage1-gold
15814 all-stage1: all-stage1-gold
15815 TARGET-stage1-gold = $(TARGET-gold)
15816 all-stage1-gold: configure-stage1-gold
15817 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15818 @r=`${PWD_COMMAND}`; export r; \
15819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15820 TFLAGS="$(STAGE1_TFLAGS)"; \
15822 cd $(HOST_SUBDIR)/gold && \
15823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15824 CFLAGS="$(STAGE1_CFLAGS)" \
15825 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15826 LIBCFLAGS="$(LIBCFLAGS)" \
15827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15830 $(EXTRA_HOST_FLAGS) \
15831 $(STAGE1_FLAGS_TO_PASS) \
15832 TFLAGS="$(STAGE1_TFLAGS)" \
15833 $(TARGET-stage1-gold)
15835 maybe-clean-stage1-gold: clean-stage1-gold
15836 clean-stage1: clean-stage1-gold
15838 @if [ $(current_stage) = stage1 ]; then \
15839 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15841 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15842 $(MAKE) stage1-start; \
15844 cd $(HOST_SUBDIR)/gold && \
15845 $(MAKE) $(EXTRA_HOST_FLAGS) \
15846 $(STAGE1_FLAGS_TO_PASS) clean
15847 @endif gold-bootstrap
15850 .PHONY: all-stage2-gold maybe-all-stage2-gold
15851 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15852 maybe-all-stage2-gold:
15853 maybe-clean-stage2-gold:
15855 maybe-all-stage2-gold: all-stage2-gold
15856 all-stage2: all-stage2-gold
15857 TARGET-stage2-gold = $(TARGET-gold)
15858 all-stage2-gold: configure-stage2-gold
15859 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15860 @r=`${PWD_COMMAND}`; export r; \
15861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15862 TFLAGS="$(STAGE2_TFLAGS)"; \
15864 $(POSTSTAGE1_HOST_EXPORTS) \
15865 cd $(HOST_SUBDIR)/gold && \
15866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15867 CFLAGS="$(STAGE2_CFLAGS)" \
15868 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15869 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15873 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15874 TFLAGS="$(STAGE2_TFLAGS)" \
15875 $(TARGET-stage2-gold)
15877 maybe-clean-stage2-gold: clean-stage2-gold
15878 clean-stage2: clean-stage2-gold
15880 @if [ $(current_stage) = stage2 ]; then \
15881 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15883 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15884 $(MAKE) stage2-start; \
15886 cd $(HOST_SUBDIR)/gold && \
15887 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15888 @endif gold-bootstrap
15891 .PHONY: all-stage3-gold maybe-all-stage3-gold
15892 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15893 maybe-all-stage3-gold:
15894 maybe-clean-stage3-gold:
15896 maybe-all-stage3-gold: all-stage3-gold
15897 all-stage3: all-stage3-gold
15898 TARGET-stage3-gold = $(TARGET-gold)
15899 all-stage3-gold: configure-stage3-gold
15900 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15901 @r=`${PWD_COMMAND}`; export r; \
15902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15903 TFLAGS="$(STAGE3_TFLAGS)"; \
15905 $(POSTSTAGE1_HOST_EXPORTS) \
15906 cd $(HOST_SUBDIR)/gold && \
15907 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15908 CFLAGS="$(STAGE3_CFLAGS)" \
15909 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15910 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15911 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15912 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15913 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15914 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15915 TFLAGS="$(STAGE3_TFLAGS)" \
15916 $(TARGET-stage3-gold)
15918 maybe-clean-stage3-gold: clean-stage3-gold
15919 clean-stage3: clean-stage3-gold
15921 @if [ $(current_stage) = stage3 ]; then \
15922 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15924 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15925 $(MAKE) stage3-start; \
15927 cd $(HOST_SUBDIR)/gold && \
15928 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15929 @endif gold-bootstrap
15932 .PHONY: all-stage4-gold maybe-all-stage4-gold
15933 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15934 maybe-all-stage4-gold:
15935 maybe-clean-stage4-gold:
15937 maybe-all-stage4-gold: all-stage4-gold
15938 all-stage4: all-stage4-gold
15939 TARGET-stage4-gold = $(TARGET-gold)
15940 all-stage4-gold: configure-stage4-gold
15941 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15942 @r=`${PWD_COMMAND}`; export r; \
15943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15944 TFLAGS="$(STAGE4_TFLAGS)"; \
15946 $(POSTSTAGE1_HOST_EXPORTS) \
15947 cd $(HOST_SUBDIR)/gold && \
15948 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15949 CFLAGS="$(STAGE4_CFLAGS)" \
15950 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15951 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15952 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15953 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15954 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15955 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15956 TFLAGS="$(STAGE4_TFLAGS)" \
15957 $(TARGET-stage4-gold)
15959 maybe-clean-stage4-gold: clean-stage4-gold
15960 clean-stage4: clean-stage4-gold
15962 @if [ $(current_stage) = stage4 ]; then \
15963 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15965 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15966 $(MAKE) stage4-start; \
15968 cd $(HOST_SUBDIR)/gold && \
15969 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15970 @endif gold-bootstrap
15973 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15974 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15975 maybe-all-stageprofile-gold:
15976 maybe-clean-stageprofile-gold:
15978 maybe-all-stageprofile-gold: all-stageprofile-gold
15979 all-stageprofile: all-stageprofile-gold
15980 TARGET-stageprofile-gold = $(TARGET-gold)
15981 all-stageprofile-gold: configure-stageprofile-gold
15982 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15983 @r=`${PWD_COMMAND}`; export r; \
15984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15985 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15987 $(POSTSTAGE1_HOST_EXPORTS) \
15988 cd $(HOST_SUBDIR)/gold && \
15989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15990 CFLAGS="$(STAGEprofile_CFLAGS)" \
15991 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15992 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15997 TFLAGS="$(STAGEprofile_TFLAGS)" \
15998 $(TARGET-stageprofile-gold)
16000 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16001 clean-stageprofile: clean-stageprofile-gold
16002 clean-stageprofile-gold:
16003 @if [ $(current_stage) = stageprofile ]; then \
16004 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16006 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16007 $(MAKE) stageprofile-start; \
16009 cd $(HOST_SUBDIR)/gold && \
16010 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16011 @endif gold-bootstrap
16014 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16015 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16016 maybe-all-stagefeedback-gold:
16017 maybe-clean-stagefeedback-gold:
16019 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16020 all-stagefeedback: all-stagefeedback-gold
16021 TARGET-stagefeedback-gold = $(TARGET-gold)
16022 all-stagefeedback-gold: configure-stagefeedback-gold
16023 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16024 @r=`${PWD_COMMAND}`; export r; \
16025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16026 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16028 $(POSTSTAGE1_HOST_EXPORTS) \
16029 cd $(HOST_SUBDIR)/gold && \
16030 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16031 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16032 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16033 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16034 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16035 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16036 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16037 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16038 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16039 $(TARGET-stagefeedback-gold)
16041 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16042 clean-stagefeedback: clean-stagefeedback-gold
16043 clean-stagefeedback-gold:
16044 @if [ $(current_stage) = stagefeedback ]; then \
16045 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16047 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16048 $(MAKE) stagefeedback-start; \
16050 cd $(HOST_SUBDIR)/gold && \
16051 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16052 @endif gold-bootstrap
16058 .PHONY: check-gold maybe-check-gold
16061 maybe-check-gold: check-gold
16064 @: $(MAKE); $(unstage)
16065 @r=`${PWD_COMMAND}`; export r; \
16066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16068 (cd $(HOST_SUBDIR)/gold && \
16069 $(MAKE) $(FLAGS_TO_PASS) check)
16073 .PHONY: install-gold maybe-install-gold
16074 maybe-install-gold:
16076 maybe-install-gold: install-gold
16078 install-gold: installdirs
16079 @: $(MAKE); $(unstage)
16080 @r=`${PWD_COMMAND}`; export r; \
16081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16083 (cd $(HOST_SUBDIR)/gold && \
16084 $(MAKE) $(FLAGS_TO_PASS) install)
16088 .PHONY: install-strip-gold maybe-install-strip-gold
16089 maybe-install-strip-gold:
16091 maybe-install-strip-gold: install-strip-gold
16093 install-strip-gold: installdirs
16094 @: $(MAKE); $(unstage)
16095 @r=`${PWD_COMMAND}`; export r; \
16096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16098 (cd $(HOST_SUBDIR)/gold && \
16099 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16103 # Other targets (info, dvi, pdf, etc.)
16105 .PHONY: maybe-info-gold info-gold
16108 maybe-info-gold: info-gold
16112 @[ -f ./gold/Makefile ] || exit 0; \
16113 r=`${PWD_COMMAND}`; export r; \
16114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16116 for flag in $(EXTRA_HOST_FLAGS) ; do \
16117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16119 echo "Doing info in gold" ; \
16120 (cd $(HOST_SUBDIR)/gold && \
16121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16123 "RANLIB=$${RANLIB}" \
16124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16130 .PHONY: maybe-dvi-gold dvi-gold
16133 maybe-dvi-gold: dvi-gold
16137 @[ -f ./gold/Makefile ] || exit 0; \
16138 r=`${PWD_COMMAND}`; export r; \
16139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16141 for flag in $(EXTRA_HOST_FLAGS) ; do \
16142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16144 echo "Doing dvi in gold" ; \
16145 (cd $(HOST_SUBDIR)/gold && \
16146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16148 "RANLIB=$${RANLIB}" \
16149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16155 .PHONY: maybe-pdf-gold pdf-gold
16158 maybe-pdf-gold: pdf-gold
16162 @[ -f ./gold/Makefile ] || exit 0; \
16163 r=`${PWD_COMMAND}`; export r; \
16164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16166 for flag in $(EXTRA_HOST_FLAGS) ; do \
16167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16169 echo "Doing pdf in gold" ; \
16170 (cd $(HOST_SUBDIR)/gold && \
16171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16173 "RANLIB=$${RANLIB}" \
16174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16180 .PHONY: maybe-html-gold html-gold
16183 maybe-html-gold: html-gold
16187 @[ -f ./gold/Makefile ] || exit 0; \
16188 r=`${PWD_COMMAND}`; export r; \
16189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16191 for flag in $(EXTRA_HOST_FLAGS) ; do \
16192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16194 echo "Doing html in gold" ; \
16195 (cd $(HOST_SUBDIR)/gold && \
16196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16198 "RANLIB=$${RANLIB}" \
16199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16205 .PHONY: maybe-TAGS-gold TAGS-gold
16208 maybe-TAGS-gold: TAGS-gold
16212 @[ -f ./gold/Makefile ] || exit 0; \
16213 r=`${PWD_COMMAND}`; export r; \
16214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16216 for flag in $(EXTRA_HOST_FLAGS) ; do \
16217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16219 echo "Doing TAGS in gold" ; \
16220 (cd $(HOST_SUBDIR)/gold && \
16221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16223 "RANLIB=$${RANLIB}" \
16224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16230 .PHONY: maybe-install-info-gold install-info-gold
16231 maybe-install-info-gold:
16233 maybe-install-info-gold: install-info-gold
16235 install-info-gold: \
16238 @[ -f ./gold/Makefile ] || exit 0; \
16239 r=`${PWD_COMMAND}`; export r; \
16240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16242 for flag in $(EXTRA_HOST_FLAGS) ; do \
16243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16245 echo "Doing install-info in gold" ; \
16246 (cd $(HOST_SUBDIR)/gold && \
16247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16249 "RANLIB=$${RANLIB}" \
16250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16256 .PHONY: maybe-install-pdf-gold install-pdf-gold
16257 maybe-install-pdf-gold:
16259 maybe-install-pdf-gold: install-pdf-gold
16261 install-pdf-gold: \
16264 @[ -f ./gold/Makefile ] || exit 0; \
16265 r=`${PWD_COMMAND}`; export r; \
16266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16268 for flag in $(EXTRA_HOST_FLAGS) ; do \
16269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16271 echo "Doing install-pdf in gold" ; \
16272 (cd $(HOST_SUBDIR)/gold && \
16273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16275 "RANLIB=$${RANLIB}" \
16276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16282 .PHONY: maybe-install-html-gold install-html-gold
16283 maybe-install-html-gold:
16285 maybe-install-html-gold: install-html-gold
16287 install-html-gold: \
16290 @[ -f ./gold/Makefile ] || exit 0; \
16291 r=`${PWD_COMMAND}`; export r; \
16292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16294 for flag in $(EXTRA_HOST_FLAGS) ; do \
16295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16297 echo "Doing install-html in gold" ; \
16298 (cd $(HOST_SUBDIR)/gold && \
16299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16301 "RANLIB=$${RANLIB}" \
16302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16308 .PHONY: maybe-installcheck-gold installcheck-gold
16309 maybe-installcheck-gold:
16311 maybe-installcheck-gold: installcheck-gold
16313 installcheck-gold: \
16315 @[ -f ./gold/Makefile ] || exit 0; \
16316 r=`${PWD_COMMAND}`; export r; \
16317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16319 for flag in $(EXTRA_HOST_FLAGS) ; do \
16320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16322 echo "Doing installcheck in gold" ; \
16323 (cd $(HOST_SUBDIR)/gold && \
16324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16326 "RANLIB=$${RANLIB}" \
16327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16333 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16334 maybe-mostlyclean-gold:
16336 maybe-mostlyclean-gold: mostlyclean-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 mostlyclean 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-clean-gold clean-gold
16360 maybe-clean-gold: clean-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 clean 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-distclean-gold distclean-gold
16382 maybe-distclean-gold:
16384 maybe-distclean-gold: distclean-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 distclean 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-maintainer-clean-gold maintainer-clean-gold
16406 maybe-maintainer-clean-gold:
16408 maybe-maintainer-clean-gold: maintainer-clean-gold
16410 maintainer-clean-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 maintainer-clean 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}" \
16424 maintainer-clean) \
16431 .PHONY: configure-gprof maybe-configure-gprof
16432 maybe-configure-gprof:
16434 configure-gprof: stage_current
16435 @endif gcc-bootstrap
16437 maybe-configure-gprof: configure-gprof
16439 @: $(MAKE); $(unstage)
16440 @r=`${PWD_COMMAND}`; export r; \
16441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16442 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16443 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16445 echo Configuring in $(HOST_SUBDIR)/gprof; \
16446 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16447 case $(srcdir) in \
16448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16449 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16452 srcdiroption="--srcdir=$${topdir}/gprof"; \
16453 libsrcdir="$$s/gprof"; \
16454 $(SHELL) $${libsrcdir}/configure \
16455 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16456 --target=${target_alias} $${srcdiroption} \
16464 .PHONY: all-gprof maybe-all-gprof
16467 all-gprof: stage_current
16468 @endif gcc-bootstrap
16471 maybe-all-gprof: all-gprof
16472 all-gprof: configure-gprof
16473 @: $(MAKE); $(unstage)
16474 @r=`${PWD_COMMAND}`; export r; \
16475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16477 (cd $(HOST_SUBDIR)/gprof && \
16478 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16485 .PHONY: check-gprof maybe-check-gprof
16488 maybe-check-gprof: check-gprof
16491 @: $(MAKE); $(unstage)
16492 @r=`${PWD_COMMAND}`; export r; \
16493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16495 (cd $(HOST_SUBDIR)/gprof && \
16496 $(MAKE) $(FLAGS_TO_PASS) check)
16500 .PHONY: install-gprof maybe-install-gprof
16501 maybe-install-gprof:
16503 maybe-install-gprof: install-gprof
16505 install-gprof: installdirs
16506 @: $(MAKE); $(unstage)
16507 @r=`${PWD_COMMAND}`; export r; \
16508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16510 (cd $(HOST_SUBDIR)/gprof && \
16511 $(MAKE) $(FLAGS_TO_PASS) install)
16515 .PHONY: install-strip-gprof maybe-install-strip-gprof
16516 maybe-install-strip-gprof:
16518 maybe-install-strip-gprof: install-strip-gprof
16520 install-strip-gprof: installdirs
16521 @: $(MAKE); $(unstage)
16522 @r=`${PWD_COMMAND}`; export r; \
16523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16525 (cd $(HOST_SUBDIR)/gprof && \
16526 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16530 # Other targets (info, dvi, pdf, etc.)
16532 .PHONY: maybe-info-gprof info-gprof
16535 maybe-info-gprof: info-gprof
16539 @: $(MAKE); $(unstage)
16540 @[ -f ./gprof/Makefile ] || exit 0; \
16541 r=`${PWD_COMMAND}`; export r; \
16542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544 for flag in $(EXTRA_HOST_FLAGS) ; do \
16545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16547 echo "Doing info in gprof" ; \
16548 (cd $(HOST_SUBDIR)/gprof && \
16549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16551 "RANLIB=$${RANLIB}" \
16552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16558 .PHONY: maybe-dvi-gprof dvi-gprof
16561 maybe-dvi-gprof: dvi-gprof
16565 @: $(MAKE); $(unstage)
16566 @[ -f ./gprof/Makefile ] || exit 0; \
16567 r=`${PWD_COMMAND}`; export r; \
16568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16570 for flag in $(EXTRA_HOST_FLAGS) ; do \
16571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16573 echo "Doing dvi in gprof" ; \
16574 (cd $(HOST_SUBDIR)/gprof && \
16575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16577 "RANLIB=$${RANLIB}" \
16578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16584 .PHONY: maybe-pdf-gprof pdf-gprof
16587 maybe-pdf-gprof: pdf-gprof
16591 @: $(MAKE); $(unstage)
16592 @[ -f ./gprof/Makefile ] || exit 0; \
16593 r=`${PWD_COMMAND}`; export r; \
16594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16596 for flag in $(EXTRA_HOST_FLAGS) ; do \
16597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16599 echo "Doing pdf in gprof" ; \
16600 (cd $(HOST_SUBDIR)/gprof && \
16601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16603 "RANLIB=$${RANLIB}" \
16604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16610 .PHONY: maybe-html-gprof html-gprof
16613 maybe-html-gprof: html-gprof
16617 @: $(MAKE); $(unstage)
16618 @[ -f ./gprof/Makefile ] || exit 0; \
16619 r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16622 for flag in $(EXTRA_HOST_FLAGS) ; do \
16623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16625 echo "Doing html in gprof" ; \
16626 (cd $(HOST_SUBDIR)/gprof && \
16627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16629 "RANLIB=$${RANLIB}" \
16630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16636 .PHONY: maybe-TAGS-gprof TAGS-gprof
16639 maybe-TAGS-gprof: TAGS-gprof
16643 @: $(MAKE); $(unstage)
16644 @[ -f ./gprof/Makefile ] || exit 0; \
16645 r=`${PWD_COMMAND}`; export r; \
16646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16648 for flag in $(EXTRA_HOST_FLAGS) ; do \
16649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16651 echo "Doing TAGS in gprof" ; \
16652 (cd $(HOST_SUBDIR)/gprof && \
16653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16655 "RANLIB=$${RANLIB}" \
16656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16662 .PHONY: maybe-install-info-gprof install-info-gprof
16663 maybe-install-info-gprof:
16665 maybe-install-info-gprof: install-info-gprof
16667 install-info-gprof: \
16670 @: $(MAKE); $(unstage)
16671 @[ -f ./gprof/Makefile ] || exit 0; \
16672 r=`${PWD_COMMAND}`; export r; \
16673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16675 for flag in $(EXTRA_HOST_FLAGS) ; do \
16676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16678 echo "Doing install-info in gprof" ; \
16679 (cd $(HOST_SUBDIR)/gprof && \
16680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16682 "RANLIB=$${RANLIB}" \
16683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16689 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16690 maybe-install-pdf-gprof:
16692 maybe-install-pdf-gprof: install-pdf-gprof
16694 install-pdf-gprof: \
16697 @: $(MAKE); $(unstage)
16698 @[ -f ./gprof/Makefile ] || exit 0; \
16699 r=`${PWD_COMMAND}`; export r; \
16700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16702 for flag in $(EXTRA_HOST_FLAGS) ; do \
16703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16705 echo "Doing install-pdf in gprof" ; \
16706 (cd $(HOST_SUBDIR)/gprof && \
16707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16709 "RANLIB=$${RANLIB}" \
16710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16716 .PHONY: maybe-install-html-gprof install-html-gprof
16717 maybe-install-html-gprof:
16719 maybe-install-html-gprof: install-html-gprof
16721 install-html-gprof: \
16724 @: $(MAKE); $(unstage)
16725 @[ -f ./gprof/Makefile ] || exit 0; \
16726 r=`${PWD_COMMAND}`; export r; \
16727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16729 for flag in $(EXTRA_HOST_FLAGS) ; do \
16730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16732 echo "Doing install-html in gprof" ; \
16733 (cd $(HOST_SUBDIR)/gprof && \
16734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16736 "RANLIB=$${RANLIB}" \
16737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16743 .PHONY: maybe-installcheck-gprof installcheck-gprof
16744 maybe-installcheck-gprof:
16746 maybe-installcheck-gprof: installcheck-gprof
16748 installcheck-gprof: \
16750 @: $(MAKE); $(unstage)
16751 @[ -f ./gprof/Makefile ] || exit 0; \
16752 r=`${PWD_COMMAND}`; export r; \
16753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16755 for flag in $(EXTRA_HOST_FLAGS) ; do \
16756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16758 echo "Doing installcheck in gprof" ; \
16759 (cd $(HOST_SUBDIR)/gprof && \
16760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16762 "RANLIB=$${RANLIB}" \
16763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16769 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16770 maybe-mostlyclean-gprof:
16772 maybe-mostlyclean-gprof: mostlyclean-gprof
16775 @: $(MAKE); $(unstage)
16776 @[ -f ./gprof/Makefile ] || exit 0; \
16777 r=`${PWD_COMMAND}`; export r; \
16778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780 for flag in $(EXTRA_HOST_FLAGS) ; do \
16781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16783 echo "Doing mostlyclean in gprof" ; \
16784 (cd $(HOST_SUBDIR)/gprof && \
16785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16787 "RANLIB=$${RANLIB}" \
16788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16794 .PHONY: maybe-clean-gprof clean-gprof
16797 maybe-clean-gprof: clean-gprof
16800 @: $(MAKE); $(unstage)
16801 @[ -f ./gprof/Makefile ] || exit 0; \
16802 r=`${PWD_COMMAND}`; export r; \
16803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16805 for flag in $(EXTRA_HOST_FLAGS) ; do \
16806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16808 echo "Doing clean in gprof" ; \
16809 (cd $(HOST_SUBDIR)/gprof && \
16810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16812 "RANLIB=$${RANLIB}" \
16813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16819 .PHONY: maybe-distclean-gprof distclean-gprof
16820 maybe-distclean-gprof:
16822 maybe-distclean-gprof: distclean-gprof
16825 @: $(MAKE); $(unstage)
16826 @[ -f ./gprof/Makefile ] || exit 0; \
16827 r=`${PWD_COMMAND}`; export r; \
16828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16830 for flag in $(EXTRA_HOST_FLAGS) ; do \
16831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16833 echo "Doing distclean in gprof" ; \
16834 (cd $(HOST_SUBDIR)/gprof && \
16835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16837 "RANLIB=$${RANLIB}" \
16838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16844 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16845 maybe-maintainer-clean-gprof:
16847 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16849 maintainer-clean-gprof:
16850 @: $(MAKE); $(unstage)
16851 @[ -f ./gprof/Makefile ] || exit 0; \
16852 r=`${PWD_COMMAND}`; export r; \
16853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16855 for flag in $(EXTRA_HOST_FLAGS) ; do \
16856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16858 echo "Doing maintainer-clean in gprof" ; \
16859 (cd $(HOST_SUBDIR)/gprof && \
16860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16862 "RANLIB=$${RANLIB}" \
16863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16864 maintainer-clean) \
16871 .PHONY: configure-intl maybe-configure-intl
16872 maybe-configure-intl:
16874 configure-intl: stage_current
16875 @endif gcc-bootstrap
16877 maybe-configure-intl: configure-intl
16879 @r=`${PWD_COMMAND}`; export r; \
16880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16881 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16884 echo Configuring in $(HOST_SUBDIR)/intl; \
16885 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16886 case $(srcdir) in \
16887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16888 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16891 srcdiroption="--srcdir=$${topdir}/intl"; \
16892 libsrcdir="$$s/intl"; \
16893 $(SHELL) $${libsrcdir}/configure \
16894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16895 --target=${target_alias} $${srcdiroption} \
16901 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16902 maybe-configure-stage1-intl:
16904 maybe-configure-stage1-intl: configure-stage1-intl
16905 configure-stage1-intl:
16906 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16907 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16908 @r=`${PWD_COMMAND}`; export r; \
16909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16910 TFLAGS="$(STAGE1_TFLAGS)"; \
16911 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16913 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16914 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16915 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16916 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16918 cd $(HOST_SUBDIR)/intl || exit 1; \
16919 case $(srcdir) in \
16920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16921 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16924 srcdiroption="--srcdir=$${topdir}/intl"; \
16925 libsrcdir="$$s/intl"; \
16926 $(SHELL) $${libsrcdir}/configure \
16927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16928 --target=${target_alias} $${srcdiroption} \
16929 $(STAGE1_CONFIGURE_FLAGS)
16930 @endif intl-bootstrap
16932 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16933 maybe-configure-stage2-intl:
16935 maybe-configure-stage2-intl: configure-stage2-intl
16936 configure-stage2-intl:
16937 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16938 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16939 @r=`${PWD_COMMAND}`; export r; \
16940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16941 TFLAGS="$(STAGE2_TFLAGS)"; \
16942 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16944 $(POSTSTAGE1_HOST_EXPORTS) \
16945 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16946 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16947 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16948 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16950 cd $(HOST_SUBDIR)/intl || exit 1; \
16951 case $(srcdir) in \
16952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16953 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16956 srcdiroption="--srcdir=$${topdir}/intl"; \
16957 libsrcdir="$$s/intl"; \
16958 $(SHELL) $${libsrcdir}/configure \
16959 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16960 --target=${target_alias} $${srcdiroption} \
16961 --with-build-libsubdir=$(HOST_SUBDIR) \
16962 $(STAGE2_CONFIGURE_FLAGS)
16963 @endif intl-bootstrap
16965 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16966 maybe-configure-stage3-intl:
16968 maybe-configure-stage3-intl: configure-stage3-intl
16969 configure-stage3-intl:
16970 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16972 @r=`${PWD_COMMAND}`; export r; \
16973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16974 TFLAGS="$(STAGE3_TFLAGS)"; \
16975 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16977 $(POSTSTAGE1_HOST_EXPORTS) \
16978 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16979 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16980 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16981 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16983 cd $(HOST_SUBDIR)/intl || exit 1; \
16984 case $(srcdir) in \
16985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16986 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16989 srcdiroption="--srcdir=$${topdir}/intl"; \
16990 libsrcdir="$$s/intl"; \
16991 $(SHELL) $${libsrcdir}/configure \
16992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16993 --target=${target_alias} $${srcdiroption} \
16994 --with-build-libsubdir=$(HOST_SUBDIR) \
16995 $(STAGE3_CONFIGURE_FLAGS)
16996 @endif intl-bootstrap
16998 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16999 maybe-configure-stage4-intl:
17001 maybe-configure-stage4-intl: configure-stage4-intl
17002 configure-stage4-intl:
17003 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17005 @r=`${PWD_COMMAND}`; export r; \
17006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17007 TFLAGS="$(STAGE4_TFLAGS)"; \
17008 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17010 $(POSTSTAGE1_HOST_EXPORTS) \
17011 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17012 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17013 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17014 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17016 cd $(HOST_SUBDIR)/intl || exit 1; \
17017 case $(srcdir) in \
17018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17019 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17022 srcdiroption="--srcdir=$${topdir}/intl"; \
17023 libsrcdir="$$s/intl"; \
17024 $(SHELL) $${libsrcdir}/configure \
17025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17026 --target=${target_alias} $${srcdiroption} \
17027 --with-build-libsubdir=$(HOST_SUBDIR) \
17028 $(STAGE4_CONFIGURE_FLAGS)
17029 @endif intl-bootstrap
17031 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17032 maybe-configure-stageprofile-intl:
17034 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17035 configure-stageprofile-intl:
17036 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17037 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17038 @r=`${PWD_COMMAND}`; export r; \
17039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17040 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17041 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17043 $(POSTSTAGE1_HOST_EXPORTS) \
17044 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17045 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17046 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17047 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17049 cd $(HOST_SUBDIR)/intl || exit 1; \
17050 case $(srcdir) in \
17051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17052 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17055 srcdiroption="--srcdir=$${topdir}/intl"; \
17056 libsrcdir="$$s/intl"; \
17057 $(SHELL) $${libsrcdir}/configure \
17058 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17059 --target=${target_alias} $${srcdiroption} \
17060 --with-build-libsubdir=$(HOST_SUBDIR) \
17061 $(STAGEprofile_CONFIGURE_FLAGS)
17062 @endif intl-bootstrap
17064 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17065 maybe-configure-stagefeedback-intl:
17067 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17068 configure-stagefeedback-intl:
17069 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17071 @r=`${PWD_COMMAND}`; export r; \
17072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17073 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17074 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17076 $(POSTSTAGE1_HOST_EXPORTS) \
17077 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17078 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17079 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17080 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17082 cd $(HOST_SUBDIR)/intl || exit 1; \
17083 case $(srcdir) in \
17084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17085 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17088 srcdiroption="--srcdir=$${topdir}/intl"; \
17089 libsrcdir="$$s/intl"; \
17090 $(SHELL) $${libsrcdir}/configure \
17091 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17092 --target=${target_alias} $${srcdiroption} \
17093 --with-build-libsubdir=$(HOST_SUBDIR) \
17094 $(STAGEfeedback_CONFIGURE_FLAGS)
17095 @endif intl-bootstrap
17101 .PHONY: all-intl maybe-all-intl
17104 all-intl: stage_current
17105 @endif gcc-bootstrap
17108 maybe-all-intl: all-intl
17109 all-intl: configure-intl
17110 @r=`${PWD_COMMAND}`; export r; \
17111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17113 (cd $(HOST_SUBDIR)/intl && \
17114 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17120 .PHONY: all-stage1-intl maybe-all-stage1-intl
17121 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17122 maybe-all-stage1-intl:
17123 maybe-clean-stage1-intl:
17125 maybe-all-stage1-intl: all-stage1-intl
17126 all-stage1: all-stage1-intl
17127 TARGET-stage1-intl = $(TARGET-intl)
17128 all-stage1-intl: configure-stage1-intl
17129 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17130 @r=`${PWD_COMMAND}`; export r; \
17131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17132 TFLAGS="$(STAGE1_TFLAGS)"; \
17134 cd $(HOST_SUBDIR)/intl && \
17135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17136 CFLAGS="$(STAGE1_CFLAGS)" \
17137 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17138 LIBCFLAGS="$(LIBCFLAGS)" \
17139 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17142 $(EXTRA_HOST_FLAGS) \
17143 $(STAGE1_FLAGS_TO_PASS) \
17144 TFLAGS="$(STAGE1_TFLAGS)" \
17145 $(TARGET-stage1-intl)
17147 maybe-clean-stage1-intl: clean-stage1-intl
17148 clean-stage1: clean-stage1-intl
17150 @if [ $(current_stage) = stage1 ]; then \
17151 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17153 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17154 $(MAKE) stage1-start; \
17156 cd $(HOST_SUBDIR)/intl && \
17157 $(MAKE) $(EXTRA_HOST_FLAGS) \
17158 $(STAGE1_FLAGS_TO_PASS) clean
17159 @endif intl-bootstrap
17162 .PHONY: all-stage2-intl maybe-all-stage2-intl
17163 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17164 maybe-all-stage2-intl:
17165 maybe-clean-stage2-intl:
17167 maybe-all-stage2-intl: all-stage2-intl
17168 all-stage2: all-stage2-intl
17169 TARGET-stage2-intl = $(TARGET-intl)
17170 all-stage2-intl: configure-stage2-intl
17171 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17172 @r=`${PWD_COMMAND}`; export r; \
17173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17174 TFLAGS="$(STAGE2_TFLAGS)"; \
17176 $(POSTSTAGE1_HOST_EXPORTS) \
17177 cd $(HOST_SUBDIR)/intl && \
17178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17179 CFLAGS="$(STAGE2_CFLAGS)" \
17180 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17181 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17185 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17186 TFLAGS="$(STAGE2_TFLAGS)" \
17187 $(TARGET-stage2-intl)
17189 maybe-clean-stage2-intl: clean-stage2-intl
17190 clean-stage2: clean-stage2-intl
17192 @if [ $(current_stage) = stage2 ]; then \
17193 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17195 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17196 $(MAKE) stage2-start; \
17198 cd $(HOST_SUBDIR)/intl && \
17199 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17200 @endif intl-bootstrap
17203 .PHONY: all-stage3-intl maybe-all-stage3-intl
17204 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17205 maybe-all-stage3-intl:
17206 maybe-clean-stage3-intl:
17208 maybe-all-stage3-intl: all-stage3-intl
17209 all-stage3: all-stage3-intl
17210 TARGET-stage3-intl = $(TARGET-intl)
17211 all-stage3-intl: configure-stage3-intl
17212 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17213 @r=`${PWD_COMMAND}`; export r; \
17214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17215 TFLAGS="$(STAGE3_TFLAGS)"; \
17217 $(POSTSTAGE1_HOST_EXPORTS) \
17218 cd $(HOST_SUBDIR)/intl && \
17219 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17220 CFLAGS="$(STAGE3_CFLAGS)" \
17221 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17222 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17226 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17227 TFLAGS="$(STAGE3_TFLAGS)" \
17228 $(TARGET-stage3-intl)
17230 maybe-clean-stage3-intl: clean-stage3-intl
17231 clean-stage3: clean-stage3-intl
17233 @if [ $(current_stage) = stage3 ]; then \
17234 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17236 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17237 $(MAKE) stage3-start; \
17239 cd $(HOST_SUBDIR)/intl && \
17240 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17241 @endif intl-bootstrap
17244 .PHONY: all-stage4-intl maybe-all-stage4-intl
17245 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17246 maybe-all-stage4-intl:
17247 maybe-clean-stage4-intl:
17249 maybe-all-stage4-intl: all-stage4-intl
17250 all-stage4: all-stage4-intl
17251 TARGET-stage4-intl = $(TARGET-intl)
17252 all-stage4-intl: configure-stage4-intl
17253 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17254 @r=`${PWD_COMMAND}`; export r; \
17255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17256 TFLAGS="$(STAGE4_TFLAGS)"; \
17258 $(POSTSTAGE1_HOST_EXPORTS) \
17259 cd $(HOST_SUBDIR)/intl && \
17260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17261 CFLAGS="$(STAGE4_CFLAGS)" \
17262 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17263 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17267 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17268 TFLAGS="$(STAGE4_TFLAGS)" \
17269 $(TARGET-stage4-intl)
17271 maybe-clean-stage4-intl: clean-stage4-intl
17272 clean-stage4: clean-stage4-intl
17274 @if [ $(current_stage) = stage4 ]; then \
17275 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17277 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17278 $(MAKE) stage4-start; \
17280 cd $(HOST_SUBDIR)/intl && \
17281 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17282 @endif intl-bootstrap
17285 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17286 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17287 maybe-all-stageprofile-intl:
17288 maybe-clean-stageprofile-intl:
17290 maybe-all-stageprofile-intl: all-stageprofile-intl
17291 all-stageprofile: all-stageprofile-intl
17292 TARGET-stageprofile-intl = $(TARGET-intl)
17293 all-stageprofile-intl: configure-stageprofile-intl
17294 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17295 @r=`${PWD_COMMAND}`; export r; \
17296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17297 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17299 $(POSTSTAGE1_HOST_EXPORTS) \
17300 cd $(HOST_SUBDIR)/intl && \
17301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17302 CFLAGS="$(STAGEprofile_CFLAGS)" \
17303 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17304 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17305 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17306 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17307 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17308 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17309 TFLAGS="$(STAGEprofile_TFLAGS)" \
17310 $(TARGET-stageprofile-intl)
17312 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17313 clean-stageprofile: clean-stageprofile-intl
17314 clean-stageprofile-intl:
17315 @if [ $(current_stage) = stageprofile ]; then \
17316 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17318 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17319 $(MAKE) stageprofile-start; \
17321 cd $(HOST_SUBDIR)/intl && \
17322 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17323 @endif intl-bootstrap
17326 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17327 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17328 maybe-all-stagefeedback-intl:
17329 maybe-clean-stagefeedback-intl:
17331 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17332 all-stagefeedback: all-stagefeedback-intl
17333 TARGET-stagefeedback-intl = $(TARGET-intl)
17334 all-stagefeedback-intl: configure-stagefeedback-intl
17335 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17336 @r=`${PWD_COMMAND}`; export r; \
17337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17338 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17340 $(POSTSTAGE1_HOST_EXPORTS) \
17341 cd $(HOST_SUBDIR)/intl && \
17342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17343 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17344 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17345 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17350 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17351 $(TARGET-stagefeedback-intl)
17353 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17354 clean-stagefeedback: clean-stagefeedback-intl
17355 clean-stagefeedback-intl:
17356 @if [ $(current_stage) = stagefeedback ]; then \
17357 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17359 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17360 $(MAKE) stagefeedback-start; \
17362 cd $(HOST_SUBDIR)/intl && \
17363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17364 @endif intl-bootstrap
17370 .PHONY: check-intl maybe-check-intl
17373 maybe-check-intl: check-intl
17376 @: $(MAKE); $(unstage)
17377 @r=`${PWD_COMMAND}`; export r; \
17378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17380 (cd $(HOST_SUBDIR)/intl && \
17381 $(MAKE) $(FLAGS_TO_PASS) check)
17385 .PHONY: install-intl maybe-install-intl
17386 maybe-install-intl:
17388 maybe-install-intl: install-intl
17390 install-intl: installdirs
17391 @: $(MAKE); $(unstage)
17392 @r=`${PWD_COMMAND}`; export r; \
17393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17395 (cd $(HOST_SUBDIR)/intl && \
17396 $(MAKE) $(FLAGS_TO_PASS) install)
17400 .PHONY: install-strip-intl maybe-install-strip-intl
17401 maybe-install-strip-intl:
17403 maybe-install-strip-intl: install-strip-intl
17405 install-strip-intl: installdirs
17406 @: $(MAKE); $(unstage)
17407 @r=`${PWD_COMMAND}`; export r; \
17408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17410 (cd $(HOST_SUBDIR)/intl && \
17411 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17415 # Other targets (info, dvi, pdf, etc.)
17417 .PHONY: maybe-info-intl info-intl
17420 maybe-info-intl: info-intl
17424 @[ -f ./intl/Makefile ] || exit 0; \
17425 r=`${PWD_COMMAND}`; export r; \
17426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17428 for flag in $(EXTRA_HOST_FLAGS) ; do \
17429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17431 echo "Doing info in intl" ; \
17432 (cd $(HOST_SUBDIR)/intl && \
17433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17435 "RANLIB=$${RANLIB}" \
17436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17442 .PHONY: maybe-dvi-intl dvi-intl
17445 maybe-dvi-intl: dvi-intl
17449 @[ -f ./intl/Makefile ] || exit 0; \
17450 r=`${PWD_COMMAND}`; export r; \
17451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17453 for flag in $(EXTRA_HOST_FLAGS) ; do \
17454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17456 echo "Doing dvi in intl" ; \
17457 (cd $(HOST_SUBDIR)/intl && \
17458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17460 "RANLIB=$${RANLIB}" \
17461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17467 .PHONY: maybe-pdf-intl pdf-intl
17470 maybe-pdf-intl: pdf-intl
17474 @[ -f ./intl/Makefile ] || exit 0; \
17475 r=`${PWD_COMMAND}`; export r; \
17476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17478 for flag in $(EXTRA_HOST_FLAGS) ; do \
17479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17481 echo "Doing pdf in intl" ; \
17482 (cd $(HOST_SUBDIR)/intl && \
17483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17485 "RANLIB=$${RANLIB}" \
17486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17492 .PHONY: maybe-html-intl html-intl
17495 maybe-html-intl: html-intl
17499 @[ -f ./intl/Makefile ] || exit 0; \
17500 r=`${PWD_COMMAND}`; export r; \
17501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17503 for flag in $(EXTRA_HOST_FLAGS) ; do \
17504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17506 echo "Doing html in intl" ; \
17507 (cd $(HOST_SUBDIR)/intl && \
17508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17510 "RANLIB=$${RANLIB}" \
17511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17517 .PHONY: maybe-TAGS-intl TAGS-intl
17520 maybe-TAGS-intl: TAGS-intl
17524 @[ -f ./intl/Makefile ] || exit 0; \
17525 r=`${PWD_COMMAND}`; export r; \
17526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17528 for flag in $(EXTRA_HOST_FLAGS) ; do \
17529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17531 echo "Doing TAGS in intl" ; \
17532 (cd $(HOST_SUBDIR)/intl && \
17533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17535 "RANLIB=$${RANLIB}" \
17536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17542 .PHONY: maybe-install-info-intl install-info-intl
17543 maybe-install-info-intl:
17545 maybe-install-info-intl: install-info-intl
17547 install-info-intl: \
17550 @[ -f ./intl/Makefile ] || exit 0; \
17551 r=`${PWD_COMMAND}`; export r; \
17552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17554 for flag in $(EXTRA_HOST_FLAGS) ; do \
17555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17557 echo "Doing install-info in intl" ; \
17558 (cd $(HOST_SUBDIR)/intl && \
17559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17561 "RANLIB=$${RANLIB}" \
17562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17568 .PHONY: maybe-install-pdf-intl install-pdf-intl
17569 maybe-install-pdf-intl:
17571 maybe-install-pdf-intl: install-pdf-intl
17573 install-pdf-intl: \
17576 @[ -f ./intl/Makefile ] || exit 0; \
17577 r=`${PWD_COMMAND}`; export r; \
17578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17580 for flag in $(EXTRA_HOST_FLAGS) ; do \
17581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17583 echo "Doing install-pdf in intl" ; \
17584 (cd $(HOST_SUBDIR)/intl && \
17585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17587 "RANLIB=$${RANLIB}" \
17588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17594 .PHONY: maybe-install-html-intl install-html-intl
17595 maybe-install-html-intl:
17597 maybe-install-html-intl: install-html-intl
17599 install-html-intl: \
17602 @[ -f ./intl/Makefile ] || exit 0; \
17603 r=`${PWD_COMMAND}`; export r; \
17604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17606 for flag in $(EXTRA_HOST_FLAGS) ; do \
17607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17609 echo "Doing install-html in intl" ; \
17610 (cd $(HOST_SUBDIR)/intl && \
17611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17613 "RANLIB=$${RANLIB}" \
17614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17620 .PHONY: maybe-installcheck-intl installcheck-intl
17621 maybe-installcheck-intl:
17623 maybe-installcheck-intl: installcheck-intl
17625 installcheck-intl: \
17627 @[ -f ./intl/Makefile ] || exit 0; \
17628 r=`${PWD_COMMAND}`; export r; \
17629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17631 for flag in $(EXTRA_HOST_FLAGS) ; do \
17632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17634 echo "Doing installcheck in intl" ; \
17635 (cd $(HOST_SUBDIR)/intl && \
17636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17638 "RANLIB=$${RANLIB}" \
17639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17645 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17646 maybe-mostlyclean-intl:
17648 maybe-mostlyclean-intl: mostlyclean-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 mostlyclean 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-clean-intl clean-intl
17672 maybe-clean-intl: clean-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 clean 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-distclean-intl distclean-intl
17694 maybe-distclean-intl:
17696 maybe-distclean-intl: distclean-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 distclean 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-maintainer-clean-intl maintainer-clean-intl
17718 maybe-maintainer-clean-intl:
17720 maybe-maintainer-clean-intl: maintainer-clean-intl
17722 maintainer-clean-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 maintainer-clean 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}" \
17736 maintainer-clean) \
17743 .PHONY: configure-tcl maybe-configure-tcl
17744 maybe-configure-tcl:
17746 configure-tcl: stage_current
17747 @endif gcc-bootstrap
17749 maybe-configure-tcl: configure-tcl
17751 @: $(MAKE); $(unstage)
17752 @r=`${PWD_COMMAND}`; export r; \
17753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17754 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17757 echo Configuring in $(HOST_SUBDIR)/tcl; \
17758 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17759 case $(srcdir) in \
17760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17761 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17764 srcdiroption="--srcdir=$${topdir}/tcl"; \
17765 libsrcdir="$$s/tcl"; \
17766 $(SHELL) $${libsrcdir}/configure \
17767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17768 --target=${target_alias} $${srcdiroption} \
17776 .PHONY: all-tcl maybe-all-tcl
17779 all-tcl: stage_current
17780 @endif gcc-bootstrap
17783 maybe-all-tcl: all-tcl
17784 all-tcl: configure-tcl
17785 @: $(MAKE); $(unstage)
17786 @r=`${PWD_COMMAND}`; export r; \
17787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17789 (cd $(HOST_SUBDIR)/tcl && \
17790 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17797 .PHONY: check-tcl maybe-check-tcl
17800 maybe-check-tcl: check-tcl
17803 @: $(MAKE); $(unstage)
17804 @r=`${PWD_COMMAND}`; export r; \
17805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17807 (cd $(HOST_SUBDIR)/tcl && \
17808 $(MAKE) $(FLAGS_TO_PASS) check)
17812 .PHONY: install-tcl maybe-install-tcl
17815 maybe-install-tcl: install-tcl
17817 install-tcl: installdirs
17818 @: $(MAKE); $(unstage)
17819 @r=`${PWD_COMMAND}`; export r; \
17820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17822 (cd $(HOST_SUBDIR)/tcl && \
17823 $(MAKE) $(FLAGS_TO_PASS) install)
17827 .PHONY: install-strip-tcl maybe-install-strip-tcl
17828 maybe-install-strip-tcl:
17830 maybe-install-strip-tcl: install-strip-tcl
17832 install-strip-tcl: installdirs
17833 @: $(MAKE); $(unstage)
17834 @r=`${PWD_COMMAND}`; export r; \
17835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17837 (cd $(HOST_SUBDIR)/tcl && \
17838 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17842 # Other targets (info, dvi, pdf, etc.)
17844 .PHONY: maybe-info-tcl info-tcl
17847 maybe-info-tcl: info-tcl
17851 @: $(MAKE); $(unstage)
17852 @[ -f ./tcl/Makefile ] || exit 0; \
17853 r=`${PWD_COMMAND}`; export r; \
17854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17856 for flag in $(EXTRA_HOST_FLAGS) ; do \
17857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17859 echo "Doing info in tcl" ; \
17860 (cd $(HOST_SUBDIR)/tcl && \
17861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17863 "RANLIB=$${RANLIB}" \
17864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17870 .PHONY: maybe-dvi-tcl dvi-tcl
17873 maybe-dvi-tcl: dvi-tcl
17877 @: $(MAKE); $(unstage)
17878 @[ -f ./tcl/Makefile ] || exit 0; \
17879 r=`${PWD_COMMAND}`; export r; \
17880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17882 for flag in $(EXTRA_HOST_FLAGS) ; do \
17883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17885 echo "Doing dvi in tcl" ; \
17886 (cd $(HOST_SUBDIR)/tcl && \
17887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17889 "RANLIB=$${RANLIB}" \
17890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17896 .PHONY: maybe-pdf-tcl pdf-tcl
17899 maybe-pdf-tcl: pdf-tcl
17903 @: $(MAKE); $(unstage)
17904 @[ -f ./tcl/Makefile ] || exit 0; \
17905 r=`${PWD_COMMAND}`; export r; \
17906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17908 for flag in $(EXTRA_HOST_FLAGS) ; do \
17909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17911 echo "Doing pdf in tcl" ; \
17912 (cd $(HOST_SUBDIR)/tcl && \
17913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17915 "RANLIB=$${RANLIB}" \
17916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17922 .PHONY: maybe-html-tcl html-tcl
17925 maybe-html-tcl: html-tcl
17929 @: $(MAKE); $(unstage)
17930 @[ -f ./tcl/Makefile ] || exit 0; \
17931 r=`${PWD_COMMAND}`; export r; \
17932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17934 for flag in $(EXTRA_HOST_FLAGS) ; do \
17935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17937 echo "Doing html in tcl" ; \
17938 (cd $(HOST_SUBDIR)/tcl && \
17939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17941 "RANLIB=$${RANLIB}" \
17942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17948 .PHONY: maybe-TAGS-tcl TAGS-tcl
17951 maybe-TAGS-tcl: TAGS-tcl
17955 @: $(MAKE); $(unstage)
17956 @[ -f ./tcl/Makefile ] || exit 0; \
17957 r=`${PWD_COMMAND}`; export r; \
17958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17960 for flag in $(EXTRA_HOST_FLAGS) ; do \
17961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17963 echo "Doing TAGS in tcl" ; \
17964 (cd $(HOST_SUBDIR)/tcl && \
17965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17967 "RANLIB=$${RANLIB}" \
17968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17974 .PHONY: maybe-install-info-tcl install-info-tcl
17975 maybe-install-info-tcl:
17977 maybe-install-info-tcl: install-info-tcl
17979 install-info-tcl: \
17982 @: $(MAKE); $(unstage)
17983 @[ -f ./tcl/Makefile ] || exit 0; \
17984 r=`${PWD_COMMAND}`; export r; \
17985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17987 for flag in $(EXTRA_HOST_FLAGS) ; do \
17988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17990 echo "Doing install-info in tcl" ; \
17991 (cd $(HOST_SUBDIR)/tcl && \
17992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17994 "RANLIB=$${RANLIB}" \
17995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18001 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18002 maybe-install-pdf-tcl:
18004 maybe-install-pdf-tcl: install-pdf-tcl
18009 @: $(MAKE); $(unstage)
18010 @[ -f ./tcl/Makefile ] || exit 0; \
18011 r=`${PWD_COMMAND}`; export r; \
18012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18014 for flag in $(EXTRA_HOST_FLAGS) ; do \
18015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18017 echo "Doing install-pdf in tcl" ; \
18018 (cd $(HOST_SUBDIR)/tcl && \
18019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18021 "RANLIB=$${RANLIB}" \
18022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18028 .PHONY: maybe-install-html-tcl install-html-tcl
18029 maybe-install-html-tcl:
18031 maybe-install-html-tcl: install-html-tcl
18033 install-html-tcl: \
18036 @: $(MAKE); $(unstage)
18037 @[ -f ./tcl/Makefile ] || exit 0; \
18038 r=`${PWD_COMMAND}`; export r; \
18039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18041 for flag in $(EXTRA_HOST_FLAGS) ; do \
18042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18044 echo "Doing install-html in tcl" ; \
18045 (cd $(HOST_SUBDIR)/tcl && \
18046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18048 "RANLIB=$${RANLIB}" \
18049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18055 .PHONY: maybe-installcheck-tcl installcheck-tcl
18056 maybe-installcheck-tcl:
18058 maybe-installcheck-tcl: installcheck-tcl
18060 installcheck-tcl: \
18062 @: $(MAKE); $(unstage)
18063 @[ -f ./tcl/Makefile ] || exit 0; \
18064 r=`${PWD_COMMAND}`; export r; \
18065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18067 for flag in $(EXTRA_HOST_FLAGS) ; do \
18068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18070 echo "Doing installcheck in tcl" ; \
18071 (cd $(HOST_SUBDIR)/tcl && \
18072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18074 "RANLIB=$${RANLIB}" \
18075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18081 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18082 maybe-mostlyclean-tcl:
18084 maybe-mostlyclean-tcl: mostlyclean-tcl
18086 # tcl doesn't support mostlyclean.
18091 .PHONY: maybe-clean-tcl clean-tcl
18094 maybe-clean-tcl: clean-tcl
18097 @: $(MAKE); $(unstage)
18098 @[ -f ./tcl/Makefile ] || exit 0; \
18099 r=`${PWD_COMMAND}`; export r; \
18100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18102 for flag in $(EXTRA_HOST_FLAGS) ; do \
18103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18105 echo "Doing clean in tcl" ; \
18106 (cd $(HOST_SUBDIR)/tcl && \
18107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18109 "RANLIB=$${RANLIB}" \
18110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18116 .PHONY: maybe-distclean-tcl distclean-tcl
18117 maybe-distclean-tcl:
18119 maybe-distclean-tcl: distclean-tcl
18122 @: $(MAKE); $(unstage)
18123 @[ -f ./tcl/Makefile ] || exit 0; \
18124 r=`${PWD_COMMAND}`; export r; \
18125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18127 for flag in $(EXTRA_HOST_FLAGS) ; do \
18128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18130 echo "Doing distclean in tcl" ; \
18131 (cd $(HOST_SUBDIR)/tcl && \
18132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18134 "RANLIB=$${RANLIB}" \
18135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18141 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18142 maybe-maintainer-clean-tcl:
18144 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18146 maintainer-clean-tcl:
18147 @: $(MAKE); $(unstage)
18148 @[ -f ./tcl/Makefile ] || exit 0; \
18149 r=`${PWD_COMMAND}`; export r; \
18150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18152 for flag in $(EXTRA_HOST_FLAGS) ; do \
18153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18155 echo "Doing maintainer-clean in tcl" ; \
18156 (cd $(HOST_SUBDIR)/tcl && \
18157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18159 "RANLIB=$${RANLIB}" \
18160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18161 maintainer-clean) \
18168 .PHONY: configure-itcl maybe-configure-itcl
18169 maybe-configure-itcl:
18171 configure-itcl: stage_current
18172 @endif gcc-bootstrap
18174 maybe-configure-itcl: configure-itcl
18176 @: $(MAKE); $(unstage)
18177 @r=`${PWD_COMMAND}`; export r; \
18178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18179 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18180 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18182 echo Configuring in $(HOST_SUBDIR)/itcl; \
18183 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18184 case $(srcdir) in \
18185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18186 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18189 srcdiroption="--srcdir=$${topdir}/itcl"; \
18190 libsrcdir="$$s/itcl"; \
18191 $(SHELL) $${libsrcdir}/configure \
18192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18193 --target=${target_alias} $${srcdiroption} \
18201 .PHONY: all-itcl maybe-all-itcl
18204 all-itcl: stage_current
18205 @endif gcc-bootstrap
18208 maybe-all-itcl: all-itcl
18209 all-itcl: configure-itcl
18210 @: $(MAKE); $(unstage)
18211 @r=`${PWD_COMMAND}`; export r; \
18212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18214 (cd $(HOST_SUBDIR)/itcl && \
18215 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18222 .PHONY: check-itcl maybe-check-itcl
18225 maybe-check-itcl: check-itcl
18228 @: $(MAKE); $(unstage)
18229 @r=`${PWD_COMMAND}`; export r; \
18230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18232 (cd $(HOST_SUBDIR)/itcl && \
18233 $(MAKE) $(FLAGS_TO_PASS) check)
18237 .PHONY: install-itcl maybe-install-itcl
18238 maybe-install-itcl:
18240 maybe-install-itcl: install-itcl
18242 install-itcl: installdirs
18243 @: $(MAKE); $(unstage)
18244 @r=`${PWD_COMMAND}`; export r; \
18245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18247 (cd $(HOST_SUBDIR)/itcl && \
18248 $(MAKE) $(FLAGS_TO_PASS) install)
18252 .PHONY: install-strip-itcl maybe-install-strip-itcl
18253 maybe-install-strip-itcl:
18255 maybe-install-strip-itcl: install-strip-itcl
18257 install-strip-itcl: installdirs
18258 @: $(MAKE); $(unstage)
18259 @r=`${PWD_COMMAND}`; export r; \
18260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18262 (cd $(HOST_SUBDIR)/itcl && \
18263 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18267 # Other targets (info, dvi, pdf, etc.)
18269 .PHONY: maybe-info-itcl info-itcl
18272 maybe-info-itcl: info-itcl
18276 @: $(MAKE); $(unstage)
18277 @[ -f ./itcl/Makefile ] || exit 0; \
18278 r=`${PWD_COMMAND}`; export r; \
18279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18281 for flag in $(EXTRA_HOST_FLAGS) ; do \
18282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18284 echo "Doing info in itcl" ; \
18285 (cd $(HOST_SUBDIR)/itcl && \
18286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18288 "RANLIB=$${RANLIB}" \
18289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18295 .PHONY: maybe-dvi-itcl dvi-itcl
18298 maybe-dvi-itcl: dvi-itcl
18302 @: $(MAKE); $(unstage)
18303 @[ -f ./itcl/Makefile ] || exit 0; \
18304 r=`${PWD_COMMAND}`; export r; \
18305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18307 for flag in $(EXTRA_HOST_FLAGS) ; do \
18308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18310 echo "Doing dvi in itcl" ; \
18311 (cd $(HOST_SUBDIR)/itcl && \
18312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18314 "RANLIB=$${RANLIB}" \
18315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18321 .PHONY: maybe-pdf-itcl pdf-itcl
18324 maybe-pdf-itcl: pdf-itcl
18328 @: $(MAKE); $(unstage)
18329 @[ -f ./itcl/Makefile ] || exit 0; \
18330 r=`${PWD_COMMAND}`; export r; \
18331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18333 for flag in $(EXTRA_HOST_FLAGS) ; do \
18334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18336 echo "Doing pdf in itcl" ; \
18337 (cd $(HOST_SUBDIR)/itcl && \
18338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18340 "RANLIB=$${RANLIB}" \
18341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18347 .PHONY: maybe-html-itcl html-itcl
18350 maybe-html-itcl: html-itcl
18354 @: $(MAKE); $(unstage)
18355 @[ -f ./itcl/Makefile ] || exit 0; \
18356 r=`${PWD_COMMAND}`; export r; \
18357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18359 for flag in $(EXTRA_HOST_FLAGS) ; do \
18360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18362 echo "Doing html in itcl" ; \
18363 (cd $(HOST_SUBDIR)/itcl && \
18364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18366 "RANLIB=$${RANLIB}" \
18367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18373 .PHONY: maybe-TAGS-itcl TAGS-itcl
18376 maybe-TAGS-itcl: TAGS-itcl
18380 @: $(MAKE); $(unstage)
18381 @[ -f ./itcl/Makefile ] || exit 0; \
18382 r=`${PWD_COMMAND}`; export r; \
18383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18385 for flag in $(EXTRA_HOST_FLAGS) ; do \
18386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18388 echo "Doing TAGS in itcl" ; \
18389 (cd $(HOST_SUBDIR)/itcl && \
18390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18392 "RANLIB=$${RANLIB}" \
18393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18399 .PHONY: maybe-install-info-itcl install-info-itcl
18400 maybe-install-info-itcl:
18402 maybe-install-info-itcl: install-info-itcl
18404 install-info-itcl: \
18407 @: $(MAKE); $(unstage)
18408 @[ -f ./itcl/Makefile ] || exit 0; \
18409 r=`${PWD_COMMAND}`; export r; \
18410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18412 for flag in $(EXTRA_HOST_FLAGS) ; do \
18413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18415 echo "Doing install-info in itcl" ; \
18416 (cd $(HOST_SUBDIR)/itcl && \
18417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18419 "RANLIB=$${RANLIB}" \
18420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18426 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18427 maybe-install-pdf-itcl:
18429 maybe-install-pdf-itcl: install-pdf-itcl
18431 install-pdf-itcl: \
18434 @: $(MAKE); $(unstage)
18435 @[ -f ./itcl/Makefile ] || exit 0; \
18436 r=`${PWD_COMMAND}`; export r; \
18437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18439 for flag in $(EXTRA_HOST_FLAGS) ; do \
18440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18442 echo "Doing install-pdf in itcl" ; \
18443 (cd $(HOST_SUBDIR)/itcl && \
18444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18446 "RANLIB=$${RANLIB}" \
18447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18453 .PHONY: maybe-install-html-itcl install-html-itcl
18454 maybe-install-html-itcl:
18456 maybe-install-html-itcl: install-html-itcl
18458 install-html-itcl: \
18461 @: $(MAKE); $(unstage)
18462 @[ -f ./itcl/Makefile ] || exit 0; \
18463 r=`${PWD_COMMAND}`; export r; \
18464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18466 for flag in $(EXTRA_HOST_FLAGS) ; do \
18467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18469 echo "Doing install-html in itcl" ; \
18470 (cd $(HOST_SUBDIR)/itcl && \
18471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18473 "RANLIB=$${RANLIB}" \
18474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18480 .PHONY: maybe-installcheck-itcl installcheck-itcl
18481 maybe-installcheck-itcl:
18483 maybe-installcheck-itcl: installcheck-itcl
18485 installcheck-itcl: \
18487 @: $(MAKE); $(unstage)
18488 @[ -f ./itcl/Makefile ] || exit 0; \
18489 r=`${PWD_COMMAND}`; export r; \
18490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18492 for flag in $(EXTRA_HOST_FLAGS) ; do \
18493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18495 echo "Doing installcheck in itcl" ; \
18496 (cd $(HOST_SUBDIR)/itcl && \
18497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18499 "RANLIB=$${RANLIB}" \
18500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18506 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18507 maybe-mostlyclean-itcl:
18509 maybe-mostlyclean-itcl: mostlyclean-itcl
18512 @: $(MAKE); $(unstage)
18513 @[ -f ./itcl/Makefile ] || exit 0; \
18514 r=`${PWD_COMMAND}`; export r; \
18515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18517 for flag in $(EXTRA_HOST_FLAGS) ; do \
18518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18520 echo "Doing mostlyclean in itcl" ; \
18521 (cd $(HOST_SUBDIR)/itcl && \
18522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18524 "RANLIB=$${RANLIB}" \
18525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18531 .PHONY: maybe-clean-itcl clean-itcl
18534 maybe-clean-itcl: clean-itcl
18537 @: $(MAKE); $(unstage)
18538 @[ -f ./itcl/Makefile ] || exit 0; \
18539 r=`${PWD_COMMAND}`; export r; \
18540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18542 for flag in $(EXTRA_HOST_FLAGS) ; do \
18543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18545 echo "Doing clean in itcl" ; \
18546 (cd $(HOST_SUBDIR)/itcl && \
18547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18549 "RANLIB=$${RANLIB}" \
18550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18556 .PHONY: maybe-distclean-itcl distclean-itcl
18557 maybe-distclean-itcl:
18559 maybe-distclean-itcl: distclean-itcl
18562 @: $(MAKE); $(unstage)
18563 @[ -f ./itcl/Makefile ] || exit 0; \
18564 r=`${PWD_COMMAND}`; export r; \
18565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18567 for flag in $(EXTRA_HOST_FLAGS) ; do \
18568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18570 echo "Doing distclean in itcl" ; \
18571 (cd $(HOST_SUBDIR)/itcl && \
18572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18574 "RANLIB=$${RANLIB}" \
18575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18581 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18582 maybe-maintainer-clean-itcl:
18584 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18586 maintainer-clean-itcl:
18587 @: $(MAKE); $(unstage)
18588 @[ -f ./itcl/Makefile ] || exit 0; \
18589 r=`${PWD_COMMAND}`; export r; \
18590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18592 for flag in $(EXTRA_HOST_FLAGS) ; do \
18593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18595 echo "Doing maintainer-clean in itcl" ; \
18596 (cd $(HOST_SUBDIR)/itcl && \
18597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18599 "RANLIB=$${RANLIB}" \
18600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18601 maintainer-clean) \
18608 .PHONY: configure-ld maybe-configure-ld
18609 maybe-configure-ld:
18611 configure-ld: stage_current
18612 @endif gcc-bootstrap
18614 maybe-configure-ld: configure-ld
18616 @r=`${PWD_COMMAND}`; export r; \
18617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18618 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18621 echo Configuring in $(HOST_SUBDIR)/ld; \
18622 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18623 case $(srcdir) in \
18624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18625 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18628 srcdiroption="--srcdir=$${topdir}/ld"; \
18629 libsrcdir="$$s/ld"; \
18630 $(SHELL) $${libsrcdir}/configure \
18631 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18632 --target=${target_alias} $${srcdiroption} \
18638 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18639 maybe-configure-stage1-ld:
18641 maybe-configure-stage1-ld: configure-stage1-ld
18642 configure-stage1-ld:
18643 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18645 @r=`${PWD_COMMAND}`; export r; \
18646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18647 TFLAGS="$(STAGE1_TFLAGS)"; \
18648 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18650 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18651 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18652 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18653 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18655 cd $(HOST_SUBDIR)/ld || exit 1; \
18656 case $(srcdir) in \
18657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18658 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18661 srcdiroption="--srcdir=$${topdir}/ld"; \
18662 libsrcdir="$$s/ld"; \
18663 $(SHELL) $${libsrcdir}/configure \
18664 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18665 --target=${target_alias} $${srcdiroption} \
18666 $(STAGE1_CONFIGURE_FLAGS)
18667 @endif ld-bootstrap
18669 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18670 maybe-configure-stage2-ld:
18672 maybe-configure-stage2-ld: configure-stage2-ld
18673 configure-stage2-ld:
18674 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18675 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18676 @r=`${PWD_COMMAND}`; export r; \
18677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18678 TFLAGS="$(STAGE2_TFLAGS)"; \
18679 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18681 $(POSTSTAGE1_HOST_EXPORTS) \
18682 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18683 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18684 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18685 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18687 cd $(HOST_SUBDIR)/ld || exit 1; \
18688 case $(srcdir) in \
18689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18690 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18693 srcdiroption="--srcdir=$${topdir}/ld"; \
18694 libsrcdir="$$s/ld"; \
18695 $(SHELL) $${libsrcdir}/configure \
18696 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18697 --target=${target_alias} $${srcdiroption} \
18698 --with-build-libsubdir=$(HOST_SUBDIR) \
18699 $(STAGE2_CONFIGURE_FLAGS)
18700 @endif ld-bootstrap
18702 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18703 maybe-configure-stage3-ld:
18705 maybe-configure-stage3-ld: configure-stage3-ld
18706 configure-stage3-ld:
18707 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18708 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18709 @r=`${PWD_COMMAND}`; export r; \
18710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18711 TFLAGS="$(STAGE3_TFLAGS)"; \
18712 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18714 $(POSTSTAGE1_HOST_EXPORTS) \
18715 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18716 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18717 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18718 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18720 cd $(HOST_SUBDIR)/ld || exit 1; \
18721 case $(srcdir) in \
18722 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18723 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18724 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18726 srcdiroption="--srcdir=$${topdir}/ld"; \
18727 libsrcdir="$$s/ld"; \
18728 $(SHELL) $${libsrcdir}/configure \
18729 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18730 --target=${target_alias} $${srcdiroption} \
18731 --with-build-libsubdir=$(HOST_SUBDIR) \
18732 $(STAGE3_CONFIGURE_FLAGS)
18733 @endif ld-bootstrap
18735 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18736 maybe-configure-stage4-ld:
18738 maybe-configure-stage4-ld: configure-stage4-ld
18739 configure-stage4-ld:
18740 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18741 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18742 @r=`${PWD_COMMAND}`; export r; \
18743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18744 TFLAGS="$(STAGE4_TFLAGS)"; \
18745 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18747 $(POSTSTAGE1_HOST_EXPORTS) \
18748 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18749 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18750 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18751 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18753 cd $(HOST_SUBDIR)/ld || exit 1; \
18754 case $(srcdir) in \
18755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18756 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18759 srcdiroption="--srcdir=$${topdir}/ld"; \
18760 libsrcdir="$$s/ld"; \
18761 $(SHELL) $${libsrcdir}/configure \
18762 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18763 --target=${target_alias} $${srcdiroption} \
18764 --with-build-libsubdir=$(HOST_SUBDIR) \
18765 $(STAGE4_CONFIGURE_FLAGS)
18766 @endif ld-bootstrap
18768 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18769 maybe-configure-stageprofile-ld:
18771 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18772 configure-stageprofile-ld:
18773 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18775 @r=`${PWD_COMMAND}`; export r; \
18776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18777 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18778 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18780 $(POSTSTAGE1_HOST_EXPORTS) \
18781 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18782 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18783 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18784 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18786 cd $(HOST_SUBDIR)/ld || exit 1; \
18787 case $(srcdir) in \
18788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18789 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18792 srcdiroption="--srcdir=$${topdir}/ld"; \
18793 libsrcdir="$$s/ld"; \
18794 $(SHELL) $${libsrcdir}/configure \
18795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18796 --target=${target_alias} $${srcdiroption} \
18797 --with-build-libsubdir=$(HOST_SUBDIR) \
18798 $(STAGEprofile_CONFIGURE_FLAGS)
18799 @endif ld-bootstrap
18801 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18802 maybe-configure-stagefeedback-ld:
18804 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18805 configure-stagefeedback-ld:
18806 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18808 @r=`${PWD_COMMAND}`; export r; \
18809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18810 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18811 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18813 $(POSTSTAGE1_HOST_EXPORTS) \
18814 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18815 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18816 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18817 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18819 cd $(HOST_SUBDIR)/ld || exit 1; \
18820 case $(srcdir) in \
18821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18822 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18825 srcdiroption="--srcdir=$${topdir}/ld"; \
18826 libsrcdir="$$s/ld"; \
18827 $(SHELL) $${libsrcdir}/configure \
18828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18829 --target=${target_alias} $${srcdiroption} \
18830 --with-build-libsubdir=$(HOST_SUBDIR) \
18831 $(STAGEfeedback_CONFIGURE_FLAGS)
18832 @endif ld-bootstrap
18838 .PHONY: all-ld maybe-all-ld
18841 all-ld: stage_current
18842 @endif gcc-bootstrap
18845 maybe-all-ld: all-ld
18846 all-ld: configure-ld
18847 @r=`${PWD_COMMAND}`; export r; \
18848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18850 (cd $(HOST_SUBDIR)/ld && \
18851 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18857 .PHONY: all-stage1-ld maybe-all-stage1-ld
18858 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18859 maybe-all-stage1-ld:
18860 maybe-clean-stage1-ld:
18862 maybe-all-stage1-ld: all-stage1-ld
18863 all-stage1: all-stage1-ld
18864 TARGET-stage1-ld = $(TARGET-ld)
18865 all-stage1-ld: configure-stage1-ld
18866 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18867 @r=`${PWD_COMMAND}`; export r; \
18868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18869 TFLAGS="$(STAGE1_TFLAGS)"; \
18871 cd $(HOST_SUBDIR)/ld && \
18872 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18873 CFLAGS="$(STAGE1_CFLAGS)" \
18874 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18875 LIBCFLAGS="$(LIBCFLAGS)" \
18876 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18877 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18878 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18879 $(EXTRA_HOST_FLAGS) \
18880 $(STAGE1_FLAGS_TO_PASS) \
18881 TFLAGS="$(STAGE1_TFLAGS)" \
18882 $(TARGET-stage1-ld)
18884 maybe-clean-stage1-ld: clean-stage1-ld
18885 clean-stage1: clean-stage1-ld
18887 @if [ $(current_stage) = stage1 ]; then \
18888 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18890 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18891 $(MAKE) stage1-start; \
18893 cd $(HOST_SUBDIR)/ld && \
18894 $(MAKE) $(EXTRA_HOST_FLAGS) \
18895 $(STAGE1_FLAGS_TO_PASS) clean
18896 @endif ld-bootstrap
18899 .PHONY: all-stage2-ld maybe-all-stage2-ld
18900 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18901 maybe-all-stage2-ld:
18902 maybe-clean-stage2-ld:
18904 maybe-all-stage2-ld: all-stage2-ld
18905 all-stage2: all-stage2-ld
18906 TARGET-stage2-ld = $(TARGET-ld)
18907 all-stage2-ld: configure-stage2-ld
18908 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18909 @r=`${PWD_COMMAND}`; export r; \
18910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18911 TFLAGS="$(STAGE2_TFLAGS)"; \
18913 $(POSTSTAGE1_HOST_EXPORTS) \
18914 cd $(HOST_SUBDIR)/ld && \
18915 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18916 CFLAGS="$(STAGE2_CFLAGS)" \
18917 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18918 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18919 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18920 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18921 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18922 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18923 TFLAGS="$(STAGE2_TFLAGS)" \
18924 $(TARGET-stage2-ld)
18926 maybe-clean-stage2-ld: clean-stage2-ld
18927 clean-stage2: clean-stage2-ld
18929 @if [ $(current_stage) = stage2 ]; then \
18930 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18932 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18933 $(MAKE) stage2-start; \
18935 cd $(HOST_SUBDIR)/ld && \
18936 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18937 @endif ld-bootstrap
18940 .PHONY: all-stage3-ld maybe-all-stage3-ld
18941 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18942 maybe-all-stage3-ld:
18943 maybe-clean-stage3-ld:
18945 maybe-all-stage3-ld: all-stage3-ld
18946 all-stage3: all-stage3-ld
18947 TARGET-stage3-ld = $(TARGET-ld)
18948 all-stage3-ld: configure-stage3-ld
18949 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18950 @r=`${PWD_COMMAND}`; export r; \
18951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18952 TFLAGS="$(STAGE3_TFLAGS)"; \
18954 $(POSTSTAGE1_HOST_EXPORTS) \
18955 cd $(HOST_SUBDIR)/ld && \
18956 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18957 CFLAGS="$(STAGE3_CFLAGS)" \
18958 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18959 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18960 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18961 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18962 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18963 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18964 TFLAGS="$(STAGE3_TFLAGS)" \
18965 $(TARGET-stage3-ld)
18967 maybe-clean-stage3-ld: clean-stage3-ld
18968 clean-stage3: clean-stage3-ld
18970 @if [ $(current_stage) = stage3 ]; then \
18971 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18973 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18974 $(MAKE) stage3-start; \
18976 cd $(HOST_SUBDIR)/ld && \
18977 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18978 @endif ld-bootstrap
18981 .PHONY: all-stage4-ld maybe-all-stage4-ld
18982 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
18983 maybe-all-stage4-ld:
18984 maybe-clean-stage4-ld:
18986 maybe-all-stage4-ld: all-stage4-ld
18987 all-stage4: all-stage4-ld
18988 TARGET-stage4-ld = $(TARGET-ld)
18989 all-stage4-ld: configure-stage4-ld
18990 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18991 @r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18993 TFLAGS="$(STAGE4_TFLAGS)"; \
18995 $(POSTSTAGE1_HOST_EXPORTS) \
18996 cd $(HOST_SUBDIR)/ld && \
18997 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18998 CFLAGS="$(STAGE4_CFLAGS)" \
18999 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19000 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19001 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19002 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19003 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19004 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19005 TFLAGS="$(STAGE4_TFLAGS)" \
19006 $(TARGET-stage4-ld)
19008 maybe-clean-stage4-ld: clean-stage4-ld
19009 clean-stage4: clean-stage4-ld
19011 @if [ $(current_stage) = stage4 ]; then \
19012 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19014 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19015 $(MAKE) stage4-start; \
19017 cd $(HOST_SUBDIR)/ld && \
19018 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19019 @endif ld-bootstrap
19022 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19023 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19024 maybe-all-stageprofile-ld:
19025 maybe-clean-stageprofile-ld:
19027 maybe-all-stageprofile-ld: all-stageprofile-ld
19028 all-stageprofile: all-stageprofile-ld
19029 TARGET-stageprofile-ld = $(TARGET-ld)
19030 all-stageprofile-ld: configure-stageprofile-ld
19031 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19032 @r=`${PWD_COMMAND}`; export r; \
19033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19034 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19036 $(POSTSTAGE1_HOST_EXPORTS) \
19037 cd $(HOST_SUBDIR)/ld && \
19038 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19039 CFLAGS="$(STAGEprofile_CFLAGS)" \
19040 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19041 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19042 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19043 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19044 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19045 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19046 TFLAGS="$(STAGEprofile_TFLAGS)" \
19047 $(TARGET-stageprofile-ld)
19049 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19050 clean-stageprofile: clean-stageprofile-ld
19051 clean-stageprofile-ld:
19052 @if [ $(current_stage) = stageprofile ]; then \
19053 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19055 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19056 $(MAKE) stageprofile-start; \
19058 cd $(HOST_SUBDIR)/ld && \
19059 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19060 @endif ld-bootstrap
19063 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19064 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19065 maybe-all-stagefeedback-ld:
19066 maybe-clean-stagefeedback-ld:
19068 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19069 all-stagefeedback: all-stagefeedback-ld
19070 TARGET-stagefeedback-ld = $(TARGET-ld)
19071 all-stagefeedback-ld: configure-stagefeedback-ld
19072 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19073 @r=`${PWD_COMMAND}`; export r; \
19074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19075 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19077 $(POSTSTAGE1_HOST_EXPORTS) \
19078 cd $(HOST_SUBDIR)/ld && \
19079 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19080 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19081 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19082 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19083 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19084 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19085 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19086 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19087 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19088 $(TARGET-stagefeedback-ld)
19090 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19091 clean-stagefeedback: clean-stagefeedback-ld
19092 clean-stagefeedback-ld:
19093 @if [ $(current_stage) = stagefeedback ]; then \
19094 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19096 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19097 $(MAKE) stagefeedback-start; \
19099 cd $(HOST_SUBDIR)/ld && \
19100 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19101 @endif ld-bootstrap
19107 .PHONY: check-ld maybe-check-ld
19110 maybe-check-ld: check-ld
19113 @: $(MAKE); $(unstage)
19114 @r=`${PWD_COMMAND}`; export r; \
19115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19117 (cd $(HOST_SUBDIR)/ld && \
19118 $(MAKE) $(FLAGS_TO_PASS) check)
19122 .PHONY: install-ld maybe-install-ld
19125 maybe-install-ld: install-ld
19127 install-ld: installdirs
19128 @: $(MAKE); $(unstage)
19129 @r=`${PWD_COMMAND}`; export r; \
19130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19132 (cd $(HOST_SUBDIR)/ld && \
19133 $(MAKE) $(FLAGS_TO_PASS) install)
19137 .PHONY: install-strip-ld maybe-install-strip-ld
19138 maybe-install-strip-ld:
19140 maybe-install-strip-ld: install-strip-ld
19142 install-strip-ld: installdirs
19143 @: $(MAKE); $(unstage)
19144 @r=`${PWD_COMMAND}`; export r; \
19145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19147 (cd $(HOST_SUBDIR)/ld && \
19148 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19152 # Other targets (info, dvi, pdf, etc.)
19154 .PHONY: maybe-info-ld info-ld
19157 maybe-info-ld: info-ld
19161 @[ -f ./ld/Makefile ] || exit 0; \
19162 r=`${PWD_COMMAND}`; export r; \
19163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19165 for flag in $(EXTRA_HOST_FLAGS) ; do \
19166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19168 echo "Doing info in ld" ; \
19169 (cd $(HOST_SUBDIR)/ld && \
19170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19172 "RANLIB=$${RANLIB}" \
19173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19179 .PHONY: maybe-dvi-ld dvi-ld
19182 maybe-dvi-ld: dvi-ld
19186 @[ -f ./ld/Makefile ] || exit 0; \
19187 r=`${PWD_COMMAND}`; export r; \
19188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19190 for flag in $(EXTRA_HOST_FLAGS) ; do \
19191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19193 echo "Doing dvi in ld" ; \
19194 (cd $(HOST_SUBDIR)/ld && \
19195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19197 "RANLIB=$${RANLIB}" \
19198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19204 .PHONY: maybe-pdf-ld pdf-ld
19207 maybe-pdf-ld: pdf-ld
19211 @[ -f ./ld/Makefile ] || exit 0; \
19212 r=`${PWD_COMMAND}`; export r; \
19213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19215 for flag in $(EXTRA_HOST_FLAGS) ; do \
19216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19218 echo "Doing pdf in ld" ; \
19219 (cd $(HOST_SUBDIR)/ld && \
19220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19222 "RANLIB=$${RANLIB}" \
19223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19229 .PHONY: maybe-html-ld html-ld
19232 maybe-html-ld: html-ld
19236 @[ -f ./ld/Makefile ] || exit 0; \
19237 r=`${PWD_COMMAND}`; export r; \
19238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19240 for flag in $(EXTRA_HOST_FLAGS) ; do \
19241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19243 echo "Doing html in ld" ; \
19244 (cd $(HOST_SUBDIR)/ld && \
19245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19247 "RANLIB=$${RANLIB}" \
19248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19254 .PHONY: maybe-TAGS-ld TAGS-ld
19257 maybe-TAGS-ld: TAGS-ld
19261 @[ -f ./ld/Makefile ] || exit 0; \
19262 r=`${PWD_COMMAND}`; export r; \
19263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19265 for flag in $(EXTRA_HOST_FLAGS) ; do \
19266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19268 echo "Doing TAGS in ld" ; \
19269 (cd $(HOST_SUBDIR)/ld && \
19270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19272 "RANLIB=$${RANLIB}" \
19273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19279 .PHONY: maybe-install-info-ld install-info-ld
19280 maybe-install-info-ld:
19282 maybe-install-info-ld: install-info-ld
19287 @[ -f ./ld/Makefile ] || exit 0; \
19288 r=`${PWD_COMMAND}`; export r; \
19289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19291 for flag in $(EXTRA_HOST_FLAGS) ; do \
19292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19294 echo "Doing install-info in ld" ; \
19295 (cd $(HOST_SUBDIR)/ld && \
19296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19298 "RANLIB=$${RANLIB}" \
19299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19305 .PHONY: maybe-install-pdf-ld install-pdf-ld
19306 maybe-install-pdf-ld:
19308 maybe-install-pdf-ld: install-pdf-ld
19313 @[ -f ./ld/Makefile ] || exit 0; \
19314 r=`${PWD_COMMAND}`; export r; \
19315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19317 for flag in $(EXTRA_HOST_FLAGS) ; do \
19318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19320 echo "Doing install-pdf in ld" ; \
19321 (cd $(HOST_SUBDIR)/ld && \
19322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19324 "RANLIB=$${RANLIB}" \
19325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19331 .PHONY: maybe-install-html-ld install-html-ld
19332 maybe-install-html-ld:
19334 maybe-install-html-ld: install-html-ld
19339 @[ -f ./ld/Makefile ] || exit 0; \
19340 r=`${PWD_COMMAND}`; export r; \
19341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19343 for flag in $(EXTRA_HOST_FLAGS) ; do \
19344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19346 echo "Doing install-html in ld" ; \
19347 (cd $(HOST_SUBDIR)/ld && \
19348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19350 "RANLIB=$${RANLIB}" \
19351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19357 .PHONY: maybe-installcheck-ld installcheck-ld
19358 maybe-installcheck-ld:
19360 maybe-installcheck-ld: installcheck-ld
19364 @[ -f ./ld/Makefile ] || exit 0; \
19365 r=`${PWD_COMMAND}`; export r; \
19366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19368 for flag in $(EXTRA_HOST_FLAGS) ; do \
19369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19371 echo "Doing installcheck in ld" ; \
19372 (cd $(HOST_SUBDIR)/ld && \
19373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19375 "RANLIB=$${RANLIB}" \
19376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19382 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19383 maybe-mostlyclean-ld:
19385 maybe-mostlyclean-ld: mostlyclean-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 mostlyclean 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-clean-ld clean-ld
19409 maybe-clean-ld: clean-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 clean 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-distclean-ld distclean-ld
19431 maybe-distclean-ld:
19433 maybe-distclean-ld: distclean-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 distclean 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-maintainer-clean-ld maintainer-clean-ld
19455 maybe-maintainer-clean-ld:
19457 maybe-maintainer-clean-ld: maintainer-clean-ld
19459 maintainer-clean-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 maintainer-clean 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}" \
19473 maintainer-clean) \
19480 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19481 maybe-configure-libbacktrace:
19483 configure-libbacktrace: stage_current
19484 @endif gcc-bootstrap
19486 maybe-configure-libbacktrace: configure-libbacktrace
19487 configure-libbacktrace:
19488 @r=`${PWD_COMMAND}`; export r; \
19489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19490 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19491 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19493 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19494 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19495 case $(srcdir) in \
19496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19497 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19500 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19501 libsrcdir="$$s/libbacktrace"; \
19502 $(SHELL) $${libsrcdir}/configure \
19503 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19504 --target=${target_alias} $${srcdiroption} \
19506 @endif libbacktrace
19510 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19511 maybe-configure-stage1-libbacktrace:
19512 @if libbacktrace-bootstrap
19513 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19514 configure-stage1-libbacktrace:
19515 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19516 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19517 @r=`${PWD_COMMAND}`; export r; \
19518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19519 TFLAGS="$(STAGE1_TFLAGS)"; \
19520 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19522 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19523 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19524 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19525 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19527 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19528 case $(srcdir) in \
19529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19530 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19533 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19534 libsrcdir="$$s/libbacktrace"; \
19535 $(SHELL) $${libsrcdir}/configure \
19536 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19537 --target=${target_alias} $${srcdiroption} \
19538 $(STAGE1_CONFIGURE_FLAGS)
19539 @endif libbacktrace-bootstrap
19541 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19542 maybe-configure-stage2-libbacktrace:
19543 @if libbacktrace-bootstrap
19544 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19545 configure-stage2-libbacktrace:
19546 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19547 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19548 @r=`${PWD_COMMAND}`; export r; \
19549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19550 TFLAGS="$(STAGE2_TFLAGS)"; \
19551 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19553 $(POSTSTAGE1_HOST_EXPORTS) \
19554 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19555 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19556 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19557 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19559 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19560 case $(srcdir) in \
19561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19562 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19565 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19566 libsrcdir="$$s/libbacktrace"; \
19567 $(SHELL) $${libsrcdir}/configure \
19568 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19569 --target=${target_alias} $${srcdiroption} \
19570 --with-build-libsubdir=$(HOST_SUBDIR) \
19571 $(STAGE2_CONFIGURE_FLAGS)
19572 @endif libbacktrace-bootstrap
19574 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19575 maybe-configure-stage3-libbacktrace:
19576 @if libbacktrace-bootstrap
19577 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19578 configure-stage3-libbacktrace:
19579 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19581 @r=`${PWD_COMMAND}`; export r; \
19582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19583 TFLAGS="$(STAGE3_TFLAGS)"; \
19584 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19586 $(POSTSTAGE1_HOST_EXPORTS) \
19587 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19588 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19589 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19590 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19592 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19593 case $(srcdir) in \
19594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19595 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19598 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19599 libsrcdir="$$s/libbacktrace"; \
19600 $(SHELL) $${libsrcdir}/configure \
19601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19602 --target=${target_alias} $${srcdiroption} \
19603 --with-build-libsubdir=$(HOST_SUBDIR) \
19604 $(STAGE3_CONFIGURE_FLAGS)
19605 @endif libbacktrace-bootstrap
19607 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19608 maybe-configure-stage4-libbacktrace:
19609 @if libbacktrace-bootstrap
19610 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19611 configure-stage4-libbacktrace:
19612 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19613 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19614 @r=`${PWD_COMMAND}`; export r; \
19615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19616 TFLAGS="$(STAGE4_TFLAGS)"; \
19617 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19619 $(POSTSTAGE1_HOST_EXPORTS) \
19620 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19621 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19622 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19623 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19625 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19626 case $(srcdir) in \
19627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19628 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19631 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19632 libsrcdir="$$s/libbacktrace"; \
19633 $(SHELL) $${libsrcdir}/configure \
19634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19635 --target=${target_alias} $${srcdiroption} \
19636 --with-build-libsubdir=$(HOST_SUBDIR) \
19637 $(STAGE4_CONFIGURE_FLAGS)
19638 @endif libbacktrace-bootstrap
19640 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19641 maybe-configure-stageprofile-libbacktrace:
19642 @if libbacktrace-bootstrap
19643 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19644 configure-stageprofile-libbacktrace:
19645 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19647 @r=`${PWD_COMMAND}`; export r; \
19648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19649 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19650 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19652 $(POSTSTAGE1_HOST_EXPORTS) \
19653 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19654 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19655 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19656 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19658 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19659 case $(srcdir) in \
19660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19661 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19664 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19665 libsrcdir="$$s/libbacktrace"; \
19666 $(SHELL) $${libsrcdir}/configure \
19667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19668 --target=${target_alias} $${srcdiroption} \
19669 --with-build-libsubdir=$(HOST_SUBDIR) \
19670 $(STAGEprofile_CONFIGURE_FLAGS)
19671 @endif libbacktrace-bootstrap
19673 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19674 maybe-configure-stagefeedback-libbacktrace:
19675 @if libbacktrace-bootstrap
19676 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19677 configure-stagefeedback-libbacktrace:
19678 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19680 @r=`${PWD_COMMAND}`; export r; \
19681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19682 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19683 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19685 $(POSTSTAGE1_HOST_EXPORTS) \
19686 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19687 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19688 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19689 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19691 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19692 case $(srcdir) in \
19693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19694 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19697 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
19698 libsrcdir="$$s/libbacktrace"; \
19699 $(SHELL) $${libsrcdir}/configure \
19700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19701 --target=${target_alias} $${srcdiroption} \
19702 --with-build-libsubdir=$(HOST_SUBDIR) \
19703 $(STAGEfeedback_CONFIGURE_FLAGS)
19704 @endif libbacktrace-bootstrap
19710 .PHONY: all-libbacktrace maybe-all-libbacktrace
19711 maybe-all-libbacktrace:
19713 all-libbacktrace: stage_current
19714 @endif gcc-bootstrap
19716 TARGET-libbacktrace=all
19717 maybe-all-libbacktrace: all-libbacktrace
19718 all-libbacktrace: configure-libbacktrace
19719 @r=`${PWD_COMMAND}`; export r; \
19720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19722 (cd $(HOST_SUBDIR)/libbacktrace && \
19723 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19724 $(TARGET-libbacktrace))
19725 @endif libbacktrace
19729 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19730 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19731 maybe-all-stage1-libbacktrace:
19732 maybe-clean-stage1-libbacktrace:
19733 @if libbacktrace-bootstrap
19734 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19735 all-stage1: all-stage1-libbacktrace
19736 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19737 all-stage1-libbacktrace: configure-stage1-libbacktrace
19738 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19739 @r=`${PWD_COMMAND}`; export r; \
19740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19741 TFLAGS="$(STAGE1_TFLAGS)"; \
19743 cd $(HOST_SUBDIR)/libbacktrace && \
19744 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19745 CFLAGS="$(STAGE1_CFLAGS)" \
19746 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19747 LIBCFLAGS="$(LIBCFLAGS)" \
19748 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19749 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19750 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19751 $(EXTRA_HOST_FLAGS) \
19752 $(STAGE1_FLAGS_TO_PASS) \
19753 TFLAGS="$(STAGE1_TFLAGS)" \
19754 $(TARGET-stage1-libbacktrace)
19756 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19757 clean-stage1: clean-stage1-libbacktrace
19758 clean-stage1-libbacktrace:
19759 @if [ $(current_stage) = stage1 ]; then \
19760 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19762 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19763 $(MAKE) stage1-start; \
19765 cd $(HOST_SUBDIR)/libbacktrace && \
19766 $(MAKE) $(EXTRA_HOST_FLAGS) \
19767 $(STAGE1_FLAGS_TO_PASS) clean
19768 @endif libbacktrace-bootstrap
19771 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19772 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19773 maybe-all-stage2-libbacktrace:
19774 maybe-clean-stage2-libbacktrace:
19775 @if libbacktrace-bootstrap
19776 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19777 all-stage2: all-stage2-libbacktrace
19778 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19779 all-stage2-libbacktrace: configure-stage2-libbacktrace
19780 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19781 @r=`${PWD_COMMAND}`; export r; \
19782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19783 TFLAGS="$(STAGE2_TFLAGS)"; \
19785 $(POSTSTAGE1_HOST_EXPORTS) \
19786 cd $(HOST_SUBDIR)/libbacktrace && \
19787 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19788 CFLAGS="$(STAGE2_CFLAGS)" \
19789 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19790 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19791 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19792 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19793 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19794 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19795 TFLAGS="$(STAGE2_TFLAGS)" \
19796 $(TARGET-stage2-libbacktrace)
19798 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19799 clean-stage2: clean-stage2-libbacktrace
19800 clean-stage2-libbacktrace:
19801 @if [ $(current_stage) = stage2 ]; then \
19802 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19804 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19805 $(MAKE) stage2-start; \
19807 cd $(HOST_SUBDIR)/libbacktrace && \
19808 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19809 @endif libbacktrace-bootstrap
19812 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19813 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19814 maybe-all-stage3-libbacktrace:
19815 maybe-clean-stage3-libbacktrace:
19816 @if libbacktrace-bootstrap
19817 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19818 all-stage3: all-stage3-libbacktrace
19819 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19820 all-stage3-libbacktrace: configure-stage3-libbacktrace
19821 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19822 @r=`${PWD_COMMAND}`; export r; \
19823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19824 TFLAGS="$(STAGE3_TFLAGS)"; \
19826 $(POSTSTAGE1_HOST_EXPORTS) \
19827 cd $(HOST_SUBDIR)/libbacktrace && \
19828 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19829 CFLAGS="$(STAGE3_CFLAGS)" \
19830 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19831 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19832 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19833 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19834 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19835 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19836 TFLAGS="$(STAGE3_TFLAGS)" \
19837 $(TARGET-stage3-libbacktrace)
19839 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19840 clean-stage3: clean-stage3-libbacktrace
19841 clean-stage3-libbacktrace:
19842 @if [ $(current_stage) = stage3 ]; then \
19843 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19845 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19846 $(MAKE) stage3-start; \
19848 cd $(HOST_SUBDIR)/libbacktrace && \
19849 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19850 @endif libbacktrace-bootstrap
19853 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19854 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19855 maybe-all-stage4-libbacktrace:
19856 maybe-clean-stage4-libbacktrace:
19857 @if libbacktrace-bootstrap
19858 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19859 all-stage4: all-stage4-libbacktrace
19860 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19861 all-stage4-libbacktrace: configure-stage4-libbacktrace
19862 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19863 @r=`${PWD_COMMAND}`; export r; \
19864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19865 TFLAGS="$(STAGE4_TFLAGS)"; \
19867 $(POSTSTAGE1_HOST_EXPORTS) \
19868 cd $(HOST_SUBDIR)/libbacktrace && \
19869 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19870 CFLAGS="$(STAGE4_CFLAGS)" \
19871 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19872 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19873 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19874 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19875 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19876 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19877 TFLAGS="$(STAGE4_TFLAGS)" \
19878 $(TARGET-stage4-libbacktrace)
19880 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19881 clean-stage4: clean-stage4-libbacktrace
19882 clean-stage4-libbacktrace:
19883 @if [ $(current_stage) = stage4 ]; then \
19884 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19886 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19887 $(MAKE) stage4-start; \
19889 cd $(HOST_SUBDIR)/libbacktrace && \
19890 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19891 @endif libbacktrace-bootstrap
19894 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19895 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19896 maybe-all-stageprofile-libbacktrace:
19897 maybe-clean-stageprofile-libbacktrace:
19898 @if libbacktrace-bootstrap
19899 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19900 all-stageprofile: all-stageprofile-libbacktrace
19901 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19902 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19903 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19904 @r=`${PWD_COMMAND}`; export r; \
19905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19906 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19908 $(POSTSTAGE1_HOST_EXPORTS) \
19909 cd $(HOST_SUBDIR)/libbacktrace && \
19910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19911 CFLAGS="$(STAGEprofile_CFLAGS)" \
19912 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19913 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19917 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19918 TFLAGS="$(STAGEprofile_TFLAGS)" \
19919 $(TARGET-stageprofile-libbacktrace)
19921 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19922 clean-stageprofile: clean-stageprofile-libbacktrace
19923 clean-stageprofile-libbacktrace:
19924 @if [ $(current_stage) = stageprofile ]; then \
19925 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19927 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19928 $(MAKE) stageprofile-start; \
19930 cd $(HOST_SUBDIR)/libbacktrace && \
19931 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19932 @endif libbacktrace-bootstrap
19935 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19936 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19937 maybe-all-stagefeedback-libbacktrace:
19938 maybe-clean-stagefeedback-libbacktrace:
19939 @if libbacktrace-bootstrap
19940 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19941 all-stagefeedback: all-stagefeedback-libbacktrace
19942 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19943 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19944 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19945 @r=`${PWD_COMMAND}`; export r; \
19946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19947 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19949 $(POSTSTAGE1_HOST_EXPORTS) \
19950 cd $(HOST_SUBDIR)/libbacktrace && \
19951 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19952 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19953 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19954 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19955 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19956 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19957 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19958 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19959 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19960 $(TARGET-stagefeedback-libbacktrace)
19962 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19963 clean-stagefeedback: clean-stagefeedback-libbacktrace
19964 clean-stagefeedback-libbacktrace:
19965 @if [ $(current_stage) = stagefeedback ]; then \
19966 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19968 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19969 $(MAKE) stagefeedback-start; \
19971 cd $(HOST_SUBDIR)/libbacktrace && \
19972 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19973 @endif libbacktrace-bootstrap
19979 .PHONY: check-libbacktrace maybe-check-libbacktrace
19980 maybe-check-libbacktrace:
19982 maybe-check-libbacktrace: check-libbacktrace
19984 check-libbacktrace:
19985 @: $(MAKE); $(unstage)
19986 @r=`${PWD_COMMAND}`; export r; \
19987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19989 (cd $(HOST_SUBDIR)/libbacktrace && \
19990 $(MAKE) $(FLAGS_TO_PASS) check)
19992 @endif libbacktrace
19994 .PHONY: install-libbacktrace maybe-install-libbacktrace
19995 maybe-install-libbacktrace:
19997 maybe-install-libbacktrace: install-libbacktrace
19999 install-libbacktrace: installdirs
20000 @: $(MAKE); $(unstage)
20001 @r=`${PWD_COMMAND}`; export r; \
20002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20004 (cd $(HOST_SUBDIR)/libbacktrace && \
20005 $(MAKE) $(FLAGS_TO_PASS) install)
20007 @endif libbacktrace
20009 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20010 maybe-install-strip-libbacktrace:
20012 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20014 install-strip-libbacktrace: installdirs
20015 @: $(MAKE); $(unstage)
20016 @r=`${PWD_COMMAND}`; export r; \
20017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20019 (cd $(HOST_SUBDIR)/libbacktrace && \
20020 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20022 @endif libbacktrace
20024 # Other targets (info, dvi, pdf, etc.)
20026 .PHONY: maybe-info-libbacktrace info-libbacktrace
20027 maybe-info-libbacktrace:
20029 maybe-info-libbacktrace: info-libbacktrace
20031 info-libbacktrace: \
20032 configure-libbacktrace
20033 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20034 r=`${PWD_COMMAND}`; export r; \
20035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20037 for flag in $(EXTRA_HOST_FLAGS) ; do \
20038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20040 echo "Doing info in libbacktrace" ; \
20041 (cd $(HOST_SUBDIR)/libbacktrace && \
20042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20044 "RANLIB=$${RANLIB}" \
20045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20049 @endif libbacktrace
20051 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20052 maybe-dvi-libbacktrace:
20054 maybe-dvi-libbacktrace: dvi-libbacktrace
20056 dvi-libbacktrace: \
20057 configure-libbacktrace
20058 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20059 r=`${PWD_COMMAND}`; export r; \
20060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20062 for flag in $(EXTRA_HOST_FLAGS) ; do \
20063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20065 echo "Doing dvi in libbacktrace" ; \
20066 (cd $(HOST_SUBDIR)/libbacktrace && \
20067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20069 "RANLIB=$${RANLIB}" \
20070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20074 @endif libbacktrace
20076 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20077 maybe-pdf-libbacktrace:
20079 maybe-pdf-libbacktrace: pdf-libbacktrace
20081 pdf-libbacktrace: \
20082 configure-libbacktrace
20083 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20084 r=`${PWD_COMMAND}`; export r; \
20085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20087 for flag in $(EXTRA_HOST_FLAGS) ; do \
20088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20090 echo "Doing pdf in libbacktrace" ; \
20091 (cd $(HOST_SUBDIR)/libbacktrace && \
20092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20094 "RANLIB=$${RANLIB}" \
20095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20099 @endif libbacktrace
20101 .PHONY: maybe-html-libbacktrace html-libbacktrace
20102 maybe-html-libbacktrace:
20104 maybe-html-libbacktrace: html-libbacktrace
20106 html-libbacktrace: \
20107 configure-libbacktrace
20108 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20109 r=`${PWD_COMMAND}`; export r; \
20110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20112 for flag in $(EXTRA_HOST_FLAGS) ; do \
20113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20115 echo "Doing html in libbacktrace" ; \
20116 (cd $(HOST_SUBDIR)/libbacktrace && \
20117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20119 "RANLIB=$${RANLIB}" \
20120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20124 @endif libbacktrace
20126 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20127 maybe-TAGS-libbacktrace:
20129 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20131 TAGS-libbacktrace: \
20132 configure-libbacktrace
20133 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20134 r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20137 for flag in $(EXTRA_HOST_FLAGS) ; do \
20138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20140 echo "Doing TAGS in libbacktrace" ; \
20141 (cd $(HOST_SUBDIR)/libbacktrace && \
20142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20144 "RANLIB=$${RANLIB}" \
20145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20149 @endif libbacktrace
20151 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20152 maybe-install-info-libbacktrace:
20154 maybe-install-info-libbacktrace: install-info-libbacktrace
20156 install-info-libbacktrace: \
20157 configure-libbacktrace \
20159 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20160 r=`${PWD_COMMAND}`; export r; \
20161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20163 for flag in $(EXTRA_HOST_FLAGS) ; do \
20164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20166 echo "Doing install-info in libbacktrace" ; \
20167 (cd $(HOST_SUBDIR)/libbacktrace && \
20168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20170 "RANLIB=$${RANLIB}" \
20171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20175 @endif libbacktrace
20177 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20178 maybe-install-pdf-libbacktrace:
20180 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20182 install-pdf-libbacktrace: \
20183 configure-libbacktrace \
20185 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20186 r=`${PWD_COMMAND}`; export r; \
20187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20189 for flag in $(EXTRA_HOST_FLAGS) ; do \
20190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20192 echo "Doing install-pdf in libbacktrace" ; \
20193 (cd $(HOST_SUBDIR)/libbacktrace && \
20194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20196 "RANLIB=$${RANLIB}" \
20197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20201 @endif libbacktrace
20203 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20204 maybe-install-html-libbacktrace:
20206 maybe-install-html-libbacktrace: install-html-libbacktrace
20208 install-html-libbacktrace: \
20209 configure-libbacktrace \
20211 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20212 r=`${PWD_COMMAND}`; export r; \
20213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20215 for flag in $(EXTRA_HOST_FLAGS) ; do \
20216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20218 echo "Doing install-html in libbacktrace" ; \
20219 (cd $(HOST_SUBDIR)/libbacktrace && \
20220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20222 "RANLIB=$${RANLIB}" \
20223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20227 @endif libbacktrace
20229 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20230 maybe-installcheck-libbacktrace:
20232 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20234 installcheck-libbacktrace: \
20235 configure-libbacktrace
20236 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20237 r=`${PWD_COMMAND}`; export r; \
20238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20240 for flag in $(EXTRA_HOST_FLAGS) ; do \
20241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20243 echo "Doing installcheck in libbacktrace" ; \
20244 (cd $(HOST_SUBDIR)/libbacktrace && \
20245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20247 "RANLIB=$${RANLIB}" \
20248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20252 @endif libbacktrace
20254 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20255 maybe-mostlyclean-libbacktrace:
20257 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20259 mostlyclean-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 mostlyclean 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-clean-libbacktrace clean-libbacktrace
20279 maybe-clean-libbacktrace:
20281 maybe-clean-libbacktrace: clean-libbacktrace
20283 clean-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 clean 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-distclean-libbacktrace distclean-libbacktrace
20303 maybe-distclean-libbacktrace:
20305 maybe-distclean-libbacktrace: distclean-libbacktrace
20307 distclean-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 distclean 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-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20327 maybe-maintainer-clean-libbacktrace:
20329 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20331 maintainer-clean-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 maintainer-clean 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}" \
20345 maintainer-clean) \
20348 @endif libbacktrace
20352 .PHONY: configure-libcpp maybe-configure-libcpp
20353 maybe-configure-libcpp:
20355 configure-libcpp: stage_current
20356 @endif gcc-bootstrap
20358 maybe-configure-libcpp: configure-libcpp
20360 @r=`${PWD_COMMAND}`; export r; \
20361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20362 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20365 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20366 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20367 case $(srcdir) in \
20368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20369 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20372 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20373 libsrcdir="$$s/libcpp"; \
20374 $(SHELL) $${libsrcdir}/configure \
20375 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20376 --target=${target_alias} $${srcdiroption} \
20382 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20383 maybe-configure-stage1-libcpp:
20384 @if libcpp-bootstrap
20385 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20386 configure-stage1-libcpp:
20387 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20388 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20389 @r=`${PWD_COMMAND}`; export r; \
20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20391 TFLAGS="$(STAGE1_TFLAGS)"; \
20392 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20394 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20395 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20396 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20397 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20399 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20400 case $(srcdir) in \
20401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20402 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20405 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20406 libsrcdir="$$s/libcpp"; \
20407 $(SHELL) $${libsrcdir}/configure \
20408 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20409 --target=${target_alias} $${srcdiroption} \
20410 $(STAGE1_CONFIGURE_FLAGS)
20411 @endif libcpp-bootstrap
20413 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20414 maybe-configure-stage2-libcpp:
20415 @if libcpp-bootstrap
20416 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20417 configure-stage2-libcpp:
20418 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20419 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20420 @r=`${PWD_COMMAND}`; export r; \
20421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20422 TFLAGS="$(STAGE2_TFLAGS)"; \
20423 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20425 $(POSTSTAGE1_HOST_EXPORTS) \
20426 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20427 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20428 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20429 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20431 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20432 case $(srcdir) in \
20433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20434 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20437 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20438 libsrcdir="$$s/libcpp"; \
20439 $(SHELL) $${libsrcdir}/configure \
20440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20441 --target=${target_alias} $${srcdiroption} \
20442 --with-build-libsubdir=$(HOST_SUBDIR) \
20443 $(STAGE2_CONFIGURE_FLAGS)
20444 @endif libcpp-bootstrap
20446 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20447 maybe-configure-stage3-libcpp:
20448 @if libcpp-bootstrap
20449 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20450 configure-stage3-libcpp:
20451 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20452 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20453 @r=`${PWD_COMMAND}`; export r; \
20454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20455 TFLAGS="$(STAGE3_TFLAGS)"; \
20456 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20458 $(POSTSTAGE1_HOST_EXPORTS) \
20459 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20460 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20461 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20462 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20464 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20465 case $(srcdir) in \
20466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20467 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20470 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20471 libsrcdir="$$s/libcpp"; \
20472 $(SHELL) $${libsrcdir}/configure \
20473 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20474 --target=${target_alias} $${srcdiroption} \
20475 --with-build-libsubdir=$(HOST_SUBDIR) \
20476 $(STAGE3_CONFIGURE_FLAGS)
20477 @endif libcpp-bootstrap
20479 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20480 maybe-configure-stage4-libcpp:
20481 @if libcpp-bootstrap
20482 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20483 configure-stage4-libcpp:
20484 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20486 @r=`${PWD_COMMAND}`; export r; \
20487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20488 TFLAGS="$(STAGE4_TFLAGS)"; \
20489 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20491 $(POSTSTAGE1_HOST_EXPORTS) \
20492 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20493 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20494 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20495 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20497 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20498 case $(srcdir) in \
20499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20500 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20503 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20504 libsrcdir="$$s/libcpp"; \
20505 $(SHELL) $${libsrcdir}/configure \
20506 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20507 --target=${target_alias} $${srcdiroption} \
20508 --with-build-libsubdir=$(HOST_SUBDIR) \
20509 $(STAGE4_CONFIGURE_FLAGS)
20510 @endif libcpp-bootstrap
20512 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20513 maybe-configure-stageprofile-libcpp:
20514 @if libcpp-bootstrap
20515 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20516 configure-stageprofile-libcpp:
20517 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20518 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20519 @r=`${PWD_COMMAND}`; export r; \
20520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20521 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20522 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20524 $(POSTSTAGE1_HOST_EXPORTS) \
20525 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20526 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20527 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20528 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20530 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20531 case $(srcdir) in \
20532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20533 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20536 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20537 libsrcdir="$$s/libcpp"; \
20538 $(SHELL) $${libsrcdir}/configure \
20539 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20540 --target=${target_alias} $${srcdiroption} \
20541 --with-build-libsubdir=$(HOST_SUBDIR) \
20542 $(STAGEprofile_CONFIGURE_FLAGS)
20543 @endif libcpp-bootstrap
20545 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20546 maybe-configure-stagefeedback-libcpp:
20547 @if libcpp-bootstrap
20548 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20549 configure-stagefeedback-libcpp:
20550 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20551 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20552 @r=`${PWD_COMMAND}`; export r; \
20553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20554 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20555 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20557 $(POSTSTAGE1_HOST_EXPORTS) \
20558 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20559 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20560 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20561 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20563 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20564 case $(srcdir) in \
20565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20566 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20569 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20570 libsrcdir="$$s/libcpp"; \
20571 $(SHELL) $${libsrcdir}/configure \
20572 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20573 --target=${target_alias} $${srcdiroption} \
20574 --with-build-libsubdir=$(HOST_SUBDIR) \
20575 $(STAGEfeedback_CONFIGURE_FLAGS)
20576 @endif libcpp-bootstrap
20582 .PHONY: all-libcpp maybe-all-libcpp
20585 all-libcpp: stage_current
20586 @endif gcc-bootstrap
20589 maybe-all-libcpp: all-libcpp
20590 all-libcpp: configure-libcpp
20591 @r=`${PWD_COMMAND}`; export r; \
20592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20594 (cd $(HOST_SUBDIR)/libcpp && \
20595 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20601 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20602 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20603 maybe-all-stage1-libcpp:
20604 maybe-clean-stage1-libcpp:
20605 @if libcpp-bootstrap
20606 maybe-all-stage1-libcpp: all-stage1-libcpp
20607 all-stage1: all-stage1-libcpp
20608 TARGET-stage1-libcpp = $(TARGET-libcpp)
20609 all-stage1-libcpp: configure-stage1-libcpp
20610 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20611 @r=`${PWD_COMMAND}`; export r; \
20612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20613 TFLAGS="$(STAGE1_TFLAGS)"; \
20615 cd $(HOST_SUBDIR)/libcpp && \
20616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20617 CFLAGS="$(STAGE1_CFLAGS)" \
20618 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20619 LIBCFLAGS="$(LIBCFLAGS)" \
20620 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20621 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20622 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20623 $(EXTRA_HOST_FLAGS) \
20624 $(STAGE1_FLAGS_TO_PASS) \
20625 TFLAGS="$(STAGE1_TFLAGS)" \
20626 $(TARGET-stage1-libcpp)
20628 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20629 clean-stage1: clean-stage1-libcpp
20630 clean-stage1-libcpp:
20631 @if [ $(current_stage) = stage1 ]; then \
20632 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20634 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20635 $(MAKE) stage1-start; \
20637 cd $(HOST_SUBDIR)/libcpp && \
20638 $(MAKE) $(EXTRA_HOST_FLAGS) \
20639 $(STAGE1_FLAGS_TO_PASS) clean
20640 @endif libcpp-bootstrap
20643 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20644 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20645 maybe-all-stage2-libcpp:
20646 maybe-clean-stage2-libcpp:
20647 @if libcpp-bootstrap
20648 maybe-all-stage2-libcpp: all-stage2-libcpp
20649 all-stage2: all-stage2-libcpp
20650 TARGET-stage2-libcpp = $(TARGET-libcpp)
20651 all-stage2-libcpp: configure-stage2-libcpp
20652 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20653 @r=`${PWD_COMMAND}`; export r; \
20654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20655 TFLAGS="$(STAGE2_TFLAGS)"; \
20657 $(POSTSTAGE1_HOST_EXPORTS) \
20658 cd $(HOST_SUBDIR)/libcpp && \
20659 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20660 CFLAGS="$(STAGE2_CFLAGS)" \
20661 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20662 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20663 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20664 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20665 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20666 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20667 TFLAGS="$(STAGE2_TFLAGS)" \
20668 $(TARGET-stage2-libcpp)
20670 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20671 clean-stage2: clean-stage2-libcpp
20672 clean-stage2-libcpp:
20673 @if [ $(current_stage) = stage2 ]; then \
20674 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20676 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20677 $(MAKE) stage2-start; \
20679 cd $(HOST_SUBDIR)/libcpp && \
20680 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20681 @endif libcpp-bootstrap
20684 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20685 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20686 maybe-all-stage3-libcpp:
20687 maybe-clean-stage3-libcpp:
20688 @if libcpp-bootstrap
20689 maybe-all-stage3-libcpp: all-stage3-libcpp
20690 all-stage3: all-stage3-libcpp
20691 TARGET-stage3-libcpp = $(TARGET-libcpp)
20692 all-stage3-libcpp: configure-stage3-libcpp
20693 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20694 @r=`${PWD_COMMAND}`; export r; \
20695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20696 TFLAGS="$(STAGE3_TFLAGS)"; \
20698 $(POSTSTAGE1_HOST_EXPORTS) \
20699 cd $(HOST_SUBDIR)/libcpp && \
20700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20701 CFLAGS="$(STAGE3_CFLAGS)" \
20702 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20703 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20704 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20705 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20706 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20707 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20708 TFLAGS="$(STAGE3_TFLAGS)" \
20709 $(TARGET-stage3-libcpp)
20711 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20712 clean-stage3: clean-stage3-libcpp
20713 clean-stage3-libcpp:
20714 @if [ $(current_stage) = stage3 ]; then \
20715 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20717 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20718 $(MAKE) stage3-start; \
20720 cd $(HOST_SUBDIR)/libcpp && \
20721 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20722 @endif libcpp-bootstrap
20725 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20726 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20727 maybe-all-stage4-libcpp:
20728 maybe-clean-stage4-libcpp:
20729 @if libcpp-bootstrap
20730 maybe-all-stage4-libcpp: all-stage4-libcpp
20731 all-stage4: all-stage4-libcpp
20732 TARGET-stage4-libcpp = $(TARGET-libcpp)
20733 all-stage4-libcpp: configure-stage4-libcpp
20734 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20735 @r=`${PWD_COMMAND}`; export r; \
20736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20737 TFLAGS="$(STAGE4_TFLAGS)"; \
20739 $(POSTSTAGE1_HOST_EXPORTS) \
20740 cd $(HOST_SUBDIR)/libcpp && \
20741 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20742 CFLAGS="$(STAGE4_CFLAGS)" \
20743 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20744 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20745 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20746 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20747 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20748 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20749 TFLAGS="$(STAGE4_TFLAGS)" \
20750 $(TARGET-stage4-libcpp)
20752 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20753 clean-stage4: clean-stage4-libcpp
20754 clean-stage4-libcpp:
20755 @if [ $(current_stage) = stage4 ]; then \
20756 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20758 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20759 $(MAKE) stage4-start; \
20761 cd $(HOST_SUBDIR)/libcpp && \
20762 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20763 @endif libcpp-bootstrap
20766 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20767 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20768 maybe-all-stageprofile-libcpp:
20769 maybe-clean-stageprofile-libcpp:
20770 @if libcpp-bootstrap
20771 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20772 all-stageprofile: all-stageprofile-libcpp
20773 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20774 all-stageprofile-libcpp: configure-stageprofile-libcpp
20775 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20776 @r=`${PWD_COMMAND}`; export r; \
20777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20778 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20780 $(POSTSTAGE1_HOST_EXPORTS) \
20781 cd $(HOST_SUBDIR)/libcpp && \
20782 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20783 CFLAGS="$(STAGEprofile_CFLAGS)" \
20784 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20785 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20786 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20787 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20788 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20789 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20790 TFLAGS="$(STAGEprofile_TFLAGS)" \
20791 $(TARGET-stageprofile-libcpp)
20793 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20794 clean-stageprofile: clean-stageprofile-libcpp
20795 clean-stageprofile-libcpp:
20796 @if [ $(current_stage) = stageprofile ]; then \
20797 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20799 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20800 $(MAKE) stageprofile-start; \
20802 cd $(HOST_SUBDIR)/libcpp && \
20803 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20804 @endif libcpp-bootstrap
20807 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20808 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20809 maybe-all-stagefeedback-libcpp:
20810 maybe-clean-stagefeedback-libcpp:
20811 @if libcpp-bootstrap
20812 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20813 all-stagefeedback: all-stagefeedback-libcpp
20814 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20815 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20816 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20817 @r=`${PWD_COMMAND}`; export r; \
20818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20819 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20821 $(POSTSTAGE1_HOST_EXPORTS) \
20822 cd $(HOST_SUBDIR)/libcpp && \
20823 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20824 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20825 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20826 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20827 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20828 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20829 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20830 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20831 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20832 $(TARGET-stagefeedback-libcpp)
20834 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20835 clean-stagefeedback: clean-stagefeedback-libcpp
20836 clean-stagefeedback-libcpp:
20837 @if [ $(current_stage) = stagefeedback ]; then \
20838 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20840 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20841 $(MAKE) stagefeedback-start; \
20843 cd $(HOST_SUBDIR)/libcpp && \
20844 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20845 @endif libcpp-bootstrap
20851 .PHONY: check-libcpp maybe-check-libcpp
20852 maybe-check-libcpp:
20854 maybe-check-libcpp: check-libcpp
20857 @: $(MAKE); $(unstage)
20858 @r=`${PWD_COMMAND}`; export r; \
20859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20861 (cd $(HOST_SUBDIR)/libcpp && \
20862 $(MAKE) $(FLAGS_TO_PASS) check)
20866 .PHONY: install-libcpp maybe-install-libcpp
20867 maybe-install-libcpp:
20869 maybe-install-libcpp: install-libcpp
20871 install-libcpp: installdirs
20872 @: $(MAKE); $(unstage)
20873 @r=`${PWD_COMMAND}`; export r; \
20874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20876 (cd $(HOST_SUBDIR)/libcpp && \
20877 $(MAKE) $(FLAGS_TO_PASS) install)
20881 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20882 maybe-install-strip-libcpp:
20884 maybe-install-strip-libcpp: install-strip-libcpp
20886 install-strip-libcpp: installdirs
20887 @: $(MAKE); $(unstage)
20888 @r=`${PWD_COMMAND}`; export r; \
20889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20891 (cd $(HOST_SUBDIR)/libcpp && \
20892 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20896 # Other targets (info, dvi, pdf, etc.)
20898 .PHONY: maybe-info-libcpp info-libcpp
20901 maybe-info-libcpp: info-libcpp
20905 @[ -f ./libcpp/Makefile ] || exit 0; \
20906 r=`${PWD_COMMAND}`; export r; \
20907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20909 for flag in $(EXTRA_HOST_FLAGS) ; do \
20910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20912 echo "Doing info in libcpp" ; \
20913 (cd $(HOST_SUBDIR)/libcpp && \
20914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20916 "RANLIB=$${RANLIB}" \
20917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20923 .PHONY: maybe-dvi-libcpp dvi-libcpp
20926 maybe-dvi-libcpp: dvi-libcpp
20930 @[ -f ./libcpp/Makefile ] || exit 0; \
20931 r=`${PWD_COMMAND}`; export r; \
20932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20934 for flag in $(EXTRA_HOST_FLAGS) ; do \
20935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20937 echo "Doing dvi in libcpp" ; \
20938 (cd $(HOST_SUBDIR)/libcpp && \
20939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20941 "RANLIB=$${RANLIB}" \
20942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20948 .PHONY: maybe-pdf-libcpp pdf-libcpp
20951 maybe-pdf-libcpp: pdf-libcpp
20955 @[ -f ./libcpp/Makefile ] || exit 0; \
20956 r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20959 for flag in $(EXTRA_HOST_FLAGS) ; do \
20960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20962 echo "Doing pdf in libcpp" ; \
20963 (cd $(HOST_SUBDIR)/libcpp && \
20964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20966 "RANLIB=$${RANLIB}" \
20967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20973 .PHONY: maybe-html-libcpp html-libcpp
20976 maybe-html-libcpp: html-libcpp
20980 @[ -f ./libcpp/Makefile ] || exit 0; \
20981 r=`${PWD_COMMAND}`; export r; \
20982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20984 for flag in $(EXTRA_HOST_FLAGS) ; do \
20985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20987 echo "Doing html in libcpp" ; \
20988 (cd $(HOST_SUBDIR)/libcpp && \
20989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20991 "RANLIB=$${RANLIB}" \
20992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20998 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21001 maybe-TAGS-libcpp: TAGS-libcpp
21005 @[ -f ./libcpp/Makefile ] || exit 0; \
21006 r=`${PWD_COMMAND}`; export r; \
21007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21009 for flag in $(EXTRA_HOST_FLAGS) ; do \
21010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21012 echo "Doing TAGS in libcpp" ; \
21013 (cd $(HOST_SUBDIR)/libcpp && \
21014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21016 "RANLIB=$${RANLIB}" \
21017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21023 .PHONY: maybe-install-info-libcpp install-info-libcpp
21024 maybe-install-info-libcpp:
21026 maybe-install-info-libcpp: install-info-libcpp
21028 install-info-libcpp: \
21031 @[ -f ./libcpp/Makefile ] || exit 0; \
21032 r=`${PWD_COMMAND}`; export r; \
21033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21035 for flag in $(EXTRA_HOST_FLAGS) ; do \
21036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21038 echo "Doing install-info in libcpp" ; \
21039 (cd $(HOST_SUBDIR)/libcpp && \
21040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21042 "RANLIB=$${RANLIB}" \
21043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21049 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21050 maybe-install-pdf-libcpp:
21052 maybe-install-pdf-libcpp: install-pdf-libcpp
21054 install-pdf-libcpp: \
21057 @[ -f ./libcpp/Makefile ] || exit 0; \
21058 r=`${PWD_COMMAND}`; export r; \
21059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21061 for flag in $(EXTRA_HOST_FLAGS) ; do \
21062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21064 echo "Doing install-pdf in libcpp" ; \
21065 (cd $(HOST_SUBDIR)/libcpp && \
21066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21068 "RANLIB=$${RANLIB}" \
21069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21075 .PHONY: maybe-install-html-libcpp install-html-libcpp
21076 maybe-install-html-libcpp:
21078 maybe-install-html-libcpp: install-html-libcpp
21080 install-html-libcpp: \
21083 @[ -f ./libcpp/Makefile ] || exit 0; \
21084 r=`${PWD_COMMAND}`; export r; \
21085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21087 for flag in $(EXTRA_HOST_FLAGS) ; do \
21088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21090 echo "Doing install-html in libcpp" ; \
21091 (cd $(HOST_SUBDIR)/libcpp && \
21092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21094 "RANLIB=$${RANLIB}" \
21095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21101 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21102 maybe-installcheck-libcpp:
21104 maybe-installcheck-libcpp: installcheck-libcpp
21106 installcheck-libcpp: \
21108 @[ -f ./libcpp/Makefile ] || exit 0; \
21109 r=`${PWD_COMMAND}`; export r; \
21110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21112 for flag in $(EXTRA_HOST_FLAGS) ; do \
21113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21115 echo "Doing installcheck in libcpp" ; \
21116 (cd $(HOST_SUBDIR)/libcpp && \
21117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21119 "RANLIB=$${RANLIB}" \
21120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21126 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21127 maybe-mostlyclean-libcpp:
21129 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21131 mostlyclean-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 mostlyclean 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-clean-libcpp clean-libcpp
21151 maybe-clean-libcpp:
21153 maybe-clean-libcpp: clean-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 clean 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-distclean-libcpp distclean-libcpp
21175 maybe-distclean-libcpp:
21177 maybe-distclean-libcpp: distclean-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 distclean 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-maintainer-clean-libcpp maintainer-clean-libcpp
21199 maybe-maintainer-clean-libcpp:
21201 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21203 maintainer-clean-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 maintainer-clean 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}" \
21217 maintainer-clean) \
21224 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21225 maybe-configure-libdecnumber:
21227 configure-libdecnumber: stage_current
21228 @endif gcc-bootstrap
21230 maybe-configure-libdecnumber: configure-libdecnumber
21231 configure-libdecnumber:
21232 @r=`${PWD_COMMAND}`; export r; \
21233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21234 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21237 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21238 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21239 case $(srcdir) in \
21240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21241 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21244 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21245 libsrcdir="$$s/libdecnumber"; \
21246 $(SHELL) $${libsrcdir}/configure \
21247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21248 --target=${target_alias} $${srcdiroption} \
21250 @endif libdecnumber
21254 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21255 maybe-configure-stage1-libdecnumber:
21256 @if libdecnumber-bootstrap
21257 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21258 configure-stage1-libdecnumber:
21259 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21260 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21261 @r=`${PWD_COMMAND}`; export r; \
21262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21263 TFLAGS="$(STAGE1_TFLAGS)"; \
21264 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21266 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21267 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21268 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21269 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21271 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21272 case $(srcdir) in \
21273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21274 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21277 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21278 libsrcdir="$$s/libdecnumber"; \
21279 $(SHELL) $${libsrcdir}/configure \
21280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21281 --target=${target_alias} $${srcdiroption} \
21282 $(STAGE1_CONFIGURE_FLAGS)
21283 @endif libdecnumber-bootstrap
21285 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21286 maybe-configure-stage2-libdecnumber:
21287 @if libdecnumber-bootstrap
21288 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21289 configure-stage2-libdecnumber:
21290 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21291 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21292 @r=`${PWD_COMMAND}`; export r; \
21293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21294 TFLAGS="$(STAGE2_TFLAGS)"; \
21295 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21297 $(POSTSTAGE1_HOST_EXPORTS) \
21298 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21299 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21300 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21301 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21303 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21304 case $(srcdir) in \
21305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21306 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21309 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21310 libsrcdir="$$s/libdecnumber"; \
21311 $(SHELL) $${libsrcdir}/configure \
21312 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21313 --target=${target_alias} $${srcdiroption} \
21314 --with-build-libsubdir=$(HOST_SUBDIR) \
21315 $(STAGE2_CONFIGURE_FLAGS)
21316 @endif libdecnumber-bootstrap
21318 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21319 maybe-configure-stage3-libdecnumber:
21320 @if libdecnumber-bootstrap
21321 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21322 configure-stage3-libdecnumber:
21323 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21324 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21325 @r=`${PWD_COMMAND}`; export r; \
21326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21327 TFLAGS="$(STAGE3_TFLAGS)"; \
21328 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21330 $(POSTSTAGE1_HOST_EXPORTS) \
21331 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21332 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21333 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21334 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21336 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21337 case $(srcdir) in \
21338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21339 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21342 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21343 libsrcdir="$$s/libdecnumber"; \
21344 $(SHELL) $${libsrcdir}/configure \
21345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21346 --target=${target_alias} $${srcdiroption} \
21347 --with-build-libsubdir=$(HOST_SUBDIR) \
21348 $(STAGE3_CONFIGURE_FLAGS)
21349 @endif libdecnumber-bootstrap
21351 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21352 maybe-configure-stage4-libdecnumber:
21353 @if libdecnumber-bootstrap
21354 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21355 configure-stage4-libdecnumber:
21356 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21357 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21358 @r=`${PWD_COMMAND}`; export r; \
21359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21360 TFLAGS="$(STAGE4_TFLAGS)"; \
21361 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21363 $(POSTSTAGE1_HOST_EXPORTS) \
21364 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21365 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21366 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21367 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21369 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21370 case $(srcdir) in \
21371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21372 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21375 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21376 libsrcdir="$$s/libdecnumber"; \
21377 $(SHELL) $${libsrcdir}/configure \
21378 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21379 --target=${target_alias} $${srcdiroption} \
21380 --with-build-libsubdir=$(HOST_SUBDIR) \
21381 $(STAGE4_CONFIGURE_FLAGS)
21382 @endif libdecnumber-bootstrap
21384 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21385 maybe-configure-stageprofile-libdecnumber:
21386 @if libdecnumber-bootstrap
21387 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21388 configure-stageprofile-libdecnumber:
21389 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21390 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21391 @r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21393 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21394 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21396 $(POSTSTAGE1_HOST_EXPORTS) \
21397 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21398 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21399 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21400 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21402 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21403 case $(srcdir) in \
21404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21405 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21408 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21409 libsrcdir="$$s/libdecnumber"; \
21410 $(SHELL) $${libsrcdir}/configure \
21411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21412 --target=${target_alias} $${srcdiroption} \
21413 --with-build-libsubdir=$(HOST_SUBDIR) \
21414 $(STAGEprofile_CONFIGURE_FLAGS)
21415 @endif libdecnumber-bootstrap
21417 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21418 maybe-configure-stagefeedback-libdecnumber:
21419 @if libdecnumber-bootstrap
21420 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21421 configure-stagefeedback-libdecnumber:
21422 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21424 @r=`${PWD_COMMAND}`; export r; \
21425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21426 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21427 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21429 $(POSTSTAGE1_HOST_EXPORTS) \
21430 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21431 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21432 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21433 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21435 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21436 case $(srcdir) in \
21437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21438 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21441 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21442 libsrcdir="$$s/libdecnumber"; \
21443 $(SHELL) $${libsrcdir}/configure \
21444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21445 --target=${target_alias} $${srcdiroption} \
21446 --with-build-libsubdir=$(HOST_SUBDIR) \
21447 $(STAGEfeedback_CONFIGURE_FLAGS)
21448 @endif libdecnumber-bootstrap
21454 .PHONY: all-libdecnumber maybe-all-libdecnumber
21455 maybe-all-libdecnumber:
21457 all-libdecnumber: stage_current
21458 @endif gcc-bootstrap
21460 TARGET-libdecnumber=all
21461 maybe-all-libdecnumber: all-libdecnumber
21462 all-libdecnumber: configure-libdecnumber
21463 @r=`${PWD_COMMAND}`; export r; \
21464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21466 (cd $(HOST_SUBDIR)/libdecnumber && \
21467 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21468 $(TARGET-libdecnumber))
21469 @endif libdecnumber
21473 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21474 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21475 maybe-all-stage1-libdecnumber:
21476 maybe-clean-stage1-libdecnumber:
21477 @if libdecnumber-bootstrap
21478 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21479 all-stage1: all-stage1-libdecnumber
21480 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21481 all-stage1-libdecnumber: configure-stage1-libdecnumber
21482 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21483 @r=`${PWD_COMMAND}`; export r; \
21484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21485 TFLAGS="$(STAGE1_TFLAGS)"; \
21487 cd $(HOST_SUBDIR)/libdecnumber && \
21488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21489 CFLAGS="$(STAGE1_CFLAGS)" \
21490 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21491 LIBCFLAGS="$(LIBCFLAGS)" \
21492 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21495 $(EXTRA_HOST_FLAGS) \
21496 $(STAGE1_FLAGS_TO_PASS) \
21497 TFLAGS="$(STAGE1_TFLAGS)" \
21498 $(TARGET-stage1-libdecnumber)
21500 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21501 clean-stage1: clean-stage1-libdecnumber
21502 clean-stage1-libdecnumber:
21503 @if [ $(current_stage) = stage1 ]; then \
21504 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21506 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21507 $(MAKE) stage1-start; \
21509 cd $(HOST_SUBDIR)/libdecnumber && \
21510 $(MAKE) $(EXTRA_HOST_FLAGS) \
21511 $(STAGE1_FLAGS_TO_PASS) clean
21512 @endif libdecnumber-bootstrap
21515 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21516 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21517 maybe-all-stage2-libdecnumber:
21518 maybe-clean-stage2-libdecnumber:
21519 @if libdecnumber-bootstrap
21520 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21521 all-stage2: all-stage2-libdecnumber
21522 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21523 all-stage2-libdecnumber: configure-stage2-libdecnumber
21524 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21525 @r=`${PWD_COMMAND}`; export r; \
21526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21527 TFLAGS="$(STAGE2_TFLAGS)"; \
21529 $(POSTSTAGE1_HOST_EXPORTS) \
21530 cd $(HOST_SUBDIR)/libdecnumber && \
21531 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21532 CFLAGS="$(STAGE2_CFLAGS)" \
21533 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21534 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21539 TFLAGS="$(STAGE2_TFLAGS)" \
21540 $(TARGET-stage2-libdecnumber)
21542 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21543 clean-stage2: clean-stage2-libdecnumber
21544 clean-stage2-libdecnumber:
21545 @if [ $(current_stage) = stage2 ]; then \
21546 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21548 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21549 $(MAKE) stage2-start; \
21551 cd $(HOST_SUBDIR)/libdecnumber && \
21552 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21553 @endif libdecnumber-bootstrap
21556 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21557 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21558 maybe-all-stage3-libdecnumber:
21559 maybe-clean-stage3-libdecnumber:
21560 @if libdecnumber-bootstrap
21561 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21562 all-stage3: all-stage3-libdecnumber
21563 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21564 all-stage3-libdecnumber: configure-stage3-libdecnumber
21565 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21566 @r=`${PWD_COMMAND}`; export r; \
21567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21568 TFLAGS="$(STAGE3_TFLAGS)"; \
21570 $(POSTSTAGE1_HOST_EXPORTS) \
21571 cd $(HOST_SUBDIR)/libdecnumber && \
21572 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21573 CFLAGS="$(STAGE3_CFLAGS)" \
21574 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21575 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21579 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21580 TFLAGS="$(STAGE3_TFLAGS)" \
21581 $(TARGET-stage3-libdecnumber)
21583 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21584 clean-stage3: clean-stage3-libdecnumber
21585 clean-stage3-libdecnumber:
21586 @if [ $(current_stage) = stage3 ]; then \
21587 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21589 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21590 $(MAKE) stage3-start; \
21592 cd $(HOST_SUBDIR)/libdecnumber && \
21593 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21594 @endif libdecnumber-bootstrap
21597 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21598 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21599 maybe-all-stage4-libdecnumber:
21600 maybe-clean-stage4-libdecnumber:
21601 @if libdecnumber-bootstrap
21602 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21603 all-stage4: all-stage4-libdecnumber
21604 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21605 all-stage4-libdecnumber: configure-stage4-libdecnumber
21606 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21607 @r=`${PWD_COMMAND}`; export r; \
21608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21609 TFLAGS="$(STAGE4_TFLAGS)"; \
21611 $(POSTSTAGE1_HOST_EXPORTS) \
21612 cd $(HOST_SUBDIR)/libdecnumber && \
21613 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21614 CFLAGS="$(STAGE4_CFLAGS)" \
21615 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21616 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21617 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21618 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21619 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21620 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21621 TFLAGS="$(STAGE4_TFLAGS)" \
21622 $(TARGET-stage4-libdecnumber)
21624 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21625 clean-stage4: clean-stage4-libdecnumber
21626 clean-stage4-libdecnumber:
21627 @if [ $(current_stage) = stage4 ]; then \
21628 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21630 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21631 $(MAKE) stage4-start; \
21633 cd $(HOST_SUBDIR)/libdecnumber && \
21634 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21635 @endif libdecnumber-bootstrap
21638 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21639 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21640 maybe-all-stageprofile-libdecnumber:
21641 maybe-clean-stageprofile-libdecnumber:
21642 @if libdecnumber-bootstrap
21643 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21644 all-stageprofile: all-stageprofile-libdecnumber
21645 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21646 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21647 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21648 @r=`${PWD_COMMAND}`; export r; \
21649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21650 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21652 $(POSTSTAGE1_HOST_EXPORTS) \
21653 cd $(HOST_SUBDIR)/libdecnumber && \
21654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21655 CFLAGS="$(STAGEprofile_CFLAGS)" \
21656 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21657 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21662 TFLAGS="$(STAGEprofile_TFLAGS)" \
21663 $(TARGET-stageprofile-libdecnumber)
21665 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21666 clean-stageprofile: clean-stageprofile-libdecnumber
21667 clean-stageprofile-libdecnumber:
21668 @if [ $(current_stage) = stageprofile ]; then \
21669 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21671 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21672 $(MAKE) stageprofile-start; \
21674 cd $(HOST_SUBDIR)/libdecnumber && \
21675 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21676 @endif libdecnumber-bootstrap
21679 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21680 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21681 maybe-all-stagefeedback-libdecnumber:
21682 maybe-clean-stagefeedback-libdecnumber:
21683 @if libdecnumber-bootstrap
21684 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21685 all-stagefeedback: all-stagefeedback-libdecnumber
21686 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21687 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21688 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21689 @r=`${PWD_COMMAND}`; export r; \
21690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21691 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21693 $(POSTSTAGE1_HOST_EXPORTS) \
21694 cd $(HOST_SUBDIR)/libdecnumber && \
21695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21696 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21697 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21698 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21702 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21703 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21704 $(TARGET-stagefeedback-libdecnumber)
21706 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21707 clean-stagefeedback: clean-stagefeedback-libdecnumber
21708 clean-stagefeedback-libdecnumber:
21709 @if [ $(current_stage) = stagefeedback ]; then \
21710 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21712 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21713 $(MAKE) stagefeedback-start; \
21715 cd $(HOST_SUBDIR)/libdecnumber && \
21716 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21717 @endif libdecnumber-bootstrap
21723 .PHONY: check-libdecnumber maybe-check-libdecnumber
21724 maybe-check-libdecnumber:
21726 maybe-check-libdecnumber: check-libdecnumber
21728 check-libdecnumber:
21729 @: $(MAKE); $(unstage)
21730 @r=`${PWD_COMMAND}`; export r; \
21731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21733 (cd $(HOST_SUBDIR)/libdecnumber && \
21734 $(MAKE) $(FLAGS_TO_PASS) check)
21736 @endif libdecnumber
21738 .PHONY: install-libdecnumber maybe-install-libdecnumber
21739 maybe-install-libdecnumber:
21741 maybe-install-libdecnumber: install-libdecnumber
21743 install-libdecnumber: installdirs
21744 @: $(MAKE); $(unstage)
21745 @r=`${PWD_COMMAND}`; export r; \
21746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21748 (cd $(HOST_SUBDIR)/libdecnumber && \
21749 $(MAKE) $(FLAGS_TO_PASS) install)
21751 @endif libdecnumber
21753 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21754 maybe-install-strip-libdecnumber:
21756 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21758 install-strip-libdecnumber: installdirs
21759 @: $(MAKE); $(unstage)
21760 @r=`${PWD_COMMAND}`; export r; \
21761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21763 (cd $(HOST_SUBDIR)/libdecnumber && \
21764 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21766 @endif libdecnumber
21768 # Other targets (info, dvi, pdf, etc.)
21770 .PHONY: maybe-info-libdecnumber info-libdecnumber
21771 maybe-info-libdecnumber:
21773 maybe-info-libdecnumber: info-libdecnumber
21775 info-libdecnumber: \
21776 configure-libdecnumber
21777 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21778 r=`${PWD_COMMAND}`; export r; \
21779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21781 for flag in $(EXTRA_HOST_FLAGS) ; do \
21782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21784 echo "Doing info in libdecnumber" ; \
21785 (cd $(HOST_SUBDIR)/libdecnumber && \
21786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21788 "RANLIB=$${RANLIB}" \
21789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21793 @endif libdecnumber
21795 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21796 maybe-dvi-libdecnumber:
21798 maybe-dvi-libdecnumber: dvi-libdecnumber
21800 dvi-libdecnumber: \
21801 configure-libdecnumber
21802 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21803 r=`${PWD_COMMAND}`; export r; \
21804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21806 for flag in $(EXTRA_HOST_FLAGS) ; do \
21807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21809 echo "Doing dvi in libdecnumber" ; \
21810 (cd $(HOST_SUBDIR)/libdecnumber && \
21811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21813 "RANLIB=$${RANLIB}" \
21814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21818 @endif libdecnumber
21820 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21821 maybe-pdf-libdecnumber:
21823 maybe-pdf-libdecnumber: pdf-libdecnumber
21825 pdf-libdecnumber: \
21826 configure-libdecnumber
21827 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21828 r=`${PWD_COMMAND}`; export r; \
21829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21831 for flag in $(EXTRA_HOST_FLAGS) ; do \
21832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21834 echo "Doing pdf in libdecnumber" ; \
21835 (cd $(HOST_SUBDIR)/libdecnumber && \
21836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21838 "RANLIB=$${RANLIB}" \
21839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21843 @endif libdecnumber
21845 .PHONY: maybe-html-libdecnumber html-libdecnumber
21846 maybe-html-libdecnumber:
21848 maybe-html-libdecnumber: html-libdecnumber
21850 html-libdecnumber: \
21851 configure-libdecnumber
21852 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21853 r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21856 for flag in $(EXTRA_HOST_FLAGS) ; do \
21857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21859 echo "Doing html in libdecnumber" ; \
21860 (cd $(HOST_SUBDIR)/libdecnumber && \
21861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21863 "RANLIB=$${RANLIB}" \
21864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21868 @endif libdecnumber
21870 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21871 maybe-TAGS-libdecnumber:
21873 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21875 TAGS-libdecnumber: \
21876 configure-libdecnumber
21877 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21878 r=`${PWD_COMMAND}`; export r; \
21879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21881 for flag in $(EXTRA_HOST_FLAGS) ; do \
21882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21884 echo "Doing TAGS in libdecnumber" ; \
21885 (cd $(HOST_SUBDIR)/libdecnumber && \
21886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21888 "RANLIB=$${RANLIB}" \
21889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21893 @endif libdecnumber
21895 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21896 maybe-install-info-libdecnumber:
21898 maybe-install-info-libdecnumber: install-info-libdecnumber
21900 install-info-libdecnumber: \
21901 configure-libdecnumber \
21903 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21904 r=`${PWD_COMMAND}`; export r; \
21905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21907 for flag in $(EXTRA_HOST_FLAGS) ; do \
21908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21910 echo "Doing install-info in libdecnumber" ; \
21911 (cd $(HOST_SUBDIR)/libdecnumber && \
21912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21914 "RANLIB=$${RANLIB}" \
21915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21919 @endif libdecnumber
21921 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21922 maybe-install-pdf-libdecnumber:
21924 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21926 install-pdf-libdecnumber: \
21927 configure-libdecnumber \
21929 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21930 r=`${PWD_COMMAND}`; export r; \
21931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21933 for flag in $(EXTRA_HOST_FLAGS) ; do \
21934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21936 echo "Doing install-pdf in libdecnumber" ; \
21937 (cd $(HOST_SUBDIR)/libdecnumber && \
21938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21940 "RANLIB=$${RANLIB}" \
21941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21945 @endif libdecnumber
21947 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21948 maybe-install-html-libdecnumber:
21950 maybe-install-html-libdecnumber: install-html-libdecnumber
21952 install-html-libdecnumber: \
21953 configure-libdecnumber \
21955 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21956 r=`${PWD_COMMAND}`; export r; \
21957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21959 for flag in $(EXTRA_HOST_FLAGS) ; do \
21960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21962 echo "Doing install-html in libdecnumber" ; \
21963 (cd $(HOST_SUBDIR)/libdecnumber && \
21964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21966 "RANLIB=$${RANLIB}" \
21967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21971 @endif libdecnumber
21973 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21974 maybe-installcheck-libdecnumber:
21976 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21978 installcheck-libdecnumber: \
21979 configure-libdecnumber
21980 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21981 r=`${PWD_COMMAND}`; export r; \
21982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21984 for flag in $(EXTRA_HOST_FLAGS) ; do \
21985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21987 echo "Doing installcheck in libdecnumber" ; \
21988 (cd $(HOST_SUBDIR)/libdecnumber && \
21989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21991 "RANLIB=$${RANLIB}" \
21992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21996 @endif libdecnumber
21998 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21999 maybe-mostlyclean-libdecnumber:
22001 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22003 mostlyclean-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 mostlyclean 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-clean-libdecnumber clean-libdecnumber
22023 maybe-clean-libdecnumber:
22025 maybe-clean-libdecnumber: clean-libdecnumber
22027 clean-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 clean 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-distclean-libdecnumber distclean-libdecnumber
22047 maybe-distclean-libdecnumber:
22049 maybe-distclean-libdecnumber: distclean-libdecnumber
22051 distclean-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 distclean 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-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22071 maybe-maintainer-clean-libdecnumber:
22073 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22075 maintainer-clean-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 maintainer-clean 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}" \
22089 maintainer-clean) \
22092 @endif libdecnumber
22096 .PHONY: configure-libgui maybe-configure-libgui
22097 maybe-configure-libgui:
22099 configure-libgui: stage_current
22100 @endif gcc-bootstrap
22102 maybe-configure-libgui: configure-libgui
22104 @: $(MAKE); $(unstage)
22105 @r=`${PWD_COMMAND}`; export r; \
22106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22107 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22110 echo Configuring in $(HOST_SUBDIR)/libgui; \
22111 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22112 case $(srcdir) in \
22113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22114 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22117 srcdiroption="--srcdir=$${topdir}/libgui"; \
22118 libsrcdir="$$s/libgui"; \
22119 $(SHELL) $${libsrcdir}/configure \
22120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22121 --target=${target_alias} $${srcdiroption} \
22129 .PHONY: all-libgui maybe-all-libgui
22132 all-libgui: stage_current
22133 @endif gcc-bootstrap
22136 maybe-all-libgui: all-libgui
22137 all-libgui: configure-libgui
22138 @: $(MAKE); $(unstage)
22139 @r=`${PWD_COMMAND}`; export r; \
22140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22142 (cd $(HOST_SUBDIR)/libgui && \
22143 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22150 .PHONY: check-libgui maybe-check-libgui
22151 maybe-check-libgui:
22153 maybe-check-libgui: check-libgui
22156 @: $(MAKE); $(unstage)
22157 @r=`${PWD_COMMAND}`; export r; \
22158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22160 (cd $(HOST_SUBDIR)/libgui && \
22161 $(MAKE) $(FLAGS_TO_PASS) check)
22165 .PHONY: install-libgui maybe-install-libgui
22166 maybe-install-libgui:
22168 maybe-install-libgui: install-libgui
22170 install-libgui: installdirs
22171 @: $(MAKE); $(unstage)
22172 @r=`${PWD_COMMAND}`; export r; \
22173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22175 (cd $(HOST_SUBDIR)/libgui && \
22176 $(MAKE) $(FLAGS_TO_PASS) install)
22180 .PHONY: install-strip-libgui maybe-install-strip-libgui
22181 maybe-install-strip-libgui:
22183 maybe-install-strip-libgui: install-strip-libgui
22185 install-strip-libgui: installdirs
22186 @: $(MAKE); $(unstage)
22187 @r=`${PWD_COMMAND}`; export r; \
22188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22190 (cd $(HOST_SUBDIR)/libgui && \
22191 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22195 # Other targets (info, dvi, pdf, etc.)
22197 .PHONY: maybe-info-libgui info-libgui
22200 maybe-info-libgui: info-libgui
22204 @: $(MAKE); $(unstage)
22205 @[ -f ./libgui/Makefile ] || exit 0; \
22206 r=`${PWD_COMMAND}`; export r; \
22207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22209 for flag in $(EXTRA_HOST_FLAGS) ; do \
22210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22212 echo "Doing info in libgui" ; \
22213 (cd $(HOST_SUBDIR)/libgui && \
22214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22216 "RANLIB=$${RANLIB}" \
22217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22223 .PHONY: maybe-dvi-libgui dvi-libgui
22226 maybe-dvi-libgui: dvi-libgui
22230 @: $(MAKE); $(unstage)
22231 @[ -f ./libgui/Makefile ] || exit 0; \
22232 r=`${PWD_COMMAND}`; export r; \
22233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22235 for flag in $(EXTRA_HOST_FLAGS) ; do \
22236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22238 echo "Doing dvi in libgui" ; \
22239 (cd $(HOST_SUBDIR)/libgui && \
22240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22242 "RANLIB=$${RANLIB}" \
22243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22249 .PHONY: maybe-pdf-libgui pdf-libgui
22252 maybe-pdf-libgui: pdf-libgui
22256 @: $(MAKE); $(unstage)
22257 @[ -f ./libgui/Makefile ] || exit 0; \
22258 r=`${PWD_COMMAND}`; export r; \
22259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22261 for flag in $(EXTRA_HOST_FLAGS) ; do \
22262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22264 echo "Doing pdf in libgui" ; \
22265 (cd $(HOST_SUBDIR)/libgui && \
22266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22268 "RANLIB=$${RANLIB}" \
22269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22275 .PHONY: maybe-html-libgui html-libgui
22278 maybe-html-libgui: html-libgui
22282 @: $(MAKE); $(unstage)
22283 @[ -f ./libgui/Makefile ] || exit 0; \
22284 r=`${PWD_COMMAND}`; export r; \
22285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22287 for flag in $(EXTRA_HOST_FLAGS) ; do \
22288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22290 echo "Doing html in libgui" ; \
22291 (cd $(HOST_SUBDIR)/libgui && \
22292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22294 "RANLIB=$${RANLIB}" \
22295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22301 .PHONY: maybe-TAGS-libgui TAGS-libgui
22304 maybe-TAGS-libgui: TAGS-libgui
22308 @: $(MAKE); $(unstage)
22309 @[ -f ./libgui/Makefile ] || exit 0; \
22310 r=`${PWD_COMMAND}`; export r; \
22311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22313 for flag in $(EXTRA_HOST_FLAGS) ; do \
22314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22316 echo "Doing TAGS in libgui" ; \
22317 (cd $(HOST_SUBDIR)/libgui && \
22318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22320 "RANLIB=$${RANLIB}" \
22321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22327 .PHONY: maybe-install-info-libgui install-info-libgui
22328 maybe-install-info-libgui:
22330 maybe-install-info-libgui: install-info-libgui
22332 install-info-libgui: \
22335 @: $(MAKE); $(unstage)
22336 @[ -f ./libgui/Makefile ] || exit 0; \
22337 r=`${PWD_COMMAND}`; export r; \
22338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22340 for flag in $(EXTRA_HOST_FLAGS) ; do \
22341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22343 echo "Doing install-info in libgui" ; \
22344 (cd $(HOST_SUBDIR)/libgui && \
22345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22347 "RANLIB=$${RANLIB}" \
22348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22354 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22355 maybe-install-pdf-libgui:
22357 maybe-install-pdf-libgui: install-pdf-libgui
22359 install-pdf-libgui: \
22362 @: $(MAKE); $(unstage)
22363 @[ -f ./libgui/Makefile ] || exit 0; \
22364 r=`${PWD_COMMAND}`; export r; \
22365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22367 for flag in $(EXTRA_HOST_FLAGS) ; do \
22368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22370 echo "Doing install-pdf in libgui" ; \
22371 (cd $(HOST_SUBDIR)/libgui && \
22372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22374 "RANLIB=$${RANLIB}" \
22375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22381 .PHONY: maybe-install-html-libgui install-html-libgui
22382 maybe-install-html-libgui:
22384 maybe-install-html-libgui: install-html-libgui
22386 install-html-libgui: \
22389 @: $(MAKE); $(unstage)
22390 @[ -f ./libgui/Makefile ] || exit 0; \
22391 r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394 for flag in $(EXTRA_HOST_FLAGS) ; do \
22395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22397 echo "Doing install-html in libgui" ; \
22398 (cd $(HOST_SUBDIR)/libgui && \
22399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22401 "RANLIB=$${RANLIB}" \
22402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22408 .PHONY: maybe-installcheck-libgui installcheck-libgui
22409 maybe-installcheck-libgui:
22411 maybe-installcheck-libgui: installcheck-libgui
22413 installcheck-libgui: \
22415 @: $(MAKE); $(unstage)
22416 @[ -f ./libgui/Makefile ] || exit 0; \
22417 r=`${PWD_COMMAND}`; export r; \
22418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22420 for flag in $(EXTRA_HOST_FLAGS) ; do \
22421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22423 echo "Doing installcheck in libgui" ; \
22424 (cd $(HOST_SUBDIR)/libgui && \
22425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22427 "RANLIB=$${RANLIB}" \
22428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22434 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22435 maybe-mostlyclean-libgui:
22437 maybe-mostlyclean-libgui: mostlyclean-libgui
22439 mostlyclean-libgui:
22440 @: $(MAKE); $(unstage)
22441 @[ -f ./libgui/Makefile ] || exit 0; \
22442 r=`${PWD_COMMAND}`; export r; \
22443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22445 for flag in $(EXTRA_HOST_FLAGS) ; do \
22446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22448 echo "Doing mostlyclean in libgui" ; \
22449 (cd $(HOST_SUBDIR)/libgui && \
22450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22452 "RANLIB=$${RANLIB}" \
22453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22459 .PHONY: maybe-clean-libgui clean-libgui
22460 maybe-clean-libgui:
22462 maybe-clean-libgui: clean-libgui
22465 @: $(MAKE); $(unstage)
22466 @[ -f ./libgui/Makefile ] || exit 0; \
22467 r=`${PWD_COMMAND}`; export r; \
22468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22470 for flag in $(EXTRA_HOST_FLAGS) ; do \
22471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22473 echo "Doing clean in libgui" ; \
22474 (cd $(HOST_SUBDIR)/libgui && \
22475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22477 "RANLIB=$${RANLIB}" \
22478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22484 .PHONY: maybe-distclean-libgui distclean-libgui
22485 maybe-distclean-libgui:
22487 maybe-distclean-libgui: distclean-libgui
22490 @: $(MAKE); $(unstage)
22491 @[ -f ./libgui/Makefile ] || exit 0; \
22492 r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22495 for flag in $(EXTRA_HOST_FLAGS) ; do \
22496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22498 echo "Doing distclean in libgui" ; \
22499 (cd $(HOST_SUBDIR)/libgui && \
22500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22502 "RANLIB=$${RANLIB}" \
22503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22509 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22510 maybe-maintainer-clean-libgui:
22512 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22514 maintainer-clean-libgui:
22515 @: $(MAKE); $(unstage)
22516 @[ -f ./libgui/Makefile ] || exit 0; \
22517 r=`${PWD_COMMAND}`; export r; \
22518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22520 for flag in $(EXTRA_HOST_FLAGS) ; do \
22521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22523 echo "Doing maintainer-clean in libgui" ; \
22524 (cd $(HOST_SUBDIR)/libgui && \
22525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22527 "RANLIB=$${RANLIB}" \
22528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22529 maintainer-clean) \
22536 .PHONY: configure-libiberty maybe-configure-libiberty
22537 maybe-configure-libiberty:
22539 configure-libiberty: stage_current
22540 @endif gcc-bootstrap
22542 maybe-configure-libiberty: configure-libiberty
22543 configure-libiberty:
22544 @r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22549 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22550 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22551 case $(srcdir) in \
22552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22553 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22556 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22557 libsrcdir="$$s/libiberty"; \
22558 $(SHELL) $${libsrcdir}/configure \
22559 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22560 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
22566 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22567 maybe-configure-stage1-libiberty:
22568 @if libiberty-bootstrap
22569 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22570 configure-stage1-libiberty:
22571 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22572 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22573 @r=`${PWD_COMMAND}`; export r; \
22574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22575 TFLAGS="$(STAGE1_TFLAGS)"; \
22576 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22578 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22579 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22580 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22581 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22582 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22583 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22584 case $(srcdir) in \
22585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22586 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22589 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22590 libsrcdir="$$s/libiberty"; \
22591 $(SHELL) $${libsrcdir}/configure \
22592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22593 --target=${target_alias} $${srcdiroption} \
22594 $(STAGE1_CONFIGURE_FLAGS) \
22595 @extra_host_libiberty_configure_flags@
22596 @endif libiberty-bootstrap
22598 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22599 maybe-configure-stage2-libiberty:
22600 @if libiberty-bootstrap
22601 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22602 configure-stage2-libiberty:
22603 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22604 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22605 @r=`${PWD_COMMAND}`; export r; \
22606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22607 TFLAGS="$(STAGE2_TFLAGS)"; \
22608 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22610 $(POSTSTAGE1_HOST_EXPORTS) \
22611 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22612 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22613 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22614 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22616 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22617 case $(srcdir) in \
22618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22619 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22622 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22623 libsrcdir="$$s/libiberty"; \
22624 $(SHELL) $${libsrcdir}/configure \
22625 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22626 --target=${target_alias} $${srcdiroption} \
22627 --with-build-libsubdir=$(HOST_SUBDIR) \
22628 $(STAGE2_CONFIGURE_FLAGS) \
22629 @extra_host_libiberty_configure_flags@
22630 @endif libiberty-bootstrap
22632 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22633 maybe-configure-stage3-libiberty:
22634 @if libiberty-bootstrap
22635 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22636 configure-stage3-libiberty:
22637 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22639 @r=`${PWD_COMMAND}`; export r; \
22640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22641 TFLAGS="$(STAGE3_TFLAGS)"; \
22642 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22644 $(POSTSTAGE1_HOST_EXPORTS) \
22645 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22646 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22647 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22648 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22650 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22651 case $(srcdir) in \
22652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22653 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22656 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22657 libsrcdir="$$s/libiberty"; \
22658 $(SHELL) $${libsrcdir}/configure \
22659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22660 --target=${target_alias} $${srcdiroption} \
22661 --with-build-libsubdir=$(HOST_SUBDIR) \
22662 $(STAGE3_CONFIGURE_FLAGS) \
22663 @extra_host_libiberty_configure_flags@
22664 @endif libiberty-bootstrap
22666 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22667 maybe-configure-stage4-libiberty:
22668 @if libiberty-bootstrap
22669 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22670 configure-stage4-libiberty:
22671 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22673 @r=`${PWD_COMMAND}`; export r; \
22674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22675 TFLAGS="$(STAGE4_TFLAGS)"; \
22676 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22678 $(POSTSTAGE1_HOST_EXPORTS) \
22679 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22680 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22681 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22682 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22684 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22685 case $(srcdir) in \
22686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22687 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22690 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22691 libsrcdir="$$s/libiberty"; \
22692 $(SHELL) $${libsrcdir}/configure \
22693 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22694 --target=${target_alias} $${srcdiroption} \
22695 --with-build-libsubdir=$(HOST_SUBDIR) \
22696 $(STAGE4_CONFIGURE_FLAGS) \
22697 @extra_host_libiberty_configure_flags@
22698 @endif libiberty-bootstrap
22700 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22701 maybe-configure-stageprofile-libiberty:
22702 @if libiberty-bootstrap
22703 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22704 configure-stageprofile-libiberty:
22705 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22706 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22707 @r=`${PWD_COMMAND}`; export r; \
22708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22709 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22710 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22712 $(POSTSTAGE1_HOST_EXPORTS) \
22713 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22714 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22715 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22716 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22717 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22718 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22719 case $(srcdir) in \
22720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22721 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22724 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22725 libsrcdir="$$s/libiberty"; \
22726 $(SHELL) $${libsrcdir}/configure \
22727 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22728 --target=${target_alias} $${srcdiroption} \
22729 --with-build-libsubdir=$(HOST_SUBDIR) \
22730 $(STAGEprofile_CONFIGURE_FLAGS) \
22731 @extra_host_libiberty_configure_flags@
22732 @endif libiberty-bootstrap
22734 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22735 maybe-configure-stagefeedback-libiberty:
22736 @if libiberty-bootstrap
22737 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22738 configure-stagefeedback-libiberty:
22739 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22741 @r=`${PWD_COMMAND}`; export r; \
22742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22743 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22744 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22746 $(POSTSTAGE1_HOST_EXPORTS) \
22747 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22748 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22749 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22750 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22752 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22753 case $(srcdir) in \
22754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22755 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22758 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22759 libsrcdir="$$s/libiberty"; \
22760 $(SHELL) $${libsrcdir}/configure \
22761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22762 --target=${target_alias} $${srcdiroption} \
22763 --with-build-libsubdir=$(HOST_SUBDIR) \
22764 $(STAGEfeedback_CONFIGURE_FLAGS) \
22765 @extra_host_libiberty_configure_flags@
22766 @endif libiberty-bootstrap
22772 .PHONY: all-libiberty maybe-all-libiberty
22773 maybe-all-libiberty:
22775 all-libiberty: stage_current
22776 @endif gcc-bootstrap
22778 TARGET-libiberty=all
22779 maybe-all-libiberty: all-libiberty
22780 all-libiberty: configure-libiberty
22781 @r=`${PWD_COMMAND}`; export r; \
22782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22784 (cd $(HOST_SUBDIR)/libiberty && \
22785 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22786 $(TARGET-libiberty))
22791 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22792 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22793 maybe-all-stage1-libiberty:
22794 maybe-clean-stage1-libiberty:
22795 @if libiberty-bootstrap
22796 maybe-all-stage1-libiberty: all-stage1-libiberty
22797 all-stage1: all-stage1-libiberty
22798 TARGET-stage1-libiberty = $(TARGET-libiberty)
22799 all-stage1-libiberty: configure-stage1-libiberty
22800 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22801 @r=`${PWD_COMMAND}`; export r; \
22802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22803 TFLAGS="$(STAGE1_TFLAGS)"; \
22805 cd $(HOST_SUBDIR)/libiberty && \
22806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22807 CFLAGS="$(STAGE1_CFLAGS)" \
22808 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22809 LIBCFLAGS="$(LIBCFLAGS)" \
22810 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22811 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22812 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22813 $(EXTRA_HOST_FLAGS) \
22814 $(STAGE1_FLAGS_TO_PASS) \
22815 TFLAGS="$(STAGE1_TFLAGS)" \
22816 $(TARGET-stage1-libiberty)
22818 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22819 clean-stage1: clean-stage1-libiberty
22820 clean-stage1-libiberty:
22821 @if [ $(current_stage) = stage1 ]; then \
22822 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22824 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22825 $(MAKE) stage1-start; \
22827 cd $(HOST_SUBDIR)/libiberty && \
22828 $(MAKE) $(EXTRA_HOST_FLAGS) \
22829 $(STAGE1_FLAGS_TO_PASS) clean
22830 @endif libiberty-bootstrap
22833 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22834 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22835 maybe-all-stage2-libiberty:
22836 maybe-clean-stage2-libiberty:
22837 @if libiberty-bootstrap
22838 maybe-all-stage2-libiberty: all-stage2-libiberty
22839 all-stage2: all-stage2-libiberty
22840 TARGET-stage2-libiberty = $(TARGET-libiberty)
22841 all-stage2-libiberty: configure-stage2-libiberty
22842 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22843 @r=`${PWD_COMMAND}`; export r; \
22844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22845 TFLAGS="$(STAGE2_TFLAGS)"; \
22847 $(POSTSTAGE1_HOST_EXPORTS) \
22848 cd $(HOST_SUBDIR)/libiberty && \
22849 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22850 CFLAGS="$(STAGE2_CFLAGS)" \
22851 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22852 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22853 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22854 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22855 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22856 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22857 TFLAGS="$(STAGE2_TFLAGS)" \
22858 $(TARGET-stage2-libiberty)
22860 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22861 clean-stage2: clean-stage2-libiberty
22862 clean-stage2-libiberty:
22863 @if [ $(current_stage) = stage2 ]; then \
22864 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22866 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22867 $(MAKE) stage2-start; \
22869 cd $(HOST_SUBDIR)/libiberty && \
22870 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22871 @endif libiberty-bootstrap
22874 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22875 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22876 maybe-all-stage3-libiberty:
22877 maybe-clean-stage3-libiberty:
22878 @if libiberty-bootstrap
22879 maybe-all-stage3-libiberty: all-stage3-libiberty
22880 all-stage3: all-stage3-libiberty
22881 TARGET-stage3-libiberty = $(TARGET-libiberty)
22882 all-stage3-libiberty: configure-stage3-libiberty
22883 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22884 @r=`${PWD_COMMAND}`; export r; \
22885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22886 TFLAGS="$(STAGE3_TFLAGS)"; \
22888 $(POSTSTAGE1_HOST_EXPORTS) \
22889 cd $(HOST_SUBDIR)/libiberty && \
22890 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22891 CFLAGS="$(STAGE3_CFLAGS)" \
22892 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22893 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22894 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22895 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22896 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22897 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22898 TFLAGS="$(STAGE3_TFLAGS)" \
22899 $(TARGET-stage3-libiberty)
22901 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22902 clean-stage3: clean-stage3-libiberty
22903 clean-stage3-libiberty:
22904 @if [ $(current_stage) = stage3 ]; then \
22905 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22907 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22908 $(MAKE) stage3-start; \
22910 cd $(HOST_SUBDIR)/libiberty && \
22911 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22912 @endif libiberty-bootstrap
22915 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22916 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22917 maybe-all-stage4-libiberty:
22918 maybe-clean-stage4-libiberty:
22919 @if libiberty-bootstrap
22920 maybe-all-stage4-libiberty: all-stage4-libiberty
22921 all-stage4: all-stage4-libiberty
22922 TARGET-stage4-libiberty = $(TARGET-libiberty)
22923 all-stage4-libiberty: configure-stage4-libiberty
22924 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22925 @r=`${PWD_COMMAND}`; export r; \
22926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22927 TFLAGS="$(STAGE4_TFLAGS)"; \
22929 $(POSTSTAGE1_HOST_EXPORTS) \
22930 cd $(HOST_SUBDIR)/libiberty && \
22931 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22932 CFLAGS="$(STAGE4_CFLAGS)" \
22933 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22934 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22935 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22936 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22937 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22938 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22939 TFLAGS="$(STAGE4_TFLAGS)" \
22940 $(TARGET-stage4-libiberty)
22942 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22943 clean-stage4: clean-stage4-libiberty
22944 clean-stage4-libiberty:
22945 @if [ $(current_stage) = stage4 ]; then \
22946 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22948 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22949 $(MAKE) stage4-start; \
22951 cd $(HOST_SUBDIR)/libiberty && \
22952 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22953 @endif libiberty-bootstrap
22956 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22957 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22958 maybe-all-stageprofile-libiberty:
22959 maybe-clean-stageprofile-libiberty:
22960 @if libiberty-bootstrap
22961 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22962 all-stageprofile: all-stageprofile-libiberty
22963 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22964 all-stageprofile-libiberty: configure-stageprofile-libiberty
22965 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22966 @r=`${PWD_COMMAND}`; export r; \
22967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22968 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22970 $(POSTSTAGE1_HOST_EXPORTS) \
22971 cd $(HOST_SUBDIR)/libiberty && \
22972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22973 CFLAGS="$(STAGEprofile_CFLAGS)" \
22974 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22975 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22980 TFLAGS="$(STAGEprofile_TFLAGS)" \
22981 $(TARGET-stageprofile-libiberty)
22983 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22984 clean-stageprofile: clean-stageprofile-libiberty
22985 clean-stageprofile-libiberty:
22986 @if [ $(current_stage) = stageprofile ]; then \
22987 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22989 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22990 $(MAKE) stageprofile-start; \
22992 cd $(HOST_SUBDIR)/libiberty && \
22993 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22994 @endif libiberty-bootstrap
22997 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22998 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22999 maybe-all-stagefeedback-libiberty:
23000 maybe-clean-stagefeedback-libiberty:
23001 @if libiberty-bootstrap
23002 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23003 all-stagefeedback: all-stagefeedback-libiberty
23004 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23005 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23006 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23007 @r=`${PWD_COMMAND}`; export r; \
23008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23009 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23011 $(POSTSTAGE1_HOST_EXPORTS) \
23012 cd $(HOST_SUBDIR)/libiberty && \
23013 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23014 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23015 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23016 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23017 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23018 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23019 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23020 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23021 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23022 $(TARGET-stagefeedback-libiberty)
23024 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23025 clean-stagefeedback: clean-stagefeedback-libiberty
23026 clean-stagefeedback-libiberty:
23027 @if [ $(current_stage) = stagefeedback ]; then \
23028 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23030 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23031 $(MAKE) stagefeedback-start; \
23033 cd $(HOST_SUBDIR)/libiberty && \
23034 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23035 @endif libiberty-bootstrap
23041 .PHONY: check-libiberty maybe-check-libiberty
23042 maybe-check-libiberty:
23044 maybe-check-libiberty: check-libiberty
23047 @: $(MAKE); $(unstage)
23048 @r=`${PWD_COMMAND}`; export r; \
23049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23051 (cd $(HOST_SUBDIR)/libiberty && \
23052 $(MAKE) $(FLAGS_TO_PASS) check)
23056 .PHONY: install-libiberty maybe-install-libiberty
23057 maybe-install-libiberty:
23059 maybe-install-libiberty: install-libiberty
23061 install-libiberty: installdirs
23062 @: $(MAKE); $(unstage)
23063 @r=`${PWD_COMMAND}`; export r; \
23064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23066 (cd $(HOST_SUBDIR)/libiberty && \
23067 $(MAKE) $(FLAGS_TO_PASS) install)
23071 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23072 maybe-install-strip-libiberty:
23074 maybe-install-strip-libiberty: install-strip-libiberty
23076 install-strip-libiberty: installdirs
23077 @: $(MAKE); $(unstage)
23078 @r=`${PWD_COMMAND}`; export r; \
23079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23081 (cd $(HOST_SUBDIR)/libiberty && \
23082 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23086 # Other targets (info, dvi, pdf, etc.)
23088 .PHONY: maybe-info-libiberty info-libiberty
23089 maybe-info-libiberty:
23091 maybe-info-libiberty: info-libiberty
23094 configure-libiberty
23095 @[ -f ./libiberty/Makefile ] || exit 0; \
23096 r=`${PWD_COMMAND}`; export r; \
23097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23099 for flag in $(EXTRA_HOST_FLAGS) ; do \
23100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23102 echo "Doing info in libiberty" ; \
23103 (cd $(HOST_SUBDIR)/libiberty && \
23104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23106 "RANLIB=$${RANLIB}" \
23107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23113 .PHONY: maybe-dvi-libiberty dvi-libiberty
23114 maybe-dvi-libiberty:
23116 maybe-dvi-libiberty: dvi-libiberty
23119 configure-libiberty
23120 @[ -f ./libiberty/Makefile ] || exit 0; \
23121 r=`${PWD_COMMAND}`; export r; \
23122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23124 for flag in $(EXTRA_HOST_FLAGS) ; do \
23125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23127 echo "Doing dvi in libiberty" ; \
23128 (cd $(HOST_SUBDIR)/libiberty && \
23129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23131 "RANLIB=$${RANLIB}" \
23132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23138 .PHONY: maybe-pdf-libiberty pdf-libiberty
23139 maybe-pdf-libiberty:
23141 maybe-pdf-libiberty: pdf-libiberty
23144 configure-libiberty
23145 @[ -f ./libiberty/Makefile ] || exit 0; \
23146 r=`${PWD_COMMAND}`; export r; \
23147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149 for flag in $(EXTRA_HOST_FLAGS) ; do \
23150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23152 echo "Doing pdf in libiberty" ; \
23153 (cd $(HOST_SUBDIR)/libiberty && \
23154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23156 "RANLIB=$${RANLIB}" \
23157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23163 .PHONY: maybe-html-libiberty html-libiberty
23164 maybe-html-libiberty:
23166 maybe-html-libiberty: html-libiberty
23169 configure-libiberty
23170 @[ -f ./libiberty/Makefile ] || exit 0; \
23171 r=`${PWD_COMMAND}`; export r; \
23172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23174 for flag in $(EXTRA_HOST_FLAGS) ; do \
23175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23177 echo "Doing html in libiberty" ; \
23178 (cd $(HOST_SUBDIR)/libiberty && \
23179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23181 "RANLIB=$${RANLIB}" \
23182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23188 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23189 maybe-TAGS-libiberty:
23191 maybe-TAGS-libiberty: TAGS-libiberty
23194 configure-libiberty
23195 @[ -f ./libiberty/Makefile ] || exit 0; \
23196 r=`${PWD_COMMAND}`; export r; \
23197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23199 for flag in $(EXTRA_HOST_FLAGS) ; do \
23200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23202 echo "Doing TAGS in libiberty" ; \
23203 (cd $(HOST_SUBDIR)/libiberty && \
23204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23206 "RANLIB=$${RANLIB}" \
23207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23213 .PHONY: maybe-install-info-libiberty install-info-libiberty
23214 maybe-install-info-libiberty:
23216 maybe-install-info-libiberty: install-info-libiberty
23218 install-info-libiberty: \
23219 configure-libiberty \
23221 @[ -f ./libiberty/Makefile ] || exit 0; \
23222 r=`${PWD_COMMAND}`; export r; \
23223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23225 for flag in $(EXTRA_HOST_FLAGS) ; do \
23226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23228 echo "Doing install-info in libiberty" ; \
23229 (cd $(HOST_SUBDIR)/libiberty && \
23230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23232 "RANLIB=$${RANLIB}" \
23233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23239 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23240 maybe-install-pdf-libiberty:
23242 maybe-install-pdf-libiberty: install-pdf-libiberty
23244 install-pdf-libiberty: \
23245 configure-libiberty \
23247 @[ -f ./libiberty/Makefile ] || exit 0; \
23248 r=`${PWD_COMMAND}`; export r; \
23249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23251 for flag in $(EXTRA_HOST_FLAGS) ; do \
23252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23254 echo "Doing install-pdf in libiberty" ; \
23255 (cd $(HOST_SUBDIR)/libiberty && \
23256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23258 "RANLIB=$${RANLIB}" \
23259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23265 .PHONY: maybe-install-html-libiberty install-html-libiberty
23266 maybe-install-html-libiberty:
23268 maybe-install-html-libiberty: install-html-libiberty
23270 install-html-libiberty: \
23271 configure-libiberty \
23273 @[ -f ./libiberty/Makefile ] || exit 0; \
23274 r=`${PWD_COMMAND}`; export r; \
23275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23277 for flag in $(EXTRA_HOST_FLAGS) ; do \
23278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23280 echo "Doing install-html in libiberty" ; \
23281 (cd $(HOST_SUBDIR)/libiberty && \
23282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23284 "RANLIB=$${RANLIB}" \
23285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23291 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23292 maybe-installcheck-libiberty:
23294 maybe-installcheck-libiberty: installcheck-libiberty
23296 installcheck-libiberty: \
23297 configure-libiberty
23298 @[ -f ./libiberty/Makefile ] || exit 0; \
23299 r=`${PWD_COMMAND}`; export r; \
23300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23302 for flag in $(EXTRA_HOST_FLAGS) ; do \
23303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23305 echo "Doing installcheck in libiberty" ; \
23306 (cd $(HOST_SUBDIR)/libiberty && \
23307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23309 "RANLIB=$${RANLIB}" \
23310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23316 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23317 maybe-mostlyclean-libiberty:
23319 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23321 mostlyclean-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 mostlyclean 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-clean-libiberty clean-libiberty
23341 maybe-clean-libiberty:
23343 maybe-clean-libiberty: clean-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 clean 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-distclean-libiberty distclean-libiberty
23365 maybe-distclean-libiberty:
23367 maybe-distclean-libiberty: distclean-libiberty
23369 distclean-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 distclean 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-maintainer-clean-libiberty maintainer-clean-libiberty
23389 maybe-maintainer-clean-libiberty:
23391 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23393 maintainer-clean-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 maintainer-clean 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}" \
23407 maintainer-clean) \
23414 .PHONY: configure-libiconv maybe-configure-libiconv
23415 maybe-configure-libiconv:
23417 configure-libiconv: stage_current
23418 @endif gcc-bootstrap
23420 maybe-configure-libiconv: configure-libiconv
23421 configure-libiconv:
23422 @: $(MAKE); $(unstage)
23423 @r=`${PWD_COMMAND}`; export r; \
23424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23425 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
23426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
23428 echo Configuring in $(HOST_SUBDIR)/libiconv; \
23429 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
23430 case $(srcdir) in \
23431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23432 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
23433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23435 srcdiroption="--srcdir=$${topdir}/libiconv"; \
23436 libsrcdir="$$s/libiconv"; \
23437 $(SHELL) $${libsrcdir}/configure \
23438 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23439 --target=${target_alias} $${srcdiroption} --disable-shared \
23447 .PHONY: all-libiconv maybe-all-libiconv
23448 maybe-all-libiconv:
23450 all-libiconv: stage_current
23451 @endif gcc-bootstrap
23453 TARGET-libiconv=all
23454 maybe-all-libiconv: all-libiconv
23455 all-libiconv: configure-libiconv
23456 @: $(MAKE); $(unstage)
23457 @r=`${PWD_COMMAND}`; export r; \
23458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23460 (cd $(HOST_SUBDIR)/libiconv && \
23461 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23462 $(TARGET-libiconv))
23468 .PHONY: check-libiconv maybe-check-libiconv
23469 maybe-check-libiconv:
23471 maybe-check-libiconv: check-libiconv
23474 @: $(MAKE); $(unstage)
23475 @r=`${PWD_COMMAND}`; export r; \
23476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23478 (cd $(HOST_SUBDIR)/libiconv && \
23479 $(MAKE) $(FLAGS_TO_PASS) check)
23483 .PHONY: install-libiconv maybe-install-libiconv
23484 maybe-install-libiconv:
23486 maybe-install-libiconv: install-libiconv
23492 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
23493 maybe-install-strip-libiconv:
23495 maybe-install-strip-libiconv: install-strip-libiconv
23497 install-strip-libiconv:
23501 # Other targets (info, dvi, pdf, etc.)
23503 .PHONY: maybe-info-libiconv info-libiconv
23504 maybe-info-libiconv:
23506 maybe-info-libiconv: info-libiconv
23510 @: $(MAKE); $(unstage)
23511 @[ -f ./libiconv/Makefile ] || exit 0; \
23512 r=`${PWD_COMMAND}`; export r; \
23513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23515 for flag in $(EXTRA_HOST_FLAGS) ; do \
23516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23518 echo "Doing info in libiconv" ; \
23519 (cd $(HOST_SUBDIR)/libiconv && \
23520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23522 "RANLIB=$${RANLIB}" \
23523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23529 .PHONY: maybe-dvi-libiconv dvi-libiconv
23530 maybe-dvi-libiconv:
23532 maybe-dvi-libiconv: dvi-libiconv
23536 @: $(MAKE); $(unstage)
23537 @[ -f ./libiconv/Makefile ] || exit 0; \
23538 r=`${PWD_COMMAND}`; export r; \
23539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23541 for flag in $(EXTRA_HOST_FLAGS) ; do \
23542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23544 echo "Doing dvi in libiconv" ; \
23545 (cd $(HOST_SUBDIR)/libiconv && \
23546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23548 "RANLIB=$${RANLIB}" \
23549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23555 .PHONY: maybe-pdf-libiconv pdf-libiconv
23556 maybe-pdf-libiconv:
23558 maybe-pdf-libiconv: pdf-libiconv
23562 @: $(MAKE); $(unstage)
23563 @[ -f ./libiconv/Makefile ] || exit 0; \
23564 r=`${PWD_COMMAND}`; export r; \
23565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23567 for flag in $(EXTRA_HOST_FLAGS) ; do \
23568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23570 echo "Doing pdf in libiconv" ; \
23571 (cd $(HOST_SUBDIR)/libiconv && \
23572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23574 "RANLIB=$${RANLIB}" \
23575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23581 .PHONY: maybe-html-libiconv html-libiconv
23582 maybe-html-libiconv:
23584 maybe-html-libiconv: html-libiconv
23588 @: $(MAKE); $(unstage)
23589 @[ -f ./libiconv/Makefile ] || exit 0; \
23590 r=`${PWD_COMMAND}`; export r; \
23591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23593 for flag in $(EXTRA_HOST_FLAGS) ; do \
23594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23596 echo "Doing html in libiconv" ; \
23597 (cd $(HOST_SUBDIR)/libiconv && \
23598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23600 "RANLIB=$${RANLIB}" \
23601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23607 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
23608 maybe-TAGS-libiconv:
23610 maybe-TAGS-libiconv: TAGS-libiconv
23614 @: $(MAKE); $(unstage)
23615 @[ -f ./libiconv/Makefile ] || exit 0; \
23616 r=`${PWD_COMMAND}`; export r; \
23617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23619 for flag in $(EXTRA_HOST_FLAGS) ; do \
23620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23622 echo "Doing TAGS in libiconv" ; \
23623 (cd $(HOST_SUBDIR)/libiconv && \
23624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23626 "RANLIB=$${RANLIB}" \
23627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23633 .PHONY: maybe-install-info-libiconv install-info-libiconv
23634 maybe-install-info-libiconv:
23636 maybe-install-info-libiconv: install-info-libiconv
23638 # libiconv doesn't support install-info.
23639 install-info-libiconv:
23643 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
23644 maybe-install-pdf-libiconv:
23646 maybe-install-pdf-libiconv: install-pdf-libiconv
23648 # libiconv doesn't support install-pdf.
23649 install-pdf-libiconv:
23653 .PHONY: maybe-install-html-libiconv install-html-libiconv
23654 maybe-install-html-libiconv:
23656 maybe-install-html-libiconv: install-html-libiconv
23658 # libiconv doesn't support install-html.
23659 install-html-libiconv:
23663 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
23664 maybe-installcheck-libiconv:
23666 maybe-installcheck-libiconv: installcheck-libiconv
23668 installcheck-libiconv: \
23670 @: $(MAKE); $(unstage)
23671 @[ -f ./libiconv/Makefile ] || exit 0; \
23672 r=`${PWD_COMMAND}`; export r; \
23673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23675 for flag in $(EXTRA_HOST_FLAGS) ; do \
23676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23678 echo "Doing installcheck in libiconv" ; \
23679 (cd $(HOST_SUBDIR)/libiconv && \
23680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23682 "RANLIB=$${RANLIB}" \
23683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23689 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
23690 maybe-mostlyclean-libiconv:
23692 maybe-mostlyclean-libiconv: mostlyclean-libiconv
23694 mostlyclean-libiconv:
23695 @: $(MAKE); $(unstage)
23696 @[ -f ./libiconv/Makefile ] || exit 0; \
23697 r=`${PWD_COMMAND}`; export r; \
23698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23700 for flag in $(EXTRA_HOST_FLAGS) ; do \
23701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23703 echo "Doing mostlyclean in libiconv" ; \
23704 (cd $(HOST_SUBDIR)/libiconv && \
23705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23707 "RANLIB=$${RANLIB}" \
23708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23714 .PHONY: maybe-clean-libiconv clean-libiconv
23715 maybe-clean-libiconv:
23717 maybe-clean-libiconv: clean-libiconv
23720 @: $(MAKE); $(unstage)
23721 @[ -f ./libiconv/Makefile ] || exit 0; \
23722 r=`${PWD_COMMAND}`; export r; \
23723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23725 for flag in $(EXTRA_HOST_FLAGS) ; do \
23726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23728 echo "Doing clean in libiconv" ; \
23729 (cd $(HOST_SUBDIR)/libiconv && \
23730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23732 "RANLIB=$${RANLIB}" \
23733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23739 .PHONY: maybe-distclean-libiconv distclean-libiconv
23740 maybe-distclean-libiconv:
23742 maybe-distclean-libiconv: distclean-libiconv
23744 distclean-libiconv:
23745 @: $(MAKE); $(unstage)
23746 @[ -f ./libiconv/Makefile ] || exit 0; \
23747 r=`${PWD_COMMAND}`; export r; \
23748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23750 for flag in $(EXTRA_HOST_FLAGS) ; do \
23751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23753 echo "Doing distclean in libiconv" ; \
23754 (cd $(HOST_SUBDIR)/libiconv && \
23755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23757 "RANLIB=$${RANLIB}" \
23758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23764 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
23765 maybe-maintainer-clean-libiconv:
23767 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
23769 maintainer-clean-libiconv:
23770 @: $(MAKE); $(unstage)
23771 @[ -f ./libiconv/Makefile ] || exit 0; \
23772 r=`${PWD_COMMAND}`; export r; \
23773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23775 for flag in $(EXTRA_HOST_FLAGS) ; do \
23776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23778 echo "Doing maintainer-clean in libiconv" ; \
23779 (cd $(HOST_SUBDIR)/libiconv && \
23780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23782 "RANLIB=$${RANLIB}" \
23783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23784 maintainer-clean) \
23791 .PHONY: configure-m4 maybe-configure-m4
23792 maybe-configure-m4:
23794 configure-m4: stage_current
23795 @endif gcc-bootstrap
23797 maybe-configure-m4: configure-m4
23799 @: $(MAKE); $(unstage)
23800 @r=`${PWD_COMMAND}`; export r; \
23801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23802 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23805 echo Configuring in $(HOST_SUBDIR)/m4; \
23806 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23807 case $(srcdir) in \
23808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23809 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23812 srcdiroption="--srcdir=$${topdir}/m4"; \
23813 libsrcdir="$$s/m4"; \
23814 $(SHELL) $${libsrcdir}/configure \
23815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23816 --target=${target_alias} $${srcdiroption} \
23824 .PHONY: all-m4 maybe-all-m4
23827 all-m4: stage_current
23828 @endif gcc-bootstrap
23831 maybe-all-m4: all-m4
23832 all-m4: configure-m4
23833 @: $(MAKE); $(unstage)
23834 @r=`${PWD_COMMAND}`; export r; \
23835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23837 (cd $(HOST_SUBDIR)/m4 && \
23838 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23845 .PHONY: check-m4 maybe-check-m4
23848 maybe-check-m4: check-m4
23851 @: $(MAKE); $(unstage)
23852 @r=`${PWD_COMMAND}`; export r; \
23853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23855 (cd $(HOST_SUBDIR)/m4 && \
23856 $(MAKE) $(FLAGS_TO_PASS) check)
23860 .PHONY: install-m4 maybe-install-m4
23863 maybe-install-m4: install-m4
23865 install-m4: installdirs
23866 @: $(MAKE); $(unstage)
23867 @r=`${PWD_COMMAND}`; export r; \
23868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23870 (cd $(HOST_SUBDIR)/m4 && \
23871 $(MAKE) $(FLAGS_TO_PASS) install)
23875 .PHONY: install-strip-m4 maybe-install-strip-m4
23876 maybe-install-strip-m4:
23878 maybe-install-strip-m4: install-strip-m4
23880 install-strip-m4: installdirs
23881 @: $(MAKE); $(unstage)
23882 @r=`${PWD_COMMAND}`; export r; \
23883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23885 (cd $(HOST_SUBDIR)/m4 && \
23886 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23890 # Other targets (info, dvi, pdf, etc.)
23892 .PHONY: maybe-info-m4 info-m4
23895 maybe-info-m4: info-m4
23899 @: $(MAKE); $(unstage)
23900 @[ -f ./m4/Makefile ] || exit 0; \
23901 r=`${PWD_COMMAND}`; export r; \
23902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23904 for flag in $(EXTRA_HOST_FLAGS) ; do \
23905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23907 echo "Doing info in m4" ; \
23908 (cd $(HOST_SUBDIR)/m4 && \
23909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23911 "RANLIB=$${RANLIB}" \
23912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23918 .PHONY: maybe-dvi-m4 dvi-m4
23921 maybe-dvi-m4: dvi-m4
23925 @: $(MAKE); $(unstage)
23926 @[ -f ./m4/Makefile ] || exit 0; \
23927 r=`${PWD_COMMAND}`; export r; \
23928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23930 for flag in $(EXTRA_HOST_FLAGS) ; do \
23931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23933 echo "Doing dvi in m4" ; \
23934 (cd $(HOST_SUBDIR)/m4 && \
23935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23937 "RANLIB=$${RANLIB}" \
23938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23944 .PHONY: maybe-pdf-m4 pdf-m4
23947 maybe-pdf-m4: pdf-m4
23951 @: $(MAKE); $(unstage)
23952 @[ -f ./m4/Makefile ] || exit 0; \
23953 r=`${PWD_COMMAND}`; export r; \
23954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23956 for flag in $(EXTRA_HOST_FLAGS) ; do \
23957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23959 echo "Doing pdf in m4" ; \
23960 (cd $(HOST_SUBDIR)/m4 && \
23961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23963 "RANLIB=$${RANLIB}" \
23964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23970 .PHONY: maybe-html-m4 html-m4
23973 maybe-html-m4: html-m4
23977 @: $(MAKE); $(unstage)
23978 @[ -f ./m4/Makefile ] || exit 0; \
23979 r=`${PWD_COMMAND}`; export r; \
23980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23982 for flag in $(EXTRA_HOST_FLAGS) ; do \
23983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23985 echo "Doing html in m4" ; \
23986 (cd $(HOST_SUBDIR)/m4 && \
23987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23989 "RANLIB=$${RANLIB}" \
23990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23996 .PHONY: maybe-TAGS-m4 TAGS-m4
23999 maybe-TAGS-m4: TAGS-m4
24003 @: $(MAKE); $(unstage)
24004 @[ -f ./m4/Makefile ] || exit 0; \
24005 r=`${PWD_COMMAND}`; export r; \
24006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24008 for flag in $(EXTRA_HOST_FLAGS) ; do \
24009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24011 echo "Doing TAGS in m4" ; \
24012 (cd $(HOST_SUBDIR)/m4 && \
24013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24015 "RANLIB=$${RANLIB}" \
24016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24022 .PHONY: maybe-install-info-m4 install-info-m4
24023 maybe-install-info-m4:
24025 maybe-install-info-m4: install-info-m4
24030 @: $(MAKE); $(unstage)
24031 @[ -f ./m4/Makefile ] || exit 0; \
24032 r=`${PWD_COMMAND}`; export r; \
24033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24035 for flag in $(EXTRA_HOST_FLAGS) ; do \
24036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24038 echo "Doing install-info in m4" ; \
24039 (cd $(HOST_SUBDIR)/m4 && \
24040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24042 "RANLIB=$${RANLIB}" \
24043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24049 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24050 maybe-install-pdf-m4:
24052 maybe-install-pdf-m4: install-pdf-m4
24057 @: $(MAKE); $(unstage)
24058 @[ -f ./m4/Makefile ] || exit 0; \
24059 r=`${PWD_COMMAND}`; export r; \
24060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24062 for flag in $(EXTRA_HOST_FLAGS) ; do \
24063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24065 echo "Doing install-pdf in m4" ; \
24066 (cd $(HOST_SUBDIR)/m4 && \
24067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24069 "RANLIB=$${RANLIB}" \
24070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24076 .PHONY: maybe-install-html-m4 install-html-m4
24077 maybe-install-html-m4:
24079 maybe-install-html-m4: install-html-m4
24084 @: $(MAKE); $(unstage)
24085 @[ -f ./m4/Makefile ] || exit 0; \
24086 r=`${PWD_COMMAND}`; export r; \
24087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24089 for flag in $(EXTRA_HOST_FLAGS) ; do \
24090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24092 echo "Doing install-html in m4" ; \
24093 (cd $(HOST_SUBDIR)/m4 && \
24094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24096 "RANLIB=$${RANLIB}" \
24097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24103 .PHONY: maybe-installcheck-m4 installcheck-m4
24104 maybe-installcheck-m4:
24106 maybe-installcheck-m4: installcheck-m4
24110 @: $(MAKE); $(unstage)
24111 @[ -f ./m4/Makefile ] || exit 0; \
24112 r=`${PWD_COMMAND}`; export r; \
24113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24115 for flag in $(EXTRA_HOST_FLAGS) ; do \
24116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24118 echo "Doing installcheck in m4" ; \
24119 (cd $(HOST_SUBDIR)/m4 && \
24120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24122 "RANLIB=$${RANLIB}" \
24123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24129 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24130 maybe-mostlyclean-m4:
24132 maybe-mostlyclean-m4: mostlyclean-m4
24135 @: $(MAKE); $(unstage)
24136 @[ -f ./m4/Makefile ] || exit 0; \
24137 r=`${PWD_COMMAND}`; export r; \
24138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24140 for flag in $(EXTRA_HOST_FLAGS) ; do \
24141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24143 echo "Doing mostlyclean in m4" ; \
24144 (cd $(HOST_SUBDIR)/m4 && \
24145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24147 "RANLIB=$${RANLIB}" \
24148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24154 .PHONY: maybe-clean-m4 clean-m4
24157 maybe-clean-m4: clean-m4
24160 @: $(MAKE); $(unstage)
24161 @[ -f ./m4/Makefile ] || exit 0; \
24162 r=`${PWD_COMMAND}`; export r; \
24163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24165 for flag in $(EXTRA_HOST_FLAGS) ; do \
24166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24168 echo "Doing clean in m4" ; \
24169 (cd $(HOST_SUBDIR)/m4 && \
24170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24172 "RANLIB=$${RANLIB}" \
24173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24179 .PHONY: maybe-distclean-m4 distclean-m4
24180 maybe-distclean-m4:
24182 maybe-distclean-m4: distclean-m4
24185 @: $(MAKE); $(unstage)
24186 @[ -f ./m4/Makefile ] || exit 0; \
24187 r=`${PWD_COMMAND}`; export r; \
24188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24190 for flag in $(EXTRA_HOST_FLAGS) ; do \
24191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24193 echo "Doing distclean in m4" ; \
24194 (cd $(HOST_SUBDIR)/m4 && \
24195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24197 "RANLIB=$${RANLIB}" \
24198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24204 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24205 maybe-maintainer-clean-m4:
24207 maybe-maintainer-clean-m4: maintainer-clean-m4
24209 maintainer-clean-m4:
24210 @: $(MAKE); $(unstage)
24211 @[ -f ./m4/Makefile ] || exit 0; \
24212 r=`${PWD_COMMAND}`; export r; \
24213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24215 for flag in $(EXTRA_HOST_FLAGS) ; do \
24216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24218 echo "Doing maintainer-clean in m4" ; \
24219 (cd $(HOST_SUBDIR)/m4 && \
24220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24222 "RANLIB=$${RANLIB}" \
24223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24224 maintainer-clean) \
24231 .PHONY: configure-readline maybe-configure-readline
24232 maybe-configure-readline:
24234 configure-readline: stage_current
24235 @endif gcc-bootstrap
24237 maybe-configure-readline: configure-readline
24238 configure-readline:
24239 @: $(MAKE); $(unstage)
24240 @r=`${PWD_COMMAND}`; export r; \
24241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24242 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24245 echo Configuring in $(HOST_SUBDIR)/readline; \
24246 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24247 case $(srcdir) in \
24248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24249 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24252 srcdiroption="--srcdir=$${topdir}/readline"; \
24253 libsrcdir="$$s/readline"; \
24254 $(SHELL) $${libsrcdir}/configure \
24255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24256 --target=${target_alias} $${srcdiroption} \
24264 .PHONY: all-readline maybe-all-readline
24265 maybe-all-readline:
24267 all-readline: stage_current
24268 @endif gcc-bootstrap
24270 TARGET-readline=all
24271 maybe-all-readline: all-readline
24272 all-readline: configure-readline
24273 @: $(MAKE); $(unstage)
24274 @r=`${PWD_COMMAND}`; export r; \
24275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24277 (cd $(HOST_SUBDIR)/readline && \
24278 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24279 $(TARGET-readline))
24285 .PHONY: check-readline maybe-check-readline
24286 maybe-check-readline:
24288 maybe-check-readline: check-readline
24291 @: $(MAKE); $(unstage)
24292 @r=`${PWD_COMMAND}`; export r; \
24293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24295 (cd $(HOST_SUBDIR)/readline && \
24296 $(MAKE) $(FLAGS_TO_PASS) check)
24300 .PHONY: install-readline maybe-install-readline
24301 maybe-install-readline:
24303 maybe-install-readline: install-readline
24305 install-readline: installdirs
24306 @: $(MAKE); $(unstage)
24307 @r=`${PWD_COMMAND}`; export r; \
24308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24310 (cd $(HOST_SUBDIR)/readline && \
24311 $(MAKE) $(FLAGS_TO_PASS) install)
24315 .PHONY: install-strip-readline maybe-install-strip-readline
24316 maybe-install-strip-readline:
24318 maybe-install-strip-readline: install-strip-readline
24320 install-strip-readline: installdirs
24321 @: $(MAKE); $(unstage)
24322 @r=`${PWD_COMMAND}`; export r; \
24323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24325 (cd $(HOST_SUBDIR)/readline && \
24326 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24330 # Other targets (info, dvi, pdf, etc.)
24332 .PHONY: maybe-info-readline info-readline
24333 maybe-info-readline:
24335 maybe-info-readline: info-readline
24339 @: $(MAKE); $(unstage)
24340 @[ -f ./readline/Makefile ] || exit 0; \
24341 r=`${PWD_COMMAND}`; export r; \
24342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24344 for flag in $(EXTRA_HOST_FLAGS) ; do \
24345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24347 echo "Doing info in readline" ; \
24348 (cd $(HOST_SUBDIR)/readline && \
24349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24351 "RANLIB=$${RANLIB}" \
24352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24358 .PHONY: maybe-dvi-readline dvi-readline
24359 maybe-dvi-readline:
24361 maybe-dvi-readline: dvi-readline
24365 @: $(MAKE); $(unstage)
24366 @[ -f ./readline/Makefile ] || exit 0; \
24367 r=`${PWD_COMMAND}`; export r; \
24368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24370 for flag in $(EXTRA_HOST_FLAGS) ; do \
24371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24373 echo "Doing dvi in readline" ; \
24374 (cd $(HOST_SUBDIR)/readline && \
24375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24377 "RANLIB=$${RANLIB}" \
24378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24384 .PHONY: maybe-pdf-readline pdf-readline
24385 maybe-pdf-readline:
24387 maybe-pdf-readline: pdf-readline
24391 @: $(MAKE); $(unstage)
24392 @[ -f ./readline/Makefile ] || exit 0; \
24393 r=`${PWD_COMMAND}`; export r; \
24394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24396 for flag in $(EXTRA_HOST_FLAGS) ; do \
24397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24399 echo "Doing pdf in readline" ; \
24400 (cd $(HOST_SUBDIR)/readline && \
24401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24403 "RANLIB=$${RANLIB}" \
24404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24410 .PHONY: maybe-html-readline html-readline
24411 maybe-html-readline:
24413 maybe-html-readline: html-readline
24417 @: $(MAKE); $(unstage)
24418 @[ -f ./readline/Makefile ] || exit 0; \
24419 r=`${PWD_COMMAND}`; export r; \
24420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24422 for flag in $(EXTRA_HOST_FLAGS) ; do \
24423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24425 echo "Doing html in readline" ; \
24426 (cd $(HOST_SUBDIR)/readline && \
24427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24429 "RANLIB=$${RANLIB}" \
24430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24436 .PHONY: maybe-TAGS-readline TAGS-readline
24437 maybe-TAGS-readline:
24439 maybe-TAGS-readline: TAGS-readline
24443 @: $(MAKE); $(unstage)
24444 @[ -f ./readline/Makefile ] || exit 0; \
24445 r=`${PWD_COMMAND}`; export r; \
24446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24448 for flag in $(EXTRA_HOST_FLAGS) ; do \
24449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24451 echo "Doing TAGS in readline" ; \
24452 (cd $(HOST_SUBDIR)/readline && \
24453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24455 "RANLIB=$${RANLIB}" \
24456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24462 .PHONY: maybe-install-info-readline install-info-readline
24463 maybe-install-info-readline:
24465 maybe-install-info-readline: install-info-readline
24467 install-info-readline: \
24468 configure-readline \
24470 @: $(MAKE); $(unstage)
24471 @[ -f ./readline/Makefile ] || exit 0; \
24472 r=`${PWD_COMMAND}`; export r; \
24473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24475 for flag in $(EXTRA_HOST_FLAGS) ; do \
24476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24478 echo "Doing install-info in readline" ; \
24479 (cd $(HOST_SUBDIR)/readline && \
24480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24482 "RANLIB=$${RANLIB}" \
24483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24489 .PHONY: maybe-install-pdf-readline install-pdf-readline
24490 maybe-install-pdf-readline:
24492 maybe-install-pdf-readline: install-pdf-readline
24494 install-pdf-readline: \
24495 configure-readline \
24497 @: $(MAKE); $(unstage)
24498 @[ -f ./readline/Makefile ] || exit 0; \
24499 r=`${PWD_COMMAND}`; export r; \
24500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24502 for flag in $(EXTRA_HOST_FLAGS) ; do \
24503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24505 echo "Doing install-pdf in readline" ; \
24506 (cd $(HOST_SUBDIR)/readline && \
24507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24509 "RANLIB=$${RANLIB}" \
24510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24516 .PHONY: maybe-install-html-readline install-html-readline
24517 maybe-install-html-readline:
24519 maybe-install-html-readline: install-html-readline
24521 install-html-readline: \
24522 configure-readline \
24524 @: $(MAKE); $(unstage)
24525 @[ -f ./readline/Makefile ] || exit 0; \
24526 r=`${PWD_COMMAND}`; export r; \
24527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24529 for flag in $(EXTRA_HOST_FLAGS) ; do \
24530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24532 echo "Doing install-html in readline" ; \
24533 (cd $(HOST_SUBDIR)/readline && \
24534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24536 "RANLIB=$${RANLIB}" \
24537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24543 .PHONY: maybe-installcheck-readline installcheck-readline
24544 maybe-installcheck-readline:
24546 maybe-installcheck-readline: installcheck-readline
24548 installcheck-readline: \
24550 @: $(MAKE); $(unstage)
24551 @[ -f ./readline/Makefile ] || exit 0; \
24552 r=`${PWD_COMMAND}`; export r; \
24553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24555 for flag in $(EXTRA_HOST_FLAGS) ; do \
24556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24558 echo "Doing installcheck in readline" ; \
24559 (cd $(HOST_SUBDIR)/readline && \
24560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24562 "RANLIB=$${RANLIB}" \
24563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24569 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
24570 maybe-mostlyclean-readline:
24572 maybe-mostlyclean-readline: mostlyclean-readline
24574 mostlyclean-readline:
24575 @: $(MAKE); $(unstage)
24576 @[ -f ./readline/Makefile ] || exit 0; \
24577 r=`${PWD_COMMAND}`; export r; \
24578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24580 for flag in $(EXTRA_HOST_FLAGS) ; do \
24581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24583 echo "Doing mostlyclean in readline" ; \
24584 (cd $(HOST_SUBDIR)/readline && \
24585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24587 "RANLIB=$${RANLIB}" \
24588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24594 .PHONY: maybe-clean-readline clean-readline
24595 maybe-clean-readline:
24597 maybe-clean-readline: clean-readline
24600 @: $(MAKE); $(unstage)
24601 @[ -f ./readline/Makefile ] || exit 0; \
24602 r=`${PWD_COMMAND}`; export r; \
24603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24605 for flag in $(EXTRA_HOST_FLAGS) ; do \
24606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24608 echo "Doing clean in readline" ; \
24609 (cd $(HOST_SUBDIR)/readline && \
24610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24612 "RANLIB=$${RANLIB}" \
24613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24619 .PHONY: maybe-distclean-readline distclean-readline
24620 maybe-distclean-readline:
24622 maybe-distclean-readline: distclean-readline
24624 distclean-readline:
24625 @: $(MAKE); $(unstage)
24626 @[ -f ./readline/Makefile ] || exit 0; \
24627 r=`${PWD_COMMAND}`; export r; \
24628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24630 for flag in $(EXTRA_HOST_FLAGS) ; do \
24631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24633 echo "Doing distclean in readline" ; \
24634 (cd $(HOST_SUBDIR)/readline && \
24635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24637 "RANLIB=$${RANLIB}" \
24638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24644 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
24645 maybe-maintainer-clean-readline:
24647 maybe-maintainer-clean-readline: maintainer-clean-readline
24649 maintainer-clean-readline:
24650 @: $(MAKE); $(unstage)
24651 @[ -f ./readline/Makefile ] || exit 0; \
24652 r=`${PWD_COMMAND}`; export r; \
24653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24655 for flag in $(EXTRA_HOST_FLAGS) ; do \
24656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24658 echo "Doing maintainer-clean in readline" ; \
24659 (cd $(HOST_SUBDIR)/readline && \
24660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24662 "RANLIB=$${RANLIB}" \
24663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24664 maintainer-clean) \
24671 .PHONY: configure-sid maybe-configure-sid
24672 maybe-configure-sid:
24674 configure-sid: stage_current
24675 @endif gcc-bootstrap
24677 maybe-configure-sid: configure-sid
24679 @: $(MAKE); $(unstage)
24680 @r=`${PWD_COMMAND}`; export r; \
24681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24682 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
24683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
24685 echo Configuring in $(HOST_SUBDIR)/sid; \
24686 cd "$(HOST_SUBDIR)/sid" || exit 1; \
24687 case $(srcdir) in \
24688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24689 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
24690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24692 srcdiroption="--srcdir=$${topdir}/sid"; \
24693 libsrcdir="$$s/sid"; \
24694 $(SHELL) $${libsrcdir}/configure \
24695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24696 --target=${target_alias} $${srcdiroption} \
24704 .PHONY: all-sid maybe-all-sid
24707 all-sid: stage_current
24708 @endif gcc-bootstrap
24711 maybe-all-sid: all-sid
24712 all-sid: configure-sid
24713 @: $(MAKE); $(unstage)
24714 @r=`${PWD_COMMAND}`; export r; \
24715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24717 (cd $(HOST_SUBDIR)/sid && \
24718 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24725 .PHONY: check-sid maybe-check-sid
24728 maybe-check-sid: check-sid
24731 @: $(MAKE); $(unstage)
24732 @r=`${PWD_COMMAND}`; export r; \
24733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24735 (cd $(HOST_SUBDIR)/sid && \
24736 $(MAKE) $(FLAGS_TO_PASS) check)
24740 .PHONY: install-sid maybe-install-sid
24743 maybe-install-sid: install-sid
24745 install-sid: installdirs
24746 @: $(MAKE); $(unstage)
24747 @r=`${PWD_COMMAND}`; export r; \
24748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24750 (cd $(HOST_SUBDIR)/sid && \
24751 $(MAKE) $(FLAGS_TO_PASS) install)
24755 .PHONY: install-strip-sid maybe-install-strip-sid
24756 maybe-install-strip-sid:
24758 maybe-install-strip-sid: install-strip-sid
24760 install-strip-sid: installdirs
24761 @: $(MAKE); $(unstage)
24762 @r=`${PWD_COMMAND}`; export r; \
24763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24765 (cd $(HOST_SUBDIR)/sid && \
24766 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24770 # Other targets (info, dvi, pdf, etc.)
24772 .PHONY: maybe-info-sid info-sid
24775 maybe-info-sid: info-sid
24779 @: $(MAKE); $(unstage)
24780 @[ -f ./sid/Makefile ] || exit 0; \
24781 r=`${PWD_COMMAND}`; export r; \
24782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24784 for flag in $(EXTRA_HOST_FLAGS) ; do \
24785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24787 echo "Doing info in sid" ; \
24788 (cd $(HOST_SUBDIR)/sid && \
24789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24791 "RANLIB=$${RANLIB}" \
24792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24798 .PHONY: maybe-dvi-sid dvi-sid
24801 maybe-dvi-sid: dvi-sid
24805 @: $(MAKE); $(unstage)
24806 @[ -f ./sid/Makefile ] || exit 0; \
24807 r=`${PWD_COMMAND}`; export r; \
24808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24810 for flag in $(EXTRA_HOST_FLAGS) ; do \
24811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24813 echo "Doing dvi in sid" ; \
24814 (cd $(HOST_SUBDIR)/sid && \
24815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24817 "RANLIB=$${RANLIB}" \
24818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24824 .PHONY: maybe-pdf-sid pdf-sid
24827 maybe-pdf-sid: pdf-sid
24831 @: $(MAKE); $(unstage)
24832 @[ -f ./sid/Makefile ] || exit 0; \
24833 r=`${PWD_COMMAND}`; export r; \
24834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24836 for flag in $(EXTRA_HOST_FLAGS) ; do \
24837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24839 echo "Doing pdf in sid" ; \
24840 (cd $(HOST_SUBDIR)/sid && \
24841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24843 "RANLIB=$${RANLIB}" \
24844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24850 .PHONY: maybe-html-sid html-sid
24853 maybe-html-sid: html-sid
24857 @: $(MAKE); $(unstage)
24858 @[ -f ./sid/Makefile ] || exit 0; \
24859 r=`${PWD_COMMAND}`; export r; \
24860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24862 for flag in $(EXTRA_HOST_FLAGS) ; do \
24863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24865 echo "Doing html in sid" ; \
24866 (cd $(HOST_SUBDIR)/sid && \
24867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24869 "RANLIB=$${RANLIB}" \
24870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24876 .PHONY: maybe-TAGS-sid TAGS-sid
24879 maybe-TAGS-sid: TAGS-sid
24883 @: $(MAKE); $(unstage)
24884 @[ -f ./sid/Makefile ] || exit 0; \
24885 r=`${PWD_COMMAND}`; export r; \
24886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24888 for flag in $(EXTRA_HOST_FLAGS) ; do \
24889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24891 echo "Doing TAGS in sid" ; \
24892 (cd $(HOST_SUBDIR)/sid && \
24893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24895 "RANLIB=$${RANLIB}" \
24896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24902 .PHONY: maybe-install-info-sid install-info-sid
24903 maybe-install-info-sid:
24905 maybe-install-info-sid: install-info-sid
24907 install-info-sid: \
24910 @: $(MAKE); $(unstage)
24911 @[ -f ./sid/Makefile ] || exit 0; \
24912 r=`${PWD_COMMAND}`; export r; \
24913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24915 for flag in $(EXTRA_HOST_FLAGS) ; do \
24916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24918 echo "Doing install-info in sid" ; \
24919 (cd $(HOST_SUBDIR)/sid && \
24920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24922 "RANLIB=$${RANLIB}" \
24923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24929 .PHONY: maybe-install-pdf-sid install-pdf-sid
24930 maybe-install-pdf-sid:
24932 maybe-install-pdf-sid: install-pdf-sid
24937 @: $(MAKE); $(unstage)
24938 @[ -f ./sid/Makefile ] || exit 0; \
24939 r=`${PWD_COMMAND}`; export r; \
24940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24942 for flag in $(EXTRA_HOST_FLAGS) ; do \
24943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24945 echo "Doing install-pdf in sid" ; \
24946 (cd $(HOST_SUBDIR)/sid && \
24947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24949 "RANLIB=$${RANLIB}" \
24950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24956 .PHONY: maybe-install-html-sid install-html-sid
24957 maybe-install-html-sid:
24959 maybe-install-html-sid: install-html-sid
24961 install-html-sid: \
24964 @: $(MAKE); $(unstage)
24965 @[ -f ./sid/Makefile ] || exit 0; \
24966 r=`${PWD_COMMAND}`; export r; \
24967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24969 for flag in $(EXTRA_HOST_FLAGS) ; do \
24970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24972 echo "Doing install-html in sid" ; \
24973 (cd $(HOST_SUBDIR)/sid && \
24974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24976 "RANLIB=$${RANLIB}" \
24977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24983 .PHONY: maybe-installcheck-sid installcheck-sid
24984 maybe-installcheck-sid:
24986 maybe-installcheck-sid: installcheck-sid
24988 installcheck-sid: \
24990 @: $(MAKE); $(unstage)
24991 @[ -f ./sid/Makefile ] || exit 0; \
24992 r=`${PWD_COMMAND}`; export r; \
24993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24995 for flag in $(EXTRA_HOST_FLAGS) ; do \
24996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24998 echo "Doing installcheck in sid" ; \
24999 (cd $(HOST_SUBDIR)/sid && \
25000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25002 "RANLIB=$${RANLIB}" \
25003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25009 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25010 maybe-mostlyclean-sid:
25012 maybe-mostlyclean-sid: mostlyclean-sid
25015 @: $(MAKE); $(unstage)
25016 @[ -f ./sid/Makefile ] || exit 0; \
25017 r=`${PWD_COMMAND}`; export r; \
25018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25020 for flag in $(EXTRA_HOST_FLAGS) ; do \
25021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25023 echo "Doing mostlyclean in sid" ; \
25024 (cd $(HOST_SUBDIR)/sid && \
25025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25027 "RANLIB=$${RANLIB}" \
25028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25034 .PHONY: maybe-clean-sid clean-sid
25037 maybe-clean-sid: clean-sid
25040 @: $(MAKE); $(unstage)
25041 @[ -f ./sid/Makefile ] || exit 0; \
25042 r=`${PWD_COMMAND}`; export r; \
25043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25045 for flag in $(EXTRA_HOST_FLAGS) ; do \
25046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25048 echo "Doing clean in sid" ; \
25049 (cd $(HOST_SUBDIR)/sid && \
25050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25052 "RANLIB=$${RANLIB}" \
25053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25059 .PHONY: maybe-distclean-sid distclean-sid
25060 maybe-distclean-sid:
25062 maybe-distclean-sid: distclean-sid
25065 @: $(MAKE); $(unstage)
25066 @[ -f ./sid/Makefile ] || exit 0; \
25067 r=`${PWD_COMMAND}`; export r; \
25068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25070 for flag in $(EXTRA_HOST_FLAGS) ; do \
25071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25073 echo "Doing distclean in sid" ; \
25074 (cd $(HOST_SUBDIR)/sid && \
25075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25077 "RANLIB=$${RANLIB}" \
25078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25084 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25085 maybe-maintainer-clean-sid:
25087 maybe-maintainer-clean-sid: maintainer-clean-sid
25089 maintainer-clean-sid:
25090 @: $(MAKE); $(unstage)
25091 @[ -f ./sid/Makefile ] || exit 0; \
25092 r=`${PWD_COMMAND}`; export r; \
25093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25095 for flag in $(EXTRA_HOST_FLAGS) ; do \
25096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25098 echo "Doing maintainer-clean in sid" ; \
25099 (cd $(HOST_SUBDIR)/sid && \
25100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25102 "RANLIB=$${RANLIB}" \
25103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25104 maintainer-clean) \
25111 .PHONY: configure-sim maybe-configure-sim
25112 maybe-configure-sim:
25114 configure-sim: stage_current
25115 @endif gcc-bootstrap
25117 maybe-configure-sim: configure-sim
25119 @: $(MAKE); $(unstage)
25120 @r=`${PWD_COMMAND}`; export r; \
25121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25122 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25123 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25125 echo Configuring in $(HOST_SUBDIR)/sim; \
25126 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25127 case $(srcdir) in \
25128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25129 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25132 srcdiroption="--srcdir=$${topdir}/sim"; \
25133 libsrcdir="$$s/sim"; \
25134 $(SHELL) $${libsrcdir}/configure \
25135 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25136 --target=${target_alias} $${srcdiroption} \
25144 .PHONY: all-sim maybe-all-sim
25147 all-sim: stage_current
25148 @endif gcc-bootstrap
25151 maybe-all-sim: all-sim
25152 all-sim: configure-sim
25153 @: $(MAKE); $(unstage)
25154 @r=`${PWD_COMMAND}`; export r; \
25155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25157 (cd $(HOST_SUBDIR)/sim && \
25158 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25165 .PHONY: check-sim maybe-check-sim
25168 maybe-check-sim: check-sim
25171 @: $(MAKE); $(unstage)
25172 @r=`${PWD_COMMAND}`; export r; \
25173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25175 (cd $(HOST_SUBDIR)/sim && \
25176 $(MAKE) $(FLAGS_TO_PASS) check)
25180 .PHONY: install-sim maybe-install-sim
25183 maybe-install-sim: install-sim
25185 install-sim: installdirs
25186 @: $(MAKE); $(unstage)
25187 @r=`${PWD_COMMAND}`; export r; \
25188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25190 (cd $(HOST_SUBDIR)/sim && \
25191 $(MAKE) $(FLAGS_TO_PASS) install)
25195 .PHONY: install-strip-sim maybe-install-strip-sim
25196 maybe-install-strip-sim:
25198 maybe-install-strip-sim: install-strip-sim
25200 install-strip-sim: installdirs
25201 @: $(MAKE); $(unstage)
25202 @r=`${PWD_COMMAND}`; export r; \
25203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25205 (cd $(HOST_SUBDIR)/sim && \
25206 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25210 # Other targets (info, dvi, pdf, etc.)
25212 .PHONY: maybe-info-sim info-sim
25215 maybe-info-sim: info-sim
25219 @: $(MAKE); $(unstage)
25220 @[ -f ./sim/Makefile ] || exit 0; \
25221 r=`${PWD_COMMAND}`; export r; \
25222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25224 for flag in $(EXTRA_HOST_FLAGS) ; do \
25225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25227 echo "Doing info in sim" ; \
25228 (cd $(HOST_SUBDIR)/sim && \
25229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25231 "RANLIB=$${RANLIB}" \
25232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25238 .PHONY: maybe-dvi-sim dvi-sim
25241 maybe-dvi-sim: dvi-sim
25245 @: $(MAKE); $(unstage)
25246 @[ -f ./sim/Makefile ] || exit 0; \
25247 r=`${PWD_COMMAND}`; export r; \
25248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25250 for flag in $(EXTRA_HOST_FLAGS) ; do \
25251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25253 echo "Doing dvi in sim" ; \
25254 (cd $(HOST_SUBDIR)/sim && \
25255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25257 "RANLIB=$${RANLIB}" \
25258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25264 .PHONY: maybe-pdf-sim pdf-sim
25267 maybe-pdf-sim: pdf-sim
25271 @: $(MAKE); $(unstage)
25272 @[ -f ./sim/Makefile ] || exit 0; \
25273 r=`${PWD_COMMAND}`; export r; \
25274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25276 for flag in $(EXTRA_HOST_FLAGS) ; do \
25277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25279 echo "Doing pdf in sim" ; \
25280 (cd $(HOST_SUBDIR)/sim && \
25281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25283 "RANLIB=$${RANLIB}" \
25284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25290 .PHONY: maybe-html-sim html-sim
25293 maybe-html-sim: html-sim
25297 @: $(MAKE); $(unstage)
25298 @[ -f ./sim/Makefile ] || exit 0; \
25299 r=`${PWD_COMMAND}`; export r; \
25300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25302 for flag in $(EXTRA_HOST_FLAGS) ; do \
25303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25305 echo "Doing html in sim" ; \
25306 (cd $(HOST_SUBDIR)/sim && \
25307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25309 "RANLIB=$${RANLIB}" \
25310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25316 .PHONY: maybe-TAGS-sim TAGS-sim
25319 maybe-TAGS-sim: TAGS-sim
25323 @: $(MAKE); $(unstage)
25324 @[ -f ./sim/Makefile ] || exit 0; \
25325 r=`${PWD_COMMAND}`; export r; \
25326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25328 for flag in $(EXTRA_HOST_FLAGS) ; do \
25329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25331 echo "Doing TAGS in sim" ; \
25332 (cd $(HOST_SUBDIR)/sim && \
25333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25335 "RANLIB=$${RANLIB}" \
25336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25342 .PHONY: maybe-install-info-sim install-info-sim
25343 maybe-install-info-sim:
25345 maybe-install-info-sim: install-info-sim
25347 install-info-sim: \
25350 @: $(MAKE); $(unstage)
25351 @[ -f ./sim/Makefile ] || exit 0; \
25352 r=`${PWD_COMMAND}`; export r; \
25353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25355 for flag in $(EXTRA_HOST_FLAGS) ; do \
25356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25358 echo "Doing install-info in sim" ; \
25359 (cd $(HOST_SUBDIR)/sim && \
25360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25362 "RANLIB=$${RANLIB}" \
25363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25369 .PHONY: maybe-install-pdf-sim install-pdf-sim
25370 maybe-install-pdf-sim:
25372 maybe-install-pdf-sim: install-pdf-sim
25377 @: $(MAKE); $(unstage)
25378 @[ -f ./sim/Makefile ] || exit 0; \
25379 r=`${PWD_COMMAND}`; export r; \
25380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25382 for flag in $(EXTRA_HOST_FLAGS) ; do \
25383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25385 echo "Doing install-pdf in sim" ; \
25386 (cd $(HOST_SUBDIR)/sim && \
25387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25389 "RANLIB=$${RANLIB}" \
25390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25396 .PHONY: maybe-install-html-sim install-html-sim
25397 maybe-install-html-sim:
25399 maybe-install-html-sim: install-html-sim
25401 install-html-sim: \
25404 @: $(MAKE); $(unstage)
25405 @[ -f ./sim/Makefile ] || exit 0; \
25406 r=`${PWD_COMMAND}`; export r; \
25407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25409 for flag in $(EXTRA_HOST_FLAGS) ; do \
25410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25412 echo "Doing install-html in sim" ; \
25413 (cd $(HOST_SUBDIR)/sim && \
25414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25416 "RANLIB=$${RANLIB}" \
25417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25423 .PHONY: maybe-installcheck-sim installcheck-sim
25424 maybe-installcheck-sim:
25426 maybe-installcheck-sim: installcheck-sim
25428 installcheck-sim: \
25430 @: $(MAKE); $(unstage)
25431 @[ -f ./sim/Makefile ] || exit 0; \
25432 r=`${PWD_COMMAND}`; export r; \
25433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25435 for flag in $(EXTRA_HOST_FLAGS) ; do \
25436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25438 echo "Doing installcheck in sim" ; \
25439 (cd $(HOST_SUBDIR)/sim && \
25440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25442 "RANLIB=$${RANLIB}" \
25443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25449 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25450 maybe-mostlyclean-sim:
25452 maybe-mostlyclean-sim: mostlyclean-sim
25455 @: $(MAKE); $(unstage)
25456 @[ -f ./sim/Makefile ] || exit 0; \
25457 r=`${PWD_COMMAND}`; export r; \
25458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25460 for flag in $(EXTRA_HOST_FLAGS) ; do \
25461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25463 echo "Doing mostlyclean in sim" ; \
25464 (cd $(HOST_SUBDIR)/sim && \
25465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25467 "RANLIB=$${RANLIB}" \
25468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25474 .PHONY: maybe-clean-sim clean-sim
25477 maybe-clean-sim: clean-sim
25480 @: $(MAKE); $(unstage)
25481 @[ -f ./sim/Makefile ] || exit 0; \
25482 r=`${PWD_COMMAND}`; export r; \
25483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25485 for flag in $(EXTRA_HOST_FLAGS) ; do \
25486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25488 echo "Doing clean in sim" ; \
25489 (cd $(HOST_SUBDIR)/sim && \
25490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25492 "RANLIB=$${RANLIB}" \
25493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25499 .PHONY: maybe-distclean-sim distclean-sim
25500 maybe-distclean-sim:
25502 maybe-distclean-sim: distclean-sim
25505 @: $(MAKE); $(unstage)
25506 @[ -f ./sim/Makefile ] || exit 0; \
25507 r=`${PWD_COMMAND}`; export r; \
25508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25510 for flag in $(EXTRA_HOST_FLAGS) ; do \
25511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25513 echo "Doing distclean in sim" ; \
25514 (cd $(HOST_SUBDIR)/sim && \
25515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25517 "RANLIB=$${RANLIB}" \
25518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25524 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
25525 maybe-maintainer-clean-sim:
25527 maybe-maintainer-clean-sim: maintainer-clean-sim
25529 maintainer-clean-sim:
25530 @: $(MAKE); $(unstage)
25531 @[ -f ./sim/Makefile ] || exit 0; \
25532 r=`${PWD_COMMAND}`; export r; \
25533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25535 for flag in $(EXTRA_HOST_FLAGS) ; do \
25536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25538 echo "Doing maintainer-clean in sim" ; \
25539 (cd $(HOST_SUBDIR)/sim && \
25540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25542 "RANLIB=$${RANLIB}" \
25543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25544 maintainer-clean) \
25551 .PHONY: configure-texinfo maybe-configure-texinfo
25552 maybe-configure-texinfo:
25554 configure-texinfo: stage_current
25555 @endif gcc-bootstrap
25557 maybe-configure-texinfo: configure-texinfo
25559 @: $(MAKE); $(unstage)
25560 @r=`${PWD_COMMAND}`; export r; \
25561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25562 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
25563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
25565 echo Configuring in $(HOST_SUBDIR)/texinfo; \
25566 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
25567 case $(srcdir) in \
25568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25569 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
25570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25572 srcdiroption="--srcdir=$${topdir}/texinfo"; \
25573 libsrcdir="$$s/texinfo"; \
25574 $(SHELL) $${libsrcdir}/configure \
25575 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25576 --target=${target_alias} $${srcdiroption} \
25584 .PHONY: all-texinfo maybe-all-texinfo
25587 all-texinfo: stage_current
25588 @endif gcc-bootstrap
25591 maybe-all-texinfo: all-texinfo
25592 all-texinfo: configure-texinfo
25593 @: $(MAKE); $(unstage)
25594 @r=`${PWD_COMMAND}`; export r; \
25595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25597 (cd $(HOST_SUBDIR)/texinfo && \
25598 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25605 .PHONY: check-texinfo maybe-check-texinfo
25606 maybe-check-texinfo:
25608 maybe-check-texinfo: check-texinfo
25611 @: $(MAKE); $(unstage)
25612 @r=`${PWD_COMMAND}`; export r; \
25613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25615 (cd $(HOST_SUBDIR)/texinfo && \
25616 $(MAKE) $(FLAGS_TO_PASS) check)
25620 .PHONY: install-texinfo maybe-install-texinfo
25621 maybe-install-texinfo:
25623 maybe-install-texinfo: install-texinfo
25629 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
25630 maybe-install-strip-texinfo:
25632 maybe-install-strip-texinfo: install-strip-texinfo
25634 install-strip-texinfo:
25638 # Other targets (info, dvi, pdf, etc.)
25640 .PHONY: maybe-info-texinfo info-texinfo
25641 maybe-info-texinfo:
25643 maybe-info-texinfo: info-texinfo
25647 @: $(MAKE); $(unstage)
25648 @[ -f ./texinfo/Makefile ] || exit 0; \
25649 r=`${PWD_COMMAND}`; export r; \
25650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25652 for flag in $(EXTRA_HOST_FLAGS) ; do \
25653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25655 echo "Doing info in texinfo" ; \
25656 (cd $(HOST_SUBDIR)/texinfo && \
25657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25659 "RANLIB=$${RANLIB}" \
25660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25666 .PHONY: maybe-dvi-texinfo dvi-texinfo
25669 maybe-dvi-texinfo: dvi-texinfo
25673 @: $(MAKE); $(unstage)
25674 @[ -f ./texinfo/Makefile ] || exit 0; \
25675 r=`${PWD_COMMAND}`; export r; \
25676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25678 for flag in $(EXTRA_HOST_FLAGS) ; do \
25679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25681 echo "Doing dvi in texinfo" ; \
25682 (cd $(HOST_SUBDIR)/texinfo && \
25683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25685 "RANLIB=$${RANLIB}" \
25686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25692 .PHONY: maybe-pdf-texinfo pdf-texinfo
25695 maybe-pdf-texinfo: pdf-texinfo
25699 @: $(MAKE); $(unstage)
25700 @[ -f ./texinfo/Makefile ] || exit 0; \
25701 r=`${PWD_COMMAND}`; export r; \
25702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25704 for flag in $(EXTRA_HOST_FLAGS) ; do \
25705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25707 echo "Doing pdf in texinfo" ; \
25708 (cd $(HOST_SUBDIR)/texinfo && \
25709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25711 "RANLIB=$${RANLIB}" \
25712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25718 .PHONY: maybe-html-texinfo html-texinfo
25719 maybe-html-texinfo:
25721 maybe-html-texinfo: html-texinfo
25725 @: $(MAKE); $(unstage)
25726 @[ -f ./texinfo/Makefile ] || exit 0; \
25727 r=`${PWD_COMMAND}`; export r; \
25728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25730 for flag in $(EXTRA_HOST_FLAGS) ; do \
25731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25733 echo "Doing html in texinfo" ; \
25734 (cd $(HOST_SUBDIR)/texinfo && \
25735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25737 "RANLIB=$${RANLIB}" \
25738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25744 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
25745 maybe-TAGS-texinfo:
25747 maybe-TAGS-texinfo: TAGS-texinfo
25751 @: $(MAKE); $(unstage)
25752 @[ -f ./texinfo/Makefile ] || exit 0; \
25753 r=`${PWD_COMMAND}`; export r; \
25754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25756 for flag in $(EXTRA_HOST_FLAGS) ; do \
25757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25759 echo "Doing TAGS in texinfo" ; \
25760 (cd $(HOST_SUBDIR)/texinfo && \
25761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25763 "RANLIB=$${RANLIB}" \
25764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25770 .PHONY: maybe-install-info-texinfo install-info-texinfo
25771 maybe-install-info-texinfo:
25773 maybe-install-info-texinfo: install-info-texinfo
25775 install-info-texinfo: \
25776 configure-texinfo \
25778 @: $(MAKE); $(unstage)
25779 @[ -f ./texinfo/Makefile ] || exit 0; \
25780 r=`${PWD_COMMAND}`; export r; \
25781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25783 for flag in $(EXTRA_HOST_FLAGS) ; do \
25784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25786 echo "Doing install-info in texinfo" ; \
25787 (cd $(HOST_SUBDIR)/texinfo && \
25788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25790 "RANLIB=$${RANLIB}" \
25791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25797 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
25798 maybe-install-pdf-texinfo:
25800 maybe-install-pdf-texinfo: install-pdf-texinfo
25802 install-pdf-texinfo: \
25803 configure-texinfo \
25805 @: $(MAKE); $(unstage)
25806 @[ -f ./texinfo/Makefile ] || exit 0; \
25807 r=`${PWD_COMMAND}`; export r; \
25808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25810 for flag in $(EXTRA_HOST_FLAGS) ; do \
25811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25813 echo "Doing install-pdf in texinfo" ; \
25814 (cd $(HOST_SUBDIR)/texinfo && \
25815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25817 "RANLIB=$${RANLIB}" \
25818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25824 .PHONY: maybe-install-html-texinfo install-html-texinfo
25825 maybe-install-html-texinfo:
25827 maybe-install-html-texinfo: install-html-texinfo
25829 install-html-texinfo: \
25830 configure-texinfo \
25832 @: $(MAKE); $(unstage)
25833 @[ -f ./texinfo/Makefile ] || exit 0; \
25834 r=`${PWD_COMMAND}`; export r; \
25835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 for flag in $(EXTRA_HOST_FLAGS) ; do \
25838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25840 echo "Doing install-html in texinfo" ; \
25841 (cd $(HOST_SUBDIR)/texinfo && \
25842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25844 "RANLIB=$${RANLIB}" \
25845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25851 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
25852 maybe-installcheck-texinfo:
25854 maybe-installcheck-texinfo: installcheck-texinfo
25856 installcheck-texinfo: \
25858 @: $(MAKE); $(unstage)
25859 @[ -f ./texinfo/Makefile ] || exit 0; \
25860 r=`${PWD_COMMAND}`; export r; \
25861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25863 for flag in $(EXTRA_HOST_FLAGS) ; do \
25864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25866 echo "Doing installcheck in texinfo" ; \
25867 (cd $(HOST_SUBDIR)/texinfo && \
25868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25870 "RANLIB=$${RANLIB}" \
25871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25877 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
25878 maybe-mostlyclean-texinfo:
25880 maybe-mostlyclean-texinfo: mostlyclean-texinfo
25882 mostlyclean-texinfo:
25883 @: $(MAKE); $(unstage)
25884 @[ -f ./texinfo/Makefile ] || exit 0; \
25885 r=`${PWD_COMMAND}`; export r; \
25886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888 for flag in $(EXTRA_HOST_FLAGS) ; do \
25889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25891 echo "Doing mostlyclean in texinfo" ; \
25892 (cd $(HOST_SUBDIR)/texinfo && \
25893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25895 "RANLIB=$${RANLIB}" \
25896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25902 .PHONY: maybe-clean-texinfo clean-texinfo
25903 maybe-clean-texinfo:
25905 maybe-clean-texinfo: clean-texinfo
25908 @: $(MAKE); $(unstage)
25909 @[ -f ./texinfo/Makefile ] || exit 0; \
25910 r=`${PWD_COMMAND}`; export r; \
25911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25913 for flag in $(EXTRA_HOST_FLAGS) ; do \
25914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25916 echo "Doing clean in texinfo" ; \
25917 (cd $(HOST_SUBDIR)/texinfo && \
25918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25920 "RANLIB=$${RANLIB}" \
25921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25927 .PHONY: maybe-distclean-texinfo distclean-texinfo
25928 maybe-distclean-texinfo:
25930 maybe-distclean-texinfo: distclean-texinfo
25933 @: $(MAKE); $(unstage)
25934 @[ -f ./texinfo/Makefile ] || exit 0; \
25935 r=`${PWD_COMMAND}`; export r; \
25936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25938 for flag in $(EXTRA_HOST_FLAGS) ; do \
25939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25941 echo "Doing distclean in texinfo" ; \
25942 (cd $(HOST_SUBDIR)/texinfo && \
25943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25945 "RANLIB=$${RANLIB}" \
25946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25952 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
25953 maybe-maintainer-clean-texinfo:
25955 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
25957 maintainer-clean-texinfo:
25958 @: $(MAKE); $(unstage)
25959 @[ -f ./texinfo/Makefile ] || exit 0; \
25960 r=`${PWD_COMMAND}`; export r; \
25961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25963 for flag in $(EXTRA_HOST_FLAGS) ; do \
25964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25966 echo "Doing maintainer-clean in texinfo" ; \
25967 (cd $(HOST_SUBDIR)/texinfo && \
25968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25970 "RANLIB=$${RANLIB}" \
25971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25972 maintainer-clean) \
25979 .PHONY: configure-zlib maybe-configure-zlib
25980 maybe-configure-zlib:
25982 configure-zlib: stage_current
25983 @endif gcc-bootstrap
25985 maybe-configure-zlib: configure-zlib
25987 @r=`${PWD_COMMAND}`; export r; \
25988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25989 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25990 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25992 echo Configuring in $(HOST_SUBDIR)/zlib; \
25993 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25994 case $(srcdir) in \
25995 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25996 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25997 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25999 srcdiroption="--srcdir=$${topdir}/zlib"; \
26000 libsrcdir="$$s/zlib"; \
26001 $(SHELL) $${libsrcdir}/configure \
26002 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26003 --target=${target_alias} $${srcdiroption} \
26009 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26010 maybe-configure-stage1-zlib:
26012 maybe-configure-stage1-zlib: configure-stage1-zlib
26013 configure-stage1-zlib:
26014 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26016 @r=`${PWD_COMMAND}`; export r; \
26017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26018 TFLAGS="$(STAGE1_TFLAGS)"; \
26019 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26021 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26022 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26023 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26024 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26026 cd $(HOST_SUBDIR)/zlib || exit 1; \
26027 case $(srcdir) in \
26028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26029 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26032 srcdiroption="--srcdir=$${topdir}/zlib"; \
26033 libsrcdir="$$s/zlib"; \
26034 $(SHELL) $${libsrcdir}/configure \
26035 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26036 --target=${target_alias} $${srcdiroption} \
26037 $(STAGE1_CONFIGURE_FLAGS)
26038 @endif zlib-bootstrap
26040 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26041 maybe-configure-stage2-zlib:
26043 maybe-configure-stage2-zlib: configure-stage2-zlib
26044 configure-stage2-zlib:
26045 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26047 @r=`${PWD_COMMAND}`; export r; \
26048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26049 TFLAGS="$(STAGE2_TFLAGS)"; \
26050 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26052 $(POSTSTAGE1_HOST_EXPORTS) \
26053 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26054 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26055 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26056 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26058 cd $(HOST_SUBDIR)/zlib || exit 1; \
26059 case $(srcdir) in \
26060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26061 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26064 srcdiroption="--srcdir=$${topdir}/zlib"; \
26065 libsrcdir="$$s/zlib"; \
26066 $(SHELL) $${libsrcdir}/configure \
26067 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26068 --target=${target_alias} $${srcdiroption} \
26069 --with-build-libsubdir=$(HOST_SUBDIR) \
26070 $(STAGE2_CONFIGURE_FLAGS)
26071 @endif zlib-bootstrap
26073 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26074 maybe-configure-stage3-zlib:
26076 maybe-configure-stage3-zlib: configure-stage3-zlib
26077 configure-stage3-zlib:
26078 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26080 @r=`${PWD_COMMAND}`; export r; \
26081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26082 TFLAGS="$(STAGE3_TFLAGS)"; \
26083 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26085 $(POSTSTAGE1_HOST_EXPORTS) \
26086 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26087 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26088 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26089 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26091 cd $(HOST_SUBDIR)/zlib || exit 1; \
26092 case $(srcdir) in \
26093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26094 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26097 srcdiroption="--srcdir=$${topdir}/zlib"; \
26098 libsrcdir="$$s/zlib"; \
26099 $(SHELL) $${libsrcdir}/configure \
26100 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26101 --target=${target_alias} $${srcdiroption} \
26102 --with-build-libsubdir=$(HOST_SUBDIR) \
26103 $(STAGE3_CONFIGURE_FLAGS)
26104 @endif zlib-bootstrap
26106 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26107 maybe-configure-stage4-zlib:
26109 maybe-configure-stage4-zlib: configure-stage4-zlib
26110 configure-stage4-zlib:
26111 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26112 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26113 @r=`${PWD_COMMAND}`; export r; \
26114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26115 TFLAGS="$(STAGE4_TFLAGS)"; \
26116 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26118 $(POSTSTAGE1_HOST_EXPORTS) \
26119 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26120 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26121 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26122 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26123 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26124 cd $(HOST_SUBDIR)/zlib || exit 1; \
26125 case $(srcdir) in \
26126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26127 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26130 srcdiroption="--srcdir=$${topdir}/zlib"; \
26131 libsrcdir="$$s/zlib"; \
26132 $(SHELL) $${libsrcdir}/configure \
26133 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26134 --target=${target_alias} $${srcdiroption} \
26135 --with-build-libsubdir=$(HOST_SUBDIR) \
26136 $(STAGE4_CONFIGURE_FLAGS)
26137 @endif zlib-bootstrap
26139 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26140 maybe-configure-stageprofile-zlib:
26142 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26143 configure-stageprofile-zlib:
26144 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26146 @r=`${PWD_COMMAND}`; export r; \
26147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26148 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26149 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26151 $(POSTSTAGE1_HOST_EXPORTS) \
26152 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26153 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26154 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26155 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26157 cd $(HOST_SUBDIR)/zlib || exit 1; \
26158 case $(srcdir) in \
26159 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26160 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26161 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26163 srcdiroption="--srcdir=$${topdir}/zlib"; \
26164 libsrcdir="$$s/zlib"; \
26165 $(SHELL) $${libsrcdir}/configure \
26166 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26167 --target=${target_alias} $${srcdiroption} \
26168 --with-build-libsubdir=$(HOST_SUBDIR) \
26169 $(STAGEprofile_CONFIGURE_FLAGS)
26170 @endif zlib-bootstrap
26172 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26173 maybe-configure-stagefeedback-zlib:
26175 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26176 configure-stagefeedback-zlib:
26177 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26178 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26179 @r=`${PWD_COMMAND}`; export r; \
26180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26181 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26182 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26184 $(POSTSTAGE1_HOST_EXPORTS) \
26185 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26186 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26187 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26188 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26190 cd $(HOST_SUBDIR)/zlib || exit 1; \
26191 case $(srcdir) in \
26192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26193 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26196 srcdiroption="--srcdir=$${topdir}/zlib"; \
26197 libsrcdir="$$s/zlib"; \
26198 $(SHELL) $${libsrcdir}/configure \
26199 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26200 --target=${target_alias} $${srcdiroption} \
26201 --with-build-libsubdir=$(HOST_SUBDIR) \
26202 $(STAGEfeedback_CONFIGURE_FLAGS)
26203 @endif zlib-bootstrap
26209 .PHONY: all-zlib maybe-all-zlib
26212 all-zlib: stage_current
26213 @endif gcc-bootstrap
26216 maybe-all-zlib: all-zlib
26217 all-zlib: configure-zlib
26218 @r=`${PWD_COMMAND}`; export r; \
26219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26221 (cd $(HOST_SUBDIR)/zlib && \
26222 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26228 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26229 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26230 maybe-all-stage1-zlib:
26231 maybe-clean-stage1-zlib:
26233 maybe-all-stage1-zlib: all-stage1-zlib
26234 all-stage1: all-stage1-zlib
26235 TARGET-stage1-zlib = $(TARGET-zlib)
26236 all-stage1-zlib: configure-stage1-zlib
26237 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26238 @r=`${PWD_COMMAND}`; export r; \
26239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26240 TFLAGS="$(STAGE1_TFLAGS)"; \
26242 cd $(HOST_SUBDIR)/zlib && \
26243 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26244 CFLAGS="$(STAGE1_CFLAGS)" \
26245 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26246 LIBCFLAGS="$(LIBCFLAGS)" \
26247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26250 $(EXTRA_HOST_FLAGS) \
26251 $(STAGE1_FLAGS_TO_PASS) \
26252 TFLAGS="$(STAGE1_TFLAGS)" \
26253 $(TARGET-stage1-zlib)
26255 maybe-clean-stage1-zlib: clean-stage1-zlib
26256 clean-stage1: clean-stage1-zlib
26258 @if [ $(current_stage) = stage1 ]; then \
26259 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26261 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26262 $(MAKE) stage1-start; \
26264 cd $(HOST_SUBDIR)/zlib && \
26265 $(MAKE) $(EXTRA_HOST_FLAGS) \
26266 $(STAGE1_FLAGS_TO_PASS) clean
26267 @endif zlib-bootstrap
26270 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26271 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26272 maybe-all-stage2-zlib:
26273 maybe-clean-stage2-zlib:
26275 maybe-all-stage2-zlib: all-stage2-zlib
26276 all-stage2: all-stage2-zlib
26277 TARGET-stage2-zlib = $(TARGET-zlib)
26278 all-stage2-zlib: configure-stage2-zlib
26279 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26280 @r=`${PWD_COMMAND}`; export r; \
26281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26282 TFLAGS="$(STAGE2_TFLAGS)"; \
26284 $(POSTSTAGE1_HOST_EXPORTS) \
26285 cd $(HOST_SUBDIR)/zlib && \
26286 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26287 CFLAGS="$(STAGE2_CFLAGS)" \
26288 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26289 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26290 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26291 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26292 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26293 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26294 TFLAGS="$(STAGE2_TFLAGS)" \
26295 $(TARGET-stage2-zlib)
26297 maybe-clean-stage2-zlib: clean-stage2-zlib
26298 clean-stage2: clean-stage2-zlib
26300 @if [ $(current_stage) = stage2 ]; then \
26301 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26303 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26304 $(MAKE) stage2-start; \
26306 cd $(HOST_SUBDIR)/zlib && \
26307 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26308 @endif zlib-bootstrap
26311 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26312 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26313 maybe-all-stage3-zlib:
26314 maybe-clean-stage3-zlib:
26316 maybe-all-stage3-zlib: all-stage3-zlib
26317 all-stage3: all-stage3-zlib
26318 TARGET-stage3-zlib = $(TARGET-zlib)
26319 all-stage3-zlib: configure-stage3-zlib
26320 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26321 @r=`${PWD_COMMAND}`; export r; \
26322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26323 TFLAGS="$(STAGE3_TFLAGS)"; \
26325 $(POSTSTAGE1_HOST_EXPORTS) \
26326 cd $(HOST_SUBDIR)/zlib && \
26327 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26328 CFLAGS="$(STAGE3_CFLAGS)" \
26329 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26330 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26331 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26332 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26333 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26334 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26335 TFLAGS="$(STAGE3_TFLAGS)" \
26336 $(TARGET-stage3-zlib)
26338 maybe-clean-stage3-zlib: clean-stage3-zlib
26339 clean-stage3: clean-stage3-zlib
26341 @if [ $(current_stage) = stage3 ]; then \
26342 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26344 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26345 $(MAKE) stage3-start; \
26347 cd $(HOST_SUBDIR)/zlib && \
26348 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26349 @endif zlib-bootstrap
26352 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26353 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26354 maybe-all-stage4-zlib:
26355 maybe-clean-stage4-zlib:
26357 maybe-all-stage4-zlib: all-stage4-zlib
26358 all-stage4: all-stage4-zlib
26359 TARGET-stage4-zlib = $(TARGET-zlib)
26360 all-stage4-zlib: configure-stage4-zlib
26361 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26362 @r=`${PWD_COMMAND}`; export r; \
26363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26364 TFLAGS="$(STAGE4_TFLAGS)"; \
26366 $(POSTSTAGE1_HOST_EXPORTS) \
26367 cd $(HOST_SUBDIR)/zlib && \
26368 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26369 CFLAGS="$(STAGE4_CFLAGS)" \
26370 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26371 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26372 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26373 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26374 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26375 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26376 TFLAGS="$(STAGE4_TFLAGS)" \
26377 $(TARGET-stage4-zlib)
26379 maybe-clean-stage4-zlib: clean-stage4-zlib
26380 clean-stage4: clean-stage4-zlib
26382 @if [ $(current_stage) = stage4 ]; then \
26383 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26385 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
26386 $(MAKE) stage4-start; \
26388 cd $(HOST_SUBDIR)/zlib && \
26389 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26390 @endif zlib-bootstrap
26393 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26394 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26395 maybe-all-stageprofile-zlib:
26396 maybe-clean-stageprofile-zlib:
26398 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26399 all-stageprofile: all-stageprofile-zlib
26400 TARGET-stageprofile-zlib = $(TARGET-zlib)
26401 all-stageprofile-zlib: configure-stageprofile-zlib
26402 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26403 @r=`${PWD_COMMAND}`; export r; \
26404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26405 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26407 $(POSTSTAGE1_HOST_EXPORTS) \
26408 cd $(HOST_SUBDIR)/zlib && \
26409 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26410 CFLAGS="$(STAGEprofile_CFLAGS)" \
26411 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26412 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26413 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26414 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26415 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26416 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26417 TFLAGS="$(STAGEprofile_TFLAGS)" \
26418 $(TARGET-stageprofile-zlib)
26420 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26421 clean-stageprofile: clean-stageprofile-zlib
26422 clean-stageprofile-zlib:
26423 @if [ $(current_stage) = stageprofile ]; then \
26424 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26426 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
26427 $(MAKE) stageprofile-start; \
26429 cd $(HOST_SUBDIR)/zlib && \
26430 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26431 @endif zlib-bootstrap
26434 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26435 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26436 maybe-all-stagefeedback-zlib:
26437 maybe-clean-stagefeedback-zlib:
26439 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26440 all-stagefeedback: all-stagefeedback-zlib
26441 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26442 all-stagefeedback-zlib: configure-stagefeedback-zlib
26443 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26444 @r=`${PWD_COMMAND}`; export r; \
26445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26446 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26448 $(POSTSTAGE1_HOST_EXPORTS) \
26449 cd $(HOST_SUBDIR)/zlib && \
26450 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26451 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26452 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26453 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26454 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26455 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26456 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26457 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26458 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26459 $(TARGET-stagefeedback-zlib)
26461 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26462 clean-stagefeedback: clean-stagefeedback-zlib
26463 clean-stagefeedback-zlib:
26464 @if [ $(current_stage) = stagefeedback ]; then \
26465 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26467 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
26468 $(MAKE) stagefeedback-start; \
26470 cd $(HOST_SUBDIR)/zlib && \
26471 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26472 @endif zlib-bootstrap
26478 .PHONY: check-zlib maybe-check-zlib
26481 maybe-check-zlib: check-zlib
26487 .PHONY: install-zlib maybe-install-zlib
26488 maybe-install-zlib:
26490 maybe-install-zlib: install-zlib
26496 .PHONY: install-strip-zlib maybe-install-strip-zlib
26497 maybe-install-strip-zlib:
26499 maybe-install-strip-zlib: install-strip-zlib
26501 install-strip-zlib:
26505 # Other targets (info, dvi, pdf, etc.)
26507 .PHONY: maybe-info-zlib info-zlib
26510 maybe-info-zlib: info-zlib
26514 @[ -f ./zlib/Makefile ] || exit 0; \
26515 r=`${PWD_COMMAND}`; export r; \
26516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26518 for flag in $(EXTRA_HOST_FLAGS) ; do \
26519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26521 echo "Doing info in zlib" ; \
26522 (cd $(HOST_SUBDIR)/zlib && \
26523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26525 "RANLIB=$${RANLIB}" \
26526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26532 .PHONY: maybe-dvi-zlib dvi-zlib
26535 maybe-dvi-zlib: dvi-zlib
26539 @[ -f ./zlib/Makefile ] || exit 0; \
26540 r=`${PWD_COMMAND}`; export r; \
26541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26543 for flag in $(EXTRA_HOST_FLAGS) ; do \
26544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26546 echo "Doing dvi in zlib" ; \
26547 (cd $(HOST_SUBDIR)/zlib && \
26548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26550 "RANLIB=$${RANLIB}" \
26551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26557 .PHONY: maybe-pdf-zlib pdf-zlib
26560 maybe-pdf-zlib: pdf-zlib
26564 @[ -f ./zlib/Makefile ] || exit 0; \
26565 r=`${PWD_COMMAND}`; export r; \
26566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26568 for flag in $(EXTRA_HOST_FLAGS) ; do \
26569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26571 echo "Doing pdf in zlib" ; \
26572 (cd $(HOST_SUBDIR)/zlib && \
26573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26575 "RANLIB=$${RANLIB}" \
26576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26582 .PHONY: maybe-html-zlib html-zlib
26585 maybe-html-zlib: html-zlib
26589 @[ -f ./zlib/Makefile ] || exit 0; \
26590 r=`${PWD_COMMAND}`; export r; \
26591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26593 for flag in $(EXTRA_HOST_FLAGS) ; do \
26594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26596 echo "Doing html in zlib" ; \
26597 (cd $(HOST_SUBDIR)/zlib && \
26598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26600 "RANLIB=$${RANLIB}" \
26601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26607 .PHONY: maybe-TAGS-zlib TAGS-zlib
26610 maybe-TAGS-zlib: TAGS-zlib
26614 @[ -f ./zlib/Makefile ] || exit 0; \
26615 r=`${PWD_COMMAND}`; export r; \
26616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26618 for flag in $(EXTRA_HOST_FLAGS) ; do \
26619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26621 echo "Doing TAGS in zlib" ; \
26622 (cd $(HOST_SUBDIR)/zlib && \
26623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26625 "RANLIB=$${RANLIB}" \
26626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26632 .PHONY: maybe-install-info-zlib install-info-zlib
26633 maybe-install-info-zlib:
26635 maybe-install-info-zlib: install-info-zlib
26637 install-info-zlib: \
26640 @[ -f ./zlib/Makefile ] || exit 0; \
26641 r=`${PWD_COMMAND}`; export r; \
26642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26644 for flag in $(EXTRA_HOST_FLAGS) ; do \
26645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26647 echo "Doing install-info in zlib" ; \
26648 (cd $(HOST_SUBDIR)/zlib && \
26649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26651 "RANLIB=$${RANLIB}" \
26652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26658 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
26659 maybe-install-pdf-zlib:
26661 maybe-install-pdf-zlib: install-pdf-zlib
26663 install-pdf-zlib: \
26666 @[ -f ./zlib/Makefile ] || exit 0; \
26667 r=`${PWD_COMMAND}`; export r; \
26668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26670 for flag in $(EXTRA_HOST_FLAGS) ; do \
26671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26673 echo "Doing install-pdf in zlib" ; \
26674 (cd $(HOST_SUBDIR)/zlib && \
26675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26677 "RANLIB=$${RANLIB}" \
26678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26684 .PHONY: maybe-install-html-zlib install-html-zlib
26685 maybe-install-html-zlib:
26687 maybe-install-html-zlib: install-html-zlib
26689 install-html-zlib: \
26692 @[ -f ./zlib/Makefile ] || exit 0; \
26693 r=`${PWD_COMMAND}`; export r; \
26694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26696 for flag in $(EXTRA_HOST_FLAGS) ; do \
26697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26699 echo "Doing install-html in zlib" ; \
26700 (cd $(HOST_SUBDIR)/zlib && \
26701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26703 "RANLIB=$${RANLIB}" \
26704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26710 .PHONY: maybe-installcheck-zlib installcheck-zlib
26711 maybe-installcheck-zlib:
26713 maybe-installcheck-zlib: installcheck-zlib
26715 installcheck-zlib: \
26717 @[ -f ./zlib/Makefile ] || exit 0; \
26718 r=`${PWD_COMMAND}`; export r; \
26719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26721 for flag in $(EXTRA_HOST_FLAGS) ; do \
26722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26724 echo "Doing installcheck in zlib" ; \
26725 (cd $(HOST_SUBDIR)/zlib && \
26726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26728 "RANLIB=$${RANLIB}" \
26729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26735 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26736 maybe-mostlyclean-zlib:
26738 maybe-mostlyclean-zlib: mostlyclean-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 mostlyclean 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-clean-zlib clean-zlib
26762 maybe-clean-zlib: clean-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 clean 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-distclean-zlib distclean-zlib
26784 maybe-distclean-zlib:
26786 maybe-distclean-zlib: distclean-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 distclean 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-maintainer-clean-zlib maintainer-clean-zlib
26808 maybe-maintainer-clean-zlib:
26810 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26812 maintainer-clean-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 maintainer-clean 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}" \
26826 maintainer-clean) \
26833 .PHONY: configure-gdb maybe-configure-gdb
26834 maybe-configure-gdb:
26836 configure-gdb: stage_current
26837 @endif gcc-bootstrap
26839 maybe-configure-gdb: configure-gdb
26841 @: $(MAKE); $(unstage)
26842 @r=`${PWD_COMMAND}`; export r; \
26843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26844 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26845 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26847 echo Configuring in $(HOST_SUBDIR)/gdb; \
26848 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26849 case $(srcdir) in \
26850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26851 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26854 srcdiroption="--srcdir=$${topdir}/gdb"; \
26855 libsrcdir="$$s/gdb"; \
26856 $(SHELL) $${libsrcdir}/configure \
26857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26858 --target=${target_alias} $${srcdiroption} \
26866 .PHONY: all-gdb maybe-all-gdb
26869 all-gdb: stage_current
26870 @endif gcc-bootstrap
26873 maybe-all-gdb: all-gdb
26874 all-gdb: configure-gdb
26875 @: $(MAKE); $(unstage)
26876 @r=`${PWD_COMMAND}`; export r; \
26877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26879 (cd $(HOST_SUBDIR)/gdb && \
26880 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26887 .PHONY: check-gdb maybe-check-gdb
26890 maybe-check-gdb: check-gdb
26893 @: $(MAKE); $(unstage)
26894 @r=`${PWD_COMMAND}`; export r; \
26895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26897 (cd $(HOST_SUBDIR)/gdb && \
26898 $(MAKE) $(FLAGS_TO_PASS) check)
26902 .PHONY: install-gdb maybe-install-gdb
26905 maybe-install-gdb: install-gdb
26907 install-gdb: installdirs
26908 @: $(MAKE); $(unstage)
26909 @r=`${PWD_COMMAND}`; export r; \
26910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26912 (cd $(HOST_SUBDIR)/gdb && \
26913 $(MAKE) $(FLAGS_TO_PASS) install)
26917 .PHONY: install-strip-gdb maybe-install-strip-gdb
26918 maybe-install-strip-gdb:
26920 maybe-install-strip-gdb: install-strip-gdb
26922 install-strip-gdb: installdirs
26923 @: $(MAKE); $(unstage)
26924 @r=`${PWD_COMMAND}`; export r; \
26925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26927 (cd $(HOST_SUBDIR)/gdb && \
26928 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26932 # Other targets (info, dvi, pdf, etc.)
26934 .PHONY: maybe-info-gdb info-gdb
26937 maybe-info-gdb: info-gdb
26941 @: $(MAKE); $(unstage)
26942 @[ -f ./gdb/Makefile ] || exit 0; \
26943 r=`${PWD_COMMAND}`; export r; \
26944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26946 for flag in $(EXTRA_HOST_FLAGS) ; do \
26947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26949 echo "Doing info in gdb" ; \
26950 (cd $(HOST_SUBDIR)/gdb && \
26951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26953 "RANLIB=$${RANLIB}" \
26954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26960 .PHONY: maybe-dvi-gdb dvi-gdb
26963 maybe-dvi-gdb: dvi-gdb
26967 @: $(MAKE); $(unstage)
26968 @[ -f ./gdb/Makefile ] || exit 0; \
26969 r=`${PWD_COMMAND}`; export r; \
26970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26972 for flag in $(EXTRA_HOST_FLAGS) ; do \
26973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26975 echo "Doing dvi in gdb" ; \
26976 (cd $(HOST_SUBDIR)/gdb && \
26977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26979 "RANLIB=$${RANLIB}" \
26980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26986 .PHONY: maybe-pdf-gdb pdf-gdb
26989 maybe-pdf-gdb: pdf-gdb
26993 @: $(MAKE); $(unstage)
26994 @[ -f ./gdb/Makefile ] || exit 0; \
26995 r=`${PWD_COMMAND}`; export r; \
26996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26998 for flag in $(EXTRA_HOST_FLAGS) ; do \
26999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27001 echo "Doing pdf in gdb" ; \
27002 (cd $(HOST_SUBDIR)/gdb && \
27003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27005 "RANLIB=$${RANLIB}" \
27006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27012 .PHONY: maybe-html-gdb html-gdb
27015 maybe-html-gdb: html-gdb
27019 @: $(MAKE); $(unstage)
27020 @[ -f ./gdb/Makefile ] || exit 0; \
27021 r=`${PWD_COMMAND}`; export r; \
27022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27024 for flag in $(EXTRA_HOST_FLAGS) ; do \
27025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27027 echo "Doing html in gdb" ; \
27028 (cd $(HOST_SUBDIR)/gdb && \
27029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27031 "RANLIB=$${RANLIB}" \
27032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27038 .PHONY: maybe-TAGS-gdb TAGS-gdb
27041 maybe-TAGS-gdb: TAGS-gdb
27045 @: $(MAKE); $(unstage)
27046 @[ -f ./gdb/Makefile ] || exit 0; \
27047 r=`${PWD_COMMAND}`; export r; \
27048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27050 for flag in $(EXTRA_HOST_FLAGS) ; do \
27051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27053 echo "Doing TAGS in gdb" ; \
27054 (cd $(HOST_SUBDIR)/gdb && \
27055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27057 "RANLIB=$${RANLIB}" \
27058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27064 .PHONY: maybe-install-info-gdb install-info-gdb
27065 maybe-install-info-gdb:
27067 maybe-install-info-gdb: install-info-gdb
27069 install-info-gdb: \
27072 @: $(MAKE); $(unstage)
27073 @[ -f ./gdb/Makefile ] || exit 0; \
27074 r=`${PWD_COMMAND}`; export r; \
27075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27077 for flag in $(EXTRA_HOST_FLAGS) ; do \
27078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27080 echo "Doing install-info in gdb" ; \
27081 (cd $(HOST_SUBDIR)/gdb && \
27082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27084 "RANLIB=$${RANLIB}" \
27085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27091 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27092 maybe-install-pdf-gdb:
27094 maybe-install-pdf-gdb: install-pdf-gdb
27099 @: $(MAKE); $(unstage)
27100 @[ -f ./gdb/Makefile ] || exit 0; \
27101 r=`${PWD_COMMAND}`; export r; \
27102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27104 for flag in $(EXTRA_HOST_FLAGS) ; do \
27105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27107 echo "Doing install-pdf in gdb" ; \
27108 (cd $(HOST_SUBDIR)/gdb && \
27109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27111 "RANLIB=$${RANLIB}" \
27112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27118 .PHONY: maybe-install-html-gdb install-html-gdb
27119 maybe-install-html-gdb:
27121 maybe-install-html-gdb: install-html-gdb
27123 install-html-gdb: \
27126 @: $(MAKE); $(unstage)
27127 @[ -f ./gdb/Makefile ] || exit 0; \
27128 r=`${PWD_COMMAND}`; export r; \
27129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27131 for flag in $(EXTRA_HOST_FLAGS) ; do \
27132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27134 echo "Doing install-html in gdb" ; \
27135 (cd $(HOST_SUBDIR)/gdb && \
27136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27138 "RANLIB=$${RANLIB}" \
27139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27145 .PHONY: maybe-installcheck-gdb installcheck-gdb
27146 maybe-installcheck-gdb:
27148 maybe-installcheck-gdb: installcheck-gdb
27150 installcheck-gdb: \
27152 @: $(MAKE); $(unstage)
27153 @[ -f ./gdb/Makefile ] || exit 0; \
27154 r=`${PWD_COMMAND}`; export r; \
27155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27157 for flag in $(EXTRA_HOST_FLAGS) ; do \
27158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27160 echo "Doing installcheck in gdb" ; \
27161 (cd $(HOST_SUBDIR)/gdb && \
27162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27164 "RANLIB=$${RANLIB}" \
27165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27171 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27172 maybe-mostlyclean-gdb:
27174 maybe-mostlyclean-gdb: mostlyclean-gdb
27177 @: $(MAKE); $(unstage)
27178 @[ -f ./gdb/Makefile ] || exit 0; \
27179 r=`${PWD_COMMAND}`; export r; \
27180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27182 for flag in $(EXTRA_HOST_FLAGS) ; do \
27183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27185 echo "Doing mostlyclean in gdb" ; \
27186 (cd $(HOST_SUBDIR)/gdb && \
27187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27189 "RANLIB=$${RANLIB}" \
27190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27196 .PHONY: maybe-clean-gdb clean-gdb
27199 maybe-clean-gdb: clean-gdb
27202 @: $(MAKE); $(unstage)
27203 @[ -f ./gdb/Makefile ] || exit 0; \
27204 r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27207 for flag in $(EXTRA_HOST_FLAGS) ; do \
27208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27210 echo "Doing clean in gdb" ; \
27211 (cd $(HOST_SUBDIR)/gdb && \
27212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27214 "RANLIB=$${RANLIB}" \
27215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27221 .PHONY: maybe-distclean-gdb distclean-gdb
27222 maybe-distclean-gdb:
27224 maybe-distclean-gdb: distclean-gdb
27227 @: $(MAKE); $(unstage)
27228 @[ -f ./gdb/Makefile ] || exit 0; \
27229 r=`${PWD_COMMAND}`; export r; \
27230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27232 for flag in $(EXTRA_HOST_FLAGS) ; do \
27233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27235 echo "Doing distclean in gdb" ; \
27236 (cd $(HOST_SUBDIR)/gdb && \
27237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27239 "RANLIB=$${RANLIB}" \
27240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27246 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27247 maybe-maintainer-clean-gdb:
27249 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27251 maintainer-clean-gdb:
27252 @: $(MAKE); $(unstage)
27253 @[ -f ./gdb/Makefile ] || exit 0; \
27254 r=`${PWD_COMMAND}`; export r; \
27255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27257 for flag in $(EXTRA_HOST_FLAGS) ; do \
27258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27260 echo "Doing maintainer-clean in gdb" ; \
27261 (cd $(HOST_SUBDIR)/gdb && \
27262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27264 "RANLIB=$${RANLIB}" \
27265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27266 maintainer-clean) \
27273 .PHONY: configure-expect maybe-configure-expect
27274 maybe-configure-expect:
27276 configure-expect: stage_current
27277 @endif gcc-bootstrap
27279 maybe-configure-expect: configure-expect
27281 @: $(MAKE); $(unstage)
27282 @r=`${PWD_COMMAND}`; export r; \
27283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27284 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27287 echo Configuring in $(HOST_SUBDIR)/expect; \
27288 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27289 case $(srcdir) in \
27290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27291 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27294 srcdiroption="--srcdir=$${topdir}/expect"; \
27295 libsrcdir="$$s/expect"; \
27296 $(SHELL) $${libsrcdir}/configure \
27297 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27298 --target=${target_alias} $${srcdiroption} \
27306 .PHONY: all-expect maybe-all-expect
27309 all-expect: stage_current
27310 @endif gcc-bootstrap
27313 maybe-all-expect: all-expect
27314 all-expect: configure-expect
27315 @: $(MAKE); $(unstage)
27316 @r=`${PWD_COMMAND}`; export r; \
27317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27319 (cd $(HOST_SUBDIR)/expect && \
27320 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27327 .PHONY: check-expect maybe-check-expect
27328 maybe-check-expect:
27330 maybe-check-expect: check-expect
27333 @: $(MAKE); $(unstage)
27334 @r=`${PWD_COMMAND}`; export r; \
27335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27337 (cd $(HOST_SUBDIR)/expect && \
27338 $(MAKE) $(FLAGS_TO_PASS) check)
27342 .PHONY: install-expect maybe-install-expect
27343 maybe-install-expect:
27345 maybe-install-expect: install-expect
27347 install-expect: installdirs
27348 @: $(MAKE); $(unstage)
27349 @r=`${PWD_COMMAND}`; export r; \
27350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27352 (cd $(HOST_SUBDIR)/expect && \
27353 $(MAKE) $(FLAGS_TO_PASS) install)
27357 .PHONY: install-strip-expect maybe-install-strip-expect
27358 maybe-install-strip-expect:
27360 maybe-install-strip-expect: install-strip-expect
27362 install-strip-expect: installdirs
27363 @: $(MAKE); $(unstage)
27364 @r=`${PWD_COMMAND}`; export r; \
27365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27367 (cd $(HOST_SUBDIR)/expect && \
27368 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27372 # Other targets (info, dvi, pdf, etc.)
27374 .PHONY: maybe-info-expect info-expect
27377 maybe-info-expect: info-expect
27381 @: $(MAKE); $(unstage)
27382 @[ -f ./expect/Makefile ] || exit 0; \
27383 r=`${PWD_COMMAND}`; export r; \
27384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27386 for flag in $(EXTRA_HOST_FLAGS) ; do \
27387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27389 echo "Doing info in expect" ; \
27390 (cd $(HOST_SUBDIR)/expect && \
27391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27393 "RANLIB=$${RANLIB}" \
27394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27400 .PHONY: maybe-dvi-expect dvi-expect
27403 maybe-dvi-expect: dvi-expect
27407 @: $(MAKE); $(unstage)
27408 @[ -f ./expect/Makefile ] || exit 0; \
27409 r=`${PWD_COMMAND}`; export r; \
27410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27412 for flag in $(EXTRA_HOST_FLAGS) ; do \
27413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27415 echo "Doing dvi in expect" ; \
27416 (cd $(HOST_SUBDIR)/expect && \
27417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27419 "RANLIB=$${RANLIB}" \
27420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27426 .PHONY: maybe-pdf-expect pdf-expect
27429 maybe-pdf-expect: pdf-expect
27433 @: $(MAKE); $(unstage)
27434 @[ -f ./expect/Makefile ] || exit 0; \
27435 r=`${PWD_COMMAND}`; export r; \
27436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27438 for flag in $(EXTRA_HOST_FLAGS) ; do \
27439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27441 echo "Doing pdf in expect" ; \
27442 (cd $(HOST_SUBDIR)/expect && \
27443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27445 "RANLIB=$${RANLIB}" \
27446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27452 .PHONY: maybe-html-expect html-expect
27455 maybe-html-expect: html-expect
27459 @: $(MAKE); $(unstage)
27460 @[ -f ./expect/Makefile ] || exit 0; \
27461 r=`${PWD_COMMAND}`; export r; \
27462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27464 for flag in $(EXTRA_HOST_FLAGS) ; do \
27465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27467 echo "Doing html in expect" ; \
27468 (cd $(HOST_SUBDIR)/expect && \
27469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27471 "RANLIB=$${RANLIB}" \
27472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27478 .PHONY: maybe-TAGS-expect TAGS-expect
27481 maybe-TAGS-expect: TAGS-expect
27485 @: $(MAKE); $(unstage)
27486 @[ -f ./expect/Makefile ] || exit 0; \
27487 r=`${PWD_COMMAND}`; export r; \
27488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27490 for flag in $(EXTRA_HOST_FLAGS) ; do \
27491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27493 echo "Doing TAGS in expect" ; \
27494 (cd $(HOST_SUBDIR)/expect && \
27495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27497 "RANLIB=$${RANLIB}" \
27498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27504 .PHONY: maybe-install-info-expect install-info-expect
27505 maybe-install-info-expect:
27507 maybe-install-info-expect: install-info-expect
27509 install-info-expect: \
27512 @: $(MAKE); $(unstage)
27513 @[ -f ./expect/Makefile ] || exit 0; \
27514 r=`${PWD_COMMAND}`; export r; \
27515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27517 for flag in $(EXTRA_HOST_FLAGS) ; do \
27518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27520 echo "Doing install-info in expect" ; \
27521 (cd $(HOST_SUBDIR)/expect && \
27522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27524 "RANLIB=$${RANLIB}" \
27525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27531 .PHONY: maybe-install-pdf-expect install-pdf-expect
27532 maybe-install-pdf-expect:
27534 maybe-install-pdf-expect: install-pdf-expect
27536 install-pdf-expect: \
27539 @: $(MAKE); $(unstage)
27540 @[ -f ./expect/Makefile ] || exit 0; \
27541 r=`${PWD_COMMAND}`; export r; \
27542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27544 for flag in $(EXTRA_HOST_FLAGS) ; do \
27545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27547 echo "Doing install-pdf in expect" ; \
27548 (cd $(HOST_SUBDIR)/expect && \
27549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27551 "RANLIB=$${RANLIB}" \
27552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27558 .PHONY: maybe-install-html-expect install-html-expect
27559 maybe-install-html-expect:
27561 maybe-install-html-expect: install-html-expect
27563 install-html-expect: \
27566 @: $(MAKE); $(unstage)
27567 @[ -f ./expect/Makefile ] || exit 0; \
27568 r=`${PWD_COMMAND}`; export r; \
27569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27571 for flag in $(EXTRA_HOST_FLAGS) ; do \
27572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27574 echo "Doing install-html in expect" ; \
27575 (cd $(HOST_SUBDIR)/expect && \
27576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27578 "RANLIB=$${RANLIB}" \
27579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27585 .PHONY: maybe-installcheck-expect installcheck-expect
27586 maybe-installcheck-expect:
27588 maybe-installcheck-expect: installcheck-expect
27590 installcheck-expect: \
27592 @: $(MAKE); $(unstage)
27593 @[ -f ./expect/Makefile ] || exit 0; \
27594 r=`${PWD_COMMAND}`; export r; \
27595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27597 for flag in $(EXTRA_HOST_FLAGS) ; do \
27598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27600 echo "Doing installcheck in expect" ; \
27601 (cd $(HOST_SUBDIR)/expect && \
27602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27604 "RANLIB=$${RANLIB}" \
27605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27611 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27612 maybe-mostlyclean-expect:
27614 maybe-mostlyclean-expect: mostlyclean-expect
27616 mostlyclean-expect:
27617 @: $(MAKE); $(unstage)
27618 @[ -f ./expect/Makefile ] || exit 0; \
27619 r=`${PWD_COMMAND}`; export r; \
27620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27622 for flag in $(EXTRA_HOST_FLAGS) ; do \
27623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27625 echo "Doing mostlyclean in expect" ; \
27626 (cd $(HOST_SUBDIR)/expect && \
27627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27629 "RANLIB=$${RANLIB}" \
27630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27636 .PHONY: maybe-clean-expect clean-expect
27637 maybe-clean-expect:
27639 maybe-clean-expect: clean-expect
27642 @: $(MAKE); $(unstage)
27643 @[ -f ./expect/Makefile ] || exit 0; \
27644 r=`${PWD_COMMAND}`; export r; \
27645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27647 for flag in $(EXTRA_HOST_FLAGS) ; do \
27648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27650 echo "Doing clean in expect" ; \
27651 (cd $(HOST_SUBDIR)/expect && \
27652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27654 "RANLIB=$${RANLIB}" \
27655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27661 .PHONY: maybe-distclean-expect distclean-expect
27662 maybe-distclean-expect:
27664 maybe-distclean-expect: distclean-expect
27667 @: $(MAKE); $(unstage)
27668 @[ -f ./expect/Makefile ] || exit 0; \
27669 r=`${PWD_COMMAND}`; export r; \
27670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27672 for flag in $(EXTRA_HOST_FLAGS) ; do \
27673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27675 echo "Doing distclean in expect" ; \
27676 (cd $(HOST_SUBDIR)/expect && \
27677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27679 "RANLIB=$${RANLIB}" \
27680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27686 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27687 maybe-maintainer-clean-expect:
27689 maybe-maintainer-clean-expect: maintainer-clean-expect
27691 maintainer-clean-expect:
27692 @: $(MAKE); $(unstage)
27693 @[ -f ./expect/Makefile ] || exit 0; \
27694 r=`${PWD_COMMAND}`; export r; \
27695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27697 for flag in $(EXTRA_HOST_FLAGS) ; do \
27698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27700 echo "Doing maintainer-clean in expect" ; \
27701 (cd $(HOST_SUBDIR)/expect && \
27702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27704 "RANLIB=$${RANLIB}" \
27705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27706 maintainer-clean) \
27713 .PHONY: configure-guile maybe-configure-guile
27714 maybe-configure-guile:
27716 configure-guile: stage_current
27717 @endif gcc-bootstrap
27719 maybe-configure-guile: configure-guile
27721 @: $(MAKE); $(unstage)
27722 @r=`${PWD_COMMAND}`; export r; \
27723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27724 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27727 echo Configuring in $(HOST_SUBDIR)/guile; \
27728 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27729 case $(srcdir) in \
27730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27731 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27734 srcdiroption="--srcdir=$${topdir}/guile"; \
27735 libsrcdir="$$s/guile"; \
27736 $(SHELL) $${libsrcdir}/configure \
27737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27738 --target=${target_alias} $${srcdiroption} \
27746 .PHONY: all-guile maybe-all-guile
27749 all-guile: stage_current
27750 @endif gcc-bootstrap
27753 maybe-all-guile: all-guile
27754 all-guile: configure-guile
27755 @: $(MAKE); $(unstage)
27756 @r=`${PWD_COMMAND}`; export r; \
27757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27759 (cd $(HOST_SUBDIR)/guile && \
27760 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27767 .PHONY: check-guile maybe-check-guile
27770 maybe-check-guile: check-guile
27773 @: $(MAKE); $(unstage)
27774 @r=`${PWD_COMMAND}`; export r; \
27775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27777 (cd $(HOST_SUBDIR)/guile && \
27778 $(MAKE) $(FLAGS_TO_PASS) check)
27782 .PHONY: install-guile maybe-install-guile
27783 maybe-install-guile:
27785 maybe-install-guile: install-guile
27787 install-guile: installdirs
27788 @: $(MAKE); $(unstage)
27789 @r=`${PWD_COMMAND}`; export r; \
27790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27792 (cd $(HOST_SUBDIR)/guile && \
27793 $(MAKE) $(FLAGS_TO_PASS) install)
27797 .PHONY: install-strip-guile maybe-install-strip-guile
27798 maybe-install-strip-guile:
27800 maybe-install-strip-guile: install-strip-guile
27802 install-strip-guile: installdirs
27803 @: $(MAKE); $(unstage)
27804 @r=`${PWD_COMMAND}`; export r; \
27805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27807 (cd $(HOST_SUBDIR)/guile && \
27808 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27812 # Other targets (info, dvi, pdf, etc.)
27814 .PHONY: maybe-info-guile info-guile
27817 maybe-info-guile: info-guile
27821 @: $(MAKE); $(unstage)
27822 @[ -f ./guile/Makefile ] || exit 0; \
27823 r=`${PWD_COMMAND}`; export r; \
27824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27826 for flag in $(EXTRA_HOST_FLAGS) ; do \
27827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27829 echo "Doing info in guile" ; \
27830 (cd $(HOST_SUBDIR)/guile && \
27831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27833 "RANLIB=$${RANLIB}" \
27834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27840 .PHONY: maybe-dvi-guile dvi-guile
27843 maybe-dvi-guile: dvi-guile
27847 @: $(MAKE); $(unstage)
27848 @[ -f ./guile/Makefile ] || exit 0; \
27849 r=`${PWD_COMMAND}`; export r; \
27850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27852 for flag in $(EXTRA_HOST_FLAGS) ; do \
27853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27855 echo "Doing dvi in guile" ; \
27856 (cd $(HOST_SUBDIR)/guile && \
27857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27859 "RANLIB=$${RANLIB}" \
27860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27866 .PHONY: maybe-pdf-guile pdf-guile
27869 maybe-pdf-guile: pdf-guile
27873 @: $(MAKE); $(unstage)
27874 @[ -f ./guile/Makefile ] || exit 0; \
27875 r=`${PWD_COMMAND}`; export r; \
27876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27878 for flag in $(EXTRA_HOST_FLAGS) ; do \
27879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27881 echo "Doing pdf in guile" ; \
27882 (cd $(HOST_SUBDIR)/guile && \
27883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27885 "RANLIB=$${RANLIB}" \
27886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27892 .PHONY: maybe-html-guile html-guile
27895 maybe-html-guile: html-guile
27899 @: $(MAKE); $(unstage)
27900 @[ -f ./guile/Makefile ] || exit 0; \
27901 r=`${PWD_COMMAND}`; export r; \
27902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904 for flag in $(EXTRA_HOST_FLAGS) ; do \
27905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27907 echo "Doing html in guile" ; \
27908 (cd $(HOST_SUBDIR)/guile && \
27909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27911 "RANLIB=$${RANLIB}" \
27912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27918 .PHONY: maybe-TAGS-guile TAGS-guile
27921 maybe-TAGS-guile: TAGS-guile
27925 @: $(MAKE); $(unstage)
27926 @[ -f ./guile/Makefile ] || exit 0; \
27927 r=`${PWD_COMMAND}`; export r; \
27928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27930 for flag in $(EXTRA_HOST_FLAGS) ; do \
27931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27933 echo "Doing TAGS in guile" ; \
27934 (cd $(HOST_SUBDIR)/guile && \
27935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27937 "RANLIB=$${RANLIB}" \
27938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27944 .PHONY: maybe-install-info-guile install-info-guile
27945 maybe-install-info-guile:
27947 maybe-install-info-guile: install-info-guile
27949 install-info-guile: \
27952 @: $(MAKE); $(unstage)
27953 @[ -f ./guile/Makefile ] || exit 0; \
27954 r=`${PWD_COMMAND}`; export r; \
27955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27957 for flag in $(EXTRA_HOST_FLAGS) ; do \
27958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27960 echo "Doing install-info in guile" ; \
27961 (cd $(HOST_SUBDIR)/guile && \
27962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27964 "RANLIB=$${RANLIB}" \
27965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27971 .PHONY: maybe-install-pdf-guile install-pdf-guile
27972 maybe-install-pdf-guile:
27974 maybe-install-pdf-guile: install-pdf-guile
27976 install-pdf-guile: \
27979 @: $(MAKE); $(unstage)
27980 @[ -f ./guile/Makefile ] || exit 0; \
27981 r=`${PWD_COMMAND}`; export r; \
27982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27984 for flag in $(EXTRA_HOST_FLAGS) ; do \
27985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27987 echo "Doing install-pdf in guile" ; \
27988 (cd $(HOST_SUBDIR)/guile && \
27989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27991 "RANLIB=$${RANLIB}" \
27992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27998 .PHONY: maybe-install-html-guile install-html-guile
27999 maybe-install-html-guile:
28001 maybe-install-html-guile: install-html-guile
28003 install-html-guile: \
28006 @: $(MAKE); $(unstage)
28007 @[ -f ./guile/Makefile ] || exit 0; \
28008 r=`${PWD_COMMAND}`; export r; \
28009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28011 for flag in $(EXTRA_HOST_FLAGS) ; do \
28012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28014 echo "Doing install-html in guile" ; \
28015 (cd $(HOST_SUBDIR)/guile && \
28016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28018 "RANLIB=$${RANLIB}" \
28019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28025 .PHONY: maybe-installcheck-guile installcheck-guile
28026 maybe-installcheck-guile:
28028 maybe-installcheck-guile: installcheck-guile
28030 installcheck-guile: \
28032 @: $(MAKE); $(unstage)
28033 @[ -f ./guile/Makefile ] || exit 0; \
28034 r=`${PWD_COMMAND}`; export r; \
28035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28037 for flag in $(EXTRA_HOST_FLAGS) ; do \
28038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28040 echo "Doing installcheck in guile" ; \
28041 (cd $(HOST_SUBDIR)/guile && \
28042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28044 "RANLIB=$${RANLIB}" \
28045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28051 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28052 maybe-mostlyclean-guile:
28054 maybe-mostlyclean-guile: mostlyclean-guile
28057 @: $(MAKE); $(unstage)
28058 @[ -f ./guile/Makefile ] || exit 0; \
28059 r=`${PWD_COMMAND}`; export r; \
28060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28062 for flag in $(EXTRA_HOST_FLAGS) ; do \
28063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28065 echo "Doing mostlyclean in guile" ; \
28066 (cd $(HOST_SUBDIR)/guile && \
28067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28069 "RANLIB=$${RANLIB}" \
28070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28076 .PHONY: maybe-clean-guile clean-guile
28079 maybe-clean-guile: clean-guile
28082 @: $(MAKE); $(unstage)
28083 @[ -f ./guile/Makefile ] || exit 0; \
28084 r=`${PWD_COMMAND}`; export r; \
28085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28087 for flag in $(EXTRA_HOST_FLAGS) ; do \
28088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28090 echo "Doing clean in guile" ; \
28091 (cd $(HOST_SUBDIR)/guile && \
28092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28094 "RANLIB=$${RANLIB}" \
28095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28101 .PHONY: maybe-distclean-guile distclean-guile
28102 maybe-distclean-guile:
28104 maybe-distclean-guile: distclean-guile
28107 @: $(MAKE); $(unstage)
28108 @[ -f ./guile/Makefile ] || exit 0; \
28109 r=`${PWD_COMMAND}`; export r; \
28110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28112 for flag in $(EXTRA_HOST_FLAGS) ; do \
28113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28115 echo "Doing distclean in guile" ; \
28116 (cd $(HOST_SUBDIR)/guile && \
28117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28119 "RANLIB=$${RANLIB}" \
28120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28126 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28127 maybe-maintainer-clean-guile:
28129 maybe-maintainer-clean-guile: maintainer-clean-guile
28131 maintainer-clean-guile:
28132 @: $(MAKE); $(unstage)
28133 @[ -f ./guile/Makefile ] || exit 0; \
28134 r=`${PWD_COMMAND}`; export r; \
28135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28137 for flag in $(EXTRA_HOST_FLAGS) ; do \
28138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28140 echo "Doing maintainer-clean in guile" ; \
28141 (cd $(HOST_SUBDIR)/guile && \
28142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28144 "RANLIB=$${RANLIB}" \
28145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28146 maintainer-clean) \
28153 .PHONY: configure-tk maybe-configure-tk
28154 maybe-configure-tk:
28156 configure-tk: stage_current
28157 @endif gcc-bootstrap
28159 maybe-configure-tk: configure-tk
28161 @: $(MAKE); $(unstage)
28162 @r=`${PWD_COMMAND}`; export r; \
28163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28164 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28167 echo Configuring in $(HOST_SUBDIR)/tk; \
28168 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28169 case $(srcdir) in \
28170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28171 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28174 srcdiroption="--srcdir=$${topdir}/tk"; \
28175 libsrcdir="$$s/tk"; \
28176 $(SHELL) $${libsrcdir}/configure \
28177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28178 --target=${target_alias} $${srcdiroption} \
28186 .PHONY: all-tk maybe-all-tk
28189 all-tk: stage_current
28190 @endif gcc-bootstrap
28193 maybe-all-tk: all-tk
28194 all-tk: configure-tk
28195 @: $(MAKE); $(unstage)
28196 @r=`${PWD_COMMAND}`; export r; \
28197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28199 (cd $(HOST_SUBDIR)/tk && \
28200 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28207 .PHONY: check-tk maybe-check-tk
28210 maybe-check-tk: check-tk
28213 @: $(MAKE); $(unstage)
28214 @r=`${PWD_COMMAND}`; export r; \
28215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28217 (cd $(HOST_SUBDIR)/tk && \
28218 $(MAKE) $(FLAGS_TO_PASS) check)
28222 .PHONY: install-tk maybe-install-tk
28225 maybe-install-tk: install-tk
28227 install-tk: installdirs
28228 @: $(MAKE); $(unstage)
28229 @r=`${PWD_COMMAND}`; export r; \
28230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28232 (cd $(HOST_SUBDIR)/tk && \
28233 $(MAKE) $(FLAGS_TO_PASS) install)
28237 .PHONY: install-strip-tk maybe-install-strip-tk
28238 maybe-install-strip-tk:
28240 maybe-install-strip-tk: install-strip-tk
28242 install-strip-tk: installdirs
28243 @: $(MAKE); $(unstage)
28244 @r=`${PWD_COMMAND}`; export r; \
28245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28247 (cd $(HOST_SUBDIR)/tk && \
28248 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28252 # Other targets (info, dvi, pdf, etc.)
28254 .PHONY: maybe-info-tk info-tk
28257 maybe-info-tk: info-tk
28261 @: $(MAKE); $(unstage)
28262 @[ -f ./tk/Makefile ] || exit 0; \
28263 r=`${PWD_COMMAND}`; export r; \
28264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28266 for flag in $(EXTRA_HOST_FLAGS) ; do \
28267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28269 echo "Doing info in tk" ; \
28270 (cd $(HOST_SUBDIR)/tk && \
28271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28273 "RANLIB=$${RANLIB}" \
28274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28280 .PHONY: maybe-dvi-tk dvi-tk
28283 maybe-dvi-tk: dvi-tk
28287 @: $(MAKE); $(unstage)
28288 @[ -f ./tk/Makefile ] || exit 0; \
28289 r=`${PWD_COMMAND}`; export r; \
28290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28292 for flag in $(EXTRA_HOST_FLAGS) ; do \
28293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28295 echo "Doing dvi in tk" ; \
28296 (cd $(HOST_SUBDIR)/tk && \
28297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28299 "RANLIB=$${RANLIB}" \
28300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28306 .PHONY: maybe-pdf-tk pdf-tk
28309 maybe-pdf-tk: pdf-tk
28313 @: $(MAKE); $(unstage)
28314 @[ -f ./tk/Makefile ] || exit 0; \
28315 r=`${PWD_COMMAND}`; export r; \
28316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28318 for flag in $(EXTRA_HOST_FLAGS) ; do \
28319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28321 echo "Doing pdf in tk" ; \
28322 (cd $(HOST_SUBDIR)/tk && \
28323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28325 "RANLIB=$${RANLIB}" \
28326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28332 .PHONY: maybe-html-tk html-tk
28335 maybe-html-tk: html-tk
28339 @: $(MAKE); $(unstage)
28340 @[ -f ./tk/Makefile ] || exit 0; \
28341 r=`${PWD_COMMAND}`; export r; \
28342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28344 for flag in $(EXTRA_HOST_FLAGS) ; do \
28345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28347 echo "Doing html in tk" ; \
28348 (cd $(HOST_SUBDIR)/tk && \
28349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28351 "RANLIB=$${RANLIB}" \
28352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28358 .PHONY: maybe-TAGS-tk TAGS-tk
28361 maybe-TAGS-tk: TAGS-tk
28365 @: $(MAKE); $(unstage)
28366 @[ -f ./tk/Makefile ] || exit 0; \
28367 r=`${PWD_COMMAND}`; export r; \
28368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28370 for flag in $(EXTRA_HOST_FLAGS) ; do \
28371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28373 echo "Doing TAGS in tk" ; \
28374 (cd $(HOST_SUBDIR)/tk && \
28375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28377 "RANLIB=$${RANLIB}" \
28378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28384 .PHONY: maybe-install-info-tk install-info-tk
28385 maybe-install-info-tk:
28387 maybe-install-info-tk: install-info-tk
28392 @: $(MAKE); $(unstage)
28393 @[ -f ./tk/Makefile ] || exit 0; \
28394 r=`${PWD_COMMAND}`; export r; \
28395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28397 for flag in $(EXTRA_HOST_FLAGS) ; do \
28398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28400 echo "Doing install-info in tk" ; \
28401 (cd $(HOST_SUBDIR)/tk && \
28402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28404 "RANLIB=$${RANLIB}" \
28405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28411 .PHONY: maybe-install-pdf-tk install-pdf-tk
28412 maybe-install-pdf-tk:
28414 maybe-install-pdf-tk: install-pdf-tk
28419 @: $(MAKE); $(unstage)
28420 @[ -f ./tk/Makefile ] || exit 0; \
28421 r=`${PWD_COMMAND}`; export r; \
28422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28424 for flag in $(EXTRA_HOST_FLAGS) ; do \
28425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28427 echo "Doing install-pdf in tk" ; \
28428 (cd $(HOST_SUBDIR)/tk && \
28429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28431 "RANLIB=$${RANLIB}" \
28432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28438 .PHONY: maybe-install-html-tk install-html-tk
28439 maybe-install-html-tk:
28441 maybe-install-html-tk: install-html-tk
28446 @: $(MAKE); $(unstage)
28447 @[ -f ./tk/Makefile ] || exit 0; \
28448 r=`${PWD_COMMAND}`; export r; \
28449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28451 for flag in $(EXTRA_HOST_FLAGS) ; do \
28452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28454 echo "Doing install-html in tk" ; \
28455 (cd $(HOST_SUBDIR)/tk && \
28456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28458 "RANLIB=$${RANLIB}" \
28459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28465 .PHONY: maybe-installcheck-tk installcheck-tk
28466 maybe-installcheck-tk:
28468 maybe-installcheck-tk: installcheck-tk
28472 @: $(MAKE); $(unstage)
28473 @[ -f ./tk/Makefile ] || exit 0; \
28474 r=`${PWD_COMMAND}`; export r; \
28475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28477 for flag in $(EXTRA_HOST_FLAGS) ; do \
28478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28480 echo "Doing installcheck in tk" ; \
28481 (cd $(HOST_SUBDIR)/tk && \
28482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28484 "RANLIB=$${RANLIB}" \
28485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28491 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28492 maybe-mostlyclean-tk:
28494 maybe-mostlyclean-tk: mostlyclean-tk
28497 @: $(MAKE); $(unstage)
28498 @[ -f ./tk/Makefile ] || exit 0; \
28499 r=`${PWD_COMMAND}`; export r; \
28500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28502 for flag in $(EXTRA_HOST_FLAGS) ; do \
28503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28505 echo "Doing mostlyclean in tk" ; \
28506 (cd $(HOST_SUBDIR)/tk && \
28507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28509 "RANLIB=$${RANLIB}" \
28510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28516 .PHONY: maybe-clean-tk clean-tk
28519 maybe-clean-tk: clean-tk
28522 @: $(MAKE); $(unstage)
28523 @[ -f ./tk/Makefile ] || exit 0; \
28524 r=`${PWD_COMMAND}`; export r; \
28525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28527 for flag in $(EXTRA_HOST_FLAGS) ; do \
28528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28530 echo "Doing clean in tk" ; \
28531 (cd $(HOST_SUBDIR)/tk && \
28532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28534 "RANLIB=$${RANLIB}" \
28535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28541 .PHONY: maybe-distclean-tk distclean-tk
28542 maybe-distclean-tk:
28544 maybe-distclean-tk: distclean-tk
28547 @: $(MAKE); $(unstage)
28548 @[ -f ./tk/Makefile ] || exit 0; \
28549 r=`${PWD_COMMAND}`; export r; \
28550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28552 for flag in $(EXTRA_HOST_FLAGS) ; do \
28553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28555 echo "Doing distclean in tk" ; \
28556 (cd $(HOST_SUBDIR)/tk && \
28557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28559 "RANLIB=$${RANLIB}" \
28560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28566 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28567 maybe-maintainer-clean-tk:
28569 maybe-maintainer-clean-tk: maintainer-clean-tk
28571 maintainer-clean-tk:
28572 @: $(MAKE); $(unstage)
28573 @[ -f ./tk/Makefile ] || exit 0; \
28574 r=`${PWD_COMMAND}`; export r; \
28575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28577 for flag in $(EXTRA_HOST_FLAGS) ; do \
28578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28580 echo "Doing maintainer-clean in tk" ; \
28581 (cd $(HOST_SUBDIR)/tk && \
28582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28584 "RANLIB=$${RANLIB}" \
28585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28586 maintainer-clean) \
28593 .PHONY: configure-libtermcap maybe-configure-libtermcap
28594 maybe-configure-libtermcap:
28596 configure-libtermcap: stage_current
28597 @endif gcc-bootstrap
28599 maybe-configure-libtermcap: configure-libtermcap
28600 configure-libtermcap:
28601 @: $(MAKE); $(unstage)
28602 @r=`${PWD_COMMAND}`; export r; \
28603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28604 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28607 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28608 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28609 case $(srcdir) in \
28610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28611 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28614 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28615 libsrcdir="$$s/libtermcap"; \
28616 $(SHELL) $${libsrcdir}/configure \
28617 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28618 --target=${target_alias} $${srcdiroption} \
28626 .PHONY: all-libtermcap maybe-all-libtermcap
28627 maybe-all-libtermcap:
28629 all-libtermcap: stage_current
28630 @endif gcc-bootstrap
28632 TARGET-libtermcap=all
28633 maybe-all-libtermcap: all-libtermcap
28634 all-libtermcap: configure-libtermcap
28635 @: $(MAKE); $(unstage)
28636 @r=`${PWD_COMMAND}`; export r; \
28637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28639 (cd $(HOST_SUBDIR)/libtermcap && \
28640 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28641 $(TARGET-libtermcap))
28647 .PHONY: check-libtermcap maybe-check-libtermcap
28648 maybe-check-libtermcap:
28650 maybe-check-libtermcap: check-libtermcap
28656 .PHONY: install-libtermcap maybe-install-libtermcap
28657 maybe-install-libtermcap:
28659 maybe-install-libtermcap: install-libtermcap
28661 install-libtermcap: installdirs
28662 @: $(MAKE); $(unstage)
28663 @r=`${PWD_COMMAND}`; export r; \
28664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28666 (cd $(HOST_SUBDIR)/libtermcap && \
28667 $(MAKE) $(FLAGS_TO_PASS) install)
28671 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
28672 maybe-install-strip-libtermcap:
28674 maybe-install-strip-libtermcap: install-strip-libtermcap
28676 install-strip-libtermcap: installdirs
28677 @: $(MAKE); $(unstage)
28678 @r=`${PWD_COMMAND}`; export r; \
28679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28681 (cd $(HOST_SUBDIR)/libtermcap && \
28682 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28686 # Other targets (info, dvi, pdf, etc.)
28688 .PHONY: maybe-info-libtermcap info-libtermcap
28689 maybe-info-libtermcap:
28691 maybe-info-libtermcap: info-libtermcap
28694 configure-libtermcap
28695 @: $(MAKE); $(unstage)
28696 @[ -f ./libtermcap/Makefile ] || exit 0; \
28697 r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28700 for flag in $(EXTRA_HOST_FLAGS) ; do \
28701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28703 echo "Doing info in libtermcap" ; \
28704 (cd $(HOST_SUBDIR)/libtermcap && \
28705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28707 "RANLIB=$${RANLIB}" \
28708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28714 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28715 maybe-dvi-libtermcap:
28717 maybe-dvi-libtermcap: dvi-libtermcap
28720 configure-libtermcap
28721 @: $(MAKE); $(unstage)
28722 @[ -f ./libtermcap/Makefile ] || exit 0; \
28723 r=`${PWD_COMMAND}`; export r; \
28724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28726 for flag in $(EXTRA_HOST_FLAGS) ; do \
28727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28729 echo "Doing dvi in libtermcap" ; \
28730 (cd $(HOST_SUBDIR)/libtermcap && \
28731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28733 "RANLIB=$${RANLIB}" \
28734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28740 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
28741 maybe-pdf-libtermcap:
28743 maybe-pdf-libtermcap: pdf-libtermcap
28746 configure-libtermcap
28747 @: $(MAKE); $(unstage)
28748 @[ -f ./libtermcap/Makefile ] || exit 0; \
28749 r=`${PWD_COMMAND}`; export r; \
28750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28752 for flag in $(EXTRA_HOST_FLAGS) ; do \
28753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28755 echo "Doing pdf in libtermcap" ; \
28756 (cd $(HOST_SUBDIR)/libtermcap && \
28757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28759 "RANLIB=$${RANLIB}" \
28760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28766 .PHONY: maybe-html-libtermcap html-libtermcap
28767 maybe-html-libtermcap:
28769 maybe-html-libtermcap: html-libtermcap
28772 configure-libtermcap
28773 @: $(MAKE); $(unstage)
28774 @[ -f ./libtermcap/Makefile ] || exit 0; \
28775 r=`${PWD_COMMAND}`; export r; \
28776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28778 for flag in $(EXTRA_HOST_FLAGS) ; do \
28779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28781 echo "Doing html in libtermcap" ; \
28782 (cd $(HOST_SUBDIR)/libtermcap && \
28783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28785 "RANLIB=$${RANLIB}" \
28786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28792 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28793 maybe-TAGS-libtermcap:
28795 maybe-TAGS-libtermcap: TAGS-libtermcap
28798 configure-libtermcap
28799 @: $(MAKE); $(unstage)
28800 @[ -f ./libtermcap/Makefile ] || exit 0; \
28801 r=`${PWD_COMMAND}`; export r; \
28802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28804 for flag in $(EXTRA_HOST_FLAGS) ; do \
28805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28807 echo "Doing TAGS in libtermcap" ; \
28808 (cd $(HOST_SUBDIR)/libtermcap && \
28809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28811 "RANLIB=$${RANLIB}" \
28812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28818 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28819 maybe-install-info-libtermcap:
28821 maybe-install-info-libtermcap: install-info-libtermcap
28823 install-info-libtermcap: \
28824 configure-libtermcap \
28826 @: $(MAKE); $(unstage)
28827 @[ -f ./libtermcap/Makefile ] || exit 0; \
28828 r=`${PWD_COMMAND}`; export r; \
28829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28831 for flag in $(EXTRA_HOST_FLAGS) ; do \
28832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28834 echo "Doing install-info in libtermcap" ; \
28835 (cd $(HOST_SUBDIR)/libtermcap && \
28836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28838 "RANLIB=$${RANLIB}" \
28839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28845 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
28846 maybe-install-pdf-libtermcap:
28848 maybe-install-pdf-libtermcap: install-pdf-libtermcap
28850 install-pdf-libtermcap: \
28851 configure-libtermcap \
28853 @: $(MAKE); $(unstage)
28854 @[ -f ./libtermcap/Makefile ] || exit 0; \
28855 r=`${PWD_COMMAND}`; export r; \
28856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28858 for flag in $(EXTRA_HOST_FLAGS) ; do \
28859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28861 echo "Doing install-pdf in libtermcap" ; \
28862 (cd $(HOST_SUBDIR)/libtermcap && \
28863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28865 "RANLIB=$${RANLIB}" \
28866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28872 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
28873 maybe-install-html-libtermcap:
28875 maybe-install-html-libtermcap: install-html-libtermcap
28877 install-html-libtermcap: \
28878 configure-libtermcap \
28880 @: $(MAKE); $(unstage)
28881 @[ -f ./libtermcap/Makefile ] || exit 0; \
28882 r=`${PWD_COMMAND}`; export r; \
28883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28885 for flag in $(EXTRA_HOST_FLAGS) ; do \
28886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28888 echo "Doing install-html in libtermcap" ; \
28889 (cd $(HOST_SUBDIR)/libtermcap && \
28890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28892 "RANLIB=$${RANLIB}" \
28893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28899 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28900 maybe-installcheck-libtermcap:
28902 maybe-installcheck-libtermcap: installcheck-libtermcap
28904 installcheck-libtermcap: \
28905 configure-libtermcap
28906 @: $(MAKE); $(unstage)
28907 @[ -f ./libtermcap/Makefile ] || exit 0; \
28908 r=`${PWD_COMMAND}`; export r; \
28909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28911 for flag in $(EXTRA_HOST_FLAGS) ; do \
28912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28914 echo "Doing installcheck in libtermcap" ; \
28915 (cd $(HOST_SUBDIR)/libtermcap && \
28916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28918 "RANLIB=$${RANLIB}" \
28919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28925 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28926 maybe-mostlyclean-libtermcap:
28928 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28930 # libtermcap doesn't support mostlyclean.
28931 mostlyclean-libtermcap:
28935 .PHONY: maybe-clean-libtermcap clean-libtermcap
28936 maybe-clean-libtermcap:
28938 maybe-clean-libtermcap: clean-libtermcap
28940 # libtermcap doesn't support clean.
28945 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28946 maybe-distclean-libtermcap:
28948 maybe-distclean-libtermcap: distclean-libtermcap
28950 # libtermcap doesn't support distclean.
28951 distclean-libtermcap:
28955 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28956 maybe-maintainer-clean-libtermcap:
28958 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28960 # libtermcap doesn't support maintainer-clean.
28961 maintainer-clean-libtermcap:
28967 .PHONY: configure-utils maybe-configure-utils
28968 maybe-configure-utils:
28970 configure-utils: stage_current
28971 @endif gcc-bootstrap
28973 maybe-configure-utils: configure-utils
28975 @: $(MAKE); $(unstage)
28976 @r=`${PWD_COMMAND}`; export r; \
28977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28978 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28981 echo Configuring in $(HOST_SUBDIR)/utils; \
28982 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28983 case $(srcdir) in \
28984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28985 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28988 srcdiroption="--srcdir=$${topdir}/utils"; \
28989 libsrcdir="$$s/utils"; \
28990 $(SHELL) $${libsrcdir}/configure \
28991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28992 --target=${target_alias} $${srcdiroption} \
29000 .PHONY: all-utils maybe-all-utils
29003 all-utils: stage_current
29004 @endif gcc-bootstrap
29007 maybe-all-utils: all-utils
29008 all-utils: configure-utils
29009 @: $(MAKE); $(unstage)
29010 @r=`${PWD_COMMAND}`; export r; \
29011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29013 (cd $(HOST_SUBDIR)/utils && \
29014 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29021 .PHONY: check-utils maybe-check-utils
29024 maybe-check-utils: check-utils
29030 .PHONY: install-utils maybe-install-utils
29031 maybe-install-utils:
29033 maybe-install-utils: install-utils
29035 install-utils: installdirs
29036 @: $(MAKE); $(unstage)
29037 @r=`${PWD_COMMAND}`; export r; \
29038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29040 (cd $(HOST_SUBDIR)/utils && \
29041 $(MAKE) $(FLAGS_TO_PASS) install)
29045 .PHONY: install-strip-utils maybe-install-strip-utils
29046 maybe-install-strip-utils:
29048 maybe-install-strip-utils: install-strip-utils
29050 install-strip-utils: installdirs
29051 @: $(MAKE); $(unstage)
29052 @r=`${PWD_COMMAND}`; export r; \
29053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29055 (cd $(HOST_SUBDIR)/utils && \
29056 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29060 # Other targets (info, dvi, pdf, etc.)
29062 .PHONY: maybe-info-utils info-utils
29065 maybe-info-utils: info-utils
29069 @: $(MAKE); $(unstage)
29070 @[ -f ./utils/Makefile ] || exit 0; \
29071 r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29074 for flag in $(EXTRA_HOST_FLAGS) ; do \
29075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29077 echo "Doing info in utils" ; \
29078 (cd $(HOST_SUBDIR)/utils && \
29079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29081 "RANLIB=$${RANLIB}" \
29082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29088 .PHONY: maybe-dvi-utils dvi-utils
29091 maybe-dvi-utils: dvi-utils
29095 @: $(MAKE); $(unstage)
29096 @[ -f ./utils/Makefile ] || exit 0; \
29097 r=`${PWD_COMMAND}`; export r; \
29098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29100 for flag in $(EXTRA_HOST_FLAGS) ; do \
29101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29103 echo "Doing dvi in utils" ; \
29104 (cd $(HOST_SUBDIR)/utils && \
29105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29107 "RANLIB=$${RANLIB}" \
29108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29114 .PHONY: maybe-pdf-utils pdf-utils
29117 maybe-pdf-utils: pdf-utils
29121 @: $(MAKE); $(unstage)
29122 @[ -f ./utils/Makefile ] || exit 0; \
29123 r=`${PWD_COMMAND}`; export r; \
29124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29126 for flag in $(EXTRA_HOST_FLAGS) ; do \
29127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29129 echo "Doing pdf in utils" ; \
29130 (cd $(HOST_SUBDIR)/utils && \
29131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29133 "RANLIB=$${RANLIB}" \
29134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29140 .PHONY: maybe-html-utils html-utils
29143 maybe-html-utils: html-utils
29147 @: $(MAKE); $(unstage)
29148 @[ -f ./utils/Makefile ] || exit 0; \
29149 r=`${PWD_COMMAND}`; export r; \
29150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29152 for flag in $(EXTRA_HOST_FLAGS) ; do \
29153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29155 echo "Doing html in utils" ; \
29156 (cd $(HOST_SUBDIR)/utils && \
29157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29159 "RANLIB=$${RANLIB}" \
29160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29166 .PHONY: maybe-TAGS-utils TAGS-utils
29169 maybe-TAGS-utils: TAGS-utils
29173 @: $(MAKE); $(unstage)
29174 @[ -f ./utils/Makefile ] || exit 0; \
29175 r=`${PWD_COMMAND}`; export r; \
29176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29178 for flag in $(EXTRA_HOST_FLAGS) ; do \
29179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29181 echo "Doing TAGS in utils" ; \
29182 (cd $(HOST_SUBDIR)/utils && \
29183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29185 "RANLIB=$${RANLIB}" \
29186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29192 .PHONY: maybe-install-info-utils install-info-utils
29193 maybe-install-info-utils:
29195 maybe-install-info-utils: install-info-utils
29197 install-info-utils: \
29200 @: $(MAKE); $(unstage)
29201 @[ -f ./utils/Makefile ] || exit 0; \
29202 r=`${PWD_COMMAND}`; export r; \
29203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29205 for flag in $(EXTRA_HOST_FLAGS) ; do \
29206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29208 echo "Doing install-info in utils" ; \
29209 (cd $(HOST_SUBDIR)/utils && \
29210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29212 "RANLIB=$${RANLIB}" \
29213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29219 .PHONY: maybe-install-pdf-utils install-pdf-utils
29220 maybe-install-pdf-utils:
29222 maybe-install-pdf-utils: install-pdf-utils
29224 install-pdf-utils: \
29227 @: $(MAKE); $(unstage)
29228 @[ -f ./utils/Makefile ] || exit 0; \
29229 r=`${PWD_COMMAND}`; export r; \
29230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29232 for flag in $(EXTRA_HOST_FLAGS) ; do \
29233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29235 echo "Doing install-pdf in utils" ; \
29236 (cd $(HOST_SUBDIR)/utils && \
29237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29239 "RANLIB=$${RANLIB}" \
29240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29246 .PHONY: maybe-install-html-utils install-html-utils
29247 maybe-install-html-utils:
29249 maybe-install-html-utils: install-html-utils
29251 install-html-utils: \
29254 @: $(MAKE); $(unstage)
29255 @[ -f ./utils/Makefile ] || exit 0; \
29256 r=`${PWD_COMMAND}`; export r; \
29257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29259 for flag in $(EXTRA_HOST_FLAGS) ; do \
29260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29262 echo "Doing install-html in utils" ; \
29263 (cd $(HOST_SUBDIR)/utils && \
29264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29266 "RANLIB=$${RANLIB}" \
29267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29273 .PHONY: maybe-installcheck-utils installcheck-utils
29274 maybe-installcheck-utils:
29276 maybe-installcheck-utils: installcheck-utils
29278 installcheck-utils: \
29280 @: $(MAKE); $(unstage)
29281 @[ -f ./utils/Makefile ] || exit 0; \
29282 r=`${PWD_COMMAND}`; export r; \
29283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29285 for flag in $(EXTRA_HOST_FLAGS) ; do \
29286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29288 echo "Doing installcheck in utils" ; \
29289 (cd $(HOST_SUBDIR)/utils && \
29290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29292 "RANLIB=$${RANLIB}" \
29293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29299 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29300 maybe-mostlyclean-utils:
29302 maybe-mostlyclean-utils: mostlyclean-utils
29305 @: $(MAKE); $(unstage)
29306 @[ -f ./utils/Makefile ] || exit 0; \
29307 r=`${PWD_COMMAND}`; export r; \
29308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29310 for flag in $(EXTRA_HOST_FLAGS) ; do \
29311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29313 echo "Doing mostlyclean in utils" ; \
29314 (cd $(HOST_SUBDIR)/utils && \
29315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29317 "RANLIB=$${RANLIB}" \
29318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29324 .PHONY: maybe-clean-utils clean-utils
29327 maybe-clean-utils: clean-utils
29330 @: $(MAKE); $(unstage)
29331 @[ -f ./utils/Makefile ] || exit 0; \
29332 r=`${PWD_COMMAND}`; export r; \
29333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29335 for flag in $(EXTRA_HOST_FLAGS) ; do \
29336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29338 echo "Doing clean in utils" ; \
29339 (cd $(HOST_SUBDIR)/utils && \
29340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29342 "RANLIB=$${RANLIB}" \
29343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29349 .PHONY: maybe-distclean-utils distclean-utils
29350 maybe-distclean-utils:
29352 maybe-distclean-utils: distclean-utils
29355 @: $(MAKE); $(unstage)
29356 @[ -f ./utils/Makefile ] || exit 0; \
29357 r=`${PWD_COMMAND}`; export r; \
29358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29360 for flag in $(EXTRA_HOST_FLAGS) ; do \
29361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29363 echo "Doing distclean in utils" ; \
29364 (cd $(HOST_SUBDIR)/utils && \
29365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29367 "RANLIB=$${RANLIB}" \
29368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29374 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29375 maybe-maintainer-clean-utils:
29377 maybe-maintainer-clean-utils: maintainer-clean-utils
29379 maintainer-clean-utils:
29380 @: $(MAKE); $(unstage)
29381 @[ -f ./utils/Makefile ] || exit 0; \
29382 r=`${PWD_COMMAND}`; export r; \
29383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29385 for flag in $(EXTRA_HOST_FLAGS) ; do \
29386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29388 echo "Doing maintainer-clean in utils" ; \
29389 (cd $(HOST_SUBDIR)/utils && \
29390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29392 "RANLIB=$${RANLIB}" \
29393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29394 maintainer-clean) \
29401 .PHONY: configure-gnattools maybe-configure-gnattools
29402 maybe-configure-gnattools:
29404 configure-gnattools: stage_current
29405 @endif gcc-bootstrap
29407 maybe-configure-gnattools: configure-gnattools
29408 configure-gnattools:
29409 @: $(MAKE); $(unstage)
29410 @r=`${PWD_COMMAND}`; export r; \
29411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29412 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29415 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29416 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29417 case $(srcdir) in \
29418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29419 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29422 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29423 libsrcdir="$$s/gnattools"; \
29424 $(SHELL) $${libsrcdir}/configure \
29425 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29426 --target=${target_alias} $${srcdiroption} \
29434 .PHONY: all-gnattools maybe-all-gnattools
29435 maybe-all-gnattools:
29437 all-gnattools: stage_current
29438 @endif gcc-bootstrap
29440 TARGET-gnattools=all
29441 maybe-all-gnattools: all-gnattools
29442 all-gnattools: configure-gnattools
29443 @: $(MAKE); $(unstage)
29444 @r=`${PWD_COMMAND}`; export r; \
29445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29447 (cd $(HOST_SUBDIR)/gnattools && \
29448 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29449 $(TARGET-gnattools))
29455 .PHONY: check-gnattools maybe-check-gnattools
29456 maybe-check-gnattools:
29458 maybe-check-gnattools: check-gnattools
29461 @: $(MAKE); $(unstage)
29462 @r=`${PWD_COMMAND}`; export r; \
29463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29465 (cd $(HOST_SUBDIR)/gnattools && \
29466 $(MAKE) $(FLAGS_TO_PASS) check)
29470 .PHONY: install-gnattools maybe-install-gnattools
29471 maybe-install-gnattools:
29473 maybe-install-gnattools: install-gnattools
29475 install-gnattools: installdirs
29476 @: $(MAKE); $(unstage)
29477 @r=`${PWD_COMMAND}`; export r; \
29478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29480 (cd $(HOST_SUBDIR)/gnattools && \
29481 $(MAKE) $(FLAGS_TO_PASS) install)
29485 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
29486 maybe-install-strip-gnattools:
29488 maybe-install-strip-gnattools: install-strip-gnattools
29490 install-strip-gnattools: installdirs
29491 @: $(MAKE); $(unstage)
29492 @r=`${PWD_COMMAND}`; export r; \
29493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29495 (cd $(HOST_SUBDIR)/gnattools && \
29496 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29500 # Other targets (info, dvi, pdf, etc.)
29502 .PHONY: maybe-info-gnattools info-gnattools
29503 maybe-info-gnattools:
29505 maybe-info-gnattools: info-gnattools
29508 configure-gnattools
29509 @: $(MAKE); $(unstage)
29510 @[ -f ./gnattools/Makefile ] || exit 0; \
29511 r=`${PWD_COMMAND}`; export r; \
29512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29514 for flag in $(EXTRA_HOST_FLAGS) ; do \
29515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29517 echo "Doing info in gnattools" ; \
29518 (cd $(HOST_SUBDIR)/gnattools && \
29519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29521 "RANLIB=$${RANLIB}" \
29522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29528 .PHONY: maybe-dvi-gnattools dvi-gnattools
29529 maybe-dvi-gnattools:
29531 maybe-dvi-gnattools: dvi-gnattools
29534 configure-gnattools
29535 @: $(MAKE); $(unstage)
29536 @[ -f ./gnattools/Makefile ] || exit 0; \
29537 r=`${PWD_COMMAND}`; export r; \
29538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29540 for flag in $(EXTRA_HOST_FLAGS) ; do \
29541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29543 echo "Doing dvi in gnattools" ; \
29544 (cd $(HOST_SUBDIR)/gnattools && \
29545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29547 "RANLIB=$${RANLIB}" \
29548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29554 .PHONY: maybe-pdf-gnattools pdf-gnattools
29555 maybe-pdf-gnattools:
29557 maybe-pdf-gnattools: pdf-gnattools
29560 configure-gnattools
29561 @: $(MAKE); $(unstage)
29562 @[ -f ./gnattools/Makefile ] || exit 0; \
29563 r=`${PWD_COMMAND}`; export r; \
29564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29566 for flag in $(EXTRA_HOST_FLAGS) ; do \
29567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29569 echo "Doing pdf in gnattools" ; \
29570 (cd $(HOST_SUBDIR)/gnattools && \
29571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29573 "RANLIB=$${RANLIB}" \
29574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29580 .PHONY: maybe-html-gnattools html-gnattools
29581 maybe-html-gnattools:
29583 maybe-html-gnattools: html-gnattools
29586 configure-gnattools
29587 @: $(MAKE); $(unstage)
29588 @[ -f ./gnattools/Makefile ] || exit 0; \
29589 r=`${PWD_COMMAND}`; export r; \
29590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29592 for flag in $(EXTRA_HOST_FLAGS) ; do \
29593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29595 echo "Doing html in gnattools" ; \
29596 (cd $(HOST_SUBDIR)/gnattools && \
29597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29599 "RANLIB=$${RANLIB}" \
29600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29606 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
29607 maybe-TAGS-gnattools:
29609 maybe-TAGS-gnattools: TAGS-gnattools
29612 configure-gnattools
29613 @: $(MAKE); $(unstage)
29614 @[ -f ./gnattools/Makefile ] || exit 0; \
29615 r=`${PWD_COMMAND}`; export r; \
29616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29618 for flag in $(EXTRA_HOST_FLAGS) ; do \
29619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29621 echo "Doing TAGS in gnattools" ; \
29622 (cd $(HOST_SUBDIR)/gnattools && \
29623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29625 "RANLIB=$${RANLIB}" \
29626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29632 .PHONY: maybe-install-info-gnattools install-info-gnattools
29633 maybe-install-info-gnattools:
29635 maybe-install-info-gnattools: install-info-gnattools
29637 install-info-gnattools: \
29638 configure-gnattools \
29640 @: $(MAKE); $(unstage)
29641 @[ -f ./gnattools/Makefile ] || exit 0; \
29642 r=`${PWD_COMMAND}`; export r; \
29643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29645 for flag in $(EXTRA_HOST_FLAGS) ; do \
29646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29648 echo "Doing install-info in gnattools" ; \
29649 (cd $(HOST_SUBDIR)/gnattools && \
29650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29652 "RANLIB=$${RANLIB}" \
29653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29659 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
29660 maybe-install-pdf-gnattools:
29662 maybe-install-pdf-gnattools: install-pdf-gnattools
29664 install-pdf-gnattools: \
29665 configure-gnattools \
29667 @: $(MAKE); $(unstage)
29668 @[ -f ./gnattools/Makefile ] || exit 0; \
29669 r=`${PWD_COMMAND}`; export r; \
29670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29672 for flag in $(EXTRA_HOST_FLAGS) ; do \
29673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29675 echo "Doing install-pdf in gnattools" ; \
29676 (cd $(HOST_SUBDIR)/gnattools && \
29677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29679 "RANLIB=$${RANLIB}" \
29680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29686 .PHONY: maybe-install-html-gnattools install-html-gnattools
29687 maybe-install-html-gnattools:
29689 maybe-install-html-gnattools: install-html-gnattools
29691 install-html-gnattools: \
29692 configure-gnattools \
29694 @: $(MAKE); $(unstage)
29695 @[ -f ./gnattools/Makefile ] || exit 0; \
29696 r=`${PWD_COMMAND}`; export r; \
29697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29699 for flag in $(EXTRA_HOST_FLAGS) ; do \
29700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29702 echo "Doing install-html in gnattools" ; \
29703 (cd $(HOST_SUBDIR)/gnattools && \
29704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29706 "RANLIB=$${RANLIB}" \
29707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29713 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29714 maybe-installcheck-gnattools:
29716 maybe-installcheck-gnattools: installcheck-gnattools
29718 installcheck-gnattools: \
29719 configure-gnattools
29720 @: $(MAKE); $(unstage)
29721 @[ -f ./gnattools/Makefile ] || exit 0; \
29722 r=`${PWD_COMMAND}`; export r; \
29723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29725 for flag in $(EXTRA_HOST_FLAGS) ; do \
29726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29728 echo "Doing installcheck in gnattools" ; \
29729 (cd $(HOST_SUBDIR)/gnattools && \
29730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29732 "RANLIB=$${RANLIB}" \
29733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29739 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29740 maybe-mostlyclean-gnattools:
29742 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29744 mostlyclean-gnattools:
29745 @: $(MAKE); $(unstage)
29746 @[ -f ./gnattools/Makefile ] || exit 0; \
29747 r=`${PWD_COMMAND}`; export r; \
29748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29750 for flag in $(EXTRA_HOST_FLAGS) ; do \
29751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29753 echo "Doing mostlyclean in gnattools" ; \
29754 (cd $(HOST_SUBDIR)/gnattools && \
29755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29757 "RANLIB=$${RANLIB}" \
29758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29764 .PHONY: maybe-clean-gnattools clean-gnattools
29765 maybe-clean-gnattools:
29767 maybe-clean-gnattools: clean-gnattools
29770 @: $(MAKE); $(unstage)
29771 @[ -f ./gnattools/Makefile ] || exit 0; \
29772 r=`${PWD_COMMAND}`; export r; \
29773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29775 for flag in $(EXTRA_HOST_FLAGS) ; do \
29776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29778 echo "Doing clean in gnattools" ; \
29779 (cd $(HOST_SUBDIR)/gnattools && \
29780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29782 "RANLIB=$${RANLIB}" \
29783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29789 .PHONY: maybe-distclean-gnattools distclean-gnattools
29790 maybe-distclean-gnattools:
29792 maybe-distclean-gnattools: distclean-gnattools
29794 distclean-gnattools:
29795 @: $(MAKE); $(unstage)
29796 @[ -f ./gnattools/Makefile ] || exit 0; \
29797 r=`${PWD_COMMAND}`; export r; \
29798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29800 for flag in $(EXTRA_HOST_FLAGS) ; do \
29801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29803 echo "Doing distclean in gnattools" ; \
29804 (cd $(HOST_SUBDIR)/gnattools && \
29805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29807 "RANLIB=$${RANLIB}" \
29808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29814 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29815 maybe-maintainer-clean-gnattools:
29817 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29819 maintainer-clean-gnattools:
29820 @: $(MAKE); $(unstage)
29821 @[ -f ./gnattools/Makefile ] || exit 0; \
29822 r=`${PWD_COMMAND}`; export r; \
29823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29825 for flag in $(EXTRA_HOST_FLAGS) ; do \
29826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29828 echo "Doing maintainer-clean in gnattools" ; \
29829 (cd $(HOST_SUBDIR)/gnattools && \
29830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29832 "RANLIB=$${RANLIB}" \
29833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29834 maintainer-clean) \
29841 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
29842 maybe-configure-lto-plugin:
29844 configure-lto-plugin: stage_current
29845 @endif gcc-bootstrap
29847 maybe-configure-lto-plugin: configure-lto-plugin
29848 configure-lto-plugin:
29849 @r=`${PWD_COMMAND}`; export r; \
29850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29851 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29854 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
29855 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
29856 case $(srcdir) in \
29857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29858 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29861 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29862 libsrcdir="$$s/lto-plugin"; \
29863 $(SHELL) $${libsrcdir}/configure \
29864 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29865 --target=${target_alias} $${srcdiroption} --enable-shared \
29871 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
29872 maybe-configure-stage1-lto-plugin:
29873 @if lto-plugin-bootstrap
29874 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
29875 configure-stage1-lto-plugin:
29876 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29877 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29878 @r=`${PWD_COMMAND}`; export r; \
29879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29880 TFLAGS="$(STAGE1_TFLAGS)"; \
29881 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29883 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29884 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29885 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29886 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
29887 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29888 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29889 case $(srcdir) in \
29890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29891 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29894 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29895 libsrcdir="$$s/lto-plugin"; \
29896 $(SHELL) $${libsrcdir}/configure \
29897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29898 --target=${target_alias} $${srcdiroption} \
29899 $(STAGE1_CONFIGURE_FLAGS) \
29901 @endif lto-plugin-bootstrap
29903 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
29904 maybe-configure-stage2-lto-plugin:
29905 @if lto-plugin-bootstrap
29906 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
29907 configure-stage2-lto-plugin:
29908 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29910 @r=`${PWD_COMMAND}`; export r; \
29911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29912 TFLAGS="$(STAGE2_TFLAGS)"; \
29913 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29915 $(POSTSTAGE1_HOST_EXPORTS) \
29916 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29917 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29918 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29919 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
29920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29921 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29922 case $(srcdir) in \
29923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29924 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29927 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29928 libsrcdir="$$s/lto-plugin"; \
29929 $(SHELL) $${libsrcdir}/configure \
29930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29931 --target=${target_alias} $${srcdiroption} \
29932 --with-build-libsubdir=$(HOST_SUBDIR) \
29933 $(STAGE2_CONFIGURE_FLAGS) \
29935 @endif lto-plugin-bootstrap
29937 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
29938 maybe-configure-stage3-lto-plugin:
29939 @if lto-plugin-bootstrap
29940 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
29941 configure-stage3-lto-plugin:
29942 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29944 @r=`${PWD_COMMAND}`; export r; \
29945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29946 TFLAGS="$(STAGE3_TFLAGS)"; \
29947 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29949 $(POSTSTAGE1_HOST_EXPORTS) \
29950 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29951 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29952 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29953 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
29954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29955 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29956 case $(srcdir) in \
29957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29958 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29961 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29962 libsrcdir="$$s/lto-plugin"; \
29963 $(SHELL) $${libsrcdir}/configure \
29964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29965 --target=${target_alias} $${srcdiroption} \
29966 --with-build-libsubdir=$(HOST_SUBDIR) \
29967 $(STAGE3_CONFIGURE_FLAGS) \
29969 @endif lto-plugin-bootstrap
29971 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
29972 maybe-configure-stage4-lto-plugin:
29973 @if lto-plugin-bootstrap
29974 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
29975 configure-stage4-lto-plugin:
29976 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29977 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
29978 @r=`${PWD_COMMAND}`; export r; \
29979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29980 TFLAGS="$(STAGE4_TFLAGS)"; \
29981 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
29983 $(POSTSTAGE1_HOST_EXPORTS) \
29984 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29985 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29986 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29987 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
29988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
29989 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
29990 case $(srcdir) in \
29991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29992 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
29993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29995 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
29996 libsrcdir="$$s/lto-plugin"; \
29997 $(SHELL) $${libsrcdir}/configure \
29998 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29999 --target=${target_alias} $${srcdiroption} \
30000 --with-build-libsubdir=$(HOST_SUBDIR) \
30001 $(STAGE4_CONFIGURE_FLAGS) \
30003 @endif lto-plugin-bootstrap
30005 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30006 maybe-configure-stageprofile-lto-plugin:
30007 @if lto-plugin-bootstrap
30008 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30009 configure-stageprofile-lto-plugin:
30010 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30012 @r=`${PWD_COMMAND}`; export r; \
30013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30014 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30015 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30017 $(POSTSTAGE1_HOST_EXPORTS) \
30018 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30019 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30020 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30021 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30023 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30024 case $(srcdir) in \
30025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30026 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30029 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30030 libsrcdir="$$s/lto-plugin"; \
30031 $(SHELL) $${libsrcdir}/configure \
30032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30033 --target=${target_alias} $${srcdiroption} \
30034 --with-build-libsubdir=$(HOST_SUBDIR) \
30035 $(STAGEprofile_CONFIGURE_FLAGS) \
30037 @endif lto-plugin-bootstrap
30039 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30040 maybe-configure-stagefeedback-lto-plugin:
30041 @if lto-plugin-bootstrap
30042 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30043 configure-stagefeedback-lto-plugin:
30044 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30046 @r=`${PWD_COMMAND}`; export r; \
30047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30048 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30049 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30051 $(POSTSTAGE1_HOST_EXPORTS) \
30052 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30053 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30054 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30055 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30057 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30058 case $(srcdir) in \
30059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30060 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30063 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30064 libsrcdir="$$s/lto-plugin"; \
30065 $(SHELL) $${libsrcdir}/configure \
30066 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30067 --target=${target_alias} $${srcdiroption} \
30068 --with-build-libsubdir=$(HOST_SUBDIR) \
30069 $(STAGEfeedback_CONFIGURE_FLAGS) \
30071 @endif lto-plugin-bootstrap
30077 .PHONY: all-lto-plugin maybe-all-lto-plugin
30078 maybe-all-lto-plugin:
30080 all-lto-plugin: stage_current
30081 @endif gcc-bootstrap
30083 TARGET-lto-plugin=all
30084 maybe-all-lto-plugin: all-lto-plugin
30085 all-lto-plugin: configure-lto-plugin
30086 @r=`${PWD_COMMAND}`; export r; \
30087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30089 (cd $(HOST_SUBDIR)/lto-plugin && \
30090 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30091 $(TARGET-lto-plugin))
30096 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30097 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30098 maybe-all-stage1-lto-plugin:
30099 maybe-clean-stage1-lto-plugin:
30100 @if lto-plugin-bootstrap
30101 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30102 all-stage1: all-stage1-lto-plugin
30103 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30104 all-stage1-lto-plugin: configure-stage1-lto-plugin
30105 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30106 @r=`${PWD_COMMAND}`; export r; \
30107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30108 TFLAGS="$(STAGE1_TFLAGS)"; \
30110 cd $(HOST_SUBDIR)/lto-plugin && \
30111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30112 CFLAGS="$(STAGE1_CFLAGS)" \
30113 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30114 LIBCFLAGS="$(LIBCFLAGS)" \
30115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30118 $(EXTRA_HOST_FLAGS) \
30119 $(STAGE1_FLAGS_TO_PASS) \
30120 TFLAGS="$(STAGE1_TFLAGS)" \
30121 $(TARGET-stage1-lto-plugin)
30123 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30124 clean-stage1: clean-stage1-lto-plugin
30125 clean-stage1-lto-plugin:
30126 @if [ $(current_stage) = stage1 ]; then \
30127 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30129 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30130 $(MAKE) stage1-start; \
30132 cd $(HOST_SUBDIR)/lto-plugin && \
30133 $(MAKE) $(EXTRA_HOST_FLAGS) \
30134 $(STAGE1_FLAGS_TO_PASS) clean
30135 @endif lto-plugin-bootstrap
30138 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30139 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30140 maybe-all-stage2-lto-plugin:
30141 maybe-clean-stage2-lto-plugin:
30142 @if lto-plugin-bootstrap
30143 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30144 all-stage2: all-stage2-lto-plugin
30145 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30146 all-stage2-lto-plugin: configure-stage2-lto-plugin
30147 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30148 @r=`${PWD_COMMAND}`; export r; \
30149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30150 TFLAGS="$(STAGE2_TFLAGS)"; \
30152 $(POSTSTAGE1_HOST_EXPORTS) \
30153 cd $(HOST_SUBDIR)/lto-plugin && \
30154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30155 CFLAGS="$(STAGE2_CFLAGS)" \
30156 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30157 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30158 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30159 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30160 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30161 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30162 TFLAGS="$(STAGE2_TFLAGS)" \
30163 $(TARGET-stage2-lto-plugin)
30165 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30166 clean-stage2: clean-stage2-lto-plugin
30167 clean-stage2-lto-plugin:
30168 @if [ $(current_stage) = stage2 ]; then \
30169 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30171 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30172 $(MAKE) stage2-start; \
30174 cd $(HOST_SUBDIR)/lto-plugin && \
30175 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30176 @endif lto-plugin-bootstrap
30179 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30180 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30181 maybe-all-stage3-lto-plugin:
30182 maybe-clean-stage3-lto-plugin:
30183 @if lto-plugin-bootstrap
30184 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30185 all-stage3: all-stage3-lto-plugin
30186 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30187 all-stage3-lto-plugin: configure-stage3-lto-plugin
30188 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30189 @r=`${PWD_COMMAND}`; export r; \
30190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30191 TFLAGS="$(STAGE3_TFLAGS)"; \
30193 $(POSTSTAGE1_HOST_EXPORTS) \
30194 cd $(HOST_SUBDIR)/lto-plugin && \
30195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30196 CFLAGS="$(STAGE3_CFLAGS)" \
30197 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30198 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30202 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30203 TFLAGS="$(STAGE3_TFLAGS)" \
30204 $(TARGET-stage3-lto-plugin)
30206 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30207 clean-stage3: clean-stage3-lto-plugin
30208 clean-stage3-lto-plugin:
30209 @if [ $(current_stage) = stage3 ]; then \
30210 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30212 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30213 $(MAKE) stage3-start; \
30215 cd $(HOST_SUBDIR)/lto-plugin && \
30216 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30217 @endif lto-plugin-bootstrap
30220 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30221 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30222 maybe-all-stage4-lto-plugin:
30223 maybe-clean-stage4-lto-plugin:
30224 @if lto-plugin-bootstrap
30225 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30226 all-stage4: all-stage4-lto-plugin
30227 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30228 all-stage4-lto-plugin: configure-stage4-lto-plugin
30229 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30230 @r=`${PWD_COMMAND}`; export r; \
30231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30232 TFLAGS="$(STAGE4_TFLAGS)"; \
30234 $(POSTSTAGE1_HOST_EXPORTS) \
30235 cd $(HOST_SUBDIR)/lto-plugin && \
30236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30237 CFLAGS="$(STAGE4_CFLAGS)" \
30238 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30239 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30243 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30244 TFLAGS="$(STAGE4_TFLAGS)" \
30245 $(TARGET-stage4-lto-plugin)
30247 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30248 clean-stage4: clean-stage4-lto-plugin
30249 clean-stage4-lto-plugin:
30250 @if [ $(current_stage) = stage4 ]; then \
30251 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30253 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30254 $(MAKE) stage4-start; \
30256 cd $(HOST_SUBDIR)/lto-plugin && \
30257 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30258 @endif lto-plugin-bootstrap
30261 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30262 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30263 maybe-all-stageprofile-lto-plugin:
30264 maybe-clean-stageprofile-lto-plugin:
30265 @if lto-plugin-bootstrap
30266 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30267 all-stageprofile: all-stageprofile-lto-plugin
30268 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30269 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30270 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30271 @r=`${PWD_COMMAND}`; export r; \
30272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30273 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30275 $(POSTSTAGE1_HOST_EXPORTS) \
30276 cd $(HOST_SUBDIR)/lto-plugin && \
30277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30278 CFLAGS="$(STAGEprofile_CFLAGS)" \
30279 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30280 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30284 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30285 TFLAGS="$(STAGEprofile_TFLAGS)" \
30286 $(TARGET-stageprofile-lto-plugin)
30288 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30289 clean-stageprofile: clean-stageprofile-lto-plugin
30290 clean-stageprofile-lto-plugin:
30291 @if [ $(current_stage) = stageprofile ]; then \
30292 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30294 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30295 $(MAKE) stageprofile-start; \
30297 cd $(HOST_SUBDIR)/lto-plugin && \
30298 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30299 @endif lto-plugin-bootstrap
30302 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30303 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30304 maybe-all-stagefeedback-lto-plugin:
30305 maybe-clean-stagefeedback-lto-plugin:
30306 @if lto-plugin-bootstrap
30307 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30308 all-stagefeedback: all-stagefeedback-lto-plugin
30309 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30310 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30311 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30312 @r=`${PWD_COMMAND}`; export r; \
30313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30314 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30316 $(POSTSTAGE1_HOST_EXPORTS) \
30317 cd $(HOST_SUBDIR)/lto-plugin && \
30318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30319 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30320 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30321 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30322 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30323 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30324 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30325 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30326 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30327 $(TARGET-stagefeedback-lto-plugin)
30329 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30330 clean-stagefeedback: clean-stagefeedback-lto-plugin
30331 clean-stagefeedback-lto-plugin:
30332 @if [ $(current_stage) = stagefeedback ]; then \
30333 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30335 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30336 $(MAKE) stagefeedback-start; \
30338 cd $(HOST_SUBDIR)/lto-plugin && \
30339 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30340 @endif lto-plugin-bootstrap
30346 .PHONY: check-lto-plugin maybe-check-lto-plugin
30347 maybe-check-lto-plugin:
30349 maybe-check-lto-plugin: check-lto-plugin
30352 @: $(MAKE); $(unstage)
30353 @r=`${PWD_COMMAND}`; export r; \
30354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30356 (cd $(HOST_SUBDIR)/lto-plugin && \
30357 $(MAKE) $(FLAGS_TO_PASS) check)
30361 .PHONY: install-lto-plugin maybe-install-lto-plugin
30362 maybe-install-lto-plugin:
30364 maybe-install-lto-plugin: install-lto-plugin
30366 install-lto-plugin: installdirs
30367 @: $(MAKE); $(unstage)
30368 @r=`${PWD_COMMAND}`; export r; \
30369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30371 (cd $(HOST_SUBDIR)/lto-plugin && \
30372 $(MAKE) $(FLAGS_TO_PASS) install)
30376 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
30377 maybe-install-strip-lto-plugin:
30379 maybe-install-strip-lto-plugin: install-strip-lto-plugin
30381 install-strip-lto-plugin: installdirs
30382 @: $(MAKE); $(unstage)
30383 @r=`${PWD_COMMAND}`; export r; \
30384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30386 (cd $(HOST_SUBDIR)/lto-plugin && \
30387 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30391 # Other targets (info, dvi, pdf, etc.)
30393 .PHONY: maybe-info-lto-plugin info-lto-plugin
30394 maybe-info-lto-plugin:
30396 maybe-info-lto-plugin: info-lto-plugin
30399 configure-lto-plugin
30400 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30401 r=`${PWD_COMMAND}`; export r; \
30402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30404 for flag in $(EXTRA_HOST_FLAGS) ; do \
30405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30407 echo "Doing info in lto-plugin" ; \
30408 (cd $(HOST_SUBDIR)/lto-plugin && \
30409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30411 "RANLIB=$${RANLIB}" \
30412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30418 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
30419 maybe-dvi-lto-plugin:
30421 maybe-dvi-lto-plugin: dvi-lto-plugin
30424 configure-lto-plugin
30425 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30426 r=`${PWD_COMMAND}`; export r; \
30427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30429 for flag in $(EXTRA_HOST_FLAGS) ; do \
30430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30432 echo "Doing dvi in lto-plugin" ; \
30433 (cd $(HOST_SUBDIR)/lto-plugin && \
30434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30436 "RANLIB=$${RANLIB}" \
30437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30443 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
30444 maybe-pdf-lto-plugin:
30446 maybe-pdf-lto-plugin: pdf-lto-plugin
30449 configure-lto-plugin
30450 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30451 r=`${PWD_COMMAND}`; export r; \
30452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30454 for flag in $(EXTRA_HOST_FLAGS) ; do \
30455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30457 echo "Doing pdf in lto-plugin" ; \
30458 (cd $(HOST_SUBDIR)/lto-plugin && \
30459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30461 "RANLIB=$${RANLIB}" \
30462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30468 .PHONY: maybe-html-lto-plugin html-lto-plugin
30469 maybe-html-lto-plugin:
30471 maybe-html-lto-plugin: html-lto-plugin
30474 configure-lto-plugin
30475 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30476 r=`${PWD_COMMAND}`; export r; \
30477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30479 for flag in $(EXTRA_HOST_FLAGS) ; do \
30480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30482 echo "Doing html in lto-plugin" ; \
30483 (cd $(HOST_SUBDIR)/lto-plugin && \
30484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30486 "RANLIB=$${RANLIB}" \
30487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30493 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
30494 maybe-TAGS-lto-plugin:
30496 maybe-TAGS-lto-plugin: TAGS-lto-plugin
30499 configure-lto-plugin
30500 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30501 r=`${PWD_COMMAND}`; export r; \
30502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30504 for flag in $(EXTRA_HOST_FLAGS) ; do \
30505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30507 echo "Doing TAGS in lto-plugin" ; \
30508 (cd $(HOST_SUBDIR)/lto-plugin && \
30509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30511 "RANLIB=$${RANLIB}" \
30512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30518 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
30519 maybe-install-info-lto-plugin:
30521 maybe-install-info-lto-plugin: install-info-lto-plugin
30523 install-info-lto-plugin: \
30524 configure-lto-plugin \
30526 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30527 r=`${PWD_COMMAND}`; export r; \
30528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30530 for flag in $(EXTRA_HOST_FLAGS) ; do \
30531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30533 echo "Doing install-info in lto-plugin" ; \
30534 (cd $(HOST_SUBDIR)/lto-plugin && \
30535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30537 "RANLIB=$${RANLIB}" \
30538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30544 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
30545 maybe-install-pdf-lto-plugin:
30547 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
30549 install-pdf-lto-plugin: \
30550 configure-lto-plugin \
30552 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30553 r=`${PWD_COMMAND}`; export r; \
30554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30556 for flag in $(EXTRA_HOST_FLAGS) ; do \
30557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30559 echo "Doing install-pdf in lto-plugin" ; \
30560 (cd $(HOST_SUBDIR)/lto-plugin && \
30561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30563 "RANLIB=$${RANLIB}" \
30564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30570 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
30571 maybe-install-html-lto-plugin:
30573 maybe-install-html-lto-plugin: install-html-lto-plugin
30575 install-html-lto-plugin: \
30576 configure-lto-plugin \
30578 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30579 r=`${PWD_COMMAND}`; export r; \
30580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30582 for flag in $(EXTRA_HOST_FLAGS) ; do \
30583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30585 echo "Doing install-html in lto-plugin" ; \
30586 (cd $(HOST_SUBDIR)/lto-plugin && \
30587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30589 "RANLIB=$${RANLIB}" \
30590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30596 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
30597 maybe-installcheck-lto-plugin:
30599 maybe-installcheck-lto-plugin: installcheck-lto-plugin
30601 installcheck-lto-plugin: \
30602 configure-lto-plugin
30603 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30604 r=`${PWD_COMMAND}`; export r; \
30605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30607 for flag in $(EXTRA_HOST_FLAGS) ; do \
30608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30610 echo "Doing installcheck in lto-plugin" ; \
30611 (cd $(HOST_SUBDIR)/lto-plugin && \
30612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30614 "RANLIB=$${RANLIB}" \
30615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30621 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
30622 maybe-mostlyclean-lto-plugin:
30624 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
30626 mostlyclean-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 mostlyclean 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-clean-lto-plugin clean-lto-plugin
30646 maybe-clean-lto-plugin:
30648 maybe-clean-lto-plugin: clean-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 clean 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-distclean-lto-plugin distclean-lto-plugin
30670 maybe-distclean-lto-plugin:
30672 maybe-distclean-lto-plugin: distclean-lto-plugin
30674 distclean-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 distclean 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-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
30694 maybe-maintainer-clean-lto-plugin:
30696 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
30698 maintainer-clean-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 maintainer-clean 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}" \
30712 maintainer-clean) \
30719 # ---------------------------------------
30720 # Modules which run on the target machine
30721 # ---------------------------------------
30726 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
30727 maybe-configure-target-libstdc++-v3:
30729 configure-target-libstdc++-v3: stage_current
30730 @endif gcc-bootstrap
30731 @if target-libstdc++-v3
30732 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
30733 configure-target-libstdc++-v3:
30734 @r=`${PWD_COMMAND}`; export r; \
30735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30736 echo "Checking multilib configuration for libstdc++-v3..."; \
30737 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30738 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30739 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30740 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30741 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30743 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30744 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30747 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30749 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30750 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30751 $(RAW_CXX_TARGET_EXPORTS) \
30752 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
30753 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
30754 case $(srcdir) in \
30755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30756 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30759 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30760 libsrcdir="$$s/libstdc++-v3"; \
30761 rm -f no-such-file || : ; \
30762 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30763 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30764 --target=${target_alias} $${srcdiroption} \
30766 @endif target-libstdc++-v3
30770 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
30771 maybe-configure-stage1-target-libstdc++-v3:
30772 @if target-libstdc++-v3-bootstrap
30773 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
30774 configure-stage1-target-libstdc++-v3:
30775 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30776 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30777 @r=`${PWD_COMMAND}`; export r; \
30778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30779 TFLAGS="$(STAGE1_TFLAGS)"; \
30780 echo "Checking multilib configuration for libstdc++-v3..."; \
30781 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30782 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30783 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30784 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30786 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30787 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30790 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30792 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30793 $(RAW_CXX_TARGET_EXPORTS) \
30794 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30795 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30796 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30797 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30798 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30799 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30800 case $(srcdir) in \
30801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30802 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30805 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30806 libsrcdir="$$s/libstdc++-v3"; \
30807 $(SHELL) $${libsrcdir}/configure \
30808 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30809 --target=${target_alias} $${srcdiroption} \
30810 $(STAGE1_CONFIGURE_FLAGS)
30811 @endif target-libstdc++-v3-bootstrap
30813 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
30814 maybe-configure-stage2-target-libstdc++-v3:
30815 @if target-libstdc++-v3-bootstrap
30816 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
30817 configure-stage2-target-libstdc++-v3:
30818 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30819 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30820 @r=`${PWD_COMMAND}`; export r; \
30821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30822 TFLAGS="$(STAGE2_TFLAGS)"; \
30823 echo "Checking multilib configuration for libstdc++-v3..."; \
30824 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30825 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30826 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30827 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30829 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30830 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30833 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30835 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30836 $(RAW_CXX_TARGET_EXPORTS) \
30838 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30839 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30840 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30841 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30842 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30843 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30844 case $(srcdir) in \
30845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30846 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30849 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30850 libsrcdir="$$s/libstdc++-v3"; \
30851 $(SHELL) $${libsrcdir}/configure \
30852 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30853 --target=${target_alias} $${srcdiroption} \
30854 --with-build-libsubdir=$(HOST_SUBDIR) \
30855 $(STAGE2_CONFIGURE_FLAGS)
30856 @endif target-libstdc++-v3-bootstrap
30858 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
30859 maybe-configure-stage3-target-libstdc++-v3:
30860 @if target-libstdc++-v3-bootstrap
30861 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
30862 configure-stage3-target-libstdc++-v3:
30863 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30864 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30865 @r=`${PWD_COMMAND}`; export r; \
30866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30867 TFLAGS="$(STAGE3_TFLAGS)"; \
30868 echo "Checking multilib configuration for libstdc++-v3..."; \
30869 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30870 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30871 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30872 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30874 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30875 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30878 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30880 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30881 $(RAW_CXX_TARGET_EXPORTS) \
30883 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30884 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30885 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30886 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30887 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30888 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30889 case $(srcdir) in \
30890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30891 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30894 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30895 libsrcdir="$$s/libstdc++-v3"; \
30896 $(SHELL) $${libsrcdir}/configure \
30897 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30898 --target=${target_alias} $${srcdiroption} \
30899 --with-build-libsubdir=$(HOST_SUBDIR) \
30900 $(STAGE3_CONFIGURE_FLAGS)
30901 @endif target-libstdc++-v3-bootstrap
30903 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
30904 maybe-configure-stage4-target-libstdc++-v3:
30905 @if target-libstdc++-v3-bootstrap
30906 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
30907 configure-stage4-target-libstdc++-v3:
30908 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30909 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30910 @r=`${PWD_COMMAND}`; export r; \
30911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30912 TFLAGS="$(STAGE4_TFLAGS)"; \
30913 echo "Checking multilib configuration for libstdc++-v3..."; \
30914 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30915 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30916 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30917 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30919 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30920 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30923 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30925 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30926 $(RAW_CXX_TARGET_EXPORTS) \
30928 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30929 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30930 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30931 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30932 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30933 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30934 case $(srcdir) in \
30935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30936 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30939 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30940 libsrcdir="$$s/libstdc++-v3"; \
30941 $(SHELL) $${libsrcdir}/configure \
30942 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30943 --target=${target_alias} $${srcdiroption} \
30944 --with-build-libsubdir=$(HOST_SUBDIR) \
30945 $(STAGE4_CONFIGURE_FLAGS)
30946 @endif target-libstdc++-v3-bootstrap
30948 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
30949 maybe-configure-stageprofile-target-libstdc++-v3:
30950 @if target-libstdc++-v3-bootstrap
30951 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
30952 configure-stageprofile-target-libstdc++-v3:
30953 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30954 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
30955 @r=`${PWD_COMMAND}`; export r; \
30956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30957 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30958 echo "Checking multilib configuration for libstdc++-v3..."; \
30959 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
30960 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30961 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
30962 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
30964 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
30965 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30968 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
30970 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
30971 $(RAW_CXX_TARGET_EXPORTS) \
30973 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
30974 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
30975 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
30976 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
30977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
30978 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
30979 case $(srcdir) in \
30980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30981 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
30982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30984 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
30985 libsrcdir="$$s/libstdc++-v3"; \
30986 $(SHELL) $${libsrcdir}/configure \
30987 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
30988 --target=${target_alias} $${srcdiroption} \
30989 --with-build-libsubdir=$(HOST_SUBDIR) \
30990 $(STAGEprofile_CONFIGURE_FLAGS)
30991 @endif target-libstdc++-v3-bootstrap
30993 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
30994 maybe-configure-stagefeedback-target-libstdc++-v3:
30995 @if target-libstdc++-v3-bootstrap
30996 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
30997 configure-stagefeedback-target-libstdc++-v3:
30998 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30999 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31000 @r=`${PWD_COMMAND}`; export r; \
31001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31002 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31003 echo "Checking multilib configuration for libstdc++-v3..."; \
31004 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31005 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31006 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31007 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31009 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31010 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31013 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31015 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31016 $(RAW_CXX_TARGET_EXPORTS) \
31018 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31019 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31020 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31021 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31022 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31023 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31024 case $(srcdir) in \
31025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31026 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31029 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
31030 libsrcdir="$$s/libstdc++-v3"; \
31031 $(SHELL) $${libsrcdir}/configure \
31032 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31033 --target=${target_alias} $${srcdiroption} \
31034 --with-build-libsubdir=$(HOST_SUBDIR) \
31035 $(STAGEfeedback_CONFIGURE_FLAGS)
31036 @endif target-libstdc++-v3-bootstrap
31042 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
31043 maybe-all-target-libstdc++-v3:
31045 all-target-libstdc++-v3: stage_current
31046 @endif gcc-bootstrap
31047 @if target-libstdc++-v3
31048 TARGET-target-libstdc++-v3=all
31049 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
31050 all-target-libstdc++-v3: configure-target-libstdc++-v3
31051 @r=`${PWD_COMMAND}`; export r; \
31052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31053 $(RAW_CXX_TARGET_EXPORTS) \
31054 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31055 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31056 $(TARGET-target-libstdc++-v3))
31057 @endif target-libstdc++-v3
31061 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
31062 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
31063 maybe-all-stage1-target-libstdc++-v3:
31064 maybe-clean-stage1-target-libstdc++-v3:
31065 @if target-libstdc++-v3-bootstrap
31066 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
31067 all-stage1: all-stage1-target-libstdc++-v3
31068 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31069 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31070 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31071 @r=`${PWD_COMMAND}`; export r; \
31072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31073 TFLAGS="$(STAGE1_TFLAGS)"; \
31074 $(RAW_CXX_TARGET_EXPORTS) \
31075 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31076 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31077 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31078 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31079 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31080 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31081 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31082 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31083 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31085 TFLAGS="$(STAGE1_TFLAGS)" \
31086 $(TARGET-stage1-target-libstdc++-v3)
31088 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
31089 clean-stage1: clean-stage1-target-libstdc++-v3
31090 clean-stage1-target-libstdc++-v3:
31091 @if [ $(current_stage) = stage1 ]; then \
31092 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31094 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
31095 $(MAKE) stage1-start; \
31097 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31098 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31100 @endif target-libstdc++-v3-bootstrap
31103 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
31104 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
31105 maybe-all-stage2-target-libstdc++-v3:
31106 maybe-clean-stage2-target-libstdc++-v3:
31107 @if target-libstdc++-v3-bootstrap
31108 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
31109 all-stage2: all-stage2-target-libstdc++-v3
31110 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31111 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31112 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31113 @r=`${PWD_COMMAND}`; export r; \
31114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31115 TFLAGS="$(STAGE2_TFLAGS)"; \
31116 $(RAW_CXX_TARGET_EXPORTS) \
31118 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31119 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31120 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31121 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31122 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31123 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31124 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31125 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31126 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31127 TFLAGS="$(STAGE2_TFLAGS)" \
31128 $(TARGET-stage2-target-libstdc++-v3)
31130 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
31131 clean-stage2: clean-stage2-target-libstdc++-v3
31132 clean-stage2-target-libstdc++-v3:
31133 @if [ $(current_stage) = stage2 ]; then \
31134 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31136 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
31137 $(MAKE) stage2-start; \
31139 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31140 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31141 @endif target-libstdc++-v3-bootstrap
31144 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
31145 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
31146 maybe-all-stage3-target-libstdc++-v3:
31147 maybe-clean-stage3-target-libstdc++-v3:
31148 @if target-libstdc++-v3-bootstrap
31149 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
31150 all-stage3: all-stage3-target-libstdc++-v3
31151 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31152 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31153 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31154 @r=`${PWD_COMMAND}`; export r; \
31155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31156 TFLAGS="$(STAGE3_TFLAGS)"; \
31157 $(RAW_CXX_TARGET_EXPORTS) \
31159 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31160 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31161 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31162 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31163 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31164 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31165 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31166 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31167 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31168 TFLAGS="$(STAGE3_TFLAGS)" \
31169 $(TARGET-stage3-target-libstdc++-v3)
31171 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
31172 clean-stage3: clean-stage3-target-libstdc++-v3
31173 clean-stage3-target-libstdc++-v3:
31174 @if [ $(current_stage) = stage3 ]; then \
31175 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31177 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
31178 $(MAKE) stage3-start; \
31180 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31181 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31182 @endif target-libstdc++-v3-bootstrap
31185 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
31186 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
31187 maybe-all-stage4-target-libstdc++-v3:
31188 maybe-clean-stage4-target-libstdc++-v3:
31189 @if target-libstdc++-v3-bootstrap
31190 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
31191 all-stage4: all-stage4-target-libstdc++-v3
31192 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31193 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
31194 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31195 @r=`${PWD_COMMAND}`; export r; \
31196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31197 TFLAGS="$(STAGE4_TFLAGS)"; \
31198 $(RAW_CXX_TARGET_EXPORTS) \
31200 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31201 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31202 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31203 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31204 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31205 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31206 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31207 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31208 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31209 TFLAGS="$(STAGE4_TFLAGS)" \
31210 $(TARGET-stage4-target-libstdc++-v3)
31212 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
31213 clean-stage4: clean-stage4-target-libstdc++-v3
31214 clean-stage4-target-libstdc++-v3:
31215 @if [ $(current_stage) = stage4 ]; then \
31216 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31218 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
31219 $(MAKE) stage4-start; \
31221 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31222 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31223 @endif target-libstdc++-v3-bootstrap
31226 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
31227 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
31228 maybe-all-stageprofile-target-libstdc++-v3:
31229 maybe-clean-stageprofile-target-libstdc++-v3:
31230 @if target-libstdc++-v3-bootstrap
31231 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
31232 all-stageprofile: all-stageprofile-target-libstdc++-v3
31233 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31234 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
31235 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31236 @r=`${PWD_COMMAND}`; export r; \
31237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31238 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31239 $(RAW_CXX_TARGET_EXPORTS) \
31241 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31243 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31244 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31245 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31249 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31250 TFLAGS="$(STAGEprofile_TFLAGS)" \
31251 $(TARGET-stageprofile-target-libstdc++-v3)
31253 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
31254 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
31255 clean-stageprofile-target-libstdc++-v3:
31256 @if [ $(current_stage) = stageprofile ]; then \
31257 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31259 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
31260 $(MAKE) stageprofile-start; \
31262 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31263 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31264 @endif target-libstdc++-v3-bootstrap
31267 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
31268 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
31269 maybe-all-stagefeedback-target-libstdc++-v3:
31270 maybe-clean-stagefeedback-target-libstdc++-v3:
31271 @if target-libstdc++-v3-bootstrap
31272 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
31273 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
31274 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
31275 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
31276 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31277 @r=`${PWD_COMMAND}`; export r; \
31278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31279 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31280 $(RAW_CXX_TARGET_EXPORTS) \
31282 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31283 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31284 CFLAGS="$(CFLAGS_FOR_TARGET)" \
31285 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
31286 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
31287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31290 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
31291 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31292 $(TARGET-stagefeedback-target-libstdc++-v3)
31294 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
31295 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
31296 clean-stagefeedback-target-libstdc++-v3:
31297 @if [ $(current_stage) = stagefeedback ]; then \
31298 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
31300 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
31301 $(MAKE) stagefeedback-start; \
31303 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31304 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
31305 @endif target-libstdc++-v3-bootstrap
31312 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
31313 maybe-check-target-libstdc++-v3:
31314 @if target-libstdc++-v3
31315 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
31317 check-target-libstdc++-v3:
31318 @: $(MAKE); $(unstage)
31319 @r=`${PWD_COMMAND}`; export r; \
31320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31321 $(RAW_CXX_TARGET_EXPORTS) \
31322 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31323 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31325 @endif target-libstdc++-v3
31327 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
31328 maybe-install-target-libstdc++-v3:
31329 @if target-libstdc++-v3
31330 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
31332 install-target-libstdc++-v3: installdirs
31333 @: $(MAKE); $(unstage)
31334 @r=`${PWD_COMMAND}`; export r; \
31335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31336 $(RAW_CXX_TARGET_EXPORTS) \
31337 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31338 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31340 @endif target-libstdc++-v3
31342 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
31343 maybe-install-strip-target-libstdc++-v3:
31344 @if target-libstdc++-v3
31345 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
31347 install-strip-target-libstdc++-v3: installdirs
31348 @: $(MAKE); $(unstage)
31349 @r=`${PWD_COMMAND}`; export r; \
31350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31351 $(RAW_CXX_TARGET_EXPORTS) \
31352 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31353 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31355 @endif target-libstdc++-v3
31357 # Other targets (info, dvi, pdf, etc.)
31359 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
31360 maybe-info-target-libstdc++-v3:
31361 @if target-libstdc++-v3
31362 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
31364 info-target-libstdc++-v3: \
31365 configure-target-libstdc++-v3
31366 @: $(MAKE); $(unstage)
31367 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31368 r=`${PWD_COMMAND}`; export r; \
31369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31370 $(RAW_CXX_TARGET_EXPORTS) \
31371 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31372 for flag in $(EXTRA_TARGET_FLAGS); do \
31373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31375 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31378 "RANLIB=$${RANLIB}" \
31379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31383 @endif target-libstdc++-v3
31385 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
31386 maybe-dvi-target-libstdc++-v3:
31387 @if target-libstdc++-v3
31388 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
31390 dvi-target-libstdc++-v3: \
31391 configure-target-libstdc++-v3
31392 @: $(MAKE); $(unstage)
31393 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31394 r=`${PWD_COMMAND}`; export r; \
31395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31396 $(RAW_CXX_TARGET_EXPORTS) \
31397 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31398 for flag in $(EXTRA_TARGET_FLAGS); do \
31399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31401 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31404 "RANLIB=$${RANLIB}" \
31405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31409 @endif target-libstdc++-v3
31411 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
31412 maybe-pdf-target-libstdc++-v3:
31413 @if target-libstdc++-v3
31414 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
31416 pdf-target-libstdc++-v3: \
31417 configure-target-libstdc++-v3
31418 @: $(MAKE); $(unstage)
31419 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31420 r=`${PWD_COMMAND}`; export r; \
31421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31422 $(RAW_CXX_TARGET_EXPORTS) \
31423 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31424 for flag in $(EXTRA_TARGET_FLAGS); do \
31425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31427 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31430 "RANLIB=$${RANLIB}" \
31431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31435 @endif target-libstdc++-v3
31437 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
31438 maybe-html-target-libstdc++-v3:
31439 @if target-libstdc++-v3
31440 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
31442 html-target-libstdc++-v3: \
31443 configure-target-libstdc++-v3
31444 @: $(MAKE); $(unstage)
31445 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31446 r=`${PWD_COMMAND}`; export r; \
31447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31448 $(RAW_CXX_TARGET_EXPORTS) \
31449 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31450 for flag in $(EXTRA_TARGET_FLAGS); do \
31451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31453 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31456 "RANLIB=$${RANLIB}" \
31457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31461 @endif target-libstdc++-v3
31463 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
31464 maybe-TAGS-target-libstdc++-v3:
31465 @if target-libstdc++-v3
31466 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
31468 TAGS-target-libstdc++-v3: \
31469 configure-target-libstdc++-v3
31470 @: $(MAKE); $(unstage)
31471 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31472 r=`${PWD_COMMAND}`; export r; \
31473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31474 $(RAW_CXX_TARGET_EXPORTS) \
31475 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31476 for flag in $(EXTRA_TARGET_FLAGS); do \
31477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31479 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31482 "RANLIB=$${RANLIB}" \
31483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31487 @endif target-libstdc++-v3
31489 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
31490 maybe-install-info-target-libstdc++-v3:
31491 @if target-libstdc++-v3
31492 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
31494 install-info-target-libstdc++-v3: \
31495 configure-target-libstdc++-v3 \
31496 info-target-libstdc++-v3
31497 @: $(MAKE); $(unstage)
31498 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31499 r=`${PWD_COMMAND}`; export r; \
31500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31501 $(RAW_CXX_TARGET_EXPORTS) \
31502 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31503 for flag in $(EXTRA_TARGET_FLAGS); do \
31504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31506 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31509 "RANLIB=$${RANLIB}" \
31510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31514 @endif target-libstdc++-v3
31516 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
31517 maybe-install-pdf-target-libstdc++-v3:
31518 @if target-libstdc++-v3
31519 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
31521 install-pdf-target-libstdc++-v3: \
31522 configure-target-libstdc++-v3 \
31523 pdf-target-libstdc++-v3
31524 @: $(MAKE); $(unstage)
31525 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31526 r=`${PWD_COMMAND}`; export r; \
31527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31528 $(RAW_CXX_TARGET_EXPORTS) \
31529 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31530 for flag in $(EXTRA_TARGET_FLAGS); do \
31531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31533 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31536 "RANLIB=$${RANLIB}" \
31537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31541 @endif target-libstdc++-v3
31543 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
31544 maybe-install-html-target-libstdc++-v3:
31545 @if target-libstdc++-v3
31546 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
31548 install-html-target-libstdc++-v3: \
31549 configure-target-libstdc++-v3 \
31550 html-target-libstdc++-v3
31551 @: $(MAKE); $(unstage)
31552 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31553 r=`${PWD_COMMAND}`; export r; \
31554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31555 $(RAW_CXX_TARGET_EXPORTS) \
31556 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31557 for flag in $(EXTRA_TARGET_FLAGS); do \
31558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31560 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31563 "RANLIB=$${RANLIB}" \
31564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31568 @endif target-libstdc++-v3
31570 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
31571 maybe-installcheck-target-libstdc++-v3:
31572 @if target-libstdc++-v3
31573 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
31575 installcheck-target-libstdc++-v3: \
31576 configure-target-libstdc++-v3
31577 @: $(MAKE); $(unstage)
31578 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31579 r=`${PWD_COMMAND}`; export r; \
31580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31581 $(RAW_CXX_TARGET_EXPORTS) \
31582 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31583 for flag in $(EXTRA_TARGET_FLAGS); do \
31584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31586 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31589 "RANLIB=$${RANLIB}" \
31590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31594 @endif target-libstdc++-v3
31596 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
31597 maybe-mostlyclean-target-libstdc++-v3:
31598 @if target-libstdc++-v3
31599 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
31601 mostlyclean-target-libstdc++-v3:
31602 @: $(MAKE); $(unstage)
31603 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31604 r=`${PWD_COMMAND}`; export r; \
31605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31606 $(RAW_CXX_TARGET_EXPORTS) \
31607 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31608 for flag in $(EXTRA_TARGET_FLAGS); do \
31609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31611 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31614 "RANLIB=$${RANLIB}" \
31615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31619 @endif target-libstdc++-v3
31621 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
31622 maybe-clean-target-libstdc++-v3:
31623 @if target-libstdc++-v3
31624 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
31626 clean-target-libstdc++-v3:
31627 @: $(MAKE); $(unstage)
31628 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31629 r=`${PWD_COMMAND}`; export r; \
31630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31631 $(RAW_CXX_TARGET_EXPORTS) \
31632 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31633 for flag in $(EXTRA_TARGET_FLAGS); do \
31634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31636 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31639 "RANLIB=$${RANLIB}" \
31640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31644 @endif target-libstdc++-v3
31646 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
31647 maybe-distclean-target-libstdc++-v3:
31648 @if target-libstdc++-v3
31649 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
31651 distclean-target-libstdc++-v3:
31652 @: $(MAKE); $(unstage)
31653 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31654 r=`${PWD_COMMAND}`; export r; \
31655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31656 $(RAW_CXX_TARGET_EXPORTS) \
31657 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31658 for flag in $(EXTRA_TARGET_FLAGS); do \
31659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31661 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31664 "RANLIB=$${RANLIB}" \
31665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31669 @endif target-libstdc++-v3
31671 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
31672 maybe-maintainer-clean-target-libstdc++-v3:
31673 @if target-libstdc++-v3
31674 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
31676 maintainer-clean-target-libstdc++-v3:
31677 @: $(MAKE); $(unstage)
31678 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
31679 r=`${PWD_COMMAND}`; export r; \
31680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31681 $(RAW_CXX_TARGET_EXPORTS) \
31682 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
31683 for flag in $(EXTRA_TARGET_FLAGS); do \
31684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31686 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
31687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31689 "RANLIB=$${RANLIB}" \
31690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31691 maintainer-clean) \
31694 @endif target-libstdc++-v3
31700 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
31701 maybe-configure-target-libmudflap:
31703 configure-target-libmudflap: stage_current
31704 @endif gcc-bootstrap
31705 @if target-libmudflap
31706 maybe-configure-target-libmudflap: configure-target-libmudflap
31707 configure-target-libmudflap:
31708 @: $(MAKE); $(unstage)
31709 @r=`${PWD_COMMAND}`; export r; \
31710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31711 echo "Checking multilib configuration for libmudflap..."; \
31712 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31713 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
31714 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31715 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
31716 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
31718 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
31719 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31722 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
31724 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
31725 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
31726 $(NORMAL_TARGET_EXPORTS) \
31727 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
31728 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
31729 case $(srcdir) in \
31730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31731 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
31732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31734 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
31735 libsrcdir="$$s/libmudflap"; \
31736 rm -f no-such-file || : ; \
31737 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31738 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31739 --target=${target_alias} $${srcdiroption} \
31741 @endif target-libmudflap
31747 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
31748 maybe-all-target-libmudflap:
31750 all-target-libmudflap: stage_current
31751 @endif gcc-bootstrap
31752 @if target-libmudflap
31753 TARGET-target-libmudflap=all
31754 maybe-all-target-libmudflap: all-target-libmudflap
31755 all-target-libmudflap: configure-target-libmudflap
31756 @: $(MAKE); $(unstage)
31757 @r=`${PWD_COMMAND}`; export r; \
31758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31759 $(NORMAL_TARGET_EXPORTS) \
31760 (cd $(TARGET_SUBDIR)/libmudflap && \
31761 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
31762 $(TARGET-target-libmudflap))
31763 @endif target-libmudflap
31769 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
31770 maybe-check-target-libmudflap:
31771 @if target-libmudflap
31772 maybe-check-target-libmudflap: check-target-libmudflap
31774 check-target-libmudflap:
31775 @: $(MAKE); $(unstage)
31776 @r=`${PWD_COMMAND}`; export r; \
31777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31778 $(NORMAL_TARGET_EXPORTS) \
31779 (cd $(TARGET_SUBDIR)/libmudflap && \
31780 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31782 @endif target-libmudflap
31784 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
31785 maybe-install-target-libmudflap:
31786 @if target-libmudflap
31787 maybe-install-target-libmudflap: install-target-libmudflap
31789 install-target-libmudflap: installdirs
31790 @: $(MAKE); $(unstage)
31791 @r=`${PWD_COMMAND}`; export r; \
31792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31793 $(NORMAL_TARGET_EXPORTS) \
31794 (cd $(TARGET_SUBDIR)/libmudflap && \
31795 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31797 @endif target-libmudflap
31799 .PHONY: install-strip-target-libmudflap maybe-install-strip-target-libmudflap
31800 maybe-install-strip-target-libmudflap:
31801 @if target-libmudflap
31802 maybe-install-strip-target-libmudflap: install-strip-target-libmudflap
31804 install-strip-target-libmudflap: installdirs
31805 @: $(MAKE); $(unstage)
31806 @r=`${PWD_COMMAND}`; export r; \
31807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31808 $(NORMAL_TARGET_EXPORTS) \
31809 (cd $(TARGET_SUBDIR)/libmudflap && \
31810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
31812 @endif target-libmudflap
31814 # Other targets (info, dvi, pdf, etc.)
31816 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
31817 maybe-info-target-libmudflap:
31818 @if target-libmudflap
31819 maybe-info-target-libmudflap: info-target-libmudflap
31821 info-target-libmudflap: \
31822 configure-target-libmudflap
31823 @: $(MAKE); $(unstage)
31824 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31825 r=`${PWD_COMMAND}`; export r; \
31826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31827 $(NORMAL_TARGET_EXPORTS) \
31828 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
31829 for flag in $(EXTRA_TARGET_FLAGS); do \
31830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31832 (cd $(TARGET_SUBDIR)/libmudflap && \
31833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31835 "RANLIB=$${RANLIB}" \
31836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31840 @endif target-libmudflap
31842 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
31843 maybe-dvi-target-libmudflap:
31844 @if target-libmudflap
31845 maybe-dvi-target-libmudflap: dvi-target-libmudflap
31847 dvi-target-libmudflap: \
31848 configure-target-libmudflap
31849 @: $(MAKE); $(unstage)
31850 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31851 r=`${PWD_COMMAND}`; export r; \
31852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31853 $(NORMAL_TARGET_EXPORTS) \
31854 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
31855 for flag in $(EXTRA_TARGET_FLAGS); do \
31856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31858 (cd $(TARGET_SUBDIR)/libmudflap && \
31859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31861 "RANLIB=$${RANLIB}" \
31862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31866 @endif target-libmudflap
31868 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
31869 maybe-pdf-target-libmudflap:
31870 @if target-libmudflap
31871 maybe-pdf-target-libmudflap: pdf-target-libmudflap
31873 pdf-target-libmudflap: \
31874 configure-target-libmudflap
31875 @: $(MAKE); $(unstage)
31876 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31877 r=`${PWD_COMMAND}`; export r; \
31878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31879 $(NORMAL_TARGET_EXPORTS) \
31880 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31881 for flag in $(EXTRA_TARGET_FLAGS); do \
31882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31884 (cd $(TARGET_SUBDIR)/libmudflap && \
31885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31887 "RANLIB=$${RANLIB}" \
31888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31892 @endif target-libmudflap
31894 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
31895 maybe-html-target-libmudflap:
31896 @if target-libmudflap
31897 maybe-html-target-libmudflap: html-target-libmudflap
31899 html-target-libmudflap: \
31900 configure-target-libmudflap
31901 @: $(MAKE); $(unstage)
31902 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31903 r=`${PWD_COMMAND}`; export r; \
31904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31905 $(NORMAL_TARGET_EXPORTS) \
31906 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
31907 for flag in $(EXTRA_TARGET_FLAGS); do \
31908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31910 (cd $(TARGET_SUBDIR)/libmudflap && \
31911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31913 "RANLIB=$${RANLIB}" \
31914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31918 @endif target-libmudflap
31920 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
31921 maybe-TAGS-target-libmudflap:
31922 @if target-libmudflap
31923 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
31925 TAGS-target-libmudflap: \
31926 configure-target-libmudflap
31927 @: $(MAKE); $(unstage)
31928 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31929 r=`${PWD_COMMAND}`; export r; \
31930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31931 $(NORMAL_TARGET_EXPORTS) \
31932 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
31933 for flag in $(EXTRA_TARGET_FLAGS); do \
31934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31936 (cd $(TARGET_SUBDIR)/libmudflap && \
31937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31939 "RANLIB=$${RANLIB}" \
31940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31944 @endif target-libmudflap
31946 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
31947 maybe-install-info-target-libmudflap:
31948 @if target-libmudflap
31949 maybe-install-info-target-libmudflap: install-info-target-libmudflap
31951 install-info-target-libmudflap: \
31952 configure-target-libmudflap \
31953 info-target-libmudflap
31954 @: $(MAKE); $(unstage)
31955 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31956 r=`${PWD_COMMAND}`; export r; \
31957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31958 $(NORMAL_TARGET_EXPORTS) \
31959 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
31960 for flag in $(EXTRA_TARGET_FLAGS); do \
31961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31963 (cd $(TARGET_SUBDIR)/libmudflap && \
31964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31966 "RANLIB=$${RANLIB}" \
31967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31971 @endif target-libmudflap
31973 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
31974 maybe-install-pdf-target-libmudflap:
31975 @if target-libmudflap
31976 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
31978 install-pdf-target-libmudflap: \
31979 configure-target-libmudflap \
31980 pdf-target-libmudflap
31981 @: $(MAKE); $(unstage)
31982 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
31983 r=`${PWD_COMMAND}`; export r; \
31984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31985 $(NORMAL_TARGET_EXPORTS) \
31986 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
31987 for flag in $(EXTRA_TARGET_FLAGS); do \
31988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31990 (cd $(TARGET_SUBDIR)/libmudflap && \
31991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31993 "RANLIB=$${RANLIB}" \
31994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31998 @endif target-libmudflap
32000 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
32001 maybe-install-html-target-libmudflap:
32002 @if target-libmudflap
32003 maybe-install-html-target-libmudflap: install-html-target-libmudflap
32005 install-html-target-libmudflap: \
32006 configure-target-libmudflap \
32007 html-target-libmudflap
32008 @: $(MAKE); $(unstage)
32009 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32010 r=`${PWD_COMMAND}`; export r; \
32011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32012 $(NORMAL_TARGET_EXPORTS) \
32013 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
32014 for flag in $(EXTRA_TARGET_FLAGS); do \
32015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32017 (cd $(TARGET_SUBDIR)/libmudflap && \
32018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32020 "RANLIB=$${RANLIB}" \
32021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32025 @endif target-libmudflap
32027 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
32028 maybe-installcheck-target-libmudflap:
32029 @if target-libmudflap
32030 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
32032 installcheck-target-libmudflap: \
32033 configure-target-libmudflap
32034 @: $(MAKE); $(unstage)
32035 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32036 r=`${PWD_COMMAND}`; export r; \
32037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32038 $(NORMAL_TARGET_EXPORTS) \
32039 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
32040 for flag in $(EXTRA_TARGET_FLAGS); do \
32041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32043 (cd $(TARGET_SUBDIR)/libmudflap && \
32044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32046 "RANLIB=$${RANLIB}" \
32047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32051 @endif target-libmudflap
32053 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
32054 maybe-mostlyclean-target-libmudflap:
32055 @if target-libmudflap
32056 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
32058 mostlyclean-target-libmudflap:
32059 @: $(MAKE); $(unstage)
32060 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32061 r=`${PWD_COMMAND}`; export r; \
32062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32063 $(NORMAL_TARGET_EXPORTS) \
32064 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
32065 for flag in $(EXTRA_TARGET_FLAGS); do \
32066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32068 (cd $(TARGET_SUBDIR)/libmudflap && \
32069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32071 "RANLIB=$${RANLIB}" \
32072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32076 @endif target-libmudflap
32078 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
32079 maybe-clean-target-libmudflap:
32080 @if target-libmudflap
32081 maybe-clean-target-libmudflap: clean-target-libmudflap
32083 clean-target-libmudflap:
32084 @: $(MAKE); $(unstage)
32085 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32086 r=`${PWD_COMMAND}`; export r; \
32087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32088 $(NORMAL_TARGET_EXPORTS) \
32089 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
32090 for flag in $(EXTRA_TARGET_FLAGS); do \
32091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32093 (cd $(TARGET_SUBDIR)/libmudflap && \
32094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32096 "RANLIB=$${RANLIB}" \
32097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32101 @endif target-libmudflap
32103 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
32104 maybe-distclean-target-libmudflap:
32105 @if target-libmudflap
32106 maybe-distclean-target-libmudflap: distclean-target-libmudflap
32108 distclean-target-libmudflap:
32109 @: $(MAKE); $(unstage)
32110 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32111 r=`${PWD_COMMAND}`; export r; \
32112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32113 $(NORMAL_TARGET_EXPORTS) \
32114 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
32115 for flag in $(EXTRA_TARGET_FLAGS); do \
32116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32118 (cd $(TARGET_SUBDIR)/libmudflap && \
32119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32121 "RANLIB=$${RANLIB}" \
32122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32126 @endif target-libmudflap
32128 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
32129 maybe-maintainer-clean-target-libmudflap:
32130 @if target-libmudflap
32131 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
32133 maintainer-clean-target-libmudflap:
32134 @: $(MAKE); $(unstage)
32135 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
32136 r=`${PWD_COMMAND}`; export r; \
32137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32138 $(NORMAL_TARGET_EXPORTS) \
32139 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
32140 for flag in $(EXTRA_TARGET_FLAGS); do \
32141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32143 (cd $(TARGET_SUBDIR)/libmudflap && \
32144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32146 "RANLIB=$${RANLIB}" \
32147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32148 maintainer-clean) \
32151 @endif target-libmudflap
32157 .PHONY: configure-target-libssp maybe-configure-target-libssp
32158 maybe-configure-target-libssp:
32160 configure-target-libssp: stage_current
32161 @endif gcc-bootstrap
32163 maybe-configure-target-libssp: configure-target-libssp
32164 configure-target-libssp:
32165 @: $(MAKE); $(unstage)
32166 @r=`${PWD_COMMAND}`; export r; \
32167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32168 echo "Checking multilib configuration for libssp..."; \
32169 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32170 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
32171 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
32172 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
32173 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
32175 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
32176 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32179 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
32181 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
32182 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
32183 $(NORMAL_TARGET_EXPORTS) \
32184 echo Configuring in $(TARGET_SUBDIR)/libssp; \
32185 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
32186 case $(srcdir) in \
32187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32188 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
32189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32191 srcdiroption="--srcdir=$${topdir}/libssp"; \
32192 libsrcdir="$$s/libssp"; \
32193 rm -f no-such-file || : ; \
32194 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32195 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32196 --target=${target_alias} $${srcdiroption} \
32198 @endif target-libssp
32204 .PHONY: all-target-libssp maybe-all-target-libssp
32205 maybe-all-target-libssp:
32207 all-target-libssp: stage_current
32208 @endif gcc-bootstrap
32210 TARGET-target-libssp=all
32211 maybe-all-target-libssp: all-target-libssp
32212 all-target-libssp: configure-target-libssp
32213 @: $(MAKE); $(unstage)
32214 @r=`${PWD_COMMAND}`; export r; \
32215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32216 $(NORMAL_TARGET_EXPORTS) \
32217 (cd $(TARGET_SUBDIR)/libssp && \
32218 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32219 $(TARGET-target-libssp))
32220 @endif target-libssp
32226 .PHONY: check-target-libssp maybe-check-target-libssp
32227 maybe-check-target-libssp:
32229 maybe-check-target-libssp: check-target-libssp
32231 check-target-libssp:
32232 @: $(MAKE); $(unstage)
32233 @r=`${PWD_COMMAND}`; export r; \
32234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32235 $(NORMAL_TARGET_EXPORTS) \
32236 (cd $(TARGET_SUBDIR)/libssp && \
32237 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32239 @endif target-libssp
32241 .PHONY: install-target-libssp maybe-install-target-libssp
32242 maybe-install-target-libssp:
32244 maybe-install-target-libssp: install-target-libssp
32246 install-target-libssp: installdirs
32247 @: $(MAKE); $(unstage)
32248 @r=`${PWD_COMMAND}`; export r; \
32249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32250 $(NORMAL_TARGET_EXPORTS) \
32251 (cd $(TARGET_SUBDIR)/libssp && \
32252 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32254 @endif target-libssp
32256 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
32257 maybe-install-strip-target-libssp:
32259 maybe-install-strip-target-libssp: install-strip-target-libssp
32261 install-strip-target-libssp: installdirs
32262 @: $(MAKE); $(unstage)
32263 @r=`${PWD_COMMAND}`; export r; \
32264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32265 $(NORMAL_TARGET_EXPORTS) \
32266 (cd $(TARGET_SUBDIR)/libssp && \
32267 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32269 @endif target-libssp
32271 # Other targets (info, dvi, pdf, etc.)
32273 .PHONY: maybe-info-target-libssp info-target-libssp
32274 maybe-info-target-libssp:
32276 maybe-info-target-libssp: info-target-libssp
32278 info-target-libssp: \
32279 configure-target-libssp
32280 @: $(MAKE); $(unstage)
32281 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32282 r=`${PWD_COMMAND}`; export r; \
32283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32284 $(NORMAL_TARGET_EXPORTS) \
32285 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
32286 for flag in $(EXTRA_TARGET_FLAGS); do \
32287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32289 (cd $(TARGET_SUBDIR)/libssp && \
32290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32292 "RANLIB=$${RANLIB}" \
32293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32297 @endif target-libssp
32299 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
32300 maybe-dvi-target-libssp:
32302 maybe-dvi-target-libssp: dvi-target-libssp
32304 dvi-target-libssp: \
32305 configure-target-libssp
32306 @: $(MAKE); $(unstage)
32307 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32308 r=`${PWD_COMMAND}`; export r; \
32309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32310 $(NORMAL_TARGET_EXPORTS) \
32311 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
32312 for flag in $(EXTRA_TARGET_FLAGS); do \
32313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32315 (cd $(TARGET_SUBDIR)/libssp && \
32316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32318 "RANLIB=$${RANLIB}" \
32319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32323 @endif target-libssp
32325 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
32326 maybe-pdf-target-libssp:
32328 maybe-pdf-target-libssp: pdf-target-libssp
32330 pdf-target-libssp: \
32331 configure-target-libssp
32332 @: $(MAKE); $(unstage)
32333 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32334 r=`${PWD_COMMAND}`; export r; \
32335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32336 $(NORMAL_TARGET_EXPORTS) \
32337 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
32338 for flag in $(EXTRA_TARGET_FLAGS); do \
32339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32341 (cd $(TARGET_SUBDIR)/libssp && \
32342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32344 "RANLIB=$${RANLIB}" \
32345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32349 @endif target-libssp
32351 .PHONY: maybe-html-target-libssp html-target-libssp
32352 maybe-html-target-libssp:
32354 maybe-html-target-libssp: html-target-libssp
32356 html-target-libssp: \
32357 configure-target-libssp
32358 @: $(MAKE); $(unstage)
32359 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32360 r=`${PWD_COMMAND}`; export r; \
32361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32362 $(NORMAL_TARGET_EXPORTS) \
32363 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
32364 for flag in $(EXTRA_TARGET_FLAGS); do \
32365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32367 (cd $(TARGET_SUBDIR)/libssp && \
32368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32370 "RANLIB=$${RANLIB}" \
32371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32375 @endif target-libssp
32377 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
32378 maybe-TAGS-target-libssp:
32380 maybe-TAGS-target-libssp: TAGS-target-libssp
32382 TAGS-target-libssp: \
32383 configure-target-libssp
32384 @: $(MAKE); $(unstage)
32385 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32386 r=`${PWD_COMMAND}`; export r; \
32387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32388 $(NORMAL_TARGET_EXPORTS) \
32389 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
32390 for flag in $(EXTRA_TARGET_FLAGS); do \
32391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32393 (cd $(TARGET_SUBDIR)/libssp && \
32394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32396 "RANLIB=$${RANLIB}" \
32397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32401 @endif target-libssp
32403 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
32404 maybe-install-info-target-libssp:
32406 maybe-install-info-target-libssp: install-info-target-libssp
32408 install-info-target-libssp: \
32409 configure-target-libssp \
32411 @: $(MAKE); $(unstage)
32412 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32413 r=`${PWD_COMMAND}`; export r; \
32414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32415 $(NORMAL_TARGET_EXPORTS) \
32416 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
32417 for flag in $(EXTRA_TARGET_FLAGS); do \
32418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32420 (cd $(TARGET_SUBDIR)/libssp && \
32421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32423 "RANLIB=$${RANLIB}" \
32424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32428 @endif target-libssp
32430 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
32431 maybe-install-pdf-target-libssp:
32433 maybe-install-pdf-target-libssp: install-pdf-target-libssp
32435 install-pdf-target-libssp: \
32436 configure-target-libssp \
32438 @: $(MAKE); $(unstage)
32439 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32440 r=`${PWD_COMMAND}`; export r; \
32441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32442 $(NORMAL_TARGET_EXPORTS) \
32443 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
32444 for flag in $(EXTRA_TARGET_FLAGS); do \
32445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32447 (cd $(TARGET_SUBDIR)/libssp && \
32448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32450 "RANLIB=$${RANLIB}" \
32451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32455 @endif target-libssp
32457 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
32458 maybe-install-html-target-libssp:
32460 maybe-install-html-target-libssp: install-html-target-libssp
32462 install-html-target-libssp: \
32463 configure-target-libssp \
32465 @: $(MAKE); $(unstage)
32466 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32467 r=`${PWD_COMMAND}`; export r; \
32468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32469 $(NORMAL_TARGET_EXPORTS) \
32470 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
32471 for flag in $(EXTRA_TARGET_FLAGS); do \
32472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32474 (cd $(TARGET_SUBDIR)/libssp && \
32475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32477 "RANLIB=$${RANLIB}" \
32478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32482 @endif target-libssp
32484 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
32485 maybe-installcheck-target-libssp:
32487 maybe-installcheck-target-libssp: installcheck-target-libssp
32489 installcheck-target-libssp: \
32490 configure-target-libssp
32491 @: $(MAKE); $(unstage)
32492 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32493 r=`${PWD_COMMAND}`; export r; \
32494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32495 $(NORMAL_TARGET_EXPORTS) \
32496 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
32497 for flag in $(EXTRA_TARGET_FLAGS); do \
32498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32500 (cd $(TARGET_SUBDIR)/libssp && \
32501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32503 "RANLIB=$${RANLIB}" \
32504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32508 @endif target-libssp
32510 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
32511 maybe-mostlyclean-target-libssp:
32513 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
32515 mostlyclean-target-libssp:
32516 @: $(MAKE); $(unstage)
32517 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32518 r=`${PWD_COMMAND}`; export r; \
32519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32520 $(NORMAL_TARGET_EXPORTS) \
32521 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
32522 for flag in $(EXTRA_TARGET_FLAGS); do \
32523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32525 (cd $(TARGET_SUBDIR)/libssp && \
32526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32528 "RANLIB=$${RANLIB}" \
32529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32533 @endif target-libssp
32535 .PHONY: maybe-clean-target-libssp clean-target-libssp
32536 maybe-clean-target-libssp:
32538 maybe-clean-target-libssp: clean-target-libssp
32540 clean-target-libssp:
32541 @: $(MAKE); $(unstage)
32542 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32543 r=`${PWD_COMMAND}`; export r; \
32544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32545 $(NORMAL_TARGET_EXPORTS) \
32546 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
32547 for flag in $(EXTRA_TARGET_FLAGS); do \
32548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32550 (cd $(TARGET_SUBDIR)/libssp && \
32551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32553 "RANLIB=$${RANLIB}" \
32554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32558 @endif target-libssp
32560 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
32561 maybe-distclean-target-libssp:
32563 maybe-distclean-target-libssp: distclean-target-libssp
32565 distclean-target-libssp:
32566 @: $(MAKE); $(unstage)
32567 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32568 r=`${PWD_COMMAND}`; export r; \
32569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32570 $(NORMAL_TARGET_EXPORTS) \
32571 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
32572 for flag in $(EXTRA_TARGET_FLAGS); do \
32573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32575 (cd $(TARGET_SUBDIR)/libssp && \
32576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32578 "RANLIB=$${RANLIB}" \
32579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32583 @endif target-libssp
32585 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
32586 maybe-maintainer-clean-target-libssp:
32588 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
32590 maintainer-clean-target-libssp:
32591 @: $(MAKE); $(unstage)
32592 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
32593 r=`${PWD_COMMAND}`; export r; \
32594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32595 $(NORMAL_TARGET_EXPORTS) \
32596 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
32597 for flag in $(EXTRA_TARGET_FLAGS); do \
32598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32600 (cd $(TARGET_SUBDIR)/libssp && \
32601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32603 "RANLIB=$${RANLIB}" \
32604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32605 maintainer-clean) \
32608 @endif target-libssp
32614 .PHONY: configure-target-newlib maybe-configure-target-newlib
32615 maybe-configure-target-newlib:
32617 configure-target-newlib: stage_current
32618 @endif gcc-bootstrap
32620 maybe-configure-target-newlib: configure-target-newlib
32621 configure-target-newlib:
32622 @: $(MAKE); $(unstage)
32623 @r=`${PWD_COMMAND}`; export r; \
32624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32625 echo "Checking multilib configuration for newlib..."; \
32626 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32627 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
32628 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
32629 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
32630 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
32632 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
32633 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32636 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
32638 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
32639 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
32640 $(NORMAL_TARGET_EXPORTS) \
32641 echo Configuring in $(TARGET_SUBDIR)/newlib; \
32642 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
32643 case $(srcdir) in \
32644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32645 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
32646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32648 srcdiroption="--srcdir=$${topdir}/newlib"; \
32649 libsrcdir="$$s/newlib"; \
32650 rm -f no-such-file || : ; \
32651 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32652 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32653 --target=${target_alias} $${srcdiroption} \
32655 @endif target-newlib
32661 .PHONY: all-target-newlib maybe-all-target-newlib
32662 maybe-all-target-newlib:
32664 all-target-newlib: stage_current
32665 @endif gcc-bootstrap
32667 TARGET-target-newlib=all
32668 maybe-all-target-newlib: all-target-newlib
32669 all-target-newlib: configure-target-newlib
32670 @: $(MAKE); $(unstage)
32671 @r=`${PWD_COMMAND}`; export r; \
32672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32673 $(NORMAL_TARGET_EXPORTS) \
32674 (cd $(TARGET_SUBDIR)/newlib && \
32675 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
32676 $(TARGET-target-newlib))
32677 @endif target-newlib
32683 .PHONY: check-target-newlib maybe-check-target-newlib
32684 maybe-check-target-newlib:
32686 maybe-check-target-newlib: check-target-newlib
32688 check-target-newlib:
32689 @: $(MAKE); $(unstage)
32690 @r=`${PWD_COMMAND}`; export r; \
32691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32692 $(NORMAL_TARGET_EXPORTS) \
32693 (cd $(TARGET_SUBDIR)/newlib && \
32694 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32696 @endif target-newlib
32698 .PHONY: install-target-newlib maybe-install-target-newlib
32699 maybe-install-target-newlib:
32701 maybe-install-target-newlib: install-target-newlib
32703 install-target-newlib: installdirs
32704 @: $(MAKE); $(unstage)
32705 @r=`${PWD_COMMAND}`; export r; \
32706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32707 $(NORMAL_TARGET_EXPORTS) \
32708 (cd $(TARGET_SUBDIR)/newlib && \
32709 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32711 @endif target-newlib
32713 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
32714 maybe-install-strip-target-newlib:
32716 maybe-install-strip-target-newlib: install-strip-target-newlib
32718 install-strip-target-newlib: installdirs
32719 @: $(MAKE); $(unstage)
32720 @r=`${PWD_COMMAND}`; export r; \
32721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32722 $(NORMAL_TARGET_EXPORTS) \
32723 (cd $(TARGET_SUBDIR)/newlib && \
32724 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32726 @endif target-newlib
32728 # Other targets (info, dvi, pdf, etc.)
32730 .PHONY: maybe-info-target-newlib info-target-newlib
32731 maybe-info-target-newlib:
32733 maybe-info-target-newlib: info-target-newlib
32735 info-target-newlib: \
32736 configure-target-newlib
32737 @: $(MAKE); $(unstage)
32738 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32739 r=`${PWD_COMMAND}`; export r; \
32740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32741 $(NORMAL_TARGET_EXPORTS) \
32742 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
32743 for flag in $(EXTRA_TARGET_FLAGS); do \
32744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32746 (cd $(TARGET_SUBDIR)/newlib && \
32747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32749 "RANLIB=$${RANLIB}" \
32750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32754 @endif target-newlib
32756 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
32757 maybe-dvi-target-newlib:
32759 maybe-dvi-target-newlib: dvi-target-newlib
32761 dvi-target-newlib: \
32762 configure-target-newlib
32763 @: $(MAKE); $(unstage)
32764 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32765 r=`${PWD_COMMAND}`; export r; \
32766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32767 $(NORMAL_TARGET_EXPORTS) \
32768 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
32769 for flag in $(EXTRA_TARGET_FLAGS); do \
32770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32772 (cd $(TARGET_SUBDIR)/newlib && \
32773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32775 "RANLIB=$${RANLIB}" \
32776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32780 @endif target-newlib
32782 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
32783 maybe-pdf-target-newlib:
32785 maybe-pdf-target-newlib: pdf-target-newlib
32787 pdf-target-newlib: \
32788 configure-target-newlib
32789 @: $(MAKE); $(unstage)
32790 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32791 r=`${PWD_COMMAND}`; export r; \
32792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32793 $(NORMAL_TARGET_EXPORTS) \
32794 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
32795 for flag in $(EXTRA_TARGET_FLAGS); do \
32796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32798 (cd $(TARGET_SUBDIR)/newlib && \
32799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32801 "RANLIB=$${RANLIB}" \
32802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32806 @endif target-newlib
32808 .PHONY: maybe-html-target-newlib html-target-newlib
32809 maybe-html-target-newlib:
32811 maybe-html-target-newlib: html-target-newlib
32813 html-target-newlib: \
32814 configure-target-newlib
32815 @: $(MAKE); $(unstage)
32816 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32817 r=`${PWD_COMMAND}`; export r; \
32818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32819 $(NORMAL_TARGET_EXPORTS) \
32820 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
32821 for flag in $(EXTRA_TARGET_FLAGS); do \
32822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32824 (cd $(TARGET_SUBDIR)/newlib && \
32825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32827 "RANLIB=$${RANLIB}" \
32828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32832 @endif target-newlib
32834 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
32835 maybe-TAGS-target-newlib:
32837 maybe-TAGS-target-newlib: TAGS-target-newlib
32839 TAGS-target-newlib: \
32840 configure-target-newlib
32841 @: $(MAKE); $(unstage)
32842 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32843 r=`${PWD_COMMAND}`; export r; \
32844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32845 $(NORMAL_TARGET_EXPORTS) \
32846 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
32847 for flag in $(EXTRA_TARGET_FLAGS); do \
32848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32850 (cd $(TARGET_SUBDIR)/newlib && \
32851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32853 "RANLIB=$${RANLIB}" \
32854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32858 @endif target-newlib
32860 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
32861 maybe-install-info-target-newlib:
32863 maybe-install-info-target-newlib: install-info-target-newlib
32865 install-info-target-newlib: \
32866 configure-target-newlib \
32868 @: $(MAKE); $(unstage)
32869 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32870 r=`${PWD_COMMAND}`; export r; \
32871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32872 $(NORMAL_TARGET_EXPORTS) \
32873 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
32874 for flag in $(EXTRA_TARGET_FLAGS); do \
32875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32877 (cd $(TARGET_SUBDIR)/newlib && \
32878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32880 "RANLIB=$${RANLIB}" \
32881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32885 @endif target-newlib
32887 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
32888 maybe-install-pdf-target-newlib:
32890 maybe-install-pdf-target-newlib: install-pdf-target-newlib
32892 install-pdf-target-newlib: \
32893 configure-target-newlib \
32895 @: $(MAKE); $(unstage)
32896 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32897 r=`${PWD_COMMAND}`; export r; \
32898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32899 $(NORMAL_TARGET_EXPORTS) \
32900 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
32901 for flag in $(EXTRA_TARGET_FLAGS); do \
32902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32904 (cd $(TARGET_SUBDIR)/newlib && \
32905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32907 "RANLIB=$${RANLIB}" \
32908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32912 @endif target-newlib
32914 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
32915 maybe-install-html-target-newlib:
32917 maybe-install-html-target-newlib: install-html-target-newlib
32919 install-html-target-newlib: \
32920 configure-target-newlib \
32922 @: $(MAKE); $(unstage)
32923 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32924 r=`${PWD_COMMAND}`; export r; \
32925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32926 $(NORMAL_TARGET_EXPORTS) \
32927 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
32928 for flag in $(EXTRA_TARGET_FLAGS); do \
32929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32931 (cd $(TARGET_SUBDIR)/newlib && \
32932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32934 "RANLIB=$${RANLIB}" \
32935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32939 @endif target-newlib
32941 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
32942 maybe-installcheck-target-newlib:
32944 maybe-installcheck-target-newlib: installcheck-target-newlib
32946 installcheck-target-newlib: \
32947 configure-target-newlib
32948 @: $(MAKE); $(unstage)
32949 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32950 r=`${PWD_COMMAND}`; export r; \
32951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32952 $(NORMAL_TARGET_EXPORTS) \
32953 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
32954 for flag in $(EXTRA_TARGET_FLAGS); do \
32955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32957 (cd $(TARGET_SUBDIR)/newlib && \
32958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32960 "RANLIB=$${RANLIB}" \
32961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32965 @endif target-newlib
32967 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
32968 maybe-mostlyclean-target-newlib:
32970 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
32972 mostlyclean-target-newlib:
32973 @: $(MAKE); $(unstage)
32974 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
32975 r=`${PWD_COMMAND}`; export r; \
32976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32977 $(NORMAL_TARGET_EXPORTS) \
32978 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
32979 for flag in $(EXTRA_TARGET_FLAGS); do \
32980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32982 (cd $(TARGET_SUBDIR)/newlib && \
32983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32985 "RANLIB=$${RANLIB}" \
32986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32990 @endif target-newlib
32992 .PHONY: maybe-clean-target-newlib clean-target-newlib
32993 maybe-clean-target-newlib:
32995 maybe-clean-target-newlib: clean-target-newlib
32997 clean-target-newlib:
32998 @: $(MAKE); $(unstage)
32999 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33000 r=`${PWD_COMMAND}`; export r; \
33001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33002 $(NORMAL_TARGET_EXPORTS) \
33003 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
33004 for flag in $(EXTRA_TARGET_FLAGS); do \
33005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33007 (cd $(TARGET_SUBDIR)/newlib && \
33008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33010 "RANLIB=$${RANLIB}" \
33011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33015 @endif target-newlib
33017 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
33018 maybe-distclean-target-newlib:
33020 maybe-distclean-target-newlib: distclean-target-newlib
33022 distclean-target-newlib:
33023 @: $(MAKE); $(unstage)
33024 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33025 r=`${PWD_COMMAND}`; export r; \
33026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33027 $(NORMAL_TARGET_EXPORTS) \
33028 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
33029 for flag in $(EXTRA_TARGET_FLAGS); do \
33030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33032 (cd $(TARGET_SUBDIR)/newlib && \
33033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33035 "RANLIB=$${RANLIB}" \
33036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33040 @endif target-newlib
33042 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
33043 maybe-maintainer-clean-target-newlib:
33045 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
33047 maintainer-clean-target-newlib:
33048 @: $(MAKE); $(unstage)
33049 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
33050 r=`${PWD_COMMAND}`; export r; \
33051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33052 $(NORMAL_TARGET_EXPORTS) \
33053 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
33054 for flag in $(EXTRA_TARGET_FLAGS); do \
33055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33057 (cd $(TARGET_SUBDIR)/newlib && \
33058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33060 "RANLIB=$${RANLIB}" \
33061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33062 maintainer-clean) \
33065 @endif target-newlib
33071 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
33072 maybe-configure-target-libgcc:
33074 configure-target-libgcc: stage_current
33075 @endif gcc-bootstrap
33077 maybe-configure-target-libgcc: configure-target-libgcc
33078 configure-target-libgcc:
33079 @r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 echo "Checking multilib configuration for libgcc..."; \
33082 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33083 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33084 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33085 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33086 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33088 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33089 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33092 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33094 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33095 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33096 $(NORMAL_TARGET_EXPORTS) \
33097 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
33098 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
33099 case $(srcdir) in \
33100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33101 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33104 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33105 libsrcdir="$$s/libgcc"; \
33106 rm -f no-such-file || : ; \
33107 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33108 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33109 --target=${target_alias} $${srcdiroption} \
33111 @endif target-libgcc
33115 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
33116 maybe-configure-stage1-target-libgcc:
33117 @if target-libgcc-bootstrap
33118 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
33119 configure-stage1-target-libgcc:
33120 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33121 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33122 @r=`${PWD_COMMAND}`; export r; \
33123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33124 TFLAGS="$(STAGE1_TFLAGS)"; \
33125 echo "Checking multilib configuration for libgcc..."; \
33126 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33127 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33128 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33129 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33131 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33132 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33135 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33137 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33138 $(NORMAL_TARGET_EXPORTS) \
33139 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33140 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33141 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33142 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
33143 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33144 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33145 case $(srcdir) in \
33146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33147 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33150 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33151 libsrcdir="$$s/libgcc"; \
33152 $(SHELL) $${libsrcdir}/configure \
33153 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33154 --target=${target_alias} $${srcdiroption} \
33155 $(STAGE1_CONFIGURE_FLAGS)
33156 @endif target-libgcc-bootstrap
33158 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
33159 maybe-configure-stage2-target-libgcc:
33160 @if target-libgcc-bootstrap
33161 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
33162 configure-stage2-target-libgcc:
33163 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33164 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33165 @r=`${PWD_COMMAND}`; export r; \
33166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33167 TFLAGS="$(STAGE2_TFLAGS)"; \
33168 echo "Checking multilib configuration for libgcc..."; \
33169 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33170 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33171 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33172 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33174 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33175 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33178 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33180 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33181 $(NORMAL_TARGET_EXPORTS) \
33183 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33184 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33185 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33186 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
33187 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33188 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33189 case $(srcdir) in \
33190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33191 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33194 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33195 libsrcdir="$$s/libgcc"; \
33196 $(SHELL) $${libsrcdir}/configure \
33197 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33198 --target=${target_alias} $${srcdiroption} \
33199 --with-build-libsubdir=$(HOST_SUBDIR) \
33200 $(STAGE2_CONFIGURE_FLAGS)
33201 @endif target-libgcc-bootstrap
33203 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
33204 maybe-configure-stage3-target-libgcc:
33205 @if target-libgcc-bootstrap
33206 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
33207 configure-stage3-target-libgcc:
33208 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33209 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33210 @r=`${PWD_COMMAND}`; export r; \
33211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33212 TFLAGS="$(STAGE3_TFLAGS)"; \
33213 echo "Checking multilib configuration for libgcc..."; \
33214 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33215 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33216 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33217 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33219 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33220 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33223 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33225 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33226 $(NORMAL_TARGET_EXPORTS) \
33228 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33230 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33231 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
33232 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33233 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33234 case $(srcdir) in \
33235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33236 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33239 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33240 libsrcdir="$$s/libgcc"; \
33241 $(SHELL) $${libsrcdir}/configure \
33242 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33243 --target=${target_alias} $${srcdiroption} \
33244 --with-build-libsubdir=$(HOST_SUBDIR) \
33245 $(STAGE3_CONFIGURE_FLAGS)
33246 @endif target-libgcc-bootstrap
33248 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
33249 maybe-configure-stage4-target-libgcc:
33250 @if target-libgcc-bootstrap
33251 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
33252 configure-stage4-target-libgcc:
33253 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33254 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33255 @r=`${PWD_COMMAND}`; export r; \
33256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33257 TFLAGS="$(STAGE4_TFLAGS)"; \
33258 echo "Checking multilib configuration for libgcc..."; \
33259 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33260 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33261 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33262 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33264 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33265 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33268 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33270 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33271 $(NORMAL_TARGET_EXPORTS) \
33273 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33274 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33275 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33276 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
33277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33278 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33279 case $(srcdir) in \
33280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33281 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33284 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33285 libsrcdir="$$s/libgcc"; \
33286 $(SHELL) $${libsrcdir}/configure \
33287 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33288 --target=${target_alias} $${srcdiroption} \
33289 --with-build-libsubdir=$(HOST_SUBDIR) \
33290 $(STAGE4_CONFIGURE_FLAGS)
33291 @endif target-libgcc-bootstrap
33293 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
33294 maybe-configure-stageprofile-target-libgcc:
33295 @if target-libgcc-bootstrap
33296 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
33297 configure-stageprofile-target-libgcc:
33298 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33299 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33300 @r=`${PWD_COMMAND}`; export r; \
33301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33302 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33303 echo "Checking multilib configuration for libgcc..."; \
33304 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33305 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33306 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33307 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33309 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33310 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33313 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33315 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33316 $(NORMAL_TARGET_EXPORTS) \
33318 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33319 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33320 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33321 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
33322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33323 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33324 case $(srcdir) in \
33325 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33326 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33327 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33329 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33330 libsrcdir="$$s/libgcc"; \
33331 $(SHELL) $${libsrcdir}/configure \
33332 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33333 --target=${target_alias} $${srcdiroption} \
33334 --with-build-libsubdir=$(HOST_SUBDIR) \
33335 $(STAGEprofile_CONFIGURE_FLAGS)
33336 @endif target-libgcc-bootstrap
33338 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
33339 maybe-configure-stagefeedback-target-libgcc:
33340 @if target-libgcc-bootstrap
33341 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
33342 configure-stagefeedback-target-libgcc:
33343 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33344 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
33345 @r=`${PWD_COMMAND}`; export r; \
33346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33347 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33348 echo "Checking multilib configuration for libgcc..."; \
33349 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
33350 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33351 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
33352 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
33354 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
33355 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33358 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
33360 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
33361 $(NORMAL_TARGET_EXPORTS) \
33363 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33364 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33365 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33366 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
33367 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
33368 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
33369 case $(srcdir) in \
33370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33371 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
33372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33374 srcdiroption="--srcdir=$${topdir}/libgcc"; \
33375 libsrcdir="$$s/libgcc"; \
33376 $(SHELL) $${libsrcdir}/configure \
33377 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33378 --target=${target_alias} $${srcdiroption} \
33379 --with-build-libsubdir=$(HOST_SUBDIR) \
33380 $(STAGEfeedback_CONFIGURE_FLAGS)
33381 @endif target-libgcc-bootstrap
33387 .PHONY: all-target-libgcc maybe-all-target-libgcc
33388 maybe-all-target-libgcc:
33390 all-target-libgcc: stage_current
33391 @endif gcc-bootstrap
33393 TARGET-target-libgcc=all
33394 maybe-all-target-libgcc: all-target-libgcc
33395 all-target-libgcc: configure-target-libgcc
33396 @r=`${PWD_COMMAND}`; export r; \
33397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33398 $(NORMAL_TARGET_EXPORTS) \
33399 (cd $(TARGET_SUBDIR)/libgcc && \
33400 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
33401 $(TARGET-target-libgcc))
33402 @endif target-libgcc
33406 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
33407 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
33408 maybe-all-stage1-target-libgcc:
33409 maybe-clean-stage1-target-libgcc:
33410 @if target-libgcc-bootstrap
33411 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
33412 all-stage1: all-stage1-target-libgcc
33413 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
33414 all-stage1-target-libgcc: configure-stage1-target-libgcc
33415 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33416 @r=`${PWD_COMMAND}`; export r; \
33417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33418 TFLAGS="$(STAGE1_TFLAGS)"; \
33419 $(NORMAL_TARGET_EXPORTS) \
33420 cd $(TARGET_SUBDIR)/libgcc && \
33421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33422 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33423 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33424 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33425 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33426 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33427 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33428 $(EXTRA_TARGET_FLAGS) \
33430 TFLAGS="$(STAGE1_TFLAGS)" \
33431 $(TARGET-stage1-target-libgcc)
33433 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
33434 clean-stage1: clean-stage1-target-libgcc
33435 clean-stage1-target-libgcc:
33436 @if [ $(current_stage) = stage1 ]; then \
33437 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33439 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
33440 $(MAKE) stage1-start; \
33442 cd $(TARGET_SUBDIR)/libgcc && \
33443 $(MAKE) $(EXTRA_TARGET_FLAGS) \
33445 @endif target-libgcc-bootstrap
33448 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
33449 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
33450 maybe-all-stage2-target-libgcc:
33451 maybe-clean-stage2-target-libgcc:
33452 @if target-libgcc-bootstrap
33453 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
33454 all-stage2: all-stage2-target-libgcc
33455 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
33456 all-stage2-target-libgcc: configure-stage2-target-libgcc
33457 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33458 @r=`${PWD_COMMAND}`; export r; \
33459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33460 TFLAGS="$(STAGE2_TFLAGS)"; \
33461 $(NORMAL_TARGET_EXPORTS) \
33463 cd $(TARGET_SUBDIR)/libgcc && \
33464 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33465 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33466 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33467 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33468 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33469 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33470 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33471 $(EXTRA_TARGET_FLAGS) \
33472 TFLAGS="$(STAGE2_TFLAGS)" \
33473 $(TARGET-stage2-target-libgcc)
33475 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
33476 clean-stage2: clean-stage2-target-libgcc
33477 clean-stage2-target-libgcc:
33478 @if [ $(current_stage) = stage2 ]; then \
33479 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33481 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
33482 $(MAKE) stage2-start; \
33484 cd $(TARGET_SUBDIR)/libgcc && \
33485 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
33486 @endif target-libgcc-bootstrap
33489 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
33490 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
33491 maybe-all-stage3-target-libgcc:
33492 maybe-clean-stage3-target-libgcc:
33493 @if target-libgcc-bootstrap
33494 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
33495 all-stage3: all-stage3-target-libgcc
33496 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
33497 all-stage3-target-libgcc: configure-stage3-target-libgcc
33498 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33499 @r=`${PWD_COMMAND}`; export r; \
33500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33501 TFLAGS="$(STAGE3_TFLAGS)"; \
33502 $(NORMAL_TARGET_EXPORTS) \
33504 cd $(TARGET_SUBDIR)/libgcc && \
33505 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33506 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33507 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33508 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33509 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33510 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33511 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33512 $(EXTRA_TARGET_FLAGS) \
33513 TFLAGS="$(STAGE3_TFLAGS)" \
33514 $(TARGET-stage3-target-libgcc)
33516 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
33517 clean-stage3: clean-stage3-target-libgcc
33518 clean-stage3-target-libgcc:
33519 @if [ $(current_stage) = stage3 ]; then \
33520 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33522 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
33523 $(MAKE) stage3-start; \
33525 cd $(TARGET_SUBDIR)/libgcc && \
33526 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
33527 @endif target-libgcc-bootstrap
33530 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
33531 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
33532 maybe-all-stage4-target-libgcc:
33533 maybe-clean-stage4-target-libgcc:
33534 @if target-libgcc-bootstrap
33535 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
33536 all-stage4: all-stage4-target-libgcc
33537 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
33538 all-stage4-target-libgcc: configure-stage4-target-libgcc
33539 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33540 @r=`${PWD_COMMAND}`; export r; \
33541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33542 TFLAGS="$(STAGE4_TFLAGS)"; \
33543 $(NORMAL_TARGET_EXPORTS) \
33545 cd $(TARGET_SUBDIR)/libgcc && \
33546 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33547 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33548 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33549 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33550 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33551 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33552 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33553 $(EXTRA_TARGET_FLAGS) \
33554 TFLAGS="$(STAGE4_TFLAGS)" \
33555 $(TARGET-stage4-target-libgcc)
33557 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
33558 clean-stage4: clean-stage4-target-libgcc
33559 clean-stage4-target-libgcc:
33560 @if [ $(current_stage) = stage4 ]; then \
33561 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33563 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
33564 $(MAKE) stage4-start; \
33566 cd $(TARGET_SUBDIR)/libgcc && \
33567 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
33568 @endif target-libgcc-bootstrap
33571 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
33572 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
33573 maybe-all-stageprofile-target-libgcc:
33574 maybe-clean-stageprofile-target-libgcc:
33575 @if target-libgcc-bootstrap
33576 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
33577 all-stageprofile: all-stageprofile-target-libgcc
33578 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
33579 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
33580 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33581 @r=`${PWD_COMMAND}`; export r; \
33582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33583 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33584 $(NORMAL_TARGET_EXPORTS) \
33586 cd $(TARGET_SUBDIR)/libgcc && \
33587 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33588 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33589 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33590 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33591 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33592 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33593 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33594 $(EXTRA_TARGET_FLAGS) \
33595 TFLAGS="$(STAGEprofile_TFLAGS)" \
33596 $(TARGET-stageprofile-target-libgcc)
33598 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
33599 clean-stageprofile: clean-stageprofile-target-libgcc
33600 clean-stageprofile-target-libgcc:
33601 @if [ $(current_stage) = stageprofile ]; then \
33602 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33604 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
33605 $(MAKE) stageprofile-start; \
33607 cd $(TARGET_SUBDIR)/libgcc && \
33608 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
33609 @endif target-libgcc-bootstrap
33612 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
33613 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
33614 maybe-all-stagefeedback-target-libgcc:
33615 maybe-clean-stagefeedback-target-libgcc:
33616 @if target-libgcc-bootstrap
33617 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
33618 all-stagefeedback: all-stagefeedback-target-libgcc
33619 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
33620 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
33621 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33622 @r=`${PWD_COMMAND}`; export r; \
33623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33624 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33625 $(NORMAL_TARGET_EXPORTS) \
33627 cd $(TARGET_SUBDIR)/libgcc && \
33628 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33629 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33630 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33631 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33632 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33633 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33634 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33635 $(EXTRA_TARGET_FLAGS) \
33636 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33637 $(TARGET-stagefeedback-target-libgcc)
33639 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
33640 clean-stagefeedback: clean-stagefeedback-target-libgcc
33641 clean-stagefeedback-target-libgcc:
33642 @if [ $(current_stage) = stagefeedback ]; then \
33643 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
33645 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
33646 $(MAKE) stagefeedback-start; \
33648 cd $(TARGET_SUBDIR)/libgcc && \
33649 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
33650 @endif target-libgcc-bootstrap
33657 .PHONY: check-target-libgcc maybe-check-target-libgcc
33658 maybe-check-target-libgcc:
33660 maybe-check-target-libgcc: check-target-libgcc
33662 # Dummy target for uncheckable module.
33663 check-target-libgcc:
33665 @endif target-libgcc
33667 .PHONY: install-target-libgcc maybe-install-target-libgcc
33668 maybe-install-target-libgcc:
33670 maybe-install-target-libgcc: install-target-libgcc
33672 install-target-libgcc: installdirs
33673 @: $(MAKE); $(unstage)
33674 @r=`${PWD_COMMAND}`; export r; \
33675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33676 $(NORMAL_TARGET_EXPORTS) \
33677 (cd $(TARGET_SUBDIR)/libgcc && \
33678 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33680 @endif target-libgcc
33682 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
33683 maybe-install-strip-target-libgcc:
33685 maybe-install-strip-target-libgcc: install-strip-target-libgcc
33687 install-strip-target-libgcc: installdirs
33688 @: $(MAKE); $(unstage)
33689 @r=`${PWD_COMMAND}`; export r; \
33690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33691 $(NORMAL_TARGET_EXPORTS) \
33692 (cd $(TARGET_SUBDIR)/libgcc && \
33693 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33695 @endif target-libgcc
33697 # Other targets (info, dvi, pdf, etc.)
33699 .PHONY: maybe-info-target-libgcc info-target-libgcc
33700 maybe-info-target-libgcc:
33702 maybe-info-target-libgcc: info-target-libgcc
33704 info-target-libgcc: \
33705 configure-target-libgcc
33706 @: $(MAKE); $(unstage)
33707 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33708 r=`${PWD_COMMAND}`; export r; \
33709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33710 $(NORMAL_TARGET_EXPORTS) \
33711 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
33712 for flag in $(EXTRA_TARGET_FLAGS); do \
33713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33715 (cd $(TARGET_SUBDIR)/libgcc && \
33716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33718 "RANLIB=$${RANLIB}" \
33719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33723 @endif target-libgcc
33725 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
33726 maybe-dvi-target-libgcc:
33728 maybe-dvi-target-libgcc: dvi-target-libgcc
33730 dvi-target-libgcc: \
33731 configure-target-libgcc
33732 @: $(MAKE); $(unstage)
33733 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33734 r=`${PWD_COMMAND}`; export r; \
33735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33736 $(NORMAL_TARGET_EXPORTS) \
33737 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
33738 for flag in $(EXTRA_TARGET_FLAGS); do \
33739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33741 (cd $(TARGET_SUBDIR)/libgcc && \
33742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33744 "RANLIB=$${RANLIB}" \
33745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33749 @endif target-libgcc
33751 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
33752 maybe-pdf-target-libgcc:
33754 maybe-pdf-target-libgcc: pdf-target-libgcc
33756 pdf-target-libgcc: \
33757 configure-target-libgcc
33758 @: $(MAKE); $(unstage)
33759 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33760 r=`${PWD_COMMAND}`; export r; \
33761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33762 $(NORMAL_TARGET_EXPORTS) \
33763 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
33764 for flag in $(EXTRA_TARGET_FLAGS); do \
33765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33767 (cd $(TARGET_SUBDIR)/libgcc && \
33768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33770 "RANLIB=$${RANLIB}" \
33771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33775 @endif target-libgcc
33777 .PHONY: maybe-html-target-libgcc html-target-libgcc
33778 maybe-html-target-libgcc:
33780 maybe-html-target-libgcc: html-target-libgcc
33782 html-target-libgcc: \
33783 configure-target-libgcc
33784 @: $(MAKE); $(unstage)
33785 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33786 r=`${PWD_COMMAND}`; export r; \
33787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33788 $(NORMAL_TARGET_EXPORTS) \
33789 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
33790 for flag in $(EXTRA_TARGET_FLAGS); do \
33791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33793 (cd $(TARGET_SUBDIR)/libgcc && \
33794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33796 "RANLIB=$${RANLIB}" \
33797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33801 @endif target-libgcc
33803 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
33804 maybe-TAGS-target-libgcc:
33806 maybe-TAGS-target-libgcc: TAGS-target-libgcc
33808 TAGS-target-libgcc: \
33809 configure-target-libgcc
33810 @: $(MAKE); $(unstage)
33811 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33812 r=`${PWD_COMMAND}`; export r; \
33813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33814 $(NORMAL_TARGET_EXPORTS) \
33815 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
33816 for flag in $(EXTRA_TARGET_FLAGS); do \
33817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33819 (cd $(TARGET_SUBDIR)/libgcc && \
33820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33822 "RANLIB=$${RANLIB}" \
33823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33827 @endif target-libgcc
33829 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
33830 maybe-install-info-target-libgcc:
33832 maybe-install-info-target-libgcc: install-info-target-libgcc
33834 install-info-target-libgcc: \
33835 configure-target-libgcc \
33837 @: $(MAKE); $(unstage)
33838 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33839 r=`${PWD_COMMAND}`; export r; \
33840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33841 $(NORMAL_TARGET_EXPORTS) \
33842 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
33843 for flag in $(EXTRA_TARGET_FLAGS); do \
33844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33846 (cd $(TARGET_SUBDIR)/libgcc && \
33847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33849 "RANLIB=$${RANLIB}" \
33850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33854 @endif target-libgcc
33856 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
33857 maybe-install-pdf-target-libgcc:
33859 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
33861 install-pdf-target-libgcc: \
33862 configure-target-libgcc \
33864 @: $(MAKE); $(unstage)
33865 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33866 r=`${PWD_COMMAND}`; export r; \
33867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33868 $(NORMAL_TARGET_EXPORTS) \
33869 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
33870 for flag in $(EXTRA_TARGET_FLAGS); do \
33871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33873 (cd $(TARGET_SUBDIR)/libgcc && \
33874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33876 "RANLIB=$${RANLIB}" \
33877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33881 @endif target-libgcc
33883 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
33884 maybe-install-html-target-libgcc:
33886 maybe-install-html-target-libgcc: install-html-target-libgcc
33888 install-html-target-libgcc: \
33889 configure-target-libgcc \
33891 @: $(MAKE); $(unstage)
33892 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33893 r=`${PWD_COMMAND}`; export r; \
33894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33895 $(NORMAL_TARGET_EXPORTS) \
33896 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
33897 for flag in $(EXTRA_TARGET_FLAGS); do \
33898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33900 (cd $(TARGET_SUBDIR)/libgcc && \
33901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33903 "RANLIB=$${RANLIB}" \
33904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33908 @endif target-libgcc
33910 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
33911 maybe-installcheck-target-libgcc:
33913 maybe-installcheck-target-libgcc: installcheck-target-libgcc
33915 installcheck-target-libgcc: \
33916 configure-target-libgcc
33917 @: $(MAKE); $(unstage)
33918 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33919 r=`${PWD_COMMAND}`; export r; \
33920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33921 $(NORMAL_TARGET_EXPORTS) \
33922 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
33923 for flag in $(EXTRA_TARGET_FLAGS); do \
33924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33926 (cd $(TARGET_SUBDIR)/libgcc && \
33927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33929 "RANLIB=$${RANLIB}" \
33930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33934 @endif target-libgcc
33936 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
33937 maybe-mostlyclean-target-libgcc:
33939 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
33941 mostlyclean-target-libgcc:
33942 @: $(MAKE); $(unstage)
33943 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33944 r=`${PWD_COMMAND}`; export r; \
33945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33946 $(NORMAL_TARGET_EXPORTS) \
33947 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
33948 for flag in $(EXTRA_TARGET_FLAGS); do \
33949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33951 (cd $(TARGET_SUBDIR)/libgcc && \
33952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33954 "RANLIB=$${RANLIB}" \
33955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33959 @endif target-libgcc
33961 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
33962 maybe-clean-target-libgcc:
33964 maybe-clean-target-libgcc: clean-target-libgcc
33966 clean-target-libgcc:
33967 @: $(MAKE); $(unstage)
33968 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33969 r=`${PWD_COMMAND}`; export r; \
33970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33971 $(NORMAL_TARGET_EXPORTS) \
33972 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
33973 for flag in $(EXTRA_TARGET_FLAGS); do \
33974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33976 (cd $(TARGET_SUBDIR)/libgcc && \
33977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33979 "RANLIB=$${RANLIB}" \
33980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33984 @endif target-libgcc
33986 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
33987 maybe-distclean-target-libgcc:
33989 maybe-distclean-target-libgcc: distclean-target-libgcc
33991 distclean-target-libgcc:
33992 @: $(MAKE); $(unstage)
33993 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
33994 r=`${PWD_COMMAND}`; export r; \
33995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33996 $(NORMAL_TARGET_EXPORTS) \
33997 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
33998 for flag in $(EXTRA_TARGET_FLAGS); do \
33999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34001 (cd $(TARGET_SUBDIR)/libgcc && \
34002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34004 "RANLIB=$${RANLIB}" \
34005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34009 @endif target-libgcc
34011 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
34012 maybe-maintainer-clean-target-libgcc:
34014 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
34016 maintainer-clean-target-libgcc:
34017 @: $(MAKE); $(unstage)
34018 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
34019 r=`${PWD_COMMAND}`; export r; \
34020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34021 $(NORMAL_TARGET_EXPORTS) \
34022 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
34023 for flag in $(EXTRA_TARGET_FLAGS); do \
34024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34026 (cd $(TARGET_SUBDIR)/libgcc && \
34027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34029 "RANLIB=$${RANLIB}" \
34030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34031 maintainer-clean) \
34034 @endif target-libgcc
34040 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
34041 maybe-configure-target-libbacktrace:
34043 configure-target-libbacktrace: stage_current
34044 @endif gcc-bootstrap
34045 @if target-libbacktrace
34046 maybe-configure-target-libbacktrace: configure-target-libbacktrace
34047 configure-target-libbacktrace:
34048 @: $(MAKE); $(unstage)
34049 @r=`${PWD_COMMAND}`; export r; \
34050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34051 echo "Checking multilib configuration for libbacktrace..."; \
34052 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
34053 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
34054 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
34055 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
34056 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
34058 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
34059 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
34062 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
34064 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
34065 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
34066 $(NORMAL_TARGET_EXPORTS) \
34067 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
34068 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
34069 case $(srcdir) in \
34070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34071 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
34072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34074 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
34075 libsrcdir="$$s/libbacktrace"; \
34076 rm -f no-such-file || : ; \
34077 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34078 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34079 --target=${target_alias} $${srcdiroption} \
34081 @endif target-libbacktrace
34087 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
34088 maybe-all-target-libbacktrace:
34090 all-target-libbacktrace: stage_current
34091 @endif gcc-bootstrap
34092 @if target-libbacktrace
34093 TARGET-target-libbacktrace=all
34094 maybe-all-target-libbacktrace: all-target-libbacktrace
34095 all-target-libbacktrace: configure-target-libbacktrace
34096 @: $(MAKE); $(unstage)
34097 @r=`${PWD_COMMAND}`; export r; \
34098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34099 $(NORMAL_TARGET_EXPORTS) \
34100 (cd $(TARGET_SUBDIR)/libbacktrace && \
34101 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34102 $(TARGET-target-libbacktrace))
34103 @endif target-libbacktrace
34109 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
34110 maybe-check-target-libbacktrace:
34111 @if target-libbacktrace
34112 maybe-check-target-libbacktrace: check-target-libbacktrace
34114 check-target-libbacktrace:
34115 @: $(MAKE); $(unstage)
34116 @r=`${PWD_COMMAND}`; export r; \
34117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34118 $(NORMAL_TARGET_EXPORTS) \
34119 (cd $(TARGET_SUBDIR)/libbacktrace && \
34120 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34122 @endif target-libbacktrace
34124 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
34125 maybe-install-target-libbacktrace:
34126 @if target-libbacktrace
34127 maybe-install-target-libbacktrace: install-target-libbacktrace
34129 install-target-libbacktrace: installdirs
34130 @: $(MAKE); $(unstage)
34131 @r=`${PWD_COMMAND}`; export r; \
34132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34133 $(NORMAL_TARGET_EXPORTS) \
34134 (cd $(TARGET_SUBDIR)/libbacktrace && \
34135 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34137 @endif target-libbacktrace
34139 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
34140 maybe-install-strip-target-libbacktrace:
34141 @if target-libbacktrace
34142 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
34144 install-strip-target-libbacktrace: installdirs
34145 @: $(MAKE); $(unstage)
34146 @r=`${PWD_COMMAND}`; export r; \
34147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34148 $(NORMAL_TARGET_EXPORTS) \
34149 (cd $(TARGET_SUBDIR)/libbacktrace && \
34150 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34152 @endif target-libbacktrace
34154 # Other targets (info, dvi, pdf, etc.)
34156 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
34157 maybe-info-target-libbacktrace:
34158 @if target-libbacktrace
34159 maybe-info-target-libbacktrace: info-target-libbacktrace
34161 info-target-libbacktrace: \
34162 configure-target-libbacktrace
34163 @: $(MAKE); $(unstage)
34164 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34165 r=`${PWD_COMMAND}`; export r; \
34166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34167 $(NORMAL_TARGET_EXPORTS) \
34168 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
34169 for flag in $(EXTRA_TARGET_FLAGS); do \
34170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34172 (cd $(TARGET_SUBDIR)/libbacktrace && \
34173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34175 "RANLIB=$${RANLIB}" \
34176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34180 @endif target-libbacktrace
34182 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
34183 maybe-dvi-target-libbacktrace:
34184 @if target-libbacktrace
34185 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
34187 dvi-target-libbacktrace: \
34188 configure-target-libbacktrace
34189 @: $(MAKE); $(unstage)
34190 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34191 r=`${PWD_COMMAND}`; export r; \
34192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34193 $(NORMAL_TARGET_EXPORTS) \
34194 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
34195 for flag in $(EXTRA_TARGET_FLAGS); do \
34196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34198 (cd $(TARGET_SUBDIR)/libbacktrace && \
34199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34201 "RANLIB=$${RANLIB}" \
34202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34206 @endif target-libbacktrace
34208 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
34209 maybe-pdf-target-libbacktrace:
34210 @if target-libbacktrace
34211 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
34213 pdf-target-libbacktrace: \
34214 configure-target-libbacktrace
34215 @: $(MAKE); $(unstage)
34216 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34217 r=`${PWD_COMMAND}`; export r; \
34218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34219 $(NORMAL_TARGET_EXPORTS) \
34220 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
34221 for flag in $(EXTRA_TARGET_FLAGS); do \
34222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34224 (cd $(TARGET_SUBDIR)/libbacktrace && \
34225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34227 "RANLIB=$${RANLIB}" \
34228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34232 @endif target-libbacktrace
34234 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
34235 maybe-html-target-libbacktrace:
34236 @if target-libbacktrace
34237 maybe-html-target-libbacktrace: html-target-libbacktrace
34239 html-target-libbacktrace: \
34240 configure-target-libbacktrace
34241 @: $(MAKE); $(unstage)
34242 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34243 r=`${PWD_COMMAND}`; export r; \
34244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34245 $(NORMAL_TARGET_EXPORTS) \
34246 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
34247 for flag in $(EXTRA_TARGET_FLAGS); do \
34248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34250 (cd $(TARGET_SUBDIR)/libbacktrace && \
34251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34253 "RANLIB=$${RANLIB}" \
34254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34258 @endif target-libbacktrace
34260 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
34261 maybe-TAGS-target-libbacktrace:
34262 @if target-libbacktrace
34263 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
34265 TAGS-target-libbacktrace: \
34266 configure-target-libbacktrace
34267 @: $(MAKE); $(unstage)
34268 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34269 r=`${PWD_COMMAND}`; export r; \
34270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34271 $(NORMAL_TARGET_EXPORTS) \
34272 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
34273 for flag in $(EXTRA_TARGET_FLAGS); do \
34274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34276 (cd $(TARGET_SUBDIR)/libbacktrace && \
34277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34279 "RANLIB=$${RANLIB}" \
34280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34284 @endif target-libbacktrace
34286 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
34287 maybe-install-info-target-libbacktrace:
34288 @if target-libbacktrace
34289 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
34291 install-info-target-libbacktrace: \
34292 configure-target-libbacktrace \
34293 info-target-libbacktrace
34294 @: $(MAKE); $(unstage)
34295 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34296 r=`${PWD_COMMAND}`; export r; \
34297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34298 $(NORMAL_TARGET_EXPORTS) \
34299 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
34300 for flag in $(EXTRA_TARGET_FLAGS); do \
34301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34303 (cd $(TARGET_SUBDIR)/libbacktrace && \
34304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34306 "RANLIB=$${RANLIB}" \
34307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34311 @endif target-libbacktrace
34313 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
34314 maybe-install-pdf-target-libbacktrace:
34315 @if target-libbacktrace
34316 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
34318 install-pdf-target-libbacktrace: \
34319 configure-target-libbacktrace \
34320 pdf-target-libbacktrace
34321 @: $(MAKE); $(unstage)
34322 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34323 r=`${PWD_COMMAND}`; export r; \
34324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34325 $(NORMAL_TARGET_EXPORTS) \
34326 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
34327 for flag in $(EXTRA_TARGET_FLAGS); do \
34328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34330 (cd $(TARGET_SUBDIR)/libbacktrace && \
34331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34333 "RANLIB=$${RANLIB}" \
34334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34338 @endif target-libbacktrace
34340 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
34341 maybe-install-html-target-libbacktrace:
34342 @if target-libbacktrace
34343 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
34345 install-html-target-libbacktrace: \
34346 configure-target-libbacktrace \
34347 html-target-libbacktrace
34348 @: $(MAKE); $(unstage)
34349 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34350 r=`${PWD_COMMAND}`; export r; \
34351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34352 $(NORMAL_TARGET_EXPORTS) \
34353 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
34354 for flag in $(EXTRA_TARGET_FLAGS); do \
34355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34357 (cd $(TARGET_SUBDIR)/libbacktrace && \
34358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34360 "RANLIB=$${RANLIB}" \
34361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34365 @endif target-libbacktrace
34367 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
34368 maybe-installcheck-target-libbacktrace:
34369 @if target-libbacktrace
34370 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
34372 installcheck-target-libbacktrace: \
34373 configure-target-libbacktrace
34374 @: $(MAKE); $(unstage)
34375 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34376 r=`${PWD_COMMAND}`; export r; \
34377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34378 $(NORMAL_TARGET_EXPORTS) \
34379 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
34380 for flag in $(EXTRA_TARGET_FLAGS); do \
34381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34383 (cd $(TARGET_SUBDIR)/libbacktrace && \
34384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34386 "RANLIB=$${RANLIB}" \
34387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34391 @endif target-libbacktrace
34393 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
34394 maybe-mostlyclean-target-libbacktrace:
34395 @if target-libbacktrace
34396 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
34398 mostlyclean-target-libbacktrace:
34399 @: $(MAKE); $(unstage)
34400 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34401 r=`${PWD_COMMAND}`; export r; \
34402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34403 $(NORMAL_TARGET_EXPORTS) \
34404 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
34405 for flag in $(EXTRA_TARGET_FLAGS); do \
34406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34408 (cd $(TARGET_SUBDIR)/libbacktrace && \
34409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34411 "RANLIB=$${RANLIB}" \
34412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34416 @endif target-libbacktrace
34418 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
34419 maybe-clean-target-libbacktrace:
34420 @if target-libbacktrace
34421 maybe-clean-target-libbacktrace: clean-target-libbacktrace
34423 clean-target-libbacktrace:
34424 @: $(MAKE); $(unstage)
34425 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34426 r=`${PWD_COMMAND}`; export r; \
34427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34428 $(NORMAL_TARGET_EXPORTS) \
34429 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
34430 for flag in $(EXTRA_TARGET_FLAGS); do \
34431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34433 (cd $(TARGET_SUBDIR)/libbacktrace && \
34434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34436 "RANLIB=$${RANLIB}" \
34437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34441 @endif target-libbacktrace
34443 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
34444 maybe-distclean-target-libbacktrace:
34445 @if target-libbacktrace
34446 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
34448 distclean-target-libbacktrace:
34449 @: $(MAKE); $(unstage)
34450 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34451 r=`${PWD_COMMAND}`; export r; \
34452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34453 $(NORMAL_TARGET_EXPORTS) \
34454 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
34455 for flag in $(EXTRA_TARGET_FLAGS); do \
34456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34458 (cd $(TARGET_SUBDIR)/libbacktrace && \
34459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34461 "RANLIB=$${RANLIB}" \
34462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34466 @endif target-libbacktrace
34468 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
34469 maybe-maintainer-clean-target-libbacktrace:
34470 @if target-libbacktrace
34471 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
34473 maintainer-clean-target-libbacktrace:
34474 @: $(MAKE); $(unstage)
34475 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
34476 r=`${PWD_COMMAND}`; export r; \
34477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34478 $(NORMAL_TARGET_EXPORTS) \
34479 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
34480 for flag in $(EXTRA_TARGET_FLAGS); do \
34481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34483 (cd $(TARGET_SUBDIR)/libbacktrace && \
34484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34486 "RANLIB=$${RANLIB}" \
34487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34488 maintainer-clean) \
34491 @endif target-libbacktrace
34497 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
34498 maybe-configure-target-libquadmath:
34500 configure-target-libquadmath: stage_current
34501 @endif gcc-bootstrap
34502 @if target-libquadmath
34503 maybe-configure-target-libquadmath: configure-target-libquadmath
34504 configure-target-libquadmath:
34505 @: $(MAKE); $(unstage)
34506 @r=`${PWD_COMMAND}`; export r; \
34507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34508 echo "Checking multilib configuration for libquadmath..."; \
34509 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
34510 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
34511 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
34512 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
34513 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
34515 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
34516 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
34519 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
34521 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
34522 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
34523 $(NORMAL_TARGET_EXPORTS) \
34524 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
34525 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
34526 case $(srcdir) in \
34527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34528 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
34529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34531 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
34532 libsrcdir="$$s/libquadmath"; \
34533 rm -f no-such-file || : ; \
34534 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34535 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34536 --target=${target_alias} $${srcdiroption} \
34538 @endif target-libquadmath
34544 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
34545 maybe-all-target-libquadmath:
34547 all-target-libquadmath: stage_current
34548 @endif gcc-bootstrap
34549 @if target-libquadmath
34550 TARGET-target-libquadmath=all
34551 maybe-all-target-libquadmath: all-target-libquadmath
34552 all-target-libquadmath: configure-target-libquadmath
34553 @: $(MAKE); $(unstage)
34554 @r=`${PWD_COMMAND}`; export r; \
34555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34556 $(NORMAL_TARGET_EXPORTS) \
34557 (cd $(TARGET_SUBDIR)/libquadmath && \
34558 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34559 $(TARGET-target-libquadmath))
34560 @endif target-libquadmath
34566 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
34567 maybe-check-target-libquadmath:
34568 @if target-libquadmath
34569 maybe-check-target-libquadmath: check-target-libquadmath
34571 check-target-libquadmath:
34572 @: $(MAKE); $(unstage)
34573 @r=`${PWD_COMMAND}`; export r; \
34574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34575 $(NORMAL_TARGET_EXPORTS) \
34576 (cd $(TARGET_SUBDIR)/libquadmath && \
34577 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34579 @endif target-libquadmath
34581 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
34582 maybe-install-target-libquadmath:
34583 @if target-libquadmath
34584 maybe-install-target-libquadmath: install-target-libquadmath
34586 install-target-libquadmath: installdirs
34587 @: $(MAKE); $(unstage)
34588 @r=`${PWD_COMMAND}`; export r; \
34589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34590 $(NORMAL_TARGET_EXPORTS) \
34591 (cd $(TARGET_SUBDIR)/libquadmath && \
34592 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34594 @endif target-libquadmath
34596 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
34597 maybe-install-strip-target-libquadmath:
34598 @if target-libquadmath
34599 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
34601 install-strip-target-libquadmath: installdirs
34602 @: $(MAKE); $(unstage)
34603 @r=`${PWD_COMMAND}`; export r; \
34604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34605 $(NORMAL_TARGET_EXPORTS) \
34606 (cd $(TARGET_SUBDIR)/libquadmath && \
34607 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34609 @endif target-libquadmath
34611 # Other targets (info, dvi, pdf, etc.)
34613 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
34614 maybe-info-target-libquadmath:
34615 @if target-libquadmath
34616 maybe-info-target-libquadmath: info-target-libquadmath
34618 info-target-libquadmath: \
34619 configure-target-libquadmath
34620 @: $(MAKE); $(unstage)
34621 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34622 r=`${PWD_COMMAND}`; export r; \
34623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34624 $(NORMAL_TARGET_EXPORTS) \
34625 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
34626 for flag in $(EXTRA_TARGET_FLAGS); do \
34627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34629 (cd $(TARGET_SUBDIR)/libquadmath && \
34630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34632 "RANLIB=$${RANLIB}" \
34633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34637 @endif target-libquadmath
34639 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
34640 maybe-dvi-target-libquadmath:
34641 @if target-libquadmath
34642 maybe-dvi-target-libquadmath: dvi-target-libquadmath
34644 dvi-target-libquadmath: \
34645 configure-target-libquadmath
34646 @: $(MAKE); $(unstage)
34647 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34648 r=`${PWD_COMMAND}`; export r; \
34649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34650 $(NORMAL_TARGET_EXPORTS) \
34651 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
34652 for flag in $(EXTRA_TARGET_FLAGS); do \
34653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34655 (cd $(TARGET_SUBDIR)/libquadmath && \
34656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34658 "RANLIB=$${RANLIB}" \
34659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34663 @endif target-libquadmath
34665 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
34666 maybe-pdf-target-libquadmath:
34667 @if target-libquadmath
34668 maybe-pdf-target-libquadmath: pdf-target-libquadmath
34670 pdf-target-libquadmath: \
34671 configure-target-libquadmath
34672 @: $(MAKE); $(unstage)
34673 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34674 r=`${PWD_COMMAND}`; export r; \
34675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34676 $(NORMAL_TARGET_EXPORTS) \
34677 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
34678 for flag in $(EXTRA_TARGET_FLAGS); do \
34679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34681 (cd $(TARGET_SUBDIR)/libquadmath && \
34682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34684 "RANLIB=$${RANLIB}" \
34685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34689 @endif target-libquadmath
34691 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
34692 maybe-html-target-libquadmath:
34693 @if target-libquadmath
34694 maybe-html-target-libquadmath: html-target-libquadmath
34696 html-target-libquadmath: \
34697 configure-target-libquadmath
34698 @: $(MAKE); $(unstage)
34699 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34700 r=`${PWD_COMMAND}`; export r; \
34701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34702 $(NORMAL_TARGET_EXPORTS) \
34703 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
34704 for flag in $(EXTRA_TARGET_FLAGS); do \
34705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34707 (cd $(TARGET_SUBDIR)/libquadmath && \
34708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34710 "RANLIB=$${RANLIB}" \
34711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34715 @endif target-libquadmath
34717 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
34718 maybe-TAGS-target-libquadmath:
34719 @if target-libquadmath
34720 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
34722 TAGS-target-libquadmath: \
34723 configure-target-libquadmath
34724 @: $(MAKE); $(unstage)
34725 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34726 r=`${PWD_COMMAND}`; export r; \
34727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34728 $(NORMAL_TARGET_EXPORTS) \
34729 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
34730 for flag in $(EXTRA_TARGET_FLAGS); do \
34731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34733 (cd $(TARGET_SUBDIR)/libquadmath && \
34734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34736 "RANLIB=$${RANLIB}" \
34737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34741 @endif target-libquadmath
34743 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
34744 maybe-install-info-target-libquadmath:
34745 @if target-libquadmath
34746 maybe-install-info-target-libquadmath: install-info-target-libquadmath
34748 install-info-target-libquadmath: \
34749 configure-target-libquadmath \
34750 info-target-libquadmath
34751 @: $(MAKE); $(unstage)
34752 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34753 r=`${PWD_COMMAND}`; export r; \
34754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34755 $(NORMAL_TARGET_EXPORTS) \
34756 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
34757 for flag in $(EXTRA_TARGET_FLAGS); do \
34758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34760 (cd $(TARGET_SUBDIR)/libquadmath && \
34761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34763 "RANLIB=$${RANLIB}" \
34764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34768 @endif target-libquadmath
34770 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
34771 maybe-install-pdf-target-libquadmath:
34772 @if target-libquadmath
34773 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
34775 install-pdf-target-libquadmath: \
34776 configure-target-libquadmath \
34777 pdf-target-libquadmath
34778 @: $(MAKE); $(unstage)
34779 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34780 r=`${PWD_COMMAND}`; export r; \
34781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34782 $(NORMAL_TARGET_EXPORTS) \
34783 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
34784 for flag in $(EXTRA_TARGET_FLAGS); do \
34785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34787 (cd $(TARGET_SUBDIR)/libquadmath && \
34788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34790 "RANLIB=$${RANLIB}" \
34791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34795 @endif target-libquadmath
34797 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
34798 maybe-install-html-target-libquadmath:
34799 @if target-libquadmath
34800 maybe-install-html-target-libquadmath: install-html-target-libquadmath
34802 install-html-target-libquadmath: \
34803 configure-target-libquadmath \
34804 html-target-libquadmath
34805 @: $(MAKE); $(unstage)
34806 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34807 r=`${PWD_COMMAND}`; export r; \
34808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34809 $(NORMAL_TARGET_EXPORTS) \
34810 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
34811 for flag in $(EXTRA_TARGET_FLAGS); do \
34812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34814 (cd $(TARGET_SUBDIR)/libquadmath && \
34815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34817 "RANLIB=$${RANLIB}" \
34818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34822 @endif target-libquadmath
34824 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
34825 maybe-installcheck-target-libquadmath:
34826 @if target-libquadmath
34827 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
34829 installcheck-target-libquadmath: \
34830 configure-target-libquadmath
34831 @: $(MAKE); $(unstage)
34832 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34833 r=`${PWD_COMMAND}`; export r; \
34834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34835 $(NORMAL_TARGET_EXPORTS) \
34836 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
34837 for flag in $(EXTRA_TARGET_FLAGS); do \
34838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34840 (cd $(TARGET_SUBDIR)/libquadmath && \
34841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34843 "RANLIB=$${RANLIB}" \
34844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34848 @endif target-libquadmath
34850 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
34851 maybe-mostlyclean-target-libquadmath:
34852 @if target-libquadmath
34853 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
34855 mostlyclean-target-libquadmath:
34856 @: $(MAKE); $(unstage)
34857 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34858 r=`${PWD_COMMAND}`; export r; \
34859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34860 $(NORMAL_TARGET_EXPORTS) \
34861 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
34862 for flag in $(EXTRA_TARGET_FLAGS); do \
34863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34865 (cd $(TARGET_SUBDIR)/libquadmath && \
34866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34868 "RANLIB=$${RANLIB}" \
34869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34873 @endif target-libquadmath
34875 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
34876 maybe-clean-target-libquadmath:
34877 @if target-libquadmath
34878 maybe-clean-target-libquadmath: clean-target-libquadmath
34880 clean-target-libquadmath:
34881 @: $(MAKE); $(unstage)
34882 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34883 r=`${PWD_COMMAND}`; export r; \
34884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34885 $(NORMAL_TARGET_EXPORTS) \
34886 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
34887 for flag in $(EXTRA_TARGET_FLAGS); do \
34888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34890 (cd $(TARGET_SUBDIR)/libquadmath && \
34891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34893 "RANLIB=$${RANLIB}" \
34894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34898 @endif target-libquadmath
34900 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
34901 maybe-distclean-target-libquadmath:
34902 @if target-libquadmath
34903 maybe-distclean-target-libquadmath: distclean-target-libquadmath
34905 distclean-target-libquadmath:
34906 @: $(MAKE); $(unstage)
34907 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34908 r=`${PWD_COMMAND}`; export r; \
34909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34910 $(NORMAL_TARGET_EXPORTS) \
34911 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
34912 for flag in $(EXTRA_TARGET_FLAGS); do \
34913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34915 (cd $(TARGET_SUBDIR)/libquadmath && \
34916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34918 "RANLIB=$${RANLIB}" \
34919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34923 @endif target-libquadmath
34925 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
34926 maybe-maintainer-clean-target-libquadmath:
34927 @if target-libquadmath
34928 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
34930 maintainer-clean-target-libquadmath:
34931 @: $(MAKE); $(unstage)
34932 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
34933 r=`${PWD_COMMAND}`; export r; \
34934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34935 $(NORMAL_TARGET_EXPORTS) \
34936 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
34937 for flag in $(EXTRA_TARGET_FLAGS); do \
34938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34940 (cd $(TARGET_SUBDIR)/libquadmath && \
34941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34943 "RANLIB=$${RANLIB}" \
34944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34945 maintainer-clean) \
34948 @endif target-libquadmath
34954 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
34955 maybe-configure-target-libgfortran:
34957 configure-target-libgfortran: stage_current
34958 @endif gcc-bootstrap
34959 @if target-libgfortran
34960 maybe-configure-target-libgfortran: configure-target-libgfortran
34961 configure-target-libgfortran:
34962 @: $(MAKE); $(unstage)
34963 @r=`${PWD_COMMAND}`; export r; \
34964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34965 echo "Checking multilib configuration for libgfortran..."; \
34966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
34967 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
34968 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
34969 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
34970 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
34972 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
34973 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
34976 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
34978 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
34979 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
34980 $(NORMAL_TARGET_EXPORTS) \
34981 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
34982 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
34983 case $(srcdir) in \
34984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34985 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
34986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34988 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
34989 libsrcdir="$$s/libgfortran"; \
34990 rm -f no-such-file || : ; \
34991 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34992 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34993 --target=${target_alias} $${srcdiroption} \
34995 @endif target-libgfortran
35001 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
35002 maybe-all-target-libgfortran:
35004 all-target-libgfortran: stage_current
35005 @endif gcc-bootstrap
35006 @if target-libgfortran
35007 TARGET-target-libgfortran=all
35008 maybe-all-target-libgfortran: all-target-libgfortran
35009 all-target-libgfortran: configure-target-libgfortran
35010 @: $(MAKE); $(unstage)
35011 @r=`${PWD_COMMAND}`; export r; \
35012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35013 $(NORMAL_TARGET_EXPORTS) \
35014 (cd $(TARGET_SUBDIR)/libgfortran && \
35015 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35016 $(TARGET-target-libgfortran))
35017 @endif target-libgfortran
35023 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
35024 maybe-check-target-libgfortran:
35025 @if target-libgfortran
35026 maybe-check-target-libgfortran: check-target-libgfortran
35028 check-target-libgfortran:
35029 @: $(MAKE); $(unstage)
35030 @r=`${PWD_COMMAND}`; export r; \
35031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35032 $(NORMAL_TARGET_EXPORTS) \
35033 (cd $(TARGET_SUBDIR)/libgfortran && \
35034 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35036 @endif target-libgfortran
35038 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
35039 maybe-install-target-libgfortran:
35040 @if target-libgfortran
35041 maybe-install-target-libgfortran: install-target-libgfortran
35043 install-target-libgfortran: installdirs
35044 @: $(MAKE); $(unstage)
35045 @r=`${PWD_COMMAND}`; export r; \
35046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35047 $(NORMAL_TARGET_EXPORTS) \
35048 (cd $(TARGET_SUBDIR)/libgfortran && \
35049 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35051 @endif target-libgfortran
35053 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
35054 maybe-install-strip-target-libgfortran:
35055 @if target-libgfortran
35056 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
35058 install-strip-target-libgfortran: installdirs
35059 @: $(MAKE); $(unstage)
35060 @r=`${PWD_COMMAND}`; export r; \
35061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35062 $(NORMAL_TARGET_EXPORTS) \
35063 (cd $(TARGET_SUBDIR)/libgfortran && \
35064 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35066 @endif target-libgfortran
35068 # Other targets (info, dvi, pdf, etc.)
35070 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
35071 maybe-info-target-libgfortran:
35072 @if target-libgfortran
35073 maybe-info-target-libgfortran: info-target-libgfortran
35075 info-target-libgfortran: \
35076 configure-target-libgfortran
35077 @: $(MAKE); $(unstage)
35078 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35079 r=`${PWD_COMMAND}`; export r; \
35080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35081 $(NORMAL_TARGET_EXPORTS) \
35082 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
35083 for flag in $(EXTRA_TARGET_FLAGS); do \
35084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35086 (cd $(TARGET_SUBDIR)/libgfortran && \
35087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35089 "RANLIB=$${RANLIB}" \
35090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35094 @endif target-libgfortran
35096 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
35097 maybe-dvi-target-libgfortran:
35098 @if target-libgfortran
35099 maybe-dvi-target-libgfortran: dvi-target-libgfortran
35101 dvi-target-libgfortran: \
35102 configure-target-libgfortran
35103 @: $(MAKE); $(unstage)
35104 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35105 r=`${PWD_COMMAND}`; export r; \
35106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35107 $(NORMAL_TARGET_EXPORTS) \
35108 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
35109 for flag in $(EXTRA_TARGET_FLAGS); do \
35110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35112 (cd $(TARGET_SUBDIR)/libgfortran && \
35113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35115 "RANLIB=$${RANLIB}" \
35116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35120 @endif target-libgfortran
35122 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
35123 maybe-pdf-target-libgfortran:
35124 @if target-libgfortran
35125 maybe-pdf-target-libgfortran: pdf-target-libgfortran
35127 pdf-target-libgfortran: \
35128 configure-target-libgfortran
35129 @: $(MAKE); $(unstage)
35130 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35131 r=`${PWD_COMMAND}`; export r; \
35132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35133 $(NORMAL_TARGET_EXPORTS) \
35134 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35135 for flag in $(EXTRA_TARGET_FLAGS); do \
35136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35138 (cd $(TARGET_SUBDIR)/libgfortran && \
35139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35141 "RANLIB=$${RANLIB}" \
35142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35146 @endif target-libgfortran
35148 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
35149 maybe-html-target-libgfortran:
35150 @if target-libgfortran
35151 maybe-html-target-libgfortran: html-target-libgfortran
35153 html-target-libgfortran: \
35154 configure-target-libgfortran
35155 @: $(MAKE); $(unstage)
35156 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35157 r=`${PWD_COMMAND}`; export r; \
35158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35159 $(NORMAL_TARGET_EXPORTS) \
35160 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
35161 for flag in $(EXTRA_TARGET_FLAGS); do \
35162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35164 (cd $(TARGET_SUBDIR)/libgfortran && \
35165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35167 "RANLIB=$${RANLIB}" \
35168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35172 @endif target-libgfortran
35174 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
35175 maybe-TAGS-target-libgfortran:
35176 @if target-libgfortran
35177 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
35179 TAGS-target-libgfortran: \
35180 configure-target-libgfortran
35181 @: $(MAKE); $(unstage)
35182 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35183 r=`${PWD_COMMAND}`; export r; \
35184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35185 $(NORMAL_TARGET_EXPORTS) \
35186 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
35187 for flag in $(EXTRA_TARGET_FLAGS); do \
35188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35190 (cd $(TARGET_SUBDIR)/libgfortran && \
35191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35193 "RANLIB=$${RANLIB}" \
35194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35198 @endif target-libgfortran
35200 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
35201 maybe-install-info-target-libgfortran:
35202 @if target-libgfortran
35203 maybe-install-info-target-libgfortran: install-info-target-libgfortran
35205 install-info-target-libgfortran: \
35206 configure-target-libgfortran \
35207 info-target-libgfortran
35208 @: $(MAKE); $(unstage)
35209 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35210 r=`${PWD_COMMAND}`; export r; \
35211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35212 $(NORMAL_TARGET_EXPORTS) \
35213 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
35214 for flag in $(EXTRA_TARGET_FLAGS); do \
35215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35217 (cd $(TARGET_SUBDIR)/libgfortran && \
35218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35220 "RANLIB=$${RANLIB}" \
35221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35225 @endif target-libgfortran
35227 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
35228 maybe-install-pdf-target-libgfortran:
35229 @if target-libgfortran
35230 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
35232 install-pdf-target-libgfortran: \
35233 configure-target-libgfortran \
35234 pdf-target-libgfortran
35235 @: $(MAKE); $(unstage)
35236 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35237 r=`${PWD_COMMAND}`; export r; \
35238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35239 $(NORMAL_TARGET_EXPORTS) \
35240 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
35241 for flag in $(EXTRA_TARGET_FLAGS); do \
35242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35244 (cd $(TARGET_SUBDIR)/libgfortran && \
35245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35247 "RANLIB=$${RANLIB}" \
35248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35252 @endif target-libgfortran
35254 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
35255 maybe-install-html-target-libgfortran:
35256 @if target-libgfortran
35257 maybe-install-html-target-libgfortran: install-html-target-libgfortran
35259 install-html-target-libgfortran: \
35260 configure-target-libgfortran \
35261 html-target-libgfortran
35262 @: $(MAKE); $(unstage)
35263 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35264 r=`${PWD_COMMAND}`; export r; \
35265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35266 $(NORMAL_TARGET_EXPORTS) \
35267 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
35268 for flag in $(EXTRA_TARGET_FLAGS); do \
35269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35271 (cd $(TARGET_SUBDIR)/libgfortran && \
35272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35274 "RANLIB=$${RANLIB}" \
35275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35279 @endif target-libgfortran
35281 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
35282 maybe-installcheck-target-libgfortran:
35283 @if target-libgfortran
35284 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
35286 installcheck-target-libgfortran: \
35287 configure-target-libgfortran
35288 @: $(MAKE); $(unstage)
35289 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35290 r=`${PWD_COMMAND}`; export r; \
35291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35292 $(NORMAL_TARGET_EXPORTS) \
35293 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
35294 for flag in $(EXTRA_TARGET_FLAGS); do \
35295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35297 (cd $(TARGET_SUBDIR)/libgfortran && \
35298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35300 "RANLIB=$${RANLIB}" \
35301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35305 @endif target-libgfortran
35307 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
35308 maybe-mostlyclean-target-libgfortran:
35309 @if target-libgfortran
35310 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
35312 mostlyclean-target-libgfortran:
35313 @: $(MAKE); $(unstage)
35314 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35315 r=`${PWD_COMMAND}`; export r; \
35316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35317 $(NORMAL_TARGET_EXPORTS) \
35318 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
35319 for flag in $(EXTRA_TARGET_FLAGS); do \
35320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35322 (cd $(TARGET_SUBDIR)/libgfortran && \
35323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35325 "RANLIB=$${RANLIB}" \
35326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35330 @endif target-libgfortran
35332 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
35333 maybe-clean-target-libgfortran:
35334 @if target-libgfortran
35335 maybe-clean-target-libgfortran: clean-target-libgfortran
35337 clean-target-libgfortran:
35338 @: $(MAKE); $(unstage)
35339 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35340 r=`${PWD_COMMAND}`; export r; \
35341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35342 $(NORMAL_TARGET_EXPORTS) \
35343 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
35344 for flag in $(EXTRA_TARGET_FLAGS); do \
35345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35347 (cd $(TARGET_SUBDIR)/libgfortran && \
35348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35350 "RANLIB=$${RANLIB}" \
35351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35355 @endif target-libgfortran
35357 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
35358 maybe-distclean-target-libgfortran:
35359 @if target-libgfortran
35360 maybe-distclean-target-libgfortran: distclean-target-libgfortran
35362 distclean-target-libgfortran:
35363 @: $(MAKE); $(unstage)
35364 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35365 r=`${PWD_COMMAND}`; export r; \
35366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35367 $(NORMAL_TARGET_EXPORTS) \
35368 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
35369 for flag in $(EXTRA_TARGET_FLAGS); do \
35370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35372 (cd $(TARGET_SUBDIR)/libgfortran && \
35373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35375 "RANLIB=$${RANLIB}" \
35376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35380 @endif target-libgfortran
35382 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
35383 maybe-maintainer-clean-target-libgfortran:
35384 @if target-libgfortran
35385 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
35387 maintainer-clean-target-libgfortran:
35388 @: $(MAKE); $(unstage)
35389 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
35390 r=`${PWD_COMMAND}`; export r; \
35391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35392 $(NORMAL_TARGET_EXPORTS) \
35393 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
35394 for flag in $(EXTRA_TARGET_FLAGS); do \
35395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35397 (cd $(TARGET_SUBDIR)/libgfortran && \
35398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35400 "RANLIB=$${RANLIB}" \
35401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35402 maintainer-clean) \
35405 @endif target-libgfortran
35411 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
35412 maybe-configure-target-libobjc:
35414 configure-target-libobjc: stage_current
35415 @endif gcc-bootstrap
35417 maybe-configure-target-libobjc: configure-target-libobjc
35418 configure-target-libobjc:
35419 @: $(MAKE); $(unstage)
35420 @r=`${PWD_COMMAND}`; export r; \
35421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35422 echo "Checking multilib configuration for libobjc..."; \
35423 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35424 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
35425 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35426 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
35427 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
35429 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
35430 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35433 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
35435 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
35436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
35437 $(NORMAL_TARGET_EXPORTS) \
35438 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
35439 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
35440 case $(srcdir) in \
35441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35442 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
35443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35445 srcdiroption="--srcdir=$${topdir}/libobjc"; \
35446 libsrcdir="$$s/libobjc"; \
35447 rm -f no-such-file || : ; \
35448 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35449 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35450 --target=${target_alias} $${srcdiroption} \
35452 @endif target-libobjc
35458 .PHONY: all-target-libobjc maybe-all-target-libobjc
35459 maybe-all-target-libobjc:
35461 all-target-libobjc: stage_current
35462 @endif gcc-bootstrap
35464 TARGET-target-libobjc=all
35465 maybe-all-target-libobjc: all-target-libobjc
35466 all-target-libobjc: configure-target-libobjc
35467 @: $(MAKE); $(unstage)
35468 @r=`${PWD_COMMAND}`; export r; \
35469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35470 $(NORMAL_TARGET_EXPORTS) \
35471 (cd $(TARGET_SUBDIR)/libobjc && \
35472 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35473 $(TARGET-target-libobjc))
35474 @endif target-libobjc
35480 .PHONY: check-target-libobjc maybe-check-target-libobjc
35481 maybe-check-target-libobjc:
35483 maybe-check-target-libobjc: check-target-libobjc
35485 check-target-libobjc:
35486 @: $(MAKE); $(unstage)
35487 @r=`${PWD_COMMAND}`; export r; \
35488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35489 $(NORMAL_TARGET_EXPORTS) \
35490 (cd $(TARGET_SUBDIR)/libobjc && \
35491 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35493 @endif target-libobjc
35495 .PHONY: install-target-libobjc maybe-install-target-libobjc
35496 maybe-install-target-libobjc:
35498 maybe-install-target-libobjc: install-target-libobjc
35500 install-target-libobjc: installdirs
35501 @: $(MAKE); $(unstage)
35502 @r=`${PWD_COMMAND}`; export r; \
35503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35504 $(NORMAL_TARGET_EXPORTS) \
35505 (cd $(TARGET_SUBDIR)/libobjc && \
35506 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35508 @endif target-libobjc
35510 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
35511 maybe-install-strip-target-libobjc:
35513 maybe-install-strip-target-libobjc: install-strip-target-libobjc
35515 install-strip-target-libobjc: installdirs
35516 @: $(MAKE); $(unstage)
35517 @r=`${PWD_COMMAND}`; export r; \
35518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35519 $(NORMAL_TARGET_EXPORTS) \
35520 (cd $(TARGET_SUBDIR)/libobjc && \
35521 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35523 @endif target-libobjc
35525 # Other targets (info, dvi, pdf, etc.)
35527 .PHONY: maybe-info-target-libobjc info-target-libobjc
35528 maybe-info-target-libobjc:
35530 maybe-info-target-libobjc: info-target-libobjc
35532 info-target-libobjc: \
35533 configure-target-libobjc
35534 @: $(MAKE); $(unstage)
35535 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35536 r=`${PWD_COMMAND}`; export r; \
35537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35538 $(NORMAL_TARGET_EXPORTS) \
35539 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
35540 for flag in $(EXTRA_TARGET_FLAGS); do \
35541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35543 (cd $(TARGET_SUBDIR)/libobjc && \
35544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35546 "RANLIB=$${RANLIB}" \
35547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35551 @endif target-libobjc
35553 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
35554 maybe-dvi-target-libobjc:
35556 maybe-dvi-target-libobjc: dvi-target-libobjc
35558 dvi-target-libobjc: \
35559 configure-target-libobjc
35560 @: $(MAKE); $(unstage)
35561 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35562 r=`${PWD_COMMAND}`; export r; \
35563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35564 $(NORMAL_TARGET_EXPORTS) \
35565 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
35566 for flag in $(EXTRA_TARGET_FLAGS); do \
35567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35569 (cd $(TARGET_SUBDIR)/libobjc && \
35570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35572 "RANLIB=$${RANLIB}" \
35573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35577 @endif target-libobjc
35579 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
35580 maybe-pdf-target-libobjc:
35582 maybe-pdf-target-libobjc: pdf-target-libobjc
35584 pdf-target-libobjc: \
35585 configure-target-libobjc
35586 @: $(MAKE); $(unstage)
35587 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35588 r=`${PWD_COMMAND}`; export r; \
35589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35590 $(NORMAL_TARGET_EXPORTS) \
35591 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
35592 for flag in $(EXTRA_TARGET_FLAGS); do \
35593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35595 (cd $(TARGET_SUBDIR)/libobjc && \
35596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35598 "RANLIB=$${RANLIB}" \
35599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35603 @endif target-libobjc
35605 .PHONY: maybe-html-target-libobjc html-target-libobjc
35606 maybe-html-target-libobjc:
35608 maybe-html-target-libobjc: html-target-libobjc
35610 html-target-libobjc: \
35611 configure-target-libobjc
35612 @: $(MAKE); $(unstage)
35613 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35614 r=`${PWD_COMMAND}`; export r; \
35615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35616 $(NORMAL_TARGET_EXPORTS) \
35617 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
35618 for flag in $(EXTRA_TARGET_FLAGS); do \
35619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35621 (cd $(TARGET_SUBDIR)/libobjc && \
35622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35624 "RANLIB=$${RANLIB}" \
35625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35629 @endif target-libobjc
35631 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
35632 maybe-TAGS-target-libobjc:
35634 maybe-TAGS-target-libobjc: TAGS-target-libobjc
35636 TAGS-target-libobjc: \
35637 configure-target-libobjc
35638 @: $(MAKE); $(unstage)
35639 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35640 r=`${PWD_COMMAND}`; export r; \
35641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35642 $(NORMAL_TARGET_EXPORTS) \
35643 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
35644 for flag in $(EXTRA_TARGET_FLAGS); do \
35645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35647 (cd $(TARGET_SUBDIR)/libobjc && \
35648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35650 "RANLIB=$${RANLIB}" \
35651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35655 @endif target-libobjc
35657 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
35658 maybe-install-info-target-libobjc:
35660 maybe-install-info-target-libobjc: install-info-target-libobjc
35662 install-info-target-libobjc: \
35663 configure-target-libobjc \
35664 info-target-libobjc
35665 @: $(MAKE); $(unstage)
35666 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35667 r=`${PWD_COMMAND}`; export r; \
35668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35669 $(NORMAL_TARGET_EXPORTS) \
35670 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
35671 for flag in $(EXTRA_TARGET_FLAGS); do \
35672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35674 (cd $(TARGET_SUBDIR)/libobjc && \
35675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35677 "RANLIB=$${RANLIB}" \
35678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35682 @endif target-libobjc
35684 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
35685 maybe-install-pdf-target-libobjc:
35687 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
35689 install-pdf-target-libobjc: \
35690 configure-target-libobjc \
35692 @: $(MAKE); $(unstage)
35693 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35694 r=`${PWD_COMMAND}`; export r; \
35695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35696 $(NORMAL_TARGET_EXPORTS) \
35697 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
35698 for flag in $(EXTRA_TARGET_FLAGS); do \
35699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35701 (cd $(TARGET_SUBDIR)/libobjc && \
35702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35704 "RANLIB=$${RANLIB}" \
35705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35709 @endif target-libobjc
35711 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
35712 maybe-install-html-target-libobjc:
35714 maybe-install-html-target-libobjc: install-html-target-libobjc
35716 install-html-target-libobjc: \
35717 configure-target-libobjc \
35718 html-target-libobjc
35719 @: $(MAKE); $(unstage)
35720 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35721 r=`${PWD_COMMAND}`; export r; \
35722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35723 $(NORMAL_TARGET_EXPORTS) \
35724 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
35725 for flag in $(EXTRA_TARGET_FLAGS); do \
35726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35728 (cd $(TARGET_SUBDIR)/libobjc && \
35729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35731 "RANLIB=$${RANLIB}" \
35732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35736 @endif target-libobjc
35738 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
35739 maybe-installcheck-target-libobjc:
35741 maybe-installcheck-target-libobjc: installcheck-target-libobjc
35743 installcheck-target-libobjc: \
35744 configure-target-libobjc
35745 @: $(MAKE); $(unstage)
35746 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35747 r=`${PWD_COMMAND}`; export r; \
35748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35749 $(NORMAL_TARGET_EXPORTS) \
35750 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
35751 for flag in $(EXTRA_TARGET_FLAGS); do \
35752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35754 (cd $(TARGET_SUBDIR)/libobjc && \
35755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35757 "RANLIB=$${RANLIB}" \
35758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35762 @endif target-libobjc
35764 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
35765 maybe-mostlyclean-target-libobjc:
35767 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
35769 mostlyclean-target-libobjc:
35770 @: $(MAKE); $(unstage)
35771 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35772 r=`${PWD_COMMAND}`; export r; \
35773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35774 $(NORMAL_TARGET_EXPORTS) \
35775 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
35776 for flag in $(EXTRA_TARGET_FLAGS); do \
35777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35779 (cd $(TARGET_SUBDIR)/libobjc && \
35780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35782 "RANLIB=$${RANLIB}" \
35783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35787 @endif target-libobjc
35789 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
35790 maybe-clean-target-libobjc:
35792 maybe-clean-target-libobjc: clean-target-libobjc
35794 clean-target-libobjc:
35795 @: $(MAKE); $(unstage)
35796 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35797 r=`${PWD_COMMAND}`; export r; \
35798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35799 $(NORMAL_TARGET_EXPORTS) \
35800 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
35801 for flag in $(EXTRA_TARGET_FLAGS); do \
35802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35804 (cd $(TARGET_SUBDIR)/libobjc && \
35805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35807 "RANLIB=$${RANLIB}" \
35808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35812 @endif target-libobjc
35814 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
35815 maybe-distclean-target-libobjc:
35817 maybe-distclean-target-libobjc: distclean-target-libobjc
35819 distclean-target-libobjc:
35820 @: $(MAKE); $(unstage)
35821 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35822 r=`${PWD_COMMAND}`; export r; \
35823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35824 $(NORMAL_TARGET_EXPORTS) \
35825 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
35826 for flag in $(EXTRA_TARGET_FLAGS); do \
35827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35829 (cd $(TARGET_SUBDIR)/libobjc && \
35830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35832 "RANLIB=$${RANLIB}" \
35833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35837 @endif target-libobjc
35839 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
35840 maybe-maintainer-clean-target-libobjc:
35842 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
35844 maintainer-clean-target-libobjc:
35845 @: $(MAKE); $(unstage)
35846 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
35847 r=`${PWD_COMMAND}`; export r; \
35848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35849 $(NORMAL_TARGET_EXPORTS) \
35850 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
35851 for flag in $(EXTRA_TARGET_FLAGS); do \
35852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35854 (cd $(TARGET_SUBDIR)/libobjc && \
35855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35857 "RANLIB=$${RANLIB}" \
35858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35859 maintainer-clean) \
35862 @endif target-libobjc
35868 .PHONY: configure-target-libgo maybe-configure-target-libgo
35869 maybe-configure-target-libgo:
35871 configure-target-libgo: stage_current
35872 @endif gcc-bootstrap
35874 maybe-configure-target-libgo: configure-target-libgo
35875 configure-target-libgo:
35876 @: $(MAKE); $(unstage)
35877 @r=`${PWD_COMMAND}`; export r; \
35878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35879 echo "Checking multilib configuration for libgo..."; \
35880 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
35881 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
35882 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
35883 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
35884 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
35886 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
35887 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
35890 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
35892 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
35893 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
35894 $(NORMAL_TARGET_EXPORTS) \
35895 echo Configuring in $(TARGET_SUBDIR)/libgo; \
35896 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
35897 case $(srcdir) in \
35898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35899 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
35900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35902 srcdiroption="--srcdir=$${topdir}/libgo"; \
35903 libsrcdir="$$s/libgo"; \
35904 rm -f no-such-file || : ; \
35905 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35906 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35907 --target=${target_alias} $${srcdiroption} \
35909 @endif target-libgo
35915 .PHONY: all-target-libgo maybe-all-target-libgo
35916 maybe-all-target-libgo:
35918 all-target-libgo: stage_current
35919 @endif gcc-bootstrap
35921 TARGET-target-libgo=all
35922 maybe-all-target-libgo: all-target-libgo
35923 all-target-libgo: configure-target-libgo
35924 @: $(MAKE); $(unstage)
35925 @r=`${PWD_COMMAND}`; export r; \
35926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35927 $(NORMAL_TARGET_EXPORTS) \
35928 (cd $(TARGET_SUBDIR)/libgo && \
35929 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35930 $(TARGET-target-libgo))
35931 @endif target-libgo
35937 .PHONY: check-target-libgo maybe-check-target-libgo
35938 maybe-check-target-libgo:
35940 maybe-check-target-libgo: check-target-libgo
35942 check-target-libgo:
35943 @: $(MAKE); $(unstage)
35944 @r=`${PWD_COMMAND}`; export r; \
35945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35946 $(NORMAL_TARGET_EXPORTS) \
35947 (cd $(TARGET_SUBDIR)/libgo && \
35948 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35950 @endif target-libgo
35952 .PHONY: install-target-libgo maybe-install-target-libgo
35953 maybe-install-target-libgo:
35955 maybe-install-target-libgo: install-target-libgo
35957 install-target-libgo: installdirs
35958 @: $(MAKE); $(unstage)
35959 @r=`${PWD_COMMAND}`; export r; \
35960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35961 $(NORMAL_TARGET_EXPORTS) \
35962 (cd $(TARGET_SUBDIR)/libgo && \
35963 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35965 @endif target-libgo
35967 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
35968 maybe-install-strip-target-libgo:
35970 maybe-install-strip-target-libgo: install-strip-target-libgo
35972 install-strip-target-libgo: installdirs
35973 @: $(MAKE); $(unstage)
35974 @r=`${PWD_COMMAND}`; export r; \
35975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35976 $(NORMAL_TARGET_EXPORTS) \
35977 (cd $(TARGET_SUBDIR)/libgo && \
35978 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35980 @endif target-libgo
35982 # Other targets (info, dvi, pdf, etc.)
35984 .PHONY: maybe-info-target-libgo info-target-libgo
35985 maybe-info-target-libgo:
35987 maybe-info-target-libgo: info-target-libgo
35989 info-target-libgo: \
35990 configure-target-libgo
35991 @: $(MAKE); $(unstage)
35992 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
35993 r=`${PWD_COMMAND}`; export r; \
35994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35995 $(NORMAL_TARGET_EXPORTS) \
35996 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
35997 for flag in $(EXTRA_TARGET_FLAGS); do \
35998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36000 (cd $(TARGET_SUBDIR)/libgo && \
36001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36003 "RANLIB=$${RANLIB}" \
36004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36008 @endif target-libgo
36010 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
36011 maybe-dvi-target-libgo:
36013 maybe-dvi-target-libgo: dvi-target-libgo
36015 dvi-target-libgo: \
36016 configure-target-libgo
36017 @: $(MAKE); $(unstage)
36018 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36019 r=`${PWD_COMMAND}`; export r; \
36020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36021 $(NORMAL_TARGET_EXPORTS) \
36022 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
36023 for flag in $(EXTRA_TARGET_FLAGS); do \
36024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36026 (cd $(TARGET_SUBDIR)/libgo && \
36027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36029 "RANLIB=$${RANLIB}" \
36030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36034 @endif target-libgo
36036 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
36037 maybe-pdf-target-libgo:
36039 maybe-pdf-target-libgo: pdf-target-libgo
36041 pdf-target-libgo: \
36042 configure-target-libgo
36043 @: $(MAKE); $(unstage)
36044 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36045 r=`${PWD_COMMAND}`; export r; \
36046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36047 $(NORMAL_TARGET_EXPORTS) \
36048 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
36049 for flag in $(EXTRA_TARGET_FLAGS); do \
36050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36052 (cd $(TARGET_SUBDIR)/libgo && \
36053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36055 "RANLIB=$${RANLIB}" \
36056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36060 @endif target-libgo
36062 .PHONY: maybe-html-target-libgo html-target-libgo
36063 maybe-html-target-libgo:
36065 maybe-html-target-libgo: html-target-libgo
36067 html-target-libgo: \
36068 configure-target-libgo
36069 @: $(MAKE); $(unstage)
36070 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36071 r=`${PWD_COMMAND}`; export r; \
36072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36073 $(NORMAL_TARGET_EXPORTS) \
36074 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
36075 for flag in $(EXTRA_TARGET_FLAGS); do \
36076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36078 (cd $(TARGET_SUBDIR)/libgo && \
36079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36081 "RANLIB=$${RANLIB}" \
36082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36086 @endif target-libgo
36088 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
36089 maybe-TAGS-target-libgo:
36091 maybe-TAGS-target-libgo: TAGS-target-libgo
36093 TAGS-target-libgo: \
36094 configure-target-libgo
36095 @: $(MAKE); $(unstage)
36096 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36097 r=`${PWD_COMMAND}`; export r; \
36098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36099 $(NORMAL_TARGET_EXPORTS) \
36100 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
36101 for flag in $(EXTRA_TARGET_FLAGS); do \
36102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36104 (cd $(TARGET_SUBDIR)/libgo && \
36105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36107 "RANLIB=$${RANLIB}" \
36108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36112 @endif target-libgo
36114 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
36115 maybe-install-info-target-libgo:
36117 maybe-install-info-target-libgo: install-info-target-libgo
36119 install-info-target-libgo: \
36120 configure-target-libgo \
36122 @: $(MAKE); $(unstage)
36123 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36124 r=`${PWD_COMMAND}`; export r; \
36125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36126 $(NORMAL_TARGET_EXPORTS) \
36127 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
36128 for flag in $(EXTRA_TARGET_FLAGS); do \
36129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36131 (cd $(TARGET_SUBDIR)/libgo && \
36132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36134 "RANLIB=$${RANLIB}" \
36135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36139 @endif target-libgo
36141 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
36142 maybe-install-pdf-target-libgo:
36144 maybe-install-pdf-target-libgo: install-pdf-target-libgo
36146 install-pdf-target-libgo: \
36147 configure-target-libgo \
36149 @: $(MAKE); $(unstage)
36150 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36151 r=`${PWD_COMMAND}`; export r; \
36152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36153 $(NORMAL_TARGET_EXPORTS) \
36154 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
36155 for flag in $(EXTRA_TARGET_FLAGS); do \
36156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36158 (cd $(TARGET_SUBDIR)/libgo && \
36159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36161 "RANLIB=$${RANLIB}" \
36162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36166 @endif target-libgo
36168 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
36169 maybe-install-html-target-libgo:
36171 maybe-install-html-target-libgo: install-html-target-libgo
36173 install-html-target-libgo: \
36174 configure-target-libgo \
36176 @: $(MAKE); $(unstage)
36177 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36178 r=`${PWD_COMMAND}`; export r; \
36179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36180 $(NORMAL_TARGET_EXPORTS) \
36181 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
36182 for flag in $(EXTRA_TARGET_FLAGS); do \
36183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36185 (cd $(TARGET_SUBDIR)/libgo && \
36186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36188 "RANLIB=$${RANLIB}" \
36189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36193 @endif target-libgo
36195 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
36196 maybe-installcheck-target-libgo:
36198 maybe-installcheck-target-libgo: installcheck-target-libgo
36200 installcheck-target-libgo: \
36201 configure-target-libgo
36202 @: $(MAKE); $(unstage)
36203 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36204 r=`${PWD_COMMAND}`; export r; \
36205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36206 $(NORMAL_TARGET_EXPORTS) \
36207 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
36208 for flag in $(EXTRA_TARGET_FLAGS); do \
36209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36211 (cd $(TARGET_SUBDIR)/libgo && \
36212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36214 "RANLIB=$${RANLIB}" \
36215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36219 @endif target-libgo
36221 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
36222 maybe-mostlyclean-target-libgo:
36224 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
36226 mostlyclean-target-libgo:
36227 @: $(MAKE); $(unstage)
36228 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36229 r=`${PWD_COMMAND}`; export r; \
36230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36231 $(NORMAL_TARGET_EXPORTS) \
36232 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
36233 for flag in $(EXTRA_TARGET_FLAGS); do \
36234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36236 (cd $(TARGET_SUBDIR)/libgo && \
36237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36239 "RANLIB=$${RANLIB}" \
36240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36244 @endif target-libgo
36246 .PHONY: maybe-clean-target-libgo clean-target-libgo
36247 maybe-clean-target-libgo:
36249 maybe-clean-target-libgo: clean-target-libgo
36251 clean-target-libgo:
36252 @: $(MAKE); $(unstage)
36253 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36254 r=`${PWD_COMMAND}`; export r; \
36255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36256 $(NORMAL_TARGET_EXPORTS) \
36257 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
36258 for flag in $(EXTRA_TARGET_FLAGS); do \
36259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36261 (cd $(TARGET_SUBDIR)/libgo && \
36262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36264 "RANLIB=$${RANLIB}" \
36265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36269 @endif target-libgo
36271 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
36272 maybe-distclean-target-libgo:
36274 maybe-distclean-target-libgo: distclean-target-libgo
36276 distclean-target-libgo:
36277 @: $(MAKE); $(unstage)
36278 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36279 r=`${PWD_COMMAND}`; export r; \
36280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36281 $(NORMAL_TARGET_EXPORTS) \
36282 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
36283 for flag in $(EXTRA_TARGET_FLAGS); do \
36284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36286 (cd $(TARGET_SUBDIR)/libgo && \
36287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36289 "RANLIB=$${RANLIB}" \
36290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36294 @endif target-libgo
36296 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
36297 maybe-maintainer-clean-target-libgo:
36299 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
36301 maintainer-clean-target-libgo:
36302 @: $(MAKE); $(unstage)
36303 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
36304 r=`${PWD_COMMAND}`; export r; \
36305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36306 $(NORMAL_TARGET_EXPORTS) \
36307 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
36308 for flag in $(EXTRA_TARGET_FLAGS); do \
36309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36311 (cd $(TARGET_SUBDIR)/libgo && \
36312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36314 "RANLIB=$${RANLIB}" \
36315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36316 maintainer-clean) \
36319 @endif target-libgo
36325 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
36326 maybe-configure-target-libtermcap:
36328 configure-target-libtermcap: stage_current
36329 @endif gcc-bootstrap
36330 @if target-libtermcap
36331 maybe-configure-target-libtermcap: configure-target-libtermcap
36332 configure-target-libtermcap:
36333 @: $(MAKE); $(unstage)
36334 @r=`${PWD_COMMAND}`; export r; \
36335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36336 echo "Checking multilib configuration for libtermcap..."; \
36337 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36338 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
36339 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36340 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
36341 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
36343 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
36344 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36347 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
36349 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
36350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
36351 $(NORMAL_TARGET_EXPORTS) \
36352 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
36353 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
36354 case $(srcdir) in \
36355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36356 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
36357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36359 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36360 libsrcdir="$$s/libtermcap"; \
36361 rm -f no-such-file || : ; \
36362 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36363 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36364 --target=${target_alias} $${srcdiroption} \
36366 @endif target-libtermcap
36372 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
36373 maybe-all-target-libtermcap:
36375 all-target-libtermcap: stage_current
36376 @endif gcc-bootstrap
36377 @if target-libtermcap
36378 TARGET-target-libtermcap=all
36379 maybe-all-target-libtermcap: all-target-libtermcap
36380 all-target-libtermcap: configure-target-libtermcap
36381 @: $(MAKE); $(unstage)
36382 @r=`${PWD_COMMAND}`; export r; \
36383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36384 $(NORMAL_TARGET_EXPORTS) \
36385 (cd $(TARGET_SUBDIR)/libtermcap && \
36386 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36387 $(TARGET-target-libtermcap))
36388 @endif target-libtermcap
36394 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
36395 maybe-check-target-libtermcap:
36396 @if target-libtermcap
36397 maybe-check-target-libtermcap: check-target-libtermcap
36399 # Dummy target for uncheckable module.
36400 check-target-libtermcap:
36402 @endif target-libtermcap
36404 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
36405 maybe-install-target-libtermcap:
36406 @if target-libtermcap
36407 maybe-install-target-libtermcap: install-target-libtermcap
36409 install-target-libtermcap: installdirs
36410 @: $(MAKE); $(unstage)
36411 @r=`${PWD_COMMAND}`; export r; \
36412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36413 $(NORMAL_TARGET_EXPORTS) \
36414 (cd $(TARGET_SUBDIR)/libtermcap && \
36415 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36417 @endif target-libtermcap
36419 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
36420 maybe-install-strip-target-libtermcap:
36421 @if target-libtermcap
36422 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
36424 install-strip-target-libtermcap: installdirs
36425 @: $(MAKE); $(unstage)
36426 @r=`${PWD_COMMAND}`; export r; \
36427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36428 $(NORMAL_TARGET_EXPORTS) \
36429 (cd $(TARGET_SUBDIR)/libtermcap && \
36430 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36432 @endif target-libtermcap
36434 # Other targets (info, dvi, pdf, etc.)
36436 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
36437 maybe-info-target-libtermcap:
36438 @if target-libtermcap
36439 maybe-info-target-libtermcap: info-target-libtermcap
36441 info-target-libtermcap: \
36442 configure-target-libtermcap
36443 @: $(MAKE); $(unstage)
36444 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36445 r=`${PWD_COMMAND}`; export r; \
36446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36447 $(NORMAL_TARGET_EXPORTS) \
36448 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
36449 for flag in $(EXTRA_TARGET_FLAGS); do \
36450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36452 (cd $(TARGET_SUBDIR)/libtermcap && \
36453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36455 "RANLIB=$${RANLIB}" \
36456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36460 @endif target-libtermcap
36462 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
36463 maybe-dvi-target-libtermcap:
36464 @if target-libtermcap
36465 maybe-dvi-target-libtermcap: dvi-target-libtermcap
36467 dvi-target-libtermcap: \
36468 configure-target-libtermcap
36469 @: $(MAKE); $(unstage)
36470 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36471 r=`${PWD_COMMAND}`; export r; \
36472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36473 $(NORMAL_TARGET_EXPORTS) \
36474 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
36475 for flag in $(EXTRA_TARGET_FLAGS); do \
36476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36478 (cd $(TARGET_SUBDIR)/libtermcap && \
36479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36481 "RANLIB=$${RANLIB}" \
36482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36486 @endif target-libtermcap
36488 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
36489 maybe-pdf-target-libtermcap:
36490 @if target-libtermcap
36491 maybe-pdf-target-libtermcap: pdf-target-libtermcap
36493 pdf-target-libtermcap: \
36494 configure-target-libtermcap
36495 @: $(MAKE); $(unstage)
36496 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36497 r=`${PWD_COMMAND}`; export r; \
36498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36499 $(NORMAL_TARGET_EXPORTS) \
36500 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36501 for flag in $(EXTRA_TARGET_FLAGS); do \
36502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36504 (cd $(TARGET_SUBDIR)/libtermcap && \
36505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36507 "RANLIB=$${RANLIB}" \
36508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36512 @endif target-libtermcap
36514 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
36515 maybe-html-target-libtermcap:
36516 @if target-libtermcap
36517 maybe-html-target-libtermcap: html-target-libtermcap
36519 html-target-libtermcap: \
36520 configure-target-libtermcap
36521 @: $(MAKE); $(unstage)
36522 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36523 r=`${PWD_COMMAND}`; export r; \
36524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36525 $(NORMAL_TARGET_EXPORTS) \
36526 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
36527 for flag in $(EXTRA_TARGET_FLAGS); do \
36528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36530 (cd $(TARGET_SUBDIR)/libtermcap && \
36531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36533 "RANLIB=$${RANLIB}" \
36534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36538 @endif target-libtermcap
36540 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
36541 maybe-TAGS-target-libtermcap:
36542 @if target-libtermcap
36543 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
36545 TAGS-target-libtermcap: \
36546 configure-target-libtermcap
36547 @: $(MAKE); $(unstage)
36548 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36549 r=`${PWD_COMMAND}`; export r; \
36550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36551 $(NORMAL_TARGET_EXPORTS) \
36552 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
36553 for flag in $(EXTRA_TARGET_FLAGS); do \
36554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36556 (cd $(TARGET_SUBDIR)/libtermcap && \
36557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36559 "RANLIB=$${RANLIB}" \
36560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36564 @endif target-libtermcap
36566 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
36567 maybe-install-info-target-libtermcap:
36568 @if target-libtermcap
36569 maybe-install-info-target-libtermcap: install-info-target-libtermcap
36571 install-info-target-libtermcap: \
36572 configure-target-libtermcap \
36573 info-target-libtermcap
36574 @: $(MAKE); $(unstage)
36575 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36576 r=`${PWD_COMMAND}`; export r; \
36577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36578 $(NORMAL_TARGET_EXPORTS) \
36579 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
36580 for flag in $(EXTRA_TARGET_FLAGS); do \
36581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36583 (cd $(TARGET_SUBDIR)/libtermcap && \
36584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36586 "RANLIB=$${RANLIB}" \
36587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36591 @endif target-libtermcap
36593 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
36594 maybe-install-pdf-target-libtermcap:
36595 @if target-libtermcap
36596 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
36598 install-pdf-target-libtermcap: \
36599 configure-target-libtermcap \
36600 pdf-target-libtermcap
36601 @: $(MAKE); $(unstage)
36602 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36603 r=`${PWD_COMMAND}`; export r; \
36604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36605 $(NORMAL_TARGET_EXPORTS) \
36606 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
36607 for flag in $(EXTRA_TARGET_FLAGS); do \
36608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36610 (cd $(TARGET_SUBDIR)/libtermcap && \
36611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36613 "RANLIB=$${RANLIB}" \
36614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36618 @endif target-libtermcap
36620 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
36621 maybe-install-html-target-libtermcap:
36622 @if target-libtermcap
36623 maybe-install-html-target-libtermcap: install-html-target-libtermcap
36625 install-html-target-libtermcap: \
36626 configure-target-libtermcap \
36627 html-target-libtermcap
36628 @: $(MAKE); $(unstage)
36629 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36630 r=`${PWD_COMMAND}`; export r; \
36631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36632 $(NORMAL_TARGET_EXPORTS) \
36633 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
36634 for flag in $(EXTRA_TARGET_FLAGS); do \
36635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36637 (cd $(TARGET_SUBDIR)/libtermcap && \
36638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36640 "RANLIB=$${RANLIB}" \
36641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36645 @endif target-libtermcap
36647 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
36648 maybe-installcheck-target-libtermcap:
36649 @if target-libtermcap
36650 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
36652 installcheck-target-libtermcap: \
36653 configure-target-libtermcap
36654 @: $(MAKE); $(unstage)
36655 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
36656 r=`${PWD_COMMAND}`; export r; \
36657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36658 $(NORMAL_TARGET_EXPORTS) \
36659 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
36660 for flag in $(EXTRA_TARGET_FLAGS); do \
36661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36663 (cd $(TARGET_SUBDIR)/libtermcap && \
36664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36666 "RANLIB=$${RANLIB}" \
36667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36671 @endif target-libtermcap
36673 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
36674 maybe-mostlyclean-target-libtermcap:
36675 @if target-libtermcap
36676 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
36678 # libtermcap doesn't support mostlyclean.
36679 mostlyclean-target-libtermcap:
36681 @endif target-libtermcap
36683 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
36684 maybe-clean-target-libtermcap:
36685 @if target-libtermcap
36686 maybe-clean-target-libtermcap: clean-target-libtermcap
36688 # libtermcap doesn't support clean.
36689 clean-target-libtermcap:
36691 @endif target-libtermcap
36693 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
36694 maybe-distclean-target-libtermcap:
36695 @if target-libtermcap
36696 maybe-distclean-target-libtermcap: distclean-target-libtermcap
36698 # libtermcap doesn't support distclean.
36699 distclean-target-libtermcap:
36701 @endif target-libtermcap
36703 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
36704 maybe-maintainer-clean-target-libtermcap:
36705 @if target-libtermcap
36706 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
36708 # libtermcap doesn't support maintainer-clean.
36709 maintainer-clean-target-libtermcap:
36711 @endif target-libtermcap
36717 .PHONY: configure-target-winsup maybe-configure-target-winsup
36718 maybe-configure-target-winsup:
36720 configure-target-winsup: stage_current
36721 @endif gcc-bootstrap
36723 maybe-configure-target-winsup: configure-target-winsup
36724 configure-target-winsup:
36725 @: $(MAKE); $(unstage)
36726 @r=`${PWD_COMMAND}`; export r; \
36727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36728 echo "Checking multilib configuration for winsup..."; \
36729 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36730 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
36731 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
36732 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
36733 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
36735 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
36736 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36739 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
36741 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
36742 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
36743 $(NORMAL_TARGET_EXPORTS) \
36744 echo Configuring in $(TARGET_SUBDIR)/winsup; \
36745 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
36746 case $(srcdir) in \
36747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36748 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
36749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36751 srcdiroption="--srcdir=$${topdir}/winsup"; \
36752 libsrcdir="$$s/winsup"; \
36753 rm -f no-such-file || : ; \
36754 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36755 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36756 --target=${target_alias} $${srcdiroption} \
36758 @endif target-winsup
36764 .PHONY: all-target-winsup maybe-all-target-winsup
36765 maybe-all-target-winsup:
36767 all-target-winsup: stage_current
36768 @endif gcc-bootstrap
36770 TARGET-target-winsup=all
36771 maybe-all-target-winsup: all-target-winsup
36772 all-target-winsup: configure-target-winsup
36773 @: $(MAKE); $(unstage)
36774 @r=`${PWD_COMMAND}`; export r; \
36775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36776 $(NORMAL_TARGET_EXPORTS) \
36777 (cd $(TARGET_SUBDIR)/winsup && \
36778 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36779 $(TARGET-target-winsup))
36780 @endif target-winsup
36786 .PHONY: check-target-winsup maybe-check-target-winsup
36787 maybe-check-target-winsup:
36789 maybe-check-target-winsup: check-target-winsup
36791 check-target-winsup:
36792 @: $(MAKE); $(unstage)
36793 @r=`${PWD_COMMAND}`; export r; \
36794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36795 $(NORMAL_TARGET_EXPORTS) \
36796 (cd $(TARGET_SUBDIR)/winsup && \
36797 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36799 @endif target-winsup
36801 .PHONY: install-target-winsup maybe-install-target-winsup
36802 maybe-install-target-winsup:
36804 maybe-install-target-winsup: install-target-winsup
36806 install-target-winsup: installdirs
36807 @: $(MAKE); $(unstage)
36808 @r=`${PWD_COMMAND}`; export r; \
36809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36810 $(NORMAL_TARGET_EXPORTS) \
36811 (cd $(TARGET_SUBDIR)/winsup && \
36812 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36814 @endif target-winsup
36816 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
36817 maybe-install-strip-target-winsup:
36819 maybe-install-strip-target-winsup: install-strip-target-winsup
36821 install-strip-target-winsup: installdirs
36822 @: $(MAKE); $(unstage)
36823 @r=`${PWD_COMMAND}`; export r; \
36824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36825 $(NORMAL_TARGET_EXPORTS) \
36826 (cd $(TARGET_SUBDIR)/winsup && \
36827 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36829 @endif target-winsup
36831 # Other targets (info, dvi, pdf, etc.)
36833 .PHONY: maybe-info-target-winsup info-target-winsup
36834 maybe-info-target-winsup:
36836 maybe-info-target-winsup: info-target-winsup
36838 info-target-winsup: \
36839 configure-target-winsup
36840 @: $(MAKE); $(unstage)
36841 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36842 r=`${PWD_COMMAND}`; export r; \
36843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36844 $(NORMAL_TARGET_EXPORTS) \
36845 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
36846 for flag in $(EXTRA_TARGET_FLAGS); do \
36847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36849 (cd $(TARGET_SUBDIR)/winsup && \
36850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36852 "RANLIB=$${RANLIB}" \
36853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36857 @endif target-winsup
36859 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
36860 maybe-dvi-target-winsup:
36862 maybe-dvi-target-winsup: dvi-target-winsup
36864 dvi-target-winsup: \
36865 configure-target-winsup
36866 @: $(MAKE); $(unstage)
36867 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36868 r=`${PWD_COMMAND}`; export r; \
36869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36870 $(NORMAL_TARGET_EXPORTS) \
36871 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
36872 for flag in $(EXTRA_TARGET_FLAGS); do \
36873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36875 (cd $(TARGET_SUBDIR)/winsup && \
36876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36878 "RANLIB=$${RANLIB}" \
36879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36883 @endif target-winsup
36885 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
36886 maybe-pdf-target-winsup:
36888 maybe-pdf-target-winsup: pdf-target-winsup
36890 pdf-target-winsup: \
36891 configure-target-winsup
36892 @: $(MAKE); $(unstage)
36893 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36894 r=`${PWD_COMMAND}`; export r; \
36895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36896 $(NORMAL_TARGET_EXPORTS) \
36897 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
36898 for flag in $(EXTRA_TARGET_FLAGS); do \
36899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36901 (cd $(TARGET_SUBDIR)/winsup && \
36902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36904 "RANLIB=$${RANLIB}" \
36905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36909 @endif target-winsup
36911 .PHONY: maybe-html-target-winsup html-target-winsup
36912 maybe-html-target-winsup:
36914 maybe-html-target-winsup: html-target-winsup
36916 html-target-winsup: \
36917 configure-target-winsup
36918 @: $(MAKE); $(unstage)
36919 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36920 r=`${PWD_COMMAND}`; export r; \
36921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36922 $(NORMAL_TARGET_EXPORTS) \
36923 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
36924 for flag in $(EXTRA_TARGET_FLAGS); do \
36925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36927 (cd $(TARGET_SUBDIR)/winsup && \
36928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36930 "RANLIB=$${RANLIB}" \
36931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36935 @endif target-winsup
36937 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
36938 maybe-TAGS-target-winsup:
36940 maybe-TAGS-target-winsup: TAGS-target-winsup
36942 TAGS-target-winsup: \
36943 configure-target-winsup
36944 @: $(MAKE); $(unstage)
36945 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36946 r=`${PWD_COMMAND}`; export r; \
36947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36948 $(NORMAL_TARGET_EXPORTS) \
36949 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
36950 for flag in $(EXTRA_TARGET_FLAGS); do \
36951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36953 (cd $(TARGET_SUBDIR)/winsup && \
36954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36956 "RANLIB=$${RANLIB}" \
36957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36961 @endif target-winsup
36963 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
36964 maybe-install-info-target-winsup:
36966 maybe-install-info-target-winsup: install-info-target-winsup
36968 install-info-target-winsup: \
36969 configure-target-winsup \
36971 @: $(MAKE); $(unstage)
36972 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
36973 r=`${PWD_COMMAND}`; export r; \
36974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36975 $(NORMAL_TARGET_EXPORTS) \
36976 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
36977 for flag in $(EXTRA_TARGET_FLAGS); do \
36978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36980 (cd $(TARGET_SUBDIR)/winsup && \
36981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36983 "RANLIB=$${RANLIB}" \
36984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36988 @endif target-winsup
36990 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
36991 maybe-install-pdf-target-winsup:
36993 maybe-install-pdf-target-winsup: install-pdf-target-winsup
36995 install-pdf-target-winsup: \
36996 configure-target-winsup \
36998 @: $(MAKE); $(unstage)
36999 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37000 r=`${PWD_COMMAND}`; export r; \
37001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37002 $(NORMAL_TARGET_EXPORTS) \
37003 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
37004 for flag in $(EXTRA_TARGET_FLAGS); do \
37005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37007 (cd $(TARGET_SUBDIR)/winsup && \
37008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37010 "RANLIB=$${RANLIB}" \
37011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37015 @endif target-winsup
37017 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
37018 maybe-install-html-target-winsup:
37020 maybe-install-html-target-winsup: install-html-target-winsup
37022 install-html-target-winsup: \
37023 configure-target-winsup \
37025 @: $(MAKE); $(unstage)
37026 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37027 r=`${PWD_COMMAND}`; export r; \
37028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37029 $(NORMAL_TARGET_EXPORTS) \
37030 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
37031 for flag in $(EXTRA_TARGET_FLAGS); do \
37032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37034 (cd $(TARGET_SUBDIR)/winsup && \
37035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37037 "RANLIB=$${RANLIB}" \
37038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37042 @endif target-winsup
37044 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
37045 maybe-installcheck-target-winsup:
37047 maybe-installcheck-target-winsup: installcheck-target-winsup
37049 installcheck-target-winsup: \
37050 configure-target-winsup
37051 @: $(MAKE); $(unstage)
37052 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37053 r=`${PWD_COMMAND}`; export r; \
37054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37055 $(NORMAL_TARGET_EXPORTS) \
37056 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
37057 for flag in $(EXTRA_TARGET_FLAGS); do \
37058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37060 (cd $(TARGET_SUBDIR)/winsup && \
37061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37063 "RANLIB=$${RANLIB}" \
37064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37068 @endif target-winsup
37070 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
37071 maybe-mostlyclean-target-winsup:
37073 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
37075 mostlyclean-target-winsup:
37076 @: $(MAKE); $(unstage)
37077 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37078 r=`${PWD_COMMAND}`; export r; \
37079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37080 $(NORMAL_TARGET_EXPORTS) \
37081 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
37082 for flag in $(EXTRA_TARGET_FLAGS); do \
37083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37085 (cd $(TARGET_SUBDIR)/winsup && \
37086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37088 "RANLIB=$${RANLIB}" \
37089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37093 @endif target-winsup
37095 .PHONY: maybe-clean-target-winsup clean-target-winsup
37096 maybe-clean-target-winsup:
37098 maybe-clean-target-winsup: clean-target-winsup
37100 clean-target-winsup:
37101 @: $(MAKE); $(unstage)
37102 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37103 r=`${PWD_COMMAND}`; export r; \
37104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37105 $(NORMAL_TARGET_EXPORTS) \
37106 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
37107 for flag in $(EXTRA_TARGET_FLAGS); do \
37108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37110 (cd $(TARGET_SUBDIR)/winsup && \
37111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37113 "RANLIB=$${RANLIB}" \
37114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37118 @endif target-winsup
37120 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
37121 maybe-distclean-target-winsup:
37123 maybe-distclean-target-winsup: distclean-target-winsup
37125 distclean-target-winsup:
37126 @: $(MAKE); $(unstage)
37127 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37128 r=`${PWD_COMMAND}`; export r; \
37129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37130 $(NORMAL_TARGET_EXPORTS) \
37131 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
37132 for flag in $(EXTRA_TARGET_FLAGS); do \
37133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37135 (cd $(TARGET_SUBDIR)/winsup && \
37136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37138 "RANLIB=$${RANLIB}" \
37139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37143 @endif target-winsup
37145 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
37146 maybe-maintainer-clean-target-winsup:
37148 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
37150 maintainer-clean-target-winsup:
37151 @: $(MAKE); $(unstage)
37152 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
37153 r=`${PWD_COMMAND}`; export r; \
37154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37155 $(NORMAL_TARGET_EXPORTS) \
37156 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
37157 for flag in $(EXTRA_TARGET_FLAGS); do \
37158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37160 (cd $(TARGET_SUBDIR)/winsup && \
37161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37163 "RANLIB=$${RANLIB}" \
37164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37165 maintainer-clean) \
37168 @endif target-winsup
37174 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
37175 maybe-configure-target-libgloss:
37177 configure-target-libgloss: stage_current
37178 @endif gcc-bootstrap
37179 @if target-libgloss
37180 maybe-configure-target-libgloss: configure-target-libgloss
37181 configure-target-libgloss:
37182 @: $(MAKE); $(unstage)
37183 @r=`${PWD_COMMAND}`; export r; \
37184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37185 echo "Checking multilib configuration for libgloss..."; \
37186 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
37187 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
37188 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
37189 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
37190 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
37192 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
37193 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
37196 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
37198 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
37199 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
37200 $(NORMAL_TARGET_EXPORTS) \
37201 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
37202 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
37203 case $(srcdir) in \
37204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37205 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
37206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37208 srcdiroption="--srcdir=$${topdir}/libgloss"; \
37209 libsrcdir="$$s/libgloss"; \
37210 rm -f no-such-file || : ; \
37211 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37212 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37213 --target=${target_alias} $${srcdiroption} \
37215 @endif target-libgloss
37221 .PHONY: all-target-libgloss maybe-all-target-libgloss
37222 maybe-all-target-libgloss:
37224 all-target-libgloss: stage_current
37225 @endif gcc-bootstrap
37226 @if target-libgloss
37227 TARGET-target-libgloss=all
37228 maybe-all-target-libgloss: all-target-libgloss
37229 all-target-libgloss: configure-target-libgloss
37230 @: $(MAKE); $(unstage)
37231 @r=`${PWD_COMMAND}`; export r; \
37232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37233 $(NORMAL_TARGET_EXPORTS) \
37234 (cd $(TARGET_SUBDIR)/libgloss && \
37235 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37236 $(TARGET-target-libgloss))
37237 @endif target-libgloss
37243 .PHONY: check-target-libgloss maybe-check-target-libgloss
37244 maybe-check-target-libgloss:
37245 @if target-libgloss
37246 maybe-check-target-libgloss: check-target-libgloss
37248 # Dummy target for uncheckable module.
37249 check-target-libgloss:
37251 @endif target-libgloss
37253 .PHONY: install-target-libgloss maybe-install-target-libgloss
37254 maybe-install-target-libgloss:
37255 @if target-libgloss
37256 maybe-install-target-libgloss: install-target-libgloss
37258 install-target-libgloss: installdirs
37259 @: $(MAKE); $(unstage)
37260 @r=`${PWD_COMMAND}`; export r; \
37261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37262 $(NORMAL_TARGET_EXPORTS) \
37263 (cd $(TARGET_SUBDIR)/libgloss && \
37264 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37266 @endif target-libgloss
37268 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
37269 maybe-install-strip-target-libgloss:
37270 @if target-libgloss
37271 maybe-install-strip-target-libgloss: install-strip-target-libgloss
37273 install-strip-target-libgloss: installdirs
37274 @: $(MAKE); $(unstage)
37275 @r=`${PWD_COMMAND}`; export r; \
37276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37277 $(NORMAL_TARGET_EXPORTS) \
37278 (cd $(TARGET_SUBDIR)/libgloss && \
37279 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37281 @endif target-libgloss
37283 # Other targets (info, dvi, pdf, etc.)
37285 .PHONY: maybe-info-target-libgloss info-target-libgloss
37286 maybe-info-target-libgloss:
37287 @if target-libgloss
37288 maybe-info-target-libgloss: info-target-libgloss
37290 info-target-libgloss: \
37291 configure-target-libgloss
37292 @: $(MAKE); $(unstage)
37293 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37294 r=`${PWD_COMMAND}`; export r; \
37295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37296 $(NORMAL_TARGET_EXPORTS) \
37297 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
37298 for flag in $(EXTRA_TARGET_FLAGS); do \
37299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37301 (cd $(TARGET_SUBDIR)/libgloss && \
37302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37304 "RANLIB=$${RANLIB}" \
37305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37309 @endif target-libgloss
37311 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
37312 maybe-dvi-target-libgloss:
37313 @if target-libgloss
37314 maybe-dvi-target-libgloss: dvi-target-libgloss
37316 dvi-target-libgloss: \
37317 configure-target-libgloss
37318 @: $(MAKE); $(unstage)
37319 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37320 r=`${PWD_COMMAND}`; export r; \
37321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37322 $(NORMAL_TARGET_EXPORTS) \
37323 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
37324 for flag in $(EXTRA_TARGET_FLAGS); do \
37325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37327 (cd $(TARGET_SUBDIR)/libgloss && \
37328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37330 "RANLIB=$${RANLIB}" \
37331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37335 @endif target-libgloss
37337 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
37338 maybe-pdf-target-libgloss:
37339 @if target-libgloss
37340 maybe-pdf-target-libgloss: pdf-target-libgloss
37342 pdf-target-libgloss: \
37343 configure-target-libgloss
37344 @: $(MAKE); $(unstage)
37345 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37346 r=`${PWD_COMMAND}`; export r; \
37347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37348 $(NORMAL_TARGET_EXPORTS) \
37349 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
37350 for flag in $(EXTRA_TARGET_FLAGS); do \
37351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37353 (cd $(TARGET_SUBDIR)/libgloss && \
37354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37356 "RANLIB=$${RANLIB}" \
37357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37361 @endif target-libgloss
37363 .PHONY: maybe-html-target-libgloss html-target-libgloss
37364 maybe-html-target-libgloss:
37365 @if target-libgloss
37366 maybe-html-target-libgloss: html-target-libgloss
37368 html-target-libgloss: \
37369 configure-target-libgloss
37370 @: $(MAKE); $(unstage)
37371 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37372 r=`${PWD_COMMAND}`; export r; \
37373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37374 $(NORMAL_TARGET_EXPORTS) \
37375 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
37376 for flag in $(EXTRA_TARGET_FLAGS); do \
37377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37379 (cd $(TARGET_SUBDIR)/libgloss && \
37380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37382 "RANLIB=$${RANLIB}" \
37383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37387 @endif target-libgloss
37389 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
37390 maybe-TAGS-target-libgloss:
37391 @if target-libgloss
37392 maybe-TAGS-target-libgloss: TAGS-target-libgloss
37394 TAGS-target-libgloss: \
37395 configure-target-libgloss
37396 @: $(MAKE); $(unstage)
37397 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37398 r=`${PWD_COMMAND}`; export r; \
37399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37400 $(NORMAL_TARGET_EXPORTS) \
37401 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
37402 for flag in $(EXTRA_TARGET_FLAGS); do \
37403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37405 (cd $(TARGET_SUBDIR)/libgloss && \
37406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37408 "RANLIB=$${RANLIB}" \
37409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37413 @endif target-libgloss
37415 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
37416 maybe-install-info-target-libgloss:
37417 @if target-libgloss
37418 maybe-install-info-target-libgloss: install-info-target-libgloss
37420 install-info-target-libgloss: \
37421 configure-target-libgloss \
37422 info-target-libgloss
37423 @: $(MAKE); $(unstage)
37424 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37425 r=`${PWD_COMMAND}`; export r; \
37426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37427 $(NORMAL_TARGET_EXPORTS) \
37428 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
37429 for flag in $(EXTRA_TARGET_FLAGS); do \
37430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37432 (cd $(TARGET_SUBDIR)/libgloss && \
37433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37435 "RANLIB=$${RANLIB}" \
37436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37440 @endif target-libgloss
37442 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
37443 maybe-install-pdf-target-libgloss:
37444 @if target-libgloss
37445 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
37447 install-pdf-target-libgloss: \
37448 configure-target-libgloss \
37449 pdf-target-libgloss
37450 @: $(MAKE); $(unstage)
37451 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37452 r=`${PWD_COMMAND}`; export r; \
37453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37454 $(NORMAL_TARGET_EXPORTS) \
37455 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
37456 for flag in $(EXTRA_TARGET_FLAGS); do \
37457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37459 (cd $(TARGET_SUBDIR)/libgloss && \
37460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37462 "RANLIB=$${RANLIB}" \
37463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37467 @endif target-libgloss
37469 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
37470 maybe-install-html-target-libgloss:
37471 @if target-libgloss
37472 maybe-install-html-target-libgloss: install-html-target-libgloss
37474 install-html-target-libgloss: \
37475 configure-target-libgloss \
37476 html-target-libgloss
37477 @: $(MAKE); $(unstage)
37478 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37479 r=`${PWD_COMMAND}`; export r; \
37480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37481 $(NORMAL_TARGET_EXPORTS) \
37482 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
37483 for flag in $(EXTRA_TARGET_FLAGS); do \
37484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37486 (cd $(TARGET_SUBDIR)/libgloss && \
37487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37489 "RANLIB=$${RANLIB}" \
37490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37494 @endif target-libgloss
37496 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
37497 maybe-installcheck-target-libgloss:
37498 @if target-libgloss
37499 maybe-installcheck-target-libgloss: installcheck-target-libgloss
37501 installcheck-target-libgloss: \
37502 configure-target-libgloss
37503 @: $(MAKE); $(unstage)
37504 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37505 r=`${PWD_COMMAND}`; export r; \
37506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37507 $(NORMAL_TARGET_EXPORTS) \
37508 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
37509 for flag in $(EXTRA_TARGET_FLAGS); do \
37510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37512 (cd $(TARGET_SUBDIR)/libgloss && \
37513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37515 "RANLIB=$${RANLIB}" \
37516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37520 @endif target-libgloss
37522 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
37523 maybe-mostlyclean-target-libgloss:
37524 @if target-libgloss
37525 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
37527 mostlyclean-target-libgloss:
37528 @: $(MAKE); $(unstage)
37529 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37530 r=`${PWD_COMMAND}`; export r; \
37531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37532 $(NORMAL_TARGET_EXPORTS) \
37533 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
37534 for flag in $(EXTRA_TARGET_FLAGS); do \
37535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37537 (cd $(TARGET_SUBDIR)/libgloss && \
37538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37540 "RANLIB=$${RANLIB}" \
37541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37545 @endif target-libgloss
37547 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
37548 maybe-clean-target-libgloss:
37549 @if target-libgloss
37550 maybe-clean-target-libgloss: clean-target-libgloss
37552 clean-target-libgloss:
37553 @: $(MAKE); $(unstage)
37554 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37555 r=`${PWD_COMMAND}`; export r; \
37556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37557 $(NORMAL_TARGET_EXPORTS) \
37558 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
37559 for flag in $(EXTRA_TARGET_FLAGS); do \
37560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37562 (cd $(TARGET_SUBDIR)/libgloss && \
37563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37565 "RANLIB=$${RANLIB}" \
37566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37570 @endif target-libgloss
37572 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
37573 maybe-distclean-target-libgloss:
37574 @if target-libgloss
37575 maybe-distclean-target-libgloss: distclean-target-libgloss
37577 distclean-target-libgloss:
37578 @: $(MAKE); $(unstage)
37579 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37580 r=`${PWD_COMMAND}`; export r; \
37581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37582 $(NORMAL_TARGET_EXPORTS) \
37583 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
37584 for flag in $(EXTRA_TARGET_FLAGS); do \
37585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37587 (cd $(TARGET_SUBDIR)/libgloss && \
37588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37590 "RANLIB=$${RANLIB}" \
37591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37595 @endif target-libgloss
37597 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
37598 maybe-maintainer-clean-target-libgloss:
37599 @if target-libgloss
37600 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
37602 maintainer-clean-target-libgloss:
37603 @: $(MAKE); $(unstage)
37604 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
37605 r=`${PWD_COMMAND}`; export r; \
37606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37607 $(NORMAL_TARGET_EXPORTS) \
37608 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
37609 for flag in $(EXTRA_TARGET_FLAGS); do \
37610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37612 (cd $(TARGET_SUBDIR)/libgloss && \
37613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37615 "RANLIB=$${RANLIB}" \
37616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37617 maintainer-clean) \
37620 @endif target-libgloss
37626 .PHONY: configure-target-libffi maybe-configure-target-libffi
37627 maybe-configure-target-libffi:
37629 configure-target-libffi: stage_current
37630 @endif gcc-bootstrap
37632 maybe-configure-target-libffi: configure-target-libffi
37633 configure-target-libffi:
37634 @: $(MAKE); $(unstage)
37635 @r=`${PWD_COMMAND}`; export r; \
37636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37637 echo "Checking multilib configuration for libffi..."; \
37638 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
37639 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
37640 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
37641 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
37642 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
37644 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
37645 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
37648 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
37650 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
37651 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
37652 $(NORMAL_TARGET_EXPORTS) \
37653 echo Configuring in $(TARGET_SUBDIR)/libffi; \
37654 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
37655 case $(srcdir) in \
37656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37657 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
37658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37660 srcdiroption="--srcdir=$${topdir}/libffi"; \
37661 libsrcdir="$$s/libffi"; \
37662 rm -f no-such-file || : ; \
37663 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37664 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37665 --target=${target_alias} $${srcdiroption} \
37667 @endif target-libffi
37673 .PHONY: all-target-libffi maybe-all-target-libffi
37674 maybe-all-target-libffi:
37676 all-target-libffi: stage_current
37677 @endif gcc-bootstrap
37679 TARGET-target-libffi=all
37680 maybe-all-target-libffi: all-target-libffi
37681 all-target-libffi: configure-target-libffi
37682 @: $(MAKE); $(unstage)
37683 @r=`${PWD_COMMAND}`; export r; \
37684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37685 $(NORMAL_TARGET_EXPORTS) \
37686 (cd $(TARGET_SUBDIR)/libffi && \
37687 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37688 $(TARGET-target-libffi))
37689 @endif target-libffi
37695 .PHONY: check-target-libffi maybe-check-target-libffi
37696 maybe-check-target-libffi:
37698 maybe-check-target-libffi: check-target-libffi
37700 check-target-libffi:
37701 @: $(MAKE); $(unstage)
37702 @r=`${PWD_COMMAND}`; export r; \
37703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37704 $(NORMAL_TARGET_EXPORTS) \
37705 (cd $(TARGET_SUBDIR)/libffi && \
37706 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37708 @endif target-libffi
37710 .PHONY: install-target-libffi maybe-install-target-libffi
37711 maybe-install-target-libffi:
37713 maybe-install-target-libffi: install-target-libffi
37715 install-target-libffi: installdirs
37716 @: $(MAKE); $(unstage)
37717 @r=`${PWD_COMMAND}`; export r; \
37718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37719 $(NORMAL_TARGET_EXPORTS) \
37720 (cd $(TARGET_SUBDIR)/libffi && \
37721 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37723 @endif target-libffi
37725 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
37726 maybe-install-strip-target-libffi:
37728 maybe-install-strip-target-libffi: install-strip-target-libffi
37730 install-strip-target-libffi: installdirs
37731 @: $(MAKE); $(unstage)
37732 @r=`${PWD_COMMAND}`; export r; \
37733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37734 $(NORMAL_TARGET_EXPORTS) \
37735 (cd $(TARGET_SUBDIR)/libffi && \
37736 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37738 @endif target-libffi
37740 # Other targets (info, dvi, pdf, etc.)
37742 .PHONY: maybe-info-target-libffi info-target-libffi
37743 maybe-info-target-libffi:
37745 maybe-info-target-libffi: info-target-libffi
37747 info-target-libffi: \
37748 configure-target-libffi
37749 @: $(MAKE); $(unstage)
37750 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37751 r=`${PWD_COMMAND}`; export r; \
37752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37753 $(NORMAL_TARGET_EXPORTS) \
37754 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
37755 for flag in $(EXTRA_TARGET_FLAGS); do \
37756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37758 (cd $(TARGET_SUBDIR)/libffi && \
37759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37761 "RANLIB=$${RANLIB}" \
37762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37766 @endif target-libffi
37768 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
37769 maybe-dvi-target-libffi:
37771 maybe-dvi-target-libffi: dvi-target-libffi
37773 dvi-target-libffi: \
37774 configure-target-libffi
37775 @: $(MAKE); $(unstage)
37776 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37777 r=`${PWD_COMMAND}`; export r; \
37778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37779 $(NORMAL_TARGET_EXPORTS) \
37780 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
37781 for flag in $(EXTRA_TARGET_FLAGS); do \
37782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37784 (cd $(TARGET_SUBDIR)/libffi && \
37785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37787 "RANLIB=$${RANLIB}" \
37788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37792 @endif target-libffi
37794 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
37795 maybe-pdf-target-libffi:
37797 maybe-pdf-target-libffi: pdf-target-libffi
37799 pdf-target-libffi: \
37800 configure-target-libffi
37801 @: $(MAKE); $(unstage)
37802 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37803 r=`${PWD_COMMAND}`; export r; \
37804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37805 $(NORMAL_TARGET_EXPORTS) \
37806 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
37807 for flag in $(EXTRA_TARGET_FLAGS); do \
37808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37810 (cd $(TARGET_SUBDIR)/libffi && \
37811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37813 "RANLIB=$${RANLIB}" \
37814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37818 @endif target-libffi
37820 .PHONY: maybe-html-target-libffi html-target-libffi
37821 maybe-html-target-libffi:
37823 maybe-html-target-libffi: html-target-libffi
37825 html-target-libffi: \
37826 configure-target-libffi
37827 @: $(MAKE); $(unstage)
37828 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37829 r=`${PWD_COMMAND}`; export r; \
37830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37831 $(NORMAL_TARGET_EXPORTS) \
37832 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
37833 for flag in $(EXTRA_TARGET_FLAGS); do \
37834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37836 (cd $(TARGET_SUBDIR)/libffi && \
37837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37839 "RANLIB=$${RANLIB}" \
37840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37844 @endif target-libffi
37846 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
37847 maybe-TAGS-target-libffi:
37849 maybe-TAGS-target-libffi: TAGS-target-libffi
37851 TAGS-target-libffi: \
37852 configure-target-libffi
37853 @: $(MAKE); $(unstage)
37854 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37855 r=`${PWD_COMMAND}`; export r; \
37856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37857 $(NORMAL_TARGET_EXPORTS) \
37858 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
37859 for flag in $(EXTRA_TARGET_FLAGS); do \
37860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37862 (cd $(TARGET_SUBDIR)/libffi && \
37863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37865 "RANLIB=$${RANLIB}" \
37866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37870 @endif target-libffi
37872 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
37873 maybe-install-info-target-libffi:
37875 maybe-install-info-target-libffi: install-info-target-libffi
37877 install-info-target-libffi: \
37878 configure-target-libffi \
37880 @: $(MAKE); $(unstage)
37881 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37882 r=`${PWD_COMMAND}`; export r; \
37883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37884 $(NORMAL_TARGET_EXPORTS) \
37885 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
37886 for flag in $(EXTRA_TARGET_FLAGS); do \
37887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37889 (cd $(TARGET_SUBDIR)/libffi && \
37890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37892 "RANLIB=$${RANLIB}" \
37893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37897 @endif target-libffi
37899 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
37900 maybe-install-pdf-target-libffi:
37902 maybe-install-pdf-target-libffi: install-pdf-target-libffi
37904 install-pdf-target-libffi: \
37905 configure-target-libffi \
37907 @: $(MAKE); $(unstage)
37908 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37909 r=`${PWD_COMMAND}`; export r; \
37910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37911 $(NORMAL_TARGET_EXPORTS) \
37912 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
37913 for flag in $(EXTRA_TARGET_FLAGS); do \
37914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37916 (cd $(TARGET_SUBDIR)/libffi && \
37917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37919 "RANLIB=$${RANLIB}" \
37920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37924 @endif target-libffi
37926 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
37927 maybe-install-html-target-libffi:
37929 maybe-install-html-target-libffi: install-html-target-libffi
37931 install-html-target-libffi: \
37932 configure-target-libffi \
37934 @: $(MAKE); $(unstage)
37935 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37936 r=`${PWD_COMMAND}`; export r; \
37937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37938 $(NORMAL_TARGET_EXPORTS) \
37939 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
37940 for flag in $(EXTRA_TARGET_FLAGS); do \
37941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37943 (cd $(TARGET_SUBDIR)/libffi && \
37944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37946 "RANLIB=$${RANLIB}" \
37947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37951 @endif target-libffi
37953 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
37954 maybe-installcheck-target-libffi:
37956 maybe-installcheck-target-libffi: installcheck-target-libffi
37958 installcheck-target-libffi: \
37959 configure-target-libffi
37960 @: $(MAKE); $(unstage)
37961 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37962 r=`${PWD_COMMAND}`; export r; \
37963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37964 $(NORMAL_TARGET_EXPORTS) \
37965 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
37966 for flag in $(EXTRA_TARGET_FLAGS); do \
37967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37969 (cd $(TARGET_SUBDIR)/libffi && \
37970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37972 "RANLIB=$${RANLIB}" \
37973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37977 @endif target-libffi
37979 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
37980 maybe-mostlyclean-target-libffi:
37982 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
37984 mostlyclean-target-libffi:
37985 @: $(MAKE); $(unstage)
37986 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
37987 r=`${PWD_COMMAND}`; export r; \
37988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37989 $(NORMAL_TARGET_EXPORTS) \
37990 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
37991 for flag in $(EXTRA_TARGET_FLAGS); do \
37992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37994 (cd $(TARGET_SUBDIR)/libffi && \
37995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37997 "RANLIB=$${RANLIB}" \
37998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38002 @endif target-libffi
38004 .PHONY: maybe-clean-target-libffi clean-target-libffi
38005 maybe-clean-target-libffi:
38007 maybe-clean-target-libffi: clean-target-libffi
38009 clean-target-libffi:
38010 @: $(MAKE); $(unstage)
38011 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38012 r=`${PWD_COMMAND}`; export r; \
38013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38014 $(NORMAL_TARGET_EXPORTS) \
38015 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
38016 for flag in $(EXTRA_TARGET_FLAGS); do \
38017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38019 (cd $(TARGET_SUBDIR)/libffi && \
38020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38022 "RANLIB=$${RANLIB}" \
38023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38027 @endif target-libffi
38029 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
38030 maybe-distclean-target-libffi:
38032 maybe-distclean-target-libffi: distclean-target-libffi
38034 distclean-target-libffi:
38035 @: $(MAKE); $(unstage)
38036 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38037 r=`${PWD_COMMAND}`; export r; \
38038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38039 $(NORMAL_TARGET_EXPORTS) \
38040 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
38041 for flag in $(EXTRA_TARGET_FLAGS); do \
38042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38044 (cd $(TARGET_SUBDIR)/libffi && \
38045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38047 "RANLIB=$${RANLIB}" \
38048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38052 @endif target-libffi
38054 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
38055 maybe-maintainer-clean-target-libffi:
38057 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
38059 maintainer-clean-target-libffi:
38060 @: $(MAKE); $(unstage)
38061 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
38062 r=`${PWD_COMMAND}`; export r; \
38063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38064 $(NORMAL_TARGET_EXPORTS) \
38065 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
38066 for flag in $(EXTRA_TARGET_FLAGS); do \
38067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38069 (cd $(TARGET_SUBDIR)/libffi && \
38070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38072 "RANLIB=$${RANLIB}" \
38073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38074 maintainer-clean) \
38077 @endif target-libffi
38083 .PHONY: configure-target-libjava maybe-configure-target-libjava
38084 maybe-configure-target-libjava:
38086 configure-target-libjava: stage_current
38087 @endif gcc-bootstrap
38089 maybe-configure-target-libjava: configure-target-libjava
38090 configure-target-libjava:
38091 @: $(MAKE); $(unstage)
38092 @r=`${PWD_COMMAND}`; export r; \
38093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38094 echo "Checking multilib configuration for libjava..."; \
38095 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38096 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
38097 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
38098 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
38099 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
38101 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
38102 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38105 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
38107 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
38108 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
38109 $(RAW_CXX_TARGET_EXPORTS) \
38110 echo Configuring in $(TARGET_SUBDIR)/libjava; \
38111 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
38112 case $(srcdir) in \
38113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38114 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
38115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38117 srcdiroption="--srcdir=$${topdir}/libjava"; \
38118 libsrcdir="$$s/libjava"; \
38119 rm -f no-such-file || : ; \
38120 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38121 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38122 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
38124 @endif target-libjava
38130 .PHONY: all-target-libjava maybe-all-target-libjava
38131 maybe-all-target-libjava:
38133 all-target-libjava: stage_current
38134 @endif gcc-bootstrap
38136 TARGET-target-libjava=all
38137 maybe-all-target-libjava: all-target-libjava
38138 all-target-libjava: configure-target-libjava
38139 @: $(MAKE); $(unstage)
38140 @r=`${PWD_COMMAND}`; export r; \
38141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38142 $(RAW_CXX_TARGET_EXPORTS) \
38143 (cd $(TARGET_SUBDIR)/libjava && \
38144 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38145 $(TARGET-target-libjava))
38146 @endif target-libjava
38152 .PHONY: check-target-libjava maybe-check-target-libjava
38153 maybe-check-target-libjava:
38155 maybe-check-target-libjava: check-target-libjava
38157 check-target-libjava:
38158 @: $(MAKE); $(unstage)
38159 @r=`${PWD_COMMAND}`; export r; \
38160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38161 $(RAW_CXX_TARGET_EXPORTS) \
38162 (cd $(TARGET_SUBDIR)/libjava && \
38163 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38165 @endif target-libjava
38167 .PHONY: install-target-libjava maybe-install-target-libjava
38168 maybe-install-target-libjava:
38170 maybe-install-target-libjava: install-target-libjava
38172 install-target-libjava: installdirs
38173 @: $(MAKE); $(unstage)
38174 @r=`${PWD_COMMAND}`; export r; \
38175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38176 $(RAW_CXX_TARGET_EXPORTS) \
38177 (cd $(TARGET_SUBDIR)/libjava && \
38178 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38180 @endif target-libjava
38182 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
38183 maybe-install-strip-target-libjava:
38185 maybe-install-strip-target-libjava: install-strip-target-libjava
38187 install-strip-target-libjava: installdirs
38188 @: $(MAKE); $(unstage)
38189 @r=`${PWD_COMMAND}`; export r; \
38190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38191 $(RAW_CXX_TARGET_EXPORTS) \
38192 (cd $(TARGET_SUBDIR)/libjava && \
38193 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38195 @endif target-libjava
38197 # Other targets (info, dvi, pdf, etc.)
38199 .PHONY: maybe-info-target-libjava info-target-libjava
38200 maybe-info-target-libjava:
38202 maybe-info-target-libjava: info-target-libjava
38204 info-target-libjava: \
38205 configure-target-libjava
38206 @: $(MAKE); $(unstage)
38207 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38208 r=`${PWD_COMMAND}`; export r; \
38209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38210 $(RAW_CXX_TARGET_EXPORTS) \
38211 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
38212 for flag in $(EXTRA_TARGET_FLAGS); do \
38213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38215 (cd $(TARGET_SUBDIR)/libjava && \
38216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38218 "RANLIB=$${RANLIB}" \
38219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38223 @endif target-libjava
38225 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
38226 maybe-dvi-target-libjava:
38228 maybe-dvi-target-libjava: dvi-target-libjava
38230 dvi-target-libjava: \
38231 configure-target-libjava
38232 @: $(MAKE); $(unstage)
38233 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38234 r=`${PWD_COMMAND}`; export r; \
38235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38236 $(RAW_CXX_TARGET_EXPORTS) \
38237 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
38238 for flag in $(EXTRA_TARGET_FLAGS); do \
38239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38241 (cd $(TARGET_SUBDIR)/libjava && \
38242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38244 "RANLIB=$${RANLIB}" \
38245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38249 @endif target-libjava
38251 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
38252 maybe-pdf-target-libjava:
38254 maybe-pdf-target-libjava: pdf-target-libjava
38256 pdf-target-libjava: \
38257 configure-target-libjava
38258 @: $(MAKE); $(unstage)
38259 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38260 r=`${PWD_COMMAND}`; export r; \
38261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38262 $(RAW_CXX_TARGET_EXPORTS) \
38263 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
38264 for flag in $(EXTRA_TARGET_FLAGS); do \
38265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38267 (cd $(TARGET_SUBDIR)/libjava && \
38268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38270 "RANLIB=$${RANLIB}" \
38271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38275 @endif target-libjava
38277 .PHONY: maybe-html-target-libjava html-target-libjava
38278 maybe-html-target-libjava:
38280 maybe-html-target-libjava: html-target-libjava
38282 html-target-libjava: \
38283 configure-target-libjava
38284 @: $(MAKE); $(unstage)
38285 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38286 r=`${PWD_COMMAND}`; export r; \
38287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38288 $(RAW_CXX_TARGET_EXPORTS) \
38289 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
38290 for flag in $(EXTRA_TARGET_FLAGS); do \
38291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38293 (cd $(TARGET_SUBDIR)/libjava && \
38294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38296 "RANLIB=$${RANLIB}" \
38297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38301 @endif target-libjava
38303 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
38304 maybe-TAGS-target-libjava:
38306 maybe-TAGS-target-libjava: TAGS-target-libjava
38308 TAGS-target-libjava: \
38309 configure-target-libjava
38310 @: $(MAKE); $(unstage)
38311 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38312 r=`${PWD_COMMAND}`; export r; \
38313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38314 $(RAW_CXX_TARGET_EXPORTS) \
38315 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
38316 for flag in $(EXTRA_TARGET_FLAGS); do \
38317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38319 (cd $(TARGET_SUBDIR)/libjava && \
38320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38322 "RANLIB=$${RANLIB}" \
38323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38327 @endif target-libjava
38329 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
38330 maybe-install-info-target-libjava:
38332 maybe-install-info-target-libjava: install-info-target-libjava
38334 install-info-target-libjava: \
38335 configure-target-libjava \
38336 info-target-libjava
38337 @: $(MAKE); $(unstage)
38338 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38339 r=`${PWD_COMMAND}`; export r; \
38340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38341 $(RAW_CXX_TARGET_EXPORTS) \
38342 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
38343 for flag in $(EXTRA_TARGET_FLAGS); do \
38344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38346 (cd $(TARGET_SUBDIR)/libjava && \
38347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38349 "RANLIB=$${RANLIB}" \
38350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38354 @endif target-libjava
38356 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
38357 maybe-install-pdf-target-libjava:
38359 maybe-install-pdf-target-libjava: install-pdf-target-libjava
38361 install-pdf-target-libjava: \
38362 configure-target-libjava \
38364 @: $(MAKE); $(unstage)
38365 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38366 r=`${PWD_COMMAND}`; export r; \
38367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38368 $(RAW_CXX_TARGET_EXPORTS) \
38369 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
38370 for flag in $(EXTRA_TARGET_FLAGS); do \
38371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38373 (cd $(TARGET_SUBDIR)/libjava && \
38374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38376 "RANLIB=$${RANLIB}" \
38377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38381 @endif target-libjava
38383 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
38384 maybe-install-html-target-libjava:
38386 maybe-install-html-target-libjava: install-html-target-libjava
38388 install-html-target-libjava: \
38389 configure-target-libjava \
38390 html-target-libjava
38391 @: $(MAKE); $(unstage)
38392 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38393 r=`${PWD_COMMAND}`; export r; \
38394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38395 $(RAW_CXX_TARGET_EXPORTS) \
38396 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
38397 for flag in $(EXTRA_TARGET_FLAGS); do \
38398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38400 (cd $(TARGET_SUBDIR)/libjava && \
38401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38403 "RANLIB=$${RANLIB}" \
38404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38408 @endif target-libjava
38410 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
38411 maybe-installcheck-target-libjava:
38413 maybe-installcheck-target-libjava: installcheck-target-libjava
38415 installcheck-target-libjava: \
38416 configure-target-libjava
38417 @: $(MAKE); $(unstage)
38418 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38419 r=`${PWD_COMMAND}`; export r; \
38420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38421 $(RAW_CXX_TARGET_EXPORTS) \
38422 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
38423 for flag in $(EXTRA_TARGET_FLAGS); do \
38424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38426 (cd $(TARGET_SUBDIR)/libjava && \
38427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38429 "RANLIB=$${RANLIB}" \
38430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38434 @endif target-libjava
38436 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
38437 maybe-mostlyclean-target-libjava:
38439 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
38441 mostlyclean-target-libjava:
38442 @: $(MAKE); $(unstage)
38443 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38444 r=`${PWD_COMMAND}`; export r; \
38445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38446 $(RAW_CXX_TARGET_EXPORTS) \
38447 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
38448 for flag in $(EXTRA_TARGET_FLAGS); do \
38449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38451 (cd $(TARGET_SUBDIR)/libjava && \
38452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38454 "RANLIB=$${RANLIB}" \
38455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38459 @endif target-libjava
38461 .PHONY: maybe-clean-target-libjava clean-target-libjava
38462 maybe-clean-target-libjava:
38464 maybe-clean-target-libjava: clean-target-libjava
38466 clean-target-libjava:
38467 @: $(MAKE); $(unstage)
38468 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38469 r=`${PWD_COMMAND}`; export r; \
38470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38471 $(RAW_CXX_TARGET_EXPORTS) \
38472 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
38473 for flag in $(EXTRA_TARGET_FLAGS); do \
38474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38476 (cd $(TARGET_SUBDIR)/libjava && \
38477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38479 "RANLIB=$${RANLIB}" \
38480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38484 @endif target-libjava
38486 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
38487 maybe-distclean-target-libjava:
38489 maybe-distclean-target-libjava: distclean-target-libjava
38491 distclean-target-libjava:
38492 @: $(MAKE); $(unstage)
38493 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38494 r=`${PWD_COMMAND}`; export r; \
38495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38496 $(RAW_CXX_TARGET_EXPORTS) \
38497 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
38498 for flag in $(EXTRA_TARGET_FLAGS); do \
38499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38501 (cd $(TARGET_SUBDIR)/libjava && \
38502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38504 "RANLIB=$${RANLIB}" \
38505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38509 @endif target-libjava
38511 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
38512 maybe-maintainer-clean-target-libjava:
38514 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
38516 maintainer-clean-target-libjava:
38517 @: $(MAKE); $(unstage)
38518 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
38519 r=`${PWD_COMMAND}`; export r; \
38520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38521 $(RAW_CXX_TARGET_EXPORTS) \
38522 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
38523 for flag in $(EXTRA_TARGET_FLAGS); do \
38524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38526 (cd $(TARGET_SUBDIR)/libjava && \
38527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38529 "RANLIB=$${RANLIB}" \
38530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38531 maintainer-clean) \
38534 @endif target-libjava
38540 .PHONY: configure-target-zlib maybe-configure-target-zlib
38541 maybe-configure-target-zlib:
38543 configure-target-zlib: stage_current
38544 @endif gcc-bootstrap
38546 maybe-configure-target-zlib: configure-target-zlib
38547 configure-target-zlib:
38548 @: $(MAKE); $(unstage)
38549 @r=`${PWD_COMMAND}`; export r; \
38550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38551 echo "Checking multilib configuration for zlib..."; \
38552 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
38553 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
38554 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
38555 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
38556 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
38558 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
38559 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
38562 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
38564 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
38565 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
38566 $(NORMAL_TARGET_EXPORTS) \
38567 echo Configuring in $(TARGET_SUBDIR)/zlib; \
38568 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
38569 case $(srcdir) in \
38570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38571 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
38572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38574 srcdiroption="--srcdir=$${topdir}/zlib"; \
38575 libsrcdir="$$s/zlib"; \
38576 rm -f no-such-file || : ; \
38577 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38578 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38579 --target=${target_alias} $${srcdiroption} \
38587 .PHONY: all-target-zlib maybe-all-target-zlib
38588 maybe-all-target-zlib:
38590 all-target-zlib: stage_current
38591 @endif gcc-bootstrap
38593 TARGET-target-zlib=all
38594 maybe-all-target-zlib: all-target-zlib
38595 all-target-zlib: configure-target-zlib
38596 @: $(MAKE); $(unstage)
38597 @r=`${PWD_COMMAND}`; export r; \
38598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38599 $(NORMAL_TARGET_EXPORTS) \
38600 (cd $(TARGET_SUBDIR)/zlib && \
38601 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38602 $(TARGET-target-zlib))
38609 .PHONY: check-target-zlib maybe-check-target-zlib
38610 maybe-check-target-zlib:
38612 maybe-check-target-zlib: check-target-zlib
38615 @: $(MAKE); $(unstage)
38616 @r=`${PWD_COMMAND}`; export r; \
38617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38618 $(NORMAL_TARGET_EXPORTS) \
38619 (cd $(TARGET_SUBDIR)/zlib && \
38620 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38624 .PHONY: install-target-zlib maybe-install-target-zlib
38625 maybe-install-target-zlib:
38627 maybe-install-target-zlib: install-target-zlib
38629 install-target-zlib: installdirs
38630 @: $(MAKE); $(unstage)
38631 @r=`${PWD_COMMAND}`; export r; \
38632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38633 $(NORMAL_TARGET_EXPORTS) \
38634 (cd $(TARGET_SUBDIR)/zlib && \
38635 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38639 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
38640 maybe-install-strip-target-zlib:
38642 maybe-install-strip-target-zlib: install-strip-target-zlib
38644 install-strip-target-zlib: installdirs
38645 @: $(MAKE); $(unstage)
38646 @r=`${PWD_COMMAND}`; export r; \
38647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38648 $(NORMAL_TARGET_EXPORTS) \
38649 (cd $(TARGET_SUBDIR)/zlib && \
38650 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38654 # Other targets (info, dvi, pdf, etc.)
38656 .PHONY: maybe-info-target-zlib info-target-zlib
38657 maybe-info-target-zlib:
38659 maybe-info-target-zlib: info-target-zlib
38661 info-target-zlib: \
38662 configure-target-zlib
38663 @: $(MAKE); $(unstage)
38664 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38665 r=`${PWD_COMMAND}`; export r; \
38666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38667 $(NORMAL_TARGET_EXPORTS) \
38668 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
38669 for flag in $(EXTRA_TARGET_FLAGS); do \
38670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38672 (cd $(TARGET_SUBDIR)/zlib && \
38673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38675 "RANLIB=$${RANLIB}" \
38676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38682 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
38683 maybe-dvi-target-zlib:
38685 maybe-dvi-target-zlib: dvi-target-zlib
38688 configure-target-zlib
38689 @: $(MAKE); $(unstage)
38690 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38691 r=`${PWD_COMMAND}`; export r; \
38692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38693 $(NORMAL_TARGET_EXPORTS) \
38694 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
38695 for flag in $(EXTRA_TARGET_FLAGS); do \
38696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38698 (cd $(TARGET_SUBDIR)/zlib && \
38699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38701 "RANLIB=$${RANLIB}" \
38702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38708 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
38709 maybe-pdf-target-zlib:
38711 maybe-pdf-target-zlib: pdf-target-zlib
38714 configure-target-zlib
38715 @: $(MAKE); $(unstage)
38716 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38717 r=`${PWD_COMMAND}`; export r; \
38718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38719 $(NORMAL_TARGET_EXPORTS) \
38720 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
38721 for flag in $(EXTRA_TARGET_FLAGS); do \
38722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38724 (cd $(TARGET_SUBDIR)/zlib && \
38725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38727 "RANLIB=$${RANLIB}" \
38728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38734 .PHONY: maybe-html-target-zlib html-target-zlib
38735 maybe-html-target-zlib:
38737 maybe-html-target-zlib: html-target-zlib
38739 html-target-zlib: \
38740 configure-target-zlib
38741 @: $(MAKE); $(unstage)
38742 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38743 r=`${PWD_COMMAND}`; export r; \
38744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38745 $(NORMAL_TARGET_EXPORTS) \
38746 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
38747 for flag in $(EXTRA_TARGET_FLAGS); do \
38748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38750 (cd $(TARGET_SUBDIR)/zlib && \
38751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38753 "RANLIB=$${RANLIB}" \
38754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38760 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
38761 maybe-TAGS-target-zlib:
38763 maybe-TAGS-target-zlib: TAGS-target-zlib
38765 TAGS-target-zlib: \
38766 configure-target-zlib
38767 @: $(MAKE); $(unstage)
38768 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38769 r=`${PWD_COMMAND}`; export r; \
38770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38771 $(NORMAL_TARGET_EXPORTS) \
38772 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
38773 for flag in $(EXTRA_TARGET_FLAGS); do \
38774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38776 (cd $(TARGET_SUBDIR)/zlib && \
38777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38779 "RANLIB=$${RANLIB}" \
38780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38786 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
38787 maybe-install-info-target-zlib:
38789 maybe-install-info-target-zlib: install-info-target-zlib
38791 install-info-target-zlib: \
38792 configure-target-zlib \
38794 @: $(MAKE); $(unstage)
38795 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38796 r=`${PWD_COMMAND}`; export r; \
38797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38798 $(NORMAL_TARGET_EXPORTS) \
38799 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
38800 for flag in $(EXTRA_TARGET_FLAGS); do \
38801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38803 (cd $(TARGET_SUBDIR)/zlib && \
38804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38806 "RANLIB=$${RANLIB}" \
38807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38813 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
38814 maybe-install-pdf-target-zlib:
38816 maybe-install-pdf-target-zlib: install-pdf-target-zlib
38818 install-pdf-target-zlib: \
38819 configure-target-zlib \
38821 @: $(MAKE); $(unstage)
38822 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38823 r=`${PWD_COMMAND}`; export r; \
38824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38825 $(NORMAL_TARGET_EXPORTS) \
38826 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
38827 for flag in $(EXTRA_TARGET_FLAGS); do \
38828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38830 (cd $(TARGET_SUBDIR)/zlib && \
38831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38833 "RANLIB=$${RANLIB}" \
38834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38840 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
38841 maybe-install-html-target-zlib:
38843 maybe-install-html-target-zlib: install-html-target-zlib
38845 install-html-target-zlib: \
38846 configure-target-zlib \
38848 @: $(MAKE); $(unstage)
38849 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38850 r=`${PWD_COMMAND}`; export r; \
38851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38852 $(NORMAL_TARGET_EXPORTS) \
38853 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
38854 for flag in $(EXTRA_TARGET_FLAGS); do \
38855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38857 (cd $(TARGET_SUBDIR)/zlib && \
38858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38860 "RANLIB=$${RANLIB}" \
38861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38867 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
38868 maybe-installcheck-target-zlib:
38870 maybe-installcheck-target-zlib: installcheck-target-zlib
38872 installcheck-target-zlib: \
38873 configure-target-zlib
38874 @: $(MAKE); $(unstage)
38875 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38876 r=`${PWD_COMMAND}`; export r; \
38877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38878 $(NORMAL_TARGET_EXPORTS) \
38879 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
38880 for flag in $(EXTRA_TARGET_FLAGS); do \
38881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38883 (cd $(TARGET_SUBDIR)/zlib && \
38884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38886 "RANLIB=$${RANLIB}" \
38887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38893 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
38894 maybe-mostlyclean-target-zlib:
38896 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
38898 mostlyclean-target-zlib:
38899 @: $(MAKE); $(unstage)
38900 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38901 r=`${PWD_COMMAND}`; export r; \
38902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38903 $(NORMAL_TARGET_EXPORTS) \
38904 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
38905 for flag in $(EXTRA_TARGET_FLAGS); do \
38906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38908 (cd $(TARGET_SUBDIR)/zlib && \
38909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38911 "RANLIB=$${RANLIB}" \
38912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38918 .PHONY: maybe-clean-target-zlib clean-target-zlib
38919 maybe-clean-target-zlib:
38921 maybe-clean-target-zlib: clean-target-zlib
38924 @: $(MAKE); $(unstage)
38925 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38926 r=`${PWD_COMMAND}`; export r; \
38927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38928 $(NORMAL_TARGET_EXPORTS) \
38929 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
38930 for flag in $(EXTRA_TARGET_FLAGS); do \
38931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38933 (cd $(TARGET_SUBDIR)/zlib && \
38934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38936 "RANLIB=$${RANLIB}" \
38937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38943 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
38944 maybe-distclean-target-zlib:
38946 maybe-distclean-target-zlib: distclean-target-zlib
38948 distclean-target-zlib:
38949 @: $(MAKE); $(unstage)
38950 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38951 r=`${PWD_COMMAND}`; export r; \
38952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38953 $(NORMAL_TARGET_EXPORTS) \
38954 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
38955 for flag in $(EXTRA_TARGET_FLAGS); do \
38956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38958 (cd $(TARGET_SUBDIR)/zlib && \
38959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38961 "RANLIB=$${RANLIB}" \
38962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38968 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
38969 maybe-maintainer-clean-target-zlib:
38971 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
38973 maintainer-clean-target-zlib:
38974 @: $(MAKE); $(unstage)
38975 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
38976 r=`${PWD_COMMAND}`; export r; \
38977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38978 $(NORMAL_TARGET_EXPORTS) \
38979 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
38980 for flag in $(EXTRA_TARGET_FLAGS); do \
38981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38983 (cd $(TARGET_SUBDIR)/zlib && \
38984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38986 "RANLIB=$${RANLIB}" \
38987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38988 maintainer-clean) \
38997 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
38998 maybe-configure-target-boehm-gc:
39000 configure-target-boehm-gc: stage_current
39001 @endif gcc-bootstrap
39002 @if target-boehm-gc
39003 maybe-configure-target-boehm-gc: configure-target-boehm-gc
39004 configure-target-boehm-gc:
39005 @: $(MAKE); $(unstage)
39006 @r=`${PWD_COMMAND}`; export r; \
39007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39008 echo "Checking multilib configuration for boehm-gc..."; \
39009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39010 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
39011 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39012 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
39013 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
39015 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
39016 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39019 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
39021 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
39022 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
39023 $(NORMAL_TARGET_EXPORTS) \
39024 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
39025 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
39026 case $(srcdir) in \
39027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39028 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
39029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39031 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
39032 libsrcdir="$$s/boehm-gc"; \
39033 rm -f no-such-file || : ; \
39034 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39035 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39036 --target=${target_alias} $${srcdiroption} \
39038 @endif target-boehm-gc
39044 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
39045 maybe-all-target-boehm-gc:
39047 all-target-boehm-gc: stage_current
39048 @endif gcc-bootstrap
39049 @if target-boehm-gc
39050 TARGET-target-boehm-gc=all
39051 maybe-all-target-boehm-gc: all-target-boehm-gc
39052 all-target-boehm-gc: configure-target-boehm-gc
39053 @: $(MAKE); $(unstage)
39054 @r=`${PWD_COMMAND}`; export r; \
39055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39056 $(NORMAL_TARGET_EXPORTS) \
39057 (cd $(TARGET_SUBDIR)/boehm-gc && \
39058 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39059 $(TARGET-target-boehm-gc))
39060 @endif target-boehm-gc
39066 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
39067 maybe-check-target-boehm-gc:
39068 @if target-boehm-gc
39069 maybe-check-target-boehm-gc: check-target-boehm-gc
39071 check-target-boehm-gc:
39072 @: $(MAKE); $(unstage)
39073 @r=`${PWD_COMMAND}`; export r; \
39074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39075 $(NORMAL_TARGET_EXPORTS) \
39076 (cd $(TARGET_SUBDIR)/boehm-gc && \
39077 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39079 @endif target-boehm-gc
39081 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
39082 maybe-install-target-boehm-gc:
39083 @if target-boehm-gc
39084 maybe-install-target-boehm-gc: install-target-boehm-gc
39086 install-target-boehm-gc: installdirs
39087 @: $(MAKE); $(unstage)
39088 @r=`${PWD_COMMAND}`; export r; \
39089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39090 $(NORMAL_TARGET_EXPORTS) \
39091 (cd $(TARGET_SUBDIR)/boehm-gc && \
39092 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39094 @endif target-boehm-gc
39096 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
39097 maybe-install-strip-target-boehm-gc:
39098 @if target-boehm-gc
39099 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
39101 install-strip-target-boehm-gc: installdirs
39102 @: $(MAKE); $(unstage)
39103 @r=`${PWD_COMMAND}`; export r; \
39104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39105 $(NORMAL_TARGET_EXPORTS) \
39106 (cd $(TARGET_SUBDIR)/boehm-gc && \
39107 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39109 @endif target-boehm-gc
39111 # Other targets (info, dvi, pdf, etc.)
39113 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
39114 maybe-info-target-boehm-gc:
39115 @if target-boehm-gc
39116 maybe-info-target-boehm-gc: info-target-boehm-gc
39118 info-target-boehm-gc: \
39119 configure-target-boehm-gc
39120 @: $(MAKE); $(unstage)
39121 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39122 r=`${PWD_COMMAND}`; export r; \
39123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39124 $(NORMAL_TARGET_EXPORTS) \
39125 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
39126 for flag in $(EXTRA_TARGET_FLAGS); do \
39127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39129 (cd $(TARGET_SUBDIR)/boehm-gc && \
39130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39132 "RANLIB=$${RANLIB}" \
39133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39137 @endif target-boehm-gc
39139 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
39140 maybe-dvi-target-boehm-gc:
39141 @if target-boehm-gc
39142 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
39144 dvi-target-boehm-gc: \
39145 configure-target-boehm-gc
39146 @: $(MAKE); $(unstage)
39147 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39148 r=`${PWD_COMMAND}`; export r; \
39149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39150 $(NORMAL_TARGET_EXPORTS) \
39151 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
39152 for flag in $(EXTRA_TARGET_FLAGS); do \
39153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39155 (cd $(TARGET_SUBDIR)/boehm-gc && \
39156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39158 "RANLIB=$${RANLIB}" \
39159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39163 @endif target-boehm-gc
39165 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
39166 maybe-pdf-target-boehm-gc:
39167 @if target-boehm-gc
39168 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
39170 pdf-target-boehm-gc: \
39171 configure-target-boehm-gc
39172 @: $(MAKE); $(unstage)
39173 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39174 r=`${PWD_COMMAND}`; export r; \
39175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39176 $(NORMAL_TARGET_EXPORTS) \
39177 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39178 for flag in $(EXTRA_TARGET_FLAGS); do \
39179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39181 (cd $(TARGET_SUBDIR)/boehm-gc && \
39182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39184 "RANLIB=$${RANLIB}" \
39185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39189 @endif target-boehm-gc
39191 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
39192 maybe-html-target-boehm-gc:
39193 @if target-boehm-gc
39194 maybe-html-target-boehm-gc: html-target-boehm-gc
39196 html-target-boehm-gc: \
39197 configure-target-boehm-gc
39198 @: $(MAKE); $(unstage)
39199 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39200 r=`${PWD_COMMAND}`; export r; \
39201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39202 $(NORMAL_TARGET_EXPORTS) \
39203 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
39204 for flag in $(EXTRA_TARGET_FLAGS); do \
39205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39207 (cd $(TARGET_SUBDIR)/boehm-gc && \
39208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39210 "RANLIB=$${RANLIB}" \
39211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39215 @endif target-boehm-gc
39217 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
39218 maybe-TAGS-target-boehm-gc:
39219 @if target-boehm-gc
39220 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
39222 TAGS-target-boehm-gc: \
39223 configure-target-boehm-gc
39224 @: $(MAKE); $(unstage)
39225 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39226 r=`${PWD_COMMAND}`; export r; \
39227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39228 $(NORMAL_TARGET_EXPORTS) \
39229 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
39230 for flag in $(EXTRA_TARGET_FLAGS); do \
39231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39233 (cd $(TARGET_SUBDIR)/boehm-gc && \
39234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39236 "RANLIB=$${RANLIB}" \
39237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39241 @endif target-boehm-gc
39243 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
39244 maybe-install-info-target-boehm-gc:
39245 @if target-boehm-gc
39246 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
39248 install-info-target-boehm-gc: \
39249 configure-target-boehm-gc \
39250 info-target-boehm-gc
39251 @: $(MAKE); $(unstage)
39252 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39253 r=`${PWD_COMMAND}`; export r; \
39254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39255 $(NORMAL_TARGET_EXPORTS) \
39256 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
39257 for flag in $(EXTRA_TARGET_FLAGS); do \
39258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39260 (cd $(TARGET_SUBDIR)/boehm-gc && \
39261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39263 "RANLIB=$${RANLIB}" \
39264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39268 @endif target-boehm-gc
39270 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
39271 maybe-install-pdf-target-boehm-gc:
39272 @if target-boehm-gc
39273 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
39275 install-pdf-target-boehm-gc: \
39276 configure-target-boehm-gc \
39277 pdf-target-boehm-gc
39278 @: $(MAKE); $(unstage)
39279 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39280 r=`${PWD_COMMAND}`; export r; \
39281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39282 $(NORMAL_TARGET_EXPORTS) \
39283 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
39284 for flag in $(EXTRA_TARGET_FLAGS); do \
39285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39287 (cd $(TARGET_SUBDIR)/boehm-gc && \
39288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39290 "RANLIB=$${RANLIB}" \
39291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39295 @endif target-boehm-gc
39297 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
39298 maybe-install-html-target-boehm-gc:
39299 @if target-boehm-gc
39300 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
39302 install-html-target-boehm-gc: \
39303 configure-target-boehm-gc \
39304 html-target-boehm-gc
39305 @: $(MAKE); $(unstage)
39306 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39307 r=`${PWD_COMMAND}`; export r; \
39308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39309 $(NORMAL_TARGET_EXPORTS) \
39310 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
39311 for flag in $(EXTRA_TARGET_FLAGS); do \
39312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39314 (cd $(TARGET_SUBDIR)/boehm-gc && \
39315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39317 "RANLIB=$${RANLIB}" \
39318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39322 @endif target-boehm-gc
39324 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
39325 maybe-installcheck-target-boehm-gc:
39326 @if target-boehm-gc
39327 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
39329 installcheck-target-boehm-gc: \
39330 configure-target-boehm-gc
39331 @: $(MAKE); $(unstage)
39332 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39333 r=`${PWD_COMMAND}`; export r; \
39334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39335 $(NORMAL_TARGET_EXPORTS) \
39336 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
39337 for flag in $(EXTRA_TARGET_FLAGS); do \
39338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39340 (cd $(TARGET_SUBDIR)/boehm-gc && \
39341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39343 "RANLIB=$${RANLIB}" \
39344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39348 @endif target-boehm-gc
39350 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
39351 maybe-mostlyclean-target-boehm-gc:
39352 @if target-boehm-gc
39353 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
39355 mostlyclean-target-boehm-gc:
39356 @: $(MAKE); $(unstage)
39357 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39358 r=`${PWD_COMMAND}`; export r; \
39359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39360 $(NORMAL_TARGET_EXPORTS) \
39361 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39362 for flag in $(EXTRA_TARGET_FLAGS); do \
39363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39365 (cd $(TARGET_SUBDIR)/boehm-gc && \
39366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39368 "RANLIB=$${RANLIB}" \
39369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39373 @endif target-boehm-gc
39375 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
39376 maybe-clean-target-boehm-gc:
39377 @if target-boehm-gc
39378 maybe-clean-target-boehm-gc: clean-target-boehm-gc
39380 clean-target-boehm-gc:
39381 @: $(MAKE); $(unstage)
39382 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39383 r=`${PWD_COMMAND}`; export r; \
39384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39385 $(NORMAL_TARGET_EXPORTS) \
39386 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39387 for flag in $(EXTRA_TARGET_FLAGS); do \
39388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39390 (cd $(TARGET_SUBDIR)/boehm-gc && \
39391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39393 "RANLIB=$${RANLIB}" \
39394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39398 @endif target-boehm-gc
39400 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
39401 maybe-distclean-target-boehm-gc:
39402 @if target-boehm-gc
39403 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
39405 distclean-target-boehm-gc:
39406 @: $(MAKE); $(unstage)
39407 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39408 r=`${PWD_COMMAND}`; export r; \
39409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39410 $(NORMAL_TARGET_EXPORTS) \
39411 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
39412 for flag in $(EXTRA_TARGET_FLAGS); do \
39413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39415 (cd $(TARGET_SUBDIR)/boehm-gc && \
39416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39418 "RANLIB=$${RANLIB}" \
39419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39423 @endif target-boehm-gc
39425 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
39426 maybe-maintainer-clean-target-boehm-gc:
39427 @if target-boehm-gc
39428 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
39430 maintainer-clean-target-boehm-gc:
39431 @: $(MAKE); $(unstage)
39432 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
39433 r=`${PWD_COMMAND}`; export r; \
39434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39435 $(NORMAL_TARGET_EXPORTS) \
39436 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
39437 for flag in $(EXTRA_TARGET_FLAGS); do \
39438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39440 (cd $(TARGET_SUBDIR)/boehm-gc && \
39441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39443 "RANLIB=$${RANLIB}" \
39444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39445 maintainer-clean) \
39448 @endif target-boehm-gc
39454 .PHONY: configure-target-rda maybe-configure-target-rda
39455 maybe-configure-target-rda:
39457 configure-target-rda: stage_current
39458 @endif gcc-bootstrap
39460 maybe-configure-target-rda: configure-target-rda
39461 configure-target-rda:
39462 @: $(MAKE); $(unstage)
39463 @r=`${PWD_COMMAND}`; export r; \
39464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39465 echo "Checking multilib configuration for rda..."; \
39466 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
39467 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
39468 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
39469 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
39470 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
39472 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
39473 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
39476 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
39478 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
39479 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
39480 $(NORMAL_TARGET_EXPORTS) \
39481 echo Configuring in $(TARGET_SUBDIR)/rda; \
39482 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
39483 case $(srcdir) in \
39484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39485 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
39486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39488 srcdiroption="--srcdir=$${topdir}/rda"; \
39489 libsrcdir="$$s/rda"; \
39490 rm -f no-such-file || : ; \
39491 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39492 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39493 --target=${target_alias} $${srcdiroption} \
39501 .PHONY: all-target-rda maybe-all-target-rda
39502 maybe-all-target-rda:
39504 all-target-rda: stage_current
39505 @endif gcc-bootstrap
39507 TARGET-target-rda=all
39508 maybe-all-target-rda: all-target-rda
39509 all-target-rda: configure-target-rda
39510 @: $(MAKE); $(unstage)
39511 @r=`${PWD_COMMAND}`; export r; \
39512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39513 $(NORMAL_TARGET_EXPORTS) \
39514 (cd $(TARGET_SUBDIR)/rda && \
39515 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39516 $(TARGET-target-rda))
39523 .PHONY: check-target-rda maybe-check-target-rda
39524 maybe-check-target-rda:
39526 maybe-check-target-rda: check-target-rda
39529 @: $(MAKE); $(unstage)
39530 @r=`${PWD_COMMAND}`; export r; \
39531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39532 $(NORMAL_TARGET_EXPORTS) \
39533 (cd $(TARGET_SUBDIR)/rda && \
39534 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39538 .PHONY: install-target-rda maybe-install-target-rda
39539 maybe-install-target-rda:
39541 maybe-install-target-rda: install-target-rda
39543 install-target-rda: installdirs
39544 @: $(MAKE); $(unstage)
39545 @r=`${PWD_COMMAND}`; export r; \
39546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39547 $(NORMAL_TARGET_EXPORTS) \
39548 (cd $(TARGET_SUBDIR)/rda && \
39549 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39553 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
39554 maybe-install-strip-target-rda:
39556 maybe-install-strip-target-rda: install-strip-target-rda
39558 install-strip-target-rda: installdirs
39559 @: $(MAKE); $(unstage)
39560 @r=`${PWD_COMMAND}`; export r; \
39561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39562 $(NORMAL_TARGET_EXPORTS) \
39563 (cd $(TARGET_SUBDIR)/rda && \
39564 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39568 # Other targets (info, dvi, pdf, etc.)
39570 .PHONY: maybe-info-target-rda info-target-rda
39571 maybe-info-target-rda:
39573 maybe-info-target-rda: info-target-rda
39576 configure-target-rda
39577 @: $(MAKE); $(unstage)
39578 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39579 r=`${PWD_COMMAND}`; export r; \
39580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39581 $(NORMAL_TARGET_EXPORTS) \
39582 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
39583 for flag in $(EXTRA_TARGET_FLAGS); do \
39584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39586 (cd $(TARGET_SUBDIR)/rda && \
39587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39589 "RANLIB=$${RANLIB}" \
39590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39596 .PHONY: maybe-dvi-target-rda dvi-target-rda
39597 maybe-dvi-target-rda:
39599 maybe-dvi-target-rda: dvi-target-rda
39602 configure-target-rda
39603 @: $(MAKE); $(unstage)
39604 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39605 r=`${PWD_COMMAND}`; export r; \
39606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39607 $(NORMAL_TARGET_EXPORTS) \
39608 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
39609 for flag in $(EXTRA_TARGET_FLAGS); do \
39610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39612 (cd $(TARGET_SUBDIR)/rda && \
39613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39615 "RANLIB=$${RANLIB}" \
39616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39622 .PHONY: maybe-pdf-target-rda pdf-target-rda
39623 maybe-pdf-target-rda:
39625 maybe-pdf-target-rda: pdf-target-rda
39628 configure-target-rda
39629 @: $(MAKE); $(unstage)
39630 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39631 r=`${PWD_COMMAND}`; export r; \
39632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39633 $(NORMAL_TARGET_EXPORTS) \
39634 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
39635 for flag in $(EXTRA_TARGET_FLAGS); do \
39636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39638 (cd $(TARGET_SUBDIR)/rda && \
39639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39641 "RANLIB=$${RANLIB}" \
39642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39648 .PHONY: maybe-html-target-rda html-target-rda
39649 maybe-html-target-rda:
39651 maybe-html-target-rda: html-target-rda
39654 configure-target-rda
39655 @: $(MAKE); $(unstage)
39656 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39657 r=`${PWD_COMMAND}`; export r; \
39658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39659 $(NORMAL_TARGET_EXPORTS) \
39660 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
39661 for flag in $(EXTRA_TARGET_FLAGS); do \
39662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39664 (cd $(TARGET_SUBDIR)/rda && \
39665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39667 "RANLIB=$${RANLIB}" \
39668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39674 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
39675 maybe-TAGS-target-rda:
39677 maybe-TAGS-target-rda: TAGS-target-rda
39680 configure-target-rda
39681 @: $(MAKE); $(unstage)
39682 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39683 r=`${PWD_COMMAND}`; export r; \
39684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39685 $(NORMAL_TARGET_EXPORTS) \
39686 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
39687 for flag in $(EXTRA_TARGET_FLAGS); do \
39688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39690 (cd $(TARGET_SUBDIR)/rda && \
39691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39693 "RANLIB=$${RANLIB}" \
39694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39700 .PHONY: maybe-install-info-target-rda install-info-target-rda
39701 maybe-install-info-target-rda:
39703 maybe-install-info-target-rda: install-info-target-rda
39705 install-info-target-rda: \
39706 configure-target-rda \
39708 @: $(MAKE); $(unstage)
39709 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39710 r=`${PWD_COMMAND}`; export r; \
39711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39712 $(NORMAL_TARGET_EXPORTS) \
39713 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
39714 for flag in $(EXTRA_TARGET_FLAGS); do \
39715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39717 (cd $(TARGET_SUBDIR)/rda && \
39718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39720 "RANLIB=$${RANLIB}" \
39721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39727 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
39728 maybe-install-pdf-target-rda:
39730 maybe-install-pdf-target-rda: install-pdf-target-rda
39732 install-pdf-target-rda: \
39733 configure-target-rda \
39735 @: $(MAKE); $(unstage)
39736 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39737 r=`${PWD_COMMAND}`; export r; \
39738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39739 $(NORMAL_TARGET_EXPORTS) \
39740 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
39741 for flag in $(EXTRA_TARGET_FLAGS); do \
39742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39744 (cd $(TARGET_SUBDIR)/rda && \
39745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39747 "RANLIB=$${RANLIB}" \
39748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39754 .PHONY: maybe-install-html-target-rda install-html-target-rda
39755 maybe-install-html-target-rda:
39757 maybe-install-html-target-rda: install-html-target-rda
39759 install-html-target-rda: \
39760 configure-target-rda \
39762 @: $(MAKE); $(unstage)
39763 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39764 r=`${PWD_COMMAND}`; export r; \
39765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39766 $(NORMAL_TARGET_EXPORTS) \
39767 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
39768 for flag in $(EXTRA_TARGET_FLAGS); do \
39769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39771 (cd $(TARGET_SUBDIR)/rda && \
39772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39774 "RANLIB=$${RANLIB}" \
39775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39781 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
39782 maybe-installcheck-target-rda:
39784 maybe-installcheck-target-rda: installcheck-target-rda
39786 installcheck-target-rda: \
39787 configure-target-rda
39788 @: $(MAKE); $(unstage)
39789 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39790 r=`${PWD_COMMAND}`; export r; \
39791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39792 $(NORMAL_TARGET_EXPORTS) \
39793 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
39794 for flag in $(EXTRA_TARGET_FLAGS); do \
39795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39797 (cd $(TARGET_SUBDIR)/rda && \
39798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39800 "RANLIB=$${RANLIB}" \
39801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39807 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
39808 maybe-mostlyclean-target-rda:
39810 maybe-mostlyclean-target-rda: mostlyclean-target-rda
39812 mostlyclean-target-rda:
39813 @: $(MAKE); $(unstage)
39814 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39815 r=`${PWD_COMMAND}`; export r; \
39816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39817 $(NORMAL_TARGET_EXPORTS) \
39818 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
39819 for flag in $(EXTRA_TARGET_FLAGS); do \
39820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39822 (cd $(TARGET_SUBDIR)/rda && \
39823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39825 "RANLIB=$${RANLIB}" \
39826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39832 .PHONY: maybe-clean-target-rda clean-target-rda
39833 maybe-clean-target-rda:
39835 maybe-clean-target-rda: clean-target-rda
39838 @: $(MAKE); $(unstage)
39839 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39840 r=`${PWD_COMMAND}`; export r; \
39841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39842 $(NORMAL_TARGET_EXPORTS) \
39843 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
39844 for flag in $(EXTRA_TARGET_FLAGS); do \
39845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39847 (cd $(TARGET_SUBDIR)/rda && \
39848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39850 "RANLIB=$${RANLIB}" \
39851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39857 .PHONY: maybe-distclean-target-rda distclean-target-rda
39858 maybe-distclean-target-rda:
39860 maybe-distclean-target-rda: distclean-target-rda
39862 distclean-target-rda:
39863 @: $(MAKE); $(unstage)
39864 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39865 r=`${PWD_COMMAND}`; export r; \
39866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39867 $(NORMAL_TARGET_EXPORTS) \
39868 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
39869 for flag in $(EXTRA_TARGET_FLAGS); do \
39870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39872 (cd $(TARGET_SUBDIR)/rda && \
39873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39875 "RANLIB=$${RANLIB}" \
39876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39882 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
39883 maybe-maintainer-clean-target-rda:
39885 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
39887 maintainer-clean-target-rda:
39888 @: $(MAKE); $(unstage)
39889 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
39890 r=`${PWD_COMMAND}`; export r; \
39891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39892 $(NORMAL_TARGET_EXPORTS) \
39893 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
39894 for flag in $(EXTRA_TARGET_FLAGS); do \
39895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39897 (cd $(TARGET_SUBDIR)/rda && \
39898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39900 "RANLIB=$${RANLIB}" \
39901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39902 maintainer-clean) \
39911 .PHONY: configure-target-libada maybe-configure-target-libada
39912 maybe-configure-target-libada:
39914 configure-target-libada: stage_current
39915 @endif gcc-bootstrap
39917 maybe-configure-target-libada: configure-target-libada
39918 configure-target-libada:
39919 @: $(MAKE); $(unstage)
39920 @r=`${PWD_COMMAND}`; export r; \
39921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39922 echo "Checking multilib configuration for libada..."; \
39923 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
39924 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
39925 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
39926 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
39927 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
39929 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
39930 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
39933 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
39935 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
39936 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
39937 $(NORMAL_TARGET_EXPORTS) \
39938 echo Configuring in $(TARGET_SUBDIR)/libada; \
39939 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
39940 case $(srcdir) in \
39941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39942 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
39943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39945 srcdiroption="--srcdir=$${topdir}/libada"; \
39946 libsrcdir="$$s/libada"; \
39947 rm -f no-such-file || : ; \
39948 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39949 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39950 --target=${target_alias} $${srcdiroption} \
39952 @endif target-libada
39958 .PHONY: all-target-libada maybe-all-target-libada
39959 maybe-all-target-libada:
39961 all-target-libada: stage_current
39962 @endif gcc-bootstrap
39964 TARGET-target-libada=all
39965 maybe-all-target-libada: all-target-libada
39966 all-target-libada: configure-target-libada
39967 @: $(MAKE); $(unstage)
39968 @r=`${PWD_COMMAND}`; export r; \
39969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39970 $(NORMAL_TARGET_EXPORTS) \
39971 (cd $(TARGET_SUBDIR)/libada && \
39972 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39973 $(TARGET-target-libada))
39974 @endif target-libada
39980 .PHONY: check-target-libada maybe-check-target-libada
39981 maybe-check-target-libada:
39983 maybe-check-target-libada: check-target-libada
39985 check-target-libada:
39986 @: $(MAKE); $(unstage)
39987 @r=`${PWD_COMMAND}`; export r; \
39988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39989 $(NORMAL_TARGET_EXPORTS) \
39990 (cd $(TARGET_SUBDIR)/libada && \
39991 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39993 @endif target-libada
39995 .PHONY: install-target-libada maybe-install-target-libada
39996 maybe-install-target-libada:
39998 maybe-install-target-libada: install-target-libada
40000 install-target-libada: installdirs
40001 @: $(MAKE); $(unstage)
40002 @r=`${PWD_COMMAND}`; export r; \
40003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40004 $(NORMAL_TARGET_EXPORTS) \
40005 (cd $(TARGET_SUBDIR)/libada && \
40006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40008 @endif target-libada
40010 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
40011 maybe-install-strip-target-libada:
40013 maybe-install-strip-target-libada: install-strip-target-libada
40015 install-strip-target-libada: installdirs
40016 @: $(MAKE); $(unstage)
40017 @r=`${PWD_COMMAND}`; export r; \
40018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40019 $(NORMAL_TARGET_EXPORTS) \
40020 (cd $(TARGET_SUBDIR)/libada && \
40021 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40023 @endif target-libada
40025 # Other targets (info, dvi, pdf, etc.)
40027 .PHONY: maybe-info-target-libada info-target-libada
40028 maybe-info-target-libada:
40030 maybe-info-target-libada: info-target-libada
40032 info-target-libada: \
40033 configure-target-libada
40034 @: $(MAKE); $(unstage)
40035 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40036 r=`${PWD_COMMAND}`; export r; \
40037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40038 $(NORMAL_TARGET_EXPORTS) \
40039 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
40040 for flag in $(EXTRA_TARGET_FLAGS); do \
40041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40043 (cd $(TARGET_SUBDIR)/libada && \
40044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40046 "RANLIB=$${RANLIB}" \
40047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40051 @endif target-libada
40053 .PHONY: maybe-dvi-target-libada dvi-target-libada
40054 maybe-dvi-target-libada:
40056 maybe-dvi-target-libada: dvi-target-libada
40058 dvi-target-libada: \
40059 configure-target-libada
40060 @: $(MAKE); $(unstage)
40061 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40062 r=`${PWD_COMMAND}`; export r; \
40063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40064 $(NORMAL_TARGET_EXPORTS) \
40065 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
40066 for flag in $(EXTRA_TARGET_FLAGS); do \
40067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40069 (cd $(TARGET_SUBDIR)/libada && \
40070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40072 "RANLIB=$${RANLIB}" \
40073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40077 @endif target-libada
40079 .PHONY: maybe-pdf-target-libada pdf-target-libada
40080 maybe-pdf-target-libada:
40082 maybe-pdf-target-libada: pdf-target-libada
40084 pdf-target-libada: \
40085 configure-target-libada
40086 @: $(MAKE); $(unstage)
40087 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40088 r=`${PWD_COMMAND}`; export r; \
40089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40090 $(NORMAL_TARGET_EXPORTS) \
40091 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
40092 for flag in $(EXTRA_TARGET_FLAGS); do \
40093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40095 (cd $(TARGET_SUBDIR)/libada && \
40096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40098 "RANLIB=$${RANLIB}" \
40099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40103 @endif target-libada
40105 .PHONY: maybe-html-target-libada html-target-libada
40106 maybe-html-target-libada:
40108 maybe-html-target-libada: html-target-libada
40110 html-target-libada: \
40111 configure-target-libada
40112 @: $(MAKE); $(unstage)
40113 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40114 r=`${PWD_COMMAND}`; export r; \
40115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40116 $(NORMAL_TARGET_EXPORTS) \
40117 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
40118 for flag in $(EXTRA_TARGET_FLAGS); do \
40119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40121 (cd $(TARGET_SUBDIR)/libada && \
40122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40124 "RANLIB=$${RANLIB}" \
40125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40129 @endif target-libada
40131 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
40132 maybe-TAGS-target-libada:
40134 maybe-TAGS-target-libada: TAGS-target-libada
40136 TAGS-target-libada: \
40137 configure-target-libada
40138 @: $(MAKE); $(unstage)
40139 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40140 r=`${PWD_COMMAND}`; export r; \
40141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40142 $(NORMAL_TARGET_EXPORTS) \
40143 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
40144 for flag in $(EXTRA_TARGET_FLAGS); do \
40145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40147 (cd $(TARGET_SUBDIR)/libada && \
40148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40150 "RANLIB=$${RANLIB}" \
40151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40155 @endif target-libada
40157 .PHONY: maybe-install-info-target-libada install-info-target-libada
40158 maybe-install-info-target-libada:
40160 maybe-install-info-target-libada: install-info-target-libada
40162 install-info-target-libada: \
40163 configure-target-libada \
40165 @: $(MAKE); $(unstage)
40166 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40167 r=`${PWD_COMMAND}`; export r; \
40168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40169 $(NORMAL_TARGET_EXPORTS) \
40170 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
40171 for flag in $(EXTRA_TARGET_FLAGS); do \
40172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40174 (cd $(TARGET_SUBDIR)/libada && \
40175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40177 "RANLIB=$${RANLIB}" \
40178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40182 @endif target-libada
40184 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
40185 maybe-install-pdf-target-libada:
40187 maybe-install-pdf-target-libada: install-pdf-target-libada
40189 install-pdf-target-libada: \
40190 configure-target-libada \
40192 @: $(MAKE); $(unstage)
40193 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40194 r=`${PWD_COMMAND}`; export r; \
40195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40196 $(NORMAL_TARGET_EXPORTS) \
40197 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
40198 for flag in $(EXTRA_TARGET_FLAGS); do \
40199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40201 (cd $(TARGET_SUBDIR)/libada && \
40202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40204 "RANLIB=$${RANLIB}" \
40205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40209 @endif target-libada
40211 .PHONY: maybe-install-html-target-libada install-html-target-libada
40212 maybe-install-html-target-libada:
40214 maybe-install-html-target-libada: install-html-target-libada
40216 install-html-target-libada: \
40217 configure-target-libada \
40219 @: $(MAKE); $(unstage)
40220 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40221 r=`${PWD_COMMAND}`; export r; \
40222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40223 $(NORMAL_TARGET_EXPORTS) \
40224 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
40225 for flag in $(EXTRA_TARGET_FLAGS); do \
40226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40228 (cd $(TARGET_SUBDIR)/libada && \
40229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40231 "RANLIB=$${RANLIB}" \
40232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40236 @endif target-libada
40238 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
40239 maybe-installcheck-target-libada:
40241 maybe-installcheck-target-libada: installcheck-target-libada
40243 installcheck-target-libada: \
40244 configure-target-libada
40245 @: $(MAKE); $(unstage)
40246 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40247 r=`${PWD_COMMAND}`; export r; \
40248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40249 $(NORMAL_TARGET_EXPORTS) \
40250 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
40251 for flag in $(EXTRA_TARGET_FLAGS); do \
40252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40254 (cd $(TARGET_SUBDIR)/libada && \
40255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40257 "RANLIB=$${RANLIB}" \
40258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40262 @endif target-libada
40264 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
40265 maybe-mostlyclean-target-libada:
40267 maybe-mostlyclean-target-libada: mostlyclean-target-libada
40269 mostlyclean-target-libada:
40270 @: $(MAKE); $(unstage)
40271 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40272 r=`${PWD_COMMAND}`; export r; \
40273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40274 $(NORMAL_TARGET_EXPORTS) \
40275 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
40276 for flag in $(EXTRA_TARGET_FLAGS); do \
40277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40279 (cd $(TARGET_SUBDIR)/libada && \
40280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40282 "RANLIB=$${RANLIB}" \
40283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40287 @endif target-libada
40289 .PHONY: maybe-clean-target-libada clean-target-libada
40290 maybe-clean-target-libada:
40292 maybe-clean-target-libada: clean-target-libada
40294 clean-target-libada:
40295 @: $(MAKE); $(unstage)
40296 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40297 r=`${PWD_COMMAND}`; export r; \
40298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40299 $(NORMAL_TARGET_EXPORTS) \
40300 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
40301 for flag in $(EXTRA_TARGET_FLAGS); do \
40302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40304 (cd $(TARGET_SUBDIR)/libada && \
40305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40307 "RANLIB=$${RANLIB}" \
40308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40312 @endif target-libada
40314 .PHONY: maybe-distclean-target-libada distclean-target-libada
40315 maybe-distclean-target-libada:
40317 maybe-distclean-target-libada: distclean-target-libada
40319 distclean-target-libada:
40320 @: $(MAKE); $(unstage)
40321 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40322 r=`${PWD_COMMAND}`; export r; \
40323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40324 $(NORMAL_TARGET_EXPORTS) \
40325 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
40326 for flag in $(EXTRA_TARGET_FLAGS); do \
40327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40329 (cd $(TARGET_SUBDIR)/libada && \
40330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40332 "RANLIB=$${RANLIB}" \
40333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40337 @endif target-libada
40339 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
40340 maybe-maintainer-clean-target-libada:
40342 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
40344 maintainer-clean-target-libada:
40345 @: $(MAKE); $(unstage)
40346 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
40347 r=`${PWD_COMMAND}`; export r; \
40348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40349 $(NORMAL_TARGET_EXPORTS) \
40350 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
40351 for flag in $(EXTRA_TARGET_FLAGS); do \
40352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40354 (cd $(TARGET_SUBDIR)/libada && \
40355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40357 "RANLIB=$${RANLIB}" \
40358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40359 maintainer-clean) \
40362 @endif target-libada
40368 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
40369 maybe-configure-target-libgomp:
40371 configure-target-libgomp: stage_current
40372 @endif gcc-bootstrap
40374 maybe-configure-target-libgomp: configure-target-libgomp
40375 configure-target-libgomp:
40376 @r=`${PWD_COMMAND}`; export r; \
40377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40378 echo "Checking multilib configuration for libgomp..."; \
40379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40381 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40382 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40383 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40385 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40386 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40389 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40391 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40393 $(NORMAL_TARGET_EXPORTS) \
40394 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
40395 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
40396 case $(srcdir) in \
40397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40398 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40401 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40402 libsrcdir="$$s/libgomp"; \
40403 rm -f no-such-file || : ; \
40404 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40405 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40406 --target=${target_alias} $${srcdiroption} \
40408 @endif target-libgomp
40412 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
40413 maybe-configure-stage1-target-libgomp:
40414 @if target-libgomp-bootstrap
40415 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
40416 configure-stage1-target-libgomp:
40417 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40418 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40419 @r=`${PWD_COMMAND}`; export r; \
40420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40421 TFLAGS="$(STAGE1_TFLAGS)"; \
40422 echo "Checking multilib configuration for libgomp..."; \
40423 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40424 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40425 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40426 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40428 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40429 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40432 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40434 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40435 $(NORMAL_TARGET_EXPORTS) \
40436 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40437 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40438 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40439 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
40440 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40441 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40442 case $(srcdir) in \
40443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40444 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40447 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40448 libsrcdir="$$s/libgomp"; \
40449 $(SHELL) $${libsrcdir}/configure \
40450 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40451 --target=${target_alias} $${srcdiroption} \
40452 $(STAGE1_CONFIGURE_FLAGS)
40453 @endif target-libgomp-bootstrap
40455 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
40456 maybe-configure-stage2-target-libgomp:
40457 @if target-libgomp-bootstrap
40458 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
40459 configure-stage2-target-libgomp:
40460 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40461 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40462 @r=`${PWD_COMMAND}`; export r; \
40463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40464 TFLAGS="$(STAGE2_TFLAGS)"; \
40465 echo "Checking multilib configuration for libgomp..."; \
40466 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40467 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40468 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40469 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40471 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40472 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40475 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40477 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40478 $(NORMAL_TARGET_EXPORTS) \
40480 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40481 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40482 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40483 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
40484 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40485 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40486 case $(srcdir) in \
40487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40488 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40491 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40492 libsrcdir="$$s/libgomp"; \
40493 $(SHELL) $${libsrcdir}/configure \
40494 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40495 --target=${target_alias} $${srcdiroption} \
40496 --with-build-libsubdir=$(HOST_SUBDIR) \
40497 $(STAGE2_CONFIGURE_FLAGS)
40498 @endif target-libgomp-bootstrap
40500 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
40501 maybe-configure-stage3-target-libgomp:
40502 @if target-libgomp-bootstrap
40503 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
40504 configure-stage3-target-libgomp:
40505 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40506 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40507 @r=`${PWD_COMMAND}`; export r; \
40508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40509 TFLAGS="$(STAGE3_TFLAGS)"; \
40510 echo "Checking multilib configuration for libgomp..."; \
40511 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40512 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40513 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40514 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40516 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40517 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40520 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40522 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40523 $(NORMAL_TARGET_EXPORTS) \
40525 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40526 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40527 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40528 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
40529 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40530 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40531 case $(srcdir) in \
40532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40533 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40536 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40537 libsrcdir="$$s/libgomp"; \
40538 $(SHELL) $${libsrcdir}/configure \
40539 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40540 --target=${target_alias} $${srcdiroption} \
40541 --with-build-libsubdir=$(HOST_SUBDIR) \
40542 $(STAGE3_CONFIGURE_FLAGS)
40543 @endif target-libgomp-bootstrap
40545 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
40546 maybe-configure-stage4-target-libgomp:
40547 @if target-libgomp-bootstrap
40548 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
40549 configure-stage4-target-libgomp:
40550 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40551 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40552 @r=`${PWD_COMMAND}`; export r; \
40553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40554 TFLAGS="$(STAGE4_TFLAGS)"; \
40555 echo "Checking multilib configuration for libgomp..."; \
40556 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40557 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40558 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40559 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40561 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40562 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40565 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40567 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40568 $(NORMAL_TARGET_EXPORTS) \
40570 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40571 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40572 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40573 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
40574 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40575 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40576 case $(srcdir) in \
40577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40578 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40581 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40582 libsrcdir="$$s/libgomp"; \
40583 $(SHELL) $${libsrcdir}/configure \
40584 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40585 --target=${target_alias} $${srcdiroption} \
40586 --with-build-libsubdir=$(HOST_SUBDIR) \
40587 $(STAGE4_CONFIGURE_FLAGS)
40588 @endif target-libgomp-bootstrap
40590 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
40591 maybe-configure-stageprofile-target-libgomp:
40592 @if target-libgomp-bootstrap
40593 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
40594 configure-stageprofile-target-libgomp:
40595 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40596 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40597 @r=`${PWD_COMMAND}`; export r; \
40598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40599 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40600 echo "Checking multilib configuration for libgomp..."; \
40601 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40602 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40603 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40604 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40606 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40607 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40610 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40612 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40613 $(NORMAL_TARGET_EXPORTS) \
40615 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40616 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40617 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40618 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
40619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40620 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40621 case $(srcdir) in \
40622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40623 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40626 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40627 libsrcdir="$$s/libgomp"; \
40628 $(SHELL) $${libsrcdir}/configure \
40629 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40630 --target=${target_alias} $${srcdiroption} \
40631 --with-build-libsubdir=$(HOST_SUBDIR) \
40632 $(STAGEprofile_CONFIGURE_FLAGS)
40633 @endif target-libgomp-bootstrap
40635 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
40636 maybe-configure-stagefeedback-target-libgomp:
40637 @if target-libgomp-bootstrap
40638 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
40639 configure-stagefeedback-target-libgomp:
40640 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40641 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
40642 @r=`${PWD_COMMAND}`; export r; \
40643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40644 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40645 echo "Checking multilib configuration for libgomp..."; \
40646 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
40647 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40648 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
40649 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
40651 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
40652 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40655 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
40657 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
40658 $(NORMAL_TARGET_EXPORTS) \
40660 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40661 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40662 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40663 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
40664 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
40665 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
40666 case $(srcdir) in \
40667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40668 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
40669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40671 srcdiroption="--srcdir=$${topdir}/libgomp"; \
40672 libsrcdir="$$s/libgomp"; \
40673 $(SHELL) $${libsrcdir}/configure \
40674 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40675 --target=${target_alias} $${srcdiroption} \
40676 --with-build-libsubdir=$(HOST_SUBDIR) \
40677 $(STAGEfeedback_CONFIGURE_FLAGS)
40678 @endif target-libgomp-bootstrap
40684 .PHONY: all-target-libgomp maybe-all-target-libgomp
40685 maybe-all-target-libgomp:
40687 all-target-libgomp: stage_current
40688 @endif gcc-bootstrap
40690 TARGET-target-libgomp=all
40691 maybe-all-target-libgomp: all-target-libgomp
40692 all-target-libgomp: configure-target-libgomp
40693 @r=`${PWD_COMMAND}`; export r; \
40694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40695 $(NORMAL_TARGET_EXPORTS) \
40696 (cd $(TARGET_SUBDIR)/libgomp && \
40697 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40698 $(TARGET-target-libgomp))
40699 @endif target-libgomp
40703 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
40704 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
40705 maybe-all-stage1-target-libgomp:
40706 maybe-clean-stage1-target-libgomp:
40707 @if target-libgomp-bootstrap
40708 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
40709 all-stage1: all-stage1-target-libgomp
40710 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
40711 all-stage1-target-libgomp: configure-stage1-target-libgomp
40712 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40713 @r=`${PWD_COMMAND}`; export r; \
40714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40715 TFLAGS="$(STAGE1_TFLAGS)"; \
40716 $(NORMAL_TARGET_EXPORTS) \
40717 cd $(TARGET_SUBDIR)/libgomp && \
40718 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40719 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40720 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40721 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40722 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40723 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40724 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40725 $(EXTRA_TARGET_FLAGS) \
40727 TFLAGS="$(STAGE1_TFLAGS)" \
40728 $(TARGET-stage1-target-libgomp)
40730 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
40731 clean-stage1: clean-stage1-target-libgomp
40732 clean-stage1-target-libgomp:
40733 @if [ $(current_stage) = stage1 ]; then \
40734 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40736 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
40737 $(MAKE) stage1-start; \
40739 cd $(TARGET_SUBDIR)/libgomp && \
40740 $(MAKE) $(EXTRA_TARGET_FLAGS) \
40742 @endif target-libgomp-bootstrap
40745 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
40746 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
40747 maybe-all-stage2-target-libgomp:
40748 maybe-clean-stage2-target-libgomp:
40749 @if target-libgomp-bootstrap
40750 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
40751 all-stage2: all-stage2-target-libgomp
40752 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
40753 all-stage2-target-libgomp: configure-stage2-target-libgomp
40754 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40755 @r=`${PWD_COMMAND}`; export r; \
40756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40757 TFLAGS="$(STAGE2_TFLAGS)"; \
40758 $(NORMAL_TARGET_EXPORTS) \
40760 cd $(TARGET_SUBDIR)/libgomp && \
40761 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40762 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40763 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40764 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40765 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40766 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40767 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40768 $(EXTRA_TARGET_FLAGS) \
40769 TFLAGS="$(STAGE2_TFLAGS)" \
40770 $(TARGET-stage2-target-libgomp)
40772 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
40773 clean-stage2: clean-stage2-target-libgomp
40774 clean-stage2-target-libgomp:
40775 @if [ $(current_stage) = stage2 ]; then \
40776 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40778 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
40779 $(MAKE) stage2-start; \
40781 cd $(TARGET_SUBDIR)/libgomp && \
40782 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
40783 @endif target-libgomp-bootstrap
40786 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
40787 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
40788 maybe-all-stage3-target-libgomp:
40789 maybe-clean-stage3-target-libgomp:
40790 @if target-libgomp-bootstrap
40791 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
40792 all-stage3: all-stage3-target-libgomp
40793 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
40794 all-stage3-target-libgomp: configure-stage3-target-libgomp
40795 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40796 @r=`${PWD_COMMAND}`; export r; \
40797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40798 TFLAGS="$(STAGE3_TFLAGS)"; \
40799 $(NORMAL_TARGET_EXPORTS) \
40801 cd $(TARGET_SUBDIR)/libgomp && \
40802 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40803 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40804 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40805 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40809 $(EXTRA_TARGET_FLAGS) \
40810 TFLAGS="$(STAGE3_TFLAGS)" \
40811 $(TARGET-stage3-target-libgomp)
40813 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
40814 clean-stage3: clean-stage3-target-libgomp
40815 clean-stage3-target-libgomp:
40816 @if [ $(current_stage) = stage3 ]; then \
40817 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40819 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
40820 $(MAKE) stage3-start; \
40822 cd $(TARGET_SUBDIR)/libgomp && \
40823 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
40824 @endif target-libgomp-bootstrap
40827 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
40828 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
40829 maybe-all-stage4-target-libgomp:
40830 maybe-clean-stage4-target-libgomp:
40831 @if target-libgomp-bootstrap
40832 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
40833 all-stage4: all-stage4-target-libgomp
40834 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
40835 all-stage4-target-libgomp: configure-stage4-target-libgomp
40836 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40837 @r=`${PWD_COMMAND}`; export r; \
40838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40839 TFLAGS="$(STAGE4_TFLAGS)"; \
40840 $(NORMAL_TARGET_EXPORTS) \
40842 cd $(TARGET_SUBDIR)/libgomp && \
40843 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40844 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40845 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40846 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40847 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40848 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40849 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40850 $(EXTRA_TARGET_FLAGS) \
40851 TFLAGS="$(STAGE4_TFLAGS)" \
40852 $(TARGET-stage4-target-libgomp)
40854 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
40855 clean-stage4: clean-stage4-target-libgomp
40856 clean-stage4-target-libgomp:
40857 @if [ $(current_stage) = stage4 ]; then \
40858 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40860 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
40861 $(MAKE) stage4-start; \
40863 cd $(TARGET_SUBDIR)/libgomp && \
40864 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
40865 @endif target-libgomp-bootstrap
40868 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
40869 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
40870 maybe-all-stageprofile-target-libgomp:
40871 maybe-clean-stageprofile-target-libgomp:
40872 @if target-libgomp-bootstrap
40873 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
40874 all-stageprofile: all-stageprofile-target-libgomp
40875 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
40876 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
40877 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40878 @r=`${PWD_COMMAND}`; export r; \
40879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40880 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40881 $(NORMAL_TARGET_EXPORTS) \
40883 cd $(TARGET_SUBDIR)/libgomp && \
40884 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40885 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40886 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40887 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40888 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40889 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40890 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40891 $(EXTRA_TARGET_FLAGS) \
40892 TFLAGS="$(STAGEprofile_TFLAGS)" \
40893 $(TARGET-stageprofile-target-libgomp)
40895 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
40896 clean-stageprofile: clean-stageprofile-target-libgomp
40897 clean-stageprofile-target-libgomp:
40898 @if [ $(current_stage) = stageprofile ]; then \
40899 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40901 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
40902 $(MAKE) stageprofile-start; \
40904 cd $(TARGET_SUBDIR)/libgomp && \
40905 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
40906 @endif target-libgomp-bootstrap
40909 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
40910 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
40911 maybe-all-stagefeedback-target-libgomp:
40912 maybe-clean-stagefeedback-target-libgomp:
40913 @if target-libgomp-bootstrap
40914 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
40915 all-stagefeedback: all-stagefeedback-target-libgomp
40916 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
40917 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
40918 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40919 @r=`${PWD_COMMAND}`; export r; \
40920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40921 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40922 $(NORMAL_TARGET_EXPORTS) \
40924 cd $(TARGET_SUBDIR)/libgomp && \
40925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40926 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40927 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40928 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40932 $(EXTRA_TARGET_FLAGS) \
40933 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40934 $(TARGET-stagefeedback-target-libgomp)
40936 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
40937 clean-stagefeedback: clean-stagefeedback-target-libgomp
40938 clean-stagefeedback-target-libgomp:
40939 @if [ $(current_stage) = stagefeedback ]; then \
40940 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
40942 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
40943 $(MAKE) stagefeedback-start; \
40945 cd $(TARGET_SUBDIR)/libgomp && \
40946 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
40947 @endif target-libgomp-bootstrap
40954 .PHONY: check-target-libgomp maybe-check-target-libgomp
40955 maybe-check-target-libgomp:
40957 maybe-check-target-libgomp: check-target-libgomp
40959 check-target-libgomp:
40960 @: $(MAKE); $(unstage)
40961 @r=`${PWD_COMMAND}`; export r; \
40962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40963 $(NORMAL_TARGET_EXPORTS) \
40964 (cd $(TARGET_SUBDIR)/libgomp && \
40965 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40967 @endif target-libgomp
40969 .PHONY: install-target-libgomp maybe-install-target-libgomp
40970 maybe-install-target-libgomp:
40972 maybe-install-target-libgomp: install-target-libgomp
40974 install-target-libgomp: installdirs
40975 @: $(MAKE); $(unstage)
40976 @r=`${PWD_COMMAND}`; export r; \
40977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40978 $(NORMAL_TARGET_EXPORTS) \
40979 (cd $(TARGET_SUBDIR)/libgomp && \
40980 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40982 @endif target-libgomp
40984 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
40985 maybe-install-strip-target-libgomp:
40987 maybe-install-strip-target-libgomp: install-strip-target-libgomp
40989 install-strip-target-libgomp: installdirs
40990 @: $(MAKE); $(unstage)
40991 @r=`${PWD_COMMAND}`; export r; \
40992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40993 $(NORMAL_TARGET_EXPORTS) \
40994 (cd $(TARGET_SUBDIR)/libgomp && \
40995 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40997 @endif target-libgomp
40999 # Other targets (info, dvi, pdf, etc.)
41001 .PHONY: maybe-info-target-libgomp info-target-libgomp
41002 maybe-info-target-libgomp:
41004 maybe-info-target-libgomp: info-target-libgomp
41006 info-target-libgomp: \
41007 configure-target-libgomp
41008 @: $(MAKE); $(unstage)
41009 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41010 r=`${PWD_COMMAND}`; export r; \
41011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41012 $(NORMAL_TARGET_EXPORTS) \
41013 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
41014 for flag in $(EXTRA_TARGET_FLAGS); do \
41015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41017 (cd $(TARGET_SUBDIR)/libgomp && \
41018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41020 "RANLIB=$${RANLIB}" \
41021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41025 @endif target-libgomp
41027 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
41028 maybe-dvi-target-libgomp:
41030 maybe-dvi-target-libgomp: dvi-target-libgomp
41032 dvi-target-libgomp: \
41033 configure-target-libgomp
41034 @: $(MAKE); $(unstage)
41035 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41036 r=`${PWD_COMMAND}`; export r; \
41037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41038 $(NORMAL_TARGET_EXPORTS) \
41039 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
41040 for flag in $(EXTRA_TARGET_FLAGS); do \
41041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41043 (cd $(TARGET_SUBDIR)/libgomp && \
41044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41046 "RANLIB=$${RANLIB}" \
41047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41051 @endif target-libgomp
41053 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
41054 maybe-pdf-target-libgomp:
41056 maybe-pdf-target-libgomp: pdf-target-libgomp
41058 pdf-target-libgomp: \
41059 configure-target-libgomp
41060 @: $(MAKE); $(unstage)
41061 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41062 r=`${PWD_COMMAND}`; export r; \
41063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41064 $(NORMAL_TARGET_EXPORTS) \
41065 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
41066 for flag in $(EXTRA_TARGET_FLAGS); do \
41067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41069 (cd $(TARGET_SUBDIR)/libgomp && \
41070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41072 "RANLIB=$${RANLIB}" \
41073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41077 @endif target-libgomp
41079 .PHONY: maybe-html-target-libgomp html-target-libgomp
41080 maybe-html-target-libgomp:
41082 maybe-html-target-libgomp: html-target-libgomp
41084 html-target-libgomp: \
41085 configure-target-libgomp
41086 @: $(MAKE); $(unstage)
41087 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41088 r=`${PWD_COMMAND}`; export r; \
41089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41090 $(NORMAL_TARGET_EXPORTS) \
41091 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
41092 for flag in $(EXTRA_TARGET_FLAGS); do \
41093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41095 (cd $(TARGET_SUBDIR)/libgomp && \
41096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41098 "RANLIB=$${RANLIB}" \
41099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41103 @endif target-libgomp
41105 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
41106 maybe-TAGS-target-libgomp:
41108 maybe-TAGS-target-libgomp: TAGS-target-libgomp
41110 TAGS-target-libgomp: \
41111 configure-target-libgomp
41112 @: $(MAKE); $(unstage)
41113 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41114 r=`${PWD_COMMAND}`; export r; \
41115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41116 $(NORMAL_TARGET_EXPORTS) \
41117 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
41118 for flag in $(EXTRA_TARGET_FLAGS); do \
41119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41121 (cd $(TARGET_SUBDIR)/libgomp && \
41122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41124 "RANLIB=$${RANLIB}" \
41125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41129 @endif target-libgomp
41131 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
41132 maybe-install-info-target-libgomp:
41134 maybe-install-info-target-libgomp: install-info-target-libgomp
41136 install-info-target-libgomp: \
41137 configure-target-libgomp \
41138 info-target-libgomp
41139 @: $(MAKE); $(unstage)
41140 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41141 r=`${PWD_COMMAND}`; export r; \
41142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41143 $(NORMAL_TARGET_EXPORTS) \
41144 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
41145 for flag in $(EXTRA_TARGET_FLAGS); do \
41146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41148 (cd $(TARGET_SUBDIR)/libgomp && \
41149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41151 "RANLIB=$${RANLIB}" \
41152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41156 @endif target-libgomp
41158 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
41159 maybe-install-pdf-target-libgomp:
41161 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
41163 install-pdf-target-libgomp: \
41164 configure-target-libgomp \
41166 @: $(MAKE); $(unstage)
41167 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41168 r=`${PWD_COMMAND}`; export r; \
41169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41170 $(NORMAL_TARGET_EXPORTS) \
41171 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
41172 for flag in $(EXTRA_TARGET_FLAGS); do \
41173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41175 (cd $(TARGET_SUBDIR)/libgomp && \
41176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41178 "RANLIB=$${RANLIB}" \
41179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41183 @endif target-libgomp
41185 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
41186 maybe-install-html-target-libgomp:
41188 maybe-install-html-target-libgomp: install-html-target-libgomp
41190 install-html-target-libgomp: \
41191 configure-target-libgomp \
41192 html-target-libgomp
41193 @: $(MAKE); $(unstage)
41194 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41195 r=`${PWD_COMMAND}`; export r; \
41196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41197 $(NORMAL_TARGET_EXPORTS) \
41198 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
41199 for flag in $(EXTRA_TARGET_FLAGS); do \
41200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41202 (cd $(TARGET_SUBDIR)/libgomp && \
41203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41205 "RANLIB=$${RANLIB}" \
41206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41210 @endif target-libgomp
41212 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
41213 maybe-installcheck-target-libgomp:
41215 maybe-installcheck-target-libgomp: installcheck-target-libgomp
41217 installcheck-target-libgomp: \
41218 configure-target-libgomp
41219 @: $(MAKE); $(unstage)
41220 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41221 r=`${PWD_COMMAND}`; export r; \
41222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41223 $(NORMAL_TARGET_EXPORTS) \
41224 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
41225 for flag in $(EXTRA_TARGET_FLAGS); do \
41226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41228 (cd $(TARGET_SUBDIR)/libgomp && \
41229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41231 "RANLIB=$${RANLIB}" \
41232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41236 @endif target-libgomp
41238 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
41239 maybe-mostlyclean-target-libgomp:
41241 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
41243 mostlyclean-target-libgomp:
41244 @: $(MAKE); $(unstage)
41245 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41246 r=`${PWD_COMMAND}`; export r; \
41247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41248 $(NORMAL_TARGET_EXPORTS) \
41249 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
41250 for flag in $(EXTRA_TARGET_FLAGS); do \
41251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41253 (cd $(TARGET_SUBDIR)/libgomp && \
41254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41256 "RANLIB=$${RANLIB}" \
41257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41261 @endif target-libgomp
41263 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
41264 maybe-clean-target-libgomp:
41266 maybe-clean-target-libgomp: clean-target-libgomp
41268 clean-target-libgomp:
41269 @: $(MAKE); $(unstage)
41270 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41271 r=`${PWD_COMMAND}`; export r; \
41272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41273 $(NORMAL_TARGET_EXPORTS) \
41274 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
41275 for flag in $(EXTRA_TARGET_FLAGS); do \
41276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41278 (cd $(TARGET_SUBDIR)/libgomp && \
41279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41281 "RANLIB=$${RANLIB}" \
41282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41286 @endif target-libgomp
41288 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
41289 maybe-distclean-target-libgomp:
41291 maybe-distclean-target-libgomp: distclean-target-libgomp
41293 distclean-target-libgomp:
41294 @: $(MAKE); $(unstage)
41295 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41296 r=`${PWD_COMMAND}`; export r; \
41297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41298 $(NORMAL_TARGET_EXPORTS) \
41299 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
41300 for flag in $(EXTRA_TARGET_FLAGS); do \
41301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41303 (cd $(TARGET_SUBDIR)/libgomp && \
41304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41306 "RANLIB=$${RANLIB}" \
41307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41311 @endif target-libgomp
41313 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
41314 maybe-maintainer-clean-target-libgomp:
41316 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
41318 maintainer-clean-target-libgomp:
41319 @: $(MAKE); $(unstage)
41320 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
41321 r=`${PWD_COMMAND}`; export r; \
41322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41323 $(NORMAL_TARGET_EXPORTS) \
41324 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
41325 for flag in $(EXTRA_TARGET_FLAGS); do \
41326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41328 (cd $(TARGET_SUBDIR)/libgomp && \
41329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41331 "RANLIB=$${RANLIB}" \
41332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41333 maintainer-clean) \
41336 @endif target-libgomp
41342 .PHONY: configure-target-libitm maybe-configure-target-libitm
41343 maybe-configure-target-libitm:
41345 configure-target-libitm: stage_current
41346 @endif gcc-bootstrap
41348 maybe-configure-target-libitm: configure-target-libitm
41349 configure-target-libitm:
41350 @: $(MAKE); $(unstage)
41351 @r=`${PWD_COMMAND}`; export r; \
41352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41353 echo "Checking multilib configuration for libitm..."; \
41354 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
41355 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
41356 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
41357 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
41358 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
41360 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
41361 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
41364 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
41366 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
41367 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
41368 $(NORMAL_TARGET_EXPORTS) \
41369 echo Configuring in $(TARGET_SUBDIR)/libitm; \
41370 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
41371 case $(srcdir) in \
41372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41373 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
41374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41376 srcdiroption="--srcdir=$${topdir}/libitm"; \
41377 libsrcdir="$$s/libitm"; \
41378 rm -f no-such-file || : ; \
41379 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41380 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41381 --target=${target_alias} $${srcdiroption} \
41383 @endif target-libitm
41389 .PHONY: all-target-libitm maybe-all-target-libitm
41390 maybe-all-target-libitm:
41392 all-target-libitm: stage_current
41393 @endif gcc-bootstrap
41395 TARGET-target-libitm=all
41396 maybe-all-target-libitm: all-target-libitm
41397 all-target-libitm: configure-target-libitm
41398 @: $(MAKE); $(unstage)
41399 @r=`${PWD_COMMAND}`; export r; \
41400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41401 $(NORMAL_TARGET_EXPORTS) \
41402 (cd $(TARGET_SUBDIR)/libitm && \
41403 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41404 $(TARGET-target-libitm))
41405 @endif target-libitm
41411 .PHONY: check-target-libitm maybe-check-target-libitm
41412 maybe-check-target-libitm:
41414 maybe-check-target-libitm: check-target-libitm
41416 check-target-libitm:
41417 @: $(MAKE); $(unstage)
41418 @r=`${PWD_COMMAND}`; export r; \
41419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41420 $(NORMAL_TARGET_EXPORTS) \
41421 (cd $(TARGET_SUBDIR)/libitm && \
41422 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41424 @endif target-libitm
41426 .PHONY: install-target-libitm maybe-install-target-libitm
41427 maybe-install-target-libitm:
41429 maybe-install-target-libitm: install-target-libitm
41431 install-target-libitm: installdirs
41432 @: $(MAKE); $(unstage)
41433 @r=`${PWD_COMMAND}`; export r; \
41434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41435 $(NORMAL_TARGET_EXPORTS) \
41436 (cd $(TARGET_SUBDIR)/libitm && \
41437 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41439 @endif target-libitm
41441 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
41442 maybe-install-strip-target-libitm:
41444 maybe-install-strip-target-libitm: install-strip-target-libitm
41446 install-strip-target-libitm: installdirs
41447 @: $(MAKE); $(unstage)
41448 @r=`${PWD_COMMAND}`; export r; \
41449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41450 $(NORMAL_TARGET_EXPORTS) \
41451 (cd $(TARGET_SUBDIR)/libitm && \
41452 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41454 @endif target-libitm
41456 # Other targets (info, dvi, pdf, etc.)
41458 .PHONY: maybe-info-target-libitm info-target-libitm
41459 maybe-info-target-libitm:
41461 maybe-info-target-libitm: info-target-libitm
41463 info-target-libitm: \
41464 configure-target-libitm
41465 @: $(MAKE); $(unstage)
41466 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41467 r=`${PWD_COMMAND}`; export r; \
41468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41469 $(NORMAL_TARGET_EXPORTS) \
41470 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
41471 for flag in $(EXTRA_TARGET_FLAGS); do \
41472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41474 (cd $(TARGET_SUBDIR)/libitm && \
41475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41477 "RANLIB=$${RANLIB}" \
41478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41482 @endif target-libitm
41484 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
41485 maybe-dvi-target-libitm:
41487 maybe-dvi-target-libitm: dvi-target-libitm
41489 dvi-target-libitm: \
41490 configure-target-libitm
41491 @: $(MAKE); $(unstage)
41492 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41493 r=`${PWD_COMMAND}`; export r; \
41494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41495 $(NORMAL_TARGET_EXPORTS) \
41496 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
41497 for flag in $(EXTRA_TARGET_FLAGS); do \
41498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41500 (cd $(TARGET_SUBDIR)/libitm && \
41501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41503 "RANLIB=$${RANLIB}" \
41504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41508 @endif target-libitm
41510 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
41511 maybe-pdf-target-libitm:
41513 maybe-pdf-target-libitm: pdf-target-libitm
41515 pdf-target-libitm: \
41516 configure-target-libitm
41517 @: $(MAKE); $(unstage)
41518 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41519 r=`${PWD_COMMAND}`; export r; \
41520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41521 $(NORMAL_TARGET_EXPORTS) \
41522 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
41523 for flag in $(EXTRA_TARGET_FLAGS); do \
41524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41526 (cd $(TARGET_SUBDIR)/libitm && \
41527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41529 "RANLIB=$${RANLIB}" \
41530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41534 @endif target-libitm
41536 .PHONY: maybe-html-target-libitm html-target-libitm
41537 maybe-html-target-libitm:
41539 maybe-html-target-libitm: html-target-libitm
41541 html-target-libitm: \
41542 configure-target-libitm
41543 @: $(MAKE); $(unstage)
41544 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41545 r=`${PWD_COMMAND}`; export r; \
41546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41547 $(NORMAL_TARGET_EXPORTS) \
41548 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
41549 for flag in $(EXTRA_TARGET_FLAGS); do \
41550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41552 (cd $(TARGET_SUBDIR)/libitm && \
41553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41555 "RANLIB=$${RANLIB}" \
41556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41560 @endif target-libitm
41562 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
41563 maybe-TAGS-target-libitm:
41565 maybe-TAGS-target-libitm: TAGS-target-libitm
41567 TAGS-target-libitm: \
41568 configure-target-libitm
41569 @: $(MAKE); $(unstage)
41570 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41571 r=`${PWD_COMMAND}`; export r; \
41572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41573 $(NORMAL_TARGET_EXPORTS) \
41574 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
41575 for flag in $(EXTRA_TARGET_FLAGS); do \
41576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41578 (cd $(TARGET_SUBDIR)/libitm && \
41579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41581 "RANLIB=$${RANLIB}" \
41582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41586 @endif target-libitm
41588 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
41589 maybe-install-info-target-libitm:
41591 maybe-install-info-target-libitm: install-info-target-libitm
41593 install-info-target-libitm: \
41594 configure-target-libitm \
41596 @: $(MAKE); $(unstage)
41597 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41598 r=`${PWD_COMMAND}`; export r; \
41599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41600 $(NORMAL_TARGET_EXPORTS) \
41601 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
41602 for flag in $(EXTRA_TARGET_FLAGS); do \
41603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41605 (cd $(TARGET_SUBDIR)/libitm && \
41606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41608 "RANLIB=$${RANLIB}" \
41609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41613 @endif target-libitm
41615 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
41616 maybe-install-pdf-target-libitm:
41618 maybe-install-pdf-target-libitm: install-pdf-target-libitm
41620 install-pdf-target-libitm: \
41621 configure-target-libitm \
41623 @: $(MAKE); $(unstage)
41624 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41625 r=`${PWD_COMMAND}`; export r; \
41626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41627 $(NORMAL_TARGET_EXPORTS) \
41628 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
41629 for flag in $(EXTRA_TARGET_FLAGS); do \
41630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41632 (cd $(TARGET_SUBDIR)/libitm && \
41633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41635 "RANLIB=$${RANLIB}" \
41636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41640 @endif target-libitm
41642 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
41643 maybe-install-html-target-libitm:
41645 maybe-install-html-target-libitm: install-html-target-libitm
41647 install-html-target-libitm: \
41648 configure-target-libitm \
41650 @: $(MAKE); $(unstage)
41651 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41652 r=`${PWD_COMMAND}`; export r; \
41653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41654 $(NORMAL_TARGET_EXPORTS) \
41655 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
41656 for flag in $(EXTRA_TARGET_FLAGS); do \
41657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41659 (cd $(TARGET_SUBDIR)/libitm && \
41660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41662 "RANLIB=$${RANLIB}" \
41663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41667 @endif target-libitm
41669 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
41670 maybe-installcheck-target-libitm:
41672 maybe-installcheck-target-libitm: installcheck-target-libitm
41674 installcheck-target-libitm: \
41675 configure-target-libitm
41676 @: $(MAKE); $(unstage)
41677 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41678 r=`${PWD_COMMAND}`; export r; \
41679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41680 $(NORMAL_TARGET_EXPORTS) \
41681 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
41682 for flag in $(EXTRA_TARGET_FLAGS); do \
41683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41685 (cd $(TARGET_SUBDIR)/libitm && \
41686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41688 "RANLIB=$${RANLIB}" \
41689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41693 @endif target-libitm
41695 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
41696 maybe-mostlyclean-target-libitm:
41698 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
41700 mostlyclean-target-libitm:
41701 @: $(MAKE); $(unstage)
41702 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41703 r=`${PWD_COMMAND}`; export r; \
41704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41705 $(NORMAL_TARGET_EXPORTS) \
41706 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
41707 for flag in $(EXTRA_TARGET_FLAGS); do \
41708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41710 (cd $(TARGET_SUBDIR)/libitm && \
41711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41713 "RANLIB=$${RANLIB}" \
41714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41718 @endif target-libitm
41720 .PHONY: maybe-clean-target-libitm clean-target-libitm
41721 maybe-clean-target-libitm:
41723 maybe-clean-target-libitm: clean-target-libitm
41725 clean-target-libitm:
41726 @: $(MAKE); $(unstage)
41727 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41728 r=`${PWD_COMMAND}`; export r; \
41729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41730 $(NORMAL_TARGET_EXPORTS) \
41731 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
41732 for flag in $(EXTRA_TARGET_FLAGS); do \
41733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41735 (cd $(TARGET_SUBDIR)/libitm && \
41736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41738 "RANLIB=$${RANLIB}" \
41739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41743 @endif target-libitm
41745 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
41746 maybe-distclean-target-libitm:
41748 maybe-distclean-target-libitm: distclean-target-libitm
41750 distclean-target-libitm:
41751 @: $(MAKE); $(unstage)
41752 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41753 r=`${PWD_COMMAND}`; export r; \
41754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41755 $(NORMAL_TARGET_EXPORTS) \
41756 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
41757 for flag in $(EXTRA_TARGET_FLAGS); do \
41758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41760 (cd $(TARGET_SUBDIR)/libitm && \
41761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41763 "RANLIB=$${RANLIB}" \
41764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41768 @endif target-libitm
41770 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
41771 maybe-maintainer-clean-target-libitm:
41773 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
41775 maintainer-clean-target-libitm:
41776 @: $(MAKE); $(unstage)
41777 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
41778 r=`${PWD_COMMAND}`; export r; \
41779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41780 $(NORMAL_TARGET_EXPORTS) \
41781 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
41782 for flag in $(EXTRA_TARGET_FLAGS); do \
41783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41785 (cd $(TARGET_SUBDIR)/libitm && \
41786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41788 "RANLIB=$${RANLIB}" \
41789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41790 maintainer-clean) \
41793 @endif target-libitm
41799 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
41800 maybe-configure-target-libatomic:
41802 configure-target-libatomic: stage_current
41803 @endif gcc-bootstrap
41804 @if target-libatomic
41805 maybe-configure-target-libatomic: configure-target-libatomic
41806 configure-target-libatomic:
41807 @: $(MAKE); $(unstage)
41808 @r=`${PWD_COMMAND}`; export r; \
41809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41810 echo "Checking multilib configuration for libatomic..."; \
41811 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
41812 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
41813 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
41814 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
41815 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
41817 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
41818 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
41821 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
41823 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
41824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
41825 $(NORMAL_TARGET_EXPORTS) \
41826 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
41827 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
41828 case $(srcdir) in \
41829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41830 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
41831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41833 srcdiroption="--srcdir=$${topdir}/libatomic"; \
41834 libsrcdir="$$s/libatomic"; \
41835 rm -f no-such-file || : ; \
41836 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41837 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41838 --target=${target_alias} $${srcdiroption} \
41840 @endif target-libatomic
41846 .PHONY: all-target-libatomic maybe-all-target-libatomic
41847 maybe-all-target-libatomic:
41849 all-target-libatomic: stage_current
41850 @endif gcc-bootstrap
41851 @if target-libatomic
41852 TARGET-target-libatomic=all
41853 maybe-all-target-libatomic: all-target-libatomic
41854 all-target-libatomic: configure-target-libatomic
41855 @: $(MAKE); $(unstage)
41856 @r=`${PWD_COMMAND}`; export r; \
41857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41858 $(NORMAL_TARGET_EXPORTS) \
41859 (cd $(TARGET_SUBDIR)/libatomic && \
41860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41861 $(TARGET-target-libatomic))
41862 @endif target-libatomic
41868 .PHONY: check-target-libatomic maybe-check-target-libatomic
41869 maybe-check-target-libatomic:
41870 @if target-libatomic
41871 maybe-check-target-libatomic: check-target-libatomic
41873 check-target-libatomic:
41874 @: $(MAKE); $(unstage)
41875 @r=`${PWD_COMMAND}`; export r; \
41876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41877 $(NORMAL_TARGET_EXPORTS) \
41878 (cd $(TARGET_SUBDIR)/libatomic && \
41879 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41881 @endif target-libatomic
41883 .PHONY: install-target-libatomic maybe-install-target-libatomic
41884 maybe-install-target-libatomic:
41885 @if target-libatomic
41886 maybe-install-target-libatomic: install-target-libatomic
41888 install-target-libatomic: installdirs
41889 @: $(MAKE); $(unstage)
41890 @r=`${PWD_COMMAND}`; export r; \
41891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41892 $(NORMAL_TARGET_EXPORTS) \
41893 (cd $(TARGET_SUBDIR)/libatomic && \
41894 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41896 @endif target-libatomic
41898 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
41899 maybe-install-strip-target-libatomic:
41900 @if target-libatomic
41901 maybe-install-strip-target-libatomic: install-strip-target-libatomic
41903 install-strip-target-libatomic: installdirs
41904 @: $(MAKE); $(unstage)
41905 @r=`${PWD_COMMAND}`; export r; \
41906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41907 $(NORMAL_TARGET_EXPORTS) \
41908 (cd $(TARGET_SUBDIR)/libatomic && \
41909 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41911 @endif target-libatomic
41913 # Other targets (info, dvi, pdf, etc.)
41915 .PHONY: maybe-info-target-libatomic info-target-libatomic
41916 maybe-info-target-libatomic:
41917 @if target-libatomic
41918 maybe-info-target-libatomic: info-target-libatomic
41920 info-target-libatomic: \
41921 configure-target-libatomic
41922 @: $(MAKE); $(unstage)
41923 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41924 r=`${PWD_COMMAND}`; export r; \
41925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41926 $(NORMAL_TARGET_EXPORTS) \
41927 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
41928 for flag in $(EXTRA_TARGET_FLAGS); do \
41929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41931 (cd $(TARGET_SUBDIR)/libatomic && \
41932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41934 "RANLIB=$${RANLIB}" \
41935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41939 @endif target-libatomic
41941 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
41942 maybe-dvi-target-libatomic:
41943 @if target-libatomic
41944 maybe-dvi-target-libatomic: dvi-target-libatomic
41946 dvi-target-libatomic: \
41947 configure-target-libatomic
41948 @: $(MAKE); $(unstage)
41949 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41950 r=`${PWD_COMMAND}`; export r; \
41951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41952 $(NORMAL_TARGET_EXPORTS) \
41953 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
41954 for flag in $(EXTRA_TARGET_FLAGS); do \
41955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41957 (cd $(TARGET_SUBDIR)/libatomic && \
41958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41960 "RANLIB=$${RANLIB}" \
41961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41965 @endif target-libatomic
41967 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
41968 maybe-pdf-target-libatomic:
41969 @if target-libatomic
41970 maybe-pdf-target-libatomic: pdf-target-libatomic
41972 pdf-target-libatomic: \
41973 configure-target-libatomic
41974 @: $(MAKE); $(unstage)
41975 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
41976 r=`${PWD_COMMAND}`; export r; \
41977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41978 $(NORMAL_TARGET_EXPORTS) \
41979 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
41980 for flag in $(EXTRA_TARGET_FLAGS); do \
41981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41983 (cd $(TARGET_SUBDIR)/libatomic && \
41984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41986 "RANLIB=$${RANLIB}" \
41987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41991 @endif target-libatomic
41993 .PHONY: maybe-html-target-libatomic html-target-libatomic
41994 maybe-html-target-libatomic:
41995 @if target-libatomic
41996 maybe-html-target-libatomic: html-target-libatomic
41998 html-target-libatomic: \
41999 configure-target-libatomic
42000 @: $(MAKE); $(unstage)
42001 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42002 r=`${PWD_COMMAND}`; export r; \
42003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42004 $(NORMAL_TARGET_EXPORTS) \
42005 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
42006 for flag in $(EXTRA_TARGET_FLAGS); do \
42007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42009 (cd $(TARGET_SUBDIR)/libatomic && \
42010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42012 "RANLIB=$${RANLIB}" \
42013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42017 @endif target-libatomic
42019 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
42020 maybe-TAGS-target-libatomic:
42021 @if target-libatomic
42022 maybe-TAGS-target-libatomic: TAGS-target-libatomic
42024 TAGS-target-libatomic: \
42025 configure-target-libatomic
42026 @: $(MAKE); $(unstage)
42027 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42028 r=`${PWD_COMMAND}`; export r; \
42029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42030 $(NORMAL_TARGET_EXPORTS) \
42031 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
42032 for flag in $(EXTRA_TARGET_FLAGS); do \
42033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42035 (cd $(TARGET_SUBDIR)/libatomic && \
42036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42038 "RANLIB=$${RANLIB}" \
42039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42043 @endif target-libatomic
42045 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
42046 maybe-install-info-target-libatomic:
42047 @if target-libatomic
42048 maybe-install-info-target-libatomic: install-info-target-libatomic
42050 install-info-target-libatomic: \
42051 configure-target-libatomic \
42052 info-target-libatomic
42053 @: $(MAKE); $(unstage)
42054 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42055 r=`${PWD_COMMAND}`; export r; \
42056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42057 $(NORMAL_TARGET_EXPORTS) \
42058 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
42059 for flag in $(EXTRA_TARGET_FLAGS); do \
42060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42062 (cd $(TARGET_SUBDIR)/libatomic && \
42063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42065 "RANLIB=$${RANLIB}" \
42066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42070 @endif target-libatomic
42072 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
42073 maybe-install-pdf-target-libatomic:
42074 @if target-libatomic
42075 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
42077 install-pdf-target-libatomic: \
42078 configure-target-libatomic \
42079 pdf-target-libatomic
42080 @: $(MAKE); $(unstage)
42081 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42082 r=`${PWD_COMMAND}`; export r; \
42083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42084 $(NORMAL_TARGET_EXPORTS) \
42085 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
42086 for flag in $(EXTRA_TARGET_FLAGS); do \
42087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42089 (cd $(TARGET_SUBDIR)/libatomic && \
42090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42092 "RANLIB=$${RANLIB}" \
42093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42097 @endif target-libatomic
42099 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
42100 maybe-install-html-target-libatomic:
42101 @if target-libatomic
42102 maybe-install-html-target-libatomic: install-html-target-libatomic
42104 install-html-target-libatomic: \
42105 configure-target-libatomic \
42106 html-target-libatomic
42107 @: $(MAKE); $(unstage)
42108 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42109 r=`${PWD_COMMAND}`; export r; \
42110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42111 $(NORMAL_TARGET_EXPORTS) \
42112 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
42113 for flag in $(EXTRA_TARGET_FLAGS); do \
42114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42116 (cd $(TARGET_SUBDIR)/libatomic && \
42117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42119 "RANLIB=$${RANLIB}" \
42120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42124 @endif target-libatomic
42126 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
42127 maybe-installcheck-target-libatomic:
42128 @if target-libatomic
42129 maybe-installcheck-target-libatomic: installcheck-target-libatomic
42131 installcheck-target-libatomic: \
42132 configure-target-libatomic
42133 @: $(MAKE); $(unstage)
42134 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42135 r=`${PWD_COMMAND}`; export r; \
42136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42137 $(NORMAL_TARGET_EXPORTS) \
42138 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
42139 for flag in $(EXTRA_TARGET_FLAGS); do \
42140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42142 (cd $(TARGET_SUBDIR)/libatomic && \
42143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42145 "RANLIB=$${RANLIB}" \
42146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42150 @endif target-libatomic
42152 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
42153 maybe-mostlyclean-target-libatomic:
42154 @if target-libatomic
42155 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
42157 mostlyclean-target-libatomic:
42158 @: $(MAKE); $(unstage)
42159 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42160 r=`${PWD_COMMAND}`; export r; \
42161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42162 $(NORMAL_TARGET_EXPORTS) \
42163 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
42164 for flag in $(EXTRA_TARGET_FLAGS); do \
42165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42167 (cd $(TARGET_SUBDIR)/libatomic && \
42168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42170 "RANLIB=$${RANLIB}" \
42171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42175 @endif target-libatomic
42177 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
42178 maybe-clean-target-libatomic:
42179 @if target-libatomic
42180 maybe-clean-target-libatomic: clean-target-libatomic
42182 clean-target-libatomic:
42183 @: $(MAKE); $(unstage)
42184 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42185 r=`${PWD_COMMAND}`; export r; \
42186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42187 $(NORMAL_TARGET_EXPORTS) \
42188 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
42189 for flag in $(EXTRA_TARGET_FLAGS); do \
42190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42192 (cd $(TARGET_SUBDIR)/libatomic && \
42193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42195 "RANLIB=$${RANLIB}" \
42196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42200 @endif target-libatomic
42202 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
42203 maybe-distclean-target-libatomic:
42204 @if target-libatomic
42205 maybe-distclean-target-libatomic: distclean-target-libatomic
42207 distclean-target-libatomic:
42208 @: $(MAKE); $(unstage)
42209 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42210 r=`${PWD_COMMAND}`; export r; \
42211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42212 $(NORMAL_TARGET_EXPORTS) \
42213 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
42214 for flag in $(EXTRA_TARGET_FLAGS); do \
42215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42217 (cd $(TARGET_SUBDIR)/libatomic && \
42218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42220 "RANLIB=$${RANLIB}" \
42221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42225 @endif target-libatomic
42227 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
42228 maybe-maintainer-clean-target-libatomic:
42229 @if target-libatomic
42230 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
42232 maintainer-clean-target-libatomic:
42233 @: $(MAKE); $(unstage)
42234 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
42235 r=`${PWD_COMMAND}`; export r; \
42236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42237 $(NORMAL_TARGET_EXPORTS) \
42238 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
42239 for flag in $(EXTRA_TARGET_FLAGS); do \
42240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42242 (cd $(TARGET_SUBDIR)/libatomic && \
42243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42245 "RANLIB=$${RANLIB}" \
42246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42247 maintainer-clean) \
42250 @endif target-libatomic
42254 @if target-libmudflap
42255 .PHONY: check-target-libmudflap-c++
42256 check-target-libmudflap-c++:
42257 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++frags.exp" check-target-libmudflap
42259 @endif target-libmudflap
42262 .PHONY: check-target-libgomp-c++
42263 check-target-libgomp-c++:
42264 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
42266 @endif target-libgomp
42269 .PHONY: check-target-libitm-c++
42270 check-target-libitm-c++:
42271 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
42273 @endif target-libitm
42279 @if gcc-no-bootstrap
42281 cross: all-build all-gas all-ld
42282 @r=`${PWD_COMMAND}`; export r; \
42283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42285 echo "Building the C and C++ compiler"; \
42286 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
42287 @r=`${PWD_COMMAND}`; export r; \
42288 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
42289 echo "Building runtime libraries"; \
42290 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
42291 @endif gcc-no-bootstrap
42295 .PHONY: check-gcc-c check-c
42297 r=`${PWD_COMMAND}`; export r; \
42298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42300 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
42301 check-c: check-gcc-c
42303 .PHONY: check-gcc-c++ check-c++
42305 r=`${PWD_COMMAND}`; export r; \
42306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42308 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
42309 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libmudflap-c++ check-target-libitm-c++ check-target-libgomp-c++
42311 .PHONY: check-gcc-fortran check-fortran
42313 r=`${PWD_COMMAND}`; export r; \
42314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42316 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
42317 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
42319 .PHONY: check-gcc-java check-java
42321 r=`${PWD_COMMAND}`; export r; \
42322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42324 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
42325 check-java: check-gcc-java check-target-libjava
42327 .PHONY: check-gcc-ada check-ada
42329 r=`${PWD_COMMAND}`; export r; \
42330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42332 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
42333 check-ada: check-gcc-ada check-target-libada
42335 .PHONY: check-gcc-objc check-objc
42337 r=`${PWD_COMMAND}`; export r; \
42338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42340 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
42341 check-objc: check-gcc-objc check-target-libobjc
42343 .PHONY: check-gcc-obj-c++ check-obj-c++
42345 r=`${PWD_COMMAND}`; export r; \
42346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42348 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
42349 check-obj-c++: check-gcc-obj-c++
42351 .PHONY: check-gcc-go check-go
42353 r=`${PWD_COMMAND}`; export r; \
42354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42356 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
42357 check-go: check-gcc-go check-target-libgo
42360 # The gcc part of install-no-fixedincludes, which relies on an intimate
42361 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
42362 .PHONY: gcc-install-no-fixedincludes
42363 gcc-install-no-fixedincludes:
42364 @if [ -f ./gcc/Makefile ]; then \
42365 r=`${PWD_COMMAND}`; export r; \
42366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42369 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
42373 # ---------------------
42374 # GCC bootstrap support
42375 # ---------------------
42377 # We track the current stage (the one in 'gcc') in the stage_current file.
42378 # stage_last instead tracks the stage that was built last. These targets
42379 # are dummy when toplevel bootstrap is not active.
42381 # While making host and target tools, symlinks to the final stage must be
42382 # there, so $(unstage) should be run at various points. To avoid excessive
42383 # recursive invocations of make, we "inline" them using a variable. These
42384 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
42385 # to avoid warnings from the GNU Make job server.
42392 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
42393 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
42394 current_stage = "`cat stage_current 2> /dev/null`"
42395 @endif gcc-bootstrap
42397 .PHONY: unstage stage
42399 @: $(MAKE); $(unstage)
42401 @: $(MAKE); $(stage)
42403 # Disable commands for lean bootstrap.
42406 # We name the build directories for the various stages "stage1-gcc",
42407 # "stage2-gcc","stage3-gcc", etc.
42409 # Since the 'compare' process will fail (on debugging information) if any
42410 # directory names are different, we need to link the gcc directory for
42411 # the previous stage to a constant name ('prev-gcc'), and to make the name of
42412 # the build directories constant as well. For the latter, we use naked names
42413 # like 'gcc', because the scripts in that directory assume it. We use
42414 # mv on platforms where symlinks to directories do not work or are not
42417 # 'touch' doesn't work right on some platforms.
42418 STAMP = echo timestamp >
42420 # We only want to compare .o files, so set this!
42424 .PHONY: stage1-start stage1-end
42427 @: $(MAKE); $(stage); \
42428 echo stage1 > stage_current ; \
42429 echo stage1 > stage_last; \
42430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42432 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
42433 mkdir stage1-bfd; \
42437 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
42438 mkdir stage1-opcodes; \
42439 mv stage1-opcodes opcodes
42442 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
42443 mkdir stage1-binutils; \
42444 mv stage1-binutils binutils
42447 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
42448 mkdir stage1-gas; \
42452 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
42453 mkdir stage1-gcc; \
42457 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
42458 mkdir stage1-gmp; \
42462 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
42463 mkdir stage1-mpfr; \
42464 mv stage1-mpfr mpfr
42467 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
42468 mkdir stage1-mpc; \
42472 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
42473 mkdir stage1-isl; \
42477 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
42478 mkdir stage1-cloog; \
42479 mv stage1-cloog cloog
42482 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
42483 mkdir stage1-libelf; \
42484 mv stage1-libelf libelf
42487 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
42488 mkdir stage1-gold; \
42489 mv stage1-gold gold
42492 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
42493 mkdir stage1-intl; \
42494 mv stage1-intl intl
42497 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
42502 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
42503 mkdir stage1-libbacktrace; \
42504 mv stage1-libbacktrace libbacktrace
42505 @endif libbacktrace
42507 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
42508 mkdir stage1-libcpp; \
42509 mv stage1-libcpp libcpp
42512 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
42513 mkdir stage1-libdecnumber; \
42514 mv stage1-libdecnumber libdecnumber
42515 @endif libdecnumber
42517 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
42518 mkdir stage1-libiberty; \
42519 mv stage1-libiberty libiberty
42522 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
42523 mkdir stage1-zlib; \
42524 mv stage1-zlib zlib
42527 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
42528 mkdir stage1-lto-plugin; \
42529 mv stage1-lto-plugin lto-plugin
42531 @[ -d stage1-$(TARGET_SUBDIR) ] || \
42532 mkdir stage1-$(TARGET_SUBDIR); \
42533 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
42537 @if test -d $(HOST_SUBDIR)/bfd ; then \
42538 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
42542 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42543 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
42547 @if test -d $(HOST_SUBDIR)/binutils ; then \
42548 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
42552 @if test -d $(HOST_SUBDIR)/gas ; then \
42553 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
42557 @if test -d $(HOST_SUBDIR)/gcc ; then \
42558 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
42562 @if test -d $(HOST_SUBDIR)/gmp ; then \
42563 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
42567 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42568 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
42572 @if test -d $(HOST_SUBDIR)/mpc ; then \
42573 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
42577 @if test -d $(HOST_SUBDIR)/isl ; then \
42578 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
42582 @if test -d $(HOST_SUBDIR)/cloog ; then \
42583 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
42587 @if test -d $(HOST_SUBDIR)/libelf ; then \
42588 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
42592 @if test -d $(HOST_SUBDIR)/gold ; then \
42593 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
42597 @if test -d $(HOST_SUBDIR)/intl ; then \
42598 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
42602 @if test -d $(HOST_SUBDIR)/ld ; then \
42603 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
42607 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
42608 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
42610 @endif libbacktrace
42612 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42613 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
42617 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42618 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
42620 @endif libdecnumber
42622 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42623 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
42627 @if test -d $(HOST_SUBDIR)/zlib ; then \
42628 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
42632 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42633 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
42636 @if test -d $(TARGET_SUBDIR) ; then \
42637 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
42639 rm -f stage_current
42641 # Bubble a bug fix through all the stages up to stage 1. They are
42642 # remade, but not reconfigured. The next stage (if any) will not be
42643 # reconfigured either.
42644 .PHONY: stage1-bubble
42646 @r=`${PWD_COMMAND}`; export r; \
42647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42648 if test -f stage1-lean ; then \
42649 echo Skipping rebuild of stage1 ; \
42651 $(MAKE) stage1-start; \
42652 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
42655 .PHONY: all-stage1 clean-stage1
42656 do-clean: clean-stage1
42658 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42659 # only possibility, but now it conflicts with no-bootstrap rules
42665 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42667 .PHONY: distclean-stage1
42669 @: $(MAKE); $(stage)
42670 @test "`cat stage_last`" != stage1 || rm -f stage_last
42674 @endif gcc-bootstrap
42677 .PHONY: stage2-start stage2-end
42680 @: $(MAKE); $(stage); \
42681 echo stage2 > stage_current ; \
42682 echo stage2 > stage_last; \
42683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
42685 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
42686 mkdir stage2-bfd; \
42687 mv stage2-bfd bfd ; \
42688 mv stage1-bfd prev-bfd || test -f stage1-lean
42691 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
42692 mkdir stage2-opcodes; \
42693 mv stage2-opcodes opcodes ; \
42694 mv stage1-opcodes prev-opcodes || test -f stage1-lean
42697 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
42698 mkdir stage2-binutils; \
42699 mv stage2-binutils binutils ; \
42700 mv stage1-binutils prev-binutils || test -f stage1-lean
42703 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
42704 mkdir stage2-gas; \
42705 mv stage2-gas gas ; \
42706 mv stage1-gas prev-gas || test -f stage1-lean
42709 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
42710 mkdir stage2-gcc; \
42711 mv stage2-gcc gcc ; \
42712 mv stage1-gcc prev-gcc || test -f stage1-lean
42715 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
42716 mkdir stage2-gmp; \
42717 mv stage2-gmp gmp ; \
42718 mv stage1-gmp prev-gmp || test -f stage1-lean
42721 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
42722 mkdir stage2-mpfr; \
42723 mv stage2-mpfr mpfr ; \
42724 mv stage1-mpfr prev-mpfr || test -f stage1-lean
42727 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
42728 mkdir stage2-mpc; \
42729 mv stage2-mpc mpc ; \
42730 mv stage1-mpc prev-mpc || test -f stage1-lean
42733 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
42734 mkdir stage2-isl; \
42735 mv stage2-isl isl ; \
42736 mv stage1-isl prev-isl || test -f stage1-lean
42739 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
42740 mkdir stage2-cloog; \
42741 mv stage2-cloog cloog ; \
42742 mv stage1-cloog prev-cloog || test -f stage1-lean
42745 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
42746 mkdir stage2-libelf; \
42747 mv stage2-libelf libelf ; \
42748 mv stage1-libelf prev-libelf || test -f stage1-lean
42751 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
42752 mkdir stage2-gold; \
42753 mv stage2-gold gold ; \
42754 mv stage1-gold prev-gold || test -f stage1-lean
42757 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
42758 mkdir stage2-intl; \
42759 mv stage2-intl intl ; \
42760 mv stage1-intl prev-intl || test -f stage1-lean
42763 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
42765 mv stage2-ld ld ; \
42766 mv stage1-ld prev-ld || test -f stage1-lean
42769 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
42770 mkdir stage2-libbacktrace; \
42771 mv stage2-libbacktrace libbacktrace ; \
42772 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
42773 @endif libbacktrace
42775 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
42776 mkdir stage2-libcpp; \
42777 mv stage2-libcpp libcpp ; \
42778 mv stage1-libcpp prev-libcpp || test -f stage1-lean
42781 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
42782 mkdir stage2-libdecnumber; \
42783 mv stage2-libdecnumber libdecnumber ; \
42784 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
42785 @endif libdecnumber
42787 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
42788 mkdir stage2-libiberty; \
42789 mv stage2-libiberty libiberty ; \
42790 mv stage1-libiberty prev-libiberty || test -f stage1-lean
42793 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
42794 mkdir stage2-zlib; \
42795 mv stage2-zlib zlib ; \
42796 mv stage1-zlib prev-zlib || test -f stage1-lean
42799 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
42800 mkdir stage2-lto-plugin; \
42801 mv stage2-lto-plugin lto-plugin ; \
42802 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
42804 @[ -d stage2-$(TARGET_SUBDIR) ] || \
42805 mkdir stage2-$(TARGET_SUBDIR); \
42806 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
42807 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
42811 @if test -d $(HOST_SUBDIR)/bfd ; then \
42812 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
42813 mv prev-bfd stage1-bfd ; : ; \
42817 @if test -d $(HOST_SUBDIR)/opcodes ; then \
42818 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
42819 mv prev-opcodes stage1-opcodes ; : ; \
42823 @if test -d $(HOST_SUBDIR)/binutils ; then \
42824 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
42825 mv prev-binutils stage1-binutils ; : ; \
42829 @if test -d $(HOST_SUBDIR)/gas ; then \
42830 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
42831 mv prev-gas stage1-gas ; : ; \
42835 @if test -d $(HOST_SUBDIR)/gcc ; then \
42836 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
42837 mv prev-gcc stage1-gcc ; : ; \
42841 @if test -d $(HOST_SUBDIR)/gmp ; then \
42842 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
42843 mv prev-gmp stage1-gmp ; : ; \
42847 @if test -d $(HOST_SUBDIR)/mpfr ; then \
42848 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
42849 mv prev-mpfr stage1-mpfr ; : ; \
42853 @if test -d $(HOST_SUBDIR)/mpc ; then \
42854 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
42855 mv prev-mpc stage1-mpc ; : ; \
42859 @if test -d $(HOST_SUBDIR)/isl ; then \
42860 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
42861 mv prev-isl stage1-isl ; : ; \
42865 @if test -d $(HOST_SUBDIR)/cloog ; then \
42866 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
42867 mv prev-cloog stage1-cloog ; : ; \
42871 @if test -d $(HOST_SUBDIR)/libelf ; then \
42872 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
42873 mv prev-libelf stage1-libelf ; : ; \
42877 @if test -d $(HOST_SUBDIR)/gold ; then \
42878 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
42879 mv prev-gold stage1-gold ; : ; \
42883 @if test -d $(HOST_SUBDIR)/intl ; then \
42884 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
42885 mv prev-intl stage1-intl ; : ; \
42889 @if test -d $(HOST_SUBDIR)/ld ; then \
42890 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
42891 mv prev-ld stage1-ld ; : ; \
42895 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
42896 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
42897 mv prev-libbacktrace stage1-libbacktrace ; : ; \
42899 @endif libbacktrace
42901 @if test -d $(HOST_SUBDIR)/libcpp ; then \
42902 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
42903 mv prev-libcpp stage1-libcpp ; : ; \
42907 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
42908 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
42909 mv prev-libdecnumber stage1-libdecnumber ; : ; \
42911 @endif libdecnumber
42913 @if test -d $(HOST_SUBDIR)/libiberty ; then \
42914 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
42915 mv prev-libiberty stage1-libiberty ; : ; \
42919 @if test -d $(HOST_SUBDIR)/zlib ; then \
42920 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
42921 mv prev-zlib stage1-zlib ; : ; \
42925 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
42926 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
42927 mv prev-lto-plugin stage1-lto-plugin ; : ; \
42930 @if test -d $(TARGET_SUBDIR) ; then \
42931 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
42932 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
42934 rm -f stage_current
42936 # Bubble a bug fix through all the stages up to stage 2. They are
42937 # remade, but not reconfigured. The next stage (if any) will not be
42938 # reconfigured either.
42939 .PHONY: stage2-bubble
42940 stage2-bubble:: stage1-bubble
42941 @r=`${PWD_COMMAND}`; export r; \
42942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42943 if test -f stage2-lean || test -f stage1-lean ; then \
42944 echo Skipping rebuild of stage2 ; \
42946 $(MAKE) stage2-start; \
42947 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
42950 .PHONY: all-stage2 clean-stage2
42951 do-clean: clean-stage2
42953 # FIXME: Will not need to be conditional when toplevel bootstrap is the
42954 # only possibility, but now it conflicts with no-bootstrap rules
42959 .PHONY: bootstrap2 bootstrap2-lean
42961 echo stage2 > stage_final
42962 @r=`${PWD_COMMAND}`; export r; \
42963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42964 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
42965 @: $(MAKE); $(unstage)
42966 @r=`${PWD_COMMAND}`; export r; \
42967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42968 TFLAGS="$(STAGE2_TFLAGS)"; \
42969 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42972 echo stage2 > stage_final
42973 @r=`${PWD_COMMAND}`; export r; \
42974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42975 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
42976 @: $(MAKE); $(unstage)
42977 @r=`${PWD_COMMAND}`; export r; \
42978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42979 TFLAGS="$(STAGE2_TFLAGS)"; \
42980 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
42983 # Rules to wipe a stage and all the following ones, also used for cleanstrap
42984 distclean-stage1:: distclean-stage2
42985 .PHONY: distclean-stage2
42987 @: $(MAKE); $(stage)
42988 @test "`cat stage_last`" != stage2 || rm -f stage_last
42992 @endif gcc-bootstrap
42995 .PHONY: stage3-start stage3-end
42998 @: $(MAKE); $(stage); \
42999 echo stage3 > stage_current ; \
43000 echo stage3 > stage_last; \
43001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43003 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
43004 mkdir stage3-bfd; \
43005 mv stage3-bfd bfd ; \
43006 mv stage2-bfd prev-bfd || test -f stage2-lean
43009 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
43010 mkdir stage3-opcodes; \
43011 mv stage3-opcodes opcodes ; \
43012 mv stage2-opcodes prev-opcodes || test -f stage2-lean
43015 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
43016 mkdir stage3-binutils; \
43017 mv stage3-binutils binutils ; \
43018 mv stage2-binutils prev-binutils || test -f stage2-lean
43021 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
43022 mkdir stage3-gas; \
43023 mv stage3-gas gas ; \
43024 mv stage2-gas prev-gas || test -f stage2-lean
43027 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
43028 mkdir stage3-gcc; \
43029 mv stage3-gcc gcc ; \
43030 mv stage2-gcc prev-gcc || test -f stage2-lean
43033 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
43034 mkdir stage3-gmp; \
43035 mv stage3-gmp gmp ; \
43036 mv stage2-gmp prev-gmp || test -f stage2-lean
43039 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
43040 mkdir stage3-mpfr; \
43041 mv stage3-mpfr mpfr ; \
43042 mv stage2-mpfr prev-mpfr || test -f stage2-lean
43045 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
43046 mkdir stage3-mpc; \
43047 mv stage3-mpc mpc ; \
43048 mv stage2-mpc prev-mpc || test -f stage2-lean
43051 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
43052 mkdir stage3-isl; \
43053 mv stage3-isl isl ; \
43054 mv stage2-isl prev-isl || test -f stage2-lean
43057 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
43058 mkdir stage3-cloog; \
43059 mv stage3-cloog cloog ; \
43060 mv stage2-cloog prev-cloog || test -f stage2-lean
43063 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
43064 mkdir stage3-libelf; \
43065 mv stage3-libelf libelf ; \
43066 mv stage2-libelf prev-libelf || test -f stage2-lean
43069 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
43070 mkdir stage3-gold; \
43071 mv stage3-gold gold ; \
43072 mv stage2-gold prev-gold || test -f stage2-lean
43075 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
43076 mkdir stage3-intl; \
43077 mv stage3-intl intl ; \
43078 mv stage2-intl prev-intl || test -f stage2-lean
43081 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
43083 mv stage3-ld ld ; \
43084 mv stage2-ld prev-ld || test -f stage2-lean
43087 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
43088 mkdir stage3-libbacktrace; \
43089 mv stage3-libbacktrace libbacktrace ; \
43090 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
43091 @endif libbacktrace
43093 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
43094 mkdir stage3-libcpp; \
43095 mv stage3-libcpp libcpp ; \
43096 mv stage2-libcpp prev-libcpp || test -f stage2-lean
43099 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
43100 mkdir stage3-libdecnumber; \
43101 mv stage3-libdecnumber libdecnumber ; \
43102 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
43103 @endif libdecnumber
43105 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
43106 mkdir stage3-libiberty; \
43107 mv stage3-libiberty libiberty ; \
43108 mv stage2-libiberty prev-libiberty || test -f stage2-lean
43111 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
43112 mkdir stage3-zlib; \
43113 mv stage3-zlib zlib ; \
43114 mv stage2-zlib prev-zlib || test -f stage2-lean
43117 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
43118 mkdir stage3-lto-plugin; \
43119 mv stage3-lto-plugin lto-plugin ; \
43120 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
43122 @[ -d stage3-$(TARGET_SUBDIR) ] || \
43123 mkdir stage3-$(TARGET_SUBDIR); \
43124 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43125 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
43129 @if test -d $(HOST_SUBDIR)/bfd ; then \
43130 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
43131 mv prev-bfd stage2-bfd ; : ; \
43135 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43136 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
43137 mv prev-opcodes stage2-opcodes ; : ; \
43141 @if test -d $(HOST_SUBDIR)/binutils ; then \
43142 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
43143 mv prev-binutils stage2-binutils ; : ; \
43147 @if test -d $(HOST_SUBDIR)/gas ; then \
43148 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
43149 mv prev-gas stage2-gas ; : ; \
43153 @if test -d $(HOST_SUBDIR)/gcc ; then \
43154 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
43155 mv prev-gcc stage2-gcc ; : ; \
43159 @if test -d $(HOST_SUBDIR)/gmp ; then \
43160 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
43161 mv prev-gmp stage2-gmp ; : ; \
43165 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43166 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
43167 mv prev-mpfr stage2-mpfr ; : ; \
43171 @if test -d $(HOST_SUBDIR)/mpc ; then \
43172 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
43173 mv prev-mpc stage2-mpc ; : ; \
43177 @if test -d $(HOST_SUBDIR)/isl ; then \
43178 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
43179 mv prev-isl stage2-isl ; : ; \
43183 @if test -d $(HOST_SUBDIR)/cloog ; then \
43184 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
43185 mv prev-cloog stage2-cloog ; : ; \
43189 @if test -d $(HOST_SUBDIR)/libelf ; then \
43190 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
43191 mv prev-libelf stage2-libelf ; : ; \
43195 @if test -d $(HOST_SUBDIR)/gold ; then \
43196 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
43197 mv prev-gold stage2-gold ; : ; \
43201 @if test -d $(HOST_SUBDIR)/intl ; then \
43202 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
43203 mv prev-intl stage2-intl ; : ; \
43207 @if test -d $(HOST_SUBDIR)/ld ; then \
43208 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
43209 mv prev-ld stage2-ld ; : ; \
43213 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43214 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
43215 mv prev-libbacktrace stage2-libbacktrace ; : ; \
43217 @endif libbacktrace
43219 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43220 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
43221 mv prev-libcpp stage2-libcpp ; : ; \
43225 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43226 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
43227 mv prev-libdecnumber stage2-libdecnumber ; : ; \
43229 @endif libdecnumber
43231 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43232 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
43233 mv prev-libiberty stage2-libiberty ; : ; \
43237 @if test -d $(HOST_SUBDIR)/zlib ; then \
43238 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
43239 mv prev-zlib stage2-zlib ; : ; \
43243 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43244 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
43245 mv prev-lto-plugin stage2-lto-plugin ; : ; \
43248 @if test -d $(TARGET_SUBDIR) ; then \
43249 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
43250 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
43252 rm -f stage_current
43254 # Bubble a bug fix through all the stages up to stage 3. They are
43255 # remade, but not reconfigured. The next stage (if any) will not be
43256 # reconfigured either.
43257 .PHONY: stage3-bubble
43258 stage3-bubble:: stage2-bubble
43259 @r=`${PWD_COMMAND}`; export r; \
43260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43261 if test -f stage3-lean || test -f stage2-lean ; then \
43262 echo Skipping rebuild of stage3 ; \
43264 $(MAKE) stage3-start; \
43266 rm -rf stage1-* ; \
43267 $(STAMP) stage1-lean ; \
43269 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
43271 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
43273 .PHONY: all-stage3 clean-stage3
43274 do-clean: clean-stage3
43276 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43277 # only possibility, but now it conflicts with no-bootstrap rules
43281 @r=`${PWD_COMMAND}`; export r; \
43282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43283 if test -f stage2-lean; then \
43284 echo Cannot compare object files as stage 2 was deleted. ; \
43287 : $(MAKE); $(stage); \
43288 rm -f .bad_compare ; \
43289 echo Comparing stages 2 and 3 ; \
43290 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
43291 files=`find stage3-* -name "*$(objext)" -print | \
43292 sed -n s,^stage$$sed-,,p` ; \
43293 for file in $${files} ; do \
43294 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
43295 if test ! -f $$f1; then continue; fi; \
43296 $(do-compare) > /dev/null 2>&1; \
43297 if test $$? -eq 1; then \
43299 @compare_exclusions@) \
43300 echo warning: $$file differs ;; \
43302 echo $$file differs >> .bad_compare ;; \
43306 if [ -f .bad_compare ]; then \
43307 echo "Bootstrap comparison failure!"; \
43308 cat .bad_compare; \
43311 echo Comparison successful.; \
43316 $(STAMP) stage2-lean; \
43321 .PHONY: bootstrap bootstrap-lean
43323 echo stage3 > stage_final
43324 @r=`${PWD_COMMAND}`; export r; \
43325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43326 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
43327 @: $(MAKE); $(unstage)
43328 @r=`${PWD_COMMAND}`; export r; \
43329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43330 TFLAGS="$(STAGE3_TFLAGS)"; \
43331 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43334 echo stage3 > stage_final
43335 @r=`${PWD_COMMAND}`; export r; \
43336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43337 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
43338 @: $(MAKE); $(unstage)
43339 @r=`${PWD_COMMAND}`; export r; \
43340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43341 TFLAGS="$(STAGE3_TFLAGS)"; \
43342 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43345 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43346 distclean-stage2:: distclean-stage3
43347 .PHONY: distclean-stage3
43349 @: $(MAKE); $(stage)
43350 @test "`cat stage_last`" != stage3 || rm -f stage_last
43351 rm -rf stage3-* compare
43355 cleanstrap: do-distclean local-clean
43356 echo stage3 > stage_final
43357 @r=`${PWD_COMMAND}`; export r; \
43358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43359 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
43360 @: $(MAKE); $(unstage)
43361 @r=`${PWD_COMMAND}`; export r; \
43362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43363 TFLAGS="$(STAGE3_TFLAGS)"; \
43364 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43366 @endif gcc-bootstrap
43369 .PHONY: stage4-start stage4-end
43372 @: $(MAKE); $(stage); \
43373 echo stage4 > stage_current ; \
43374 echo stage4 > stage_last; \
43375 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43377 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
43378 mkdir stage4-bfd; \
43379 mv stage4-bfd bfd ; \
43380 mv stage3-bfd prev-bfd || test -f stage3-lean
43383 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
43384 mkdir stage4-opcodes; \
43385 mv stage4-opcodes opcodes ; \
43386 mv stage3-opcodes prev-opcodes || test -f stage3-lean
43389 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
43390 mkdir stage4-binutils; \
43391 mv stage4-binutils binutils ; \
43392 mv stage3-binutils prev-binutils || test -f stage3-lean
43395 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
43396 mkdir stage4-gas; \
43397 mv stage4-gas gas ; \
43398 mv stage3-gas prev-gas || test -f stage3-lean
43401 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
43402 mkdir stage4-gcc; \
43403 mv stage4-gcc gcc ; \
43404 mv stage3-gcc prev-gcc || test -f stage3-lean
43407 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
43408 mkdir stage4-gmp; \
43409 mv stage4-gmp gmp ; \
43410 mv stage3-gmp prev-gmp || test -f stage3-lean
43413 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
43414 mkdir stage4-mpfr; \
43415 mv stage4-mpfr mpfr ; \
43416 mv stage3-mpfr prev-mpfr || test -f stage3-lean
43419 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
43420 mkdir stage4-mpc; \
43421 mv stage4-mpc mpc ; \
43422 mv stage3-mpc prev-mpc || test -f stage3-lean
43425 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
43426 mkdir stage4-isl; \
43427 mv stage4-isl isl ; \
43428 mv stage3-isl prev-isl || test -f stage3-lean
43431 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
43432 mkdir stage4-cloog; \
43433 mv stage4-cloog cloog ; \
43434 mv stage3-cloog prev-cloog || test -f stage3-lean
43437 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
43438 mkdir stage4-libelf; \
43439 mv stage4-libelf libelf ; \
43440 mv stage3-libelf prev-libelf || test -f stage3-lean
43443 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
43444 mkdir stage4-gold; \
43445 mv stage4-gold gold ; \
43446 mv stage3-gold prev-gold || test -f stage3-lean
43449 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
43450 mkdir stage4-intl; \
43451 mv stage4-intl intl ; \
43452 mv stage3-intl prev-intl || test -f stage3-lean
43455 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
43457 mv stage4-ld ld ; \
43458 mv stage3-ld prev-ld || test -f stage3-lean
43461 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
43462 mkdir stage4-libbacktrace; \
43463 mv stage4-libbacktrace libbacktrace ; \
43464 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
43465 @endif libbacktrace
43467 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
43468 mkdir stage4-libcpp; \
43469 mv stage4-libcpp libcpp ; \
43470 mv stage3-libcpp prev-libcpp || test -f stage3-lean
43473 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
43474 mkdir stage4-libdecnumber; \
43475 mv stage4-libdecnumber libdecnumber ; \
43476 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
43477 @endif libdecnumber
43479 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
43480 mkdir stage4-libiberty; \
43481 mv stage4-libiberty libiberty ; \
43482 mv stage3-libiberty prev-libiberty || test -f stage3-lean
43485 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
43486 mkdir stage4-zlib; \
43487 mv stage4-zlib zlib ; \
43488 mv stage3-zlib prev-zlib || test -f stage3-lean
43491 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
43492 mkdir stage4-lto-plugin; \
43493 mv stage4-lto-plugin lto-plugin ; \
43494 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
43496 @[ -d stage4-$(TARGET_SUBDIR) ] || \
43497 mkdir stage4-$(TARGET_SUBDIR); \
43498 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43499 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
43503 @if test -d $(HOST_SUBDIR)/bfd ; then \
43504 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
43505 mv prev-bfd stage3-bfd ; : ; \
43509 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43510 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
43511 mv prev-opcodes stage3-opcodes ; : ; \
43515 @if test -d $(HOST_SUBDIR)/binutils ; then \
43516 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
43517 mv prev-binutils stage3-binutils ; : ; \
43521 @if test -d $(HOST_SUBDIR)/gas ; then \
43522 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
43523 mv prev-gas stage3-gas ; : ; \
43527 @if test -d $(HOST_SUBDIR)/gcc ; then \
43528 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
43529 mv prev-gcc stage3-gcc ; : ; \
43533 @if test -d $(HOST_SUBDIR)/gmp ; then \
43534 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
43535 mv prev-gmp stage3-gmp ; : ; \
43539 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43540 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
43541 mv prev-mpfr stage3-mpfr ; : ; \
43545 @if test -d $(HOST_SUBDIR)/mpc ; then \
43546 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
43547 mv prev-mpc stage3-mpc ; : ; \
43551 @if test -d $(HOST_SUBDIR)/isl ; then \
43552 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
43553 mv prev-isl stage3-isl ; : ; \
43557 @if test -d $(HOST_SUBDIR)/cloog ; then \
43558 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
43559 mv prev-cloog stage3-cloog ; : ; \
43563 @if test -d $(HOST_SUBDIR)/libelf ; then \
43564 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
43565 mv prev-libelf stage3-libelf ; : ; \
43569 @if test -d $(HOST_SUBDIR)/gold ; then \
43570 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
43571 mv prev-gold stage3-gold ; : ; \
43575 @if test -d $(HOST_SUBDIR)/intl ; then \
43576 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
43577 mv prev-intl stage3-intl ; : ; \
43581 @if test -d $(HOST_SUBDIR)/ld ; then \
43582 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
43583 mv prev-ld stage3-ld ; : ; \
43587 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43588 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
43589 mv prev-libbacktrace stage3-libbacktrace ; : ; \
43591 @endif libbacktrace
43593 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43594 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
43595 mv prev-libcpp stage3-libcpp ; : ; \
43599 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43600 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
43601 mv prev-libdecnumber stage3-libdecnumber ; : ; \
43603 @endif libdecnumber
43605 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43606 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
43607 mv prev-libiberty stage3-libiberty ; : ; \
43611 @if test -d $(HOST_SUBDIR)/zlib ; then \
43612 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
43613 mv prev-zlib stage3-zlib ; : ; \
43617 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43618 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
43619 mv prev-lto-plugin stage3-lto-plugin ; : ; \
43622 @if test -d $(TARGET_SUBDIR) ; then \
43623 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
43624 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
43626 rm -f stage_current
43628 # Bubble a bug fix through all the stages up to stage 4. They are
43629 # remade, but not reconfigured. The next stage (if any) will not be
43630 # reconfigured either.
43631 .PHONY: stage4-bubble
43632 stage4-bubble:: stage3-bubble
43633 @r=`${PWD_COMMAND}`; export r; \
43634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43635 if test -f stage4-lean || test -f stage3-lean ; then \
43636 echo Skipping rebuild of stage4 ; \
43638 $(MAKE) stage4-start; \
43640 rm -rf stage2-* ; \
43641 $(STAMP) stage2-lean ; \
43643 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
43645 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
43647 .PHONY: all-stage4 clean-stage4
43648 do-clean: clean-stage4
43650 # FIXME: Will not need to be conditional when toplevel bootstrap is the
43651 # only possibility, but now it conflicts with no-bootstrap rules
43655 @r=`${PWD_COMMAND}`; export r; \
43656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43657 if test -f stage3-lean; then \
43658 echo Cannot compare object files as stage 3 was deleted. ; \
43661 : $(MAKE); $(stage); \
43662 rm -f .bad_compare ; \
43663 echo Comparing stages 3 and 4 ; \
43664 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
43665 files=`find stage4-* -name "*$(objext)" -print | \
43666 sed -n s,^stage$$sed-,,p` ; \
43667 for file in $${files} ; do \
43668 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
43669 if test ! -f $$f1; then continue; fi; \
43670 $(do-compare3) > /dev/null 2>&1; \
43671 if test $$? -eq 1; then \
43673 @compare_exclusions@) \
43674 echo warning: $$file differs ;; \
43676 echo $$file differs >> .bad_compare ;; \
43680 if [ -f .bad_compare ]; then \
43681 echo "Bootstrap comparison failure!"; \
43682 cat .bad_compare; \
43685 echo Comparison successful.; \
43690 $(STAMP) stage3-lean; \
43695 .PHONY: bootstrap4 bootstrap4-lean
43697 echo stage4 > stage_final
43698 @r=`${PWD_COMMAND}`; export r; \
43699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43700 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
43701 @: $(MAKE); $(unstage)
43702 @r=`${PWD_COMMAND}`; export r; \
43703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43704 TFLAGS="$(STAGE4_TFLAGS)"; \
43705 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43708 echo stage4 > stage_final
43709 @r=`${PWD_COMMAND}`; export r; \
43710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43711 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
43712 @: $(MAKE); $(unstage)
43713 @r=`${PWD_COMMAND}`; export r; \
43714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43715 TFLAGS="$(STAGE4_TFLAGS)"; \
43716 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
43719 # Rules to wipe a stage and all the following ones, also used for cleanstrap
43720 distclean-stage3:: distclean-stage4
43721 .PHONY: distclean-stage4
43723 @: $(MAKE); $(stage)
43724 @test "`cat stage_last`" != stage4 || rm -f stage_last
43725 rm -rf stage4-* compare3
43728 @endif gcc-bootstrap
43731 .PHONY: stageprofile-start stageprofile-end
43733 stageprofile-start::
43734 @: $(MAKE); $(stage); \
43735 echo stageprofile > stage_current ; \
43736 echo stageprofile > stage_last; \
43737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
43739 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
43740 mkdir stageprofile-bfd; \
43741 mv stageprofile-bfd bfd ; \
43742 mv stage1-bfd prev-bfd || test -f stage1-lean
43745 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
43746 mkdir stageprofile-opcodes; \
43747 mv stageprofile-opcodes opcodes ; \
43748 mv stage1-opcodes prev-opcodes || test -f stage1-lean
43751 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
43752 mkdir stageprofile-binutils; \
43753 mv stageprofile-binutils binutils ; \
43754 mv stage1-binutils prev-binutils || test -f stage1-lean
43757 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
43758 mkdir stageprofile-gas; \
43759 mv stageprofile-gas gas ; \
43760 mv stage1-gas prev-gas || test -f stage1-lean
43763 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
43764 mkdir stageprofile-gcc; \
43765 mv stageprofile-gcc gcc ; \
43766 mv stage1-gcc prev-gcc || test -f stage1-lean
43769 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
43770 mkdir stageprofile-gmp; \
43771 mv stageprofile-gmp gmp ; \
43772 mv stage1-gmp prev-gmp || test -f stage1-lean
43775 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
43776 mkdir stageprofile-mpfr; \
43777 mv stageprofile-mpfr mpfr ; \
43778 mv stage1-mpfr prev-mpfr || test -f stage1-lean
43781 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
43782 mkdir stageprofile-mpc; \
43783 mv stageprofile-mpc mpc ; \
43784 mv stage1-mpc prev-mpc || test -f stage1-lean
43787 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
43788 mkdir stageprofile-isl; \
43789 mv stageprofile-isl isl ; \
43790 mv stage1-isl prev-isl || test -f stage1-lean
43793 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
43794 mkdir stageprofile-cloog; \
43795 mv stageprofile-cloog cloog ; \
43796 mv stage1-cloog prev-cloog || test -f stage1-lean
43799 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
43800 mkdir stageprofile-libelf; \
43801 mv stageprofile-libelf libelf ; \
43802 mv stage1-libelf prev-libelf || test -f stage1-lean
43805 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
43806 mkdir stageprofile-gold; \
43807 mv stageprofile-gold gold ; \
43808 mv stage1-gold prev-gold || test -f stage1-lean
43811 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
43812 mkdir stageprofile-intl; \
43813 mv stageprofile-intl intl ; \
43814 mv stage1-intl prev-intl || test -f stage1-lean
43817 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
43818 mkdir stageprofile-ld; \
43819 mv stageprofile-ld ld ; \
43820 mv stage1-ld prev-ld || test -f stage1-lean
43823 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
43824 mkdir stageprofile-libbacktrace; \
43825 mv stageprofile-libbacktrace libbacktrace ; \
43826 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
43827 @endif libbacktrace
43829 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
43830 mkdir stageprofile-libcpp; \
43831 mv stageprofile-libcpp libcpp ; \
43832 mv stage1-libcpp prev-libcpp || test -f stage1-lean
43835 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
43836 mkdir stageprofile-libdecnumber; \
43837 mv stageprofile-libdecnumber libdecnumber ; \
43838 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
43839 @endif libdecnumber
43841 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
43842 mkdir stageprofile-libiberty; \
43843 mv stageprofile-libiberty libiberty ; \
43844 mv stage1-libiberty prev-libiberty || test -f stage1-lean
43847 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
43848 mkdir stageprofile-zlib; \
43849 mv stageprofile-zlib zlib ; \
43850 mv stage1-zlib prev-zlib || test -f stage1-lean
43853 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
43854 mkdir stageprofile-lto-plugin; \
43855 mv stageprofile-lto-plugin lto-plugin ; \
43856 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
43858 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
43859 mkdir stageprofile-$(TARGET_SUBDIR); \
43860 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
43861 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
43865 @if test -d $(HOST_SUBDIR)/bfd ; then \
43866 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
43867 mv prev-bfd stage1-bfd ; : ; \
43871 @if test -d $(HOST_SUBDIR)/opcodes ; then \
43872 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
43873 mv prev-opcodes stage1-opcodes ; : ; \
43877 @if test -d $(HOST_SUBDIR)/binutils ; then \
43878 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
43879 mv prev-binutils stage1-binutils ; : ; \
43883 @if test -d $(HOST_SUBDIR)/gas ; then \
43884 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
43885 mv prev-gas stage1-gas ; : ; \
43889 @if test -d $(HOST_SUBDIR)/gcc ; then \
43890 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
43891 mv prev-gcc stage1-gcc ; : ; \
43895 @if test -d $(HOST_SUBDIR)/gmp ; then \
43896 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
43897 mv prev-gmp stage1-gmp ; : ; \
43901 @if test -d $(HOST_SUBDIR)/mpfr ; then \
43902 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
43903 mv prev-mpfr stage1-mpfr ; : ; \
43907 @if test -d $(HOST_SUBDIR)/mpc ; then \
43908 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
43909 mv prev-mpc stage1-mpc ; : ; \
43913 @if test -d $(HOST_SUBDIR)/isl ; then \
43914 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
43915 mv prev-isl stage1-isl ; : ; \
43919 @if test -d $(HOST_SUBDIR)/cloog ; then \
43920 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
43921 mv prev-cloog stage1-cloog ; : ; \
43925 @if test -d $(HOST_SUBDIR)/libelf ; then \
43926 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
43927 mv prev-libelf stage1-libelf ; : ; \
43931 @if test -d $(HOST_SUBDIR)/gold ; then \
43932 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
43933 mv prev-gold stage1-gold ; : ; \
43937 @if test -d $(HOST_SUBDIR)/intl ; then \
43938 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
43939 mv prev-intl stage1-intl ; : ; \
43943 @if test -d $(HOST_SUBDIR)/ld ; then \
43944 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
43945 mv prev-ld stage1-ld ; : ; \
43949 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
43950 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
43951 mv prev-libbacktrace stage1-libbacktrace ; : ; \
43953 @endif libbacktrace
43955 @if test -d $(HOST_SUBDIR)/libcpp ; then \
43956 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
43957 mv prev-libcpp stage1-libcpp ; : ; \
43961 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
43962 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
43963 mv prev-libdecnumber stage1-libdecnumber ; : ; \
43965 @endif libdecnumber
43967 @if test -d $(HOST_SUBDIR)/libiberty ; then \
43968 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
43969 mv prev-libiberty stage1-libiberty ; : ; \
43973 @if test -d $(HOST_SUBDIR)/zlib ; then \
43974 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
43975 mv prev-zlib stage1-zlib ; : ; \
43979 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
43980 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
43981 mv prev-lto-plugin stage1-lto-plugin ; : ; \
43984 @if test -d $(TARGET_SUBDIR) ; then \
43985 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
43986 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
43988 rm -f stage_current
43990 # Bubble a bug fix through all the stages up to stage profile. They are
43991 # remade, but not reconfigured. The next stage (if any) will not be
43992 # reconfigured either.
43993 .PHONY: stageprofile-bubble
43994 stageprofile-bubble:: stage1-bubble
43995 @r=`${PWD_COMMAND}`; export r; \
43996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43997 if test -f stageprofile-lean || test -f stage1-lean ; then \
43998 echo Skipping rebuild of stageprofile ; \
44000 $(MAKE) stageprofile-start; \
44001 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
44004 .PHONY: all-stageprofile clean-stageprofile
44005 do-clean: clean-stageprofile
44007 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44008 # only possibility, but now it conflicts with no-bootstrap rules
44014 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44015 distclean-stage1:: distclean-stageprofile
44016 .PHONY: distclean-stageprofile
44017 distclean-stageprofile::
44018 @: $(MAKE); $(stage)
44019 @test "`cat stage_last`" != stageprofile || rm -f stage_last
44020 rm -rf stageprofile-*
44023 @endif gcc-bootstrap
44026 .PHONY: stagefeedback-start stagefeedback-end
44028 stagefeedback-start::
44029 @: $(MAKE); $(stage); \
44030 echo stagefeedback > stage_current ; \
44031 echo stagefeedback > stage_last; \
44032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44034 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
44035 mkdir stagefeedback-bfd; \
44036 mv stagefeedback-bfd bfd ; \
44037 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
44040 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
44041 mkdir stagefeedback-opcodes; \
44042 mv stagefeedback-opcodes opcodes ; \
44043 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
44046 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
44047 mkdir stagefeedback-binutils; \
44048 mv stagefeedback-binutils binutils ; \
44049 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
44052 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
44053 mkdir stagefeedback-gas; \
44054 mv stagefeedback-gas gas ; \
44055 mv stageprofile-gas prev-gas || test -f stageprofile-lean
44058 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
44059 mkdir stagefeedback-gcc; \
44060 mv stagefeedback-gcc gcc ; \
44061 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
44064 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
44065 mkdir stagefeedback-gmp; \
44066 mv stagefeedback-gmp gmp ; \
44067 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
44070 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
44071 mkdir stagefeedback-mpfr; \
44072 mv stagefeedback-mpfr mpfr ; \
44073 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
44076 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
44077 mkdir stagefeedback-mpc; \
44078 mv stagefeedback-mpc mpc ; \
44079 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
44082 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
44083 mkdir stagefeedback-isl; \
44084 mv stagefeedback-isl isl ; \
44085 mv stageprofile-isl prev-isl || test -f stageprofile-lean
44088 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
44089 mkdir stagefeedback-cloog; \
44090 mv stagefeedback-cloog cloog ; \
44091 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
44094 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
44095 mkdir stagefeedback-libelf; \
44096 mv stagefeedback-libelf libelf ; \
44097 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
44100 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
44101 mkdir stagefeedback-gold; \
44102 mv stagefeedback-gold gold ; \
44103 mv stageprofile-gold prev-gold || test -f stageprofile-lean
44106 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
44107 mkdir stagefeedback-intl; \
44108 mv stagefeedback-intl intl ; \
44109 mv stageprofile-intl prev-intl || test -f stageprofile-lean
44112 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
44113 mkdir stagefeedback-ld; \
44114 mv stagefeedback-ld ld ; \
44115 mv stageprofile-ld prev-ld || test -f stageprofile-lean
44118 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
44119 mkdir stagefeedback-libbacktrace; \
44120 mv stagefeedback-libbacktrace libbacktrace ; \
44121 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
44122 @endif libbacktrace
44124 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
44125 mkdir stagefeedback-libcpp; \
44126 mv stagefeedback-libcpp libcpp ; \
44127 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
44130 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
44131 mkdir stagefeedback-libdecnumber; \
44132 mv stagefeedback-libdecnumber libdecnumber ; \
44133 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
44134 @endif libdecnumber
44136 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
44137 mkdir stagefeedback-libiberty; \
44138 mv stagefeedback-libiberty libiberty ; \
44139 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
44142 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
44143 mkdir stagefeedback-zlib; \
44144 mv stagefeedback-zlib zlib ; \
44145 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
44148 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
44149 mkdir stagefeedback-lto-plugin; \
44150 mv stagefeedback-lto-plugin lto-plugin ; \
44151 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
44153 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
44154 mkdir stagefeedback-$(TARGET_SUBDIR); \
44155 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44156 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
44158 stagefeedback-end::
44160 @if test -d $(HOST_SUBDIR)/bfd ; then \
44161 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
44162 mv prev-bfd stageprofile-bfd ; : ; \
44166 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44167 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
44168 mv prev-opcodes stageprofile-opcodes ; : ; \
44172 @if test -d $(HOST_SUBDIR)/binutils ; then \
44173 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
44174 mv prev-binutils stageprofile-binutils ; : ; \
44178 @if test -d $(HOST_SUBDIR)/gas ; then \
44179 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
44180 mv prev-gas stageprofile-gas ; : ; \
44184 @if test -d $(HOST_SUBDIR)/gcc ; then \
44185 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
44186 mv prev-gcc stageprofile-gcc ; : ; \
44190 @if test -d $(HOST_SUBDIR)/gmp ; then \
44191 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
44192 mv prev-gmp stageprofile-gmp ; : ; \
44196 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44197 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
44198 mv prev-mpfr stageprofile-mpfr ; : ; \
44202 @if test -d $(HOST_SUBDIR)/mpc ; then \
44203 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
44204 mv prev-mpc stageprofile-mpc ; : ; \
44208 @if test -d $(HOST_SUBDIR)/isl ; then \
44209 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
44210 mv prev-isl stageprofile-isl ; : ; \
44214 @if test -d $(HOST_SUBDIR)/cloog ; then \
44215 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
44216 mv prev-cloog stageprofile-cloog ; : ; \
44220 @if test -d $(HOST_SUBDIR)/libelf ; then \
44221 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
44222 mv prev-libelf stageprofile-libelf ; : ; \
44226 @if test -d $(HOST_SUBDIR)/gold ; then \
44227 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
44228 mv prev-gold stageprofile-gold ; : ; \
44232 @if test -d $(HOST_SUBDIR)/intl ; then \
44233 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
44234 mv prev-intl stageprofile-intl ; : ; \
44238 @if test -d $(HOST_SUBDIR)/ld ; then \
44239 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
44240 mv prev-ld stageprofile-ld ; : ; \
44244 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
44245 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
44246 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
44248 @endif libbacktrace
44250 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44251 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
44252 mv prev-libcpp stageprofile-libcpp ; : ; \
44256 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44257 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
44258 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
44260 @endif libdecnumber
44262 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44263 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
44264 mv prev-libiberty stageprofile-libiberty ; : ; \
44268 @if test -d $(HOST_SUBDIR)/zlib ; then \
44269 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
44270 mv prev-zlib stageprofile-zlib ; : ; \
44274 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
44275 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
44276 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
44279 @if test -d $(TARGET_SUBDIR) ; then \
44280 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
44281 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
44283 rm -f stage_current
44285 # Bubble a bug fix through all the stages up to stage feedback. They are
44286 # remade, but not reconfigured. The next stage (if any) will not be
44287 # reconfigured either.
44288 .PHONY: stagefeedback-bubble
44289 stagefeedback-bubble:: stageprofile-bubble
44290 @r=`${PWD_COMMAND}`; export r; \
44291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44292 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
44293 echo Skipping rebuild of stagefeedback ; \
44295 $(MAKE) stagefeedback-start; \
44296 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
44299 .PHONY: all-stagefeedback clean-stagefeedback
44300 do-clean: clean-stagefeedback
44302 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44303 # only possibility, but now it conflicts with no-bootstrap rules
44308 .PHONY: profiledbootstrap profiledbootstrap-lean
44310 echo stagefeedback > stage_final
44311 @r=`${PWD_COMMAND}`; export r; \
44312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44313 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
44314 @: $(MAKE); $(unstage)
44315 @r=`${PWD_COMMAND}`; export r; \
44316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44317 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44318 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44320 profiledbootstrap-lean:
44321 echo stagefeedback > stage_final
44322 @r=`${PWD_COMMAND}`; export r; \
44323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44324 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
44325 @: $(MAKE); $(unstage)
44326 @r=`${PWD_COMMAND}`; export r; \
44327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44328 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44329 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44332 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44333 distclean-stageprofile:: distclean-stagefeedback
44334 .PHONY: distclean-stagefeedback
44335 distclean-stagefeedback::
44336 @: $(MAKE); $(stage)
44337 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
44338 rm -rf stagefeedback-*
44341 @endif gcc-bootstrap
44346 $(MAKE) distclean-stagefeedback
44348 stagefeedback-start::
44349 @r=`${PWD_COMMAND}`; export r; \
44350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44351 for i in prev-*; do \
44352 j=`echo $$i | sed s/^prev-//` ; \
44354 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
44355 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
44359 do-distclean: distclean-stage1
44361 # Provide a GCC build when we're building target libraries. This does
44362 # not work as a dependency, just as the minimum necessary to avoid errors.
44364 @r=`${PWD_COMMAND}`; export r; \
44365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44366 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
44368 # Same as unstage, but not phony and defaulting to stage1-start. We place
44369 # it in the dependency so that for example `make -j3 all-gcc' works.
44371 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
44375 @: $(MAKE); $(stage)
44376 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
44378 @endif gcc-bootstrap
44380 # --------------------------------------
44381 # Dependencies between different modules
44382 # --------------------------------------
44384 # Generic dependencies for target modules on host stuff, especially gcc
44386 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
44387 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
44388 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
44389 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
44390 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
44391 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
44392 configure-target-libmudflap: stage_last
44393 configure-target-libssp: stage_last
44394 configure-target-newlib: stage_last
44395 configure-stage1-target-libgcc: maybe-all-stage1-gcc
44396 configure-stage2-target-libgcc: maybe-all-stage2-gcc
44397 configure-stage3-target-libgcc: maybe-all-stage3-gcc
44398 configure-stage4-target-libgcc: maybe-all-stage4-gcc
44399 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
44400 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
44401 configure-target-libbacktrace: stage_last
44402 configure-target-libquadmath: stage_last
44403 configure-target-libgfortran: stage_last
44404 configure-target-libobjc: stage_last
44405 configure-target-libgo: stage_last
44406 configure-target-libtermcap: stage_last
44407 configure-target-winsup: stage_last
44408 configure-target-libgloss: stage_last
44409 configure-target-libffi: stage_last
44410 configure-target-libjava: stage_last
44411 configure-target-zlib: stage_last
44412 configure-target-boehm-gc: stage_last
44413 configure-target-rda: stage_last
44414 configure-target-libada: stage_last
44415 configure-stage1-target-libgomp: maybe-all-stage1-gcc
44416 configure-stage2-target-libgomp: maybe-all-stage2-gcc
44417 configure-stage3-target-libgomp: maybe-all-stage3-gcc
44418 configure-stage4-target-libgomp: maybe-all-stage4-gcc
44419 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
44420 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
44421 configure-target-libitm: stage_last
44422 configure-target-libatomic: stage_last
44423 @endif gcc-bootstrap
44425 @if gcc-no-bootstrap
44426 configure-target-libstdc++-v3: maybe-all-gcc
44427 configure-target-libmudflap: maybe-all-gcc
44428 configure-target-libssp: maybe-all-gcc
44429 configure-target-newlib: maybe-all-gcc
44430 configure-target-libgcc: maybe-all-gcc
44431 configure-target-libbacktrace: maybe-all-gcc
44432 configure-target-libquadmath: maybe-all-gcc
44433 configure-target-libgfortran: maybe-all-gcc
44434 configure-target-libobjc: maybe-all-gcc
44435 configure-target-libgo: maybe-all-gcc
44436 configure-target-libtermcap: maybe-all-gcc
44437 configure-target-winsup: maybe-all-gcc
44438 configure-target-libgloss: maybe-all-gcc
44439 configure-target-libffi: maybe-all-gcc
44440 configure-target-libjava: maybe-all-gcc
44441 configure-target-zlib: maybe-all-gcc
44442 configure-target-boehm-gc: maybe-all-gcc
44443 configure-target-rda: maybe-all-gcc
44444 configure-target-libada: maybe-all-gcc
44445 configure-target-libgomp: maybe-all-gcc
44446 configure-target-libitm: maybe-all-gcc
44447 configure-target-libatomic: maybe-all-gcc
44448 @endif gcc-no-bootstrap
44451 # There are two types of dependencies here: 'hard' dependencies, where one
44452 # module simply won't build without the other; and 'soft' dependencies, where
44453 # if the depended-on module is missing, the depending module will do without
44454 # or find a substitute somewhere (perhaps installed). Soft dependencies
44455 # are made here to depend on a 'maybe-' target. If you're not sure,
44456 # it's safer to use a soft dependency.
44463 # With all the machinery above in place, it is pretty easy to generate
44464 # dependencies. Host dependencies are a bit more complex because we have
44465 # to check for bootstrap/prebootstrap dependencies. To resolve
44466 # prebootstrap dependencies, prebootstrap modules are gathered in
44468 all-build-bison: maybe-all-build-texinfo
44469 all-build-flex: maybe-all-build-texinfo
44470 all-build-flex: maybe-all-build-bison
44471 all-build-flex: maybe-all-build-m4
44472 all-build-libiberty: maybe-all-build-texinfo
44473 all-build-m4: maybe-all-build-texinfo
44474 all-build-fixincludes: maybe-all-build-libiberty
44475 configure-gcc: maybe-configure-intl
44477 configure-stage1-gcc: maybe-configure-stage1-intl
44478 configure-stage2-gcc: maybe-configure-stage2-intl
44479 configure-stage3-gcc: maybe-configure-stage3-intl
44480 configure-stage4-gcc: maybe-configure-stage4-intl
44481 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
44482 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
44483 configure-gcc: maybe-all-lto-plugin
44485 configure-stage1-gcc: maybe-all-stage1-lto-plugin
44486 configure-stage2-gcc: maybe-all-stage2-lto-plugin
44487 configure-stage3-gcc: maybe-all-stage3-lto-plugin
44488 configure-stage4-gcc: maybe-all-stage4-lto-plugin
44489 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
44490 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
44491 configure-gcc: maybe-all-binutils
44493 configure-stage1-gcc: maybe-all-stage1-binutils
44494 configure-stage2-gcc: maybe-all-stage2-binutils
44495 configure-stage3-gcc: maybe-all-stage3-binutils
44496 configure-stage4-gcc: maybe-all-stage4-binutils
44497 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
44498 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
44499 configure-gcc: maybe-all-gas
44501 configure-stage1-gcc: maybe-all-stage1-gas
44502 configure-stage2-gcc: maybe-all-stage2-gas
44503 configure-stage3-gcc: maybe-all-stage3-gas
44504 configure-stage4-gcc: maybe-all-stage4-gas
44505 configure-stageprofile-gcc: maybe-all-stageprofile-gas
44506 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
44507 configure-gcc: maybe-all-ld
44509 configure-stage1-gcc: maybe-all-stage1-ld
44510 configure-stage2-gcc: maybe-all-stage2-ld
44511 configure-stage3-gcc: maybe-all-stage3-ld
44512 configure-stage4-gcc: maybe-all-stage4-ld
44513 configure-stageprofile-gcc: maybe-all-stageprofile-ld
44514 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
44515 configure-gcc: maybe-all-gold
44517 configure-stage1-gcc: maybe-all-stage1-gold
44518 configure-stage2-gcc: maybe-all-stage2-gold
44519 configure-stage3-gcc: maybe-all-stage3-gold
44520 configure-stage4-gcc: maybe-all-stage4-gold
44521 configure-stageprofile-gcc: maybe-all-stageprofile-gold
44522 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
44523 configure-gcc: maybe-all-libelf
44525 configure-stage1-gcc: maybe-all-stage1-libelf
44526 configure-stage2-gcc: maybe-all-stage2-libelf
44527 configure-stage3-gcc: maybe-all-stage3-libelf
44528 configure-stage4-gcc: maybe-all-stage4-libelf
44529 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
44530 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
44531 all-gcc: all-libiberty
44533 all-stage1-gcc: all-stage1-libiberty
44534 all-stage2-gcc: all-stage2-libiberty
44535 all-stage3-gcc: all-stage3-libiberty
44536 all-stage4-gcc: all-stage4-libiberty
44537 all-stageprofile-gcc: all-stageprofile-libiberty
44538 all-stagefeedback-gcc: all-stagefeedback-libiberty
44539 all-gcc: maybe-all-gmp
44541 all-stage1-gcc: maybe-all-stage1-gmp
44542 all-stage2-gcc: maybe-all-stage2-gmp
44543 all-stage3-gcc: maybe-all-stage3-gmp
44544 all-stage4-gcc: maybe-all-stage4-gmp
44545 all-stageprofile-gcc: maybe-all-stageprofile-gmp
44546 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
44547 all-gcc: maybe-all-intl
44549 all-stage1-gcc: maybe-all-stage1-intl
44550 all-stage2-gcc: maybe-all-stage2-intl
44551 all-stage3-gcc: maybe-all-stage3-intl
44552 all-stage4-gcc: maybe-all-stage4-intl
44553 all-stageprofile-gcc: maybe-all-stageprofile-intl
44554 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
44555 all-gcc: maybe-all-mpfr
44557 all-stage1-gcc: maybe-all-stage1-mpfr
44558 all-stage2-gcc: maybe-all-stage2-mpfr
44559 all-stage3-gcc: maybe-all-stage3-mpfr
44560 all-stage4-gcc: maybe-all-stage4-mpfr
44561 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
44562 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
44563 all-gcc: maybe-all-mpc
44565 all-stage1-gcc: maybe-all-stage1-mpc
44566 all-stage2-gcc: maybe-all-stage2-mpc
44567 all-stage3-gcc: maybe-all-stage3-mpc
44568 all-stage4-gcc: maybe-all-stage4-mpc
44569 all-stageprofile-gcc: maybe-all-stageprofile-mpc
44570 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
44571 all-gcc: maybe-all-cloog
44573 all-stage1-gcc: maybe-all-stage1-cloog
44574 all-stage2-gcc: maybe-all-stage2-cloog
44575 all-stage3-gcc: maybe-all-stage3-cloog
44576 all-stage4-gcc: maybe-all-stage4-cloog
44577 all-stageprofile-gcc: maybe-all-stageprofile-cloog
44578 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
44579 all-gcc: maybe-all-build-texinfo
44581 all-stage1-gcc: maybe-all-build-texinfo
44582 all-stage2-gcc: maybe-all-build-texinfo
44583 all-stage3-gcc: maybe-all-build-texinfo
44584 all-stage4-gcc: maybe-all-build-texinfo
44585 all-stageprofile-gcc: maybe-all-build-texinfo
44586 all-stagefeedback-gcc: maybe-all-build-texinfo
44587 all-gcc: maybe-all-build-bison
44589 all-stage1-gcc: maybe-all-build-bison
44590 all-stage2-gcc: maybe-all-build-bison
44591 all-stage3-gcc: maybe-all-build-bison
44592 all-stage4-gcc: maybe-all-build-bison
44593 all-stageprofile-gcc: maybe-all-build-bison
44594 all-stagefeedback-gcc: maybe-all-build-bison
44595 all-gcc: maybe-all-build-flex
44597 all-stage1-gcc: maybe-all-build-flex
44598 all-stage2-gcc: maybe-all-build-flex
44599 all-stage3-gcc: maybe-all-build-flex
44600 all-stage4-gcc: maybe-all-build-flex
44601 all-stageprofile-gcc: maybe-all-build-flex
44602 all-stagefeedback-gcc: maybe-all-build-flex
44603 all-gcc: maybe-all-build-libiberty
44605 all-stage1-gcc: maybe-all-build-libiberty
44606 all-stage2-gcc: maybe-all-build-libiberty
44607 all-stage3-gcc: maybe-all-build-libiberty
44608 all-stage4-gcc: maybe-all-build-libiberty
44609 all-stageprofile-gcc: maybe-all-build-libiberty
44610 all-stagefeedback-gcc: maybe-all-build-libiberty
44611 all-gcc: maybe-all-build-fixincludes
44613 all-stage1-gcc: maybe-all-build-fixincludes
44614 all-stage2-gcc: maybe-all-build-fixincludes
44615 all-stage3-gcc: maybe-all-build-fixincludes
44616 all-stage4-gcc: maybe-all-build-fixincludes
44617 all-stageprofile-gcc: maybe-all-build-fixincludes
44618 all-stagefeedback-gcc: maybe-all-build-fixincludes
44619 all-gcc: maybe-all-zlib
44621 all-stage1-gcc: maybe-all-stage1-zlib
44622 all-stage2-gcc: maybe-all-stage2-zlib
44623 all-stage3-gcc: maybe-all-stage3-zlib
44624 all-stage4-gcc: maybe-all-stage4-zlib
44625 all-stageprofile-gcc: maybe-all-stageprofile-zlib
44626 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
44627 all-gcc: all-libbacktrace
44629 all-stage1-gcc: all-stage1-libbacktrace
44630 all-stage2-gcc: all-stage2-libbacktrace
44631 all-stage3-gcc: all-stage3-libbacktrace
44632 all-stage4-gcc: all-stage4-libbacktrace
44633 all-stageprofile-gcc: all-stageprofile-libbacktrace
44634 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
44635 all-gcc: all-libcpp
44637 all-stage1-gcc: all-stage1-libcpp
44638 all-stage2-gcc: all-stage2-libcpp
44639 all-stage3-gcc: all-stage3-libcpp
44640 all-stage4-gcc: all-stage4-libcpp
44641 all-stageprofile-gcc: all-stageprofile-libcpp
44642 all-stagefeedback-gcc: all-stagefeedback-libcpp
44643 all-gcc: all-libdecnumber
44645 all-stage1-gcc: all-stage1-libdecnumber
44646 all-stage2-gcc: all-stage2-libdecnumber
44647 all-stage3-gcc: all-stage3-libdecnumber
44648 all-stage4-gcc: all-stage4-libdecnumber
44649 all-stageprofile-gcc: all-stageprofile-libdecnumber
44650 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
44651 all-gcc: maybe-all-libiberty
44653 all-stage1-gcc: maybe-all-stage1-libiberty
44654 all-stage2-gcc: maybe-all-stage2-libiberty
44655 all-stage3-gcc: maybe-all-stage3-libiberty
44656 all-stage4-gcc: maybe-all-stage4-libiberty
44657 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
44658 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
44659 all-gcc: maybe-all-fixincludes
44660 all-gcc: maybe-all-lto-plugin
44662 all-stage1-gcc: maybe-all-stage1-lto-plugin
44663 all-stage2-gcc: maybe-all-stage2-lto-plugin
44664 all-stage3-gcc: maybe-all-stage3-lto-plugin
44665 all-stage4-gcc: maybe-all-stage4-lto-plugin
44666 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
44667 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
44668 info-gcc: maybe-all-build-libiberty
44670 info-stage1-gcc: maybe-all-build-libiberty
44671 info-stage2-gcc: maybe-all-build-libiberty
44672 info-stage3-gcc: maybe-all-build-libiberty
44673 info-stage4-gcc: maybe-all-build-libiberty
44674 info-stageprofile-gcc: maybe-all-build-libiberty
44675 info-stagefeedback-gcc: maybe-all-build-libiberty
44676 dvi-gcc: maybe-all-build-libiberty
44678 dvi-stage1-gcc: maybe-all-build-libiberty
44679 dvi-stage2-gcc: maybe-all-build-libiberty
44680 dvi-stage3-gcc: maybe-all-build-libiberty
44681 dvi-stage4-gcc: maybe-all-build-libiberty
44682 dvi-stageprofile-gcc: maybe-all-build-libiberty
44683 dvi-stagefeedback-gcc: maybe-all-build-libiberty
44684 pdf-gcc: maybe-all-build-libiberty
44686 pdf-stage1-gcc: maybe-all-build-libiberty
44687 pdf-stage2-gcc: maybe-all-build-libiberty
44688 pdf-stage3-gcc: maybe-all-build-libiberty
44689 pdf-stage4-gcc: maybe-all-build-libiberty
44690 pdf-stageprofile-gcc: maybe-all-build-libiberty
44691 pdf-stagefeedback-gcc: maybe-all-build-libiberty
44692 html-gcc: maybe-all-build-libiberty
44694 html-stage1-gcc: maybe-all-build-libiberty
44695 html-stage2-gcc: maybe-all-build-libiberty
44696 html-stage3-gcc: maybe-all-build-libiberty
44697 html-stage4-gcc: maybe-all-build-libiberty
44698 html-stageprofile-gcc: maybe-all-build-libiberty
44699 html-stagefeedback-gcc: maybe-all-build-libiberty
44700 install-gcc: maybe-install-fixincludes
44701 install-gcc: maybe-install-lto-plugin
44702 install-strip-gcc: maybe-install-strip-fixincludes
44703 install-strip-gcc: maybe-install-strip-lto-plugin
44704 configure-libcpp: configure-libiberty
44706 configure-stage1-libcpp: configure-stage1-libiberty
44707 configure-stage2-libcpp: configure-stage2-libiberty
44708 configure-stage3-libcpp: configure-stage3-libiberty
44709 configure-stage4-libcpp: configure-stage4-libiberty
44710 configure-stageprofile-libcpp: configure-stageprofile-libiberty
44711 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
44712 configure-libcpp: maybe-configure-intl
44714 configure-stage1-libcpp: maybe-configure-stage1-intl
44715 configure-stage2-libcpp: maybe-configure-stage2-intl
44716 configure-stage3-libcpp: maybe-configure-stage3-intl
44717 configure-stage4-libcpp: maybe-configure-stage4-intl
44718 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
44719 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
44720 all-libcpp: all-libiberty
44722 all-stage1-libcpp: all-stage1-libiberty
44723 all-stage2-libcpp: all-stage2-libiberty
44724 all-stage3-libcpp: all-stage3-libiberty
44725 all-stage4-libcpp: all-stage4-libiberty
44726 all-stageprofile-libcpp: all-stageprofile-libiberty
44727 all-stagefeedback-libcpp: all-stagefeedback-libiberty
44728 all-libcpp: maybe-all-intl
44730 all-stage1-libcpp: maybe-all-stage1-intl
44731 all-stage2-libcpp: maybe-all-stage2-intl
44732 all-stage3-libcpp: maybe-all-stage3-intl
44733 all-stage4-libcpp: maybe-all-stage4-intl
44734 all-stageprofile-libcpp: maybe-all-stageprofile-intl
44735 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
44736 all-fixincludes: maybe-all-libiberty
44737 all-gnattools: maybe-all-target-libada
44738 all-lto-plugin: maybe-all-libiberty
44740 all-stage1-lto-plugin: maybe-all-stage1-libiberty
44741 all-stage2-lto-plugin: maybe-all-stage2-libiberty
44742 all-stage3-lto-plugin: maybe-all-stage3-libiberty
44743 all-stage4-lto-plugin: maybe-all-stage4-libiberty
44744 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
44745 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
44746 all-utils: maybe-all-libiberty
44747 configure-mpfr: maybe-all-gmp
44749 configure-stage1-mpfr: maybe-all-stage1-gmp
44750 configure-stage2-mpfr: maybe-all-stage2-gmp
44751 configure-stage3-mpfr: maybe-all-stage3-gmp
44752 configure-stage4-mpfr: maybe-all-stage4-gmp
44753 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
44754 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
44755 configure-mpc: maybe-all-mpfr
44757 configure-stage1-mpc: maybe-all-stage1-mpfr
44758 configure-stage2-mpc: maybe-all-stage2-mpfr
44759 configure-stage3-mpc: maybe-all-stage3-mpfr
44760 configure-stage4-mpc: maybe-all-stage4-mpfr
44761 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
44762 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
44763 configure-isl: maybe-all-gmp
44765 configure-stage1-isl: maybe-all-stage1-gmp
44766 configure-stage2-isl: maybe-all-stage2-gmp
44767 configure-stage3-isl: maybe-all-stage3-gmp
44768 configure-stage4-isl: maybe-all-stage4-gmp
44769 configure-stageprofile-isl: maybe-all-stageprofile-gmp
44770 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
44771 configure-cloog: maybe-all-isl
44773 configure-stage1-cloog: maybe-all-stage1-isl
44774 configure-stage2-cloog: maybe-all-stage2-isl
44775 configure-stage3-cloog: maybe-all-stage3-isl
44776 configure-stage4-cloog: maybe-all-stage4-isl
44777 configure-stageprofile-cloog: maybe-all-stageprofile-isl
44778 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
44779 configure-cloog: maybe-all-gmp
44781 configure-stage1-cloog: maybe-all-stage1-gmp
44782 configure-stage2-cloog: maybe-all-stage2-gmp
44783 configure-stage3-cloog: maybe-all-stage3-gmp
44784 configure-stage4-cloog: maybe-all-stage4-gmp
44785 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
44786 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
44787 configure-gdb: maybe-all-intl
44788 configure-gdb: maybe-configure-sim
44789 configure-gdb: maybe-all-bfd
44790 configure-gdb: maybe-all-libiconv
44791 all-gdb: maybe-all-libiberty
44792 all-gdb: maybe-all-libiconv
44793 all-gdb: maybe-all-opcodes
44794 all-gdb: maybe-all-readline
44795 all-gdb: maybe-all-build-bison
44796 all-gdb: maybe-all-sim
44797 all-gdb: maybe-all-libdecnumber
44798 all-gdb: maybe-all-libtermcap
44799 configure-libgui: maybe-configure-tcl
44800 configure-libgui: maybe-configure-tk
44801 all-libgui: maybe-all-tcl
44802 all-libgui: maybe-all-tk
44803 all-libgui: maybe-all-itcl
44804 configure-bfd: configure-libiberty
44806 configure-stage1-bfd: configure-stage1-libiberty
44807 configure-stage2-bfd: configure-stage2-libiberty
44808 configure-stage3-bfd: configure-stage3-libiberty
44809 configure-stage4-bfd: configure-stage4-libiberty
44810 configure-stageprofile-bfd: configure-stageprofile-libiberty
44811 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
44812 configure-bfd: maybe-configure-intl
44814 configure-stage1-bfd: maybe-configure-stage1-intl
44815 configure-stage2-bfd: maybe-configure-stage2-intl
44816 configure-stage3-bfd: maybe-configure-stage3-intl
44817 configure-stage4-bfd: maybe-configure-stage4-intl
44818 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
44819 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
44820 all-bfd: maybe-all-libiberty
44822 all-stage1-bfd: maybe-all-stage1-libiberty
44823 all-stage2-bfd: maybe-all-stage2-libiberty
44824 all-stage3-bfd: maybe-all-stage3-libiberty
44825 all-stage4-bfd: maybe-all-stage4-libiberty
44826 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
44827 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
44828 all-bfd: maybe-all-intl
44830 all-stage1-bfd: maybe-all-stage1-intl
44831 all-stage2-bfd: maybe-all-stage2-intl
44832 all-stage3-bfd: maybe-all-stage3-intl
44833 all-stage4-bfd: maybe-all-stage4-intl
44834 all-stageprofile-bfd: maybe-all-stageprofile-intl
44835 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
44836 configure-opcodes: configure-libiberty
44838 configure-stage1-opcodes: configure-stage1-libiberty
44839 configure-stage2-opcodes: configure-stage2-libiberty
44840 configure-stage3-opcodes: configure-stage3-libiberty
44841 configure-stage4-opcodes: configure-stage4-libiberty
44842 configure-stageprofile-opcodes: configure-stageprofile-libiberty
44843 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
44844 all-opcodes: maybe-all-libiberty
44846 all-stage1-opcodes: maybe-all-stage1-libiberty
44847 all-stage2-opcodes: maybe-all-stage2-libiberty
44848 all-stage3-opcodes: maybe-all-stage3-libiberty
44849 all-stage4-opcodes: maybe-all-stage4-libiberty
44850 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
44851 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
44852 configure-binutils: maybe-configure-intl
44854 configure-stage1-binutils: maybe-configure-stage1-intl
44855 configure-stage2-binutils: maybe-configure-stage2-intl
44856 configure-stage3-binutils: maybe-configure-stage3-intl
44857 configure-stage4-binutils: maybe-configure-stage4-intl
44858 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
44859 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
44860 all-binutils: maybe-all-libiberty
44862 all-stage1-binutils: maybe-all-stage1-libiberty
44863 all-stage2-binutils: maybe-all-stage2-libiberty
44864 all-stage3-binutils: maybe-all-stage3-libiberty
44865 all-stage4-binutils: maybe-all-stage4-libiberty
44866 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
44867 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
44868 all-binutils: maybe-all-opcodes
44870 all-stage1-binutils: maybe-all-stage1-opcodes
44871 all-stage2-binutils: maybe-all-stage2-opcodes
44872 all-stage3-binutils: maybe-all-stage3-opcodes
44873 all-stage4-binutils: maybe-all-stage4-opcodes
44874 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
44875 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
44876 all-binutils: maybe-all-bfd
44878 all-stage1-binutils: maybe-all-stage1-bfd
44879 all-stage2-binutils: maybe-all-stage2-bfd
44880 all-stage3-binutils: maybe-all-stage3-bfd
44881 all-stage4-binutils: maybe-all-stage4-bfd
44882 all-stageprofile-binutils: maybe-all-stageprofile-bfd
44883 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
44884 all-binutils: maybe-all-build-flex
44886 all-stage1-binutils: maybe-all-build-flex
44887 all-stage2-binutils: maybe-all-build-flex
44888 all-stage3-binutils: maybe-all-build-flex
44889 all-stage4-binutils: maybe-all-build-flex
44890 all-stageprofile-binutils: maybe-all-build-flex
44891 all-stagefeedback-binutils: maybe-all-build-flex
44892 all-binutils: maybe-all-build-bison
44894 all-stage1-binutils: maybe-all-build-bison
44895 all-stage2-binutils: maybe-all-build-bison
44896 all-stage3-binutils: maybe-all-build-bison
44897 all-stage4-binutils: maybe-all-build-bison
44898 all-stageprofile-binutils: maybe-all-build-bison
44899 all-stagefeedback-binutils: maybe-all-build-bison
44900 all-binutils: maybe-all-intl
44902 all-stage1-binutils: maybe-all-stage1-intl
44903 all-stage2-binutils: maybe-all-stage2-intl
44904 all-stage3-binutils: maybe-all-stage3-intl
44905 all-stage4-binutils: maybe-all-stage4-intl
44906 all-stageprofile-binutils: maybe-all-stageprofile-intl
44907 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
44908 install-binutils: maybe-install-opcodes
44909 install-strip-binutils: maybe-install-strip-opcodes
44910 install-opcodes: maybe-install-bfd
44911 install-strip-opcodes: maybe-install-strip-bfd
44912 configure-gas: maybe-configure-intl
44914 configure-stage1-gas: maybe-configure-stage1-intl
44915 configure-stage2-gas: maybe-configure-stage2-intl
44916 configure-stage3-gas: maybe-configure-stage3-intl
44917 configure-stage4-gas: maybe-configure-stage4-intl
44918 configure-stageprofile-gas: maybe-configure-stageprofile-intl
44919 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
44920 all-gas: maybe-all-libiberty
44922 all-stage1-gas: maybe-all-stage1-libiberty
44923 all-stage2-gas: maybe-all-stage2-libiberty
44924 all-stage3-gas: maybe-all-stage3-libiberty
44925 all-stage4-gas: maybe-all-stage4-libiberty
44926 all-stageprofile-gas: maybe-all-stageprofile-libiberty
44927 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
44928 all-gas: maybe-all-opcodes
44930 all-stage1-gas: maybe-all-stage1-opcodes
44931 all-stage2-gas: maybe-all-stage2-opcodes
44932 all-stage3-gas: maybe-all-stage3-opcodes
44933 all-stage4-gas: maybe-all-stage4-opcodes
44934 all-stageprofile-gas: maybe-all-stageprofile-opcodes
44935 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
44936 all-gas: maybe-all-bfd
44938 all-stage1-gas: maybe-all-stage1-bfd
44939 all-stage2-gas: maybe-all-stage2-bfd
44940 all-stage3-gas: maybe-all-stage3-bfd
44941 all-stage4-gas: maybe-all-stage4-bfd
44942 all-stageprofile-gas: maybe-all-stageprofile-bfd
44943 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
44944 all-gas: maybe-all-intl
44946 all-stage1-gas: maybe-all-stage1-intl
44947 all-stage2-gas: maybe-all-stage2-intl
44948 all-stage3-gas: maybe-all-stage3-intl
44949 all-stage4-gas: maybe-all-stage4-intl
44950 all-stageprofile-gas: maybe-all-stageprofile-intl
44951 all-stagefeedback-gas: maybe-all-stagefeedback-intl
44952 configure-gprof: maybe-configure-intl
44953 all-gprof: maybe-all-libiberty
44954 all-gprof: maybe-all-bfd
44955 all-gprof: maybe-all-opcodes
44956 all-gprof: maybe-all-intl
44957 configure-ld: maybe-configure-intl
44959 configure-stage1-ld: maybe-configure-stage1-intl
44960 configure-stage2-ld: maybe-configure-stage2-intl
44961 configure-stage3-ld: maybe-configure-stage3-intl
44962 configure-stage4-ld: maybe-configure-stage4-intl
44963 configure-stageprofile-ld: maybe-configure-stageprofile-intl
44964 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
44965 all-ld: maybe-all-libiberty
44967 all-stage1-ld: maybe-all-stage1-libiberty
44968 all-stage2-ld: maybe-all-stage2-libiberty
44969 all-stage3-ld: maybe-all-stage3-libiberty
44970 all-stage4-ld: maybe-all-stage4-libiberty
44971 all-stageprofile-ld: maybe-all-stageprofile-libiberty
44972 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
44973 all-ld: maybe-all-bfd
44975 all-stage1-ld: maybe-all-stage1-bfd
44976 all-stage2-ld: maybe-all-stage2-bfd
44977 all-stage3-ld: maybe-all-stage3-bfd
44978 all-stage4-ld: maybe-all-stage4-bfd
44979 all-stageprofile-ld: maybe-all-stageprofile-bfd
44980 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
44981 all-ld: maybe-all-opcodes
44983 all-stage1-ld: maybe-all-stage1-opcodes
44984 all-stage2-ld: maybe-all-stage2-opcodes
44985 all-stage3-ld: maybe-all-stage3-opcodes
44986 all-stage4-ld: maybe-all-stage4-opcodes
44987 all-stageprofile-ld: maybe-all-stageprofile-opcodes
44988 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
44989 all-ld: maybe-all-build-bison
44991 all-stage1-ld: maybe-all-build-bison
44992 all-stage2-ld: maybe-all-build-bison
44993 all-stage3-ld: maybe-all-build-bison
44994 all-stage4-ld: maybe-all-build-bison
44995 all-stageprofile-ld: maybe-all-build-bison
44996 all-stagefeedback-ld: maybe-all-build-bison
44997 all-ld: maybe-all-build-flex
44999 all-stage1-ld: maybe-all-build-flex
45000 all-stage2-ld: maybe-all-build-flex
45001 all-stage3-ld: maybe-all-build-flex
45002 all-stage4-ld: maybe-all-build-flex
45003 all-stageprofile-ld: maybe-all-build-flex
45004 all-stagefeedback-ld: maybe-all-build-flex
45005 all-ld: maybe-all-intl
45007 all-stage1-ld: maybe-all-stage1-intl
45008 all-stage2-ld: maybe-all-stage2-intl
45009 all-stage3-ld: maybe-all-stage3-intl
45010 all-stage4-ld: maybe-all-stage4-intl
45011 all-stageprofile-ld: maybe-all-stageprofile-intl
45012 all-stagefeedback-ld: maybe-all-stagefeedback-intl
45013 install-ld: maybe-install-gold
45014 install-strip-ld: maybe-install-strip-gold
45015 configure-gold: maybe-configure-intl
45017 configure-stage1-gold: maybe-configure-stage1-intl
45018 configure-stage2-gold: maybe-configure-stage2-intl
45019 configure-stage3-gold: maybe-configure-stage3-intl
45020 configure-stage4-gold: maybe-configure-stage4-intl
45021 configure-stageprofile-gold: maybe-configure-stageprofile-intl
45022 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
45023 all-gold: maybe-all-libiberty
45025 all-stage1-gold: maybe-all-stage1-libiberty
45026 all-stage2-gold: maybe-all-stage2-libiberty
45027 all-stage3-gold: maybe-all-stage3-libiberty
45028 all-stage4-gold: maybe-all-stage4-libiberty
45029 all-stageprofile-gold: maybe-all-stageprofile-libiberty
45030 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
45031 all-gold: maybe-all-intl
45033 all-stage1-gold: maybe-all-stage1-intl
45034 all-stage2-gold: maybe-all-stage2-intl
45035 all-stage3-gold: maybe-all-stage3-intl
45036 all-stage4-gold: maybe-all-stage4-intl
45037 all-stageprofile-gold: maybe-all-stageprofile-intl
45038 all-stagefeedback-gold: maybe-all-stagefeedback-intl
45039 all-gold: maybe-all-bfd
45041 all-stage1-gold: maybe-all-stage1-bfd
45042 all-stage2-gold: maybe-all-stage2-bfd
45043 all-stage3-gold: maybe-all-stage3-bfd
45044 all-stage4-gold: maybe-all-stage4-bfd
45045 all-stageprofile-gold: maybe-all-stageprofile-bfd
45046 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
45047 all-gold: maybe-all-build-bison
45049 all-stage1-gold: maybe-all-build-bison
45050 all-stage2-gold: maybe-all-build-bison
45051 all-stage3-gold: maybe-all-build-bison
45052 all-stage4-gold: maybe-all-build-bison
45053 all-stageprofile-gold: maybe-all-build-bison
45054 all-stagefeedback-gold: maybe-all-build-bison
45055 check-gold: maybe-all-binutils
45057 check-stage1-gold: maybe-all-stage1-binutils
45058 check-stage2-gold: maybe-all-stage2-binutils
45059 check-stage3-gold: maybe-all-stage3-binutils
45060 check-stage4-gold: maybe-all-stage4-binutils
45061 check-stageprofile-gold: maybe-all-stageprofile-binutils
45062 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
45063 check-gold: maybe-all-gas
45065 check-stage1-gold: maybe-all-stage1-gas
45066 check-stage2-gold: maybe-all-stage2-gas
45067 check-stage3-gold: maybe-all-stage3-gas
45068 check-stage4-gold: maybe-all-stage4-gas
45069 check-stageprofile-gold: maybe-all-stageprofile-gas
45070 check-stagefeedback-gold: maybe-all-stagefeedback-gas
45071 configure-opcodes: maybe-configure-intl
45073 configure-stage1-opcodes: maybe-configure-stage1-intl
45074 configure-stage2-opcodes: maybe-configure-stage2-intl
45075 configure-stage3-opcodes: maybe-configure-stage3-intl
45076 configure-stage4-opcodes: maybe-configure-stage4-intl
45077 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
45078 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
45079 all-opcodes: maybe-all-bfd
45081 all-stage1-opcodes: maybe-all-stage1-bfd
45082 all-stage2-opcodes: maybe-all-stage2-bfd
45083 all-stage3-opcodes: maybe-all-stage3-bfd
45084 all-stage4-opcodes: maybe-all-stage4-bfd
45085 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
45086 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
45087 all-opcodes: maybe-all-libiberty
45089 all-stage1-opcodes: maybe-all-stage1-libiberty
45090 all-stage2-opcodes: maybe-all-stage2-libiberty
45091 all-stage3-opcodes: maybe-all-stage3-libiberty
45092 all-stage4-opcodes: maybe-all-stage4-libiberty
45093 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
45094 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
45095 all-opcodes: maybe-all-intl
45097 all-stage1-opcodes: maybe-all-stage1-intl
45098 all-stage2-opcodes: maybe-all-stage2-intl
45099 all-stage3-opcodes: maybe-all-stage3-intl
45100 all-stage4-opcodes: maybe-all-stage4-intl
45101 all-stageprofile-opcodes: maybe-all-stageprofile-intl
45102 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
45103 all-dejagnu: maybe-all-tcl
45104 all-dejagnu: maybe-all-expect
45105 all-dejagnu: maybe-all-tk
45106 configure-expect: maybe-configure-tcl
45107 configure-expect: maybe-configure-tk
45108 all-expect: maybe-all-tcl
45109 all-expect: maybe-all-tk
45110 configure-itcl: maybe-configure-tcl
45111 configure-itcl: maybe-configure-tk
45112 all-itcl: maybe-all-tcl
45113 all-itcl: maybe-all-tk
45114 install-itcl: maybe-install-tcl
45115 install-strip-itcl: maybe-install-strip-tcl
45116 configure-tk: maybe-configure-tcl
45117 all-tk: maybe-all-tcl
45118 all-sid: maybe-all-libiberty
45119 all-sid: maybe-all-bfd
45120 all-sid: maybe-all-opcodes
45121 all-sid: maybe-all-tcl
45122 all-sid: maybe-all-tk
45123 install-sid: maybe-install-tcl
45124 install-strip-sid: maybe-install-strip-tcl
45125 install-sid: maybe-install-tk
45126 install-strip-sid: maybe-install-strip-tk
45127 configure-sim: maybe-configure-intl
45128 all-sim: maybe-all-intl
45129 all-sim: maybe-all-libiberty
45130 all-sim: maybe-all-bfd
45131 all-sim: maybe-all-opcodes
45132 all-sim: maybe-all-readline
45133 all-sim: maybe-configure-gdb
45134 all-fastjar: maybe-all-zlib
45135 all-fastjar: maybe-all-build-texinfo
45136 all-fastjar: maybe-all-libiberty
45137 all-bison: maybe-all-intl
45138 all-bison: maybe-all-build-texinfo
45139 all-flex: maybe-all-build-bison
45140 all-flex: maybe-all-intl
45141 all-flex: maybe-all-m4
45142 all-flex: maybe-all-build-texinfo
45143 all-m4: maybe-all-intl
45144 all-m4: maybe-all-build-texinfo
45145 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
45146 configure-target-fastjar: maybe-configure-target-zlib
45147 all-target-fastjar: maybe-all-target-zlib
45148 configure-target-libgo: maybe-configure-target-libffi
45149 configure-target-libgo: maybe-all-target-libstdc++-v3
45150 all-target-libgo: maybe-all-target-libbacktrace
45151 all-target-libgo: maybe-all-target-libffi
45152 configure-target-libjava: maybe-configure-target-zlib
45153 configure-target-libjava: maybe-configure-target-boehm-gc
45154 configure-target-libjava: maybe-configure-target-libffi
45155 all-target-libjava: maybe-all-fastjar
45156 all-target-libjava: maybe-all-target-zlib
45157 all-target-libjava: maybe-all-target-boehm-gc
45158 all-target-libjava: maybe-all-target-libffi
45159 configure-target-libobjc: maybe-configure-target-boehm-gc
45160 all-target-libobjc: maybe-all-target-boehm-gc
45161 configure-target-libstdc++-v3: maybe-configure-target-libgomp
45163 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
45164 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
45165 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
45166 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
45167 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
45168 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
45169 all-target-libstdc++-v3: maybe-configure-target-libgomp
45171 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
45172 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
45173 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
45174 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
45175 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
45176 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
45177 all-target-libgloss: maybe-all-target-newlib
45178 all-target-winsup: maybe-all-target-libtermcap
45179 configure-target-newlib: maybe-all-binutils
45180 configure-target-newlib: maybe-all-ld
45181 configure-target-libgfortran: maybe-all-target-libquadmath
45184 # Dependencies for target modules on other target modules are
45185 # described by lang_env_dependencies; the defaults apply to anything
45186 # not mentioned there.
45190 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
45191 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
45192 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
45193 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
45194 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
45195 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
45196 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
45197 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
45198 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
45199 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
45200 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
45201 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
45202 @endif gcc-bootstrap
45204 @if gcc-no-bootstrap
45205 configure-target-libstdc++-v3: maybe-all-target-libgcc
45206 configure-target-libmudflap: maybe-all-target-libgcc
45207 configure-target-libssp: maybe-all-target-libgcc
45208 configure-target-newlib: maybe-all-target-libgcc
45209 configure-target-libbacktrace: maybe-all-target-libgcc
45210 configure-target-libquadmath: maybe-all-target-libgcc
45211 configure-target-libgfortran: maybe-all-target-libgcc
45212 configure-target-libobjc: maybe-all-target-libgcc
45213 configure-target-libgo: maybe-all-target-libgcc
45214 configure-target-libtermcap: maybe-all-target-libgcc
45215 configure-target-winsup: maybe-all-target-libgcc
45216 configure-target-libgloss: maybe-all-target-libgcc
45217 configure-target-libffi: maybe-all-target-libgcc
45218 configure-target-libjava: maybe-all-target-libgcc
45219 configure-target-zlib: maybe-all-target-libgcc
45220 configure-target-boehm-gc: maybe-all-target-libgcc
45221 configure-target-rda: maybe-all-target-libgcc
45222 configure-target-libada: maybe-all-target-libgcc
45223 configure-target-libgomp: maybe-all-target-libgcc
45224 configure-target-libitm: maybe-all-target-libgcc
45225 configure-target-libatomic: maybe-all-target-libgcc
45226 @endif gcc-no-bootstrap
45229 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
45231 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
45233 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
45237 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
45239 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
45241 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
45243 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
45245 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
45247 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
45249 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
45252 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
45254 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
45255 configure-target-libjava: maybe-all-target-libstdc++-v3
45257 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
45259 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
45261 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
45263 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
45265 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
45267 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
45268 configure-target-libitm: maybe-all-target-libstdc++-v3
45270 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
45273 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
45275 INSTALL_GDB_TK = @INSTALL_GDB_TK@
45276 configure-gdb: $(CONFIGURE_GDB_TK)
45277 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
45278 install-gdb: $(INSTALL_GDB_TK)
45280 # Serialization dependencies. Host configures don't work well in parallel to
45281 # each other, due to contention over config.cache. Target configures and
45282 # build configures are similar.
45283 @serialization_dependencies@
45285 # --------------------------------
45286 # Regenerating top level configury
45287 # --------------------------------
45289 # Rebuilding Makefile.in, using autogen.
45291 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
45292 cd $(srcdir) && $(AUTOGEN) Makefile.def
45294 # Rebuilding Makefile.
45295 Makefile: $(srcdir)/Makefile.in config.status
45296 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
45298 config.status: configure
45299 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
45301 # Rebuilding configure.
45302 AUTOCONF = autoconf
45303 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
45304 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
45305 cd $(srcdir) && $(AUTOCONF)
45307 # ------------------------------
45308 # Special directives to GNU Make
45309 # ------------------------------
45311 # Don't pass command-line variables to submakes.
45315 # end of Makefile.in