gcc/:
[official-gcc.git] / Makefile.in
blob117fbf5d7520751b3d2510061e35c1e315491c7a
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.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
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@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
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
119 # bootstrapping.
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
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
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_PASS.
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
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 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 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
217 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
218 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
219 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
220 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
221 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
222 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
223 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
224 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
225 ISLVER="$(HOST_ISLVER)"; export ISLVER; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
228 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
229 @if gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
231 @endif gcc-bootstrap
232 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
234 POSTSTAGE1_CXX_EXPORT = \
235 CXX='$(CXX)'; export CXX; \
236 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
237 @if target-libstdc++-v3-bootstrap
238 # Override the above if we're bootstrapping C++.
239 POSTSTAGE1_CXX_EXPORT = \
240 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
241 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
242 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
243 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
244 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
245 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
246 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
247 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
248 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
249 export CXX; \
250 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
251 @endif target-libstdc++-v3-bootstrap
253 # Similar, for later GCC stages.
254 POSTSTAGE1_HOST_EXPORTS = \
255 $(HOST_EXPORTS) \
256 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
257 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
258 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
259 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
260 $(POSTSTAGE1_CXX_EXPORT) \
261 $(LTO_EXPORTS) \
262 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
263 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
264 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
266 # Target libraries are put under this directory:
267 TARGET_SUBDIR = @target_subdir@
268 # This is set by the configure script to the arguments to use when configuring
269 # directories built for the target.
270 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
271 # This is the list of variables to export in the environment when
272 # configuring subdirectories for the target system.
273 BASE_TARGET_EXPORTS = \
274 $(BASE_EXPORTS) \
275 AR="$(AR_FOR_TARGET)"; export AR; \
276 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
277 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
278 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
279 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
280 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
281 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
282 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
283 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
284 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
285 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
286 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
287 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
288 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
289 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
290 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
291 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
292 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
293 READELF="$(READELF_FOR_TARGET)"; export READELF; \
294 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
295 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
296 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
297 @if gcc-bootstrap
298 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
299 @endif gcc-bootstrap
300 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
301 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
303 RAW_CXX_TARGET_EXPORTS = \
304 $(BASE_TARGET_EXPORTS) \
305 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
306 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 NORMAL_TARGET_EXPORTS = \
309 $(BASE_TARGET_EXPORTS) \
310 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
312 # Where to find GMP
313 HOST_GMPLIBS = @gmplibs@
314 HOST_GMPINC = @gmpinc@
316 # Where to find isl
317 HOST_ISLLIBS = @isllibs@
318 HOST_ISLINC = @islinc@
319 HOST_ISLVER = @islver@
321 # Where to find libelf
322 HOST_LIBELFLIBS = @libelflibs@
323 HOST_LIBELFINC = @libelfinc@
325 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
327 # ----------------------------------------------
328 # Programs producing files for the BUILD machine
329 # ----------------------------------------------
331 SHELL = @SHELL@
333 # pwd command to use. Allow user to override default by setting PWDCMD in
334 # the environment to account for automounters. The make variable must not
335 # be called PWDCMD, otherwise the value set here is passed to make
336 # subprocesses and overrides the setting from the user's environment.
337 # Don't use PWD since it is a common shell environment variable and we
338 # don't want to corrupt it.
339 PWD_COMMAND = $${PWDCMD-pwd}
341 # compilers to use to create programs which must be run in the build
342 # environment.
343 AR_FOR_BUILD = @AR_FOR_BUILD@
344 AS_FOR_BUILD = @AS_FOR_BUILD@
345 CC_FOR_BUILD = @CC_FOR_BUILD@
346 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
347 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
348 CXX_FOR_BUILD = @CXX_FOR_BUILD@
349 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
350 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
351 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
352 GOC_FOR_BUILD = @GOC_FOR_BUILD@
353 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
354 LD_FOR_BUILD = @LD_FOR_BUILD@
355 NM_FOR_BUILD = @NM_FOR_BUILD@
356 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
357 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
358 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
360 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
361 # here so that they can be overridden by Makefile fragments.
362 BUILD_PREFIX = @BUILD_PREFIX@
363 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
365 # Flags to pass to stage2 and later makes. They are defined
366 # here so that they can be overridden by Makefile fragments.
367 BOOT_CFLAGS= -g -O2
368 BOOT_LDFLAGS=
369 BOOT_ADAFLAGS= -gnatpg
371 AWK = @AWK@
372 SED = @SED@
373 BISON = @BISON@
374 YACC = @YACC@
375 FLEX = @FLEX@
376 LEX = @LEX@
377 M4 = @M4@
378 MAKEINFO = @MAKEINFO@
379 EXPECT = @EXPECT@
380 RUNTEST = @RUNTEST@
382 AUTO_PROFILE = gcc-auto-profile -c 1000000
384 # This just becomes part of the MAKEINFO definition passed down to
385 # sub-makes. It lets flags be given on the command line while still
386 # using the makeinfo from the object tree.
387 # (Default to avoid splitting info files by setting the threshold high.)
388 MAKEINFOFLAGS = --split-size=5000000
390 # ---------------------------------------------
391 # Programs producing files for the HOST machine
392 # ---------------------------------------------
394 AS = @AS@
395 AR = @AR@
396 AR_FLAGS = rc
397 CC = @CC@
398 CXX = @CXX@
399 DLLTOOL = @DLLTOOL@
400 LD = @LD@
401 LIPO = @LIPO@
402 NM = @NM@
403 OBJDUMP = @OBJDUMP@
404 RANLIB = @RANLIB@
405 READELF = @READELF@
406 STRIP = @STRIP@
407 WINDRES = @WINDRES@
408 WINDMC = @WINDMC@
410 GNATBIND = @GNATBIND@
411 GNATMAKE = @GNATMAKE@
413 CFLAGS = @CFLAGS@
414 LDFLAGS = @LDFLAGS@
415 LIBCFLAGS = $(CFLAGS)
416 CXXFLAGS = @CXXFLAGS@
417 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
418 GOCFLAGS = $(CFLAGS)
420 CREATE_GCOV = create_gcov
422 TFLAGS =
424 # Defaults for all stages; some are overridden below.
426 STAGE_CFLAGS = $(BOOT_CFLAGS)
427 STAGE_TFLAGS = $(TFLAGS)
428 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
431 # Defaults for stage 1; some are overridden below.
432 STAGE1_CFLAGS = $(STAGE_CFLAGS)
433 STAGE1_CXXFLAGS = $(CXXFLAGS)
434 @if target-libstdc++-v3-bootstrap
435 # Override the above if we're bootstrapping C++.
436 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
437 @endif target-libstdc++-v3-bootstrap
438 STAGE1_TFLAGS = $(STAGE_TFLAGS)
439 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
441 # Defaults for stage 2; some are overridden below.
442 STAGE2_CFLAGS = $(STAGE_CFLAGS)
443 STAGE2_CXXFLAGS = $(CXXFLAGS)
444 @if target-libstdc++-v3-bootstrap
445 # Override the above if we're bootstrapping C++.
446 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
447 @endif target-libstdc++-v3-bootstrap
448 STAGE2_TFLAGS = $(STAGE_TFLAGS)
449 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
451 # Defaults for stage 3; some are overridden below.
452 STAGE3_CFLAGS = $(STAGE_CFLAGS)
453 STAGE3_CXXFLAGS = $(CXXFLAGS)
454 @if target-libstdc++-v3-bootstrap
455 # Override the above if we're bootstrapping C++.
456 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
457 @endif target-libstdc++-v3-bootstrap
458 STAGE3_TFLAGS = $(STAGE_TFLAGS)
459 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
461 # Defaults for stage 4; some are overridden below.
462 STAGE4_CFLAGS = $(STAGE_CFLAGS)
463 STAGE4_CXXFLAGS = $(CXXFLAGS)
464 @if target-libstdc++-v3-bootstrap
465 # Override the above if we're bootstrapping C++.
466 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
467 @endif target-libstdc++-v3-bootstrap
468 STAGE4_TFLAGS = $(STAGE_TFLAGS)
469 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
471 # Defaults for stage profile; some are overridden below.
472 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
473 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
474 @if target-libstdc++-v3-bootstrap
475 # Override the above if we're bootstrapping C++.
476 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
477 @endif target-libstdc++-v3-bootstrap
478 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
479 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
481 # Defaults for stage feedback; some are overridden below.
482 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
483 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
484 @if target-libstdc++-v3-bootstrap
485 # Override the above if we're bootstrapping C++.
486 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
487 @endif target-libstdc++-v3-bootstrap
488 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
489 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
491 # Defaults for stage autoprofile; some are overridden below.
492 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
493 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
494 @if target-libstdc++-v3-bootstrap
495 # Override the above if we're bootstrapping C++.
496 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
497 @endif target-libstdc++-v3-bootstrap
498 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
499 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
501 # Defaults for stage autofeedback; some are overridden below.
502 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
503 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
504 @if target-libstdc++-v3-bootstrap
505 # Override the above if we're bootstrapping C++.
506 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
507 @endif target-libstdc++-v3-bootstrap
508 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
509 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
512 # By default, C and C++ are the only stage1 languages, because they are the
513 # only ones we require to build with the bootstrap compiler, and also the
514 # only ones useful for building stage2.
516 STAGE1_CFLAGS = @stage1_cflags@
517 STAGE1_CHECKING = @stage1_checking@
518 STAGE1_LANGUAGES = @stage1_languages@
519 # * We force-disable intermodule optimizations, even if
520 # --enable-intermodule was passed, since the installed compiler
521 # probably can't handle them. Luckily, autoconf always respects
522 # the last argument when conflicting --enable arguments are passed.
523 # * Likewise, we force-disable coverage flags, since the installed
524 # compiler probably has never heard of them.
525 # * We also disable -Wformat, since older GCCs don't understand newer %s.
526 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
527 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
528 --disable-build-format-warnings
530 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
531 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
533 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
534 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
536 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
537 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
539 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
540 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
542 do-compare = @do_compare@
543 do-compare3 = $(do-compare)
545 # -----------------------------------------------
546 # Programs producing files for the TARGET machine
547 # -----------------------------------------------
549 AR_FOR_TARGET=@AR_FOR_TARGET@
550 AS_FOR_TARGET=@AS_FOR_TARGET@
551 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
553 # If GCC_FOR_TARGET is not overriden on the command line, then this
554 # variable is passed down to the gcc Makefile, where it is used to
555 # build libgcc2.a. We define it here so that it can itself be
556 # overridden on the command line.
557 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
558 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
559 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
560 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
561 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
562 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
563 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
564 LD_FOR_TARGET=@LD_FOR_TARGET@
566 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
567 NM_FOR_TARGET=@NM_FOR_TARGET@
568 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
569 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
570 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
571 READELF_FOR_TARGET=@READELF_FOR_TARGET@
572 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
573 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
574 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
576 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
577 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
578 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
580 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
581 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
583 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
584 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
585 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
586 GOCFLAGS_FOR_TARGET = -O2 -g
588 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
589 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
590 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
592 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
594 # ------------------------------------
595 # Miscellaneous targets and flag lists
596 # ------------------------------------
598 # The first rule in the file had better be this one. Don't put any above it.
599 # This lives here to allow makefile fragments to contain dependencies.
600 all:
602 #### host and target specific makefile fragments come in here.
603 @target_makefile_frag@
604 @alphaieee_frag@
605 @ospace_frag@
606 @host_makefile_frag@
609 # This is the list of directories that may be needed in RPATH_ENVVAR
610 # so that programs built for the target machine work.
611 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libmpx)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
613 @if target-libstdc++-v3
614 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
615 @endif target-libstdc++-v3
617 @if target-libsanitizer
618 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
619 @endif target-libsanitizer
621 @if target-libmpx
622 TARGET_LIB_PATH_libmpx = $$r/$(TARGET_SUBDIR)/libmpx/.libs:
623 @endif target-libmpx
625 @if target-libvtv
626 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
627 @endif target-libvtv
629 @if target-libcilkrts
630 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
631 @endif target-libcilkrts
633 @if target-liboffloadmic
634 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
635 @endif target-liboffloadmic
637 @if target-libssp
638 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
639 @endif target-libssp
641 @if target-libgomp
642 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
643 @endif target-libgomp
645 @if target-libitm
646 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
647 @endif target-libitm
649 @if target-libatomic
650 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
651 @endif target-libatomic
655 # This is the list of directories that may be needed in RPATH_ENVVAR
656 # so that programs built for the host machine work.
657 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
659 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
660 @if gcc
661 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
662 @endif gcc
665 @if gmp
666 HOST_LIB_PATH_gmp = \
667 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
668 @endif gmp
670 @if mpfr
671 HOST_LIB_PATH_mpfr = \
672 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
673 @endif mpfr
675 @if mpc
676 HOST_LIB_PATH_mpc = \
677 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
678 @endif mpc
680 @if isl
681 HOST_LIB_PATH_isl = \
682 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
683 @endif isl
685 @if libelf
686 HOST_LIB_PATH_libelf = \
687 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
688 @endif libelf
691 CXX_FOR_TARGET_FLAG_TO_PASS = \
692 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
693 @if target-libstdc++-v3
694 # CXX_FOR_TARGET is tricky to get right for target libs that require a
695 # functional C++ compiler. When we recurse, if we expand
696 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
697 # libstdc++ include flags from the script. Instead, we get an
698 # -funconfigured-* word, so that we'll get errors if this invalid C++
699 # command line is used for anything, but also so that we can use the
700 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
701 # don't pass it on, sub-make will use the default definition, that
702 # re-expands it at the time of use, so we'll get it right when we need
703 # it. One potential exception is the expansion of CXX_FOR_TARGET
704 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
705 # really work, for C++ host programs can't depend on the current-stage
706 # C++ target library.
707 CXX_FOR_TARGET_FLAG_TO_PASS = \
708 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
709 @endif target-libstdc++-v3
711 # Flags to pass down to all sub-makes. STAGE*FLAGS,
712 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
713 # overrideable (for a bootstrap build stage1 also builds gcc.info).
714 BASE_FLAGS_TO_PASS = \
715 "DESTDIR=$(DESTDIR)" \
716 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
717 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
718 "bindir=$(bindir)" \
719 "datadir=$(datadir)" \
720 "exec_prefix=$(exec_prefix)" \
721 "includedir=$(includedir)" \
722 "datarootdir=$(datarootdir)" \
723 "docdir=$(docdir)" \
724 "infodir=$(infodir)" \
725 "pdfdir=$(pdfdir)" \
726 "htmldir=$(htmldir)" \
727 "libdir=$(libdir)" \
728 "libexecdir=$(libexecdir)" \
729 "lispdir=$(lispdir)" \
730 "localstatedir=$(localstatedir)" \
731 "mandir=$(mandir)" \
732 "oldincludedir=$(oldincludedir)" \
733 "prefix=$(prefix)" \
734 "sbindir=$(sbindir)" \
735 "sharedstatedir=$(sharedstatedir)" \
736 "sysconfdir=$(sysconfdir)" \
737 "tooldir=$(tooldir)" \
738 "build_tooldir=$(build_tooldir)" \
739 "target_alias=$(target_alias)" \
740 "AWK=$(AWK)" \
741 "BISON=$(BISON)" \
742 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
743 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
744 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
745 "EXPECT=$(EXPECT)" \
746 "FLEX=$(FLEX)" \
747 "INSTALL=$(INSTALL)" \
748 "INSTALL_DATA=$(INSTALL_DATA)" \
749 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
750 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
751 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
752 "LEX=$(LEX)" \
753 "M4=$(M4)" \
754 "MAKE=$(MAKE)" \
755 "RUNTEST=$(RUNTEST)" \
756 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
757 "SED=$(SED)" \
758 "SHELL=$(SHELL)" \
759 "YACC=$(YACC)" \
760 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
761 "ADA_CFLAGS=$(ADA_CFLAGS)" \
762 "AR_FLAGS=$(AR_FLAGS)" \
763 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
764 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
765 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
766 "CFLAGS=$(CFLAGS)" \
767 "CXXFLAGS=$(CXXFLAGS)" \
768 "LDFLAGS=$(LDFLAGS)" \
769 "LIBCFLAGS=$(LIBCFLAGS)" \
770 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
771 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
772 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
773 "GNATBIND=$(GNATBIND)" \
774 "GNATMAKE=$(GNATMAKE)" \
775 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
776 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
777 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
778 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
779 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
780 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
781 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
782 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
783 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
784 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
785 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
786 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
787 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
788 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
789 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
790 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
791 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
792 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
793 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
794 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
795 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
796 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
797 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
798 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
799 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
800 "BUILD_CONFIG=$(BUILD_CONFIG)" \
801 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
802 "LEAN=$(LEAN)" \
803 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
804 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
805 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
806 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
807 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
808 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
809 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
810 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
811 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
812 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
813 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
814 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
815 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
816 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
817 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
818 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
819 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
820 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
821 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
822 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
823 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
824 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
825 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
826 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
827 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
828 "TFLAGS=$(TFLAGS)" \
829 "CONFIG_SHELL=$(SHELL)" \
830 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
831 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
833 # We leave this in just in case, but it is not needed anymore.
834 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
836 # Flags to pass down to most sub-makes, in which we're building with
837 # the host environment.
838 EXTRA_HOST_FLAGS = \
839 'AR=$(AR)' \
840 'AS=$(AS)' \
841 'CC=$(CC)' \
842 'CXX=$(CXX)' \
843 'DLLTOOL=$(DLLTOOL)' \
844 'GCJ=$(GCJ)' \
845 'GFORTRAN=$(GFORTRAN)' \
846 'GOC=$(GOC)' \
847 'LD=$(LD)' \
848 'LIPO=$(LIPO)' \
849 'NM=$(NM)' \
850 'OBJDUMP=$(OBJDUMP)' \
851 'RANLIB=$(RANLIB)' \
852 'READELF=$(READELF)' \
853 'STRIP=$(STRIP)' \
854 'WINDRES=$(WINDRES)' \
855 'WINDMC=$(WINDMC)' \
856 'CREATE_GCOV=$(CREATE_GCOV)'
858 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
860 # Flags to pass to stage1 or when not bootstrapping.
862 STAGE1_FLAGS_TO_PASS = \
863 LDFLAGS="$${LDFLAGS}" \
864 HOST_LIBS="$${HOST_LIBS}"
866 # Flags to pass to stage2 and later makes.
868 POSTSTAGE1_FLAGS_TO_PASS = \
869 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
870 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
871 GNATBIND="$${GNATBIND}" \
872 LDFLAGS="$${LDFLAGS}" \
873 HOST_LIBS="$${HOST_LIBS}" \
874 $(LTO_FLAGS_TO_PASS) \
875 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
877 @if gcc-bootstrap
878 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
879 $(POSTSTAGE1_HOST_EXPORTS) \
882 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
883 @endif gcc-bootstrap
885 # Flags to pass down to makes which are built with the target environment.
886 # The double $ decreases the length of the command line; those variables
887 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
888 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
889 # so we expand them here.
890 EXTRA_TARGET_FLAGS = \
891 'AR=$$(AR_FOR_TARGET)' \
892 'AS=$(COMPILER_AS_FOR_TARGET)' \
893 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
894 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
895 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
896 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
897 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
898 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
899 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
900 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
901 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
902 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
903 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
904 'LD=$(COMPILER_LD_FOR_TARGET)' \
905 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
906 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
907 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
908 'NM=$(COMPILER_NM_FOR_TARGET)' \
909 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
910 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
911 'RANLIB=$$(RANLIB_FOR_TARGET)' \
912 'READELF=$$(READELF_FOR_TARGET)' \
913 'WINDRES=$$(WINDRES_FOR_TARGET)' \
914 'WINDMC=$$(WINDMC_FOR_TARGET)' \
915 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
916 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
917 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
918 "TFLAGS=$$TFLAGS"
920 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
922 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
923 # unfortunately needs the native compiler and the target ar and
924 # ranlib.
925 # If any variables are added here, they must be added to do-*, below.
926 # The BUILD_* variables are a special case, which are used for the gcc
927 # cross-building scheme.
928 EXTRA_GCC_FLAGS = \
929 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
930 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
931 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
933 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
935 @if gcc
936 BUILD_CONFIG = @BUILD_CONFIG@
937 ifneq ($(BUILD_CONFIG),)
938 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
939 endif
940 @endif gcc
942 .PHONY: configure-host
943 configure-host: \
944 maybe-configure-bfd \
945 maybe-configure-opcodes \
946 maybe-configure-binutils \
947 maybe-configure-bison \
948 maybe-configure-cgen \
949 maybe-configure-dejagnu \
950 maybe-configure-etc \
951 maybe-configure-fastjar \
952 maybe-configure-fixincludes \
953 maybe-configure-flex \
954 maybe-configure-gas \
955 maybe-configure-gcc \
956 maybe-configure-gmp \
957 maybe-configure-mpfr \
958 maybe-configure-mpc \
959 maybe-configure-isl \
960 maybe-configure-libelf \
961 maybe-configure-gold \
962 maybe-configure-gprof \
963 maybe-configure-intl \
964 maybe-configure-tcl \
965 maybe-configure-itcl \
966 maybe-configure-ld \
967 maybe-configure-libbacktrace \
968 maybe-configure-libcpp \
969 maybe-configure-libdecnumber \
970 maybe-configure-libgui \
971 maybe-configure-libiberty \
972 maybe-configure-libiberty-linker-plugin \
973 maybe-configure-libiconv \
974 maybe-configure-m4 \
975 maybe-configure-readline \
976 maybe-configure-sid \
977 maybe-configure-sim \
978 maybe-configure-texinfo \
979 maybe-configure-zlib \
980 maybe-configure-gdb \
981 maybe-configure-expect \
982 maybe-configure-guile \
983 maybe-configure-tk \
984 maybe-configure-libtermcap \
985 maybe-configure-utils \
986 maybe-configure-gnattools \
987 maybe-configure-lto-plugin \
988 maybe-configure-libcc1 \
989 maybe-configure-gotools
990 .PHONY: configure-target
991 configure-target: \
992 maybe-configure-target-libstdc++-v3 \
993 maybe-configure-target-libsanitizer \
994 maybe-configure-target-libmpx \
995 maybe-configure-target-libvtv \
996 maybe-configure-target-libcilkrts \
997 maybe-configure-target-liboffloadmic \
998 maybe-configure-target-libssp \
999 maybe-configure-target-newlib \
1000 maybe-configure-target-libgcc \
1001 maybe-configure-target-libbacktrace \
1002 maybe-configure-target-libquadmath \
1003 maybe-configure-target-libgfortran \
1004 maybe-configure-target-libobjc \
1005 maybe-configure-target-libgo \
1006 maybe-configure-target-libtermcap \
1007 maybe-configure-target-winsup \
1008 maybe-configure-target-libgloss \
1009 maybe-configure-target-libffi \
1010 maybe-configure-target-libjava \
1011 maybe-configure-target-zlib \
1012 maybe-configure-target-boehm-gc \
1013 maybe-configure-target-rda \
1014 maybe-configure-target-libada \
1015 maybe-configure-target-libgomp \
1016 maybe-configure-target-libitm \
1017 maybe-configure-target-libatomic
1019 # The target built for a native non-bootstrap build.
1020 .PHONY: all
1021 all:
1022 @if gcc-bootstrap
1023 [ -f stage_final ] || echo stage3 > stage_final
1024 @r=`${PWD_COMMAND}`; export r; \
1025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1026 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1027 @endif gcc-bootstrap
1028 @: $(MAKE); $(unstage)
1029 @r=`${PWD_COMMAND}`; export r; \
1030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1031 @if gcc-bootstrap
1032 if [ -f stage_last ]; then \
1033 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1034 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1035 else \
1036 @endif gcc-bootstrap
1037 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1038 @if gcc-bootstrap
1040 fi \
1041 @endif gcc-bootstrap
1042 && :
1044 .PHONY: all-build
1046 all-build: maybe-all-build-libiberty
1047 all-build: maybe-all-build-bison
1048 all-build: maybe-all-build-flex
1049 all-build: maybe-all-build-m4
1050 all-build: maybe-all-build-texinfo
1051 all-build: maybe-all-build-fixincludes
1052 all-build: maybe-all-build-libcpp
1054 .PHONY: all-host
1056 @if bfd-no-bootstrap
1057 all-host: maybe-all-bfd
1058 @endif bfd-no-bootstrap
1059 @if opcodes-no-bootstrap
1060 all-host: maybe-all-opcodes
1061 @endif opcodes-no-bootstrap
1062 @if binutils-no-bootstrap
1063 all-host: maybe-all-binutils
1064 @endif binutils-no-bootstrap
1065 all-host: maybe-all-bison
1066 all-host: maybe-all-cgen
1067 all-host: maybe-all-dejagnu
1068 all-host: maybe-all-etc
1069 all-host: maybe-all-fastjar
1070 @if fixincludes-no-bootstrap
1071 all-host: maybe-all-fixincludes
1072 @endif fixincludes-no-bootstrap
1073 all-host: maybe-all-flex
1074 @if gas-no-bootstrap
1075 all-host: maybe-all-gas
1076 @endif gas-no-bootstrap
1077 @if gcc-no-bootstrap
1078 all-host: maybe-all-gcc
1079 @endif gcc-no-bootstrap
1080 @if gmp-no-bootstrap
1081 all-host: maybe-all-gmp
1082 @endif gmp-no-bootstrap
1083 @if mpfr-no-bootstrap
1084 all-host: maybe-all-mpfr
1085 @endif mpfr-no-bootstrap
1086 @if mpc-no-bootstrap
1087 all-host: maybe-all-mpc
1088 @endif mpc-no-bootstrap
1089 @if isl-no-bootstrap
1090 all-host: maybe-all-isl
1091 @endif isl-no-bootstrap
1092 @if libelf-no-bootstrap
1093 all-host: maybe-all-libelf
1094 @endif libelf-no-bootstrap
1095 @if gold-no-bootstrap
1096 all-host: maybe-all-gold
1097 @endif gold-no-bootstrap
1098 all-host: maybe-all-gprof
1099 @if intl-no-bootstrap
1100 all-host: maybe-all-intl
1101 @endif intl-no-bootstrap
1102 all-host: maybe-all-tcl
1103 all-host: maybe-all-itcl
1104 @if ld-no-bootstrap
1105 all-host: maybe-all-ld
1106 @endif ld-no-bootstrap
1107 @if libbacktrace-no-bootstrap
1108 all-host: maybe-all-libbacktrace
1109 @endif libbacktrace-no-bootstrap
1110 @if libcpp-no-bootstrap
1111 all-host: maybe-all-libcpp
1112 @endif libcpp-no-bootstrap
1113 @if libdecnumber-no-bootstrap
1114 all-host: maybe-all-libdecnumber
1115 @endif libdecnumber-no-bootstrap
1116 all-host: maybe-all-libgui
1117 @if libiberty-no-bootstrap
1118 all-host: maybe-all-libiberty
1119 @endif libiberty-no-bootstrap
1120 @if libiberty-linker-plugin-no-bootstrap
1121 all-host: maybe-all-libiberty-linker-plugin
1122 @endif libiberty-linker-plugin-no-bootstrap
1123 @if libiconv-no-bootstrap
1124 all-host: maybe-all-libiconv
1125 @endif libiconv-no-bootstrap
1126 all-host: maybe-all-m4
1127 all-host: maybe-all-readline
1128 all-host: maybe-all-sid
1129 all-host: maybe-all-sim
1130 all-host: maybe-all-texinfo
1131 @if zlib-no-bootstrap
1132 all-host: maybe-all-zlib
1133 @endif zlib-no-bootstrap
1134 all-host: maybe-all-gdb
1135 all-host: maybe-all-expect
1136 all-host: maybe-all-guile
1137 all-host: maybe-all-tk
1138 all-host: maybe-all-libtermcap
1139 all-host: maybe-all-utils
1140 all-host: maybe-all-gnattools
1141 @if lto-plugin-no-bootstrap
1142 all-host: maybe-all-lto-plugin
1143 @endif lto-plugin-no-bootstrap
1144 all-host: maybe-all-libcc1
1145 all-host: maybe-all-gotools
1147 .PHONY: all-target
1149 @if target-libstdc++-v3-no-bootstrap
1150 all-target: maybe-all-target-libstdc++-v3
1151 @endif target-libstdc++-v3-no-bootstrap
1152 @if target-libsanitizer-no-bootstrap
1153 all-target: maybe-all-target-libsanitizer
1154 @endif target-libsanitizer-no-bootstrap
1155 @if target-libmpx-no-bootstrap
1156 all-target: maybe-all-target-libmpx
1157 @endif target-libmpx-no-bootstrap
1158 @if target-libvtv-no-bootstrap
1159 all-target: maybe-all-target-libvtv
1160 @endif target-libvtv-no-bootstrap
1161 all-target: maybe-all-target-libcilkrts
1162 all-target: maybe-all-target-liboffloadmic
1163 all-target: maybe-all-target-libssp
1164 all-target: maybe-all-target-newlib
1165 @if target-libgcc-no-bootstrap
1166 all-target: maybe-all-target-libgcc
1167 @endif target-libgcc-no-bootstrap
1168 all-target: maybe-all-target-libbacktrace
1169 all-target: maybe-all-target-libquadmath
1170 all-target: maybe-all-target-libgfortran
1171 all-target: maybe-all-target-libobjc
1172 all-target: maybe-all-target-libgo
1173 all-target: maybe-all-target-libtermcap
1174 all-target: maybe-all-target-winsup
1175 all-target: maybe-all-target-libgloss
1176 all-target: maybe-all-target-libffi
1177 all-target: maybe-all-target-libjava
1178 all-target: maybe-all-target-zlib
1179 all-target: maybe-all-target-boehm-gc
1180 all-target: maybe-all-target-rda
1181 all-target: maybe-all-target-libada
1182 @if target-libgomp-no-bootstrap
1183 all-target: maybe-all-target-libgomp
1184 @endif target-libgomp-no-bootstrap
1185 all-target: maybe-all-target-libitm
1186 all-target: maybe-all-target-libatomic
1188 # Do a target for all the subdirectories. A ``make do-X'' will do a
1189 # ``make X'' in all subdirectories (because, in general, there is a
1190 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1191 # but it may do additional work as well).
1193 .PHONY: do-info
1194 do-info:
1195 @: $(MAKE); $(unstage)
1196 @r=`${PWD_COMMAND}`; export r; \
1197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1198 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1199 info-target
1202 .PHONY: info-host
1204 info-host: maybe-info-bfd
1205 info-host: maybe-info-opcodes
1206 info-host: maybe-info-binutils
1207 info-host: maybe-info-bison
1208 info-host: maybe-info-cgen
1209 info-host: maybe-info-dejagnu
1210 info-host: maybe-info-etc
1211 info-host: maybe-info-fastjar
1212 info-host: maybe-info-fixincludes
1213 info-host: maybe-info-flex
1214 info-host: maybe-info-gas
1215 info-host: maybe-info-gcc
1216 info-host: maybe-info-gmp
1217 info-host: maybe-info-mpfr
1218 info-host: maybe-info-mpc
1219 info-host: maybe-info-isl
1220 info-host: maybe-info-libelf
1221 info-host: maybe-info-gold
1222 info-host: maybe-info-gprof
1223 info-host: maybe-info-intl
1224 info-host: maybe-info-tcl
1225 info-host: maybe-info-itcl
1226 info-host: maybe-info-ld
1227 info-host: maybe-info-libbacktrace
1228 info-host: maybe-info-libcpp
1229 info-host: maybe-info-libdecnumber
1230 info-host: maybe-info-libgui
1231 info-host: maybe-info-libiberty
1232 info-host: maybe-info-libiberty-linker-plugin
1233 info-host: maybe-info-libiconv
1234 info-host: maybe-info-m4
1235 info-host: maybe-info-readline
1236 info-host: maybe-info-sid
1237 info-host: maybe-info-sim
1238 info-host: maybe-info-texinfo
1239 info-host: maybe-info-zlib
1240 info-host: maybe-info-gdb
1241 info-host: maybe-info-expect
1242 info-host: maybe-info-guile
1243 info-host: maybe-info-tk
1244 info-host: maybe-info-libtermcap
1245 info-host: maybe-info-utils
1246 info-host: maybe-info-gnattools
1247 info-host: maybe-info-lto-plugin
1248 info-host: maybe-info-libcc1
1249 info-host: maybe-info-gotools
1251 .PHONY: info-target
1253 info-target: maybe-info-target-libstdc++-v3
1254 info-target: maybe-info-target-libsanitizer
1255 info-target: maybe-info-target-libmpx
1256 info-target: maybe-info-target-libvtv
1257 info-target: maybe-info-target-libcilkrts
1258 info-target: maybe-info-target-liboffloadmic
1259 info-target: maybe-info-target-libssp
1260 info-target: maybe-info-target-newlib
1261 info-target: maybe-info-target-libgcc
1262 info-target: maybe-info-target-libbacktrace
1263 info-target: maybe-info-target-libquadmath
1264 info-target: maybe-info-target-libgfortran
1265 info-target: maybe-info-target-libobjc
1266 info-target: maybe-info-target-libgo
1267 info-target: maybe-info-target-libtermcap
1268 info-target: maybe-info-target-winsup
1269 info-target: maybe-info-target-libgloss
1270 info-target: maybe-info-target-libffi
1271 info-target: maybe-info-target-libjava
1272 info-target: maybe-info-target-zlib
1273 info-target: maybe-info-target-boehm-gc
1274 info-target: maybe-info-target-rda
1275 info-target: maybe-info-target-libada
1276 info-target: maybe-info-target-libgomp
1277 info-target: maybe-info-target-libitm
1278 info-target: maybe-info-target-libatomic
1280 .PHONY: do-dvi
1281 do-dvi:
1282 @: $(MAKE); $(unstage)
1283 @r=`${PWD_COMMAND}`; export r; \
1284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1285 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1286 dvi-target
1289 .PHONY: dvi-host
1291 dvi-host: maybe-dvi-bfd
1292 dvi-host: maybe-dvi-opcodes
1293 dvi-host: maybe-dvi-binutils
1294 dvi-host: maybe-dvi-bison
1295 dvi-host: maybe-dvi-cgen
1296 dvi-host: maybe-dvi-dejagnu
1297 dvi-host: maybe-dvi-etc
1298 dvi-host: maybe-dvi-fastjar
1299 dvi-host: maybe-dvi-fixincludes
1300 dvi-host: maybe-dvi-flex
1301 dvi-host: maybe-dvi-gas
1302 dvi-host: maybe-dvi-gcc
1303 dvi-host: maybe-dvi-gmp
1304 dvi-host: maybe-dvi-mpfr
1305 dvi-host: maybe-dvi-mpc
1306 dvi-host: maybe-dvi-isl
1307 dvi-host: maybe-dvi-libelf
1308 dvi-host: maybe-dvi-gold
1309 dvi-host: maybe-dvi-gprof
1310 dvi-host: maybe-dvi-intl
1311 dvi-host: maybe-dvi-tcl
1312 dvi-host: maybe-dvi-itcl
1313 dvi-host: maybe-dvi-ld
1314 dvi-host: maybe-dvi-libbacktrace
1315 dvi-host: maybe-dvi-libcpp
1316 dvi-host: maybe-dvi-libdecnumber
1317 dvi-host: maybe-dvi-libgui
1318 dvi-host: maybe-dvi-libiberty
1319 dvi-host: maybe-dvi-libiberty-linker-plugin
1320 dvi-host: maybe-dvi-libiconv
1321 dvi-host: maybe-dvi-m4
1322 dvi-host: maybe-dvi-readline
1323 dvi-host: maybe-dvi-sid
1324 dvi-host: maybe-dvi-sim
1325 dvi-host: maybe-dvi-texinfo
1326 dvi-host: maybe-dvi-zlib
1327 dvi-host: maybe-dvi-gdb
1328 dvi-host: maybe-dvi-expect
1329 dvi-host: maybe-dvi-guile
1330 dvi-host: maybe-dvi-tk
1331 dvi-host: maybe-dvi-libtermcap
1332 dvi-host: maybe-dvi-utils
1333 dvi-host: maybe-dvi-gnattools
1334 dvi-host: maybe-dvi-lto-plugin
1335 dvi-host: maybe-dvi-libcc1
1336 dvi-host: maybe-dvi-gotools
1338 .PHONY: dvi-target
1340 dvi-target: maybe-dvi-target-libstdc++-v3
1341 dvi-target: maybe-dvi-target-libsanitizer
1342 dvi-target: maybe-dvi-target-libmpx
1343 dvi-target: maybe-dvi-target-libvtv
1344 dvi-target: maybe-dvi-target-libcilkrts
1345 dvi-target: maybe-dvi-target-liboffloadmic
1346 dvi-target: maybe-dvi-target-libssp
1347 dvi-target: maybe-dvi-target-newlib
1348 dvi-target: maybe-dvi-target-libgcc
1349 dvi-target: maybe-dvi-target-libbacktrace
1350 dvi-target: maybe-dvi-target-libquadmath
1351 dvi-target: maybe-dvi-target-libgfortran
1352 dvi-target: maybe-dvi-target-libobjc
1353 dvi-target: maybe-dvi-target-libgo
1354 dvi-target: maybe-dvi-target-libtermcap
1355 dvi-target: maybe-dvi-target-winsup
1356 dvi-target: maybe-dvi-target-libgloss
1357 dvi-target: maybe-dvi-target-libffi
1358 dvi-target: maybe-dvi-target-libjava
1359 dvi-target: maybe-dvi-target-zlib
1360 dvi-target: maybe-dvi-target-boehm-gc
1361 dvi-target: maybe-dvi-target-rda
1362 dvi-target: maybe-dvi-target-libada
1363 dvi-target: maybe-dvi-target-libgomp
1364 dvi-target: maybe-dvi-target-libitm
1365 dvi-target: maybe-dvi-target-libatomic
1367 .PHONY: do-pdf
1368 do-pdf:
1369 @: $(MAKE); $(unstage)
1370 @r=`${PWD_COMMAND}`; export r; \
1371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1372 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1373 pdf-target
1376 .PHONY: pdf-host
1378 pdf-host: maybe-pdf-bfd
1379 pdf-host: maybe-pdf-opcodes
1380 pdf-host: maybe-pdf-binutils
1381 pdf-host: maybe-pdf-bison
1382 pdf-host: maybe-pdf-cgen
1383 pdf-host: maybe-pdf-dejagnu
1384 pdf-host: maybe-pdf-etc
1385 pdf-host: maybe-pdf-fastjar
1386 pdf-host: maybe-pdf-fixincludes
1387 pdf-host: maybe-pdf-flex
1388 pdf-host: maybe-pdf-gas
1389 pdf-host: maybe-pdf-gcc
1390 pdf-host: maybe-pdf-gmp
1391 pdf-host: maybe-pdf-mpfr
1392 pdf-host: maybe-pdf-mpc
1393 pdf-host: maybe-pdf-isl
1394 pdf-host: maybe-pdf-libelf
1395 pdf-host: maybe-pdf-gold
1396 pdf-host: maybe-pdf-gprof
1397 pdf-host: maybe-pdf-intl
1398 pdf-host: maybe-pdf-tcl
1399 pdf-host: maybe-pdf-itcl
1400 pdf-host: maybe-pdf-ld
1401 pdf-host: maybe-pdf-libbacktrace
1402 pdf-host: maybe-pdf-libcpp
1403 pdf-host: maybe-pdf-libdecnumber
1404 pdf-host: maybe-pdf-libgui
1405 pdf-host: maybe-pdf-libiberty
1406 pdf-host: maybe-pdf-libiberty-linker-plugin
1407 pdf-host: maybe-pdf-libiconv
1408 pdf-host: maybe-pdf-m4
1409 pdf-host: maybe-pdf-readline
1410 pdf-host: maybe-pdf-sid
1411 pdf-host: maybe-pdf-sim
1412 pdf-host: maybe-pdf-texinfo
1413 pdf-host: maybe-pdf-zlib
1414 pdf-host: maybe-pdf-gdb
1415 pdf-host: maybe-pdf-expect
1416 pdf-host: maybe-pdf-guile
1417 pdf-host: maybe-pdf-tk
1418 pdf-host: maybe-pdf-libtermcap
1419 pdf-host: maybe-pdf-utils
1420 pdf-host: maybe-pdf-gnattools
1421 pdf-host: maybe-pdf-lto-plugin
1422 pdf-host: maybe-pdf-libcc1
1423 pdf-host: maybe-pdf-gotools
1425 .PHONY: pdf-target
1427 pdf-target: maybe-pdf-target-libstdc++-v3
1428 pdf-target: maybe-pdf-target-libsanitizer
1429 pdf-target: maybe-pdf-target-libmpx
1430 pdf-target: maybe-pdf-target-libvtv
1431 pdf-target: maybe-pdf-target-libcilkrts
1432 pdf-target: maybe-pdf-target-liboffloadmic
1433 pdf-target: maybe-pdf-target-libssp
1434 pdf-target: maybe-pdf-target-newlib
1435 pdf-target: maybe-pdf-target-libgcc
1436 pdf-target: maybe-pdf-target-libbacktrace
1437 pdf-target: maybe-pdf-target-libquadmath
1438 pdf-target: maybe-pdf-target-libgfortran
1439 pdf-target: maybe-pdf-target-libobjc
1440 pdf-target: maybe-pdf-target-libgo
1441 pdf-target: maybe-pdf-target-libtermcap
1442 pdf-target: maybe-pdf-target-winsup
1443 pdf-target: maybe-pdf-target-libgloss
1444 pdf-target: maybe-pdf-target-libffi
1445 pdf-target: maybe-pdf-target-libjava
1446 pdf-target: maybe-pdf-target-zlib
1447 pdf-target: maybe-pdf-target-boehm-gc
1448 pdf-target: maybe-pdf-target-rda
1449 pdf-target: maybe-pdf-target-libada
1450 pdf-target: maybe-pdf-target-libgomp
1451 pdf-target: maybe-pdf-target-libitm
1452 pdf-target: maybe-pdf-target-libatomic
1454 .PHONY: do-html
1455 do-html:
1456 @: $(MAKE); $(unstage)
1457 @r=`${PWD_COMMAND}`; export r; \
1458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1459 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1460 html-target
1463 .PHONY: html-host
1465 html-host: maybe-html-bfd
1466 html-host: maybe-html-opcodes
1467 html-host: maybe-html-binutils
1468 html-host: maybe-html-bison
1469 html-host: maybe-html-cgen
1470 html-host: maybe-html-dejagnu
1471 html-host: maybe-html-etc
1472 html-host: maybe-html-fastjar
1473 html-host: maybe-html-fixincludes
1474 html-host: maybe-html-flex
1475 html-host: maybe-html-gas
1476 html-host: maybe-html-gcc
1477 html-host: maybe-html-gmp
1478 html-host: maybe-html-mpfr
1479 html-host: maybe-html-mpc
1480 html-host: maybe-html-isl
1481 html-host: maybe-html-libelf
1482 html-host: maybe-html-gold
1483 html-host: maybe-html-gprof
1484 html-host: maybe-html-intl
1485 html-host: maybe-html-tcl
1486 html-host: maybe-html-itcl
1487 html-host: maybe-html-ld
1488 html-host: maybe-html-libbacktrace
1489 html-host: maybe-html-libcpp
1490 html-host: maybe-html-libdecnumber
1491 html-host: maybe-html-libgui
1492 html-host: maybe-html-libiberty
1493 html-host: maybe-html-libiberty-linker-plugin
1494 html-host: maybe-html-libiconv
1495 html-host: maybe-html-m4
1496 html-host: maybe-html-readline
1497 html-host: maybe-html-sid
1498 html-host: maybe-html-sim
1499 html-host: maybe-html-texinfo
1500 html-host: maybe-html-zlib
1501 html-host: maybe-html-gdb
1502 html-host: maybe-html-expect
1503 html-host: maybe-html-guile
1504 html-host: maybe-html-tk
1505 html-host: maybe-html-libtermcap
1506 html-host: maybe-html-utils
1507 html-host: maybe-html-gnattools
1508 html-host: maybe-html-lto-plugin
1509 html-host: maybe-html-libcc1
1510 html-host: maybe-html-gotools
1512 .PHONY: html-target
1514 html-target: maybe-html-target-libstdc++-v3
1515 html-target: maybe-html-target-libsanitizer
1516 html-target: maybe-html-target-libmpx
1517 html-target: maybe-html-target-libvtv
1518 html-target: maybe-html-target-libcilkrts
1519 html-target: maybe-html-target-liboffloadmic
1520 html-target: maybe-html-target-libssp
1521 html-target: maybe-html-target-newlib
1522 html-target: maybe-html-target-libgcc
1523 html-target: maybe-html-target-libbacktrace
1524 html-target: maybe-html-target-libquadmath
1525 html-target: maybe-html-target-libgfortran
1526 html-target: maybe-html-target-libobjc
1527 html-target: maybe-html-target-libgo
1528 html-target: maybe-html-target-libtermcap
1529 html-target: maybe-html-target-winsup
1530 html-target: maybe-html-target-libgloss
1531 html-target: maybe-html-target-libffi
1532 html-target: maybe-html-target-libjava
1533 html-target: maybe-html-target-zlib
1534 html-target: maybe-html-target-boehm-gc
1535 html-target: maybe-html-target-rda
1536 html-target: maybe-html-target-libada
1537 html-target: maybe-html-target-libgomp
1538 html-target: maybe-html-target-libitm
1539 html-target: maybe-html-target-libatomic
1541 .PHONY: do-TAGS
1542 do-TAGS:
1543 @: $(MAKE); $(unstage)
1544 @r=`${PWD_COMMAND}`; export r; \
1545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1546 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1547 TAGS-target
1550 .PHONY: TAGS-host
1552 TAGS-host: maybe-TAGS-bfd
1553 TAGS-host: maybe-TAGS-opcodes
1554 TAGS-host: maybe-TAGS-binutils
1555 TAGS-host: maybe-TAGS-bison
1556 TAGS-host: maybe-TAGS-cgen
1557 TAGS-host: maybe-TAGS-dejagnu
1558 TAGS-host: maybe-TAGS-etc
1559 TAGS-host: maybe-TAGS-fastjar
1560 TAGS-host: maybe-TAGS-fixincludes
1561 TAGS-host: maybe-TAGS-flex
1562 TAGS-host: maybe-TAGS-gas
1563 TAGS-host: maybe-TAGS-gcc
1564 TAGS-host: maybe-TAGS-gmp
1565 TAGS-host: maybe-TAGS-mpfr
1566 TAGS-host: maybe-TAGS-mpc
1567 TAGS-host: maybe-TAGS-isl
1568 TAGS-host: maybe-TAGS-libelf
1569 TAGS-host: maybe-TAGS-gold
1570 TAGS-host: maybe-TAGS-gprof
1571 TAGS-host: maybe-TAGS-intl
1572 TAGS-host: maybe-TAGS-tcl
1573 TAGS-host: maybe-TAGS-itcl
1574 TAGS-host: maybe-TAGS-ld
1575 TAGS-host: maybe-TAGS-libbacktrace
1576 TAGS-host: maybe-TAGS-libcpp
1577 TAGS-host: maybe-TAGS-libdecnumber
1578 TAGS-host: maybe-TAGS-libgui
1579 TAGS-host: maybe-TAGS-libiberty
1580 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1581 TAGS-host: maybe-TAGS-libiconv
1582 TAGS-host: maybe-TAGS-m4
1583 TAGS-host: maybe-TAGS-readline
1584 TAGS-host: maybe-TAGS-sid
1585 TAGS-host: maybe-TAGS-sim
1586 TAGS-host: maybe-TAGS-texinfo
1587 TAGS-host: maybe-TAGS-zlib
1588 TAGS-host: maybe-TAGS-gdb
1589 TAGS-host: maybe-TAGS-expect
1590 TAGS-host: maybe-TAGS-guile
1591 TAGS-host: maybe-TAGS-tk
1592 TAGS-host: maybe-TAGS-libtermcap
1593 TAGS-host: maybe-TAGS-utils
1594 TAGS-host: maybe-TAGS-gnattools
1595 TAGS-host: maybe-TAGS-lto-plugin
1596 TAGS-host: maybe-TAGS-libcc1
1597 TAGS-host: maybe-TAGS-gotools
1599 .PHONY: TAGS-target
1601 TAGS-target: maybe-TAGS-target-libstdc++-v3
1602 TAGS-target: maybe-TAGS-target-libsanitizer
1603 TAGS-target: maybe-TAGS-target-libmpx
1604 TAGS-target: maybe-TAGS-target-libvtv
1605 TAGS-target: maybe-TAGS-target-libcilkrts
1606 TAGS-target: maybe-TAGS-target-liboffloadmic
1607 TAGS-target: maybe-TAGS-target-libssp
1608 TAGS-target: maybe-TAGS-target-newlib
1609 TAGS-target: maybe-TAGS-target-libgcc
1610 TAGS-target: maybe-TAGS-target-libbacktrace
1611 TAGS-target: maybe-TAGS-target-libquadmath
1612 TAGS-target: maybe-TAGS-target-libgfortran
1613 TAGS-target: maybe-TAGS-target-libobjc
1614 TAGS-target: maybe-TAGS-target-libgo
1615 TAGS-target: maybe-TAGS-target-libtermcap
1616 TAGS-target: maybe-TAGS-target-winsup
1617 TAGS-target: maybe-TAGS-target-libgloss
1618 TAGS-target: maybe-TAGS-target-libffi
1619 TAGS-target: maybe-TAGS-target-libjava
1620 TAGS-target: maybe-TAGS-target-zlib
1621 TAGS-target: maybe-TAGS-target-boehm-gc
1622 TAGS-target: maybe-TAGS-target-rda
1623 TAGS-target: maybe-TAGS-target-libada
1624 TAGS-target: maybe-TAGS-target-libgomp
1625 TAGS-target: maybe-TAGS-target-libitm
1626 TAGS-target: maybe-TAGS-target-libatomic
1628 .PHONY: do-install-info
1629 do-install-info:
1630 @: $(MAKE); $(unstage)
1631 @r=`${PWD_COMMAND}`; export r; \
1632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1633 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1634 install-info-target
1637 .PHONY: install-info-host
1639 install-info-host: maybe-install-info-bfd
1640 install-info-host: maybe-install-info-opcodes
1641 install-info-host: maybe-install-info-binutils
1642 install-info-host: maybe-install-info-bison
1643 install-info-host: maybe-install-info-cgen
1644 install-info-host: maybe-install-info-dejagnu
1645 install-info-host: maybe-install-info-etc
1646 install-info-host: maybe-install-info-fastjar
1647 install-info-host: maybe-install-info-fixincludes
1648 install-info-host: maybe-install-info-flex
1649 install-info-host: maybe-install-info-gas
1650 install-info-host: maybe-install-info-gcc
1651 install-info-host: maybe-install-info-gmp
1652 install-info-host: maybe-install-info-mpfr
1653 install-info-host: maybe-install-info-mpc
1654 install-info-host: maybe-install-info-isl
1655 install-info-host: maybe-install-info-libelf
1656 install-info-host: maybe-install-info-gold
1657 install-info-host: maybe-install-info-gprof
1658 install-info-host: maybe-install-info-intl
1659 install-info-host: maybe-install-info-tcl
1660 install-info-host: maybe-install-info-itcl
1661 install-info-host: maybe-install-info-ld
1662 install-info-host: maybe-install-info-libbacktrace
1663 install-info-host: maybe-install-info-libcpp
1664 install-info-host: maybe-install-info-libdecnumber
1665 install-info-host: maybe-install-info-libgui
1666 install-info-host: maybe-install-info-libiberty
1667 install-info-host: maybe-install-info-libiberty-linker-plugin
1668 install-info-host: maybe-install-info-libiconv
1669 install-info-host: maybe-install-info-m4
1670 install-info-host: maybe-install-info-readline
1671 install-info-host: maybe-install-info-sid
1672 install-info-host: maybe-install-info-sim
1673 install-info-host: maybe-install-info-texinfo
1674 install-info-host: maybe-install-info-zlib
1675 install-info-host: maybe-install-info-gdb
1676 install-info-host: maybe-install-info-expect
1677 install-info-host: maybe-install-info-guile
1678 install-info-host: maybe-install-info-tk
1679 install-info-host: maybe-install-info-libtermcap
1680 install-info-host: maybe-install-info-utils
1681 install-info-host: maybe-install-info-gnattools
1682 install-info-host: maybe-install-info-lto-plugin
1683 install-info-host: maybe-install-info-libcc1
1684 install-info-host: maybe-install-info-gotools
1686 .PHONY: install-info-target
1688 install-info-target: maybe-install-info-target-libstdc++-v3
1689 install-info-target: maybe-install-info-target-libsanitizer
1690 install-info-target: maybe-install-info-target-libmpx
1691 install-info-target: maybe-install-info-target-libvtv
1692 install-info-target: maybe-install-info-target-libcilkrts
1693 install-info-target: maybe-install-info-target-liboffloadmic
1694 install-info-target: maybe-install-info-target-libssp
1695 install-info-target: maybe-install-info-target-newlib
1696 install-info-target: maybe-install-info-target-libgcc
1697 install-info-target: maybe-install-info-target-libbacktrace
1698 install-info-target: maybe-install-info-target-libquadmath
1699 install-info-target: maybe-install-info-target-libgfortran
1700 install-info-target: maybe-install-info-target-libobjc
1701 install-info-target: maybe-install-info-target-libgo
1702 install-info-target: maybe-install-info-target-libtermcap
1703 install-info-target: maybe-install-info-target-winsup
1704 install-info-target: maybe-install-info-target-libgloss
1705 install-info-target: maybe-install-info-target-libffi
1706 install-info-target: maybe-install-info-target-libjava
1707 install-info-target: maybe-install-info-target-zlib
1708 install-info-target: maybe-install-info-target-boehm-gc
1709 install-info-target: maybe-install-info-target-rda
1710 install-info-target: maybe-install-info-target-libada
1711 install-info-target: maybe-install-info-target-libgomp
1712 install-info-target: maybe-install-info-target-libitm
1713 install-info-target: maybe-install-info-target-libatomic
1715 .PHONY: do-install-pdf
1716 do-install-pdf:
1717 @: $(MAKE); $(unstage)
1718 @r=`${PWD_COMMAND}`; export r; \
1719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1720 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1721 install-pdf-target
1724 .PHONY: install-pdf-host
1726 install-pdf-host: maybe-install-pdf-bfd
1727 install-pdf-host: maybe-install-pdf-opcodes
1728 install-pdf-host: maybe-install-pdf-binutils
1729 install-pdf-host: maybe-install-pdf-bison
1730 install-pdf-host: maybe-install-pdf-cgen
1731 install-pdf-host: maybe-install-pdf-dejagnu
1732 install-pdf-host: maybe-install-pdf-etc
1733 install-pdf-host: maybe-install-pdf-fastjar
1734 install-pdf-host: maybe-install-pdf-fixincludes
1735 install-pdf-host: maybe-install-pdf-flex
1736 install-pdf-host: maybe-install-pdf-gas
1737 install-pdf-host: maybe-install-pdf-gcc
1738 install-pdf-host: maybe-install-pdf-gmp
1739 install-pdf-host: maybe-install-pdf-mpfr
1740 install-pdf-host: maybe-install-pdf-mpc
1741 install-pdf-host: maybe-install-pdf-isl
1742 install-pdf-host: maybe-install-pdf-libelf
1743 install-pdf-host: maybe-install-pdf-gold
1744 install-pdf-host: maybe-install-pdf-gprof
1745 install-pdf-host: maybe-install-pdf-intl
1746 install-pdf-host: maybe-install-pdf-tcl
1747 install-pdf-host: maybe-install-pdf-itcl
1748 install-pdf-host: maybe-install-pdf-ld
1749 install-pdf-host: maybe-install-pdf-libbacktrace
1750 install-pdf-host: maybe-install-pdf-libcpp
1751 install-pdf-host: maybe-install-pdf-libdecnumber
1752 install-pdf-host: maybe-install-pdf-libgui
1753 install-pdf-host: maybe-install-pdf-libiberty
1754 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1755 install-pdf-host: maybe-install-pdf-libiconv
1756 install-pdf-host: maybe-install-pdf-m4
1757 install-pdf-host: maybe-install-pdf-readline
1758 install-pdf-host: maybe-install-pdf-sid
1759 install-pdf-host: maybe-install-pdf-sim
1760 install-pdf-host: maybe-install-pdf-texinfo
1761 install-pdf-host: maybe-install-pdf-zlib
1762 install-pdf-host: maybe-install-pdf-gdb
1763 install-pdf-host: maybe-install-pdf-expect
1764 install-pdf-host: maybe-install-pdf-guile
1765 install-pdf-host: maybe-install-pdf-tk
1766 install-pdf-host: maybe-install-pdf-libtermcap
1767 install-pdf-host: maybe-install-pdf-utils
1768 install-pdf-host: maybe-install-pdf-gnattools
1769 install-pdf-host: maybe-install-pdf-lto-plugin
1770 install-pdf-host: maybe-install-pdf-libcc1
1771 install-pdf-host: maybe-install-pdf-gotools
1773 .PHONY: install-pdf-target
1775 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1776 install-pdf-target: maybe-install-pdf-target-libsanitizer
1777 install-pdf-target: maybe-install-pdf-target-libmpx
1778 install-pdf-target: maybe-install-pdf-target-libvtv
1779 install-pdf-target: maybe-install-pdf-target-libcilkrts
1780 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1781 install-pdf-target: maybe-install-pdf-target-libssp
1782 install-pdf-target: maybe-install-pdf-target-newlib
1783 install-pdf-target: maybe-install-pdf-target-libgcc
1784 install-pdf-target: maybe-install-pdf-target-libbacktrace
1785 install-pdf-target: maybe-install-pdf-target-libquadmath
1786 install-pdf-target: maybe-install-pdf-target-libgfortran
1787 install-pdf-target: maybe-install-pdf-target-libobjc
1788 install-pdf-target: maybe-install-pdf-target-libgo
1789 install-pdf-target: maybe-install-pdf-target-libtermcap
1790 install-pdf-target: maybe-install-pdf-target-winsup
1791 install-pdf-target: maybe-install-pdf-target-libgloss
1792 install-pdf-target: maybe-install-pdf-target-libffi
1793 install-pdf-target: maybe-install-pdf-target-libjava
1794 install-pdf-target: maybe-install-pdf-target-zlib
1795 install-pdf-target: maybe-install-pdf-target-boehm-gc
1796 install-pdf-target: maybe-install-pdf-target-rda
1797 install-pdf-target: maybe-install-pdf-target-libada
1798 install-pdf-target: maybe-install-pdf-target-libgomp
1799 install-pdf-target: maybe-install-pdf-target-libitm
1800 install-pdf-target: maybe-install-pdf-target-libatomic
1802 .PHONY: do-install-html
1803 do-install-html:
1804 @: $(MAKE); $(unstage)
1805 @r=`${PWD_COMMAND}`; export r; \
1806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1807 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1808 install-html-target
1811 .PHONY: install-html-host
1813 install-html-host: maybe-install-html-bfd
1814 install-html-host: maybe-install-html-opcodes
1815 install-html-host: maybe-install-html-binutils
1816 install-html-host: maybe-install-html-bison
1817 install-html-host: maybe-install-html-cgen
1818 install-html-host: maybe-install-html-dejagnu
1819 install-html-host: maybe-install-html-etc
1820 install-html-host: maybe-install-html-fastjar
1821 install-html-host: maybe-install-html-fixincludes
1822 install-html-host: maybe-install-html-flex
1823 install-html-host: maybe-install-html-gas
1824 install-html-host: maybe-install-html-gcc
1825 install-html-host: maybe-install-html-gmp
1826 install-html-host: maybe-install-html-mpfr
1827 install-html-host: maybe-install-html-mpc
1828 install-html-host: maybe-install-html-isl
1829 install-html-host: maybe-install-html-libelf
1830 install-html-host: maybe-install-html-gold
1831 install-html-host: maybe-install-html-gprof
1832 install-html-host: maybe-install-html-intl
1833 install-html-host: maybe-install-html-tcl
1834 install-html-host: maybe-install-html-itcl
1835 install-html-host: maybe-install-html-ld
1836 install-html-host: maybe-install-html-libbacktrace
1837 install-html-host: maybe-install-html-libcpp
1838 install-html-host: maybe-install-html-libdecnumber
1839 install-html-host: maybe-install-html-libgui
1840 install-html-host: maybe-install-html-libiberty
1841 install-html-host: maybe-install-html-libiberty-linker-plugin
1842 install-html-host: maybe-install-html-libiconv
1843 install-html-host: maybe-install-html-m4
1844 install-html-host: maybe-install-html-readline
1845 install-html-host: maybe-install-html-sid
1846 install-html-host: maybe-install-html-sim
1847 install-html-host: maybe-install-html-texinfo
1848 install-html-host: maybe-install-html-zlib
1849 install-html-host: maybe-install-html-gdb
1850 install-html-host: maybe-install-html-expect
1851 install-html-host: maybe-install-html-guile
1852 install-html-host: maybe-install-html-tk
1853 install-html-host: maybe-install-html-libtermcap
1854 install-html-host: maybe-install-html-utils
1855 install-html-host: maybe-install-html-gnattools
1856 install-html-host: maybe-install-html-lto-plugin
1857 install-html-host: maybe-install-html-libcc1
1858 install-html-host: maybe-install-html-gotools
1860 .PHONY: install-html-target
1862 install-html-target: maybe-install-html-target-libstdc++-v3
1863 install-html-target: maybe-install-html-target-libsanitizer
1864 install-html-target: maybe-install-html-target-libmpx
1865 install-html-target: maybe-install-html-target-libvtv
1866 install-html-target: maybe-install-html-target-libcilkrts
1867 install-html-target: maybe-install-html-target-liboffloadmic
1868 install-html-target: maybe-install-html-target-libssp
1869 install-html-target: maybe-install-html-target-newlib
1870 install-html-target: maybe-install-html-target-libgcc
1871 install-html-target: maybe-install-html-target-libbacktrace
1872 install-html-target: maybe-install-html-target-libquadmath
1873 install-html-target: maybe-install-html-target-libgfortran
1874 install-html-target: maybe-install-html-target-libobjc
1875 install-html-target: maybe-install-html-target-libgo
1876 install-html-target: maybe-install-html-target-libtermcap
1877 install-html-target: maybe-install-html-target-winsup
1878 install-html-target: maybe-install-html-target-libgloss
1879 install-html-target: maybe-install-html-target-libffi
1880 install-html-target: maybe-install-html-target-libjava
1881 install-html-target: maybe-install-html-target-zlib
1882 install-html-target: maybe-install-html-target-boehm-gc
1883 install-html-target: maybe-install-html-target-rda
1884 install-html-target: maybe-install-html-target-libada
1885 install-html-target: maybe-install-html-target-libgomp
1886 install-html-target: maybe-install-html-target-libitm
1887 install-html-target: maybe-install-html-target-libatomic
1889 .PHONY: do-installcheck
1890 do-installcheck:
1891 @: $(MAKE); $(unstage)
1892 @r=`${PWD_COMMAND}`; export r; \
1893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1894 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1895 installcheck-target
1898 .PHONY: installcheck-host
1900 installcheck-host: maybe-installcheck-bfd
1901 installcheck-host: maybe-installcheck-opcodes
1902 installcheck-host: maybe-installcheck-binutils
1903 installcheck-host: maybe-installcheck-bison
1904 installcheck-host: maybe-installcheck-cgen
1905 installcheck-host: maybe-installcheck-dejagnu
1906 installcheck-host: maybe-installcheck-etc
1907 installcheck-host: maybe-installcheck-fastjar
1908 installcheck-host: maybe-installcheck-fixincludes
1909 installcheck-host: maybe-installcheck-flex
1910 installcheck-host: maybe-installcheck-gas
1911 installcheck-host: maybe-installcheck-gcc
1912 installcheck-host: maybe-installcheck-gmp
1913 installcheck-host: maybe-installcheck-mpfr
1914 installcheck-host: maybe-installcheck-mpc
1915 installcheck-host: maybe-installcheck-isl
1916 installcheck-host: maybe-installcheck-libelf
1917 installcheck-host: maybe-installcheck-gold
1918 installcheck-host: maybe-installcheck-gprof
1919 installcheck-host: maybe-installcheck-intl
1920 installcheck-host: maybe-installcheck-tcl
1921 installcheck-host: maybe-installcheck-itcl
1922 installcheck-host: maybe-installcheck-ld
1923 installcheck-host: maybe-installcheck-libbacktrace
1924 installcheck-host: maybe-installcheck-libcpp
1925 installcheck-host: maybe-installcheck-libdecnumber
1926 installcheck-host: maybe-installcheck-libgui
1927 installcheck-host: maybe-installcheck-libiberty
1928 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1929 installcheck-host: maybe-installcheck-libiconv
1930 installcheck-host: maybe-installcheck-m4
1931 installcheck-host: maybe-installcheck-readline
1932 installcheck-host: maybe-installcheck-sid
1933 installcheck-host: maybe-installcheck-sim
1934 installcheck-host: maybe-installcheck-texinfo
1935 installcheck-host: maybe-installcheck-zlib
1936 installcheck-host: maybe-installcheck-gdb
1937 installcheck-host: maybe-installcheck-expect
1938 installcheck-host: maybe-installcheck-guile
1939 installcheck-host: maybe-installcheck-tk
1940 installcheck-host: maybe-installcheck-libtermcap
1941 installcheck-host: maybe-installcheck-utils
1942 installcheck-host: maybe-installcheck-gnattools
1943 installcheck-host: maybe-installcheck-lto-plugin
1944 installcheck-host: maybe-installcheck-libcc1
1945 installcheck-host: maybe-installcheck-gotools
1947 .PHONY: installcheck-target
1949 installcheck-target: maybe-installcheck-target-libstdc++-v3
1950 installcheck-target: maybe-installcheck-target-libsanitizer
1951 installcheck-target: maybe-installcheck-target-libmpx
1952 installcheck-target: maybe-installcheck-target-libvtv
1953 installcheck-target: maybe-installcheck-target-libcilkrts
1954 installcheck-target: maybe-installcheck-target-liboffloadmic
1955 installcheck-target: maybe-installcheck-target-libssp
1956 installcheck-target: maybe-installcheck-target-newlib
1957 installcheck-target: maybe-installcheck-target-libgcc
1958 installcheck-target: maybe-installcheck-target-libbacktrace
1959 installcheck-target: maybe-installcheck-target-libquadmath
1960 installcheck-target: maybe-installcheck-target-libgfortran
1961 installcheck-target: maybe-installcheck-target-libobjc
1962 installcheck-target: maybe-installcheck-target-libgo
1963 installcheck-target: maybe-installcheck-target-libtermcap
1964 installcheck-target: maybe-installcheck-target-winsup
1965 installcheck-target: maybe-installcheck-target-libgloss
1966 installcheck-target: maybe-installcheck-target-libffi
1967 installcheck-target: maybe-installcheck-target-libjava
1968 installcheck-target: maybe-installcheck-target-zlib
1969 installcheck-target: maybe-installcheck-target-boehm-gc
1970 installcheck-target: maybe-installcheck-target-rda
1971 installcheck-target: maybe-installcheck-target-libada
1972 installcheck-target: maybe-installcheck-target-libgomp
1973 installcheck-target: maybe-installcheck-target-libitm
1974 installcheck-target: maybe-installcheck-target-libatomic
1976 .PHONY: do-mostlyclean
1977 do-mostlyclean:
1978 @: $(MAKE); $(unstage)
1979 @r=`${PWD_COMMAND}`; export r; \
1980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1981 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1982 mostlyclean-target
1985 .PHONY: mostlyclean-host
1987 mostlyclean-host: maybe-mostlyclean-bfd
1988 mostlyclean-host: maybe-mostlyclean-opcodes
1989 mostlyclean-host: maybe-mostlyclean-binutils
1990 mostlyclean-host: maybe-mostlyclean-bison
1991 mostlyclean-host: maybe-mostlyclean-cgen
1992 mostlyclean-host: maybe-mostlyclean-dejagnu
1993 mostlyclean-host: maybe-mostlyclean-etc
1994 mostlyclean-host: maybe-mostlyclean-fastjar
1995 mostlyclean-host: maybe-mostlyclean-fixincludes
1996 mostlyclean-host: maybe-mostlyclean-flex
1997 mostlyclean-host: maybe-mostlyclean-gas
1998 mostlyclean-host: maybe-mostlyclean-gcc
1999 mostlyclean-host: maybe-mostlyclean-gmp
2000 mostlyclean-host: maybe-mostlyclean-mpfr
2001 mostlyclean-host: maybe-mostlyclean-mpc
2002 mostlyclean-host: maybe-mostlyclean-isl
2003 mostlyclean-host: maybe-mostlyclean-libelf
2004 mostlyclean-host: maybe-mostlyclean-gold
2005 mostlyclean-host: maybe-mostlyclean-gprof
2006 mostlyclean-host: maybe-mostlyclean-intl
2007 mostlyclean-host: maybe-mostlyclean-tcl
2008 mostlyclean-host: maybe-mostlyclean-itcl
2009 mostlyclean-host: maybe-mostlyclean-ld
2010 mostlyclean-host: maybe-mostlyclean-libbacktrace
2011 mostlyclean-host: maybe-mostlyclean-libcpp
2012 mostlyclean-host: maybe-mostlyclean-libdecnumber
2013 mostlyclean-host: maybe-mostlyclean-libgui
2014 mostlyclean-host: maybe-mostlyclean-libiberty
2015 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2016 mostlyclean-host: maybe-mostlyclean-libiconv
2017 mostlyclean-host: maybe-mostlyclean-m4
2018 mostlyclean-host: maybe-mostlyclean-readline
2019 mostlyclean-host: maybe-mostlyclean-sid
2020 mostlyclean-host: maybe-mostlyclean-sim
2021 mostlyclean-host: maybe-mostlyclean-texinfo
2022 mostlyclean-host: maybe-mostlyclean-zlib
2023 mostlyclean-host: maybe-mostlyclean-gdb
2024 mostlyclean-host: maybe-mostlyclean-expect
2025 mostlyclean-host: maybe-mostlyclean-guile
2026 mostlyclean-host: maybe-mostlyclean-tk
2027 mostlyclean-host: maybe-mostlyclean-libtermcap
2028 mostlyclean-host: maybe-mostlyclean-utils
2029 mostlyclean-host: maybe-mostlyclean-gnattools
2030 mostlyclean-host: maybe-mostlyclean-lto-plugin
2031 mostlyclean-host: maybe-mostlyclean-libcc1
2032 mostlyclean-host: maybe-mostlyclean-gotools
2034 .PHONY: mostlyclean-target
2036 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2037 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2038 mostlyclean-target: maybe-mostlyclean-target-libmpx
2039 mostlyclean-target: maybe-mostlyclean-target-libvtv
2040 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
2041 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2042 mostlyclean-target: maybe-mostlyclean-target-libssp
2043 mostlyclean-target: maybe-mostlyclean-target-newlib
2044 mostlyclean-target: maybe-mostlyclean-target-libgcc
2045 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2046 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2047 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2048 mostlyclean-target: maybe-mostlyclean-target-libobjc
2049 mostlyclean-target: maybe-mostlyclean-target-libgo
2050 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2051 mostlyclean-target: maybe-mostlyclean-target-winsup
2052 mostlyclean-target: maybe-mostlyclean-target-libgloss
2053 mostlyclean-target: maybe-mostlyclean-target-libffi
2054 mostlyclean-target: maybe-mostlyclean-target-libjava
2055 mostlyclean-target: maybe-mostlyclean-target-zlib
2056 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
2057 mostlyclean-target: maybe-mostlyclean-target-rda
2058 mostlyclean-target: maybe-mostlyclean-target-libada
2059 mostlyclean-target: maybe-mostlyclean-target-libgomp
2060 mostlyclean-target: maybe-mostlyclean-target-libitm
2061 mostlyclean-target: maybe-mostlyclean-target-libatomic
2063 .PHONY: do-clean
2064 do-clean:
2065 @: $(MAKE); $(unstage)
2066 @r=`${PWD_COMMAND}`; export r; \
2067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2068 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2069 clean-target
2072 .PHONY: clean-host
2074 clean-host: maybe-clean-bfd
2075 clean-host: maybe-clean-opcodes
2076 clean-host: maybe-clean-binutils
2077 clean-host: maybe-clean-bison
2078 clean-host: maybe-clean-cgen
2079 clean-host: maybe-clean-dejagnu
2080 clean-host: maybe-clean-etc
2081 clean-host: maybe-clean-fastjar
2082 clean-host: maybe-clean-fixincludes
2083 clean-host: maybe-clean-flex
2084 clean-host: maybe-clean-gas
2085 clean-host: maybe-clean-gcc
2086 clean-host: maybe-clean-gmp
2087 clean-host: maybe-clean-mpfr
2088 clean-host: maybe-clean-mpc
2089 clean-host: maybe-clean-isl
2090 clean-host: maybe-clean-libelf
2091 clean-host: maybe-clean-gold
2092 clean-host: maybe-clean-gprof
2093 clean-host: maybe-clean-intl
2094 clean-host: maybe-clean-tcl
2095 clean-host: maybe-clean-itcl
2096 clean-host: maybe-clean-ld
2097 clean-host: maybe-clean-libbacktrace
2098 clean-host: maybe-clean-libcpp
2099 clean-host: maybe-clean-libdecnumber
2100 clean-host: maybe-clean-libgui
2101 clean-host: maybe-clean-libiberty
2102 clean-host: maybe-clean-libiberty-linker-plugin
2103 clean-host: maybe-clean-libiconv
2104 clean-host: maybe-clean-m4
2105 clean-host: maybe-clean-readline
2106 clean-host: maybe-clean-sid
2107 clean-host: maybe-clean-sim
2108 clean-host: maybe-clean-texinfo
2109 clean-host: maybe-clean-zlib
2110 clean-host: maybe-clean-gdb
2111 clean-host: maybe-clean-expect
2112 clean-host: maybe-clean-guile
2113 clean-host: maybe-clean-tk
2114 clean-host: maybe-clean-libtermcap
2115 clean-host: maybe-clean-utils
2116 clean-host: maybe-clean-gnattools
2117 clean-host: maybe-clean-lto-plugin
2118 clean-host: maybe-clean-libcc1
2119 clean-host: maybe-clean-gotools
2121 .PHONY: clean-target
2123 clean-target: maybe-clean-target-libstdc++-v3
2124 clean-target: maybe-clean-target-libsanitizer
2125 clean-target: maybe-clean-target-libmpx
2126 clean-target: maybe-clean-target-libvtv
2127 clean-target: maybe-clean-target-libcilkrts
2128 clean-target: maybe-clean-target-liboffloadmic
2129 clean-target: maybe-clean-target-libssp
2130 clean-target: maybe-clean-target-newlib
2131 clean-target: maybe-clean-target-libgcc
2132 clean-target: maybe-clean-target-libbacktrace
2133 clean-target: maybe-clean-target-libquadmath
2134 clean-target: maybe-clean-target-libgfortran
2135 clean-target: maybe-clean-target-libobjc
2136 clean-target: maybe-clean-target-libgo
2137 clean-target: maybe-clean-target-libtermcap
2138 clean-target: maybe-clean-target-winsup
2139 clean-target: maybe-clean-target-libgloss
2140 clean-target: maybe-clean-target-libffi
2141 clean-target: maybe-clean-target-libjava
2142 clean-target: maybe-clean-target-zlib
2143 clean-target: maybe-clean-target-boehm-gc
2144 clean-target: maybe-clean-target-rda
2145 clean-target: maybe-clean-target-libada
2146 clean-target: maybe-clean-target-libgomp
2147 clean-target: maybe-clean-target-libitm
2148 clean-target: maybe-clean-target-libatomic
2150 .PHONY: do-distclean
2151 do-distclean:
2152 @: $(MAKE); $(unstage)
2153 @r=`${PWD_COMMAND}`; export r; \
2154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2155 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2156 distclean-target
2159 .PHONY: distclean-host
2161 distclean-host: maybe-distclean-bfd
2162 distclean-host: maybe-distclean-opcodes
2163 distclean-host: maybe-distclean-binutils
2164 distclean-host: maybe-distclean-bison
2165 distclean-host: maybe-distclean-cgen
2166 distclean-host: maybe-distclean-dejagnu
2167 distclean-host: maybe-distclean-etc
2168 distclean-host: maybe-distclean-fastjar
2169 distclean-host: maybe-distclean-fixincludes
2170 distclean-host: maybe-distclean-flex
2171 distclean-host: maybe-distclean-gas
2172 distclean-host: maybe-distclean-gcc
2173 distclean-host: maybe-distclean-gmp
2174 distclean-host: maybe-distclean-mpfr
2175 distclean-host: maybe-distclean-mpc
2176 distclean-host: maybe-distclean-isl
2177 distclean-host: maybe-distclean-libelf
2178 distclean-host: maybe-distclean-gold
2179 distclean-host: maybe-distclean-gprof
2180 distclean-host: maybe-distclean-intl
2181 distclean-host: maybe-distclean-tcl
2182 distclean-host: maybe-distclean-itcl
2183 distclean-host: maybe-distclean-ld
2184 distclean-host: maybe-distclean-libbacktrace
2185 distclean-host: maybe-distclean-libcpp
2186 distclean-host: maybe-distclean-libdecnumber
2187 distclean-host: maybe-distclean-libgui
2188 distclean-host: maybe-distclean-libiberty
2189 distclean-host: maybe-distclean-libiberty-linker-plugin
2190 distclean-host: maybe-distclean-libiconv
2191 distclean-host: maybe-distclean-m4
2192 distclean-host: maybe-distclean-readline
2193 distclean-host: maybe-distclean-sid
2194 distclean-host: maybe-distclean-sim
2195 distclean-host: maybe-distclean-texinfo
2196 distclean-host: maybe-distclean-zlib
2197 distclean-host: maybe-distclean-gdb
2198 distclean-host: maybe-distclean-expect
2199 distclean-host: maybe-distclean-guile
2200 distclean-host: maybe-distclean-tk
2201 distclean-host: maybe-distclean-libtermcap
2202 distclean-host: maybe-distclean-utils
2203 distclean-host: maybe-distclean-gnattools
2204 distclean-host: maybe-distclean-lto-plugin
2205 distclean-host: maybe-distclean-libcc1
2206 distclean-host: maybe-distclean-gotools
2208 .PHONY: distclean-target
2210 distclean-target: maybe-distclean-target-libstdc++-v3
2211 distclean-target: maybe-distclean-target-libsanitizer
2212 distclean-target: maybe-distclean-target-libmpx
2213 distclean-target: maybe-distclean-target-libvtv
2214 distclean-target: maybe-distclean-target-libcilkrts
2215 distclean-target: maybe-distclean-target-liboffloadmic
2216 distclean-target: maybe-distclean-target-libssp
2217 distclean-target: maybe-distclean-target-newlib
2218 distclean-target: maybe-distclean-target-libgcc
2219 distclean-target: maybe-distclean-target-libbacktrace
2220 distclean-target: maybe-distclean-target-libquadmath
2221 distclean-target: maybe-distclean-target-libgfortran
2222 distclean-target: maybe-distclean-target-libobjc
2223 distclean-target: maybe-distclean-target-libgo
2224 distclean-target: maybe-distclean-target-libtermcap
2225 distclean-target: maybe-distclean-target-winsup
2226 distclean-target: maybe-distclean-target-libgloss
2227 distclean-target: maybe-distclean-target-libffi
2228 distclean-target: maybe-distclean-target-libjava
2229 distclean-target: maybe-distclean-target-zlib
2230 distclean-target: maybe-distclean-target-boehm-gc
2231 distclean-target: maybe-distclean-target-rda
2232 distclean-target: maybe-distclean-target-libada
2233 distclean-target: maybe-distclean-target-libgomp
2234 distclean-target: maybe-distclean-target-libitm
2235 distclean-target: maybe-distclean-target-libatomic
2237 .PHONY: do-maintainer-clean
2238 do-maintainer-clean:
2239 @: $(MAKE); $(unstage)
2240 @r=`${PWD_COMMAND}`; export r; \
2241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2242 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2243 maintainer-clean-target
2246 .PHONY: maintainer-clean-host
2248 maintainer-clean-host: maybe-maintainer-clean-bfd
2249 maintainer-clean-host: maybe-maintainer-clean-opcodes
2250 maintainer-clean-host: maybe-maintainer-clean-binutils
2251 maintainer-clean-host: maybe-maintainer-clean-bison
2252 maintainer-clean-host: maybe-maintainer-clean-cgen
2253 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2254 maintainer-clean-host: maybe-maintainer-clean-etc
2255 maintainer-clean-host: maybe-maintainer-clean-fastjar
2256 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2257 maintainer-clean-host: maybe-maintainer-clean-flex
2258 maintainer-clean-host: maybe-maintainer-clean-gas
2259 maintainer-clean-host: maybe-maintainer-clean-gcc
2260 maintainer-clean-host: maybe-maintainer-clean-gmp
2261 maintainer-clean-host: maybe-maintainer-clean-mpfr
2262 maintainer-clean-host: maybe-maintainer-clean-mpc
2263 maintainer-clean-host: maybe-maintainer-clean-isl
2264 maintainer-clean-host: maybe-maintainer-clean-libelf
2265 maintainer-clean-host: maybe-maintainer-clean-gold
2266 maintainer-clean-host: maybe-maintainer-clean-gprof
2267 maintainer-clean-host: maybe-maintainer-clean-intl
2268 maintainer-clean-host: maybe-maintainer-clean-tcl
2269 maintainer-clean-host: maybe-maintainer-clean-itcl
2270 maintainer-clean-host: maybe-maintainer-clean-ld
2271 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2272 maintainer-clean-host: maybe-maintainer-clean-libcpp
2273 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2274 maintainer-clean-host: maybe-maintainer-clean-libgui
2275 maintainer-clean-host: maybe-maintainer-clean-libiberty
2276 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2277 maintainer-clean-host: maybe-maintainer-clean-libiconv
2278 maintainer-clean-host: maybe-maintainer-clean-m4
2279 maintainer-clean-host: maybe-maintainer-clean-readline
2280 maintainer-clean-host: maybe-maintainer-clean-sid
2281 maintainer-clean-host: maybe-maintainer-clean-sim
2282 maintainer-clean-host: maybe-maintainer-clean-texinfo
2283 maintainer-clean-host: maybe-maintainer-clean-zlib
2284 maintainer-clean-host: maybe-maintainer-clean-gdb
2285 maintainer-clean-host: maybe-maintainer-clean-expect
2286 maintainer-clean-host: maybe-maintainer-clean-guile
2287 maintainer-clean-host: maybe-maintainer-clean-tk
2288 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2289 maintainer-clean-host: maybe-maintainer-clean-utils
2290 maintainer-clean-host: maybe-maintainer-clean-gnattools
2291 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2292 maintainer-clean-host: maybe-maintainer-clean-libcc1
2293 maintainer-clean-host: maybe-maintainer-clean-gotools
2295 .PHONY: maintainer-clean-target
2297 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2298 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2299 maintainer-clean-target: maybe-maintainer-clean-target-libmpx
2300 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2301 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2302 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2303 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2304 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2305 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2306 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2307 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2308 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2309 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2310 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2311 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2312 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2313 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2314 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2315 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2316 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2317 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2318 maintainer-clean-target: maybe-maintainer-clean-target-rda
2319 maintainer-clean-target: maybe-maintainer-clean-target-libada
2320 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2321 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2322 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2325 # Here are the targets which correspond to the do-X targets.
2327 .PHONY: info installcheck dvi pdf html
2328 .PHONY: install-info install-pdf install-html
2329 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2330 .PHONY: local-clean local-distclean local-maintainer-clean
2331 info: do-info
2332 installcheck: do-installcheck
2333 dvi: do-dvi
2334 pdf: do-pdf
2335 html: do-html
2337 # Make sure makeinfo is built before we do a `make info', if we're
2338 # in fact building texinfo.
2339 do-info: maybe-all-texinfo
2341 install-info: do-install-info dir.info
2342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2343 if [ -f dir.info ]; then \
2344 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2345 else true; fi
2347 install-pdf: do-install-pdf
2349 install-html: do-install-html
2351 local-clean:
2352 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2354 local-distclean:
2355 -rm -f Makefile config.status config.cache mh-frag mt-frag
2356 -rm -f maybedep.tmp serdep.tmp stage_final
2357 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2358 rm -rf $(TARGET_SUBDIR); \
2359 else true; fi
2360 -rm -rf $(BUILD_SUBDIR)
2361 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2362 rm -rf $(HOST_SUBDIR); \
2363 else true; fi
2364 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2365 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2366 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2367 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2368 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2369 -rmdir texinfo zlib 2>/dev/null
2370 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2372 local-maintainer-clean:
2373 @echo "This command is intended for maintainers to use;"
2374 @echo "it deletes files that may require special tools to rebuild."
2376 clean: do-clean local-clean
2377 mostlyclean: do-mostlyclean local-clean
2378 distclean: do-distclean local-clean local-distclean
2379 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2380 maintainer-clean: local-distclean
2381 realclean: maintainer-clean
2383 # Check target.
2385 .PHONY: check do-check
2386 check: do-check
2388 # Only include modules actually being configured and built.
2389 .PHONY: check-host
2390 check-host: \
2391 maybe-check-bfd \
2392 maybe-check-opcodes \
2393 maybe-check-binutils \
2394 maybe-check-bison \
2395 maybe-check-cgen \
2396 maybe-check-dejagnu \
2397 maybe-check-etc \
2398 maybe-check-fastjar \
2399 maybe-check-fixincludes \
2400 maybe-check-flex \
2401 maybe-check-gas \
2402 maybe-check-gcc \
2403 maybe-check-gmp \
2404 maybe-check-mpfr \
2405 maybe-check-mpc \
2406 maybe-check-isl \
2407 maybe-check-libelf \
2408 maybe-check-gold \
2409 maybe-check-gprof \
2410 maybe-check-intl \
2411 maybe-check-tcl \
2412 maybe-check-itcl \
2413 maybe-check-ld \
2414 maybe-check-libbacktrace \
2415 maybe-check-libcpp \
2416 maybe-check-libdecnumber \
2417 maybe-check-libgui \
2418 maybe-check-libiberty \
2419 maybe-check-libiberty-linker-plugin \
2420 maybe-check-libiconv \
2421 maybe-check-m4 \
2422 maybe-check-readline \
2423 maybe-check-sid \
2424 maybe-check-sim \
2425 maybe-check-texinfo \
2426 maybe-check-zlib \
2427 maybe-check-gdb \
2428 maybe-check-expect \
2429 maybe-check-guile \
2430 maybe-check-tk \
2431 maybe-check-libtermcap \
2432 maybe-check-utils \
2433 maybe-check-gnattools \
2434 maybe-check-lto-plugin \
2435 maybe-check-libcc1 \
2436 maybe-check-gotools
2438 .PHONY: check-target
2439 check-target: \
2440 maybe-check-target-libstdc++-v3 \
2441 maybe-check-target-libsanitizer \
2442 maybe-check-target-libmpx \
2443 maybe-check-target-libvtv \
2444 maybe-check-target-libcilkrts \
2445 maybe-check-target-liboffloadmic \
2446 maybe-check-target-libssp \
2447 maybe-check-target-newlib \
2448 maybe-check-target-libgcc \
2449 maybe-check-target-libbacktrace \
2450 maybe-check-target-libquadmath \
2451 maybe-check-target-libgfortran \
2452 maybe-check-target-libobjc \
2453 maybe-check-target-libgo \
2454 maybe-check-target-libtermcap \
2455 maybe-check-target-winsup \
2456 maybe-check-target-libgloss \
2457 maybe-check-target-libffi \
2458 maybe-check-target-libjava \
2459 maybe-check-target-zlib \
2460 maybe-check-target-boehm-gc \
2461 maybe-check-target-rda \
2462 maybe-check-target-libada \
2463 maybe-check-target-libgomp \
2464 maybe-check-target-libitm \
2465 maybe-check-target-libatomic
2467 do-check:
2468 @: $(MAKE); $(unstage)
2469 @r=`${PWD_COMMAND}`; export r; \
2470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2471 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2473 # Automated reporting of test results.
2475 warning.log: build.log
2476 $(srcdir)/contrib/warn_summary build.log > $@
2478 mail-report.log:
2479 if test x'$(BOOT_CFLAGS)' != x''; then \
2480 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2481 fi; \
2482 $(srcdir)/contrib/test_summary -t >$@
2483 chmod +x $@
2484 echo If you really want to send e-mail, run ./$@ now
2486 mail-report-with-warnings.log: warning.log
2487 if test x'$(BOOT_CFLAGS)' != x''; then \
2488 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2489 fi; \
2490 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2491 chmod +x $@
2492 echo If you really want to send e-mail, run ./$@ now
2494 # Local Vim config
2496 $(srcdir)/.local.vimrc:
2497 $(LN_S) contrib/vimrc $@
2499 $(srcdir)/.lvimrc:
2500 $(LN_S) contrib/vimrc $@
2502 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2504 .PHONY: vimrc
2506 # clang-format config
2508 $(srcdir)/.clang-format:
2509 $(LN_S) contrib/clang-format $@
2511 clang-format: $(srcdir)/.clang-format
2513 .PHONY: clang-format
2515 # Installation targets.
2517 .PHONY: install uninstall
2518 install:
2519 @: $(MAKE); $(unstage)
2520 @r=`${PWD_COMMAND}`; export r; \
2521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2522 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2524 .PHONY: install-host-nogcc
2525 install-host-nogcc: \
2526 maybe-install-bfd \
2527 maybe-install-opcodes \
2528 maybe-install-binutils \
2529 maybe-install-bison \
2530 maybe-install-cgen \
2531 maybe-install-dejagnu \
2532 maybe-install-etc \
2533 maybe-install-fastjar \
2534 maybe-install-fixincludes \
2535 maybe-install-flex \
2536 maybe-install-gas \
2537 maybe-install-gmp \
2538 maybe-install-mpfr \
2539 maybe-install-mpc \
2540 maybe-install-isl \
2541 maybe-install-libelf \
2542 maybe-install-gold \
2543 maybe-install-gprof \
2544 maybe-install-intl \
2545 maybe-install-tcl \
2546 maybe-install-itcl \
2547 maybe-install-ld \
2548 maybe-install-libbacktrace \
2549 maybe-install-libcpp \
2550 maybe-install-libdecnumber \
2551 maybe-install-libgui \
2552 maybe-install-libiberty \
2553 maybe-install-libiberty-linker-plugin \
2554 maybe-install-libiconv \
2555 maybe-install-m4 \
2556 maybe-install-readline \
2557 maybe-install-sid \
2558 maybe-install-sim \
2559 maybe-install-texinfo \
2560 maybe-install-zlib \
2561 maybe-install-gdb \
2562 maybe-install-expect \
2563 maybe-install-guile \
2564 maybe-install-tk \
2565 maybe-install-libtermcap \
2566 maybe-install-utils \
2567 maybe-install-gnattools \
2568 maybe-install-lto-plugin \
2569 maybe-install-libcc1 \
2570 maybe-install-gotools
2572 .PHONY: install-host
2573 install-host: \
2574 maybe-install-bfd \
2575 maybe-install-opcodes \
2576 maybe-install-binutils \
2577 maybe-install-bison \
2578 maybe-install-cgen \
2579 maybe-install-dejagnu \
2580 maybe-install-etc \
2581 maybe-install-fastjar \
2582 maybe-install-fixincludes \
2583 maybe-install-flex \
2584 maybe-install-gas \
2585 maybe-install-gcc \
2586 maybe-install-gmp \
2587 maybe-install-mpfr \
2588 maybe-install-mpc \
2589 maybe-install-isl \
2590 maybe-install-libelf \
2591 maybe-install-gold \
2592 maybe-install-gprof \
2593 maybe-install-intl \
2594 maybe-install-tcl \
2595 maybe-install-itcl \
2596 maybe-install-ld \
2597 maybe-install-libbacktrace \
2598 maybe-install-libcpp \
2599 maybe-install-libdecnumber \
2600 maybe-install-libgui \
2601 maybe-install-libiberty \
2602 maybe-install-libiberty-linker-plugin \
2603 maybe-install-libiconv \
2604 maybe-install-m4 \
2605 maybe-install-readline \
2606 maybe-install-sid \
2607 maybe-install-sim \
2608 maybe-install-texinfo \
2609 maybe-install-zlib \
2610 maybe-install-gdb \
2611 maybe-install-expect \
2612 maybe-install-guile \
2613 maybe-install-tk \
2614 maybe-install-libtermcap \
2615 maybe-install-utils \
2616 maybe-install-gnattools \
2617 maybe-install-lto-plugin \
2618 maybe-install-libcc1 \
2619 maybe-install-gotools
2621 .PHONY: install-target
2622 install-target: \
2623 maybe-install-target-libstdc++-v3 \
2624 maybe-install-target-libsanitizer \
2625 maybe-install-target-libmpx \
2626 maybe-install-target-libvtv \
2627 maybe-install-target-libcilkrts \
2628 maybe-install-target-liboffloadmic \
2629 maybe-install-target-libssp \
2630 maybe-install-target-newlib \
2631 maybe-install-target-libgcc \
2632 maybe-install-target-libbacktrace \
2633 maybe-install-target-libquadmath \
2634 maybe-install-target-libgfortran \
2635 maybe-install-target-libobjc \
2636 maybe-install-target-libgo \
2637 maybe-install-target-libtermcap \
2638 maybe-install-target-winsup \
2639 maybe-install-target-libgloss \
2640 maybe-install-target-libffi \
2641 maybe-install-target-libjava \
2642 maybe-install-target-zlib \
2643 maybe-install-target-boehm-gc \
2644 maybe-install-target-rda \
2645 maybe-install-target-libada \
2646 maybe-install-target-libgomp \
2647 maybe-install-target-libitm \
2648 maybe-install-target-libatomic
2650 uninstall:
2651 @echo "the uninstall target is not supported in this tree"
2653 .PHONY: install.all
2654 install.all: install-no-fixedincludes
2655 @if [ -f ./gcc/Makefile ]; then \
2656 r=`${PWD_COMMAND}`; export r; \
2657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2658 $(HOST_EXPORTS) \
2659 (cd ./gcc && \
2660 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2661 else \
2662 true; \
2665 # install-no-fixedincludes is used to allow the elaboration of binary packages
2666 # suitable for distribution, where we cannot include the fixed system header
2667 # files.
2668 .PHONY: install-no-fixedincludes
2669 install-no-fixedincludes: installdirs install-host-nogcc \
2670 install-target gcc-install-no-fixedincludes
2672 .PHONY: install-strip
2673 install-strip:
2674 @: $(MAKE); $(unstage)
2675 @r=`${PWD_COMMAND}`; export r; \
2676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2677 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2679 .PHONY: install-strip-host
2680 install-strip-host: \
2681 maybe-install-strip-bfd \
2682 maybe-install-strip-opcodes \
2683 maybe-install-strip-binutils \
2684 maybe-install-strip-bison \
2685 maybe-install-strip-cgen \
2686 maybe-install-strip-dejagnu \
2687 maybe-install-strip-etc \
2688 maybe-install-strip-fastjar \
2689 maybe-install-strip-fixincludes \
2690 maybe-install-strip-flex \
2691 maybe-install-strip-gas \
2692 maybe-install-strip-gcc \
2693 maybe-install-strip-gmp \
2694 maybe-install-strip-mpfr \
2695 maybe-install-strip-mpc \
2696 maybe-install-strip-isl \
2697 maybe-install-strip-libelf \
2698 maybe-install-strip-gold \
2699 maybe-install-strip-gprof \
2700 maybe-install-strip-intl \
2701 maybe-install-strip-tcl \
2702 maybe-install-strip-itcl \
2703 maybe-install-strip-ld \
2704 maybe-install-strip-libbacktrace \
2705 maybe-install-strip-libcpp \
2706 maybe-install-strip-libdecnumber \
2707 maybe-install-strip-libgui \
2708 maybe-install-strip-libiberty \
2709 maybe-install-strip-libiberty-linker-plugin \
2710 maybe-install-strip-libiconv \
2711 maybe-install-strip-m4 \
2712 maybe-install-strip-readline \
2713 maybe-install-strip-sid \
2714 maybe-install-strip-sim \
2715 maybe-install-strip-texinfo \
2716 maybe-install-strip-zlib \
2717 maybe-install-strip-gdb \
2718 maybe-install-strip-expect \
2719 maybe-install-strip-guile \
2720 maybe-install-strip-tk \
2721 maybe-install-strip-libtermcap \
2722 maybe-install-strip-utils \
2723 maybe-install-strip-gnattools \
2724 maybe-install-strip-lto-plugin \
2725 maybe-install-strip-libcc1 \
2726 maybe-install-strip-gotools
2728 .PHONY: install-strip-target
2729 install-strip-target: \
2730 maybe-install-strip-target-libstdc++-v3 \
2731 maybe-install-strip-target-libsanitizer \
2732 maybe-install-strip-target-libmpx \
2733 maybe-install-strip-target-libvtv \
2734 maybe-install-strip-target-libcilkrts \
2735 maybe-install-strip-target-liboffloadmic \
2736 maybe-install-strip-target-libssp \
2737 maybe-install-strip-target-newlib \
2738 maybe-install-strip-target-libgcc \
2739 maybe-install-strip-target-libbacktrace \
2740 maybe-install-strip-target-libquadmath \
2741 maybe-install-strip-target-libgfortran \
2742 maybe-install-strip-target-libobjc \
2743 maybe-install-strip-target-libgo \
2744 maybe-install-strip-target-libtermcap \
2745 maybe-install-strip-target-winsup \
2746 maybe-install-strip-target-libgloss \
2747 maybe-install-strip-target-libffi \
2748 maybe-install-strip-target-libjava \
2749 maybe-install-strip-target-zlib \
2750 maybe-install-strip-target-boehm-gc \
2751 maybe-install-strip-target-rda \
2752 maybe-install-strip-target-libada \
2753 maybe-install-strip-target-libgomp \
2754 maybe-install-strip-target-libitm \
2755 maybe-install-strip-target-libatomic
2758 ### other supporting targets
2760 MAKEDIRS= \
2761 $(DESTDIR)$(prefix) \
2762 $(DESTDIR)$(exec_prefix)
2763 .PHONY: installdirs
2764 installdirs: mkinstalldirs
2765 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2767 dir.info: do-install-info
2768 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2769 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2770 mv -f dir.info.new dir.info; \
2771 else true; \
2774 dist:
2775 @echo "Building a full distribution of this tree isn't done"
2776 @echo "via 'make dist'. Check out the etc/ subdirectory"
2778 etags tags: TAGS
2780 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2781 # ability to use several tags files at once, so there is probably no need
2782 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2783 # (if we felt like it) have this Makefile write a piece of elisp which
2784 # the user could load to tell emacs19 where all the TAGS files we just
2785 # built are.
2786 TAGS: do-TAGS
2788 # ------------------------------------
2789 # Macros for configure and all targets
2790 # ------------------------------------
2796 # --------------------------------------
2797 # Modules which run on the build machine
2798 # --------------------------------------
2801 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2802 maybe-configure-build-libiberty:
2803 @if gcc-bootstrap
2804 configure-build-libiberty: stage_current
2805 @endif gcc-bootstrap
2806 @if build-libiberty
2807 maybe-configure-build-libiberty: configure-build-libiberty
2808 configure-build-libiberty:
2809 @: $(MAKE); $(unstage)
2810 @r=`${PWD_COMMAND}`; export r; \
2811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2812 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2813 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2814 $(BUILD_EXPORTS) \
2815 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2816 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2817 case $(srcdir) in \
2818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2819 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2821 esac; \
2822 module_srcdir=libiberty; \
2823 rm -f no-such-file || : ; \
2824 CONFIG_SITE=no-such-file $(SHELL) \
2825 $$s/$$module_srcdir/configure \
2826 --srcdir=$${topdir}/$$module_srcdir \
2827 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2828 --target=${target_alias} \
2829 || exit 1
2830 @endif build-libiberty
2836 .PHONY: all-build-libiberty maybe-all-build-libiberty
2837 maybe-all-build-libiberty:
2838 @if gcc-bootstrap
2839 all-build-libiberty: stage_current
2840 @endif gcc-bootstrap
2841 @if build-libiberty
2842 TARGET-build-libiberty=all
2843 maybe-all-build-libiberty: all-build-libiberty
2844 all-build-libiberty: configure-build-libiberty
2845 @: $(MAKE); $(unstage)
2846 @r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2848 $(BUILD_EXPORTS) \
2849 (cd $(BUILD_SUBDIR)/libiberty && \
2850 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2851 $(TARGET-build-libiberty))
2852 @endif build-libiberty
2858 .PHONY: configure-build-bison maybe-configure-build-bison
2859 maybe-configure-build-bison:
2860 @if gcc-bootstrap
2861 configure-build-bison: stage_current
2862 @endif gcc-bootstrap
2863 @if build-bison
2864 maybe-configure-build-bison: configure-build-bison
2865 configure-build-bison:
2866 @: $(MAKE); $(unstage)
2867 @r=`${PWD_COMMAND}`; export r; \
2868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2869 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2870 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2871 $(BUILD_EXPORTS) \
2872 echo Configuring in $(BUILD_SUBDIR)/bison; \
2873 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2874 case $(srcdir) in \
2875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2876 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2878 esac; \
2879 module_srcdir=bison; \
2880 rm -f no-such-file || : ; \
2881 CONFIG_SITE=no-such-file $(SHELL) \
2882 $$s/$$module_srcdir/configure \
2883 --srcdir=$${topdir}/$$module_srcdir \
2884 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2885 --target=${target_alias} \
2886 || exit 1
2887 @endif build-bison
2893 .PHONY: all-build-bison maybe-all-build-bison
2894 maybe-all-build-bison:
2895 @if gcc-bootstrap
2896 all-build-bison: stage_current
2897 @endif gcc-bootstrap
2898 @if build-bison
2899 TARGET-build-bison=all
2900 maybe-all-build-bison: all-build-bison
2901 all-build-bison: configure-build-bison
2902 @: $(MAKE); $(unstage)
2903 @r=`${PWD_COMMAND}`; export r; \
2904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2905 $(BUILD_EXPORTS) \
2906 (cd $(BUILD_SUBDIR)/bison && \
2907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2908 $(TARGET-build-bison))
2909 @endif build-bison
2915 .PHONY: configure-build-flex maybe-configure-build-flex
2916 maybe-configure-build-flex:
2917 @if gcc-bootstrap
2918 configure-build-flex: stage_current
2919 @endif gcc-bootstrap
2920 @if build-flex
2921 maybe-configure-build-flex: configure-build-flex
2922 configure-build-flex:
2923 @: $(MAKE); $(unstage)
2924 @r=`${PWD_COMMAND}`; export r; \
2925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2926 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2927 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2928 $(BUILD_EXPORTS) \
2929 echo Configuring in $(BUILD_SUBDIR)/flex; \
2930 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2931 case $(srcdir) in \
2932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2933 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2935 esac; \
2936 module_srcdir=flex; \
2937 rm -f no-such-file || : ; \
2938 CONFIG_SITE=no-such-file $(SHELL) \
2939 $$s/$$module_srcdir/configure \
2940 --srcdir=$${topdir}/$$module_srcdir \
2941 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2942 --target=${target_alias} \
2943 || exit 1
2944 @endif build-flex
2950 .PHONY: all-build-flex maybe-all-build-flex
2951 maybe-all-build-flex:
2952 @if gcc-bootstrap
2953 all-build-flex: stage_current
2954 @endif gcc-bootstrap
2955 @if build-flex
2956 TARGET-build-flex=all
2957 maybe-all-build-flex: all-build-flex
2958 all-build-flex: configure-build-flex
2959 @: $(MAKE); $(unstage)
2960 @r=`${PWD_COMMAND}`; export r; \
2961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2962 $(BUILD_EXPORTS) \
2963 (cd $(BUILD_SUBDIR)/flex && \
2964 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2965 $(TARGET-build-flex))
2966 @endif build-flex
2972 .PHONY: configure-build-m4 maybe-configure-build-m4
2973 maybe-configure-build-m4:
2974 @if gcc-bootstrap
2975 configure-build-m4: stage_current
2976 @endif gcc-bootstrap
2977 @if build-m4
2978 maybe-configure-build-m4: configure-build-m4
2979 configure-build-m4:
2980 @: $(MAKE); $(unstage)
2981 @r=`${PWD_COMMAND}`; export r; \
2982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2983 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2984 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2985 $(BUILD_EXPORTS) \
2986 echo Configuring in $(BUILD_SUBDIR)/m4; \
2987 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2988 case $(srcdir) in \
2989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2990 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2992 esac; \
2993 module_srcdir=m4; \
2994 rm -f no-such-file || : ; \
2995 CONFIG_SITE=no-such-file $(SHELL) \
2996 $$s/$$module_srcdir/configure \
2997 --srcdir=$${topdir}/$$module_srcdir \
2998 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2999 --target=${target_alias} \
3000 || exit 1
3001 @endif build-m4
3007 .PHONY: all-build-m4 maybe-all-build-m4
3008 maybe-all-build-m4:
3009 @if gcc-bootstrap
3010 all-build-m4: stage_current
3011 @endif gcc-bootstrap
3012 @if build-m4
3013 TARGET-build-m4=all
3014 maybe-all-build-m4: all-build-m4
3015 all-build-m4: configure-build-m4
3016 @: $(MAKE); $(unstage)
3017 @r=`${PWD_COMMAND}`; export r; \
3018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3019 $(BUILD_EXPORTS) \
3020 (cd $(BUILD_SUBDIR)/m4 && \
3021 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3022 $(TARGET-build-m4))
3023 @endif build-m4
3029 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3030 maybe-configure-build-texinfo:
3031 @if gcc-bootstrap
3032 configure-build-texinfo: stage_current
3033 @endif gcc-bootstrap
3034 @if build-texinfo
3035 maybe-configure-build-texinfo: configure-build-texinfo
3036 configure-build-texinfo:
3037 @: $(MAKE); $(unstage)
3038 @r=`${PWD_COMMAND}`; export r; \
3039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3040 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3041 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3042 $(BUILD_EXPORTS) \
3043 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3044 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3045 case $(srcdir) in \
3046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3047 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3049 esac; \
3050 module_srcdir=texinfo; \
3051 rm -f no-such-file || : ; \
3052 CONFIG_SITE=no-such-file $(SHELL) \
3053 $$s/$$module_srcdir/configure \
3054 --srcdir=$${topdir}/$$module_srcdir \
3055 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3056 --target=${target_alias} \
3057 || exit 1
3058 @endif build-texinfo
3064 .PHONY: all-build-texinfo maybe-all-build-texinfo
3065 maybe-all-build-texinfo:
3066 @if gcc-bootstrap
3067 all-build-texinfo: stage_current
3068 @endif gcc-bootstrap
3069 @if build-texinfo
3070 TARGET-build-texinfo=all
3071 maybe-all-build-texinfo: all-build-texinfo
3072 all-build-texinfo: configure-build-texinfo
3073 @: $(MAKE); $(unstage)
3074 @r=`${PWD_COMMAND}`; export r; \
3075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3076 $(BUILD_EXPORTS) \
3077 (cd $(BUILD_SUBDIR)/texinfo && \
3078 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3079 $(TARGET-build-texinfo))
3080 @endif build-texinfo
3086 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3087 maybe-configure-build-fixincludes:
3088 @if gcc-bootstrap
3089 configure-build-fixincludes: stage_current
3090 @endif gcc-bootstrap
3091 @if build-fixincludes
3092 maybe-configure-build-fixincludes: configure-build-fixincludes
3093 configure-build-fixincludes:
3094 @: $(MAKE); $(unstage)
3095 @r=`${PWD_COMMAND}`; export r; \
3096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3097 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3098 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3099 $(BUILD_EXPORTS) \
3100 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3101 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3102 case $(srcdir) in \
3103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3104 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3106 esac; \
3107 module_srcdir=fixincludes; \
3108 rm -f no-such-file || : ; \
3109 CONFIG_SITE=no-such-file $(SHELL) \
3110 $$s/$$module_srcdir/configure \
3111 --srcdir=$${topdir}/$$module_srcdir \
3112 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3113 --target=${target_alias} \
3114 || exit 1
3115 @endif build-fixincludes
3121 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3122 maybe-all-build-fixincludes:
3123 @if gcc-bootstrap
3124 all-build-fixincludes: stage_current
3125 @endif gcc-bootstrap
3126 @if build-fixincludes
3127 TARGET-build-fixincludes=all
3128 maybe-all-build-fixincludes: all-build-fixincludes
3129 all-build-fixincludes: configure-build-fixincludes
3130 @: $(MAKE); $(unstage)
3131 @r=`${PWD_COMMAND}`; export r; \
3132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3133 $(BUILD_EXPORTS) \
3134 (cd $(BUILD_SUBDIR)/fixincludes && \
3135 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3136 $(TARGET-build-fixincludes))
3137 @endif build-fixincludes
3143 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3144 maybe-configure-build-libcpp:
3145 @if gcc-bootstrap
3146 configure-build-libcpp: stage_current
3147 @endif gcc-bootstrap
3148 @if build-libcpp
3149 maybe-configure-build-libcpp: configure-build-libcpp
3150 configure-build-libcpp:
3151 @: $(MAKE); $(unstage)
3152 @r=`${PWD_COMMAND}`; export r; \
3153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3154 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3155 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3156 $(BUILD_EXPORTS) \
3157 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3158 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3159 case $(srcdir) in \
3160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3161 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3163 esac; \
3164 module_srcdir=libcpp; \
3165 rm -f no-such-file || : ; \
3166 CONFIG_SITE=no-such-file $(SHELL) \
3167 $$s/$$module_srcdir/configure \
3168 --srcdir=$${topdir}/$$module_srcdir \
3169 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3170 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3171 || exit 1
3172 @endif build-libcpp
3178 .PHONY: all-build-libcpp maybe-all-build-libcpp
3179 maybe-all-build-libcpp:
3180 @if gcc-bootstrap
3181 all-build-libcpp: stage_current
3182 @endif gcc-bootstrap
3183 @if build-libcpp
3184 TARGET-build-libcpp=all
3185 maybe-all-build-libcpp: all-build-libcpp
3186 all-build-libcpp: configure-build-libcpp
3187 @: $(MAKE); $(unstage)
3188 @r=`${PWD_COMMAND}`; export r; \
3189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3190 $(BUILD_EXPORTS) \
3191 (cd $(BUILD_SUBDIR)/libcpp && \
3192 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3193 $(TARGET-build-libcpp))
3194 @endif build-libcpp
3200 # --------------------------------------
3201 # Modules which run on the host machine
3202 # --------------------------------------
3205 .PHONY: configure-bfd maybe-configure-bfd
3206 maybe-configure-bfd:
3207 @if gcc-bootstrap
3208 configure-bfd: stage_current
3209 @endif gcc-bootstrap
3210 @if bfd
3211 maybe-configure-bfd: configure-bfd
3212 configure-bfd:
3213 @r=`${PWD_COMMAND}`; export r; \
3214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3215 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3217 $(HOST_EXPORTS) \
3218 echo Configuring in $(HOST_SUBDIR)/bfd; \
3219 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3220 case $(srcdir) in \
3221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3222 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3224 esac; \
3225 module_srcdir=bfd; \
3226 $(SHELL) \
3227 $$s/$$module_srcdir/configure \
3228 --srcdir=$${topdir}/$$module_srcdir \
3229 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3230 --target=${target_alias} \
3231 || exit 1
3232 @endif bfd
3236 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3237 maybe-configure-stage1-bfd:
3238 @if bfd-bootstrap
3239 maybe-configure-stage1-bfd: configure-stage1-bfd
3240 configure-stage1-bfd:
3241 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3242 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3243 @r=`${PWD_COMMAND}`; export r; \
3244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3245 TFLAGS="$(STAGE1_TFLAGS)"; \
3246 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3247 $(HOST_EXPORTS) \
3248 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3249 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3250 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3251 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3253 cd $(HOST_SUBDIR)/bfd || exit 1; \
3254 case $(srcdir) in \
3255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3256 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3258 esac; \
3259 module_srcdir=bfd; \
3260 $(SHELL) $$s/$$module_srcdir/configure \
3261 --srcdir=$${topdir}/$$module_srcdir \
3262 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3263 --target=${target_alias} \
3265 $(STAGE1_CONFIGURE_FLAGS)
3266 @endif bfd-bootstrap
3268 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3269 maybe-configure-stage2-bfd:
3270 @if bfd-bootstrap
3271 maybe-configure-stage2-bfd: configure-stage2-bfd
3272 configure-stage2-bfd:
3273 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3275 @r=`${PWD_COMMAND}`; export r; \
3276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3277 TFLAGS="$(STAGE2_TFLAGS)"; \
3278 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3279 $(HOST_EXPORTS) \
3280 $(POSTSTAGE1_HOST_EXPORTS) \
3281 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3282 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3283 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3284 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3286 cd $(HOST_SUBDIR)/bfd || exit 1; \
3287 case $(srcdir) in \
3288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3289 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3291 esac; \
3292 module_srcdir=bfd; \
3293 $(SHELL) $$s/$$module_srcdir/configure \
3294 --srcdir=$${topdir}/$$module_srcdir \
3295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3296 --target=${target_alias} \
3297 --with-build-libsubdir=$(HOST_SUBDIR) \
3298 $(STAGE2_CONFIGURE_FLAGS)
3299 @endif bfd-bootstrap
3301 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3302 maybe-configure-stage3-bfd:
3303 @if bfd-bootstrap
3304 maybe-configure-stage3-bfd: configure-stage3-bfd
3305 configure-stage3-bfd:
3306 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3308 @r=`${PWD_COMMAND}`; export r; \
3309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3310 TFLAGS="$(STAGE3_TFLAGS)"; \
3311 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3312 $(HOST_EXPORTS) \
3313 $(POSTSTAGE1_HOST_EXPORTS) \
3314 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3315 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3316 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3317 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3319 cd $(HOST_SUBDIR)/bfd || exit 1; \
3320 case $(srcdir) in \
3321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3322 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3324 esac; \
3325 module_srcdir=bfd; \
3326 $(SHELL) $$s/$$module_srcdir/configure \
3327 --srcdir=$${topdir}/$$module_srcdir \
3328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3329 --target=${target_alias} \
3330 --with-build-libsubdir=$(HOST_SUBDIR) \
3331 $(STAGE3_CONFIGURE_FLAGS)
3332 @endif bfd-bootstrap
3334 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3335 maybe-configure-stage4-bfd:
3336 @if bfd-bootstrap
3337 maybe-configure-stage4-bfd: configure-stage4-bfd
3338 configure-stage4-bfd:
3339 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3340 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3341 @r=`${PWD_COMMAND}`; export r; \
3342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3343 TFLAGS="$(STAGE4_TFLAGS)"; \
3344 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3345 $(HOST_EXPORTS) \
3346 $(POSTSTAGE1_HOST_EXPORTS) \
3347 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3348 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3349 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3350 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3352 cd $(HOST_SUBDIR)/bfd || exit 1; \
3353 case $(srcdir) in \
3354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3355 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3357 esac; \
3358 module_srcdir=bfd; \
3359 $(SHELL) $$s/$$module_srcdir/configure \
3360 --srcdir=$${topdir}/$$module_srcdir \
3361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3362 --target=${target_alias} \
3363 --with-build-libsubdir=$(HOST_SUBDIR) \
3364 $(STAGE4_CONFIGURE_FLAGS)
3365 @endif bfd-bootstrap
3367 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3368 maybe-configure-stageprofile-bfd:
3369 @if bfd-bootstrap
3370 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3371 configure-stageprofile-bfd:
3372 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3374 @r=`${PWD_COMMAND}`; export r; \
3375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3376 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3377 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3378 $(HOST_EXPORTS) \
3379 $(POSTSTAGE1_HOST_EXPORTS) \
3380 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3381 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3382 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3383 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3385 cd $(HOST_SUBDIR)/bfd || exit 1; \
3386 case $(srcdir) in \
3387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3388 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3390 esac; \
3391 module_srcdir=bfd; \
3392 $(SHELL) $$s/$$module_srcdir/configure \
3393 --srcdir=$${topdir}/$$module_srcdir \
3394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3395 --target=${target_alias} \
3396 --with-build-libsubdir=$(HOST_SUBDIR) \
3397 $(STAGEprofile_CONFIGURE_FLAGS)
3398 @endif bfd-bootstrap
3400 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3401 maybe-configure-stagefeedback-bfd:
3402 @if bfd-bootstrap
3403 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3404 configure-stagefeedback-bfd:
3405 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3407 @r=`${PWD_COMMAND}`; export r; \
3408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3409 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3410 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3411 $(HOST_EXPORTS) \
3412 $(POSTSTAGE1_HOST_EXPORTS) \
3413 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3414 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3415 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3416 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3418 cd $(HOST_SUBDIR)/bfd || exit 1; \
3419 case $(srcdir) in \
3420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3421 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3423 esac; \
3424 module_srcdir=bfd; \
3425 $(SHELL) $$s/$$module_srcdir/configure \
3426 --srcdir=$${topdir}/$$module_srcdir \
3427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3428 --target=${target_alias} \
3429 --with-build-libsubdir=$(HOST_SUBDIR) \
3430 $(STAGEfeedback_CONFIGURE_FLAGS)
3431 @endif bfd-bootstrap
3433 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3434 maybe-configure-stageautoprofile-bfd:
3435 @if bfd-bootstrap
3436 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3437 configure-stageautoprofile-bfd:
3438 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3440 @r=`${PWD_COMMAND}`; export r; \
3441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3442 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3443 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3444 $(HOST_EXPORTS) \
3445 $(POSTSTAGE1_HOST_EXPORTS) \
3446 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3447 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3448 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3449 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3451 cd $(HOST_SUBDIR)/bfd || exit 1; \
3452 case $(srcdir) in \
3453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3454 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3456 esac; \
3457 module_srcdir=bfd; \
3458 $(SHELL) $$s/$$module_srcdir/configure \
3459 --srcdir=$${topdir}/$$module_srcdir \
3460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3461 --target=${target_alias} \
3462 --with-build-libsubdir=$(HOST_SUBDIR) \
3463 $(STAGEautoprofile_CONFIGURE_FLAGS)
3464 @endif bfd-bootstrap
3466 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3467 maybe-configure-stageautofeedback-bfd:
3468 @if bfd-bootstrap
3469 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3470 configure-stageautofeedback-bfd:
3471 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3473 @r=`${PWD_COMMAND}`; export r; \
3474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3475 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3476 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3477 $(HOST_EXPORTS) \
3478 $(POSTSTAGE1_HOST_EXPORTS) \
3479 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3480 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3481 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3482 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3484 cd $(HOST_SUBDIR)/bfd || exit 1; \
3485 case $(srcdir) in \
3486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3487 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3489 esac; \
3490 module_srcdir=bfd; \
3491 $(SHELL) $$s/$$module_srcdir/configure \
3492 --srcdir=$${topdir}/$$module_srcdir \
3493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3494 --target=${target_alias} \
3495 --with-build-libsubdir=$(HOST_SUBDIR) \
3496 $(STAGEautofeedback_CONFIGURE_FLAGS)
3497 @endif bfd-bootstrap
3503 .PHONY: all-bfd maybe-all-bfd
3504 maybe-all-bfd:
3505 @if gcc-bootstrap
3506 all-bfd: stage_current
3507 @endif gcc-bootstrap
3508 @if bfd
3509 TARGET-bfd=all
3510 maybe-all-bfd: all-bfd
3511 all-bfd: configure-bfd
3512 @r=`${PWD_COMMAND}`; export r; \
3513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514 $(HOST_EXPORTS) \
3515 (cd $(HOST_SUBDIR)/bfd && \
3516 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3517 $(TARGET-bfd))
3518 @endif bfd
3522 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3523 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3524 maybe-all-stage1-bfd:
3525 maybe-clean-stage1-bfd:
3526 @if bfd-bootstrap
3527 maybe-all-stage1-bfd: all-stage1-bfd
3528 all-stage1: all-stage1-bfd
3529 TARGET-stage1-bfd = $(TARGET-bfd)
3530 all-stage1-bfd: configure-stage1-bfd
3531 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3532 @r=`${PWD_COMMAND}`; export r; \
3533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3534 TFLAGS="$(STAGE1_TFLAGS)"; \
3535 $(HOST_EXPORTS) \
3536 cd $(HOST_SUBDIR)/bfd && \
3538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3539 CFLAGS="$(STAGE1_CFLAGS)" \
3540 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3541 LIBCFLAGS="$(LIBCFLAGS)" \
3542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3545 $(EXTRA_HOST_FLAGS) \
3546 $(STAGE1_FLAGS_TO_PASS) \
3547 TFLAGS="$(STAGE1_TFLAGS)" \
3548 $(TARGET-stage1-bfd)
3550 maybe-clean-stage1-bfd: clean-stage1-bfd
3551 clean-stage1: clean-stage1-bfd
3552 clean-stage1-bfd:
3553 @if [ $(current_stage) = stage1 ]; then \
3554 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3555 else \
3556 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3557 $(MAKE) stage1-start; \
3558 fi; \
3559 cd $(HOST_SUBDIR)/bfd && \
3560 $(MAKE) $(EXTRA_HOST_FLAGS) \
3561 $(STAGE1_FLAGS_TO_PASS) clean
3562 @endif bfd-bootstrap
3565 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3566 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3567 maybe-all-stage2-bfd:
3568 maybe-clean-stage2-bfd:
3569 @if bfd-bootstrap
3570 maybe-all-stage2-bfd: all-stage2-bfd
3571 all-stage2: all-stage2-bfd
3572 TARGET-stage2-bfd = $(TARGET-bfd)
3573 all-stage2-bfd: configure-stage2-bfd
3574 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3575 @r=`${PWD_COMMAND}`; export r; \
3576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3577 TFLAGS="$(STAGE2_TFLAGS)"; \
3578 $(HOST_EXPORTS) \
3579 $(POSTSTAGE1_HOST_EXPORTS) \
3580 cd $(HOST_SUBDIR)/bfd && \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3583 CFLAGS="$(STAGE2_CFLAGS)" \
3584 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3585 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3590 TFLAGS="$(STAGE2_TFLAGS)" \
3591 $(TARGET-stage2-bfd)
3593 maybe-clean-stage2-bfd: clean-stage2-bfd
3594 clean-stage2: clean-stage2-bfd
3595 clean-stage2-bfd:
3596 @if [ $(current_stage) = stage2 ]; then \
3597 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3598 else \
3599 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3600 $(MAKE) stage2-start; \
3601 fi; \
3602 cd $(HOST_SUBDIR)/bfd && \
3603 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3604 @endif bfd-bootstrap
3607 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3608 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3609 maybe-all-stage3-bfd:
3610 maybe-clean-stage3-bfd:
3611 @if bfd-bootstrap
3612 maybe-all-stage3-bfd: all-stage3-bfd
3613 all-stage3: all-stage3-bfd
3614 TARGET-stage3-bfd = $(TARGET-bfd)
3615 all-stage3-bfd: configure-stage3-bfd
3616 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3617 @r=`${PWD_COMMAND}`; export r; \
3618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3619 TFLAGS="$(STAGE3_TFLAGS)"; \
3620 $(HOST_EXPORTS) \
3621 $(POSTSTAGE1_HOST_EXPORTS) \
3622 cd $(HOST_SUBDIR)/bfd && \
3624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3625 CFLAGS="$(STAGE3_CFLAGS)" \
3626 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3627 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3632 TFLAGS="$(STAGE3_TFLAGS)" \
3633 $(TARGET-stage3-bfd)
3635 maybe-clean-stage3-bfd: clean-stage3-bfd
3636 clean-stage3: clean-stage3-bfd
3637 clean-stage3-bfd:
3638 @if [ $(current_stage) = stage3 ]; then \
3639 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3640 else \
3641 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3642 $(MAKE) stage3-start; \
3643 fi; \
3644 cd $(HOST_SUBDIR)/bfd && \
3645 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3646 @endif bfd-bootstrap
3649 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3650 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3651 maybe-all-stage4-bfd:
3652 maybe-clean-stage4-bfd:
3653 @if bfd-bootstrap
3654 maybe-all-stage4-bfd: all-stage4-bfd
3655 all-stage4: all-stage4-bfd
3656 TARGET-stage4-bfd = $(TARGET-bfd)
3657 all-stage4-bfd: configure-stage4-bfd
3658 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3659 @r=`${PWD_COMMAND}`; export r; \
3660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3661 TFLAGS="$(STAGE4_TFLAGS)"; \
3662 $(HOST_EXPORTS) \
3663 $(POSTSTAGE1_HOST_EXPORTS) \
3664 cd $(HOST_SUBDIR)/bfd && \
3666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3667 CFLAGS="$(STAGE4_CFLAGS)" \
3668 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3669 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3670 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3673 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3674 TFLAGS="$(STAGE4_TFLAGS)" \
3675 $(TARGET-stage4-bfd)
3677 maybe-clean-stage4-bfd: clean-stage4-bfd
3678 clean-stage4: clean-stage4-bfd
3679 clean-stage4-bfd:
3680 @if [ $(current_stage) = stage4 ]; then \
3681 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3682 else \
3683 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3684 $(MAKE) stage4-start; \
3685 fi; \
3686 cd $(HOST_SUBDIR)/bfd && \
3687 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3688 @endif bfd-bootstrap
3691 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3692 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3693 maybe-all-stageprofile-bfd:
3694 maybe-clean-stageprofile-bfd:
3695 @if bfd-bootstrap
3696 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3697 all-stageprofile: all-stageprofile-bfd
3698 TARGET-stageprofile-bfd = $(TARGET-bfd)
3699 all-stageprofile-bfd: configure-stageprofile-bfd
3700 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3701 @r=`${PWD_COMMAND}`; export r; \
3702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3704 $(HOST_EXPORTS) \
3705 $(POSTSTAGE1_HOST_EXPORTS) \
3706 cd $(HOST_SUBDIR)/bfd && \
3708 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3709 CFLAGS="$(STAGEprofile_CFLAGS)" \
3710 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3711 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3712 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3713 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3714 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3715 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3716 TFLAGS="$(STAGEprofile_TFLAGS)" \
3717 $(TARGET-stageprofile-bfd)
3719 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3720 clean-stageprofile: clean-stageprofile-bfd
3721 clean-stageprofile-bfd:
3722 @if [ $(current_stage) = stageprofile ]; then \
3723 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3724 else \
3725 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3726 $(MAKE) stageprofile-start; \
3727 fi; \
3728 cd $(HOST_SUBDIR)/bfd && \
3729 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3730 @endif bfd-bootstrap
3733 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3734 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3735 maybe-all-stagefeedback-bfd:
3736 maybe-clean-stagefeedback-bfd:
3737 @if bfd-bootstrap
3738 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3739 all-stagefeedback: all-stagefeedback-bfd
3740 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3741 all-stagefeedback-bfd: configure-stagefeedback-bfd
3742 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3743 @r=`${PWD_COMMAND}`; export r; \
3744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3745 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3746 $(HOST_EXPORTS) \
3747 $(POSTSTAGE1_HOST_EXPORTS) \
3748 cd $(HOST_SUBDIR)/bfd && \
3750 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3751 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3752 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3753 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3754 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3755 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3756 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3757 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3758 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3759 $(TARGET-stagefeedback-bfd)
3761 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3762 clean-stagefeedback: clean-stagefeedback-bfd
3763 clean-stagefeedback-bfd:
3764 @if [ $(current_stage) = stagefeedback ]; then \
3765 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3766 else \
3767 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3768 $(MAKE) stagefeedback-start; \
3769 fi; \
3770 cd $(HOST_SUBDIR)/bfd && \
3771 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3772 @endif bfd-bootstrap
3775 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3776 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3777 maybe-all-stageautoprofile-bfd:
3778 maybe-clean-stageautoprofile-bfd:
3779 @if bfd-bootstrap
3780 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3781 all-stageautoprofile: all-stageautoprofile-bfd
3782 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3783 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3784 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3785 @r=`${PWD_COMMAND}`; export r; \
3786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3788 $(HOST_EXPORTS) \
3789 $(POSTSTAGE1_HOST_EXPORTS) \
3790 cd $(HOST_SUBDIR)/bfd && \
3791 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3792 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3793 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3794 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3795 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3796 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3797 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3798 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3799 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3800 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3801 $(TARGET-stageautoprofile-bfd)
3803 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3804 clean-stageautoprofile: clean-stageautoprofile-bfd
3805 clean-stageautoprofile-bfd:
3806 @if [ $(current_stage) = stageautoprofile ]; then \
3807 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3808 else \
3809 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3810 $(MAKE) stageautoprofile-start; \
3811 fi; \
3812 cd $(HOST_SUBDIR)/bfd && \
3813 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3814 @endif bfd-bootstrap
3817 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3818 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3819 maybe-all-stageautofeedback-bfd:
3820 maybe-clean-stageautofeedback-bfd:
3821 @if bfd-bootstrap
3822 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3823 all-stageautofeedback: all-stageautofeedback-bfd
3824 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3825 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3826 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3827 @r=`${PWD_COMMAND}`; export r; \
3828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3829 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3830 $(HOST_EXPORTS) \
3831 $(POSTSTAGE1_HOST_EXPORTS) \
3832 cd $(HOST_SUBDIR)/bfd && \
3834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3835 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3836 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3837 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3841 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3842 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3843 $(TARGET-stageautofeedback-bfd)
3845 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3846 clean-stageautofeedback: clean-stageautofeedback-bfd
3847 clean-stageautofeedback-bfd:
3848 @if [ $(current_stage) = stageautofeedback ]; then \
3849 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3850 else \
3851 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3852 $(MAKE) stageautofeedback-start; \
3853 fi; \
3854 cd $(HOST_SUBDIR)/bfd && \
3855 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3856 @endif bfd-bootstrap
3862 .PHONY: check-bfd maybe-check-bfd
3863 maybe-check-bfd:
3864 @if bfd
3865 maybe-check-bfd: check-bfd
3867 check-bfd:
3868 @: $(MAKE); $(unstage)
3869 @r=`${PWD_COMMAND}`; export r; \
3870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3871 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3872 (cd $(HOST_SUBDIR)/bfd && \
3873 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3875 @endif bfd
3877 .PHONY: install-bfd maybe-install-bfd
3878 maybe-install-bfd:
3879 @if bfd
3880 maybe-install-bfd: install-bfd
3882 install-bfd: installdirs
3883 @: $(MAKE); $(unstage)
3884 @r=`${PWD_COMMAND}`; export r; \
3885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3886 $(HOST_EXPORTS) \
3887 (cd $(HOST_SUBDIR)/bfd && \
3888 $(MAKE) $(FLAGS_TO_PASS) install)
3890 @endif bfd
3892 .PHONY: install-strip-bfd maybe-install-strip-bfd
3893 maybe-install-strip-bfd:
3894 @if bfd
3895 maybe-install-strip-bfd: install-strip-bfd
3897 install-strip-bfd: installdirs
3898 @: $(MAKE); $(unstage)
3899 @r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3901 $(HOST_EXPORTS) \
3902 (cd $(HOST_SUBDIR)/bfd && \
3903 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3905 @endif bfd
3907 # Other targets (info, dvi, pdf, etc.)
3909 .PHONY: maybe-info-bfd info-bfd
3910 maybe-info-bfd:
3911 @if bfd
3912 maybe-info-bfd: info-bfd
3914 info-bfd: \
3915 configure-bfd
3916 @[ -f ./bfd/Makefile ] || exit 0; \
3917 r=`${PWD_COMMAND}`; export r; \
3918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3919 $(HOST_EXPORTS) \
3920 for flag in $(EXTRA_HOST_FLAGS) ; do \
3921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3922 done; \
3923 echo "Doing info in bfd"; \
3924 (cd $(HOST_SUBDIR)/bfd && \
3925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3927 "RANLIB=$${RANLIB}" \
3928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3929 info) \
3930 || exit 1
3932 @endif bfd
3934 .PHONY: maybe-dvi-bfd dvi-bfd
3935 maybe-dvi-bfd:
3936 @if bfd
3937 maybe-dvi-bfd: dvi-bfd
3939 dvi-bfd: \
3940 configure-bfd
3941 @[ -f ./bfd/Makefile ] || exit 0; \
3942 r=`${PWD_COMMAND}`; export r; \
3943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3944 $(HOST_EXPORTS) \
3945 for flag in $(EXTRA_HOST_FLAGS) ; do \
3946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3947 done; \
3948 echo "Doing dvi in bfd"; \
3949 (cd $(HOST_SUBDIR)/bfd && \
3950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3952 "RANLIB=$${RANLIB}" \
3953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3954 dvi) \
3955 || exit 1
3957 @endif bfd
3959 .PHONY: maybe-pdf-bfd pdf-bfd
3960 maybe-pdf-bfd:
3961 @if bfd
3962 maybe-pdf-bfd: pdf-bfd
3964 pdf-bfd: \
3965 configure-bfd
3966 @[ -f ./bfd/Makefile ] || exit 0; \
3967 r=`${PWD_COMMAND}`; export r; \
3968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3969 $(HOST_EXPORTS) \
3970 for flag in $(EXTRA_HOST_FLAGS) ; do \
3971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3972 done; \
3973 echo "Doing pdf in bfd"; \
3974 (cd $(HOST_SUBDIR)/bfd && \
3975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3977 "RANLIB=$${RANLIB}" \
3978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3979 pdf) \
3980 || exit 1
3982 @endif bfd
3984 .PHONY: maybe-html-bfd html-bfd
3985 maybe-html-bfd:
3986 @if bfd
3987 maybe-html-bfd: html-bfd
3989 html-bfd: \
3990 configure-bfd
3991 @[ -f ./bfd/Makefile ] || exit 0; \
3992 r=`${PWD_COMMAND}`; export r; \
3993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3994 $(HOST_EXPORTS) \
3995 for flag in $(EXTRA_HOST_FLAGS) ; do \
3996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3997 done; \
3998 echo "Doing html in bfd"; \
3999 (cd $(HOST_SUBDIR)/bfd && \
4000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4002 "RANLIB=$${RANLIB}" \
4003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4004 html) \
4005 || exit 1
4007 @endif bfd
4009 .PHONY: maybe-TAGS-bfd TAGS-bfd
4010 maybe-TAGS-bfd:
4011 @if bfd
4012 maybe-TAGS-bfd: TAGS-bfd
4014 TAGS-bfd: \
4015 configure-bfd
4016 @[ -f ./bfd/Makefile ] || exit 0; \
4017 r=`${PWD_COMMAND}`; export r; \
4018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4019 $(HOST_EXPORTS) \
4020 for flag in $(EXTRA_HOST_FLAGS) ; do \
4021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4022 done; \
4023 echo "Doing TAGS in bfd"; \
4024 (cd $(HOST_SUBDIR)/bfd && \
4025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4027 "RANLIB=$${RANLIB}" \
4028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4029 TAGS) \
4030 || exit 1
4032 @endif bfd
4034 .PHONY: maybe-install-info-bfd install-info-bfd
4035 maybe-install-info-bfd:
4036 @if bfd
4037 maybe-install-info-bfd: install-info-bfd
4039 install-info-bfd: \
4040 configure-bfd \
4041 info-bfd
4042 @[ -f ./bfd/Makefile ] || exit 0; \
4043 r=`${PWD_COMMAND}`; export r; \
4044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4045 $(HOST_EXPORTS) \
4046 for flag in $(EXTRA_HOST_FLAGS) ; do \
4047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4048 done; \
4049 echo "Doing install-info in bfd"; \
4050 (cd $(HOST_SUBDIR)/bfd && \
4051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4053 "RANLIB=$${RANLIB}" \
4054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4055 install-info) \
4056 || exit 1
4058 @endif bfd
4060 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4061 maybe-install-pdf-bfd:
4062 @if bfd
4063 maybe-install-pdf-bfd: install-pdf-bfd
4065 install-pdf-bfd: \
4066 configure-bfd \
4067 pdf-bfd
4068 @[ -f ./bfd/Makefile ] || exit 0; \
4069 r=`${PWD_COMMAND}`; export r; \
4070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4071 $(HOST_EXPORTS) \
4072 for flag in $(EXTRA_HOST_FLAGS) ; do \
4073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4074 done; \
4075 echo "Doing install-pdf in bfd"; \
4076 (cd $(HOST_SUBDIR)/bfd && \
4077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4079 "RANLIB=$${RANLIB}" \
4080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4081 install-pdf) \
4082 || exit 1
4084 @endif bfd
4086 .PHONY: maybe-install-html-bfd install-html-bfd
4087 maybe-install-html-bfd:
4088 @if bfd
4089 maybe-install-html-bfd: install-html-bfd
4091 install-html-bfd: \
4092 configure-bfd \
4093 html-bfd
4094 @[ -f ./bfd/Makefile ] || exit 0; \
4095 r=`${PWD_COMMAND}`; export r; \
4096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4097 $(HOST_EXPORTS) \
4098 for flag in $(EXTRA_HOST_FLAGS) ; do \
4099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4100 done; \
4101 echo "Doing install-html in bfd"; \
4102 (cd $(HOST_SUBDIR)/bfd && \
4103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4105 "RANLIB=$${RANLIB}" \
4106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4107 install-html) \
4108 || exit 1
4110 @endif bfd
4112 .PHONY: maybe-installcheck-bfd installcheck-bfd
4113 maybe-installcheck-bfd:
4114 @if bfd
4115 maybe-installcheck-bfd: installcheck-bfd
4117 installcheck-bfd: \
4118 configure-bfd
4119 @[ -f ./bfd/Makefile ] || exit 0; \
4120 r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 $(HOST_EXPORTS) \
4123 for flag in $(EXTRA_HOST_FLAGS) ; do \
4124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4125 done; \
4126 echo "Doing installcheck in bfd"; \
4127 (cd $(HOST_SUBDIR)/bfd && \
4128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4130 "RANLIB=$${RANLIB}" \
4131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4132 installcheck) \
4133 || exit 1
4135 @endif bfd
4137 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4138 maybe-mostlyclean-bfd:
4139 @if bfd
4140 maybe-mostlyclean-bfd: mostlyclean-bfd
4142 mostlyclean-bfd:
4143 @[ -f ./bfd/Makefile ] || exit 0; \
4144 r=`${PWD_COMMAND}`; export r; \
4145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4146 $(HOST_EXPORTS) \
4147 for flag in $(EXTRA_HOST_FLAGS) ; do \
4148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4149 done; \
4150 echo "Doing mostlyclean in bfd"; \
4151 (cd $(HOST_SUBDIR)/bfd && \
4152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4154 "RANLIB=$${RANLIB}" \
4155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4156 mostlyclean) \
4157 || exit 1
4159 @endif bfd
4161 .PHONY: maybe-clean-bfd clean-bfd
4162 maybe-clean-bfd:
4163 @if bfd
4164 maybe-clean-bfd: clean-bfd
4166 clean-bfd:
4167 @[ -f ./bfd/Makefile ] || exit 0; \
4168 r=`${PWD_COMMAND}`; export r; \
4169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 $(HOST_EXPORTS) \
4171 for flag in $(EXTRA_HOST_FLAGS) ; do \
4172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4173 done; \
4174 echo "Doing clean in bfd"; \
4175 (cd $(HOST_SUBDIR)/bfd && \
4176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4178 "RANLIB=$${RANLIB}" \
4179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4180 clean) \
4181 || exit 1
4183 @endif bfd
4185 .PHONY: maybe-distclean-bfd distclean-bfd
4186 maybe-distclean-bfd:
4187 @if bfd
4188 maybe-distclean-bfd: distclean-bfd
4190 distclean-bfd:
4191 @[ -f ./bfd/Makefile ] || exit 0; \
4192 r=`${PWD_COMMAND}`; export r; \
4193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4194 $(HOST_EXPORTS) \
4195 for flag in $(EXTRA_HOST_FLAGS) ; do \
4196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4197 done; \
4198 echo "Doing distclean in bfd"; \
4199 (cd $(HOST_SUBDIR)/bfd && \
4200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4202 "RANLIB=$${RANLIB}" \
4203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4204 distclean) \
4205 || exit 1
4207 @endif bfd
4209 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4210 maybe-maintainer-clean-bfd:
4211 @if bfd
4212 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4214 maintainer-clean-bfd:
4215 @[ -f ./bfd/Makefile ] || exit 0; \
4216 r=`${PWD_COMMAND}`; export r; \
4217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4218 $(HOST_EXPORTS) \
4219 for flag in $(EXTRA_HOST_FLAGS) ; do \
4220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4221 done; \
4222 echo "Doing maintainer-clean in bfd"; \
4223 (cd $(HOST_SUBDIR)/bfd && \
4224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4226 "RANLIB=$${RANLIB}" \
4227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4228 maintainer-clean) \
4229 || exit 1
4231 @endif bfd
4235 .PHONY: configure-opcodes maybe-configure-opcodes
4236 maybe-configure-opcodes:
4237 @if gcc-bootstrap
4238 configure-opcodes: stage_current
4239 @endif gcc-bootstrap
4240 @if opcodes
4241 maybe-configure-opcodes: configure-opcodes
4242 configure-opcodes:
4243 @r=`${PWD_COMMAND}`; export r; \
4244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4245 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4247 $(HOST_EXPORTS) \
4248 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4249 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4250 case $(srcdir) in \
4251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4252 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4254 esac; \
4255 module_srcdir=opcodes; \
4256 $(SHELL) \
4257 $$s/$$module_srcdir/configure \
4258 --srcdir=$${topdir}/$$module_srcdir \
4259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4260 --target=${target_alias} \
4261 || exit 1
4262 @endif opcodes
4266 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4267 maybe-configure-stage1-opcodes:
4268 @if opcodes-bootstrap
4269 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4270 configure-stage1-opcodes:
4271 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4272 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4273 @r=`${PWD_COMMAND}`; export r; \
4274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4275 TFLAGS="$(STAGE1_TFLAGS)"; \
4276 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4277 $(HOST_EXPORTS) \
4278 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4279 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4280 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4281 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4283 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4284 case $(srcdir) in \
4285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4286 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4288 esac; \
4289 module_srcdir=opcodes; \
4290 $(SHELL) $$s/$$module_srcdir/configure \
4291 --srcdir=$${topdir}/$$module_srcdir \
4292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4293 --target=${target_alias} \
4295 $(STAGE1_CONFIGURE_FLAGS)
4296 @endif opcodes-bootstrap
4298 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4299 maybe-configure-stage2-opcodes:
4300 @if opcodes-bootstrap
4301 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4302 configure-stage2-opcodes:
4303 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4305 @r=`${PWD_COMMAND}`; export r; \
4306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4307 TFLAGS="$(STAGE2_TFLAGS)"; \
4308 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4309 $(HOST_EXPORTS) \
4310 $(POSTSTAGE1_HOST_EXPORTS) \
4311 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4312 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4313 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4314 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4316 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4317 case $(srcdir) in \
4318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4319 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4321 esac; \
4322 module_srcdir=opcodes; \
4323 $(SHELL) $$s/$$module_srcdir/configure \
4324 --srcdir=$${topdir}/$$module_srcdir \
4325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4326 --target=${target_alias} \
4327 --with-build-libsubdir=$(HOST_SUBDIR) \
4328 $(STAGE2_CONFIGURE_FLAGS)
4329 @endif opcodes-bootstrap
4331 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4332 maybe-configure-stage3-opcodes:
4333 @if opcodes-bootstrap
4334 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4335 configure-stage3-opcodes:
4336 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4338 @r=`${PWD_COMMAND}`; export r; \
4339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4340 TFLAGS="$(STAGE3_TFLAGS)"; \
4341 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4342 $(HOST_EXPORTS) \
4343 $(POSTSTAGE1_HOST_EXPORTS) \
4344 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4345 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4346 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4347 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4349 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4350 case $(srcdir) in \
4351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4352 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4354 esac; \
4355 module_srcdir=opcodes; \
4356 $(SHELL) $$s/$$module_srcdir/configure \
4357 --srcdir=$${topdir}/$$module_srcdir \
4358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4359 --target=${target_alias} \
4360 --with-build-libsubdir=$(HOST_SUBDIR) \
4361 $(STAGE3_CONFIGURE_FLAGS)
4362 @endif opcodes-bootstrap
4364 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4365 maybe-configure-stage4-opcodes:
4366 @if opcodes-bootstrap
4367 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4368 configure-stage4-opcodes:
4369 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4371 @r=`${PWD_COMMAND}`; export r; \
4372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4373 TFLAGS="$(STAGE4_TFLAGS)"; \
4374 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4375 $(HOST_EXPORTS) \
4376 $(POSTSTAGE1_HOST_EXPORTS) \
4377 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4378 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4379 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4380 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4382 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4383 case $(srcdir) in \
4384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4385 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4387 esac; \
4388 module_srcdir=opcodes; \
4389 $(SHELL) $$s/$$module_srcdir/configure \
4390 --srcdir=$${topdir}/$$module_srcdir \
4391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4392 --target=${target_alias} \
4393 --with-build-libsubdir=$(HOST_SUBDIR) \
4394 $(STAGE4_CONFIGURE_FLAGS)
4395 @endif opcodes-bootstrap
4397 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4398 maybe-configure-stageprofile-opcodes:
4399 @if opcodes-bootstrap
4400 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4401 configure-stageprofile-opcodes:
4402 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4404 @r=`${PWD_COMMAND}`; export r; \
4405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4406 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4407 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4408 $(HOST_EXPORTS) \
4409 $(POSTSTAGE1_HOST_EXPORTS) \
4410 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4411 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4412 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4413 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4415 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4416 case $(srcdir) in \
4417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4418 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4420 esac; \
4421 module_srcdir=opcodes; \
4422 $(SHELL) $$s/$$module_srcdir/configure \
4423 --srcdir=$${topdir}/$$module_srcdir \
4424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4425 --target=${target_alias} \
4426 --with-build-libsubdir=$(HOST_SUBDIR) \
4427 $(STAGEprofile_CONFIGURE_FLAGS)
4428 @endif opcodes-bootstrap
4430 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4431 maybe-configure-stagefeedback-opcodes:
4432 @if opcodes-bootstrap
4433 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4434 configure-stagefeedback-opcodes:
4435 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4436 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4437 @r=`${PWD_COMMAND}`; export r; \
4438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4439 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4440 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4441 $(HOST_EXPORTS) \
4442 $(POSTSTAGE1_HOST_EXPORTS) \
4443 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4444 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4445 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4446 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4448 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4449 case $(srcdir) in \
4450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4451 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4453 esac; \
4454 module_srcdir=opcodes; \
4455 $(SHELL) $$s/$$module_srcdir/configure \
4456 --srcdir=$${topdir}/$$module_srcdir \
4457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4458 --target=${target_alias} \
4459 --with-build-libsubdir=$(HOST_SUBDIR) \
4460 $(STAGEfeedback_CONFIGURE_FLAGS)
4461 @endif opcodes-bootstrap
4463 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4464 maybe-configure-stageautoprofile-opcodes:
4465 @if opcodes-bootstrap
4466 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4467 configure-stageautoprofile-opcodes:
4468 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4470 @r=`${PWD_COMMAND}`; export r; \
4471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4472 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4473 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4474 $(HOST_EXPORTS) \
4475 $(POSTSTAGE1_HOST_EXPORTS) \
4476 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4477 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4478 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4479 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4481 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4482 case $(srcdir) in \
4483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4484 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4486 esac; \
4487 module_srcdir=opcodes; \
4488 $(SHELL) $$s/$$module_srcdir/configure \
4489 --srcdir=$${topdir}/$$module_srcdir \
4490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4491 --target=${target_alias} \
4492 --with-build-libsubdir=$(HOST_SUBDIR) \
4493 $(STAGEautoprofile_CONFIGURE_FLAGS)
4494 @endif opcodes-bootstrap
4496 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4497 maybe-configure-stageautofeedback-opcodes:
4498 @if opcodes-bootstrap
4499 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4500 configure-stageautofeedback-opcodes:
4501 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4503 @r=`${PWD_COMMAND}`; export r; \
4504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4505 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4506 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4507 $(HOST_EXPORTS) \
4508 $(POSTSTAGE1_HOST_EXPORTS) \
4509 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4510 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4511 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4512 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4514 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4515 case $(srcdir) in \
4516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4517 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4519 esac; \
4520 module_srcdir=opcodes; \
4521 $(SHELL) $$s/$$module_srcdir/configure \
4522 --srcdir=$${topdir}/$$module_srcdir \
4523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4524 --target=${target_alias} \
4525 --with-build-libsubdir=$(HOST_SUBDIR) \
4526 $(STAGEautofeedback_CONFIGURE_FLAGS)
4527 @endif opcodes-bootstrap
4533 .PHONY: all-opcodes maybe-all-opcodes
4534 maybe-all-opcodes:
4535 @if gcc-bootstrap
4536 all-opcodes: stage_current
4537 @endif gcc-bootstrap
4538 @if opcodes
4539 TARGET-opcodes=all
4540 maybe-all-opcodes: all-opcodes
4541 all-opcodes: configure-opcodes
4542 @r=`${PWD_COMMAND}`; export r; \
4543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544 $(HOST_EXPORTS) \
4545 (cd $(HOST_SUBDIR)/opcodes && \
4546 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4547 $(TARGET-opcodes))
4548 @endif opcodes
4552 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4553 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4554 maybe-all-stage1-opcodes:
4555 maybe-clean-stage1-opcodes:
4556 @if opcodes-bootstrap
4557 maybe-all-stage1-opcodes: all-stage1-opcodes
4558 all-stage1: all-stage1-opcodes
4559 TARGET-stage1-opcodes = $(TARGET-opcodes)
4560 all-stage1-opcodes: configure-stage1-opcodes
4561 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4562 @r=`${PWD_COMMAND}`; export r; \
4563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4564 TFLAGS="$(STAGE1_TFLAGS)"; \
4565 $(HOST_EXPORTS) \
4566 cd $(HOST_SUBDIR)/opcodes && \
4568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4569 CFLAGS="$(STAGE1_CFLAGS)" \
4570 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4571 LIBCFLAGS="$(LIBCFLAGS)" \
4572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4575 $(EXTRA_HOST_FLAGS) \
4576 $(STAGE1_FLAGS_TO_PASS) \
4577 TFLAGS="$(STAGE1_TFLAGS)" \
4578 $(TARGET-stage1-opcodes)
4580 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4581 clean-stage1: clean-stage1-opcodes
4582 clean-stage1-opcodes:
4583 @if [ $(current_stage) = stage1 ]; then \
4584 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4585 else \
4586 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4587 $(MAKE) stage1-start; \
4588 fi; \
4589 cd $(HOST_SUBDIR)/opcodes && \
4590 $(MAKE) $(EXTRA_HOST_FLAGS) \
4591 $(STAGE1_FLAGS_TO_PASS) clean
4592 @endif opcodes-bootstrap
4595 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4596 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4597 maybe-all-stage2-opcodes:
4598 maybe-clean-stage2-opcodes:
4599 @if opcodes-bootstrap
4600 maybe-all-stage2-opcodes: all-stage2-opcodes
4601 all-stage2: all-stage2-opcodes
4602 TARGET-stage2-opcodes = $(TARGET-opcodes)
4603 all-stage2-opcodes: configure-stage2-opcodes
4604 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4605 @r=`${PWD_COMMAND}`; export r; \
4606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4607 TFLAGS="$(STAGE2_TFLAGS)"; \
4608 $(HOST_EXPORTS) \
4609 $(POSTSTAGE1_HOST_EXPORTS) \
4610 cd $(HOST_SUBDIR)/opcodes && \
4612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4613 CFLAGS="$(STAGE2_CFLAGS)" \
4614 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4615 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4616 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4617 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4618 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4619 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4620 TFLAGS="$(STAGE2_TFLAGS)" \
4621 $(TARGET-stage2-opcodes)
4623 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4624 clean-stage2: clean-stage2-opcodes
4625 clean-stage2-opcodes:
4626 @if [ $(current_stage) = stage2 ]; then \
4627 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4628 else \
4629 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4630 $(MAKE) stage2-start; \
4631 fi; \
4632 cd $(HOST_SUBDIR)/opcodes && \
4633 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4634 @endif opcodes-bootstrap
4637 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4638 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4639 maybe-all-stage3-opcodes:
4640 maybe-clean-stage3-opcodes:
4641 @if opcodes-bootstrap
4642 maybe-all-stage3-opcodes: all-stage3-opcodes
4643 all-stage3: all-stage3-opcodes
4644 TARGET-stage3-opcodes = $(TARGET-opcodes)
4645 all-stage3-opcodes: configure-stage3-opcodes
4646 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4647 @r=`${PWD_COMMAND}`; export r; \
4648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4649 TFLAGS="$(STAGE3_TFLAGS)"; \
4650 $(HOST_EXPORTS) \
4651 $(POSTSTAGE1_HOST_EXPORTS) \
4652 cd $(HOST_SUBDIR)/opcodes && \
4654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4655 CFLAGS="$(STAGE3_CFLAGS)" \
4656 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4657 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4662 TFLAGS="$(STAGE3_TFLAGS)" \
4663 $(TARGET-stage3-opcodes)
4665 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4666 clean-stage3: clean-stage3-opcodes
4667 clean-stage3-opcodes:
4668 @if [ $(current_stage) = stage3 ]; then \
4669 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4670 else \
4671 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4672 $(MAKE) stage3-start; \
4673 fi; \
4674 cd $(HOST_SUBDIR)/opcodes && \
4675 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4676 @endif opcodes-bootstrap
4679 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4680 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4681 maybe-all-stage4-opcodes:
4682 maybe-clean-stage4-opcodes:
4683 @if opcodes-bootstrap
4684 maybe-all-stage4-opcodes: all-stage4-opcodes
4685 all-stage4: all-stage4-opcodes
4686 TARGET-stage4-opcodes = $(TARGET-opcodes)
4687 all-stage4-opcodes: configure-stage4-opcodes
4688 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4689 @r=`${PWD_COMMAND}`; export r; \
4690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4691 TFLAGS="$(STAGE4_TFLAGS)"; \
4692 $(HOST_EXPORTS) \
4693 $(POSTSTAGE1_HOST_EXPORTS) \
4694 cd $(HOST_SUBDIR)/opcodes && \
4696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4697 CFLAGS="$(STAGE4_CFLAGS)" \
4698 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4699 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4700 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4701 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4702 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4703 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4704 TFLAGS="$(STAGE4_TFLAGS)" \
4705 $(TARGET-stage4-opcodes)
4707 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4708 clean-stage4: clean-stage4-opcodes
4709 clean-stage4-opcodes:
4710 @if [ $(current_stage) = stage4 ]; then \
4711 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4712 else \
4713 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4714 $(MAKE) stage4-start; \
4715 fi; \
4716 cd $(HOST_SUBDIR)/opcodes && \
4717 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4718 @endif opcodes-bootstrap
4721 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4722 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4723 maybe-all-stageprofile-opcodes:
4724 maybe-clean-stageprofile-opcodes:
4725 @if opcodes-bootstrap
4726 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4727 all-stageprofile: all-stageprofile-opcodes
4728 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4729 all-stageprofile-opcodes: configure-stageprofile-opcodes
4730 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4731 @r=`${PWD_COMMAND}`; export r; \
4732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4733 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4734 $(HOST_EXPORTS) \
4735 $(POSTSTAGE1_HOST_EXPORTS) \
4736 cd $(HOST_SUBDIR)/opcodes && \
4738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4739 CFLAGS="$(STAGEprofile_CFLAGS)" \
4740 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4741 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4745 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4746 TFLAGS="$(STAGEprofile_TFLAGS)" \
4747 $(TARGET-stageprofile-opcodes)
4749 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4750 clean-stageprofile: clean-stageprofile-opcodes
4751 clean-stageprofile-opcodes:
4752 @if [ $(current_stage) = stageprofile ]; then \
4753 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4754 else \
4755 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4756 $(MAKE) stageprofile-start; \
4757 fi; \
4758 cd $(HOST_SUBDIR)/opcodes && \
4759 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4760 @endif opcodes-bootstrap
4763 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4764 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4765 maybe-all-stagefeedback-opcodes:
4766 maybe-clean-stagefeedback-opcodes:
4767 @if opcodes-bootstrap
4768 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4769 all-stagefeedback: all-stagefeedback-opcodes
4770 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4771 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4772 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4773 @r=`${PWD_COMMAND}`; export r; \
4774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4775 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4776 $(HOST_EXPORTS) \
4777 $(POSTSTAGE1_HOST_EXPORTS) \
4778 cd $(HOST_SUBDIR)/opcodes && \
4780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4781 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4782 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4783 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4788 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4789 $(TARGET-stagefeedback-opcodes)
4791 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4792 clean-stagefeedback: clean-stagefeedback-opcodes
4793 clean-stagefeedback-opcodes:
4794 @if [ $(current_stage) = stagefeedback ]; then \
4795 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4796 else \
4797 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4798 $(MAKE) stagefeedback-start; \
4799 fi; \
4800 cd $(HOST_SUBDIR)/opcodes && \
4801 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4802 @endif opcodes-bootstrap
4805 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
4806 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
4807 maybe-all-stageautoprofile-opcodes:
4808 maybe-clean-stageautoprofile-opcodes:
4809 @if opcodes-bootstrap
4810 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
4811 all-stageautoprofile: all-stageautoprofile-opcodes
4812 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
4813 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4814 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4815 @r=`${PWD_COMMAND}`; export r; \
4816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4817 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4818 $(HOST_EXPORTS) \
4819 $(POSTSTAGE1_HOST_EXPORTS) \
4820 cd $(HOST_SUBDIR)/opcodes && \
4821 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4823 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4824 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4825 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4830 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4831 $(TARGET-stageautoprofile-opcodes)
4833 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
4834 clean-stageautoprofile: clean-stageautoprofile-opcodes
4835 clean-stageautoprofile-opcodes:
4836 @if [ $(current_stage) = stageautoprofile ]; then \
4837 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4838 else \
4839 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
4840 $(MAKE) stageautoprofile-start; \
4841 fi; \
4842 cd $(HOST_SUBDIR)/opcodes && \
4843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4844 @endif opcodes-bootstrap
4847 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
4848 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
4849 maybe-all-stageautofeedback-opcodes:
4850 maybe-clean-stageautofeedback-opcodes:
4851 @if opcodes-bootstrap
4852 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
4853 all-stageautofeedback: all-stageautofeedback-opcodes
4854 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
4855 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4856 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4857 @r=`${PWD_COMMAND}`; export r; \
4858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4859 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4860 $(HOST_EXPORTS) \
4861 $(POSTSTAGE1_HOST_EXPORTS) \
4862 cd $(HOST_SUBDIR)/opcodes && \
4864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4865 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4866 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4867 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4872 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4873 $(TARGET-stageautofeedback-opcodes)
4875 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
4876 clean-stageautofeedback: clean-stageautofeedback-opcodes
4877 clean-stageautofeedback-opcodes:
4878 @if [ $(current_stage) = stageautofeedback ]; then \
4879 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4880 else \
4881 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
4882 $(MAKE) stageautofeedback-start; \
4883 fi; \
4884 cd $(HOST_SUBDIR)/opcodes && \
4885 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4886 @endif opcodes-bootstrap
4892 .PHONY: check-opcodes maybe-check-opcodes
4893 maybe-check-opcodes:
4894 @if opcodes
4895 maybe-check-opcodes: check-opcodes
4897 check-opcodes:
4898 @: $(MAKE); $(unstage)
4899 @r=`${PWD_COMMAND}`; export r; \
4900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4901 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4902 (cd $(HOST_SUBDIR)/opcodes && \
4903 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4905 @endif opcodes
4907 .PHONY: install-opcodes maybe-install-opcodes
4908 maybe-install-opcodes:
4909 @if opcodes
4910 maybe-install-opcodes: install-opcodes
4912 install-opcodes: installdirs
4913 @: $(MAKE); $(unstage)
4914 @r=`${PWD_COMMAND}`; export r; \
4915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4916 $(HOST_EXPORTS) \
4917 (cd $(HOST_SUBDIR)/opcodes && \
4918 $(MAKE) $(FLAGS_TO_PASS) install)
4920 @endif opcodes
4922 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4923 maybe-install-strip-opcodes:
4924 @if opcodes
4925 maybe-install-strip-opcodes: install-strip-opcodes
4927 install-strip-opcodes: installdirs
4928 @: $(MAKE); $(unstage)
4929 @r=`${PWD_COMMAND}`; export r; \
4930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4931 $(HOST_EXPORTS) \
4932 (cd $(HOST_SUBDIR)/opcodes && \
4933 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4935 @endif opcodes
4937 # Other targets (info, dvi, pdf, etc.)
4939 .PHONY: maybe-info-opcodes info-opcodes
4940 maybe-info-opcodes:
4941 @if opcodes
4942 maybe-info-opcodes: info-opcodes
4944 info-opcodes: \
4945 configure-opcodes
4946 @[ -f ./opcodes/Makefile ] || exit 0; \
4947 r=`${PWD_COMMAND}`; export r; \
4948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4949 $(HOST_EXPORTS) \
4950 for flag in $(EXTRA_HOST_FLAGS) ; do \
4951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4952 done; \
4953 echo "Doing info in opcodes"; \
4954 (cd $(HOST_SUBDIR)/opcodes && \
4955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4957 "RANLIB=$${RANLIB}" \
4958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4959 info) \
4960 || exit 1
4962 @endif opcodes
4964 .PHONY: maybe-dvi-opcodes dvi-opcodes
4965 maybe-dvi-opcodes:
4966 @if opcodes
4967 maybe-dvi-opcodes: dvi-opcodes
4969 dvi-opcodes: \
4970 configure-opcodes
4971 @[ -f ./opcodes/Makefile ] || exit 0; \
4972 r=`${PWD_COMMAND}`; export r; \
4973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4974 $(HOST_EXPORTS) \
4975 for flag in $(EXTRA_HOST_FLAGS) ; do \
4976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4977 done; \
4978 echo "Doing dvi in opcodes"; \
4979 (cd $(HOST_SUBDIR)/opcodes && \
4980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4982 "RANLIB=$${RANLIB}" \
4983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4984 dvi) \
4985 || exit 1
4987 @endif opcodes
4989 .PHONY: maybe-pdf-opcodes pdf-opcodes
4990 maybe-pdf-opcodes:
4991 @if opcodes
4992 maybe-pdf-opcodes: pdf-opcodes
4994 pdf-opcodes: \
4995 configure-opcodes
4996 @[ -f ./opcodes/Makefile ] || exit 0; \
4997 r=`${PWD_COMMAND}`; export r; \
4998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4999 $(HOST_EXPORTS) \
5000 for flag in $(EXTRA_HOST_FLAGS) ; do \
5001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5002 done; \
5003 echo "Doing pdf in opcodes"; \
5004 (cd $(HOST_SUBDIR)/opcodes && \
5005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5007 "RANLIB=$${RANLIB}" \
5008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5009 pdf) \
5010 || exit 1
5012 @endif opcodes
5014 .PHONY: maybe-html-opcodes html-opcodes
5015 maybe-html-opcodes:
5016 @if opcodes
5017 maybe-html-opcodes: html-opcodes
5019 html-opcodes: \
5020 configure-opcodes
5021 @[ -f ./opcodes/Makefile ] || exit 0; \
5022 r=`${PWD_COMMAND}`; export r; \
5023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 $(HOST_EXPORTS) \
5025 for flag in $(EXTRA_HOST_FLAGS) ; do \
5026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5027 done; \
5028 echo "Doing html in opcodes"; \
5029 (cd $(HOST_SUBDIR)/opcodes && \
5030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5032 "RANLIB=$${RANLIB}" \
5033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5034 html) \
5035 || exit 1
5037 @endif opcodes
5039 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5040 maybe-TAGS-opcodes:
5041 @if opcodes
5042 maybe-TAGS-opcodes: TAGS-opcodes
5044 TAGS-opcodes: \
5045 configure-opcodes
5046 @[ -f ./opcodes/Makefile ] || exit 0; \
5047 r=`${PWD_COMMAND}`; export r; \
5048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5049 $(HOST_EXPORTS) \
5050 for flag in $(EXTRA_HOST_FLAGS) ; do \
5051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5052 done; \
5053 echo "Doing TAGS in opcodes"; \
5054 (cd $(HOST_SUBDIR)/opcodes && \
5055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5057 "RANLIB=$${RANLIB}" \
5058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5059 TAGS) \
5060 || exit 1
5062 @endif opcodes
5064 .PHONY: maybe-install-info-opcodes install-info-opcodes
5065 maybe-install-info-opcodes:
5066 @if opcodes
5067 maybe-install-info-opcodes: install-info-opcodes
5069 install-info-opcodes: \
5070 configure-opcodes \
5071 info-opcodes
5072 @[ -f ./opcodes/Makefile ] || exit 0; \
5073 r=`${PWD_COMMAND}`; export r; \
5074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5075 $(HOST_EXPORTS) \
5076 for flag in $(EXTRA_HOST_FLAGS) ; do \
5077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5078 done; \
5079 echo "Doing install-info in opcodes"; \
5080 (cd $(HOST_SUBDIR)/opcodes && \
5081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5083 "RANLIB=$${RANLIB}" \
5084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5085 install-info) \
5086 || exit 1
5088 @endif opcodes
5090 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5091 maybe-install-pdf-opcodes:
5092 @if opcodes
5093 maybe-install-pdf-opcodes: install-pdf-opcodes
5095 install-pdf-opcodes: \
5096 configure-opcodes \
5097 pdf-opcodes
5098 @[ -f ./opcodes/Makefile ] || exit 0; \
5099 r=`${PWD_COMMAND}`; export r; \
5100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5101 $(HOST_EXPORTS) \
5102 for flag in $(EXTRA_HOST_FLAGS) ; do \
5103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5104 done; \
5105 echo "Doing install-pdf in opcodes"; \
5106 (cd $(HOST_SUBDIR)/opcodes && \
5107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5109 "RANLIB=$${RANLIB}" \
5110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5111 install-pdf) \
5112 || exit 1
5114 @endif opcodes
5116 .PHONY: maybe-install-html-opcodes install-html-opcodes
5117 maybe-install-html-opcodes:
5118 @if opcodes
5119 maybe-install-html-opcodes: install-html-opcodes
5121 install-html-opcodes: \
5122 configure-opcodes \
5123 html-opcodes
5124 @[ -f ./opcodes/Makefile ] || exit 0; \
5125 r=`${PWD_COMMAND}`; export r; \
5126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5127 $(HOST_EXPORTS) \
5128 for flag in $(EXTRA_HOST_FLAGS) ; do \
5129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5130 done; \
5131 echo "Doing install-html in opcodes"; \
5132 (cd $(HOST_SUBDIR)/opcodes && \
5133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5135 "RANLIB=$${RANLIB}" \
5136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5137 install-html) \
5138 || exit 1
5140 @endif opcodes
5142 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5143 maybe-installcheck-opcodes:
5144 @if opcodes
5145 maybe-installcheck-opcodes: installcheck-opcodes
5147 installcheck-opcodes: \
5148 configure-opcodes
5149 @[ -f ./opcodes/Makefile ] || exit 0; \
5150 r=`${PWD_COMMAND}`; export r; \
5151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5152 $(HOST_EXPORTS) \
5153 for flag in $(EXTRA_HOST_FLAGS) ; do \
5154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5155 done; \
5156 echo "Doing installcheck in opcodes"; \
5157 (cd $(HOST_SUBDIR)/opcodes && \
5158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5160 "RANLIB=$${RANLIB}" \
5161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5162 installcheck) \
5163 || exit 1
5165 @endif opcodes
5167 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5168 maybe-mostlyclean-opcodes:
5169 @if opcodes
5170 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5172 mostlyclean-opcodes:
5173 @[ -f ./opcodes/Makefile ] || exit 0; \
5174 r=`${PWD_COMMAND}`; export r; \
5175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5176 $(HOST_EXPORTS) \
5177 for flag in $(EXTRA_HOST_FLAGS) ; do \
5178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5179 done; \
5180 echo "Doing mostlyclean in opcodes"; \
5181 (cd $(HOST_SUBDIR)/opcodes && \
5182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5184 "RANLIB=$${RANLIB}" \
5185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5186 mostlyclean) \
5187 || exit 1
5189 @endif opcodes
5191 .PHONY: maybe-clean-opcodes clean-opcodes
5192 maybe-clean-opcodes:
5193 @if opcodes
5194 maybe-clean-opcodes: clean-opcodes
5196 clean-opcodes:
5197 @[ -f ./opcodes/Makefile ] || exit 0; \
5198 r=`${PWD_COMMAND}`; export r; \
5199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5200 $(HOST_EXPORTS) \
5201 for flag in $(EXTRA_HOST_FLAGS) ; do \
5202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5203 done; \
5204 echo "Doing clean in opcodes"; \
5205 (cd $(HOST_SUBDIR)/opcodes && \
5206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5208 "RANLIB=$${RANLIB}" \
5209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5210 clean) \
5211 || exit 1
5213 @endif opcodes
5215 .PHONY: maybe-distclean-opcodes distclean-opcodes
5216 maybe-distclean-opcodes:
5217 @if opcodes
5218 maybe-distclean-opcodes: distclean-opcodes
5220 distclean-opcodes:
5221 @[ -f ./opcodes/Makefile ] || exit 0; \
5222 r=`${PWD_COMMAND}`; export r; \
5223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5224 $(HOST_EXPORTS) \
5225 for flag in $(EXTRA_HOST_FLAGS) ; do \
5226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5227 done; \
5228 echo "Doing distclean in opcodes"; \
5229 (cd $(HOST_SUBDIR)/opcodes && \
5230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5232 "RANLIB=$${RANLIB}" \
5233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5234 distclean) \
5235 || exit 1
5237 @endif opcodes
5239 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5240 maybe-maintainer-clean-opcodes:
5241 @if opcodes
5242 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5244 maintainer-clean-opcodes:
5245 @[ -f ./opcodes/Makefile ] || exit 0; \
5246 r=`${PWD_COMMAND}`; export r; \
5247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5248 $(HOST_EXPORTS) \
5249 for flag in $(EXTRA_HOST_FLAGS) ; do \
5250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5251 done; \
5252 echo "Doing maintainer-clean in opcodes"; \
5253 (cd $(HOST_SUBDIR)/opcodes && \
5254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5256 "RANLIB=$${RANLIB}" \
5257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5258 maintainer-clean) \
5259 || exit 1
5261 @endif opcodes
5265 .PHONY: configure-binutils maybe-configure-binutils
5266 maybe-configure-binutils:
5267 @if gcc-bootstrap
5268 configure-binutils: stage_current
5269 @endif gcc-bootstrap
5270 @if binutils
5271 maybe-configure-binutils: configure-binutils
5272 configure-binutils:
5273 @r=`${PWD_COMMAND}`; export r; \
5274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5275 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5277 $(HOST_EXPORTS) \
5278 echo Configuring in $(HOST_SUBDIR)/binutils; \
5279 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5280 case $(srcdir) in \
5281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5282 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5284 esac; \
5285 module_srcdir=binutils; \
5286 $(SHELL) \
5287 $$s/$$module_srcdir/configure \
5288 --srcdir=$${topdir}/$$module_srcdir \
5289 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5290 --target=${target_alias} \
5291 || exit 1
5292 @endif binutils
5296 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5297 maybe-configure-stage1-binutils:
5298 @if binutils-bootstrap
5299 maybe-configure-stage1-binutils: configure-stage1-binutils
5300 configure-stage1-binutils:
5301 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5302 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5303 @r=`${PWD_COMMAND}`; export r; \
5304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5305 TFLAGS="$(STAGE1_TFLAGS)"; \
5306 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5307 $(HOST_EXPORTS) \
5308 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5309 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5310 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5311 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5313 cd $(HOST_SUBDIR)/binutils || exit 1; \
5314 case $(srcdir) in \
5315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5316 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5318 esac; \
5319 module_srcdir=binutils; \
5320 $(SHELL) $$s/$$module_srcdir/configure \
5321 --srcdir=$${topdir}/$$module_srcdir \
5322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5323 --target=${target_alias} \
5325 $(STAGE1_CONFIGURE_FLAGS)
5326 @endif binutils-bootstrap
5328 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5329 maybe-configure-stage2-binutils:
5330 @if binutils-bootstrap
5331 maybe-configure-stage2-binutils: configure-stage2-binutils
5332 configure-stage2-binutils:
5333 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5334 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5335 @r=`${PWD_COMMAND}`; export r; \
5336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5337 TFLAGS="$(STAGE2_TFLAGS)"; \
5338 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5339 $(HOST_EXPORTS) \
5340 $(POSTSTAGE1_HOST_EXPORTS) \
5341 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5342 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5343 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5344 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5346 cd $(HOST_SUBDIR)/binutils || exit 1; \
5347 case $(srcdir) in \
5348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5349 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5351 esac; \
5352 module_srcdir=binutils; \
5353 $(SHELL) $$s/$$module_srcdir/configure \
5354 --srcdir=$${topdir}/$$module_srcdir \
5355 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5356 --target=${target_alias} \
5357 --with-build-libsubdir=$(HOST_SUBDIR) \
5358 $(STAGE2_CONFIGURE_FLAGS)
5359 @endif binutils-bootstrap
5361 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5362 maybe-configure-stage3-binutils:
5363 @if binutils-bootstrap
5364 maybe-configure-stage3-binutils: configure-stage3-binutils
5365 configure-stage3-binutils:
5366 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5367 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5368 @r=`${PWD_COMMAND}`; export r; \
5369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5370 TFLAGS="$(STAGE3_TFLAGS)"; \
5371 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5372 $(HOST_EXPORTS) \
5373 $(POSTSTAGE1_HOST_EXPORTS) \
5374 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5375 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5376 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5377 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5379 cd $(HOST_SUBDIR)/binutils || exit 1; \
5380 case $(srcdir) in \
5381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5382 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5384 esac; \
5385 module_srcdir=binutils; \
5386 $(SHELL) $$s/$$module_srcdir/configure \
5387 --srcdir=$${topdir}/$$module_srcdir \
5388 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5389 --target=${target_alias} \
5390 --with-build-libsubdir=$(HOST_SUBDIR) \
5391 $(STAGE3_CONFIGURE_FLAGS)
5392 @endif binutils-bootstrap
5394 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5395 maybe-configure-stage4-binutils:
5396 @if binutils-bootstrap
5397 maybe-configure-stage4-binutils: configure-stage4-binutils
5398 configure-stage4-binutils:
5399 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5400 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5401 @r=`${PWD_COMMAND}`; export r; \
5402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5403 TFLAGS="$(STAGE4_TFLAGS)"; \
5404 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5405 $(HOST_EXPORTS) \
5406 $(POSTSTAGE1_HOST_EXPORTS) \
5407 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5408 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5409 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5410 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5412 cd $(HOST_SUBDIR)/binutils || exit 1; \
5413 case $(srcdir) in \
5414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5415 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5417 esac; \
5418 module_srcdir=binutils; \
5419 $(SHELL) $$s/$$module_srcdir/configure \
5420 --srcdir=$${topdir}/$$module_srcdir \
5421 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5422 --target=${target_alias} \
5423 --with-build-libsubdir=$(HOST_SUBDIR) \
5424 $(STAGE4_CONFIGURE_FLAGS)
5425 @endif binutils-bootstrap
5427 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5428 maybe-configure-stageprofile-binutils:
5429 @if binutils-bootstrap
5430 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5431 configure-stageprofile-binutils:
5432 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5433 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5434 @r=`${PWD_COMMAND}`; export r; \
5435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5436 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5437 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5438 $(HOST_EXPORTS) \
5439 $(POSTSTAGE1_HOST_EXPORTS) \
5440 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5441 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5442 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5443 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5445 cd $(HOST_SUBDIR)/binutils || exit 1; \
5446 case $(srcdir) in \
5447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5448 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5450 esac; \
5451 module_srcdir=binutils; \
5452 $(SHELL) $$s/$$module_srcdir/configure \
5453 --srcdir=$${topdir}/$$module_srcdir \
5454 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5455 --target=${target_alias} \
5456 --with-build-libsubdir=$(HOST_SUBDIR) \
5457 $(STAGEprofile_CONFIGURE_FLAGS)
5458 @endif binutils-bootstrap
5460 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5461 maybe-configure-stagefeedback-binutils:
5462 @if binutils-bootstrap
5463 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5464 configure-stagefeedback-binutils:
5465 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5466 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5467 @r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5469 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5470 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5471 $(HOST_EXPORTS) \
5472 $(POSTSTAGE1_HOST_EXPORTS) \
5473 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5474 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5475 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5476 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5478 cd $(HOST_SUBDIR)/binutils || exit 1; \
5479 case $(srcdir) in \
5480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5481 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5483 esac; \
5484 module_srcdir=binutils; \
5485 $(SHELL) $$s/$$module_srcdir/configure \
5486 --srcdir=$${topdir}/$$module_srcdir \
5487 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5488 --target=${target_alias} \
5489 --with-build-libsubdir=$(HOST_SUBDIR) \
5490 $(STAGEfeedback_CONFIGURE_FLAGS)
5491 @endif binutils-bootstrap
5493 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5494 maybe-configure-stageautoprofile-binutils:
5495 @if binutils-bootstrap
5496 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5497 configure-stageautoprofile-binutils:
5498 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5499 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5500 @r=`${PWD_COMMAND}`; export r; \
5501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5502 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5503 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5504 $(HOST_EXPORTS) \
5505 $(POSTSTAGE1_HOST_EXPORTS) \
5506 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5507 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5508 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5509 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5511 cd $(HOST_SUBDIR)/binutils || exit 1; \
5512 case $(srcdir) in \
5513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5514 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5516 esac; \
5517 module_srcdir=binutils; \
5518 $(SHELL) $$s/$$module_srcdir/configure \
5519 --srcdir=$${topdir}/$$module_srcdir \
5520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5521 --target=${target_alias} \
5522 --with-build-libsubdir=$(HOST_SUBDIR) \
5523 $(STAGEautoprofile_CONFIGURE_FLAGS)
5524 @endif binutils-bootstrap
5526 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5527 maybe-configure-stageautofeedback-binutils:
5528 @if binutils-bootstrap
5529 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5530 configure-stageautofeedback-binutils:
5531 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5532 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5533 @r=`${PWD_COMMAND}`; export r; \
5534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5535 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5536 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5537 $(HOST_EXPORTS) \
5538 $(POSTSTAGE1_HOST_EXPORTS) \
5539 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5540 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5541 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5542 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5543 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5544 cd $(HOST_SUBDIR)/binutils || exit 1; \
5545 case $(srcdir) in \
5546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5547 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5549 esac; \
5550 module_srcdir=binutils; \
5551 $(SHELL) $$s/$$module_srcdir/configure \
5552 --srcdir=$${topdir}/$$module_srcdir \
5553 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5554 --target=${target_alias} \
5555 --with-build-libsubdir=$(HOST_SUBDIR) \
5556 $(STAGEautofeedback_CONFIGURE_FLAGS)
5557 @endif binutils-bootstrap
5563 .PHONY: all-binutils maybe-all-binutils
5564 maybe-all-binutils:
5565 @if gcc-bootstrap
5566 all-binutils: stage_current
5567 @endif gcc-bootstrap
5568 @if binutils
5569 TARGET-binutils=all
5570 maybe-all-binutils: all-binutils
5571 all-binutils: configure-binutils
5572 @r=`${PWD_COMMAND}`; export r; \
5573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5574 $(HOST_EXPORTS) \
5575 (cd $(HOST_SUBDIR)/binutils && \
5576 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5577 $(TARGET-binutils))
5578 @endif binutils
5582 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5583 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5584 maybe-all-stage1-binutils:
5585 maybe-clean-stage1-binutils:
5586 @if binutils-bootstrap
5587 maybe-all-stage1-binutils: all-stage1-binutils
5588 all-stage1: all-stage1-binutils
5589 TARGET-stage1-binutils = $(TARGET-binutils)
5590 all-stage1-binutils: configure-stage1-binutils
5591 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5592 @r=`${PWD_COMMAND}`; export r; \
5593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5594 TFLAGS="$(STAGE1_TFLAGS)"; \
5595 $(HOST_EXPORTS) \
5596 cd $(HOST_SUBDIR)/binutils && \
5598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5599 CFLAGS="$(STAGE1_CFLAGS)" \
5600 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5601 LIBCFLAGS="$(LIBCFLAGS)" \
5602 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5603 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5604 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5605 $(EXTRA_HOST_FLAGS) \
5606 $(STAGE1_FLAGS_TO_PASS) \
5607 TFLAGS="$(STAGE1_TFLAGS)" \
5608 $(TARGET-stage1-binutils)
5610 maybe-clean-stage1-binutils: clean-stage1-binutils
5611 clean-stage1: clean-stage1-binutils
5612 clean-stage1-binutils:
5613 @if [ $(current_stage) = stage1 ]; then \
5614 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5615 else \
5616 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5617 $(MAKE) stage1-start; \
5618 fi; \
5619 cd $(HOST_SUBDIR)/binutils && \
5620 $(MAKE) $(EXTRA_HOST_FLAGS) \
5621 $(STAGE1_FLAGS_TO_PASS) clean
5622 @endif binutils-bootstrap
5625 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5626 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5627 maybe-all-stage2-binutils:
5628 maybe-clean-stage2-binutils:
5629 @if binutils-bootstrap
5630 maybe-all-stage2-binutils: all-stage2-binutils
5631 all-stage2: all-stage2-binutils
5632 TARGET-stage2-binutils = $(TARGET-binutils)
5633 all-stage2-binutils: configure-stage2-binutils
5634 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5635 @r=`${PWD_COMMAND}`; export r; \
5636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5637 TFLAGS="$(STAGE2_TFLAGS)"; \
5638 $(HOST_EXPORTS) \
5639 $(POSTSTAGE1_HOST_EXPORTS) \
5640 cd $(HOST_SUBDIR)/binutils && \
5642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5643 CFLAGS="$(STAGE2_CFLAGS)" \
5644 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5645 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5646 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5647 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5648 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5649 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5650 TFLAGS="$(STAGE2_TFLAGS)" \
5651 $(TARGET-stage2-binutils)
5653 maybe-clean-stage2-binutils: clean-stage2-binutils
5654 clean-stage2: clean-stage2-binutils
5655 clean-stage2-binutils:
5656 @if [ $(current_stage) = stage2 ]; then \
5657 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5658 else \
5659 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5660 $(MAKE) stage2-start; \
5661 fi; \
5662 cd $(HOST_SUBDIR)/binutils && \
5663 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5664 @endif binutils-bootstrap
5667 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5668 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5669 maybe-all-stage3-binutils:
5670 maybe-clean-stage3-binutils:
5671 @if binutils-bootstrap
5672 maybe-all-stage3-binutils: all-stage3-binutils
5673 all-stage3: all-stage3-binutils
5674 TARGET-stage3-binutils = $(TARGET-binutils)
5675 all-stage3-binutils: configure-stage3-binutils
5676 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5677 @r=`${PWD_COMMAND}`; export r; \
5678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5679 TFLAGS="$(STAGE3_TFLAGS)"; \
5680 $(HOST_EXPORTS) \
5681 $(POSTSTAGE1_HOST_EXPORTS) \
5682 cd $(HOST_SUBDIR)/binutils && \
5684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5685 CFLAGS="$(STAGE3_CFLAGS)" \
5686 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5687 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5688 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5689 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5690 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5691 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5692 TFLAGS="$(STAGE3_TFLAGS)" \
5693 $(TARGET-stage3-binutils)
5695 maybe-clean-stage3-binutils: clean-stage3-binutils
5696 clean-stage3: clean-stage3-binutils
5697 clean-stage3-binutils:
5698 @if [ $(current_stage) = stage3 ]; then \
5699 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5700 else \
5701 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5702 $(MAKE) stage3-start; \
5703 fi; \
5704 cd $(HOST_SUBDIR)/binutils && \
5705 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5706 @endif binutils-bootstrap
5709 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5710 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5711 maybe-all-stage4-binutils:
5712 maybe-clean-stage4-binutils:
5713 @if binutils-bootstrap
5714 maybe-all-stage4-binutils: all-stage4-binutils
5715 all-stage4: all-stage4-binutils
5716 TARGET-stage4-binutils = $(TARGET-binutils)
5717 all-stage4-binutils: configure-stage4-binutils
5718 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5719 @r=`${PWD_COMMAND}`; export r; \
5720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5721 TFLAGS="$(STAGE4_TFLAGS)"; \
5722 $(HOST_EXPORTS) \
5723 $(POSTSTAGE1_HOST_EXPORTS) \
5724 cd $(HOST_SUBDIR)/binutils && \
5726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5727 CFLAGS="$(STAGE4_CFLAGS)" \
5728 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5729 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5730 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5733 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5734 TFLAGS="$(STAGE4_TFLAGS)" \
5735 $(TARGET-stage4-binutils)
5737 maybe-clean-stage4-binutils: clean-stage4-binutils
5738 clean-stage4: clean-stage4-binutils
5739 clean-stage4-binutils:
5740 @if [ $(current_stage) = stage4 ]; then \
5741 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5742 else \
5743 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5744 $(MAKE) stage4-start; \
5745 fi; \
5746 cd $(HOST_SUBDIR)/binutils && \
5747 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5748 @endif binutils-bootstrap
5751 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5752 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5753 maybe-all-stageprofile-binutils:
5754 maybe-clean-stageprofile-binutils:
5755 @if binutils-bootstrap
5756 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5757 all-stageprofile: all-stageprofile-binutils
5758 TARGET-stageprofile-binutils = $(TARGET-binutils)
5759 all-stageprofile-binutils: configure-stageprofile-binutils
5760 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5761 @r=`${PWD_COMMAND}`; export r; \
5762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5763 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5764 $(HOST_EXPORTS) \
5765 $(POSTSTAGE1_HOST_EXPORTS) \
5766 cd $(HOST_SUBDIR)/binutils && \
5768 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5769 CFLAGS="$(STAGEprofile_CFLAGS)" \
5770 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5771 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5772 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5775 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5776 TFLAGS="$(STAGEprofile_TFLAGS)" \
5777 $(TARGET-stageprofile-binutils)
5779 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5780 clean-stageprofile: clean-stageprofile-binutils
5781 clean-stageprofile-binutils:
5782 @if [ $(current_stage) = stageprofile ]; then \
5783 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5784 else \
5785 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5786 $(MAKE) stageprofile-start; \
5787 fi; \
5788 cd $(HOST_SUBDIR)/binutils && \
5789 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5790 @endif binutils-bootstrap
5793 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5794 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5795 maybe-all-stagefeedback-binutils:
5796 maybe-clean-stagefeedback-binutils:
5797 @if binutils-bootstrap
5798 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5799 all-stagefeedback: all-stagefeedback-binutils
5800 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5801 all-stagefeedback-binutils: configure-stagefeedback-binutils
5802 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5803 @r=`${PWD_COMMAND}`; export r; \
5804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5805 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5806 $(HOST_EXPORTS) \
5807 $(POSTSTAGE1_HOST_EXPORTS) \
5808 cd $(HOST_SUBDIR)/binutils && \
5810 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5811 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5812 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5813 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5814 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5815 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5816 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5817 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5818 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5819 $(TARGET-stagefeedback-binutils)
5821 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5822 clean-stagefeedback: clean-stagefeedback-binutils
5823 clean-stagefeedback-binutils:
5824 @if [ $(current_stage) = stagefeedback ]; then \
5825 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5826 else \
5827 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5828 $(MAKE) stagefeedback-start; \
5829 fi; \
5830 cd $(HOST_SUBDIR)/binutils && \
5831 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5832 @endif binutils-bootstrap
5835 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
5836 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
5837 maybe-all-stageautoprofile-binutils:
5838 maybe-clean-stageautoprofile-binutils:
5839 @if binutils-bootstrap
5840 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
5841 all-stageautoprofile: all-stageautoprofile-binutils
5842 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
5843 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
5844 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5845 @r=`${PWD_COMMAND}`; export r; \
5846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5847 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5848 $(HOST_EXPORTS) \
5849 $(POSTSTAGE1_HOST_EXPORTS) \
5850 cd $(HOST_SUBDIR)/binutils && \
5851 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5853 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5854 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5855 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5859 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5860 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5861 $(TARGET-stageautoprofile-binutils)
5863 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
5864 clean-stageautoprofile: clean-stageautoprofile-binutils
5865 clean-stageautoprofile-binutils:
5866 @if [ $(current_stage) = stageautoprofile ]; then \
5867 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5868 else \
5869 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
5870 $(MAKE) stageautoprofile-start; \
5871 fi; \
5872 cd $(HOST_SUBDIR)/binutils && \
5873 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5874 @endif binutils-bootstrap
5877 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
5878 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
5879 maybe-all-stageautofeedback-binutils:
5880 maybe-clean-stageautofeedback-binutils:
5881 @if binutils-bootstrap
5882 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
5883 all-stageautofeedback: all-stageautofeedback-binutils
5884 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
5885 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
5886 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5887 @r=`${PWD_COMMAND}`; export r; \
5888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5889 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5890 $(HOST_EXPORTS) \
5891 $(POSTSTAGE1_HOST_EXPORTS) \
5892 cd $(HOST_SUBDIR)/binutils && \
5894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5895 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5896 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5897 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5901 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5902 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5903 $(TARGET-stageautofeedback-binutils)
5905 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
5906 clean-stageautofeedback: clean-stageautofeedback-binutils
5907 clean-stageautofeedback-binutils:
5908 @if [ $(current_stage) = stageautofeedback ]; then \
5909 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5910 else \
5911 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
5912 $(MAKE) stageautofeedback-start; \
5913 fi; \
5914 cd $(HOST_SUBDIR)/binutils && \
5915 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5916 @endif binutils-bootstrap
5922 .PHONY: check-binutils maybe-check-binutils
5923 maybe-check-binutils:
5924 @if binutils
5925 maybe-check-binutils: check-binutils
5927 check-binutils:
5928 @: $(MAKE); $(unstage)
5929 @r=`${PWD_COMMAND}`; export r; \
5930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5931 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5932 (cd $(HOST_SUBDIR)/binutils && \
5933 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5935 @endif binutils
5937 .PHONY: install-binutils maybe-install-binutils
5938 maybe-install-binutils:
5939 @if binutils
5940 maybe-install-binutils: install-binutils
5942 install-binutils: installdirs
5943 @: $(MAKE); $(unstage)
5944 @r=`${PWD_COMMAND}`; export r; \
5945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5946 $(HOST_EXPORTS) \
5947 (cd $(HOST_SUBDIR)/binutils && \
5948 $(MAKE) $(FLAGS_TO_PASS) install)
5950 @endif binutils
5952 .PHONY: install-strip-binutils maybe-install-strip-binutils
5953 maybe-install-strip-binutils:
5954 @if binutils
5955 maybe-install-strip-binutils: install-strip-binutils
5957 install-strip-binutils: installdirs
5958 @: $(MAKE); $(unstage)
5959 @r=`${PWD_COMMAND}`; export r; \
5960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 $(HOST_EXPORTS) \
5962 (cd $(HOST_SUBDIR)/binutils && \
5963 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5965 @endif binutils
5967 # Other targets (info, dvi, pdf, etc.)
5969 .PHONY: maybe-info-binutils info-binutils
5970 maybe-info-binutils:
5971 @if binutils
5972 maybe-info-binutils: info-binutils
5974 info-binutils: \
5975 configure-binutils
5976 @[ -f ./binutils/Makefile ] || exit 0; \
5977 r=`${PWD_COMMAND}`; export r; \
5978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5979 $(HOST_EXPORTS) \
5980 for flag in $(EXTRA_HOST_FLAGS) ; do \
5981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5982 done; \
5983 echo "Doing info in binutils"; \
5984 (cd $(HOST_SUBDIR)/binutils && \
5985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5987 "RANLIB=$${RANLIB}" \
5988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5989 info) \
5990 || exit 1
5992 @endif binutils
5994 .PHONY: maybe-dvi-binutils dvi-binutils
5995 maybe-dvi-binutils:
5996 @if binutils
5997 maybe-dvi-binutils: dvi-binutils
5999 dvi-binutils: \
6000 configure-binutils
6001 @[ -f ./binutils/Makefile ] || exit 0; \
6002 r=`${PWD_COMMAND}`; export r; \
6003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6004 $(HOST_EXPORTS) \
6005 for flag in $(EXTRA_HOST_FLAGS) ; do \
6006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6007 done; \
6008 echo "Doing dvi in binutils"; \
6009 (cd $(HOST_SUBDIR)/binutils && \
6010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6012 "RANLIB=$${RANLIB}" \
6013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6014 dvi) \
6015 || exit 1
6017 @endif binutils
6019 .PHONY: maybe-pdf-binutils pdf-binutils
6020 maybe-pdf-binutils:
6021 @if binutils
6022 maybe-pdf-binutils: pdf-binutils
6024 pdf-binutils: \
6025 configure-binutils
6026 @[ -f ./binutils/Makefile ] || exit 0; \
6027 r=`${PWD_COMMAND}`; export r; \
6028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6029 $(HOST_EXPORTS) \
6030 for flag in $(EXTRA_HOST_FLAGS) ; do \
6031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6032 done; \
6033 echo "Doing pdf in binutils"; \
6034 (cd $(HOST_SUBDIR)/binutils && \
6035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6037 "RANLIB=$${RANLIB}" \
6038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6039 pdf) \
6040 || exit 1
6042 @endif binutils
6044 .PHONY: maybe-html-binutils html-binutils
6045 maybe-html-binutils:
6046 @if binutils
6047 maybe-html-binutils: html-binutils
6049 html-binutils: \
6050 configure-binutils
6051 @[ -f ./binutils/Makefile ] || exit 0; \
6052 r=`${PWD_COMMAND}`; export r; \
6053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6054 $(HOST_EXPORTS) \
6055 for flag in $(EXTRA_HOST_FLAGS) ; do \
6056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6057 done; \
6058 echo "Doing html in binutils"; \
6059 (cd $(HOST_SUBDIR)/binutils && \
6060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6062 "RANLIB=$${RANLIB}" \
6063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6064 html) \
6065 || exit 1
6067 @endif binutils
6069 .PHONY: maybe-TAGS-binutils TAGS-binutils
6070 maybe-TAGS-binutils:
6071 @if binutils
6072 maybe-TAGS-binutils: TAGS-binutils
6074 TAGS-binutils: \
6075 configure-binutils
6076 @[ -f ./binutils/Makefile ] || exit 0; \
6077 r=`${PWD_COMMAND}`; export r; \
6078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6079 $(HOST_EXPORTS) \
6080 for flag in $(EXTRA_HOST_FLAGS) ; do \
6081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6082 done; \
6083 echo "Doing TAGS in binutils"; \
6084 (cd $(HOST_SUBDIR)/binutils && \
6085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6087 "RANLIB=$${RANLIB}" \
6088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6089 TAGS) \
6090 || exit 1
6092 @endif binutils
6094 .PHONY: maybe-install-info-binutils install-info-binutils
6095 maybe-install-info-binutils:
6096 @if binutils
6097 maybe-install-info-binutils: install-info-binutils
6099 install-info-binutils: \
6100 configure-binutils \
6101 info-binutils
6102 @[ -f ./binutils/Makefile ] || exit 0; \
6103 r=`${PWD_COMMAND}`; export r; \
6104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6105 $(HOST_EXPORTS) \
6106 for flag in $(EXTRA_HOST_FLAGS) ; do \
6107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6108 done; \
6109 echo "Doing install-info in binutils"; \
6110 (cd $(HOST_SUBDIR)/binutils && \
6111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6113 "RANLIB=$${RANLIB}" \
6114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6115 install-info) \
6116 || exit 1
6118 @endif binutils
6120 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6121 maybe-install-pdf-binutils:
6122 @if binutils
6123 maybe-install-pdf-binutils: install-pdf-binutils
6125 install-pdf-binutils: \
6126 configure-binutils \
6127 pdf-binutils
6128 @[ -f ./binutils/Makefile ] || exit 0; \
6129 r=`${PWD_COMMAND}`; export r; \
6130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6131 $(HOST_EXPORTS) \
6132 for flag in $(EXTRA_HOST_FLAGS) ; do \
6133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6134 done; \
6135 echo "Doing install-pdf in binutils"; \
6136 (cd $(HOST_SUBDIR)/binutils && \
6137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6139 "RANLIB=$${RANLIB}" \
6140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6141 install-pdf) \
6142 || exit 1
6144 @endif binutils
6146 .PHONY: maybe-install-html-binutils install-html-binutils
6147 maybe-install-html-binutils:
6148 @if binutils
6149 maybe-install-html-binutils: install-html-binutils
6151 install-html-binutils: \
6152 configure-binutils \
6153 html-binutils
6154 @[ -f ./binutils/Makefile ] || exit 0; \
6155 r=`${PWD_COMMAND}`; export r; \
6156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6157 $(HOST_EXPORTS) \
6158 for flag in $(EXTRA_HOST_FLAGS) ; do \
6159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6160 done; \
6161 echo "Doing install-html in binutils"; \
6162 (cd $(HOST_SUBDIR)/binutils && \
6163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6165 "RANLIB=$${RANLIB}" \
6166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6167 install-html) \
6168 || exit 1
6170 @endif binutils
6172 .PHONY: maybe-installcheck-binutils installcheck-binutils
6173 maybe-installcheck-binutils:
6174 @if binutils
6175 maybe-installcheck-binutils: installcheck-binutils
6177 installcheck-binutils: \
6178 configure-binutils
6179 @[ -f ./binutils/Makefile ] || exit 0; \
6180 r=`${PWD_COMMAND}`; export r; \
6181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6182 $(HOST_EXPORTS) \
6183 for flag in $(EXTRA_HOST_FLAGS) ; do \
6184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6185 done; \
6186 echo "Doing installcheck in binutils"; \
6187 (cd $(HOST_SUBDIR)/binutils && \
6188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6190 "RANLIB=$${RANLIB}" \
6191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6192 installcheck) \
6193 || exit 1
6195 @endif binutils
6197 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6198 maybe-mostlyclean-binutils:
6199 @if binutils
6200 maybe-mostlyclean-binutils: mostlyclean-binutils
6202 mostlyclean-binutils:
6203 @[ -f ./binutils/Makefile ] || exit 0; \
6204 r=`${PWD_COMMAND}`; export r; \
6205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6206 $(HOST_EXPORTS) \
6207 for flag in $(EXTRA_HOST_FLAGS) ; do \
6208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6209 done; \
6210 echo "Doing mostlyclean in binutils"; \
6211 (cd $(HOST_SUBDIR)/binutils && \
6212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6214 "RANLIB=$${RANLIB}" \
6215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6216 mostlyclean) \
6217 || exit 1
6219 @endif binutils
6221 .PHONY: maybe-clean-binutils clean-binutils
6222 maybe-clean-binutils:
6223 @if binutils
6224 maybe-clean-binutils: clean-binutils
6226 clean-binutils:
6227 @[ -f ./binutils/Makefile ] || exit 0; \
6228 r=`${PWD_COMMAND}`; export r; \
6229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6230 $(HOST_EXPORTS) \
6231 for flag in $(EXTRA_HOST_FLAGS) ; do \
6232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6233 done; \
6234 echo "Doing clean in binutils"; \
6235 (cd $(HOST_SUBDIR)/binutils && \
6236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6238 "RANLIB=$${RANLIB}" \
6239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6240 clean) \
6241 || exit 1
6243 @endif binutils
6245 .PHONY: maybe-distclean-binutils distclean-binutils
6246 maybe-distclean-binutils:
6247 @if binutils
6248 maybe-distclean-binutils: distclean-binutils
6250 distclean-binutils:
6251 @[ -f ./binutils/Makefile ] || exit 0; \
6252 r=`${PWD_COMMAND}`; export r; \
6253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6254 $(HOST_EXPORTS) \
6255 for flag in $(EXTRA_HOST_FLAGS) ; do \
6256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6257 done; \
6258 echo "Doing distclean in binutils"; \
6259 (cd $(HOST_SUBDIR)/binutils && \
6260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6262 "RANLIB=$${RANLIB}" \
6263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6264 distclean) \
6265 || exit 1
6267 @endif binutils
6269 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6270 maybe-maintainer-clean-binutils:
6271 @if binutils
6272 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6274 maintainer-clean-binutils:
6275 @[ -f ./binutils/Makefile ] || exit 0; \
6276 r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6278 $(HOST_EXPORTS) \
6279 for flag in $(EXTRA_HOST_FLAGS) ; do \
6280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6281 done; \
6282 echo "Doing maintainer-clean in binutils"; \
6283 (cd $(HOST_SUBDIR)/binutils && \
6284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6286 "RANLIB=$${RANLIB}" \
6287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6288 maintainer-clean) \
6289 || exit 1
6291 @endif binutils
6295 .PHONY: configure-bison maybe-configure-bison
6296 maybe-configure-bison:
6297 @if gcc-bootstrap
6298 configure-bison: stage_current
6299 @endif gcc-bootstrap
6300 @if bison
6301 maybe-configure-bison: configure-bison
6302 configure-bison:
6303 @: $(MAKE); $(unstage)
6304 @r=`${PWD_COMMAND}`; export r; \
6305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6306 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6308 $(HOST_EXPORTS) \
6309 echo Configuring in $(HOST_SUBDIR)/bison; \
6310 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6311 case $(srcdir) in \
6312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6313 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6315 esac; \
6316 module_srcdir=bison; \
6317 $(SHELL) \
6318 $$s/$$module_srcdir/configure \
6319 --srcdir=$${topdir}/$$module_srcdir \
6320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6321 --target=${target_alias} \
6322 || exit 1
6323 @endif bison
6329 .PHONY: all-bison maybe-all-bison
6330 maybe-all-bison:
6331 @if gcc-bootstrap
6332 all-bison: stage_current
6333 @endif gcc-bootstrap
6334 @if bison
6335 TARGET-bison=all
6336 maybe-all-bison: all-bison
6337 all-bison: configure-bison
6338 @: $(MAKE); $(unstage)
6339 @r=`${PWD_COMMAND}`; export r; \
6340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6341 $(HOST_EXPORTS) \
6342 (cd $(HOST_SUBDIR)/bison && \
6343 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6344 $(TARGET-bison))
6345 @endif bison
6350 .PHONY: check-bison maybe-check-bison
6351 maybe-check-bison:
6352 @if bison
6353 maybe-check-bison: check-bison
6355 # This module is only tested in a native toolchain.
6356 check-bison:
6357 @: $(MAKE); $(unstage)
6358 @if [ '$(host)' = '$(target)' ]; then \
6359 r=`${PWD_COMMAND}`; export r; \
6360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6361 $(HOST_EXPORTS) \
6362 (cd $(HOST_SUBDIR)/bison && \
6363 $(MAKE) $(FLAGS_TO_PASS) check)
6366 @endif bison
6368 .PHONY: install-bison maybe-install-bison
6369 maybe-install-bison:
6370 @if bison
6371 maybe-install-bison: install-bison
6373 install-bison: installdirs
6374 @: $(MAKE); $(unstage)
6375 @r=`${PWD_COMMAND}`; export r; \
6376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6377 $(HOST_EXPORTS) \
6378 (cd $(HOST_SUBDIR)/bison && \
6379 $(MAKE) $(FLAGS_TO_PASS) install)
6381 @endif bison
6383 .PHONY: install-strip-bison maybe-install-strip-bison
6384 maybe-install-strip-bison:
6385 @if bison
6386 maybe-install-strip-bison: install-strip-bison
6388 install-strip-bison: installdirs
6389 @: $(MAKE); $(unstage)
6390 @r=`${PWD_COMMAND}`; export r; \
6391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6392 $(HOST_EXPORTS) \
6393 (cd $(HOST_SUBDIR)/bison && \
6394 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6396 @endif bison
6398 # Other targets (info, dvi, pdf, etc.)
6400 .PHONY: maybe-info-bison info-bison
6401 maybe-info-bison:
6402 @if bison
6403 maybe-info-bison: info-bison
6405 info-bison: \
6406 configure-bison
6407 @: $(MAKE); $(unstage)
6408 @[ -f ./bison/Makefile ] || exit 0; \
6409 r=`${PWD_COMMAND}`; export r; \
6410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6411 $(HOST_EXPORTS) \
6412 for flag in $(EXTRA_HOST_FLAGS) ; do \
6413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6414 done; \
6415 echo "Doing info in bison"; \
6416 (cd $(HOST_SUBDIR)/bison && \
6417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6419 "RANLIB=$${RANLIB}" \
6420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6421 info) \
6422 || exit 1
6424 @endif bison
6426 .PHONY: maybe-dvi-bison dvi-bison
6427 maybe-dvi-bison:
6428 @if bison
6429 maybe-dvi-bison: dvi-bison
6431 dvi-bison: \
6432 configure-bison
6433 @: $(MAKE); $(unstage)
6434 @[ -f ./bison/Makefile ] || exit 0; \
6435 r=`${PWD_COMMAND}`; export r; \
6436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6437 $(HOST_EXPORTS) \
6438 for flag in $(EXTRA_HOST_FLAGS) ; do \
6439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6440 done; \
6441 echo "Doing dvi in bison"; \
6442 (cd $(HOST_SUBDIR)/bison && \
6443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6445 "RANLIB=$${RANLIB}" \
6446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6447 dvi) \
6448 || exit 1
6450 @endif bison
6452 .PHONY: maybe-pdf-bison pdf-bison
6453 maybe-pdf-bison:
6454 @if bison
6455 maybe-pdf-bison: pdf-bison
6457 pdf-bison: \
6458 configure-bison
6459 @: $(MAKE); $(unstage)
6460 @[ -f ./bison/Makefile ] || exit 0; \
6461 r=`${PWD_COMMAND}`; export r; \
6462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6463 $(HOST_EXPORTS) \
6464 for flag in $(EXTRA_HOST_FLAGS) ; do \
6465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6466 done; \
6467 echo "Doing pdf in bison"; \
6468 (cd $(HOST_SUBDIR)/bison && \
6469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6471 "RANLIB=$${RANLIB}" \
6472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6473 pdf) \
6474 || exit 1
6476 @endif bison
6478 .PHONY: maybe-html-bison html-bison
6479 maybe-html-bison:
6480 @if bison
6481 maybe-html-bison: html-bison
6483 html-bison: \
6484 configure-bison
6485 @: $(MAKE); $(unstage)
6486 @[ -f ./bison/Makefile ] || exit 0; \
6487 r=`${PWD_COMMAND}`; export r; \
6488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6489 $(HOST_EXPORTS) \
6490 for flag in $(EXTRA_HOST_FLAGS) ; do \
6491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6492 done; \
6493 echo "Doing html in bison"; \
6494 (cd $(HOST_SUBDIR)/bison && \
6495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6497 "RANLIB=$${RANLIB}" \
6498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6499 html) \
6500 || exit 1
6502 @endif bison
6504 .PHONY: maybe-TAGS-bison TAGS-bison
6505 maybe-TAGS-bison:
6506 @if bison
6507 maybe-TAGS-bison: TAGS-bison
6509 TAGS-bison: \
6510 configure-bison
6511 @: $(MAKE); $(unstage)
6512 @[ -f ./bison/Makefile ] || exit 0; \
6513 r=`${PWD_COMMAND}`; export r; \
6514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6515 $(HOST_EXPORTS) \
6516 for flag in $(EXTRA_HOST_FLAGS) ; do \
6517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6518 done; \
6519 echo "Doing TAGS in bison"; \
6520 (cd $(HOST_SUBDIR)/bison && \
6521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6523 "RANLIB=$${RANLIB}" \
6524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6525 TAGS) \
6526 || exit 1
6528 @endif bison
6530 .PHONY: maybe-install-info-bison install-info-bison
6531 maybe-install-info-bison:
6532 @if bison
6533 maybe-install-info-bison: install-info-bison
6535 install-info-bison: \
6536 configure-bison \
6537 info-bison
6538 @: $(MAKE); $(unstage)
6539 @[ -f ./bison/Makefile ] || exit 0; \
6540 r=`${PWD_COMMAND}`; export r; \
6541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6542 $(HOST_EXPORTS) \
6543 for flag in $(EXTRA_HOST_FLAGS) ; do \
6544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6545 done; \
6546 echo "Doing install-info in bison"; \
6547 (cd $(HOST_SUBDIR)/bison && \
6548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6550 "RANLIB=$${RANLIB}" \
6551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6552 install-info) \
6553 || exit 1
6555 @endif bison
6557 .PHONY: maybe-install-pdf-bison install-pdf-bison
6558 maybe-install-pdf-bison:
6559 @if bison
6560 maybe-install-pdf-bison: install-pdf-bison
6562 install-pdf-bison: \
6563 configure-bison \
6564 pdf-bison
6565 @: $(MAKE); $(unstage)
6566 @[ -f ./bison/Makefile ] || exit 0; \
6567 r=`${PWD_COMMAND}`; export r; \
6568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6569 $(HOST_EXPORTS) \
6570 for flag in $(EXTRA_HOST_FLAGS) ; do \
6571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6572 done; \
6573 echo "Doing install-pdf in bison"; \
6574 (cd $(HOST_SUBDIR)/bison && \
6575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6577 "RANLIB=$${RANLIB}" \
6578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6579 install-pdf) \
6580 || exit 1
6582 @endif bison
6584 .PHONY: maybe-install-html-bison install-html-bison
6585 maybe-install-html-bison:
6586 @if bison
6587 maybe-install-html-bison: install-html-bison
6589 install-html-bison: \
6590 configure-bison \
6591 html-bison
6592 @: $(MAKE); $(unstage)
6593 @[ -f ./bison/Makefile ] || exit 0; \
6594 r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6596 $(HOST_EXPORTS) \
6597 for flag in $(EXTRA_HOST_FLAGS) ; do \
6598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6599 done; \
6600 echo "Doing install-html in bison"; \
6601 (cd $(HOST_SUBDIR)/bison && \
6602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6604 "RANLIB=$${RANLIB}" \
6605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6606 install-html) \
6607 || exit 1
6609 @endif bison
6611 .PHONY: maybe-installcheck-bison installcheck-bison
6612 maybe-installcheck-bison:
6613 @if bison
6614 maybe-installcheck-bison: installcheck-bison
6616 installcheck-bison: \
6617 configure-bison
6618 @: $(MAKE); $(unstage)
6619 @[ -f ./bison/Makefile ] || exit 0; \
6620 r=`${PWD_COMMAND}`; export r; \
6621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6622 $(HOST_EXPORTS) \
6623 for flag in $(EXTRA_HOST_FLAGS) ; do \
6624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6625 done; \
6626 echo "Doing installcheck in bison"; \
6627 (cd $(HOST_SUBDIR)/bison && \
6628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6630 "RANLIB=$${RANLIB}" \
6631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6632 installcheck) \
6633 || exit 1
6635 @endif bison
6637 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6638 maybe-mostlyclean-bison:
6639 @if bison
6640 maybe-mostlyclean-bison: mostlyclean-bison
6642 mostlyclean-bison:
6643 @: $(MAKE); $(unstage)
6644 @[ -f ./bison/Makefile ] || exit 0; \
6645 r=`${PWD_COMMAND}`; export r; \
6646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6647 $(HOST_EXPORTS) \
6648 for flag in $(EXTRA_HOST_FLAGS) ; do \
6649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6650 done; \
6651 echo "Doing mostlyclean in bison"; \
6652 (cd $(HOST_SUBDIR)/bison && \
6653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6655 "RANLIB=$${RANLIB}" \
6656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6657 mostlyclean) \
6658 || exit 1
6660 @endif bison
6662 .PHONY: maybe-clean-bison clean-bison
6663 maybe-clean-bison:
6664 @if bison
6665 maybe-clean-bison: clean-bison
6667 clean-bison:
6668 @: $(MAKE); $(unstage)
6669 @[ -f ./bison/Makefile ] || exit 0; \
6670 r=`${PWD_COMMAND}`; export r; \
6671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6672 $(HOST_EXPORTS) \
6673 for flag in $(EXTRA_HOST_FLAGS) ; do \
6674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6675 done; \
6676 echo "Doing clean in bison"; \
6677 (cd $(HOST_SUBDIR)/bison && \
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}" \
6682 clean) \
6683 || exit 1
6685 @endif bison
6687 .PHONY: maybe-distclean-bison distclean-bison
6688 maybe-distclean-bison:
6689 @if bison
6690 maybe-distclean-bison: distclean-bison
6692 distclean-bison:
6693 @: $(MAKE); $(unstage)
6694 @[ -f ./bison/Makefile ] || exit 0; \
6695 r=`${PWD_COMMAND}`; export r; \
6696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6697 $(HOST_EXPORTS) \
6698 for flag in $(EXTRA_HOST_FLAGS) ; do \
6699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6700 done; \
6701 echo "Doing distclean in bison"; \
6702 (cd $(HOST_SUBDIR)/bison && \
6703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6705 "RANLIB=$${RANLIB}" \
6706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6707 distclean) \
6708 || exit 1
6710 @endif bison
6712 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6713 maybe-maintainer-clean-bison:
6714 @if bison
6715 maybe-maintainer-clean-bison: maintainer-clean-bison
6717 maintainer-clean-bison:
6718 @: $(MAKE); $(unstage)
6719 @[ -f ./bison/Makefile ] || exit 0; \
6720 r=`${PWD_COMMAND}`; export r; \
6721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6722 $(HOST_EXPORTS) \
6723 for flag in $(EXTRA_HOST_FLAGS) ; do \
6724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6725 done; \
6726 echo "Doing maintainer-clean in bison"; \
6727 (cd $(HOST_SUBDIR)/bison && \
6728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6730 "RANLIB=$${RANLIB}" \
6731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6732 maintainer-clean) \
6733 || exit 1
6735 @endif bison
6739 .PHONY: configure-cgen maybe-configure-cgen
6740 maybe-configure-cgen:
6741 @if gcc-bootstrap
6742 configure-cgen: stage_current
6743 @endif gcc-bootstrap
6744 @if cgen
6745 maybe-configure-cgen: configure-cgen
6746 configure-cgen:
6747 @: $(MAKE); $(unstage)
6748 @r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6750 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6752 $(HOST_EXPORTS) \
6753 echo Configuring in $(HOST_SUBDIR)/cgen; \
6754 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6755 case $(srcdir) in \
6756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6757 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6759 esac; \
6760 module_srcdir=cgen; \
6761 $(SHELL) \
6762 $$s/$$module_srcdir/configure \
6763 --srcdir=$${topdir}/$$module_srcdir \
6764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6765 --target=${target_alias} \
6766 || exit 1
6767 @endif cgen
6773 .PHONY: all-cgen maybe-all-cgen
6774 maybe-all-cgen:
6775 @if gcc-bootstrap
6776 all-cgen: stage_current
6777 @endif gcc-bootstrap
6778 @if cgen
6779 TARGET-cgen=all
6780 maybe-all-cgen: all-cgen
6781 all-cgen: configure-cgen
6782 @: $(MAKE); $(unstage)
6783 @r=`${PWD_COMMAND}`; export r; \
6784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6785 $(HOST_EXPORTS) \
6786 (cd $(HOST_SUBDIR)/cgen && \
6787 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6788 $(TARGET-cgen))
6789 @endif cgen
6794 .PHONY: check-cgen maybe-check-cgen
6795 maybe-check-cgen:
6796 @if cgen
6797 maybe-check-cgen: check-cgen
6799 check-cgen:
6800 @: $(MAKE); $(unstage)
6801 @r=`${PWD_COMMAND}`; export r; \
6802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6803 $(HOST_EXPORTS) \
6804 (cd $(HOST_SUBDIR)/cgen && \
6805 $(MAKE) $(FLAGS_TO_PASS) check)
6807 @endif cgen
6809 .PHONY: install-cgen maybe-install-cgen
6810 maybe-install-cgen:
6811 @if cgen
6812 maybe-install-cgen: install-cgen
6814 install-cgen: installdirs
6815 @: $(MAKE); $(unstage)
6816 @r=`${PWD_COMMAND}`; export r; \
6817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6818 $(HOST_EXPORTS) \
6819 (cd $(HOST_SUBDIR)/cgen && \
6820 $(MAKE) $(FLAGS_TO_PASS) install)
6822 @endif cgen
6824 .PHONY: install-strip-cgen maybe-install-strip-cgen
6825 maybe-install-strip-cgen:
6826 @if cgen
6827 maybe-install-strip-cgen: install-strip-cgen
6829 install-strip-cgen: installdirs
6830 @: $(MAKE); $(unstage)
6831 @r=`${PWD_COMMAND}`; export r; \
6832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6833 $(HOST_EXPORTS) \
6834 (cd $(HOST_SUBDIR)/cgen && \
6835 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6837 @endif cgen
6839 # Other targets (info, dvi, pdf, etc.)
6841 .PHONY: maybe-info-cgen info-cgen
6842 maybe-info-cgen:
6843 @if cgen
6844 maybe-info-cgen: info-cgen
6846 info-cgen: \
6847 configure-cgen
6848 @: $(MAKE); $(unstage)
6849 @[ -f ./cgen/Makefile ] || exit 0; \
6850 r=`${PWD_COMMAND}`; export r; \
6851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6852 $(HOST_EXPORTS) \
6853 for flag in $(EXTRA_HOST_FLAGS) ; do \
6854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6855 done; \
6856 echo "Doing info in cgen"; \
6857 (cd $(HOST_SUBDIR)/cgen && \
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}" \
6862 info) \
6863 || exit 1
6865 @endif cgen
6867 .PHONY: maybe-dvi-cgen dvi-cgen
6868 maybe-dvi-cgen:
6869 @if cgen
6870 maybe-dvi-cgen: dvi-cgen
6872 dvi-cgen: \
6873 configure-cgen
6874 @: $(MAKE); $(unstage)
6875 @[ -f ./cgen/Makefile ] || exit 0; \
6876 r=`${PWD_COMMAND}`; export r; \
6877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6878 $(HOST_EXPORTS) \
6879 for flag in $(EXTRA_HOST_FLAGS) ; do \
6880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6881 done; \
6882 echo "Doing dvi in cgen"; \
6883 (cd $(HOST_SUBDIR)/cgen && \
6884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6886 "RANLIB=$${RANLIB}" \
6887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6888 dvi) \
6889 || exit 1
6891 @endif cgen
6893 .PHONY: maybe-pdf-cgen pdf-cgen
6894 maybe-pdf-cgen:
6895 @if cgen
6896 maybe-pdf-cgen: pdf-cgen
6898 pdf-cgen: \
6899 configure-cgen
6900 @: $(MAKE); $(unstage)
6901 @[ -f ./cgen/Makefile ] || exit 0; \
6902 r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6904 $(HOST_EXPORTS) \
6905 for flag in $(EXTRA_HOST_FLAGS) ; do \
6906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6907 done; \
6908 echo "Doing pdf in cgen"; \
6909 (cd $(HOST_SUBDIR)/cgen && \
6910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6912 "RANLIB=$${RANLIB}" \
6913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6914 pdf) \
6915 || exit 1
6917 @endif cgen
6919 .PHONY: maybe-html-cgen html-cgen
6920 maybe-html-cgen:
6921 @if cgen
6922 maybe-html-cgen: html-cgen
6924 html-cgen: \
6925 configure-cgen
6926 @: $(MAKE); $(unstage)
6927 @[ -f ./cgen/Makefile ] || exit 0; \
6928 r=`${PWD_COMMAND}`; export r; \
6929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6930 $(HOST_EXPORTS) \
6931 for flag in $(EXTRA_HOST_FLAGS) ; do \
6932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6933 done; \
6934 echo "Doing html in cgen"; \
6935 (cd $(HOST_SUBDIR)/cgen && \
6936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6938 "RANLIB=$${RANLIB}" \
6939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6940 html) \
6941 || exit 1
6943 @endif cgen
6945 .PHONY: maybe-TAGS-cgen TAGS-cgen
6946 maybe-TAGS-cgen:
6947 @if cgen
6948 maybe-TAGS-cgen: TAGS-cgen
6950 TAGS-cgen: \
6951 configure-cgen
6952 @: $(MAKE); $(unstage)
6953 @[ -f ./cgen/Makefile ] || exit 0; \
6954 r=`${PWD_COMMAND}`; export r; \
6955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6956 $(HOST_EXPORTS) \
6957 for flag in $(EXTRA_HOST_FLAGS) ; do \
6958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6959 done; \
6960 echo "Doing TAGS in cgen"; \
6961 (cd $(HOST_SUBDIR)/cgen && \
6962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6964 "RANLIB=$${RANLIB}" \
6965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6966 TAGS) \
6967 || exit 1
6969 @endif cgen
6971 .PHONY: maybe-install-info-cgen install-info-cgen
6972 maybe-install-info-cgen:
6973 @if cgen
6974 maybe-install-info-cgen: install-info-cgen
6976 install-info-cgen: \
6977 configure-cgen \
6978 info-cgen
6979 @: $(MAKE); $(unstage)
6980 @[ -f ./cgen/Makefile ] || exit 0; \
6981 r=`${PWD_COMMAND}`; export r; \
6982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6983 $(HOST_EXPORTS) \
6984 for flag in $(EXTRA_HOST_FLAGS) ; do \
6985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6986 done; \
6987 echo "Doing install-info in cgen"; \
6988 (cd $(HOST_SUBDIR)/cgen && \
6989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6991 "RANLIB=$${RANLIB}" \
6992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6993 install-info) \
6994 || exit 1
6996 @endif cgen
6998 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6999 maybe-install-pdf-cgen:
7000 @if cgen
7001 maybe-install-pdf-cgen: install-pdf-cgen
7003 install-pdf-cgen: \
7004 configure-cgen \
7005 pdf-cgen
7006 @: $(MAKE); $(unstage)
7007 @[ -f ./cgen/Makefile ] || exit 0; \
7008 r=`${PWD_COMMAND}`; export r; \
7009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7010 $(HOST_EXPORTS) \
7011 for flag in $(EXTRA_HOST_FLAGS) ; do \
7012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7013 done; \
7014 echo "Doing install-pdf in cgen"; \
7015 (cd $(HOST_SUBDIR)/cgen && \
7016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7018 "RANLIB=$${RANLIB}" \
7019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7020 install-pdf) \
7021 || exit 1
7023 @endif cgen
7025 .PHONY: maybe-install-html-cgen install-html-cgen
7026 maybe-install-html-cgen:
7027 @if cgen
7028 maybe-install-html-cgen: install-html-cgen
7030 install-html-cgen: \
7031 configure-cgen \
7032 html-cgen
7033 @: $(MAKE); $(unstage)
7034 @[ -f ./cgen/Makefile ] || exit 0; \
7035 r=`${PWD_COMMAND}`; export r; \
7036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7037 $(HOST_EXPORTS) \
7038 for flag in $(EXTRA_HOST_FLAGS) ; do \
7039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7040 done; \
7041 echo "Doing install-html in cgen"; \
7042 (cd $(HOST_SUBDIR)/cgen && \
7043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7045 "RANLIB=$${RANLIB}" \
7046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7047 install-html) \
7048 || exit 1
7050 @endif cgen
7052 .PHONY: maybe-installcheck-cgen installcheck-cgen
7053 maybe-installcheck-cgen:
7054 @if cgen
7055 maybe-installcheck-cgen: installcheck-cgen
7057 installcheck-cgen: \
7058 configure-cgen
7059 @: $(MAKE); $(unstage)
7060 @[ -f ./cgen/Makefile ] || exit 0; \
7061 r=`${PWD_COMMAND}`; export r; \
7062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7063 $(HOST_EXPORTS) \
7064 for flag in $(EXTRA_HOST_FLAGS) ; do \
7065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7066 done; \
7067 echo "Doing installcheck in cgen"; \
7068 (cd $(HOST_SUBDIR)/cgen && \
7069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7071 "RANLIB=$${RANLIB}" \
7072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7073 installcheck) \
7074 || exit 1
7076 @endif cgen
7078 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7079 maybe-mostlyclean-cgen:
7080 @if cgen
7081 maybe-mostlyclean-cgen: mostlyclean-cgen
7083 mostlyclean-cgen:
7084 @: $(MAKE); $(unstage)
7085 @[ -f ./cgen/Makefile ] || exit 0; \
7086 r=`${PWD_COMMAND}`; export r; \
7087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7088 $(HOST_EXPORTS) \
7089 for flag in $(EXTRA_HOST_FLAGS) ; do \
7090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7091 done; \
7092 echo "Doing mostlyclean in cgen"; \
7093 (cd $(HOST_SUBDIR)/cgen && \
7094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7096 "RANLIB=$${RANLIB}" \
7097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7098 mostlyclean) \
7099 || exit 1
7101 @endif cgen
7103 .PHONY: maybe-clean-cgen clean-cgen
7104 maybe-clean-cgen:
7105 @if cgen
7106 maybe-clean-cgen: clean-cgen
7108 clean-cgen:
7109 @: $(MAKE); $(unstage)
7110 @[ -f ./cgen/Makefile ] || exit 0; \
7111 r=`${PWD_COMMAND}`; export r; \
7112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7113 $(HOST_EXPORTS) \
7114 for flag in $(EXTRA_HOST_FLAGS) ; do \
7115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7116 done; \
7117 echo "Doing clean in cgen"; \
7118 (cd $(HOST_SUBDIR)/cgen && \
7119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7121 "RANLIB=$${RANLIB}" \
7122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7123 clean) \
7124 || exit 1
7126 @endif cgen
7128 .PHONY: maybe-distclean-cgen distclean-cgen
7129 maybe-distclean-cgen:
7130 @if cgen
7131 maybe-distclean-cgen: distclean-cgen
7133 distclean-cgen:
7134 @: $(MAKE); $(unstage)
7135 @[ -f ./cgen/Makefile ] || exit 0; \
7136 r=`${PWD_COMMAND}`; export r; \
7137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7138 $(HOST_EXPORTS) \
7139 for flag in $(EXTRA_HOST_FLAGS) ; do \
7140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7141 done; \
7142 echo "Doing distclean in cgen"; \
7143 (cd $(HOST_SUBDIR)/cgen && \
7144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7146 "RANLIB=$${RANLIB}" \
7147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7148 distclean) \
7149 || exit 1
7151 @endif cgen
7153 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7154 maybe-maintainer-clean-cgen:
7155 @if cgen
7156 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7158 maintainer-clean-cgen:
7159 @: $(MAKE); $(unstage)
7160 @[ -f ./cgen/Makefile ] || exit 0; \
7161 r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7163 $(HOST_EXPORTS) \
7164 for flag in $(EXTRA_HOST_FLAGS) ; do \
7165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7166 done; \
7167 echo "Doing maintainer-clean in cgen"; \
7168 (cd $(HOST_SUBDIR)/cgen && \
7169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7171 "RANLIB=$${RANLIB}" \
7172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7173 maintainer-clean) \
7174 || exit 1
7176 @endif cgen
7180 .PHONY: configure-dejagnu maybe-configure-dejagnu
7181 maybe-configure-dejagnu:
7182 @if gcc-bootstrap
7183 configure-dejagnu: stage_current
7184 @endif gcc-bootstrap
7185 @if dejagnu
7186 maybe-configure-dejagnu: configure-dejagnu
7187 configure-dejagnu:
7188 @: $(MAKE); $(unstage)
7189 @r=`${PWD_COMMAND}`; export r; \
7190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7191 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7193 $(HOST_EXPORTS) \
7194 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7195 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7196 case $(srcdir) in \
7197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7198 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7200 esac; \
7201 module_srcdir=dejagnu; \
7202 $(SHELL) \
7203 $$s/$$module_srcdir/configure \
7204 --srcdir=$${topdir}/$$module_srcdir \
7205 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7206 --target=${target_alias} \
7207 || exit 1
7208 @endif dejagnu
7214 .PHONY: all-dejagnu maybe-all-dejagnu
7215 maybe-all-dejagnu:
7216 @if gcc-bootstrap
7217 all-dejagnu: stage_current
7218 @endif gcc-bootstrap
7219 @if dejagnu
7220 TARGET-dejagnu=all
7221 maybe-all-dejagnu: all-dejagnu
7222 all-dejagnu: configure-dejagnu
7223 @: $(MAKE); $(unstage)
7224 @r=`${PWD_COMMAND}`; export r; \
7225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7226 $(HOST_EXPORTS) \
7227 (cd $(HOST_SUBDIR)/dejagnu && \
7228 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7229 $(TARGET-dejagnu))
7230 @endif dejagnu
7235 .PHONY: check-dejagnu maybe-check-dejagnu
7236 maybe-check-dejagnu:
7237 @if dejagnu
7238 maybe-check-dejagnu: check-dejagnu
7240 check-dejagnu:
7241 @: $(MAKE); $(unstage)
7242 @r=`${PWD_COMMAND}`; export r; \
7243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7244 $(HOST_EXPORTS) \
7245 (cd $(HOST_SUBDIR)/dejagnu && \
7246 $(MAKE) $(FLAGS_TO_PASS) check)
7248 @endif dejagnu
7250 .PHONY: install-dejagnu maybe-install-dejagnu
7251 maybe-install-dejagnu:
7252 @if dejagnu
7253 maybe-install-dejagnu: install-dejagnu
7255 install-dejagnu: installdirs
7256 @: $(MAKE); $(unstage)
7257 @r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 (cd $(HOST_SUBDIR)/dejagnu && \
7261 $(MAKE) $(FLAGS_TO_PASS) install)
7263 @endif dejagnu
7265 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7266 maybe-install-strip-dejagnu:
7267 @if dejagnu
7268 maybe-install-strip-dejagnu: install-strip-dejagnu
7270 install-strip-dejagnu: installdirs
7271 @: $(MAKE); $(unstage)
7272 @r=`${PWD_COMMAND}`; export r; \
7273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7274 $(HOST_EXPORTS) \
7275 (cd $(HOST_SUBDIR)/dejagnu && \
7276 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7278 @endif dejagnu
7280 # Other targets (info, dvi, pdf, etc.)
7282 .PHONY: maybe-info-dejagnu info-dejagnu
7283 maybe-info-dejagnu:
7284 @if dejagnu
7285 maybe-info-dejagnu: info-dejagnu
7287 info-dejagnu: \
7288 configure-dejagnu
7289 @: $(MAKE); $(unstage)
7290 @[ -f ./dejagnu/Makefile ] || exit 0; \
7291 r=`${PWD_COMMAND}`; export r; \
7292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7293 $(HOST_EXPORTS) \
7294 for flag in $(EXTRA_HOST_FLAGS) ; do \
7295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7296 done; \
7297 echo "Doing info in dejagnu"; \
7298 (cd $(HOST_SUBDIR)/dejagnu && \
7299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7301 "RANLIB=$${RANLIB}" \
7302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7303 info) \
7304 || exit 1
7306 @endif dejagnu
7308 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7309 maybe-dvi-dejagnu:
7310 @if dejagnu
7311 maybe-dvi-dejagnu: dvi-dejagnu
7313 dvi-dejagnu: \
7314 configure-dejagnu
7315 @: $(MAKE); $(unstage)
7316 @[ -f ./dejagnu/Makefile ] || exit 0; \
7317 r=`${PWD_COMMAND}`; export r; \
7318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7319 $(HOST_EXPORTS) \
7320 for flag in $(EXTRA_HOST_FLAGS) ; do \
7321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7322 done; \
7323 echo "Doing dvi in dejagnu"; \
7324 (cd $(HOST_SUBDIR)/dejagnu && \
7325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7327 "RANLIB=$${RANLIB}" \
7328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7329 dvi) \
7330 || exit 1
7332 @endif dejagnu
7334 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7335 maybe-pdf-dejagnu:
7336 @if dejagnu
7337 maybe-pdf-dejagnu: pdf-dejagnu
7339 pdf-dejagnu: \
7340 configure-dejagnu
7341 @: $(MAKE); $(unstage)
7342 @[ -f ./dejagnu/Makefile ] || exit 0; \
7343 r=`${PWD_COMMAND}`; export r; \
7344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7345 $(HOST_EXPORTS) \
7346 for flag in $(EXTRA_HOST_FLAGS) ; do \
7347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7348 done; \
7349 echo "Doing pdf in dejagnu"; \
7350 (cd $(HOST_SUBDIR)/dejagnu && \
7351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7353 "RANLIB=$${RANLIB}" \
7354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7355 pdf) \
7356 || exit 1
7358 @endif dejagnu
7360 .PHONY: maybe-html-dejagnu html-dejagnu
7361 maybe-html-dejagnu:
7362 @if dejagnu
7363 maybe-html-dejagnu: html-dejagnu
7365 html-dejagnu: \
7366 configure-dejagnu
7367 @: $(MAKE); $(unstage)
7368 @[ -f ./dejagnu/Makefile ] || exit 0; \
7369 r=`${PWD_COMMAND}`; export r; \
7370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7371 $(HOST_EXPORTS) \
7372 for flag in $(EXTRA_HOST_FLAGS) ; do \
7373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7374 done; \
7375 echo "Doing html in dejagnu"; \
7376 (cd $(HOST_SUBDIR)/dejagnu && \
7377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7379 "RANLIB=$${RANLIB}" \
7380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7381 html) \
7382 || exit 1
7384 @endif dejagnu
7386 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7387 maybe-TAGS-dejagnu:
7388 @if dejagnu
7389 maybe-TAGS-dejagnu: TAGS-dejagnu
7391 TAGS-dejagnu: \
7392 configure-dejagnu
7393 @: $(MAKE); $(unstage)
7394 @[ -f ./dejagnu/Makefile ] || exit 0; \
7395 r=`${PWD_COMMAND}`; export r; \
7396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7397 $(HOST_EXPORTS) \
7398 for flag in $(EXTRA_HOST_FLAGS) ; do \
7399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7400 done; \
7401 echo "Doing TAGS in dejagnu"; \
7402 (cd $(HOST_SUBDIR)/dejagnu && \
7403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7405 "RANLIB=$${RANLIB}" \
7406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7407 TAGS) \
7408 || exit 1
7410 @endif dejagnu
7412 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7413 maybe-install-info-dejagnu:
7414 @if dejagnu
7415 maybe-install-info-dejagnu: install-info-dejagnu
7417 install-info-dejagnu: \
7418 configure-dejagnu \
7419 info-dejagnu
7420 @: $(MAKE); $(unstage)
7421 @[ -f ./dejagnu/Makefile ] || exit 0; \
7422 r=`${PWD_COMMAND}`; export r; \
7423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7424 $(HOST_EXPORTS) \
7425 for flag in $(EXTRA_HOST_FLAGS) ; do \
7426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7427 done; \
7428 echo "Doing install-info in dejagnu"; \
7429 (cd $(HOST_SUBDIR)/dejagnu && \
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}" \
7434 install-info) \
7435 || exit 1
7437 @endif dejagnu
7439 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7440 maybe-install-pdf-dejagnu:
7441 @if dejagnu
7442 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7444 install-pdf-dejagnu: \
7445 configure-dejagnu \
7446 pdf-dejagnu
7447 @: $(MAKE); $(unstage)
7448 @[ -f ./dejagnu/Makefile ] || exit 0; \
7449 r=`${PWD_COMMAND}`; export r; \
7450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7451 $(HOST_EXPORTS) \
7452 for flag in $(EXTRA_HOST_FLAGS) ; do \
7453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7454 done; \
7455 echo "Doing install-pdf in dejagnu"; \
7456 (cd $(HOST_SUBDIR)/dejagnu && \
7457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7459 "RANLIB=$${RANLIB}" \
7460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7461 install-pdf) \
7462 || exit 1
7464 @endif dejagnu
7466 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7467 maybe-install-html-dejagnu:
7468 @if dejagnu
7469 maybe-install-html-dejagnu: install-html-dejagnu
7471 install-html-dejagnu: \
7472 configure-dejagnu \
7473 html-dejagnu
7474 @: $(MAKE); $(unstage)
7475 @[ -f ./dejagnu/Makefile ] || exit 0; \
7476 r=`${PWD_COMMAND}`; export r; \
7477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7478 $(HOST_EXPORTS) \
7479 for flag in $(EXTRA_HOST_FLAGS) ; do \
7480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7481 done; \
7482 echo "Doing install-html in dejagnu"; \
7483 (cd $(HOST_SUBDIR)/dejagnu && \
7484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7486 "RANLIB=$${RANLIB}" \
7487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7488 install-html) \
7489 || exit 1
7491 @endif dejagnu
7493 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7494 maybe-installcheck-dejagnu:
7495 @if dejagnu
7496 maybe-installcheck-dejagnu: installcheck-dejagnu
7498 installcheck-dejagnu: \
7499 configure-dejagnu
7500 @: $(MAKE); $(unstage)
7501 @[ -f ./dejagnu/Makefile ] || exit 0; \
7502 r=`${PWD_COMMAND}`; export r; \
7503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7504 $(HOST_EXPORTS) \
7505 for flag in $(EXTRA_HOST_FLAGS) ; do \
7506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7507 done; \
7508 echo "Doing installcheck in dejagnu"; \
7509 (cd $(HOST_SUBDIR)/dejagnu && \
7510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7512 "RANLIB=$${RANLIB}" \
7513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7514 installcheck) \
7515 || exit 1
7517 @endif dejagnu
7519 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7520 maybe-mostlyclean-dejagnu:
7521 @if dejagnu
7522 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7524 mostlyclean-dejagnu:
7525 @: $(MAKE); $(unstage)
7526 @[ -f ./dejagnu/Makefile ] || exit 0; \
7527 r=`${PWD_COMMAND}`; export r; \
7528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7529 $(HOST_EXPORTS) \
7530 for flag in $(EXTRA_HOST_FLAGS) ; do \
7531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7532 done; \
7533 echo "Doing mostlyclean in dejagnu"; \
7534 (cd $(HOST_SUBDIR)/dejagnu && \
7535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7537 "RANLIB=$${RANLIB}" \
7538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7539 mostlyclean) \
7540 || exit 1
7542 @endif dejagnu
7544 .PHONY: maybe-clean-dejagnu clean-dejagnu
7545 maybe-clean-dejagnu:
7546 @if dejagnu
7547 maybe-clean-dejagnu: clean-dejagnu
7549 clean-dejagnu:
7550 @: $(MAKE); $(unstage)
7551 @[ -f ./dejagnu/Makefile ] || exit 0; \
7552 r=`${PWD_COMMAND}`; export r; \
7553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7554 $(HOST_EXPORTS) \
7555 for flag in $(EXTRA_HOST_FLAGS) ; do \
7556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7557 done; \
7558 echo "Doing clean in dejagnu"; \
7559 (cd $(HOST_SUBDIR)/dejagnu && \
7560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7562 "RANLIB=$${RANLIB}" \
7563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7564 clean) \
7565 || exit 1
7567 @endif dejagnu
7569 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7570 maybe-distclean-dejagnu:
7571 @if dejagnu
7572 maybe-distclean-dejagnu: distclean-dejagnu
7574 distclean-dejagnu:
7575 @: $(MAKE); $(unstage)
7576 @[ -f ./dejagnu/Makefile ] || exit 0; \
7577 r=`${PWD_COMMAND}`; export r; \
7578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7579 $(HOST_EXPORTS) \
7580 for flag in $(EXTRA_HOST_FLAGS) ; do \
7581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7582 done; \
7583 echo "Doing distclean in dejagnu"; \
7584 (cd $(HOST_SUBDIR)/dejagnu && \
7585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7587 "RANLIB=$${RANLIB}" \
7588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7589 distclean) \
7590 || exit 1
7592 @endif dejagnu
7594 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7595 maybe-maintainer-clean-dejagnu:
7596 @if dejagnu
7597 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7599 maintainer-clean-dejagnu:
7600 @: $(MAKE); $(unstage)
7601 @[ -f ./dejagnu/Makefile ] || exit 0; \
7602 r=`${PWD_COMMAND}`; export r; \
7603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7604 $(HOST_EXPORTS) \
7605 for flag in $(EXTRA_HOST_FLAGS) ; do \
7606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7607 done; \
7608 echo "Doing maintainer-clean in dejagnu"; \
7609 (cd $(HOST_SUBDIR)/dejagnu && \
7610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7612 "RANLIB=$${RANLIB}" \
7613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7614 maintainer-clean) \
7615 || exit 1
7617 @endif dejagnu
7621 .PHONY: configure-etc maybe-configure-etc
7622 maybe-configure-etc:
7623 @if gcc-bootstrap
7624 configure-etc: stage_current
7625 @endif gcc-bootstrap
7626 @if etc
7627 maybe-configure-etc: configure-etc
7628 configure-etc:
7629 @: $(MAKE); $(unstage)
7630 @r=`${PWD_COMMAND}`; export r; \
7631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7632 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7634 $(HOST_EXPORTS) \
7635 echo Configuring in $(HOST_SUBDIR)/etc; \
7636 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7637 case $(srcdir) in \
7638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7639 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7641 esac; \
7642 module_srcdir=etc; \
7643 $(SHELL) \
7644 $$s/$$module_srcdir/configure \
7645 --srcdir=$${topdir}/$$module_srcdir \
7646 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7647 --target=${target_alias} \
7648 || exit 1
7649 @endif etc
7655 .PHONY: all-etc maybe-all-etc
7656 maybe-all-etc:
7657 @if gcc-bootstrap
7658 all-etc: stage_current
7659 @endif gcc-bootstrap
7660 @if etc
7661 TARGET-etc=all
7662 maybe-all-etc: all-etc
7663 all-etc: configure-etc
7664 @: $(MAKE); $(unstage)
7665 @r=`${PWD_COMMAND}`; export r; \
7666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7667 $(HOST_EXPORTS) \
7668 (cd $(HOST_SUBDIR)/etc && \
7669 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7670 $(TARGET-etc))
7671 @endif etc
7676 .PHONY: check-etc maybe-check-etc
7677 maybe-check-etc:
7678 @if etc
7679 maybe-check-etc: check-etc
7681 check-etc:
7682 @: $(MAKE); $(unstage)
7683 @r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 $(HOST_EXPORTS) \
7686 (cd $(HOST_SUBDIR)/etc && \
7687 $(MAKE) $(FLAGS_TO_PASS) check)
7689 @endif etc
7691 .PHONY: install-etc maybe-install-etc
7692 maybe-install-etc:
7693 @if etc
7694 maybe-install-etc: install-etc
7696 install-etc: installdirs
7697 @: $(MAKE); $(unstage)
7698 @r=`${PWD_COMMAND}`; export r; \
7699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7700 $(HOST_EXPORTS) \
7701 (cd $(HOST_SUBDIR)/etc && \
7702 $(MAKE) $(FLAGS_TO_PASS) install)
7704 @endif etc
7706 .PHONY: install-strip-etc maybe-install-strip-etc
7707 maybe-install-strip-etc:
7708 @if etc
7709 maybe-install-strip-etc: install-strip-etc
7711 install-strip-etc: installdirs
7712 @: $(MAKE); $(unstage)
7713 @r=`${PWD_COMMAND}`; export r; \
7714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7715 $(HOST_EXPORTS) \
7716 (cd $(HOST_SUBDIR)/etc && \
7717 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7719 @endif etc
7721 # Other targets (info, dvi, pdf, etc.)
7723 .PHONY: maybe-info-etc info-etc
7724 maybe-info-etc:
7725 @if etc
7726 maybe-info-etc: info-etc
7728 info-etc: \
7729 configure-etc
7730 @: $(MAKE); $(unstage)
7731 @[ -f ./etc/Makefile ] || exit 0; \
7732 r=`${PWD_COMMAND}`; export r; \
7733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7734 $(HOST_EXPORTS) \
7735 for flag in $(EXTRA_HOST_FLAGS) ; do \
7736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7737 done; \
7738 echo "Doing info in etc"; \
7739 (cd $(HOST_SUBDIR)/etc && \
7740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7742 "RANLIB=$${RANLIB}" \
7743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7744 info) \
7745 || exit 1
7747 @endif etc
7749 .PHONY: maybe-dvi-etc dvi-etc
7750 maybe-dvi-etc:
7751 @if etc
7752 maybe-dvi-etc: dvi-etc
7754 dvi-etc: \
7755 configure-etc
7756 @: $(MAKE); $(unstage)
7757 @[ -f ./etc/Makefile ] || exit 0; \
7758 r=`${PWD_COMMAND}`; export r; \
7759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7760 $(HOST_EXPORTS) \
7761 for flag in $(EXTRA_HOST_FLAGS) ; do \
7762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7763 done; \
7764 echo "Doing dvi in etc"; \
7765 (cd $(HOST_SUBDIR)/etc && \
7766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7768 "RANLIB=$${RANLIB}" \
7769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7770 dvi) \
7771 || exit 1
7773 @endif etc
7775 .PHONY: maybe-pdf-etc pdf-etc
7776 maybe-pdf-etc:
7777 @if etc
7778 maybe-pdf-etc: pdf-etc
7780 pdf-etc: \
7781 configure-etc
7782 @: $(MAKE); $(unstage)
7783 @[ -f ./etc/Makefile ] || exit 0; \
7784 r=`${PWD_COMMAND}`; export r; \
7785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7786 $(HOST_EXPORTS) \
7787 for flag in $(EXTRA_HOST_FLAGS) ; do \
7788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7789 done; \
7790 echo "Doing pdf in etc"; \
7791 (cd $(HOST_SUBDIR)/etc && \
7792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7794 "RANLIB=$${RANLIB}" \
7795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7796 pdf) \
7797 || exit 1
7799 @endif etc
7801 .PHONY: maybe-html-etc html-etc
7802 maybe-html-etc:
7803 @if etc
7804 maybe-html-etc: html-etc
7806 html-etc: \
7807 configure-etc
7808 @: $(MAKE); $(unstage)
7809 @[ -f ./etc/Makefile ] || exit 0; \
7810 r=`${PWD_COMMAND}`; export r; \
7811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7812 $(HOST_EXPORTS) \
7813 for flag in $(EXTRA_HOST_FLAGS) ; do \
7814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7815 done; \
7816 echo "Doing html in etc"; \
7817 (cd $(HOST_SUBDIR)/etc && \
7818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7820 "RANLIB=$${RANLIB}" \
7821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7822 html) \
7823 || exit 1
7825 @endif etc
7827 .PHONY: maybe-TAGS-etc TAGS-etc
7828 maybe-TAGS-etc:
7829 @if etc
7830 maybe-TAGS-etc: TAGS-etc
7832 TAGS-etc: \
7833 configure-etc
7834 @: $(MAKE); $(unstage)
7835 @[ -f ./etc/Makefile ] || exit 0; \
7836 r=`${PWD_COMMAND}`; export r; \
7837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7838 $(HOST_EXPORTS) \
7839 for flag in $(EXTRA_HOST_FLAGS) ; do \
7840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7841 done; \
7842 echo "Doing TAGS in etc"; \
7843 (cd $(HOST_SUBDIR)/etc && \
7844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7846 "RANLIB=$${RANLIB}" \
7847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7848 TAGS) \
7849 || exit 1
7851 @endif etc
7853 .PHONY: maybe-install-info-etc install-info-etc
7854 maybe-install-info-etc:
7855 @if etc
7856 maybe-install-info-etc: install-info-etc
7858 install-info-etc: \
7859 configure-etc \
7860 info-etc
7861 @: $(MAKE); $(unstage)
7862 @[ -f ./etc/Makefile ] || exit 0; \
7863 r=`${PWD_COMMAND}`; export r; \
7864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7865 $(HOST_EXPORTS) \
7866 for flag in $(EXTRA_HOST_FLAGS) ; do \
7867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7868 done; \
7869 echo "Doing install-info in etc"; \
7870 (cd $(HOST_SUBDIR)/etc && \
7871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7873 "RANLIB=$${RANLIB}" \
7874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7875 install-info) \
7876 || exit 1
7878 @endif etc
7880 .PHONY: maybe-install-pdf-etc install-pdf-etc
7881 maybe-install-pdf-etc:
7882 @if etc
7883 maybe-install-pdf-etc: install-pdf-etc
7885 install-pdf-etc: \
7886 configure-etc \
7887 pdf-etc
7888 @: $(MAKE); $(unstage)
7889 @[ -f ./etc/Makefile ] || exit 0; \
7890 r=`${PWD_COMMAND}`; export r; \
7891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7892 $(HOST_EXPORTS) \
7893 for flag in $(EXTRA_HOST_FLAGS) ; do \
7894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7895 done; \
7896 echo "Doing install-pdf in etc"; \
7897 (cd $(HOST_SUBDIR)/etc && \
7898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7900 "RANLIB=$${RANLIB}" \
7901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7902 install-pdf) \
7903 || exit 1
7905 @endif etc
7907 .PHONY: maybe-install-html-etc install-html-etc
7908 maybe-install-html-etc:
7909 @if etc
7910 maybe-install-html-etc: install-html-etc
7912 install-html-etc: \
7913 configure-etc \
7914 html-etc
7915 @: $(MAKE); $(unstage)
7916 @[ -f ./etc/Makefile ] || exit 0; \
7917 r=`${PWD_COMMAND}`; export r; \
7918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7919 $(HOST_EXPORTS) \
7920 for flag in $(EXTRA_HOST_FLAGS) ; do \
7921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7922 done; \
7923 echo "Doing install-html in etc"; \
7924 (cd $(HOST_SUBDIR)/etc && \
7925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7927 "RANLIB=$${RANLIB}" \
7928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7929 install-html) \
7930 || exit 1
7932 @endif etc
7934 .PHONY: maybe-installcheck-etc installcheck-etc
7935 maybe-installcheck-etc:
7936 @if etc
7937 maybe-installcheck-etc: installcheck-etc
7939 installcheck-etc: \
7940 configure-etc
7941 @: $(MAKE); $(unstage)
7942 @[ -f ./etc/Makefile ] || exit 0; \
7943 r=`${PWD_COMMAND}`; export r; \
7944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7945 $(HOST_EXPORTS) \
7946 for flag in $(EXTRA_HOST_FLAGS) ; do \
7947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7948 done; \
7949 echo "Doing installcheck in etc"; \
7950 (cd $(HOST_SUBDIR)/etc && \
7951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7953 "RANLIB=$${RANLIB}" \
7954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7955 installcheck) \
7956 || exit 1
7958 @endif etc
7960 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7961 maybe-mostlyclean-etc:
7962 @if etc
7963 maybe-mostlyclean-etc: mostlyclean-etc
7965 mostlyclean-etc:
7966 @: $(MAKE); $(unstage)
7967 @[ -f ./etc/Makefile ] || exit 0; \
7968 r=`${PWD_COMMAND}`; export r; \
7969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7970 $(HOST_EXPORTS) \
7971 for flag in $(EXTRA_HOST_FLAGS) ; do \
7972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7973 done; \
7974 echo "Doing mostlyclean in etc"; \
7975 (cd $(HOST_SUBDIR)/etc && \
7976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7978 "RANLIB=$${RANLIB}" \
7979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7980 mostlyclean) \
7981 || exit 1
7983 @endif etc
7985 .PHONY: maybe-clean-etc clean-etc
7986 maybe-clean-etc:
7987 @if etc
7988 maybe-clean-etc: clean-etc
7990 clean-etc:
7991 @: $(MAKE); $(unstage)
7992 @[ -f ./etc/Makefile ] || exit 0; \
7993 r=`${PWD_COMMAND}`; export r; \
7994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7995 $(HOST_EXPORTS) \
7996 for flag in $(EXTRA_HOST_FLAGS) ; do \
7997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7998 done; \
7999 echo "Doing clean in etc"; \
8000 (cd $(HOST_SUBDIR)/etc && \
8001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8003 "RANLIB=$${RANLIB}" \
8004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8005 clean) \
8006 || exit 1
8008 @endif etc
8010 .PHONY: maybe-distclean-etc distclean-etc
8011 maybe-distclean-etc:
8012 @if etc
8013 maybe-distclean-etc: distclean-etc
8015 distclean-etc:
8016 @: $(MAKE); $(unstage)
8017 @[ -f ./etc/Makefile ] || exit 0; \
8018 r=`${PWD_COMMAND}`; export r; \
8019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8020 $(HOST_EXPORTS) \
8021 for flag in $(EXTRA_HOST_FLAGS) ; do \
8022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8023 done; \
8024 echo "Doing distclean in etc"; \
8025 (cd $(HOST_SUBDIR)/etc && \
8026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8028 "RANLIB=$${RANLIB}" \
8029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8030 distclean) \
8031 || exit 1
8033 @endif etc
8035 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8036 maybe-maintainer-clean-etc:
8037 @if etc
8038 maybe-maintainer-clean-etc: maintainer-clean-etc
8040 maintainer-clean-etc:
8041 @: $(MAKE); $(unstage)
8042 @[ -f ./etc/Makefile ] || exit 0; \
8043 r=`${PWD_COMMAND}`; export r; \
8044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8045 $(HOST_EXPORTS) \
8046 for flag in $(EXTRA_HOST_FLAGS) ; do \
8047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8048 done; \
8049 echo "Doing maintainer-clean in etc"; \
8050 (cd $(HOST_SUBDIR)/etc && \
8051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8053 "RANLIB=$${RANLIB}" \
8054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8055 maintainer-clean) \
8056 || exit 1
8058 @endif etc
8062 .PHONY: configure-fastjar maybe-configure-fastjar
8063 maybe-configure-fastjar:
8064 @if gcc-bootstrap
8065 configure-fastjar: stage_current
8066 @endif gcc-bootstrap
8067 @if fastjar
8068 maybe-configure-fastjar: configure-fastjar
8069 configure-fastjar:
8070 @: $(MAKE); $(unstage)
8071 @r=`${PWD_COMMAND}`; export r; \
8072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8073 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8075 $(HOST_EXPORTS) \
8076 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8077 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8078 case $(srcdir) in \
8079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8080 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8082 esac; \
8083 module_srcdir=fastjar; \
8084 $(SHELL) \
8085 $$s/$$module_srcdir/configure \
8086 --srcdir=$${topdir}/$$module_srcdir \
8087 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8088 --target=${target_alias} \
8089 || exit 1
8090 @endif fastjar
8096 .PHONY: all-fastjar maybe-all-fastjar
8097 maybe-all-fastjar:
8098 @if gcc-bootstrap
8099 all-fastjar: stage_current
8100 @endif gcc-bootstrap
8101 @if fastjar
8102 TARGET-fastjar=all
8103 maybe-all-fastjar: all-fastjar
8104 all-fastjar: configure-fastjar
8105 @: $(MAKE); $(unstage)
8106 @r=`${PWD_COMMAND}`; export r; \
8107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8108 $(HOST_EXPORTS) \
8109 (cd $(HOST_SUBDIR)/fastjar && \
8110 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8111 $(TARGET-fastjar))
8112 @endif fastjar
8117 .PHONY: check-fastjar maybe-check-fastjar
8118 maybe-check-fastjar:
8119 @if fastjar
8120 maybe-check-fastjar: check-fastjar
8122 # This module is only tested in a native toolchain.
8123 check-fastjar:
8124 @: $(MAKE); $(unstage)
8125 @if [ '$(host)' = '$(target)' ]; then \
8126 r=`${PWD_COMMAND}`; export r; \
8127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8128 $(HOST_EXPORTS) \
8129 (cd $(HOST_SUBDIR)/fastjar && \
8130 $(MAKE) $(FLAGS_TO_PASS) check)
8133 @endif fastjar
8135 .PHONY: install-fastjar maybe-install-fastjar
8136 maybe-install-fastjar:
8137 @if fastjar
8138 maybe-install-fastjar: install-fastjar
8140 install-fastjar: installdirs
8141 @: $(MAKE); $(unstage)
8142 @r=`${PWD_COMMAND}`; export r; \
8143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8144 $(HOST_EXPORTS) \
8145 (cd $(HOST_SUBDIR)/fastjar && \
8146 $(MAKE) $(FLAGS_TO_PASS) install)
8148 @endif fastjar
8150 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8151 maybe-install-strip-fastjar:
8152 @if fastjar
8153 maybe-install-strip-fastjar: install-strip-fastjar
8155 install-strip-fastjar: installdirs
8156 @: $(MAKE); $(unstage)
8157 @r=`${PWD_COMMAND}`; export r; \
8158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8159 $(HOST_EXPORTS) \
8160 (cd $(HOST_SUBDIR)/fastjar && \
8161 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8163 @endif fastjar
8165 # Other targets (info, dvi, pdf, etc.)
8167 .PHONY: maybe-info-fastjar info-fastjar
8168 maybe-info-fastjar:
8169 @if fastjar
8170 maybe-info-fastjar: info-fastjar
8172 info-fastjar: \
8173 configure-fastjar
8174 @: $(MAKE); $(unstage)
8175 @[ -f ./fastjar/Makefile ] || exit 0; \
8176 r=`${PWD_COMMAND}`; export r; \
8177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8178 $(HOST_EXPORTS) \
8179 for flag in $(EXTRA_HOST_FLAGS) ; do \
8180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8181 done; \
8182 echo "Doing info in fastjar"; \
8183 (cd $(HOST_SUBDIR)/fastjar && \
8184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8186 "RANLIB=$${RANLIB}" \
8187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8188 info) \
8189 || exit 1
8191 @endif fastjar
8193 .PHONY: maybe-dvi-fastjar dvi-fastjar
8194 maybe-dvi-fastjar:
8195 @if fastjar
8196 maybe-dvi-fastjar: dvi-fastjar
8198 dvi-fastjar: \
8199 configure-fastjar
8200 @: $(MAKE); $(unstage)
8201 @[ -f ./fastjar/Makefile ] || exit 0; \
8202 r=`${PWD_COMMAND}`; export r; \
8203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8204 $(HOST_EXPORTS) \
8205 for flag in $(EXTRA_HOST_FLAGS) ; do \
8206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8207 done; \
8208 echo "Doing dvi in fastjar"; \
8209 (cd $(HOST_SUBDIR)/fastjar && \
8210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8212 "RANLIB=$${RANLIB}" \
8213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8214 dvi) \
8215 || exit 1
8217 @endif fastjar
8219 .PHONY: maybe-pdf-fastjar pdf-fastjar
8220 maybe-pdf-fastjar:
8221 @if fastjar
8222 maybe-pdf-fastjar: pdf-fastjar
8224 pdf-fastjar: \
8225 configure-fastjar
8226 @: $(MAKE); $(unstage)
8227 @[ -f ./fastjar/Makefile ] || exit 0; \
8228 r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 $(HOST_EXPORTS) \
8231 for flag in $(EXTRA_HOST_FLAGS) ; do \
8232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8233 done; \
8234 echo "Doing pdf in fastjar"; \
8235 (cd $(HOST_SUBDIR)/fastjar && \
8236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8238 "RANLIB=$${RANLIB}" \
8239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8240 pdf) \
8241 || exit 1
8243 @endif fastjar
8245 .PHONY: maybe-html-fastjar html-fastjar
8246 maybe-html-fastjar:
8247 @if fastjar
8248 maybe-html-fastjar: html-fastjar
8250 html-fastjar: \
8251 configure-fastjar
8252 @: $(MAKE); $(unstage)
8253 @[ -f ./fastjar/Makefile ] || exit 0; \
8254 r=`${PWD_COMMAND}`; export r; \
8255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8256 $(HOST_EXPORTS) \
8257 for flag in $(EXTRA_HOST_FLAGS) ; do \
8258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8259 done; \
8260 echo "Doing html in fastjar"; \
8261 (cd $(HOST_SUBDIR)/fastjar && \
8262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8264 "RANLIB=$${RANLIB}" \
8265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8266 html) \
8267 || exit 1
8269 @endif fastjar
8271 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8272 maybe-TAGS-fastjar:
8273 @if fastjar
8274 maybe-TAGS-fastjar: TAGS-fastjar
8276 TAGS-fastjar: \
8277 configure-fastjar
8278 @: $(MAKE); $(unstage)
8279 @[ -f ./fastjar/Makefile ] || exit 0; \
8280 r=`${PWD_COMMAND}`; export r; \
8281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8282 $(HOST_EXPORTS) \
8283 for flag in $(EXTRA_HOST_FLAGS) ; do \
8284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8285 done; \
8286 echo "Doing TAGS in fastjar"; \
8287 (cd $(HOST_SUBDIR)/fastjar && \
8288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8290 "RANLIB=$${RANLIB}" \
8291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8292 TAGS) \
8293 || exit 1
8295 @endif fastjar
8297 .PHONY: maybe-install-info-fastjar install-info-fastjar
8298 maybe-install-info-fastjar:
8299 @if fastjar
8300 maybe-install-info-fastjar: install-info-fastjar
8302 install-info-fastjar: \
8303 configure-fastjar \
8304 info-fastjar
8305 @: $(MAKE); $(unstage)
8306 @[ -f ./fastjar/Makefile ] || exit 0; \
8307 r=`${PWD_COMMAND}`; export r; \
8308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8309 $(HOST_EXPORTS) \
8310 for flag in $(EXTRA_HOST_FLAGS) ; do \
8311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8312 done; \
8313 echo "Doing install-info in fastjar"; \
8314 (cd $(HOST_SUBDIR)/fastjar && \
8315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8317 "RANLIB=$${RANLIB}" \
8318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8319 install-info) \
8320 || exit 1
8322 @endif fastjar
8324 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8325 maybe-install-pdf-fastjar:
8326 @if fastjar
8327 maybe-install-pdf-fastjar: install-pdf-fastjar
8329 install-pdf-fastjar: \
8330 configure-fastjar \
8331 pdf-fastjar
8332 @: $(MAKE); $(unstage)
8333 @[ -f ./fastjar/Makefile ] || exit 0; \
8334 r=`${PWD_COMMAND}`; export r; \
8335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8336 $(HOST_EXPORTS) \
8337 for flag in $(EXTRA_HOST_FLAGS) ; do \
8338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8339 done; \
8340 echo "Doing install-pdf in fastjar"; \
8341 (cd $(HOST_SUBDIR)/fastjar && \
8342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8344 "RANLIB=$${RANLIB}" \
8345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8346 install-pdf) \
8347 || exit 1
8349 @endif fastjar
8351 .PHONY: maybe-install-html-fastjar install-html-fastjar
8352 maybe-install-html-fastjar:
8353 @if fastjar
8354 maybe-install-html-fastjar: install-html-fastjar
8356 install-html-fastjar: \
8357 configure-fastjar \
8358 html-fastjar
8359 @: $(MAKE); $(unstage)
8360 @[ -f ./fastjar/Makefile ] || exit 0; \
8361 r=`${PWD_COMMAND}`; export r; \
8362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8363 $(HOST_EXPORTS) \
8364 for flag in $(EXTRA_HOST_FLAGS) ; do \
8365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8366 done; \
8367 echo "Doing install-html in fastjar"; \
8368 (cd $(HOST_SUBDIR)/fastjar && \
8369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8371 "RANLIB=$${RANLIB}" \
8372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8373 install-html) \
8374 || exit 1
8376 @endif fastjar
8378 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8379 maybe-installcheck-fastjar:
8380 @if fastjar
8381 maybe-installcheck-fastjar: installcheck-fastjar
8383 installcheck-fastjar: \
8384 configure-fastjar
8385 @: $(MAKE); $(unstage)
8386 @[ -f ./fastjar/Makefile ] || exit 0; \
8387 r=`${PWD_COMMAND}`; export r; \
8388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8389 $(HOST_EXPORTS) \
8390 for flag in $(EXTRA_HOST_FLAGS) ; do \
8391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8392 done; \
8393 echo "Doing installcheck in fastjar"; \
8394 (cd $(HOST_SUBDIR)/fastjar && \
8395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8397 "RANLIB=$${RANLIB}" \
8398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8399 installcheck) \
8400 || exit 1
8402 @endif fastjar
8404 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8405 maybe-mostlyclean-fastjar:
8406 @if fastjar
8407 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8409 mostlyclean-fastjar:
8410 @: $(MAKE); $(unstage)
8411 @[ -f ./fastjar/Makefile ] || exit 0; \
8412 r=`${PWD_COMMAND}`; export r; \
8413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8414 $(HOST_EXPORTS) \
8415 for flag in $(EXTRA_HOST_FLAGS) ; do \
8416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8417 done; \
8418 echo "Doing mostlyclean in fastjar"; \
8419 (cd $(HOST_SUBDIR)/fastjar && \
8420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8422 "RANLIB=$${RANLIB}" \
8423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8424 mostlyclean) \
8425 || exit 1
8427 @endif fastjar
8429 .PHONY: maybe-clean-fastjar clean-fastjar
8430 maybe-clean-fastjar:
8431 @if fastjar
8432 maybe-clean-fastjar: clean-fastjar
8434 clean-fastjar:
8435 @: $(MAKE); $(unstage)
8436 @[ -f ./fastjar/Makefile ] || exit 0; \
8437 r=`${PWD_COMMAND}`; export r; \
8438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8439 $(HOST_EXPORTS) \
8440 for flag in $(EXTRA_HOST_FLAGS) ; do \
8441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8442 done; \
8443 echo "Doing clean in fastjar"; \
8444 (cd $(HOST_SUBDIR)/fastjar && \
8445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8447 "RANLIB=$${RANLIB}" \
8448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8449 clean) \
8450 || exit 1
8452 @endif fastjar
8454 .PHONY: maybe-distclean-fastjar distclean-fastjar
8455 maybe-distclean-fastjar:
8456 @if fastjar
8457 maybe-distclean-fastjar: distclean-fastjar
8459 distclean-fastjar:
8460 @: $(MAKE); $(unstage)
8461 @[ -f ./fastjar/Makefile ] || exit 0; \
8462 r=`${PWD_COMMAND}`; export r; \
8463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8464 $(HOST_EXPORTS) \
8465 for flag in $(EXTRA_HOST_FLAGS) ; do \
8466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8467 done; \
8468 echo "Doing distclean in fastjar"; \
8469 (cd $(HOST_SUBDIR)/fastjar && \
8470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8472 "RANLIB=$${RANLIB}" \
8473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8474 distclean) \
8475 || exit 1
8477 @endif fastjar
8479 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8480 maybe-maintainer-clean-fastjar:
8481 @if fastjar
8482 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8484 maintainer-clean-fastjar:
8485 @: $(MAKE); $(unstage)
8486 @[ -f ./fastjar/Makefile ] || exit 0; \
8487 r=`${PWD_COMMAND}`; export r; \
8488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8489 $(HOST_EXPORTS) \
8490 for flag in $(EXTRA_HOST_FLAGS) ; do \
8491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8492 done; \
8493 echo "Doing maintainer-clean in fastjar"; \
8494 (cd $(HOST_SUBDIR)/fastjar && \
8495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8497 "RANLIB=$${RANLIB}" \
8498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8499 maintainer-clean) \
8500 || exit 1
8502 @endif fastjar
8506 .PHONY: configure-fixincludes maybe-configure-fixincludes
8507 maybe-configure-fixincludes:
8508 @if gcc-bootstrap
8509 configure-fixincludes: stage_current
8510 @endif gcc-bootstrap
8511 @if fixincludes
8512 maybe-configure-fixincludes: configure-fixincludes
8513 configure-fixincludes:
8514 @r=`${PWD_COMMAND}`; export r; \
8515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8516 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8518 $(HOST_EXPORTS) \
8519 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8520 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8521 case $(srcdir) in \
8522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8523 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8525 esac; \
8526 module_srcdir=fixincludes; \
8527 $(SHELL) \
8528 $$s/$$module_srcdir/configure \
8529 --srcdir=$${topdir}/$$module_srcdir \
8530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8531 --target=${target_alias} \
8532 || exit 1
8533 @endif fixincludes
8537 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8538 maybe-configure-stage1-fixincludes:
8539 @if fixincludes-bootstrap
8540 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8541 configure-stage1-fixincludes:
8542 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8543 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8544 @r=`${PWD_COMMAND}`; export r; \
8545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8546 TFLAGS="$(STAGE1_TFLAGS)"; \
8547 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8548 $(HOST_EXPORTS) \
8549 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8550 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8551 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8552 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8554 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8555 case $(srcdir) in \
8556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8557 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8559 esac; \
8560 module_srcdir=fixincludes; \
8561 $(SHELL) $$s/$$module_srcdir/configure \
8562 --srcdir=$${topdir}/$$module_srcdir \
8563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8564 --target=${target_alias} \
8566 $(STAGE1_CONFIGURE_FLAGS)
8567 @endif fixincludes-bootstrap
8569 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8570 maybe-configure-stage2-fixincludes:
8571 @if fixincludes-bootstrap
8572 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8573 configure-stage2-fixincludes:
8574 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8576 @r=`${PWD_COMMAND}`; export r; \
8577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8578 TFLAGS="$(STAGE2_TFLAGS)"; \
8579 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8580 $(HOST_EXPORTS) \
8581 $(POSTSTAGE1_HOST_EXPORTS) \
8582 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8583 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8584 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8585 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8587 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8588 case $(srcdir) in \
8589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8590 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8592 esac; \
8593 module_srcdir=fixincludes; \
8594 $(SHELL) $$s/$$module_srcdir/configure \
8595 --srcdir=$${topdir}/$$module_srcdir \
8596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8597 --target=${target_alias} \
8598 --with-build-libsubdir=$(HOST_SUBDIR) \
8599 $(STAGE2_CONFIGURE_FLAGS)
8600 @endif fixincludes-bootstrap
8602 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8603 maybe-configure-stage3-fixincludes:
8604 @if fixincludes-bootstrap
8605 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8606 configure-stage3-fixincludes:
8607 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8609 @r=`${PWD_COMMAND}`; export r; \
8610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8611 TFLAGS="$(STAGE3_TFLAGS)"; \
8612 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8613 $(HOST_EXPORTS) \
8614 $(POSTSTAGE1_HOST_EXPORTS) \
8615 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8616 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8617 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8618 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8620 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8621 case $(srcdir) in \
8622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8623 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8625 esac; \
8626 module_srcdir=fixincludes; \
8627 $(SHELL) $$s/$$module_srcdir/configure \
8628 --srcdir=$${topdir}/$$module_srcdir \
8629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8630 --target=${target_alias} \
8631 --with-build-libsubdir=$(HOST_SUBDIR) \
8632 $(STAGE3_CONFIGURE_FLAGS)
8633 @endif fixincludes-bootstrap
8635 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8636 maybe-configure-stage4-fixincludes:
8637 @if fixincludes-bootstrap
8638 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8639 configure-stage4-fixincludes:
8640 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8641 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8642 @r=`${PWD_COMMAND}`; export r; \
8643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8644 TFLAGS="$(STAGE4_TFLAGS)"; \
8645 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8646 $(HOST_EXPORTS) \
8647 $(POSTSTAGE1_HOST_EXPORTS) \
8648 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8649 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8650 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8651 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8652 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8653 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8654 case $(srcdir) in \
8655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8656 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8658 esac; \
8659 module_srcdir=fixincludes; \
8660 $(SHELL) $$s/$$module_srcdir/configure \
8661 --srcdir=$${topdir}/$$module_srcdir \
8662 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8663 --target=${target_alias} \
8664 --with-build-libsubdir=$(HOST_SUBDIR) \
8665 $(STAGE4_CONFIGURE_FLAGS)
8666 @endif fixincludes-bootstrap
8668 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8669 maybe-configure-stageprofile-fixincludes:
8670 @if fixincludes-bootstrap
8671 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8672 configure-stageprofile-fixincludes:
8673 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8675 @r=`${PWD_COMMAND}`; export r; \
8676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8677 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8678 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8679 $(HOST_EXPORTS) \
8680 $(POSTSTAGE1_HOST_EXPORTS) \
8681 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8682 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8683 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8684 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8686 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8687 case $(srcdir) in \
8688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8689 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8691 esac; \
8692 module_srcdir=fixincludes; \
8693 $(SHELL) $$s/$$module_srcdir/configure \
8694 --srcdir=$${topdir}/$$module_srcdir \
8695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8696 --target=${target_alias} \
8697 --with-build-libsubdir=$(HOST_SUBDIR) \
8698 $(STAGEprofile_CONFIGURE_FLAGS)
8699 @endif fixincludes-bootstrap
8701 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8702 maybe-configure-stagefeedback-fixincludes:
8703 @if fixincludes-bootstrap
8704 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8705 configure-stagefeedback-fixincludes:
8706 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8708 @r=`${PWD_COMMAND}`; export r; \
8709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8710 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8711 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8712 $(HOST_EXPORTS) \
8713 $(POSTSTAGE1_HOST_EXPORTS) \
8714 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8715 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8716 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8717 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8719 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8720 case $(srcdir) in \
8721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8722 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8724 esac; \
8725 module_srcdir=fixincludes; \
8726 $(SHELL) $$s/$$module_srcdir/configure \
8727 --srcdir=$${topdir}/$$module_srcdir \
8728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8729 --target=${target_alias} \
8730 --with-build-libsubdir=$(HOST_SUBDIR) \
8731 $(STAGEfeedback_CONFIGURE_FLAGS)
8732 @endif fixincludes-bootstrap
8734 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
8735 maybe-configure-stageautoprofile-fixincludes:
8736 @if fixincludes-bootstrap
8737 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
8738 configure-stageautoprofile-fixincludes:
8739 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
8740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8741 @r=`${PWD_COMMAND}`; export r; \
8742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8743 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
8744 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8745 $(HOST_EXPORTS) \
8746 $(POSTSTAGE1_HOST_EXPORTS) \
8747 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
8748 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
8749 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
8750 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
8751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8752 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8753 case $(srcdir) in \
8754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8755 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8757 esac; \
8758 module_srcdir=fixincludes; \
8759 $(SHELL) $$s/$$module_srcdir/configure \
8760 --srcdir=$${topdir}/$$module_srcdir \
8761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8762 --target=${target_alias} \
8763 --with-build-libsubdir=$(HOST_SUBDIR) \
8764 $(STAGEautoprofile_CONFIGURE_FLAGS)
8765 @endif fixincludes-bootstrap
8767 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
8768 maybe-configure-stageautofeedback-fixincludes:
8769 @if fixincludes-bootstrap
8770 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
8771 configure-stageautofeedback-fixincludes:
8772 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
8773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8774 @r=`${PWD_COMMAND}`; export r; \
8775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8776 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
8777 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8778 $(HOST_EXPORTS) \
8779 $(POSTSTAGE1_HOST_EXPORTS) \
8780 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
8781 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
8782 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
8783 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
8784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8785 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8786 case $(srcdir) in \
8787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8788 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8790 esac; \
8791 module_srcdir=fixincludes; \
8792 $(SHELL) $$s/$$module_srcdir/configure \
8793 --srcdir=$${topdir}/$$module_srcdir \
8794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8795 --target=${target_alias} \
8796 --with-build-libsubdir=$(HOST_SUBDIR) \
8797 $(STAGEautofeedback_CONFIGURE_FLAGS)
8798 @endif fixincludes-bootstrap
8804 .PHONY: all-fixincludes maybe-all-fixincludes
8805 maybe-all-fixincludes:
8806 @if gcc-bootstrap
8807 all-fixincludes: stage_current
8808 @endif gcc-bootstrap
8809 @if fixincludes
8810 TARGET-fixincludes=all
8811 maybe-all-fixincludes: all-fixincludes
8812 all-fixincludes: configure-fixincludes
8813 @r=`${PWD_COMMAND}`; export r; \
8814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8815 $(HOST_EXPORTS) \
8816 (cd $(HOST_SUBDIR)/fixincludes && \
8817 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8818 $(TARGET-fixincludes))
8819 @endif fixincludes
8823 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8824 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8825 maybe-all-stage1-fixincludes:
8826 maybe-clean-stage1-fixincludes:
8827 @if fixincludes-bootstrap
8828 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8829 all-stage1: all-stage1-fixincludes
8830 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8831 all-stage1-fixincludes: configure-stage1-fixincludes
8832 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8833 @r=`${PWD_COMMAND}`; export r; \
8834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8835 TFLAGS="$(STAGE1_TFLAGS)"; \
8836 $(HOST_EXPORTS) \
8837 cd $(HOST_SUBDIR)/fixincludes && \
8839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8840 CFLAGS="$(STAGE1_CFLAGS)" \
8841 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8842 LIBCFLAGS="$(LIBCFLAGS)" \
8843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8846 $(EXTRA_HOST_FLAGS) \
8847 $(STAGE1_FLAGS_TO_PASS) \
8848 TFLAGS="$(STAGE1_TFLAGS)" \
8849 $(TARGET-stage1-fixincludes)
8851 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8852 clean-stage1: clean-stage1-fixincludes
8853 clean-stage1-fixincludes:
8854 @if [ $(current_stage) = stage1 ]; then \
8855 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8856 else \
8857 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8858 $(MAKE) stage1-start; \
8859 fi; \
8860 cd $(HOST_SUBDIR)/fixincludes && \
8861 $(MAKE) $(EXTRA_HOST_FLAGS) \
8862 $(STAGE1_FLAGS_TO_PASS) clean
8863 @endif fixincludes-bootstrap
8866 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8867 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8868 maybe-all-stage2-fixincludes:
8869 maybe-clean-stage2-fixincludes:
8870 @if fixincludes-bootstrap
8871 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8872 all-stage2: all-stage2-fixincludes
8873 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8874 all-stage2-fixincludes: configure-stage2-fixincludes
8875 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8876 @r=`${PWD_COMMAND}`; export r; \
8877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8878 TFLAGS="$(STAGE2_TFLAGS)"; \
8879 $(HOST_EXPORTS) \
8880 $(POSTSTAGE1_HOST_EXPORTS) \
8881 cd $(HOST_SUBDIR)/fixincludes && \
8883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8884 CFLAGS="$(STAGE2_CFLAGS)" \
8885 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8886 LIBCFLAGS="$(STAGE2_CFLAGS)" \
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) $(POSTSTAGE1_FLAGS_TO_PASS) \
8891 TFLAGS="$(STAGE2_TFLAGS)" \
8892 $(TARGET-stage2-fixincludes)
8894 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8895 clean-stage2: clean-stage2-fixincludes
8896 clean-stage2-fixincludes:
8897 @if [ $(current_stage) = stage2 ]; then \
8898 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8899 else \
8900 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8901 $(MAKE) stage2-start; \
8902 fi; \
8903 cd $(HOST_SUBDIR)/fixincludes && \
8904 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8905 @endif fixincludes-bootstrap
8908 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8909 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8910 maybe-all-stage3-fixincludes:
8911 maybe-clean-stage3-fixincludes:
8912 @if fixincludes-bootstrap
8913 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8914 all-stage3: all-stage3-fixincludes
8915 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8916 all-stage3-fixincludes: configure-stage3-fixincludes
8917 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8918 @r=`${PWD_COMMAND}`; export r; \
8919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8920 TFLAGS="$(STAGE3_TFLAGS)"; \
8921 $(HOST_EXPORTS) \
8922 $(POSTSTAGE1_HOST_EXPORTS) \
8923 cd $(HOST_SUBDIR)/fixincludes && \
8925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8926 CFLAGS="$(STAGE3_CFLAGS)" \
8927 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8928 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8932 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8933 TFLAGS="$(STAGE3_TFLAGS)" \
8934 $(TARGET-stage3-fixincludes)
8936 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8937 clean-stage3: clean-stage3-fixincludes
8938 clean-stage3-fixincludes:
8939 @if [ $(current_stage) = stage3 ]; then \
8940 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8941 else \
8942 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8943 $(MAKE) stage3-start; \
8944 fi; \
8945 cd $(HOST_SUBDIR)/fixincludes && \
8946 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8947 @endif fixincludes-bootstrap
8950 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8951 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8952 maybe-all-stage4-fixincludes:
8953 maybe-clean-stage4-fixincludes:
8954 @if fixincludes-bootstrap
8955 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8956 all-stage4: all-stage4-fixincludes
8957 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8958 all-stage4-fixincludes: configure-stage4-fixincludes
8959 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8960 @r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 TFLAGS="$(STAGE4_TFLAGS)"; \
8963 $(HOST_EXPORTS) \
8964 $(POSTSTAGE1_HOST_EXPORTS) \
8965 cd $(HOST_SUBDIR)/fixincludes && \
8967 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8968 CFLAGS="$(STAGE4_CFLAGS)" \
8969 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8970 LIBCFLAGS="$(STAGE4_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="$(STAGE4_TFLAGS)" \
8976 $(TARGET-stage4-fixincludes)
8978 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8979 clean-stage4: clean-stage4-fixincludes
8980 clean-stage4-fixincludes:
8981 @if [ $(current_stage) = stage4 ]; then \
8982 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8983 else \
8984 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8985 $(MAKE) stage4-start; \
8986 fi; \
8987 cd $(HOST_SUBDIR)/fixincludes && \
8988 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8989 @endif fixincludes-bootstrap
8992 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8993 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8994 maybe-all-stageprofile-fixincludes:
8995 maybe-clean-stageprofile-fixincludes:
8996 @if fixincludes-bootstrap
8997 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8998 all-stageprofile: all-stageprofile-fixincludes
8999 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9000 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9001 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9002 @r=`${PWD_COMMAND}`; export r; \
9003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9004 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9005 $(HOST_EXPORTS) \
9006 $(POSTSTAGE1_HOST_EXPORTS) \
9007 cd $(HOST_SUBDIR)/fixincludes && \
9009 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9010 CFLAGS="$(STAGEprofile_CFLAGS)" \
9011 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9012 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9013 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9017 TFLAGS="$(STAGEprofile_TFLAGS)" \
9018 $(TARGET-stageprofile-fixincludes)
9020 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9021 clean-stageprofile: clean-stageprofile-fixincludes
9022 clean-stageprofile-fixincludes:
9023 @if [ $(current_stage) = stageprofile ]; then \
9024 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9025 else \
9026 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9027 $(MAKE) stageprofile-start; \
9028 fi; \
9029 cd $(HOST_SUBDIR)/fixincludes && \
9030 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9031 @endif fixincludes-bootstrap
9034 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9035 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9036 maybe-all-stagefeedback-fixincludes:
9037 maybe-clean-stagefeedback-fixincludes:
9038 @if fixincludes-bootstrap
9039 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9040 all-stagefeedback: all-stagefeedback-fixincludes
9041 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9042 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9043 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9044 @r=`${PWD_COMMAND}`; export r; \
9045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9046 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9047 $(HOST_EXPORTS) \
9048 $(POSTSTAGE1_HOST_EXPORTS) \
9049 cd $(HOST_SUBDIR)/fixincludes && \
9051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9052 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9053 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9054 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9055 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9056 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9057 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9058 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9059 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9060 $(TARGET-stagefeedback-fixincludes)
9062 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9063 clean-stagefeedback: clean-stagefeedback-fixincludes
9064 clean-stagefeedback-fixincludes:
9065 @if [ $(current_stage) = stagefeedback ]; then \
9066 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9067 else \
9068 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9069 $(MAKE) stagefeedback-start; \
9070 fi; \
9071 cd $(HOST_SUBDIR)/fixincludes && \
9072 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9073 @endif fixincludes-bootstrap
9076 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9077 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9078 maybe-all-stageautoprofile-fixincludes:
9079 maybe-clean-stageautoprofile-fixincludes:
9080 @if fixincludes-bootstrap
9081 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9082 all-stageautoprofile: all-stageautoprofile-fixincludes
9083 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9084 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9085 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9086 @r=`${PWD_COMMAND}`; export r; \
9087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9088 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9089 $(HOST_EXPORTS) \
9090 $(POSTSTAGE1_HOST_EXPORTS) \
9091 cd $(HOST_SUBDIR)/fixincludes && \
9092 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9093 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9094 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9095 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9096 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9101 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9102 $(TARGET-stageautoprofile-fixincludes)
9104 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9105 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9106 clean-stageautoprofile-fixincludes:
9107 @if [ $(current_stage) = stageautoprofile ]; then \
9108 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9109 else \
9110 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9111 $(MAKE) stageautoprofile-start; \
9112 fi; \
9113 cd $(HOST_SUBDIR)/fixincludes && \
9114 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9115 @endif fixincludes-bootstrap
9118 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9119 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9120 maybe-all-stageautofeedback-fixincludes:
9121 maybe-clean-stageautofeedback-fixincludes:
9122 @if fixincludes-bootstrap
9123 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9124 all-stageautofeedback: all-stageautofeedback-fixincludes
9125 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9126 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9127 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9128 @r=`${PWD_COMMAND}`; export r; \
9129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9130 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9131 $(HOST_EXPORTS) \
9132 $(POSTSTAGE1_HOST_EXPORTS) \
9133 cd $(HOST_SUBDIR)/fixincludes && \
9135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9136 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9137 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9138 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9139 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9140 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9141 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9142 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9143 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9144 $(TARGET-stageautofeedback-fixincludes)
9146 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9147 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9148 clean-stageautofeedback-fixincludes:
9149 @if [ $(current_stage) = stageautofeedback ]; then \
9150 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9151 else \
9152 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9153 $(MAKE) stageautofeedback-start; \
9154 fi; \
9155 cd $(HOST_SUBDIR)/fixincludes && \
9156 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9157 @endif fixincludes-bootstrap
9163 .PHONY: check-fixincludes maybe-check-fixincludes
9164 maybe-check-fixincludes:
9165 @if fixincludes
9166 maybe-check-fixincludes: check-fixincludes
9168 check-fixincludes:
9169 @: $(MAKE); $(unstage)
9170 @r=`${PWD_COMMAND}`; export r; \
9171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9172 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9173 (cd $(HOST_SUBDIR)/fixincludes && \
9174 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9176 @endif fixincludes
9178 .PHONY: install-fixincludes maybe-install-fixincludes
9179 maybe-install-fixincludes:
9180 @if fixincludes
9181 maybe-install-fixincludes: install-fixincludes
9183 install-fixincludes: installdirs
9184 @: $(MAKE); $(unstage)
9185 @r=`${PWD_COMMAND}`; export r; \
9186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9187 $(HOST_EXPORTS) \
9188 (cd $(HOST_SUBDIR)/fixincludes && \
9189 $(MAKE) $(FLAGS_TO_PASS) install)
9191 @endif fixincludes
9193 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9194 maybe-install-strip-fixincludes:
9195 @if fixincludes
9196 maybe-install-strip-fixincludes: install-strip-fixincludes
9198 install-strip-fixincludes: installdirs
9199 @: $(MAKE); $(unstage)
9200 @r=`${PWD_COMMAND}`; export r; \
9201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9202 $(HOST_EXPORTS) \
9203 (cd $(HOST_SUBDIR)/fixincludes && \
9204 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9206 @endif fixincludes
9208 # Other targets (info, dvi, pdf, etc.)
9210 .PHONY: maybe-info-fixincludes info-fixincludes
9211 maybe-info-fixincludes:
9212 @if fixincludes
9213 maybe-info-fixincludes: info-fixincludes
9215 info-fixincludes: \
9216 configure-fixincludes
9217 @[ -f ./fixincludes/Makefile ] || exit 0; \
9218 r=`${PWD_COMMAND}`; export r; \
9219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9220 $(HOST_EXPORTS) \
9221 for flag in $(EXTRA_HOST_FLAGS) ; do \
9222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9223 done; \
9224 echo "Doing info in fixincludes"; \
9225 (cd $(HOST_SUBDIR)/fixincludes && \
9226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9228 "RANLIB=$${RANLIB}" \
9229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9230 info) \
9231 || exit 1
9233 @endif fixincludes
9235 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9236 maybe-dvi-fixincludes:
9237 @if fixincludes
9238 maybe-dvi-fixincludes: dvi-fixincludes
9240 dvi-fixincludes: \
9241 configure-fixincludes
9242 @[ -f ./fixincludes/Makefile ] || exit 0; \
9243 r=`${PWD_COMMAND}`; export r; \
9244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9245 $(HOST_EXPORTS) \
9246 for flag in $(EXTRA_HOST_FLAGS) ; do \
9247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9248 done; \
9249 echo "Doing dvi in fixincludes"; \
9250 (cd $(HOST_SUBDIR)/fixincludes && \
9251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9253 "RANLIB=$${RANLIB}" \
9254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9255 dvi) \
9256 || exit 1
9258 @endif fixincludes
9260 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9261 maybe-pdf-fixincludes:
9262 @if fixincludes
9263 maybe-pdf-fixincludes: pdf-fixincludes
9265 pdf-fixincludes: \
9266 configure-fixincludes
9267 @[ -f ./fixincludes/Makefile ] || exit 0; \
9268 r=`${PWD_COMMAND}`; export r; \
9269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9270 $(HOST_EXPORTS) \
9271 for flag in $(EXTRA_HOST_FLAGS) ; do \
9272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9273 done; \
9274 echo "Doing pdf in fixincludes"; \
9275 (cd $(HOST_SUBDIR)/fixincludes && \
9276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9278 "RANLIB=$${RANLIB}" \
9279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9280 pdf) \
9281 || exit 1
9283 @endif fixincludes
9285 .PHONY: maybe-html-fixincludes html-fixincludes
9286 maybe-html-fixincludes:
9287 @if fixincludes
9288 maybe-html-fixincludes: html-fixincludes
9290 html-fixincludes: \
9291 configure-fixincludes
9292 @[ -f ./fixincludes/Makefile ] || exit 0; \
9293 r=`${PWD_COMMAND}`; export r; \
9294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9295 $(HOST_EXPORTS) \
9296 for flag in $(EXTRA_HOST_FLAGS) ; do \
9297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9298 done; \
9299 echo "Doing html in fixincludes"; \
9300 (cd $(HOST_SUBDIR)/fixincludes && \
9301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9303 "RANLIB=$${RANLIB}" \
9304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9305 html) \
9306 || exit 1
9308 @endif fixincludes
9310 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9311 maybe-TAGS-fixincludes:
9312 @if fixincludes
9313 maybe-TAGS-fixincludes: TAGS-fixincludes
9315 # fixincludes doesn't support TAGS.
9316 TAGS-fixincludes:
9318 @endif fixincludes
9320 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9321 maybe-install-info-fixincludes:
9322 @if fixincludes
9323 maybe-install-info-fixincludes: install-info-fixincludes
9325 install-info-fixincludes: \
9326 configure-fixincludes \
9327 info-fixincludes
9328 @[ -f ./fixincludes/Makefile ] || exit 0; \
9329 r=`${PWD_COMMAND}`; export r; \
9330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9331 $(HOST_EXPORTS) \
9332 for flag in $(EXTRA_HOST_FLAGS) ; do \
9333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9334 done; \
9335 echo "Doing install-info in fixincludes"; \
9336 (cd $(HOST_SUBDIR)/fixincludes && \
9337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9339 "RANLIB=$${RANLIB}" \
9340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9341 install-info) \
9342 || exit 1
9344 @endif fixincludes
9346 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9347 maybe-install-pdf-fixincludes:
9348 @if fixincludes
9349 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9351 install-pdf-fixincludes: \
9352 configure-fixincludes \
9353 pdf-fixincludes
9354 @[ -f ./fixincludes/Makefile ] || exit 0; \
9355 r=`${PWD_COMMAND}`; export r; \
9356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9357 $(HOST_EXPORTS) \
9358 for flag in $(EXTRA_HOST_FLAGS) ; do \
9359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9360 done; \
9361 echo "Doing install-pdf in fixincludes"; \
9362 (cd $(HOST_SUBDIR)/fixincludes && \
9363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9365 "RANLIB=$${RANLIB}" \
9366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9367 install-pdf) \
9368 || exit 1
9370 @endif fixincludes
9372 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9373 maybe-install-html-fixincludes:
9374 @if fixincludes
9375 maybe-install-html-fixincludes: install-html-fixincludes
9377 install-html-fixincludes: \
9378 configure-fixincludes \
9379 html-fixincludes
9380 @[ -f ./fixincludes/Makefile ] || exit 0; \
9381 r=`${PWD_COMMAND}`; export r; \
9382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9383 $(HOST_EXPORTS) \
9384 for flag in $(EXTRA_HOST_FLAGS) ; do \
9385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9386 done; \
9387 echo "Doing install-html in fixincludes"; \
9388 (cd $(HOST_SUBDIR)/fixincludes && \
9389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9391 "RANLIB=$${RANLIB}" \
9392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9393 install-html) \
9394 || exit 1
9396 @endif fixincludes
9398 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9399 maybe-installcheck-fixincludes:
9400 @if fixincludes
9401 maybe-installcheck-fixincludes: installcheck-fixincludes
9403 installcheck-fixincludes: \
9404 configure-fixincludes
9405 @[ -f ./fixincludes/Makefile ] || exit 0; \
9406 r=`${PWD_COMMAND}`; export r; \
9407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9408 $(HOST_EXPORTS) \
9409 for flag in $(EXTRA_HOST_FLAGS) ; do \
9410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9411 done; \
9412 echo "Doing installcheck in fixincludes"; \
9413 (cd $(HOST_SUBDIR)/fixincludes && \
9414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9416 "RANLIB=$${RANLIB}" \
9417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9418 installcheck) \
9419 || exit 1
9421 @endif fixincludes
9423 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9424 maybe-mostlyclean-fixincludes:
9425 @if fixincludes
9426 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9428 mostlyclean-fixincludes:
9429 @[ -f ./fixincludes/Makefile ] || exit 0; \
9430 r=`${PWD_COMMAND}`; export r; \
9431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9432 $(HOST_EXPORTS) \
9433 for flag in $(EXTRA_HOST_FLAGS) ; do \
9434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9435 done; \
9436 echo "Doing mostlyclean in fixincludes"; \
9437 (cd $(HOST_SUBDIR)/fixincludes && \
9438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9440 "RANLIB=$${RANLIB}" \
9441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9442 mostlyclean) \
9443 || exit 1
9445 @endif fixincludes
9447 .PHONY: maybe-clean-fixincludes clean-fixincludes
9448 maybe-clean-fixincludes:
9449 @if fixincludes
9450 maybe-clean-fixincludes: clean-fixincludes
9452 clean-fixincludes:
9453 @[ -f ./fixincludes/Makefile ] || exit 0; \
9454 r=`${PWD_COMMAND}`; export r; \
9455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9456 $(HOST_EXPORTS) \
9457 for flag in $(EXTRA_HOST_FLAGS) ; do \
9458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9459 done; \
9460 echo "Doing clean in fixincludes"; \
9461 (cd $(HOST_SUBDIR)/fixincludes && \
9462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9464 "RANLIB=$${RANLIB}" \
9465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9466 clean) \
9467 || exit 1
9469 @endif fixincludes
9471 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9472 maybe-distclean-fixincludes:
9473 @if fixincludes
9474 maybe-distclean-fixincludes: distclean-fixincludes
9476 distclean-fixincludes:
9477 @[ -f ./fixincludes/Makefile ] || exit 0; \
9478 r=`${PWD_COMMAND}`; export r; \
9479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9480 $(HOST_EXPORTS) \
9481 for flag in $(EXTRA_HOST_FLAGS) ; do \
9482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9483 done; \
9484 echo "Doing distclean in fixincludes"; \
9485 (cd $(HOST_SUBDIR)/fixincludes && \
9486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9488 "RANLIB=$${RANLIB}" \
9489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9490 distclean) \
9491 || exit 1
9493 @endif fixincludes
9495 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9496 maybe-maintainer-clean-fixincludes:
9497 @if fixincludes
9498 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9500 maintainer-clean-fixincludes:
9501 @[ -f ./fixincludes/Makefile ] || exit 0; \
9502 r=`${PWD_COMMAND}`; export r; \
9503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9504 $(HOST_EXPORTS) \
9505 for flag in $(EXTRA_HOST_FLAGS) ; do \
9506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9507 done; \
9508 echo "Doing maintainer-clean in fixincludes"; \
9509 (cd $(HOST_SUBDIR)/fixincludes && \
9510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9512 "RANLIB=$${RANLIB}" \
9513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9514 maintainer-clean) \
9515 || exit 1
9517 @endif fixincludes
9521 .PHONY: configure-flex maybe-configure-flex
9522 maybe-configure-flex:
9523 @if gcc-bootstrap
9524 configure-flex: stage_current
9525 @endif gcc-bootstrap
9526 @if flex
9527 maybe-configure-flex: configure-flex
9528 configure-flex:
9529 @: $(MAKE); $(unstage)
9530 @r=`${PWD_COMMAND}`; export r; \
9531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9532 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9534 $(HOST_EXPORTS) \
9535 echo Configuring in $(HOST_SUBDIR)/flex; \
9536 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9537 case $(srcdir) in \
9538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9539 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9541 esac; \
9542 module_srcdir=flex; \
9543 $(SHELL) \
9544 $$s/$$module_srcdir/configure \
9545 --srcdir=$${topdir}/$$module_srcdir \
9546 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9547 --target=${target_alias} \
9548 || exit 1
9549 @endif flex
9555 .PHONY: all-flex maybe-all-flex
9556 maybe-all-flex:
9557 @if gcc-bootstrap
9558 all-flex: stage_current
9559 @endif gcc-bootstrap
9560 @if flex
9561 TARGET-flex=all
9562 maybe-all-flex: all-flex
9563 all-flex: configure-flex
9564 @: $(MAKE); $(unstage)
9565 @r=`${PWD_COMMAND}`; export r; \
9566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9567 $(HOST_EXPORTS) \
9568 (cd $(HOST_SUBDIR)/flex && \
9569 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9570 $(TARGET-flex))
9571 @endif flex
9576 .PHONY: check-flex maybe-check-flex
9577 maybe-check-flex:
9578 @if flex
9579 maybe-check-flex: check-flex
9581 # This module is only tested in a native toolchain.
9582 check-flex:
9583 @: $(MAKE); $(unstage)
9584 @if [ '$(host)' = '$(target)' ]; then \
9585 r=`${PWD_COMMAND}`; export r; \
9586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9587 $(HOST_EXPORTS) \
9588 (cd $(HOST_SUBDIR)/flex && \
9589 $(MAKE) $(FLAGS_TO_PASS) check)
9592 @endif flex
9594 .PHONY: install-flex maybe-install-flex
9595 maybe-install-flex:
9596 @if flex
9597 maybe-install-flex: install-flex
9599 install-flex: installdirs
9600 @: $(MAKE); $(unstage)
9601 @r=`${PWD_COMMAND}`; export r; \
9602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9603 $(HOST_EXPORTS) \
9604 (cd $(HOST_SUBDIR)/flex && \
9605 $(MAKE) $(FLAGS_TO_PASS) install)
9607 @endif flex
9609 .PHONY: install-strip-flex maybe-install-strip-flex
9610 maybe-install-strip-flex:
9611 @if flex
9612 maybe-install-strip-flex: install-strip-flex
9614 install-strip-flex: installdirs
9615 @: $(MAKE); $(unstage)
9616 @r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 $(HOST_EXPORTS) \
9619 (cd $(HOST_SUBDIR)/flex && \
9620 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9622 @endif flex
9624 # Other targets (info, dvi, pdf, etc.)
9626 .PHONY: maybe-info-flex info-flex
9627 maybe-info-flex:
9628 @if flex
9629 maybe-info-flex: info-flex
9631 info-flex: \
9632 configure-flex
9633 @: $(MAKE); $(unstage)
9634 @[ -f ./flex/Makefile ] || exit 0; \
9635 r=`${PWD_COMMAND}`; export r; \
9636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9637 $(HOST_EXPORTS) \
9638 for flag in $(EXTRA_HOST_FLAGS) ; do \
9639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9640 done; \
9641 echo "Doing info in flex"; \
9642 (cd $(HOST_SUBDIR)/flex && \
9643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9645 "RANLIB=$${RANLIB}" \
9646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9647 info) \
9648 || exit 1
9650 @endif flex
9652 .PHONY: maybe-dvi-flex dvi-flex
9653 maybe-dvi-flex:
9654 @if flex
9655 maybe-dvi-flex: dvi-flex
9657 dvi-flex: \
9658 configure-flex
9659 @: $(MAKE); $(unstage)
9660 @[ -f ./flex/Makefile ] || exit 0; \
9661 r=`${PWD_COMMAND}`; export r; \
9662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9663 $(HOST_EXPORTS) \
9664 for flag in $(EXTRA_HOST_FLAGS) ; do \
9665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9666 done; \
9667 echo "Doing dvi in flex"; \
9668 (cd $(HOST_SUBDIR)/flex && \
9669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9671 "RANLIB=$${RANLIB}" \
9672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9673 dvi) \
9674 || exit 1
9676 @endif flex
9678 .PHONY: maybe-pdf-flex pdf-flex
9679 maybe-pdf-flex:
9680 @if flex
9681 maybe-pdf-flex: pdf-flex
9683 pdf-flex: \
9684 configure-flex
9685 @: $(MAKE); $(unstage)
9686 @[ -f ./flex/Makefile ] || exit 0; \
9687 r=`${PWD_COMMAND}`; export r; \
9688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9689 $(HOST_EXPORTS) \
9690 for flag in $(EXTRA_HOST_FLAGS) ; do \
9691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9692 done; \
9693 echo "Doing pdf in flex"; \
9694 (cd $(HOST_SUBDIR)/flex && \
9695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9697 "RANLIB=$${RANLIB}" \
9698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9699 pdf) \
9700 || exit 1
9702 @endif flex
9704 .PHONY: maybe-html-flex html-flex
9705 maybe-html-flex:
9706 @if flex
9707 maybe-html-flex: html-flex
9709 html-flex: \
9710 configure-flex
9711 @: $(MAKE); $(unstage)
9712 @[ -f ./flex/Makefile ] || exit 0; \
9713 r=`${PWD_COMMAND}`; export r; \
9714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9715 $(HOST_EXPORTS) \
9716 for flag in $(EXTRA_HOST_FLAGS) ; do \
9717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9718 done; \
9719 echo "Doing html in flex"; \
9720 (cd $(HOST_SUBDIR)/flex && \
9721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9723 "RANLIB=$${RANLIB}" \
9724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9725 html) \
9726 || exit 1
9728 @endif flex
9730 .PHONY: maybe-TAGS-flex TAGS-flex
9731 maybe-TAGS-flex:
9732 @if flex
9733 maybe-TAGS-flex: TAGS-flex
9735 TAGS-flex: \
9736 configure-flex
9737 @: $(MAKE); $(unstage)
9738 @[ -f ./flex/Makefile ] || exit 0; \
9739 r=`${PWD_COMMAND}`; export r; \
9740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9741 $(HOST_EXPORTS) \
9742 for flag in $(EXTRA_HOST_FLAGS) ; do \
9743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9744 done; \
9745 echo "Doing TAGS in flex"; \
9746 (cd $(HOST_SUBDIR)/flex && \
9747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9749 "RANLIB=$${RANLIB}" \
9750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9751 TAGS) \
9752 || exit 1
9754 @endif flex
9756 .PHONY: maybe-install-info-flex install-info-flex
9757 maybe-install-info-flex:
9758 @if flex
9759 maybe-install-info-flex: install-info-flex
9761 install-info-flex: \
9762 configure-flex \
9763 info-flex
9764 @: $(MAKE); $(unstage)
9765 @[ -f ./flex/Makefile ] || exit 0; \
9766 r=`${PWD_COMMAND}`; export r; \
9767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9768 $(HOST_EXPORTS) \
9769 for flag in $(EXTRA_HOST_FLAGS) ; do \
9770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9771 done; \
9772 echo "Doing install-info in flex"; \
9773 (cd $(HOST_SUBDIR)/flex && \
9774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9776 "RANLIB=$${RANLIB}" \
9777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9778 install-info) \
9779 || exit 1
9781 @endif flex
9783 .PHONY: maybe-install-pdf-flex install-pdf-flex
9784 maybe-install-pdf-flex:
9785 @if flex
9786 maybe-install-pdf-flex: install-pdf-flex
9788 install-pdf-flex: \
9789 configure-flex \
9790 pdf-flex
9791 @: $(MAKE); $(unstage)
9792 @[ -f ./flex/Makefile ] || exit 0; \
9793 r=`${PWD_COMMAND}`; export r; \
9794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9795 $(HOST_EXPORTS) \
9796 for flag in $(EXTRA_HOST_FLAGS) ; do \
9797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9798 done; \
9799 echo "Doing install-pdf in flex"; \
9800 (cd $(HOST_SUBDIR)/flex && \
9801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9803 "RANLIB=$${RANLIB}" \
9804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9805 install-pdf) \
9806 || exit 1
9808 @endif flex
9810 .PHONY: maybe-install-html-flex install-html-flex
9811 maybe-install-html-flex:
9812 @if flex
9813 maybe-install-html-flex: install-html-flex
9815 install-html-flex: \
9816 configure-flex \
9817 html-flex
9818 @: $(MAKE); $(unstage)
9819 @[ -f ./flex/Makefile ] || exit 0; \
9820 r=`${PWD_COMMAND}`; export r; \
9821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9822 $(HOST_EXPORTS) \
9823 for flag in $(EXTRA_HOST_FLAGS) ; do \
9824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9825 done; \
9826 echo "Doing install-html in flex"; \
9827 (cd $(HOST_SUBDIR)/flex && \
9828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9830 "RANLIB=$${RANLIB}" \
9831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9832 install-html) \
9833 || exit 1
9835 @endif flex
9837 .PHONY: maybe-installcheck-flex installcheck-flex
9838 maybe-installcheck-flex:
9839 @if flex
9840 maybe-installcheck-flex: installcheck-flex
9842 installcheck-flex: \
9843 configure-flex
9844 @: $(MAKE); $(unstage)
9845 @[ -f ./flex/Makefile ] || exit 0; \
9846 r=`${PWD_COMMAND}`; export r; \
9847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9848 $(HOST_EXPORTS) \
9849 for flag in $(EXTRA_HOST_FLAGS) ; do \
9850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9851 done; \
9852 echo "Doing installcheck in flex"; \
9853 (cd $(HOST_SUBDIR)/flex && \
9854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9856 "RANLIB=$${RANLIB}" \
9857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9858 installcheck) \
9859 || exit 1
9861 @endif flex
9863 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9864 maybe-mostlyclean-flex:
9865 @if flex
9866 maybe-mostlyclean-flex: mostlyclean-flex
9868 mostlyclean-flex:
9869 @: $(MAKE); $(unstage)
9870 @[ -f ./flex/Makefile ] || exit 0; \
9871 r=`${PWD_COMMAND}`; export r; \
9872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9873 $(HOST_EXPORTS) \
9874 for flag in $(EXTRA_HOST_FLAGS) ; do \
9875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9876 done; \
9877 echo "Doing mostlyclean in flex"; \
9878 (cd $(HOST_SUBDIR)/flex && \
9879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9881 "RANLIB=$${RANLIB}" \
9882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9883 mostlyclean) \
9884 || exit 1
9886 @endif flex
9888 .PHONY: maybe-clean-flex clean-flex
9889 maybe-clean-flex:
9890 @if flex
9891 maybe-clean-flex: clean-flex
9893 clean-flex:
9894 @: $(MAKE); $(unstage)
9895 @[ -f ./flex/Makefile ] || exit 0; \
9896 r=`${PWD_COMMAND}`; export r; \
9897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9898 $(HOST_EXPORTS) \
9899 for flag in $(EXTRA_HOST_FLAGS) ; do \
9900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9901 done; \
9902 echo "Doing clean in flex"; \
9903 (cd $(HOST_SUBDIR)/flex && \
9904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9906 "RANLIB=$${RANLIB}" \
9907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9908 clean) \
9909 || exit 1
9911 @endif flex
9913 .PHONY: maybe-distclean-flex distclean-flex
9914 maybe-distclean-flex:
9915 @if flex
9916 maybe-distclean-flex: distclean-flex
9918 distclean-flex:
9919 @: $(MAKE); $(unstage)
9920 @[ -f ./flex/Makefile ] || exit 0; \
9921 r=`${PWD_COMMAND}`; export r; \
9922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9923 $(HOST_EXPORTS) \
9924 for flag in $(EXTRA_HOST_FLAGS) ; do \
9925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9926 done; \
9927 echo "Doing distclean in flex"; \
9928 (cd $(HOST_SUBDIR)/flex && \
9929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9931 "RANLIB=$${RANLIB}" \
9932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9933 distclean) \
9934 || exit 1
9936 @endif flex
9938 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9939 maybe-maintainer-clean-flex:
9940 @if flex
9941 maybe-maintainer-clean-flex: maintainer-clean-flex
9943 maintainer-clean-flex:
9944 @: $(MAKE); $(unstage)
9945 @[ -f ./flex/Makefile ] || exit 0; \
9946 r=`${PWD_COMMAND}`; export r; \
9947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9948 $(HOST_EXPORTS) \
9949 for flag in $(EXTRA_HOST_FLAGS) ; do \
9950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9951 done; \
9952 echo "Doing maintainer-clean in flex"; \
9953 (cd $(HOST_SUBDIR)/flex && \
9954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9956 "RANLIB=$${RANLIB}" \
9957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9958 maintainer-clean) \
9959 || exit 1
9961 @endif flex
9965 .PHONY: configure-gas maybe-configure-gas
9966 maybe-configure-gas:
9967 @if gcc-bootstrap
9968 configure-gas: stage_current
9969 @endif gcc-bootstrap
9970 @if gas
9971 maybe-configure-gas: configure-gas
9972 configure-gas:
9973 @r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
9977 $(HOST_EXPORTS) \
9978 echo Configuring in $(HOST_SUBDIR)/gas; \
9979 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9980 case $(srcdir) in \
9981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9982 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9984 esac; \
9985 module_srcdir=gas; \
9986 $(SHELL) \
9987 $$s/$$module_srcdir/configure \
9988 --srcdir=$${topdir}/$$module_srcdir \
9989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9990 --target=${target_alias} \
9991 || exit 1
9992 @endif gas
9996 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9997 maybe-configure-stage1-gas:
9998 @if gas-bootstrap
9999 maybe-configure-stage1-gas: configure-stage1-gas
10000 configure-stage1-gas:
10001 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10003 @r=`${PWD_COMMAND}`; export r; \
10004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10005 TFLAGS="$(STAGE1_TFLAGS)"; \
10006 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10007 $(HOST_EXPORTS) \
10008 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10009 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10010 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10011 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10013 cd $(HOST_SUBDIR)/gas || exit 1; \
10014 case $(srcdir) in \
10015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10016 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10018 esac; \
10019 module_srcdir=gas; \
10020 $(SHELL) $$s/$$module_srcdir/configure \
10021 --srcdir=$${topdir}/$$module_srcdir \
10022 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10023 --target=${target_alias} \
10025 $(STAGE1_CONFIGURE_FLAGS)
10026 @endif gas-bootstrap
10028 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10029 maybe-configure-stage2-gas:
10030 @if gas-bootstrap
10031 maybe-configure-stage2-gas: configure-stage2-gas
10032 configure-stage2-gas:
10033 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10035 @r=`${PWD_COMMAND}`; export r; \
10036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10037 TFLAGS="$(STAGE2_TFLAGS)"; \
10038 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10039 $(HOST_EXPORTS) \
10040 $(POSTSTAGE1_HOST_EXPORTS) \
10041 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10042 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10043 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10044 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10046 cd $(HOST_SUBDIR)/gas || exit 1; \
10047 case $(srcdir) in \
10048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10049 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10051 esac; \
10052 module_srcdir=gas; \
10053 $(SHELL) $$s/$$module_srcdir/configure \
10054 --srcdir=$${topdir}/$$module_srcdir \
10055 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10056 --target=${target_alias} \
10057 --with-build-libsubdir=$(HOST_SUBDIR) \
10058 $(STAGE2_CONFIGURE_FLAGS)
10059 @endif gas-bootstrap
10061 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10062 maybe-configure-stage3-gas:
10063 @if gas-bootstrap
10064 maybe-configure-stage3-gas: configure-stage3-gas
10065 configure-stage3-gas:
10066 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10068 @r=`${PWD_COMMAND}`; export r; \
10069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10070 TFLAGS="$(STAGE3_TFLAGS)"; \
10071 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10072 $(HOST_EXPORTS) \
10073 $(POSTSTAGE1_HOST_EXPORTS) \
10074 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10075 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10076 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10077 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10079 cd $(HOST_SUBDIR)/gas || exit 1; \
10080 case $(srcdir) in \
10081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10082 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10084 esac; \
10085 module_srcdir=gas; \
10086 $(SHELL) $$s/$$module_srcdir/configure \
10087 --srcdir=$${topdir}/$$module_srcdir \
10088 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10089 --target=${target_alias} \
10090 --with-build-libsubdir=$(HOST_SUBDIR) \
10091 $(STAGE3_CONFIGURE_FLAGS)
10092 @endif gas-bootstrap
10094 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10095 maybe-configure-stage4-gas:
10096 @if gas-bootstrap
10097 maybe-configure-stage4-gas: configure-stage4-gas
10098 configure-stage4-gas:
10099 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10100 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10101 @r=`${PWD_COMMAND}`; export r; \
10102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10103 TFLAGS="$(STAGE4_TFLAGS)"; \
10104 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10105 $(HOST_EXPORTS) \
10106 $(POSTSTAGE1_HOST_EXPORTS) \
10107 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10108 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10109 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10110 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10112 cd $(HOST_SUBDIR)/gas || exit 1; \
10113 case $(srcdir) in \
10114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10115 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10117 esac; \
10118 module_srcdir=gas; \
10119 $(SHELL) $$s/$$module_srcdir/configure \
10120 --srcdir=$${topdir}/$$module_srcdir \
10121 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10122 --target=${target_alias} \
10123 --with-build-libsubdir=$(HOST_SUBDIR) \
10124 $(STAGE4_CONFIGURE_FLAGS)
10125 @endif gas-bootstrap
10127 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10128 maybe-configure-stageprofile-gas:
10129 @if gas-bootstrap
10130 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10131 configure-stageprofile-gas:
10132 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10134 @r=`${PWD_COMMAND}`; export r; \
10135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10137 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10138 $(HOST_EXPORTS) \
10139 $(POSTSTAGE1_HOST_EXPORTS) \
10140 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10141 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10142 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10143 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10145 cd $(HOST_SUBDIR)/gas || exit 1; \
10146 case $(srcdir) in \
10147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10148 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10150 esac; \
10151 module_srcdir=gas; \
10152 $(SHELL) $$s/$$module_srcdir/configure \
10153 --srcdir=$${topdir}/$$module_srcdir \
10154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10155 --target=${target_alias} \
10156 --with-build-libsubdir=$(HOST_SUBDIR) \
10157 $(STAGEprofile_CONFIGURE_FLAGS)
10158 @endif gas-bootstrap
10160 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10161 maybe-configure-stagefeedback-gas:
10162 @if gas-bootstrap
10163 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10164 configure-stagefeedback-gas:
10165 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10166 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10167 @r=`${PWD_COMMAND}`; export r; \
10168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10169 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10170 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10171 $(HOST_EXPORTS) \
10172 $(POSTSTAGE1_HOST_EXPORTS) \
10173 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10174 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10175 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10176 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10178 cd $(HOST_SUBDIR)/gas || exit 1; \
10179 case $(srcdir) in \
10180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10181 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10183 esac; \
10184 module_srcdir=gas; \
10185 $(SHELL) $$s/$$module_srcdir/configure \
10186 --srcdir=$${topdir}/$$module_srcdir \
10187 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10188 --target=${target_alias} \
10189 --with-build-libsubdir=$(HOST_SUBDIR) \
10190 $(STAGEfeedback_CONFIGURE_FLAGS)
10191 @endif gas-bootstrap
10193 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10194 maybe-configure-stageautoprofile-gas:
10195 @if gas-bootstrap
10196 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10197 configure-stageautoprofile-gas:
10198 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10200 @r=`${PWD_COMMAND}`; export r; \
10201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10202 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10203 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10204 $(HOST_EXPORTS) \
10205 $(POSTSTAGE1_HOST_EXPORTS) \
10206 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10207 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10208 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10209 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10211 cd $(HOST_SUBDIR)/gas || exit 1; \
10212 case $(srcdir) in \
10213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10214 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10216 esac; \
10217 module_srcdir=gas; \
10218 $(SHELL) $$s/$$module_srcdir/configure \
10219 --srcdir=$${topdir}/$$module_srcdir \
10220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10221 --target=${target_alias} \
10222 --with-build-libsubdir=$(HOST_SUBDIR) \
10223 $(STAGEautoprofile_CONFIGURE_FLAGS)
10224 @endif gas-bootstrap
10226 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10227 maybe-configure-stageautofeedback-gas:
10228 @if gas-bootstrap
10229 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10230 configure-stageautofeedback-gas:
10231 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10233 @r=`${PWD_COMMAND}`; export r; \
10234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10235 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10236 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10237 $(HOST_EXPORTS) \
10238 $(POSTSTAGE1_HOST_EXPORTS) \
10239 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10240 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10241 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10242 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10244 cd $(HOST_SUBDIR)/gas || exit 1; \
10245 case $(srcdir) in \
10246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10247 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10249 esac; \
10250 module_srcdir=gas; \
10251 $(SHELL) $$s/$$module_srcdir/configure \
10252 --srcdir=$${topdir}/$$module_srcdir \
10253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10254 --target=${target_alias} \
10255 --with-build-libsubdir=$(HOST_SUBDIR) \
10256 $(STAGEautofeedback_CONFIGURE_FLAGS)
10257 @endif gas-bootstrap
10263 .PHONY: all-gas maybe-all-gas
10264 maybe-all-gas:
10265 @if gcc-bootstrap
10266 all-gas: stage_current
10267 @endif gcc-bootstrap
10268 @if gas
10269 TARGET-gas=all
10270 maybe-all-gas: all-gas
10271 all-gas: configure-gas
10272 @r=`${PWD_COMMAND}`; export r; \
10273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10274 $(HOST_EXPORTS) \
10275 (cd $(HOST_SUBDIR)/gas && \
10276 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10277 $(TARGET-gas))
10278 @endif gas
10282 .PHONY: all-stage1-gas maybe-all-stage1-gas
10283 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10284 maybe-all-stage1-gas:
10285 maybe-clean-stage1-gas:
10286 @if gas-bootstrap
10287 maybe-all-stage1-gas: all-stage1-gas
10288 all-stage1: all-stage1-gas
10289 TARGET-stage1-gas = $(TARGET-gas)
10290 all-stage1-gas: configure-stage1-gas
10291 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10292 @r=`${PWD_COMMAND}`; export r; \
10293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10294 TFLAGS="$(STAGE1_TFLAGS)"; \
10295 $(HOST_EXPORTS) \
10296 cd $(HOST_SUBDIR)/gas && \
10298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10299 CFLAGS="$(STAGE1_CFLAGS)" \
10300 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10301 LIBCFLAGS="$(LIBCFLAGS)" \
10302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10305 $(EXTRA_HOST_FLAGS) \
10306 $(STAGE1_FLAGS_TO_PASS) \
10307 TFLAGS="$(STAGE1_TFLAGS)" \
10308 $(TARGET-stage1-gas)
10310 maybe-clean-stage1-gas: clean-stage1-gas
10311 clean-stage1: clean-stage1-gas
10312 clean-stage1-gas:
10313 @if [ $(current_stage) = stage1 ]; then \
10314 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10315 else \
10316 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10317 $(MAKE) stage1-start; \
10318 fi; \
10319 cd $(HOST_SUBDIR)/gas && \
10320 $(MAKE) $(EXTRA_HOST_FLAGS) \
10321 $(STAGE1_FLAGS_TO_PASS) clean
10322 @endif gas-bootstrap
10325 .PHONY: all-stage2-gas maybe-all-stage2-gas
10326 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10327 maybe-all-stage2-gas:
10328 maybe-clean-stage2-gas:
10329 @if gas-bootstrap
10330 maybe-all-stage2-gas: all-stage2-gas
10331 all-stage2: all-stage2-gas
10332 TARGET-stage2-gas = $(TARGET-gas)
10333 all-stage2-gas: configure-stage2-gas
10334 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10335 @r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10337 TFLAGS="$(STAGE2_TFLAGS)"; \
10338 $(HOST_EXPORTS) \
10339 $(POSTSTAGE1_HOST_EXPORTS) \
10340 cd $(HOST_SUBDIR)/gas && \
10342 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10343 CFLAGS="$(STAGE2_CFLAGS)" \
10344 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10345 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10346 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10347 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10348 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10349 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10350 TFLAGS="$(STAGE2_TFLAGS)" \
10351 $(TARGET-stage2-gas)
10353 maybe-clean-stage2-gas: clean-stage2-gas
10354 clean-stage2: clean-stage2-gas
10355 clean-stage2-gas:
10356 @if [ $(current_stage) = stage2 ]; then \
10357 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10358 else \
10359 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10360 $(MAKE) stage2-start; \
10361 fi; \
10362 cd $(HOST_SUBDIR)/gas && \
10363 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10364 @endif gas-bootstrap
10367 .PHONY: all-stage3-gas maybe-all-stage3-gas
10368 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10369 maybe-all-stage3-gas:
10370 maybe-clean-stage3-gas:
10371 @if gas-bootstrap
10372 maybe-all-stage3-gas: all-stage3-gas
10373 all-stage3: all-stage3-gas
10374 TARGET-stage3-gas = $(TARGET-gas)
10375 all-stage3-gas: configure-stage3-gas
10376 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10377 @r=`${PWD_COMMAND}`; export r; \
10378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10379 TFLAGS="$(STAGE3_TFLAGS)"; \
10380 $(HOST_EXPORTS) \
10381 $(POSTSTAGE1_HOST_EXPORTS) \
10382 cd $(HOST_SUBDIR)/gas && \
10384 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10385 CFLAGS="$(STAGE3_CFLAGS)" \
10386 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10387 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10388 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10389 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10390 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10391 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10392 TFLAGS="$(STAGE3_TFLAGS)" \
10393 $(TARGET-stage3-gas)
10395 maybe-clean-stage3-gas: clean-stage3-gas
10396 clean-stage3: clean-stage3-gas
10397 clean-stage3-gas:
10398 @if [ $(current_stage) = stage3 ]; then \
10399 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10400 else \
10401 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10402 $(MAKE) stage3-start; \
10403 fi; \
10404 cd $(HOST_SUBDIR)/gas && \
10405 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10406 @endif gas-bootstrap
10409 .PHONY: all-stage4-gas maybe-all-stage4-gas
10410 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10411 maybe-all-stage4-gas:
10412 maybe-clean-stage4-gas:
10413 @if gas-bootstrap
10414 maybe-all-stage4-gas: all-stage4-gas
10415 all-stage4: all-stage4-gas
10416 TARGET-stage4-gas = $(TARGET-gas)
10417 all-stage4-gas: configure-stage4-gas
10418 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10419 @r=`${PWD_COMMAND}`; export r; \
10420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10421 TFLAGS="$(STAGE4_TFLAGS)"; \
10422 $(HOST_EXPORTS) \
10423 $(POSTSTAGE1_HOST_EXPORTS) \
10424 cd $(HOST_SUBDIR)/gas && \
10426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10427 CFLAGS="$(STAGE4_CFLAGS)" \
10428 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10429 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10434 TFLAGS="$(STAGE4_TFLAGS)" \
10435 $(TARGET-stage4-gas)
10437 maybe-clean-stage4-gas: clean-stage4-gas
10438 clean-stage4: clean-stage4-gas
10439 clean-stage4-gas:
10440 @if [ $(current_stage) = stage4 ]; then \
10441 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10442 else \
10443 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10444 $(MAKE) stage4-start; \
10445 fi; \
10446 cd $(HOST_SUBDIR)/gas && \
10447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10448 @endif gas-bootstrap
10451 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10452 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10453 maybe-all-stageprofile-gas:
10454 maybe-clean-stageprofile-gas:
10455 @if gas-bootstrap
10456 maybe-all-stageprofile-gas: all-stageprofile-gas
10457 all-stageprofile: all-stageprofile-gas
10458 TARGET-stageprofile-gas = $(TARGET-gas)
10459 all-stageprofile-gas: configure-stageprofile-gas
10460 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10461 @r=`${PWD_COMMAND}`; export r; \
10462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10463 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10464 $(HOST_EXPORTS) \
10465 $(POSTSTAGE1_HOST_EXPORTS) \
10466 cd $(HOST_SUBDIR)/gas && \
10468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10469 CFLAGS="$(STAGEprofile_CFLAGS)" \
10470 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10471 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10476 TFLAGS="$(STAGEprofile_TFLAGS)" \
10477 $(TARGET-stageprofile-gas)
10479 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10480 clean-stageprofile: clean-stageprofile-gas
10481 clean-stageprofile-gas:
10482 @if [ $(current_stage) = stageprofile ]; then \
10483 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10484 else \
10485 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10486 $(MAKE) stageprofile-start; \
10487 fi; \
10488 cd $(HOST_SUBDIR)/gas && \
10489 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10490 @endif gas-bootstrap
10493 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10494 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10495 maybe-all-stagefeedback-gas:
10496 maybe-clean-stagefeedback-gas:
10497 @if gas-bootstrap
10498 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10499 all-stagefeedback: all-stagefeedback-gas
10500 TARGET-stagefeedback-gas = $(TARGET-gas)
10501 all-stagefeedback-gas: configure-stagefeedback-gas
10502 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10503 @r=`${PWD_COMMAND}`; export r; \
10504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10505 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10506 $(HOST_EXPORTS) \
10507 $(POSTSTAGE1_HOST_EXPORTS) \
10508 cd $(HOST_SUBDIR)/gas && \
10510 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10511 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10512 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10513 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10514 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10515 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10516 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10517 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10518 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10519 $(TARGET-stagefeedback-gas)
10521 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10522 clean-stagefeedback: clean-stagefeedback-gas
10523 clean-stagefeedback-gas:
10524 @if [ $(current_stage) = stagefeedback ]; then \
10525 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10526 else \
10527 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10528 $(MAKE) stagefeedback-start; \
10529 fi; \
10530 cd $(HOST_SUBDIR)/gas && \
10531 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10532 @endif gas-bootstrap
10535 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10536 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10537 maybe-all-stageautoprofile-gas:
10538 maybe-clean-stageautoprofile-gas:
10539 @if gas-bootstrap
10540 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10541 all-stageautoprofile: all-stageautoprofile-gas
10542 TARGET-stageautoprofile-gas = $(TARGET-gas)
10543 all-stageautoprofile-gas: configure-stageautoprofile-gas
10544 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10545 @r=`${PWD_COMMAND}`; export r; \
10546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10547 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10548 $(HOST_EXPORTS) \
10549 $(POSTSTAGE1_HOST_EXPORTS) \
10550 cd $(HOST_SUBDIR)/gas && \
10551 $$s/gcc/config/i386/$(AUTO_PROFILE) \
10552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10553 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
10554 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
10555 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
10556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10560 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
10561 $(TARGET-stageautoprofile-gas)
10563 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
10564 clean-stageautoprofile: clean-stageautoprofile-gas
10565 clean-stageautoprofile-gas:
10566 @if [ $(current_stage) = stageautoprofile ]; then \
10567 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10568 else \
10569 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
10570 $(MAKE) stageautoprofile-start; \
10571 fi; \
10572 cd $(HOST_SUBDIR)/gas && \
10573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10574 @endif gas-bootstrap
10577 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
10578 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
10579 maybe-all-stageautofeedback-gas:
10580 maybe-clean-stageautofeedback-gas:
10581 @if gas-bootstrap
10582 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
10583 all-stageautofeedback: all-stageautofeedback-gas
10584 TARGET-stageautofeedback-gas = $(TARGET-gas)
10585 all-stageautofeedback-gas: configure-stageautofeedback-gas
10586 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10587 @r=`${PWD_COMMAND}`; export r; \
10588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10589 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10590 $(HOST_EXPORTS) \
10591 $(POSTSTAGE1_HOST_EXPORTS) \
10592 cd $(HOST_SUBDIR)/gas && \
10594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10595 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10596 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10597 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10602 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10603 $(TARGET-stageautofeedback-gas)
10605 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
10606 clean-stageautofeedback: clean-stageautofeedback-gas
10607 clean-stageautofeedback-gas:
10608 @if [ $(current_stage) = stageautofeedback ]; then \
10609 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10610 else \
10611 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
10612 $(MAKE) stageautofeedback-start; \
10613 fi; \
10614 cd $(HOST_SUBDIR)/gas && \
10615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10616 @endif gas-bootstrap
10622 .PHONY: check-gas maybe-check-gas
10623 maybe-check-gas:
10624 @if gas
10625 maybe-check-gas: check-gas
10627 check-gas:
10628 @: $(MAKE); $(unstage)
10629 @r=`${PWD_COMMAND}`; export r; \
10630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10632 (cd $(HOST_SUBDIR)/gas && \
10633 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10635 @endif gas
10637 .PHONY: install-gas maybe-install-gas
10638 maybe-install-gas:
10639 @if gas
10640 maybe-install-gas: install-gas
10642 install-gas: installdirs
10643 @: $(MAKE); $(unstage)
10644 @r=`${PWD_COMMAND}`; export r; \
10645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10646 $(HOST_EXPORTS) \
10647 (cd $(HOST_SUBDIR)/gas && \
10648 $(MAKE) $(FLAGS_TO_PASS) install)
10650 @endif gas
10652 .PHONY: install-strip-gas maybe-install-strip-gas
10653 maybe-install-strip-gas:
10654 @if gas
10655 maybe-install-strip-gas: install-strip-gas
10657 install-strip-gas: installdirs
10658 @: $(MAKE); $(unstage)
10659 @r=`${PWD_COMMAND}`; export r; \
10660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10661 $(HOST_EXPORTS) \
10662 (cd $(HOST_SUBDIR)/gas && \
10663 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10665 @endif gas
10667 # Other targets (info, dvi, pdf, etc.)
10669 .PHONY: maybe-info-gas info-gas
10670 maybe-info-gas:
10671 @if gas
10672 maybe-info-gas: info-gas
10674 info-gas: \
10675 configure-gas
10676 @[ -f ./gas/Makefile ] || exit 0; \
10677 r=`${PWD_COMMAND}`; export r; \
10678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10679 $(HOST_EXPORTS) \
10680 for flag in $(EXTRA_HOST_FLAGS) ; do \
10681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10682 done; \
10683 echo "Doing info in gas"; \
10684 (cd $(HOST_SUBDIR)/gas && \
10685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10687 "RANLIB=$${RANLIB}" \
10688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10689 info) \
10690 || exit 1
10692 @endif gas
10694 .PHONY: maybe-dvi-gas dvi-gas
10695 maybe-dvi-gas:
10696 @if gas
10697 maybe-dvi-gas: dvi-gas
10699 dvi-gas: \
10700 configure-gas
10701 @[ -f ./gas/Makefile ] || exit 0; \
10702 r=`${PWD_COMMAND}`; export r; \
10703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10704 $(HOST_EXPORTS) \
10705 for flag in $(EXTRA_HOST_FLAGS) ; do \
10706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10707 done; \
10708 echo "Doing dvi in gas"; \
10709 (cd $(HOST_SUBDIR)/gas && \
10710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10712 "RANLIB=$${RANLIB}" \
10713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10714 dvi) \
10715 || exit 1
10717 @endif gas
10719 .PHONY: maybe-pdf-gas pdf-gas
10720 maybe-pdf-gas:
10721 @if gas
10722 maybe-pdf-gas: pdf-gas
10724 pdf-gas: \
10725 configure-gas
10726 @[ -f ./gas/Makefile ] || exit 0; \
10727 r=`${PWD_COMMAND}`; export r; \
10728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10729 $(HOST_EXPORTS) \
10730 for flag in $(EXTRA_HOST_FLAGS) ; do \
10731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10732 done; \
10733 echo "Doing pdf in gas"; \
10734 (cd $(HOST_SUBDIR)/gas && \
10735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10737 "RANLIB=$${RANLIB}" \
10738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10739 pdf) \
10740 || exit 1
10742 @endif gas
10744 .PHONY: maybe-html-gas html-gas
10745 maybe-html-gas:
10746 @if gas
10747 maybe-html-gas: html-gas
10749 html-gas: \
10750 configure-gas
10751 @[ -f ./gas/Makefile ] || exit 0; \
10752 r=`${PWD_COMMAND}`; export r; \
10753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10754 $(HOST_EXPORTS) \
10755 for flag in $(EXTRA_HOST_FLAGS) ; do \
10756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10757 done; \
10758 echo "Doing html in gas"; \
10759 (cd $(HOST_SUBDIR)/gas && \
10760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10762 "RANLIB=$${RANLIB}" \
10763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10764 html) \
10765 || exit 1
10767 @endif gas
10769 .PHONY: maybe-TAGS-gas TAGS-gas
10770 maybe-TAGS-gas:
10771 @if gas
10772 maybe-TAGS-gas: TAGS-gas
10774 TAGS-gas: \
10775 configure-gas
10776 @[ -f ./gas/Makefile ] || exit 0; \
10777 r=`${PWD_COMMAND}`; export r; \
10778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10779 $(HOST_EXPORTS) \
10780 for flag in $(EXTRA_HOST_FLAGS) ; do \
10781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10782 done; \
10783 echo "Doing TAGS in gas"; \
10784 (cd $(HOST_SUBDIR)/gas && \
10785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10787 "RANLIB=$${RANLIB}" \
10788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10789 TAGS) \
10790 || exit 1
10792 @endif gas
10794 .PHONY: maybe-install-info-gas install-info-gas
10795 maybe-install-info-gas:
10796 @if gas
10797 maybe-install-info-gas: install-info-gas
10799 install-info-gas: \
10800 configure-gas \
10801 info-gas
10802 @[ -f ./gas/Makefile ] || exit 0; \
10803 r=`${PWD_COMMAND}`; export r; \
10804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10805 $(HOST_EXPORTS) \
10806 for flag in $(EXTRA_HOST_FLAGS) ; do \
10807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10808 done; \
10809 echo "Doing install-info in gas"; \
10810 (cd $(HOST_SUBDIR)/gas && \
10811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10813 "RANLIB=$${RANLIB}" \
10814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10815 install-info) \
10816 || exit 1
10818 @endif gas
10820 .PHONY: maybe-install-pdf-gas install-pdf-gas
10821 maybe-install-pdf-gas:
10822 @if gas
10823 maybe-install-pdf-gas: install-pdf-gas
10825 install-pdf-gas: \
10826 configure-gas \
10827 pdf-gas
10828 @[ -f ./gas/Makefile ] || exit 0; \
10829 r=`${PWD_COMMAND}`; export r; \
10830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10831 $(HOST_EXPORTS) \
10832 for flag in $(EXTRA_HOST_FLAGS) ; do \
10833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10834 done; \
10835 echo "Doing install-pdf in gas"; \
10836 (cd $(HOST_SUBDIR)/gas && \
10837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10839 "RANLIB=$${RANLIB}" \
10840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10841 install-pdf) \
10842 || exit 1
10844 @endif gas
10846 .PHONY: maybe-install-html-gas install-html-gas
10847 maybe-install-html-gas:
10848 @if gas
10849 maybe-install-html-gas: install-html-gas
10851 install-html-gas: \
10852 configure-gas \
10853 html-gas
10854 @[ -f ./gas/Makefile ] || exit 0; \
10855 r=`${PWD_COMMAND}`; export r; \
10856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10857 $(HOST_EXPORTS) \
10858 for flag in $(EXTRA_HOST_FLAGS) ; do \
10859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10860 done; \
10861 echo "Doing install-html in gas"; \
10862 (cd $(HOST_SUBDIR)/gas && \
10863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10865 "RANLIB=$${RANLIB}" \
10866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10867 install-html) \
10868 || exit 1
10870 @endif gas
10872 .PHONY: maybe-installcheck-gas installcheck-gas
10873 maybe-installcheck-gas:
10874 @if gas
10875 maybe-installcheck-gas: installcheck-gas
10877 installcheck-gas: \
10878 configure-gas
10879 @[ -f ./gas/Makefile ] || exit 0; \
10880 r=`${PWD_COMMAND}`; export r; \
10881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10882 $(HOST_EXPORTS) \
10883 for flag in $(EXTRA_HOST_FLAGS) ; do \
10884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10885 done; \
10886 echo "Doing installcheck in gas"; \
10887 (cd $(HOST_SUBDIR)/gas && \
10888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10890 "RANLIB=$${RANLIB}" \
10891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10892 installcheck) \
10893 || exit 1
10895 @endif gas
10897 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10898 maybe-mostlyclean-gas:
10899 @if gas
10900 maybe-mostlyclean-gas: mostlyclean-gas
10902 mostlyclean-gas:
10903 @[ -f ./gas/Makefile ] || exit 0; \
10904 r=`${PWD_COMMAND}`; export r; \
10905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10906 $(HOST_EXPORTS) \
10907 for flag in $(EXTRA_HOST_FLAGS) ; do \
10908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10909 done; \
10910 echo "Doing mostlyclean in gas"; \
10911 (cd $(HOST_SUBDIR)/gas && \
10912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10914 "RANLIB=$${RANLIB}" \
10915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10916 mostlyclean) \
10917 || exit 1
10919 @endif gas
10921 .PHONY: maybe-clean-gas clean-gas
10922 maybe-clean-gas:
10923 @if gas
10924 maybe-clean-gas: clean-gas
10926 clean-gas:
10927 @[ -f ./gas/Makefile ] || exit 0; \
10928 r=`${PWD_COMMAND}`; export r; \
10929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10930 $(HOST_EXPORTS) \
10931 for flag in $(EXTRA_HOST_FLAGS) ; do \
10932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10933 done; \
10934 echo "Doing clean in gas"; \
10935 (cd $(HOST_SUBDIR)/gas && \
10936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10938 "RANLIB=$${RANLIB}" \
10939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10940 clean) \
10941 || exit 1
10943 @endif gas
10945 .PHONY: maybe-distclean-gas distclean-gas
10946 maybe-distclean-gas:
10947 @if gas
10948 maybe-distclean-gas: distclean-gas
10950 distclean-gas:
10951 @[ -f ./gas/Makefile ] || exit 0; \
10952 r=`${PWD_COMMAND}`; export r; \
10953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10954 $(HOST_EXPORTS) \
10955 for flag in $(EXTRA_HOST_FLAGS) ; do \
10956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10957 done; \
10958 echo "Doing distclean in gas"; \
10959 (cd $(HOST_SUBDIR)/gas && \
10960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10962 "RANLIB=$${RANLIB}" \
10963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10964 distclean) \
10965 || exit 1
10967 @endif gas
10969 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10970 maybe-maintainer-clean-gas:
10971 @if gas
10972 maybe-maintainer-clean-gas: maintainer-clean-gas
10974 maintainer-clean-gas:
10975 @[ -f ./gas/Makefile ] || exit 0; \
10976 r=`${PWD_COMMAND}`; export r; \
10977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10978 $(HOST_EXPORTS) \
10979 for flag in $(EXTRA_HOST_FLAGS) ; do \
10980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10981 done; \
10982 echo "Doing maintainer-clean in gas"; \
10983 (cd $(HOST_SUBDIR)/gas && \
10984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10986 "RANLIB=$${RANLIB}" \
10987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10988 maintainer-clean) \
10989 || exit 1
10991 @endif gas
10995 .PHONY: configure-gcc maybe-configure-gcc
10996 maybe-configure-gcc:
10997 @if gcc-bootstrap
10998 configure-gcc: stage_current
10999 @endif gcc-bootstrap
11000 @if gcc
11001 maybe-configure-gcc: configure-gcc
11002 configure-gcc:
11003 @r=`${PWD_COMMAND}`; export r; \
11004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11005 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11007 $(HOST_EXPORTS) \
11008 echo Configuring in $(HOST_SUBDIR)/gcc; \
11009 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11010 case $(srcdir) in \
11011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11012 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11014 esac; \
11015 module_srcdir=gcc; \
11016 $(SHELL) \
11017 $$s/$$module_srcdir/configure \
11018 --srcdir=$${topdir}/$$module_srcdir \
11019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11020 --target=${target_alias} \
11021 || exit 1
11022 @endif gcc
11026 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11027 maybe-configure-stage1-gcc:
11028 @if gcc-bootstrap
11029 maybe-configure-stage1-gcc: configure-stage1-gcc
11030 configure-stage1-gcc:
11031 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11032 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11033 @r=`${PWD_COMMAND}`; export r; \
11034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11035 TFLAGS="$(STAGE1_TFLAGS)"; \
11036 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11037 $(HOST_EXPORTS) \
11038 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11039 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11040 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11041 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11043 cd $(HOST_SUBDIR)/gcc || exit 1; \
11044 case $(srcdir) in \
11045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11046 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11048 esac; \
11049 module_srcdir=gcc; \
11050 $(SHELL) $$s/$$module_srcdir/configure \
11051 --srcdir=$${topdir}/$$module_srcdir \
11052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11053 --target=${target_alias} \
11055 $(STAGE1_CONFIGURE_FLAGS)
11056 @endif gcc-bootstrap
11058 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11059 maybe-configure-stage2-gcc:
11060 @if gcc-bootstrap
11061 maybe-configure-stage2-gcc: configure-stage2-gcc
11062 configure-stage2-gcc:
11063 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11064 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11065 @r=`${PWD_COMMAND}`; export r; \
11066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11067 TFLAGS="$(STAGE2_TFLAGS)"; \
11068 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11069 $(HOST_EXPORTS) \
11070 $(POSTSTAGE1_HOST_EXPORTS) \
11071 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11072 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11073 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11074 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11076 cd $(HOST_SUBDIR)/gcc || exit 1; \
11077 case $(srcdir) in \
11078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11079 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11081 esac; \
11082 module_srcdir=gcc; \
11083 $(SHELL) $$s/$$module_srcdir/configure \
11084 --srcdir=$${topdir}/$$module_srcdir \
11085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11086 --target=${target_alias} \
11087 --with-build-libsubdir=$(HOST_SUBDIR) \
11088 $(STAGE2_CONFIGURE_FLAGS)
11089 @endif gcc-bootstrap
11091 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11092 maybe-configure-stage3-gcc:
11093 @if gcc-bootstrap
11094 maybe-configure-stage3-gcc: configure-stage3-gcc
11095 configure-stage3-gcc:
11096 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11098 @r=`${PWD_COMMAND}`; export r; \
11099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11100 TFLAGS="$(STAGE3_TFLAGS)"; \
11101 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11102 $(HOST_EXPORTS) \
11103 $(POSTSTAGE1_HOST_EXPORTS) \
11104 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11105 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11106 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11107 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11109 cd $(HOST_SUBDIR)/gcc || exit 1; \
11110 case $(srcdir) in \
11111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11112 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11114 esac; \
11115 module_srcdir=gcc; \
11116 $(SHELL) $$s/$$module_srcdir/configure \
11117 --srcdir=$${topdir}/$$module_srcdir \
11118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11119 --target=${target_alias} \
11120 --with-build-libsubdir=$(HOST_SUBDIR) \
11121 $(STAGE3_CONFIGURE_FLAGS)
11122 @endif gcc-bootstrap
11124 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11125 maybe-configure-stage4-gcc:
11126 @if gcc-bootstrap
11127 maybe-configure-stage4-gcc: configure-stage4-gcc
11128 configure-stage4-gcc:
11129 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11131 @r=`${PWD_COMMAND}`; export r; \
11132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11133 TFLAGS="$(STAGE4_TFLAGS)"; \
11134 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11135 $(HOST_EXPORTS) \
11136 $(POSTSTAGE1_HOST_EXPORTS) \
11137 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11138 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11139 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11140 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11142 cd $(HOST_SUBDIR)/gcc || exit 1; \
11143 case $(srcdir) in \
11144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11145 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11147 esac; \
11148 module_srcdir=gcc; \
11149 $(SHELL) $$s/$$module_srcdir/configure \
11150 --srcdir=$${topdir}/$$module_srcdir \
11151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11152 --target=${target_alias} \
11153 --with-build-libsubdir=$(HOST_SUBDIR) \
11154 $(STAGE4_CONFIGURE_FLAGS)
11155 @endif gcc-bootstrap
11157 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11158 maybe-configure-stageprofile-gcc:
11159 @if gcc-bootstrap
11160 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11161 configure-stageprofile-gcc:
11162 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11164 @r=`${PWD_COMMAND}`; export r; \
11165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11166 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11167 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11168 $(HOST_EXPORTS) \
11169 $(POSTSTAGE1_HOST_EXPORTS) \
11170 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11171 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11172 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11173 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11175 cd $(HOST_SUBDIR)/gcc || exit 1; \
11176 case $(srcdir) in \
11177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11178 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11180 esac; \
11181 module_srcdir=gcc; \
11182 $(SHELL) $$s/$$module_srcdir/configure \
11183 --srcdir=$${topdir}/$$module_srcdir \
11184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11185 --target=${target_alias} \
11186 --with-build-libsubdir=$(HOST_SUBDIR) \
11187 $(STAGEprofile_CONFIGURE_FLAGS)
11188 @endif gcc-bootstrap
11190 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11191 maybe-configure-stagefeedback-gcc:
11192 @if gcc-bootstrap
11193 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11194 configure-stagefeedback-gcc:
11195 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11196 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11197 @r=`${PWD_COMMAND}`; export r; \
11198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11199 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11200 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11201 $(HOST_EXPORTS) \
11202 $(POSTSTAGE1_HOST_EXPORTS) \
11203 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11204 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11205 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11206 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11208 cd $(HOST_SUBDIR)/gcc || exit 1; \
11209 case $(srcdir) in \
11210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11211 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11213 esac; \
11214 module_srcdir=gcc; \
11215 $(SHELL) $$s/$$module_srcdir/configure \
11216 --srcdir=$${topdir}/$$module_srcdir \
11217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11218 --target=${target_alias} \
11219 --with-build-libsubdir=$(HOST_SUBDIR) \
11220 $(STAGEfeedback_CONFIGURE_FLAGS)
11221 @endif gcc-bootstrap
11223 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11224 maybe-configure-stageautoprofile-gcc:
11225 @if gcc-bootstrap
11226 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11227 configure-stageautoprofile-gcc:
11228 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11229 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11230 @r=`${PWD_COMMAND}`; export r; \
11231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11232 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11233 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11234 $(HOST_EXPORTS) \
11235 $(POSTSTAGE1_HOST_EXPORTS) \
11236 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11237 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11238 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11239 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11241 cd $(HOST_SUBDIR)/gcc || exit 1; \
11242 case $(srcdir) in \
11243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11244 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11246 esac; \
11247 module_srcdir=gcc; \
11248 $(SHELL) $$s/$$module_srcdir/configure \
11249 --srcdir=$${topdir}/$$module_srcdir \
11250 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11251 --target=${target_alias} \
11252 --with-build-libsubdir=$(HOST_SUBDIR) \
11253 $(STAGEautoprofile_CONFIGURE_FLAGS)
11254 @endif gcc-bootstrap
11256 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11257 maybe-configure-stageautofeedback-gcc:
11258 @if gcc-bootstrap
11259 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11260 configure-stageautofeedback-gcc:
11261 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11262 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11263 @r=`${PWD_COMMAND}`; export r; \
11264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11265 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11266 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11267 $(HOST_EXPORTS) \
11268 $(POSTSTAGE1_HOST_EXPORTS) \
11269 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11270 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11271 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11272 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11273 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11274 cd $(HOST_SUBDIR)/gcc || exit 1; \
11275 case $(srcdir) in \
11276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11277 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11279 esac; \
11280 module_srcdir=gcc; \
11281 $(SHELL) $$s/$$module_srcdir/configure \
11282 --srcdir=$${topdir}/$$module_srcdir \
11283 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11284 --target=${target_alias} \
11285 --with-build-libsubdir=$(HOST_SUBDIR) \
11286 $(STAGEautofeedback_CONFIGURE_FLAGS)
11287 @endif gcc-bootstrap
11293 .PHONY: all-gcc maybe-all-gcc
11294 maybe-all-gcc:
11295 @if gcc-bootstrap
11296 all-gcc: stage_current
11297 @endif gcc-bootstrap
11298 @if gcc
11299 TARGET-gcc=all
11300 maybe-all-gcc: all-gcc
11301 all-gcc: configure-gcc
11302 @r=`${PWD_COMMAND}`; export r; \
11303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11304 $(HOST_EXPORTS) \
11305 (cd $(HOST_SUBDIR)/gcc && \
11306 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11307 $(TARGET-gcc))
11308 @endif gcc
11312 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11313 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11314 maybe-all-stage1-gcc:
11315 maybe-clean-stage1-gcc:
11316 @if gcc-bootstrap
11317 maybe-all-stage1-gcc: all-stage1-gcc
11318 all-stage1: all-stage1-gcc
11319 TARGET-stage1-gcc = $(TARGET-gcc)
11320 all-stage1-gcc: configure-stage1-gcc
11321 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11322 @r=`${PWD_COMMAND}`; export r; \
11323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11324 TFLAGS="$(STAGE1_TFLAGS)"; \
11325 $(HOST_EXPORTS) \
11326 cd $(HOST_SUBDIR)/gcc && \
11328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11329 CFLAGS="$(STAGE1_CFLAGS)" \
11330 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11331 LIBCFLAGS="$(LIBCFLAGS)" \
11332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11335 $(EXTRA_HOST_FLAGS) \
11336 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11337 TFLAGS="$(STAGE1_TFLAGS)" \
11338 $(TARGET-stage1-gcc)
11340 maybe-clean-stage1-gcc: clean-stage1-gcc
11341 clean-stage1: clean-stage1-gcc
11342 clean-stage1-gcc:
11343 @if [ $(current_stage) = stage1 ]; then \
11344 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11345 else \
11346 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11347 $(MAKE) stage1-start; \
11348 fi; \
11349 cd $(HOST_SUBDIR)/gcc && \
11350 $(MAKE) $(EXTRA_HOST_FLAGS) \
11351 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11352 @endif gcc-bootstrap
11355 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11356 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11357 maybe-all-stage2-gcc:
11358 maybe-clean-stage2-gcc:
11359 @if gcc-bootstrap
11360 maybe-all-stage2-gcc: all-stage2-gcc
11361 all-stage2: all-stage2-gcc
11362 TARGET-stage2-gcc = $(TARGET-gcc)
11363 all-stage2-gcc: configure-stage2-gcc
11364 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11365 @r=`${PWD_COMMAND}`; export r; \
11366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11367 TFLAGS="$(STAGE2_TFLAGS)"; \
11368 $(HOST_EXPORTS) \
11369 $(POSTSTAGE1_HOST_EXPORTS) \
11370 cd $(HOST_SUBDIR)/gcc && \
11372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11373 CFLAGS="$(STAGE2_CFLAGS)" \
11374 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11375 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11380 TFLAGS="$(STAGE2_TFLAGS)" \
11381 $(TARGET-stage2-gcc)
11383 maybe-clean-stage2-gcc: clean-stage2-gcc
11384 clean-stage2: clean-stage2-gcc
11385 clean-stage2-gcc:
11386 @if [ $(current_stage) = stage2 ]; then \
11387 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11388 else \
11389 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11390 $(MAKE) stage2-start; \
11391 fi; \
11392 cd $(HOST_SUBDIR)/gcc && \
11393 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11394 @endif gcc-bootstrap
11397 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11398 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11399 maybe-all-stage3-gcc:
11400 maybe-clean-stage3-gcc:
11401 @if gcc-bootstrap
11402 maybe-all-stage3-gcc: all-stage3-gcc
11403 all-stage3: all-stage3-gcc
11404 TARGET-stage3-gcc = $(TARGET-gcc)
11405 all-stage3-gcc: configure-stage3-gcc
11406 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11407 @r=`${PWD_COMMAND}`; export r; \
11408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11409 TFLAGS="$(STAGE3_TFLAGS)"; \
11410 $(HOST_EXPORTS) \
11411 $(POSTSTAGE1_HOST_EXPORTS) \
11412 cd $(HOST_SUBDIR)/gcc && \
11414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11415 CFLAGS="$(STAGE3_CFLAGS)" \
11416 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11417 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11422 TFLAGS="$(STAGE3_TFLAGS)" \
11423 $(TARGET-stage3-gcc)
11425 maybe-clean-stage3-gcc: clean-stage3-gcc
11426 clean-stage3: clean-stage3-gcc
11427 clean-stage3-gcc:
11428 @if [ $(current_stage) = stage3 ]; then \
11429 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11430 else \
11431 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11432 $(MAKE) stage3-start; \
11433 fi; \
11434 cd $(HOST_SUBDIR)/gcc && \
11435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11436 @endif gcc-bootstrap
11439 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11440 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11441 maybe-all-stage4-gcc:
11442 maybe-clean-stage4-gcc:
11443 @if gcc-bootstrap
11444 maybe-all-stage4-gcc: all-stage4-gcc
11445 all-stage4: all-stage4-gcc
11446 TARGET-stage4-gcc = $(TARGET-gcc)
11447 all-stage4-gcc: configure-stage4-gcc
11448 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11449 @r=`${PWD_COMMAND}`; export r; \
11450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11451 TFLAGS="$(STAGE4_TFLAGS)"; \
11452 $(HOST_EXPORTS) \
11453 $(POSTSTAGE1_HOST_EXPORTS) \
11454 cd $(HOST_SUBDIR)/gcc && \
11456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11457 CFLAGS="$(STAGE4_CFLAGS)" \
11458 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11459 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11464 TFLAGS="$(STAGE4_TFLAGS)" \
11465 $(TARGET-stage4-gcc)
11467 maybe-clean-stage4-gcc: clean-stage4-gcc
11468 clean-stage4: clean-stage4-gcc
11469 clean-stage4-gcc:
11470 @if [ $(current_stage) = stage4 ]; then \
11471 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11472 else \
11473 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11474 $(MAKE) stage4-start; \
11475 fi; \
11476 cd $(HOST_SUBDIR)/gcc && \
11477 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11478 @endif gcc-bootstrap
11481 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11482 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11483 maybe-all-stageprofile-gcc:
11484 maybe-clean-stageprofile-gcc:
11485 @if gcc-bootstrap
11486 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11487 all-stageprofile: all-stageprofile-gcc
11488 TARGET-stageprofile-gcc = $(TARGET-gcc)
11489 all-stageprofile-gcc: configure-stageprofile-gcc
11490 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11491 @r=`${PWD_COMMAND}`; export r; \
11492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11493 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11494 $(HOST_EXPORTS) \
11495 $(POSTSTAGE1_HOST_EXPORTS) \
11496 cd $(HOST_SUBDIR)/gcc && \
11498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11499 CFLAGS="$(STAGEprofile_CFLAGS)" \
11500 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11501 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11502 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11505 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11506 TFLAGS="$(STAGEprofile_TFLAGS)" \
11507 $(TARGET-stageprofile-gcc)
11509 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11510 clean-stageprofile: clean-stageprofile-gcc
11511 clean-stageprofile-gcc:
11512 @if [ $(current_stage) = stageprofile ]; then \
11513 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11514 else \
11515 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
11516 $(MAKE) stageprofile-start; \
11517 fi; \
11518 cd $(HOST_SUBDIR)/gcc && \
11519 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11520 @endif gcc-bootstrap
11523 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11524 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11525 maybe-all-stagefeedback-gcc:
11526 maybe-clean-stagefeedback-gcc:
11527 @if gcc-bootstrap
11528 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11529 all-stagefeedback: all-stagefeedback-gcc
11530 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11531 all-stagefeedback-gcc: configure-stagefeedback-gcc
11532 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11533 @r=`${PWD_COMMAND}`; export r; \
11534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11535 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11536 $(HOST_EXPORTS) \
11537 $(POSTSTAGE1_HOST_EXPORTS) \
11538 cd $(HOST_SUBDIR)/gcc && \
11540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11541 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11542 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11543 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11547 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11548 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11549 $(TARGET-stagefeedback-gcc)
11551 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11552 clean-stagefeedback: clean-stagefeedback-gcc
11553 clean-stagefeedback-gcc:
11554 @if [ $(current_stage) = stagefeedback ]; then \
11555 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11556 else \
11557 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
11558 $(MAKE) stagefeedback-start; \
11559 fi; \
11560 cd $(HOST_SUBDIR)/gcc && \
11561 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11562 @endif gcc-bootstrap
11565 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
11566 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
11567 maybe-all-stageautoprofile-gcc:
11568 maybe-clean-stageautoprofile-gcc:
11569 @if gcc-bootstrap
11570 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
11571 all-stageautoprofile: all-stageautoprofile-gcc
11572 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
11573 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
11574 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11575 @r=`${PWD_COMMAND}`; export r; \
11576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11577 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11578 $(HOST_EXPORTS) \
11579 $(POSTSTAGE1_HOST_EXPORTS) \
11580 cd $(HOST_SUBDIR)/gcc && \
11581 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11583 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11584 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11585 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11589 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11590 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11591 $(TARGET-stageautoprofile-gcc)
11593 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
11594 clean-stageautoprofile: clean-stageautoprofile-gcc
11595 clean-stageautoprofile-gcc:
11596 @if [ $(current_stage) = stageautoprofile ]; then \
11597 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11598 else \
11599 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
11600 $(MAKE) stageautoprofile-start; \
11601 fi; \
11602 cd $(HOST_SUBDIR)/gcc && \
11603 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11604 @endif gcc-bootstrap
11607 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
11608 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
11609 maybe-all-stageautofeedback-gcc:
11610 maybe-clean-stageautofeedback-gcc:
11611 @if gcc-bootstrap
11612 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
11613 all-stageautofeedback: all-stageautofeedback-gcc
11614 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
11615 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
11616 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11617 @r=`${PWD_COMMAND}`; export r; \
11618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11619 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11620 $(HOST_EXPORTS) \
11621 $(POSTSTAGE1_HOST_EXPORTS) \
11622 cd $(HOST_SUBDIR)/gcc && \
11624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11625 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11626 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11627 LIBCFLAGS="$(STAGEautofeedback_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) $(EXTRA_GCC_FLAGS) \
11632 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11633 $(TARGET-stageautofeedback-gcc)
11635 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
11636 clean-stageautofeedback: clean-stageautofeedback-gcc
11637 clean-stageautofeedback-gcc:
11638 @if [ $(current_stage) = stageautofeedback ]; then \
11639 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11640 else \
11641 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
11642 $(MAKE) stageautofeedback-start; \
11643 fi; \
11644 cd $(HOST_SUBDIR)/gcc && \
11645 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11646 @endif gcc-bootstrap
11652 .PHONY: check-gcc maybe-check-gcc
11653 maybe-check-gcc:
11654 @if gcc
11655 maybe-check-gcc: check-gcc
11657 check-gcc:
11658 @: $(MAKE); $(unstage)
11659 @r=`${PWD_COMMAND}`; export r; \
11660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11661 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11662 (cd $(HOST_SUBDIR)/gcc && \
11663 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11665 @endif gcc
11667 .PHONY: install-gcc maybe-install-gcc
11668 maybe-install-gcc:
11669 @if gcc
11670 maybe-install-gcc: install-gcc
11672 install-gcc: installdirs
11673 @: $(MAKE); $(unstage)
11674 @r=`${PWD_COMMAND}`; export r; \
11675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11676 $(HOST_EXPORTS) \
11677 (cd $(HOST_SUBDIR)/gcc && \
11678 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11680 @endif gcc
11682 .PHONY: install-strip-gcc maybe-install-strip-gcc
11683 maybe-install-strip-gcc:
11684 @if gcc
11685 maybe-install-strip-gcc: install-strip-gcc
11687 install-strip-gcc: installdirs
11688 @: $(MAKE); $(unstage)
11689 @r=`${PWD_COMMAND}`; export r; \
11690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11691 $(HOST_EXPORTS) \
11692 (cd $(HOST_SUBDIR)/gcc && \
11693 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
11695 @endif gcc
11697 # Other targets (info, dvi, pdf, etc.)
11699 .PHONY: maybe-info-gcc info-gcc
11700 maybe-info-gcc:
11701 @if gcc
11702 maybe-info-gcc: info-gcc
11704 info-gcc: \
11705 configure-gcc
11706 @[ -f ./gcc/Makefile ] || exit 0; \
11707 r=`${PWD_COMMAND}`; export r; \
11708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11709 $(HOST_EXPORTS) \
11710 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11712 done; \
11713 echo "Doing info in gcc"; \
11714 (cd $(HOST_SUBDIR)/gcc && \
11715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11717 "RANLIB=$${RANLIB}" \
11718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11719 info) \
11720 || exit 1
11722 @endif gcc
11724 .PHONY: maybe-dvi-gcc dvi-gcc
11725 maybe-dvi-gcc:
11726 @if gcc
11727 maybe-dvi-gcc: dvi-gcc
11729 dvi-gcc: \
11730 configure-gcc
11731 @[ -f ./gcc/Makefile ] || exit 0; \
11732 r=`${PWD_COMMAND}`; export r; \
11733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11734 $(HOST_EXPORTS) \
11735 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11737 done; \
11738 echo "Doing dvi in gcc"; \
11739 (cd $(HOST_SUBDIR)/gcc && \
11740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11742 "RANLIB=$${RANLIB}" \
11743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11744 dvi) \
11745 || exit 1
11747 @endif gcc
11749 .PHONY: maybe-pdf-gcc pdf-gcc
11750 maybe-pdf-gcc:
11751 @if gcc
11752 maybe-pdf-gcc: pdf-gcc
11754 pdf-gcc: \
11755 configure-gcc
11756 @[ -f ./gcc/Makefile ] || exit 0; \
11757 r=`${PWD_COMMAND}`; export r; \
11758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11759 $(HOST_EXPORTS) \
11760 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11762 done; \
11763 echo "Doing pdf in gcc"; \
11764 (cd $(HOST_SUBDIR)/gcc && \
11765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11767 "RANLIB=$${RANLIB}" \
11768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11769 pdf) \
11770 || exit 1
11772 @endif gcc
11774 .PHONY: maybe-html-gcc html-gcc
11775 maybe-html-gcc:
11776 @if gcc
11777 maybe-html-gcc: html-gcc
11779 html-gcc: \
11780 configure-gcc
11781 @[ -f ./gcc/Makefile ] || exit 0; \
11782 r=`${PWD_COMMAND}`; export r; \
11783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11784 $(HOST_EXPORTS) \
11785 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11787 done; \
11788 echo "Doing html in gcc"; \
11789 (cd $(HOST_SUBDIR)/gcc && \
11790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11792 "RANLIB=$${RANLIB}" \
11793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11794 html) \
11795 || exit 1
11797 @endif gcc
11799 .PHONY: maybe-TAGS-gcc TAGS-gcc
11800 maybe-TAGS-gcc:
11801 @if gcc
11802 maybe-TAGS-gcc: TAGS-gcc
11804 TAGS-gcc: \
11805 configure-gcc
11806 @[ -f ./gcc/Makefile ] || exit 0; \
11807 r=`${PWD_COMMAND}`; export r; \
11808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11809 $(HOST_EXPORTS) \
11810 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11812 done; \
11813 echo "Doing TAGS in gcc"; \
11814 (cd $(HOST_SUBDIR)/gcc && \
11815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11817 "RANLIB=$${RANLIB}" \
11818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11819 TAGS) \
11820 || exit 1
11822 @endif gcc
11824 .PHONY: maybe-install-info-gcc install-info-gcc
11825 maybe-install-info-gcc:
11826 @if gcc
11827 maybe-install-info-gcc: install-info-gcc
11829 install-info-gcc: \
11830 configure-gcc \
11831 info-gcc
11832 @[ -f ./gcc/Makefile ] || exit 0; \
11833 r=`${PWD_COMMAND}`; export r; \
11834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11835 $(HOST_EXPORTS) \
11836 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11838 done; \
11839 echo "Doing install-info in gcc"; \
11840 (cd $(HOST_SUBDIR)/gcc && \
11841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11843 "RANLIB=$${RANLIB}" \
11844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11845 install-info) \
11846 || exit 1
11848 @endif gcc
11850 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
11851 maybe-install-pdf-gcc:
11852 @if gcc
11853 maybe-install-pdf-gcc: install-pdf-gcc
11855 install-pdf-gcc: \
11856 configure-gcc \
11857 pdf-gcc
11858 @[ -f ./gcc/Makefile ] || exit 0; \
11859 r=`${PWD_COMMAND}`; export r; \
11860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11861 $(HOST_EXPORTS) \
11862 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11864 done; \
11865 echo "Doing install-pdf in gcc"; \
11866 (cd $(HOST_SUBDIR)/gcc && \
11867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11869 "RANLIB=$${RANLIB}" \
11870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11871 install-pdf) \
11872 || exit 1
11874 @endif gcc
11876 .PHONY: maybe-install-html-gcc install-html-gcc
11877 maybe-install-html-gcc:
11878 @if gcc
11879 maybe-install-html-gcc: install-html-gcc
11881 install-html-gcc: \
11882 configure-gcc \
11883 html-gcc
11884 @[ -f ./gcc/Makefile ] || exit 0; \
11885 r=`${PWD_COMMAND}`; export r; \
11886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11887 $(HOST_EXPORTS) \
11888 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11890 done; \
11891 echo "Doing install-html in gcc"; \
11892 (cd $(HOST_SUBDIR)/gcc && \
11893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11895 "RANLIB=$${RANLIB}" \
11896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11897 install-html) \
11898 || exit 1
11900 @endif gcc
11902 .PHONY: maybe-installcheck-gcc installcheck-gcc
11903 maybe-installcheck-gcc:
11904 @if gcc
11905 maybe-installcheck-gcc: installcheck-gcc
11907 installcheck-gcc: \
11908 configure-gcc
11909 @[ -f ./gcc/Makefile ] || exit 0; \
11910 r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912 $(HOST_EXPORTS) \
11913 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11915 done; \
11916 echo "Doing installcheck in gcc"; \
11917 (cd $(HOST_SUBDIR)/gcc && \
11918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11920 "RANLIB=$${RANLIB}" \
11921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11922 installcheck) \
11923 || exit 1
11925 @endif gcc
11927 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11928 maybe-mostlyclean-gcc:
11929 @if gcc
11930 maybe-mostlyclean-gcc: mostlyclean-gcc
11932 mostlyclean-gcc:
11933 @[ -f ./gcc/Makefile ] || exit 0; \
11934 r=`${PWD_COMMAND}`; export r; \
11935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11936 $(HOST_EXPORTS) \
11937 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11939 done; \
11940 echo "Doing mostlyclean in gcc"; \
11941 (cd $(HOST_SUBDIR)/gcc && \
11942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11944 "RANLIB=$${RANLIB}" \
11945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11946 mostlyclean) \
11947 || exit 1
11949 @endif gcc
11951 .PHONY: maybe-clean-gcc clean-gcc
11952 maybe-clean-gcc:
11953 @if gcc
11954 maybe-clean-gcc: clean-gcc
11956 clean-gcc:
11957 @[ -f ./gcc/Makefile ] || exit 0; \
11958 r=`${PWD_COMMAND}`; export r; \
11959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11960 $(HOST_EXPORTS) \
11961 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11963 done; \
11964 echo "Doing clean in gcc"; \
11965 (cd $(HOST_SUBDIR)/gcc && \
11966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11968 "RANLIB=$${RANLIB}" \
11969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11970 clean) \
11971 || exit 1
11973 @endif gcc
11975 .PHONY: maybe-distclean-gcc distclean-gcc
11976 maybe-distclean-gcc:
11977 @if gcc
11978 maybe-distclean-gcc: distclean-gcc
11980 distclean-gcc:
11981 @[ -f ./gcc/Makefile ] || exit 0; \
11982 r=`${PWD_COMMAND}`; export r; \
11983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11984 $(HOST_EXPORTS) \
11985 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11987 done; \
11988 echo "Doing distclean in gcc"; \
11989 (cd $(HOST_SUBDIR)/gcc && \
11990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11992 "RANLIB=$${RANLIB}" \
11993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11994 distclean) \
11995 || exit 1
11997 @endif gcc
11999 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12000 maybe-maintainer-clean-gcc:
12001 @if gcc
12002 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12004 maintainer-clean-gcc:
12005 @[ -f ./gcc/Makefile ] || exit 0; \
12006 r=`${PWD_COMMAND}`; export r; \
12007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12008 $(HOST_EXPORTS) \
12009 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12011 done; \
12012 echo "Doing maintainer-clean in gcc"; \
12013 (cd $(HOST_SUBDIR)/gcc && \
12014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12016 "RANLIB=$${RANLIB}" \
12017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12018 maintainer-clean) \
12019 || exit 1
12021 @endif gcc
12025 .PHONY: configure-gmp maybe-configure-gmp
12026 maybe-configure-gmp:
12027 @if gcc-bootstrap
12028 configure-gmp: stage_current
12029 @endif gcc-bootstrap
12030 @if gmp
12031 maybe-configure-gmp: configure-gmp
12032 configure-gmp:
12033 @r=`${PWD_COMMAND}`; export r; \
12034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12035 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12037 $(HOST_EXPORTS) \
12038 echo Configuring in $(HOST_SUBDIR)/gmp; \
12039 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12040 case $(srcdir) in \
12041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12042 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12044 esac; \
12045 module_srcdir=gmp; \
12046 $(SHELL) \
12047 $$s/$$module_srcdir/configure \
12048 --srcdir=$${topdir}/$$module_srcdir \
12049 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12050 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12051 || exit 1
12052 @endif gmp
12056 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12057 maybe-configure-stage1-gmp:
12058 @if gmp-bootstrap
12059 maybe-configure-stage1-gmp: configure-stage1-gmp
12060 configure-stage1-gmp:
12061 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12062 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12063 @r=`${PWD_COMMAND}`; export r; \
12064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12065 TFLAGS="$(STAGE1_TFLAGS)"; \
12066 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12067 $(HOST_EXPORTS) \
12068 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12069 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12070 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12071 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12073 cd $(HOST_SUBDIR)/gmp || exit 1; \
12074 case $(srcdir) in \
12075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12076 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12078 esac; \
12079 module_srcdir=gmp; \
12080 $(SHELL) $$s/$$module_srcdir/configure \
12081 --srcdir=$${topdir}/$$module_srcdir \
12082 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12083 --target=none-${host_vendor}-${host_os} \
12085 $(STAGE1_CONFIGURE_FLAGS) \
12086 --disable-shared LEX="touch lex.yy.c"
12087 @endif gmp-bootstrap
12089 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12090 maybe-configure-stage2-gmp:
12091 @if gmp-bootstrap
12092 maybe-configure-stage2-gmp: configure-stage2-gmp
12093 configure-stage2-gmp:
12094 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12096 @r=`${PWD_COMMAND}`; export r; \
12097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12098 TFLAGS="$(STAGE2_TFLAGS)"; \
12099 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12100 $(HOST_EXPORTS) \
12101 $(POSTSTAGE1_HOST_EXPORTS) \
12102 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12103 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12104 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12105 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12107 cd $(HOST_SUBDIR)/gmp || exit 1; \
12108 case $(srcdir) in \
12109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12110 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12112 esac; \
12113 module_srcdir=gmp; \
12114 $(SHELL) $$s/$$module_srcdir/configure \
12115 --srcdir=$${topdir}/$$module_srcdir \
12116 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12117 --target=none-${host_vendor}-${host_os} \
12118 --with-build-libsubdir=$(HOST_SUBDIR) \
12119 $(STAGE2_CONFIGURE_FLAGS) \
12120 --disable-shared LEX="touch lex.yy.c"
12121 @endif gmp-bootstrap
12123 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12124 maybe-configure-stage3-gmp:
12125 @if gmp-bootstrap
12126 maybe-configure-stage3-gmp: configure-stage3-gmp
12127 configure-stage3-gmp:
12128 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12130 @r=`${PWD_COMMAND}`; export r; \
12131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12132 TFLAGS="$(STAGE3_TFLAGS)"; \
12133 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12134 $(HOST_EXPORTS) \
12135 $(POSTSTAGE1_HOST_EXPORTS) \
12136 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12137 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12138 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12139 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12141 cd $(HOST_SUBDIR)/gmp || exit 1; \
12142 case $(srcdir) in \
12143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12144 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12146 esac; \
12147 module_srcdir=gmp; \
12148 $(SHELL) $$s/$$module_srcdir/configure \
12149 --srcdir=$${topdir}/$$module_srcdir \
12150 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12151 --target=none-${host_vendor}-${host_os} \
12152 --with-build-libsubdir=$(HOST_SUBDIR) \
12153 $(STAGE3_CONFIGURE_FLAGS) \
12154 --disable-shared LEX="touch lex.yy.c"
12155 @endif gmp-bootstrap
12157 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12158 maybe-configure-stage4-gmp:
12159 @if gmp-bootstrap
12160 maybe-configure-stage4-gmp: configure-stage4-gmp
12161 configure-stage4-gmp:
12162 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12164 @r=`${PWD_COMMAND}`; export r; \
12165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12166 TFLAGS="$(STAGE4_TFLAGS)"; \
12167 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12168 $(HOST_EXPORTS) \
12169 $(POSTSTAGE1_HOST_EXPORTS) \
12170 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12171 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12172 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12173 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12175 cd $(HOST_SUBDIR)/gmp || exit 1; \
12176 case $(srcdir) in \
12177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12178 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12180 esac; \
12181 module_srcdir=gmp; \
12182 $(SHELL) $$s/$$module_srcdir/configure \
12183 --srcdir=$${topdir}/$$module_srcdir \
12184 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12185 --target=none-${host_vendor}-${host_os} \
12186 --with-build-libsubdir=$(HOST_SUBDIR) \
12187 $(STAGE4_CONFIGURE_FLAGS) \
12188 --disable-shared LEX="touch lex.yy.c"
12189 @endif gmp-bootstrap
12191 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12192 maybe-configure-stageprofile-gmp:
12193 @if gmp-bootstrap
12194 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12195 configure-stageprofile-gmp:
12196 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12197 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12198 @r=`${PWD_COMMAND}`; export r; \
12199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12200 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12201 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12202 $(HOST_EXPORTS) \
12203 $(POSTSTAGE1_HOST_EXPORTS) \
12204 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12205 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12206 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12207 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12209 cd $(HOST_SUBDIR)/gmp || exit 1; \
12210 case $(srcdir) in \
12211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12212 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12214 esac; \
12215 module_srcdir=gmp; \
12216 $(SHELL) $$s/$$module_srcdir/configure \
12217 --srcdir=$${topdir}/$$module_srcdir \
12218 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12219 --target=none-${host_vendor}-${host_os} \
12220 --with-build-libsubdir=$(HOST_SUBDIR) \
12221 $(STAGEprofile_CONFIGURE_FLAGS) \
12222 --disable-shared LEX="touch lex.yy.c"
12223 @endif gmp-bootstrap
12225 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12226 maybe-configure-stagefeedback-gmp:
12227 @if gmp-bootstrap
12228 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12229 configure-stagefeedback-gmp:
12230 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12232 @r=`${PWD_COMMAND}`; export r; \
12233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12234 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12235 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12236 $(HOST_EXPORTS) \
12237 $(POSTSTAGE1_HOST_EXPORTS) \
12238 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12239 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12240 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12241 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12243 cd $(HOST_SUBDIR)/gmp || exit 1; \
12244 case $(srcdir) in \
12245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12246 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12248 esac; \
12249 module_srcdir=gmp; \
12250 $(SHELL) $$s/$$module_srcdir/configure \
12251 --srcdir=$${topdir}/$$module_srcdir \
12252 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12253 --target=none-${host_vendor}-${host_os} \
12254 --with-build-libsubdir=$(HOST_SUBDIR) \
12255 $(STAGEfeedback_CONFIGURE_FLAGS) \
12256 --disable-shared LEX="touch lex.yy.c"
12257 @endif gmp-bootstrap
12259 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12260 maybe-configure-stageautoprofile-gmp:
12261 @if gmp-bootstrap
12262 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12263 configure-stageautoprofile-gmp:
12264 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12266 @r=`${PWD_COMMAND}`; export r; \
12267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12268 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12269 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12270 $(HOST_EXPORTS) \
12271 $(POSTSTAGE1_HOST_EXPORTS) \
12272 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12273 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12274 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12275 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12277 cd $(HOST_SUBDIR)/gmp || exit 1; \
12278 case $(srcdir) in \
12279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12280 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12282 esac; \
12283 module_srcdir=gmp; \
12284 $(SHELL) $$s/$$module_srcdir/configure \
12285 --srcdir=$${topdir}/$$module_srcdir \
12286 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12287 --target=none-${host_vendor}-${host_os} \
12288 --with-build-libsubdir=$(HOST_SUBDIR) \
12289 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12290 --disable-shared LEX="touch lex.yy.c"
12291 @endif gmp-bootstrap
12293 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12294 maybe-configure-stageautofeedback-gmp:
12295 @if gmp-bootstrap
12296 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12297 configure-stageautofeedback-gmp:
12298 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12300 @r=`${PWD_COMMAND}`; export r; \
12301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12302 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12303 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12304 $(HOST_EXPORTS) \
12305 $(POSTSTAGE1_HOST_EXPORTS) \
12306 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12307 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12308 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12309 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12310 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12311 cd $(HOST_SUBDIR)/gmp || exit 1; \
12312 case $(srcdir) in \
12313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12314 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12316 esac; \
12317 module_srcdir=gmp; \
12318 $(SHELL) $$s/$$module_srcdir/configure \
12319 --srcdir=$${topdir}/$$module_srcdir \
12320 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12321 --target=none-${host_vendor}-${host_os} \
12322 --with-build-libsubdir=$(HOST_SUBDIR) \
12323 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12324 --disable-shared LEX="touch lex.yy.c"
12325 @endif gmp-bootstrap
12331 .PHONY: all-gmp maybe-all-gmp
12332 maybe-all-gmp:
12333 @if gcc-bootstrap
12334 all-gmp: stage_current
12335 @endif gcc-bootstrap
12336 @if gmp
12337 TARGET-gmp=all
12338 maybe-all-gmp: all-gmp
12339 all-gmp: configure-gmp
12340 @r=`${PWD_COMMAND}`; export r; \
12341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12342 $(HOST_EXPORTS) \
12343 (cd $(HOST_SUBDIR)/gmp && \
12344 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12345 $(TARGET-gmp))
12346 @endif gmp
12350 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12351 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12352 maybe-all-stage1-gmp:
12353 maybe-clean-stage1-gmp:
12354 @if gmp-bootstrap
12355 maybe-all-stage1-gmp: all-stage1-gmp
12356 all-stage1: all-stage1-gmp
12357 TARGET-stage1-gmp = $(TARGET-gmp)
12358 all-stage1-gmp: configure-stage1-gmp
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)"; \
12363 $(HOST_EXPORTS) \
12364 cd $(HOST_SUBDIR)/gmp && \
12366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12367 CFLAGS="$(STAGE1_CFLAGS)" \
12368 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12369 LIBCFLAGS="$(LIBCFLAGS)" \
12370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12373 $(EXTRA_HOST_FLAGS) \
12374 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12375 TFLAGS="$(STAGE1_TFLAGS)" \
12376 $(TARGET-stage1-gmp)
12378 maybe-clean-stage1-gmp: clean-stage1-gmp
12379 clean-stage1: clean-stage1-gmp
12380 clean-stage1-gmp:
12381 @if [ $(current_stage) = stage1 ]; then \
12382 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12383 else \
12384 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12385 $(MAKE) stage1-start; \
12386 fi; \
12387 cd $(HOST_SUBDIR)/gmp && \
12388 $(MAKE) $(EXTRA_HOST_FLAGS) \
12389 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12390 @endif gmp-bootstrap
12393 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12394 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12395 maybe-all-stage2-gmp:
12396 maybe-clean-stage2-gmp:
12397 @if gmp-bootstrap
12398 maybe-all-stage2-gmp: all-stage2-gmp
12399 all-stage2: all-stage2-gmp
12400 TARGET-stage2-gmp = $(TARGET-gmp)
12401 all-stage2-gmp: configure-stage2-gmp
12402 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12403 @r=`${PWD_COMMAND}`; export r; \
12404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12405 TFLAGS="$(STAGE2_TFLAGS)"; \
12406 $(HOST_EXPORTS) \
12407 $(POSTSTAGE1_HOST_EXPORTS) \
12408 cd $(HOST_SUBDIR)/gmp && \
12410 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12411 CFLAGS="$(STAGE2_CFLAGS)" \
12412 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12413 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12414 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12417 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12418 TFLAGS="$(STAGE2_TFLAGS)" \
12419 $(TARGET-stage2-gmp)
12421 maybe-clean-stage2-gmp: clean-stage2-gmp
12422 clean-stage2: clean-stage2-gmp
12423 clean-stage2-gmp:
12424 @if [ $(current_stage) = stage2 ]; then \
12425 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12426 else \
12427 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
12428 $(MAKE) stage2-start; \
12429 fi; \
12430 cd $(HOST_SUBDIR)/gmp && \
12431 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12432 @endif gmp-bootstrap
12435 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
12436 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
12437 maybe-all-stage3-gmp:
12438 maybe-clean-stage3-gmp:
12439 @if gmp-bootstrap
12440 maybe-all-stage3-gmp: all-stage3-gmp
12441 all-stage3: all-stage3-gmp
12442 TARGET-stage3-gmp = $(TARGET-gmp)
12443 all-stage3-gmp: configure-stage3-gmp
12444 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12445 @r=`${PWD_COMMAND}`; export r; \
12446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12447 TFLAGS="$(STAGE3_TFLAGS)"; \
12448 $(HOST_EXPORTS) \
12449 $(POSTSTAGE1_HOST_EXPORTS) \
12450 cd $(HOST_SUBDIR)/gmp && \
12452 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12453 CFLAGS="$(STAGE3_CFLAGS)" \
12454 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12455 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12460 TFLAGS="$(STAGE3_TFLAGS)" \
12461 $(TARGET-stage3-gmp)
12463 maybe-clean-stage3-gmp: clean-stage3-gmp
12464 clean-stage3: clean-stage3-gmp
12465 clean-stage3-gmp:
12466 @if [ $(current_stage) = stage3 ]; then \
12467 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12468 else \
12469 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
12470 $(MAKE) stage3-start; \
12471 fi; \
12472 cd $(HOST_SUBDIR)/gmp && \
12473 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12474 @endif gmp-bootstrap
12477 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
12478 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
12479 maybe-all-stage4-gmp:
12480 maybe-clean-stage4-gmp:
12481 @if gmp-bootstrap
12482 maybe-all-stage4-gmp: all-stage4-gmp
12483 all-stage4: all-stage4-gmp
12484 TARGET-stage4-gmp = $(TARGET-gmp)
12485 all-stage4-gmp: configure-stage4-gmp
12486 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12487 @r=`${PWD_COMMAND}`; export r; \
12488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12489 TFLAGS="$(STAGE4_TFLAGS)"; \
12490 $(HOST_EXPORTS) \
12491 $(POSTSTAGE1_HOST_EXPORTS) \
12492 cd $(HOST_SUBDIR)/gmp && \
12494 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12495 CFLAGS="$(STAGE4_CFLAGS)" \
12496 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12497 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12498 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12499 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12500 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12501 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12502 TFLAGS="$(STAGE4_TFLAGS)" \
12503 $(TARGET-stage4-gmp)
12505 maybe-clean-stage4-gmp: clean-stage4-gmp
12506 clean-stage4: clean-stage4-gmp
12507 clean-stage4-gmp:
12508 @if [ $(current_stage) = stage4 ]; then \
12509 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12510 else \
12511 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
12512 $(MAKE) stage4-start; \
12513 fi; \
12514 cd $(HOST_SUBDIR)/gmp && \
12515 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12516 @endif gmp-bootstrap
12519 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
12520 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
12521 maybe-all-stageprofile-gmp:
12522 maybe-clean-stageprofile-gmp:
12523 @if gmp-bootstrap
12524 maybe-all-stageprofile-gmp: all-stageprofile-gmp
12525 all-stageprofile: all-stageprofile-gmp
12526 TARGET-stageprofile-gmp = $(TARGET-gmp)
12527 all-stageprofile-gmp: configure-stageprofile-gmp
12528 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12529 @r=`${PWD_COMMAND}`; export r; \
12530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12531 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12532 $(HOST_EXPORTS) \
12533 $(POSTSTAGE1_HOST_EXPORTS) \
12534 cd $(HOST_SUBDIR)/gmp && \
12536 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12537 CFLAGS="$(STAGEprofile_CFLAGS)" \
12538 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12539 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12540 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12541 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12542 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12543 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12544 TFLAGS="$(STAGEprofile_TFLAGS)" \
12545 $(TARGET-stageprofile-gmp)
12547 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
12548 clean-stageprofile: clean-stageprofile-gmp
12549 clean-stageprofile-gmp:
12550 @if [ $(current_stage) = stageprofile ]; then \
12551 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12552 else \
12553 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
12554 $(MAKE) stageprofile-start; \
12555 fi; \
12556 cd $(HOST_SUBDIR)/gmp && \
12557 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12558 @endif gmp-bootstrap
12561 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
12562 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
12563 maybe-all-stagefeedback-gmp:
12564 maybe-clean-stagefeedback-gmp:
12565 @if gmp-bootstrap
12566 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
12567 all-stagefeedback: all-stagefeedback-gmp
12568 TARGET-stagefeedback-gmp = $(TARGET-gmp)
12569 all-stagefeedback-gmp: configure-stagefeedback-gmp
12570 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12571 @r=`${PWD_COMMAND}`; export r; \
12572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12573 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12574 $(HOST_EXPORTS) \
12575 $(POSTSTAGE1_HOST_EXPORTS) \
12576 cd $(HOST_SUBDIR)/gmp && \
12578 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12579 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12580 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12581 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12585 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12586 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12587 $(TARGET-stagefeedback-gmp)
12589 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
12590 clean-stagefeedback: clean-stagefeedback-gmp
12591 clean-stagefeedback-gmp:
12592 @if [ $(current_stage) = stagefeedback ]; then \
12593 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12594 else \
12595 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
12596 $(MAKE) stagefeedback-start; \
12597 fi; \
12598 cd $(HOST_SUBDIR)/gmp && \
12599 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12600 @endif gmp-bootstrap
12603 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
12604 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
12605 maybe-all-stageautoprofile-gmp:
12606 maybe-clean-stageautoprofile-gmp:
12607 @if gmp-bootstrap
12608 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
12609 all-stageautoprofile: all-stageautoprofile-gmp
12610 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
12611 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
12612 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12613 @r=`${PWD_COMMAND}`; export r; \
12614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12615 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12616 $(HOST_EXPORTS) \
12617 $(POSTSTAGE1_HOST_EXPORTS) \
12618 cd $(HOST_SUBDIR)/gmp && \
12619 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12621 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12622 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12623 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12628 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12629 $(TARGET-stageautoprofile-gmp)
12631 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
12632 clean-stageautoprofile: clean-stageautoprofile-gmp
12633 clean-stageautoprofile-gmp:
12634 @if [ $(current_stage) = stageautoprofile ]; then \
12635 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12636 else \
12637 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
12638 $(MAKE) stageautoprofile-start; \
12639 fi; \
12640 cd $(HOST_SUBDIR)/gmp && \
12641 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12642 @endif gmp-bootstrap
12645 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
12646 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
12647 maybe-all-stageautofeedback-gmp:
12648 maybe-clean-stageautofeedback-gmp:
12649 @if gmp-bootstrap
12650 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
12651 all-stageautofeedback: all-stageautofeedback-gmp
12652 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
12653 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
12654 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12655 @r=`${PWD_COMMAND}`; export r; \
12656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12657 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12658 $(HOST_EXPORTS) \
12659 $(POSTSTAGE1_HOST_EXPORTS) \
12660 cd $(HOST_SUBDIR)/gmp && \
12662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12663 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12664 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12665 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12669 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12670 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12671 $(TARGET-stageautofeedback-gmp)
12673 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
12674 clean-stageautofeedback: clean-stageautofeedback-gmp
12675 clean-stageautofeedback-gmp:
12676 @if [ $(current_stage) = stageautofeedback ]; then \
12677 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12678 else \
12679 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
12680 $(MAKE) stageautofeedback-start; \
12681 fi; \
12682 cd $(HOST_SUBDIR)/gmp && \
12683 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12684 @endif gmp-bootstrap
12690 .PHONY: check-gmp maybe-check-gmp
12691 maybe-check-gmp:
12692 @if gmp
12693 maybe-check-gmp: check-gmp
12695 check-gmp:
12696 @: $(MAKE); $(unstage)
12697 @r=`${PWD_COMMAND}`; export r; \
12698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12699 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12700 (cd $(HOST_SUBDIR)/gmp && \
12701 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
12703 @endif gmp
12705 .PHONY: install-gmp maybe-install-gmp
12706 maybe-install-gmp:
12707 @if gmp
12708 maybe-install-gmp: install-gmp
12710 install-gmp:
12712 @endif gmp
12714 .PHONY: install-strip-gmp maybe-install-strip-gmp
12715 maybe-install-strip-gmp:
12716 @if gmp
12717 maybe-install-strip-gmp: install-strip-gmp
12719 install-strip-gmp:
12721 @endif gmp
12723 # Other targets (info, dvi, pdf, etc.)
12725 .PHONY: maybe-info-gmp info-gmp
12726 maybe-info-gmp:
12727 @if gmp
12728 maybe-info-gmp: info-gmp
12730 info-gmp: \
12731 configure-gmp
12732 @[ -f ./gmp/Makefile ] || exit 0; \
12733 r=`${PWD_COMMAND}`; export r; \
12734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12735 $(HOST_EXPORTS) \
12736 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12738 done; \
12739 echo "Doing info in gmp"; \
12740 (cd $(HOST_SUBDIR)/gmp && \
12741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12743 "RANLIB=$${RANLIB}" \
12744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12745 info) \
12746 || exit 1
12748 @endif gmp
12750 .PHONY: maybe-dvi-gmp dvi-gmp
12751 maybe-dvi-gmp:
12752 @if gmp
12753 maybe-dvi-gmp: dvi-gmp
12755 dvi-gmp: \
12756 configure-gmp
12757 @[ -f ./gmp/Makefile ] || exit 0; \
12758 r=`${PWD_COMMAND}`; export r; \
12759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12760 $(HOST_EXPORTS) \
12761 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12763 done; \
12764 echo "Doing dvi in gmp"; \
12765 (cd $(HOST_SUBDIR)/gmp && \
12766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12768 "RANLIB=$${RANLIB}" \
12769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12770 dvi) \
12771 || exit 1
12773 @endif gmp
12775 .PHONY: maybe-pdf-gmp pdf-gmp
12776 maybe-pdf-gmp:
12777 @if gmp
12778 maybe-pdf-gmp: pdf-gmp
12780 pdf-gmp: \
12781 configure-gmp
12782 @[ -f ./gmp/Makefile ] || exit 0; \
12783 r=`${PWD_COMMAND}`; export r; \
12784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12785 $(HOST_EXPORTS) \
12786 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12788 done; \
12789 echo "Doing pdf in gmp"; \
12790 (cd $(HOST_SUBDIR)/gmp && \
12791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12793 "RANLIB=$${RANLIB}" \
12794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12795 pdf) \
12796 || exit 1
12798 @endif gmp
12800 .PHONY: maybe-html-gmp html-gmp
12801 maybe-html-gmp:
12802 @if gmp
12803 maybe-html-gmp: html-gmp
12805 html-gmp: \
12806 configure-gmp
12807 @[ -f ./gmp/Makefile ] || exit 0; \
12808 r=`${PWD_COMMAND}`; export r; \
12809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12810 $(HOST_EXPORTS) \
12811 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12813 done; \
12814 echo "Doing html in gmp"; \
12815 (cd $(HOST_SUBDIR)/gmp && \
12816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12818 "RANLIB=$${RANLIB}" \
12819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12820 html) \
12821 || exit 1
12823 @endif gmp
12825 .PHONY: maybe-TAGS-gmp TAGS-gmp
12826 maybe-TAGS-gmp:
12827 @if gmp
12828 maybe-TAGS-gmp: TAGS-gmp
12830 TAGS-gmp: \
12831 configure-gmp
12832 @[ -f ./gmp/Makefile ] || exit 0; \
12833 r=`${PWD_COMMAND}`; export r; \
12834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12835 $(HOST_EXPORTS) \
12836 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12838 done; \
12839 echo "Doing TAGS in gmp"; \
12840 (cd $(HOST_SUBDIR)/gmp && \
12841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12843 "RANLIB=$${RANLIB}" \
12844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12845 TAGS) \
12846 || exit 1
12848 @endif gmp
12850 .PHONY: maybe-install-info-gmp install-info-gmp
12851 maybe-install-info-gmp:
12852 @if gmp
12853 maybe-install-info-gmp: install-info-gmp
12855 install-info-gmp: \
12856 configure-gmp \
12857 info-gmp
12858 @[ -f ./gmp/Makefile ] || exit 0; \
12859 r=`${PWD_COMMAND}`; export r; \
12860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12861 $(HOST_EXPORTS) \
12862 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12864 done; \
12865 echo "Doing install-info in gmp"; \
12866 (cd $(HOST_SUBDIR)/gmp && \
12867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12869 "RANLIB=$${RANLIB}" \
12870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12871 install-info) \
12872 || exit 1
12874 @endif gmp
12876 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
12877 maybe-install-pdf-gmp:
12878 @if gmp
12879 maybe-install-pdf-gmp: install-pdf-gmp
12881 install-pdf-gmp: \
12882 configure-gmp \
12883 pdf-gmp
12884 @[ -f ./gmp/Makefile ] || exit 0; \
12885 r=`${PWD_COMMAND}`; export r; \
12886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12887 $(HOST_EXPORTS) \
12888 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12890 done; \
12891 echo "Doing install-pdf in gmp"; \
12892 (cd $(HOST_SUBDIR)/gmp && \
12893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12895 "RANLIB=$${RANLIB}" \
12896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12897 install-pdf) \
12898 || exit 1
12900 @endif gmp
12902 .PHONY: maybe-install-html-gmp install-html-gmp
12903 maybe-install-html-gmp:
12904 @if gmp
12905 maybe-install-html-gmp: install-html-gmp
12907 install-html-gmp: \
12908 configure-gmp \
12909 html-gmp
12910 @[ -f ./gmp/Makefile ] || exit 0; \
12911 r=`${PWD_COMMAND}`; export r; \
12912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12913 $(HOST_EXPORTS) \
12914 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12916 done; \
12917 echo "Doing install-html in gmp"; \
12918 (cd $(HOST_SUBDIR)/gmp && \
12919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12921 "RANLIB=$${RANLIB}" \
12922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12923 install-html) \
12924 || exit 1
12926 @endif gmp
12928 .PHONY: maybe-installcheck-gmp installcheck-gmp
12929 maybe-installcheck-gmp:
12930 @if gmp
12931 maybe-installcheck-gmp: installcheck-gmp
12933 installcheck-gmp: \
12934 configure-gmp
12935 @[ -f ./gmp/Makefile ] || exit 0; \
12936 r=`${PWD_COMMAND}`; export r; \
12937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12938 $(HOST_EXPORTS) \
12939 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12941 done; \
12942 echo "Doing installcheck in gmp"; \
12943 (cd $(HOST_SUBDIR)/gmp && \
12944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12946 "RANLIB=$${RANLIB}" \
12947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12948 installcheck) \
12949 || exit 1
12951 @endif gmp
12953 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
12954 maybe-mostlyclean-gmp:
12955 @if gmp
12956 maybe-mostlyclean-gmp: mostlyclean-gmp
12958 mostlyclean-gmp:
12959 @[ -f ./gmp/Makefile ] || exit 0; \
12960 r=`${PWD_COMMAND}`; export r; \
12961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12962 $(HOST_EXPORTS) \
12963 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12965 done; \
12966 echo "Doing mostlyclean in gmp"; \
12967 (cd $(HOST_SUBDIR)/gmp && \
12968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12970 "RANLIB=$${RANLIB}" \
12971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12972 mostlyclean) \
12973 || exit 1
12975 @endif gmp
12977 .PHONY: maybe-clean-gmp clean-gmp
12978 maybe-clean-gmp:
12979 @if gmp
12980 maybe-clean-gmp: clean-gmp
12982 clean-gmp:
12983 @[ -f ./gmp/Makefile ] || exit 0; \
12984 r=`${PWD_COMMAND}`; export r; \
12985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12986 $(HOST_EXPORTS) \
12987 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
12988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12989 done; \
12990 echo "Doing clean in gmp"; \
12991 (cd $(HOST_SUBDIR)/gmp && \
12992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12994 "RANLIB=$${RANLIB}" \
12995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12996 clean) \
12997 || exit 1
12999 @endif gmp
13001 .PHONY: maybe-distclean-gmp distclean-gmp
13002 maybe-distclean-gmp:
13003 @if gmp
13004 maybe-distclean-gmp: distclean-gmp
13006 distclean-gmp:
13007 @[ -f ./gmp/Makefile ] || exit 0; \
13008 r=`${PWD_COMMAND}`; export r; \
13009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13010 $(HOST_EXPORTS) \
13011 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13013 done; \
13014 echo "Doing distclean in gmp"; \
13015 (cd $(HOST_SUBDIR)/gmp && \
13016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13018 "RANLIB=$${RANLIB}" \
13019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13020 distclean) \
13021 || exit 1
13023 @endif gmp
13025 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13026 maybe-maintainer-clean-gmp:
13027 @if gmp
13028 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13030 maintainer-clean-gmp:
13031 @[ -f ./gmp/Makefile ] || exit 0; \
13032 r=`${PWD_COMMAND}`; export r; \
13033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13034 $(HOST_EXPORTS) \
13035 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13037 done; \
13038 echo "Doing maintainer-clean in gmp"; \
13039 (cd $(HOST_SUBDIR)/gmp && \
13040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13042 "RANLIB=$${RANLIB}" \
13043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13044 maintainer-clean) \
13045 || exit 1
13047 @endif gmp
13051 .PHONY: configure-mpfr maybe-configure-mpfr
13052 maybe-configure-mpfr:
13053 @if gcc-bootstrap
13054 configure-mpfr: stage_current
13055 @endif gcc-bootstrap
13056 @if mpfr
13057 maybe-configure-mpfr: configure-mpfr
13058 configure-mpfr:
13059 @r=`${PWD_COMMAND}`; export r; \
13060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13061 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13063 $(HOST_EXPORTS) \
13064 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13065 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13066 case $(srcdir) in \
13067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13068 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13070 esac; \
13071 module_srcdir=mpfr; \
13072 $(SHELL) \
13073 $$s/$$module_srcdir/configure \
13074 --srcdir=$${topdir}/$$module_srcdir \
13075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13076 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13077 || exit 1
13078 @endif mpfr
13082 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13083 maybe-configure-stage1-mpfr:
13084 @if mpfr-bootstrap
13085 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13086 configure-stage1-mpfr:
13087 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13089 @r=`${PWD_COMMAND}`; export r; \
13090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13091 TFLAGS="$(STAGE1_TFLAGS)"; \
13092 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13093 $(HOST_EXPORTS) \
13094 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13095 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13096 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13097 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13099 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13100 case $(srcdir) in \
13101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13102 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13104 esac; \
13105 module_srcdir=mpfr; \
13106 $(SHELL) $$s/$$module_srcdir/configure \
13107 --srcdir=$${topdir}/$$module_srcdir \
13108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13109 --target=${target_alias} \
13111 $(STAGE1_CONFIGURE_FLAGS) \
13112 --disable-shared @extra_mpfr_configure_flags@
13113 @endif mpfr-bootstrap
13115 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13116 maybe-configure-stage2-mpfr:
13117 @if mpfr-bootstrap
13118 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13119 configure-stage2-mpfr:
13120 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13122 @r=`${PWD_COMMAND}`; export r; \
13123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13124 TFLAGS="$(STAGE2_TFLAGS)"; \
13125 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13126 $(HOST_EXPORTS) \
13127 $(POSTSTAGE1_HOST_EXPORTS) \
13128 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13129 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13130 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13131 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13133 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13134 case $(srcdir) in \
13135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13136 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13138 esac; \
13139 module_srcdir=mpfr; \
13140 $(SHELL) $$s/$$module_srcdir/configure \
13141 --srcdir=$${topdir}/$$module_srcdir \
13142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13143 --target=${target_alias} \
13144 --with-build-libsubdir=$(HOST_SUBDIR) \
13145 $(STAGE2_CONFIGURE_FLAGS) \
13146 --disable-shared @extra_mpfr_configure_flags@
13147 @endif mpfr-bootstrap
13149 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13150 maybe-configure-stage3-mpfr:
13151 @if mpfr-bootstrap
13152 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13153 configure-stage3-mpfr:
13154 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13156 @r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158 TFLAGS="$(STAGE3_TFLAGS)"; \
13159 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13160 $(HOST_EXPORTS) \
13161 $(POSTSTAGE1_HOST_EXPORTS) \
13162 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13163 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13164 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13165 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13167 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13168 case $(srcdir) in \
13169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13170 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13172 esac; \
13173 module_srcdir=mpfr; \
13174 $(SHELL) $$s/$$module_srcdir/configure \
13175 --srcdir=$${topdir}/$$module_srcdir \
13176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13177 --target=${target_alias} \
13178 --with-build-libsubdir=$(HOST_SUBDIR) \
13179 $(STAGE3_CONFIGURE_FLAGS) \
13180 --disable-shared @extra_mpfr_configure_flags@
13181 @endif mpfr-bootstrap
13183 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13184 maybe-configure-stage4-mpfr:
13185 @if mpfr-bootstrap
13186 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13187 configure-stage4-mpfr:
13188 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13190 @r=`${PWD_COMMAND}`; export r; \
13191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13192 TFLAGS="$(STAGE4_TFLAGS)"; \
13193 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13194 $(HOST_EXPORTS) \
13195 $(POSTSTAGE1_HOST_EXPORTS) \
13196 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13197 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13198 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13199 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13201 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13202 case $(srcdir) in \
13203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13204 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13206 esac; \
13207 module_srcdir=mpfr; \
13208 $(SHELL) $$s/$$module_srcdir/configure \
13209 --srcdir=$${topdir}/$$module_srcdir \
13210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13211 --target=${target_alias} \
13212 --with-build-libsubdir=$(HOST_SUBDIR) \
13213 $(STAGE4_CONFIGURE_FLAGS) \
13214 --disable-shared @extra_mpfr_configure_flags@
13215 @endif mpfr-bootstrap
13217 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13218 maybe-configure-stageprofile-mpfr:
13219 @if mpfr-bootstrap
13220 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13221 configure-stageprofile-mpfr:
13222 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13223 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13224 @r=`${PWD_COMMAND}`; export r; \
13225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13226 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13227 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13228 $(HOST_EXPORTS) \
13229 $(POSTSTAGE1_HOST_EXPORTS) \
13230 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13231 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13232 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13233 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13235 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13236 case $(srcdir) in \
13237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13238 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13240 esac; \
13241 module_srcdir=mpfr; \
13242 $(SHELL) $$s/$$module_srcdir/configure \
13243 --srcdir=$${topdir}/$$module_srcdir \
13244 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13245 --target=${target_alias} \
13246 --with-build-libsubdir=$(HOST_SUBDIR) \
13247 $(STAGEprofile_CONFIGURE_FLAGS) \
13248 --disable-shared @extra_mpfr_configure_flags@
13249 @endif mpfr-bootstrap
13251 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13252 maybe-configure-stagefeedback-mpfr:
13253 @if mpfr-bootstrap
13254 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13255 configure-stagefeedback-mpfr:
13256 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13258 @r=`${PWD_COMMAND}`; export r; \
13259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13260 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13261 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13262 $(HOST_EXPORTS) \
13263 $(POSTSTAGE1_HOST_EXPORTS) \
13264 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13265 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13266 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13267 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13269 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13270 case $(srcdir) in \
13271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13272 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13274 esac; \
13275 module_srcdir=mpfr; \
13276 $(SHELL) $$s/$$module_srcdir/configure \
13277 --srcdir=$${topdir}/$$module_srcdir \
13278 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13279 --target=${target_alias} \
13280 --with-build-libsubdir=$(HOST_SUBDIR) \
13281 $(STAGEfeedback_CONFIGURE_FLAGS) \
13282 --disable-shared @extra_mpfr_configure_flags@
13283 @endif mpfr-bootstrap
13285 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13286 maybe-configure-stageautoprofile-mpfr:
13287 @if mpfr-bootstrap
13288 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13289 configure-stageautoprofile-mpfr:
13290 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13291 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13292 @r=`${PWD_COMMAND}`; export r; \
13293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13294 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13295 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13296 $(HOST_EXPORTS) \
13297 $(POSTSTAGE1_HOST_EXPORTS) \
13298 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13299 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13300 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13301 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13303 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13304 case $(srcdir) in \
13305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13306 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13308 esac; \
13309 module_srcdir=mpfr; \
13310 $(SHELL) $$s/$$module_srcdir/configure \
13311 --srcdir=$${topdir}/$$module_srcdir \
13312 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13313 --target=${target_alias} \
13314 --with-build-libsubdir=$(HOST_SUBDIR) \
13315 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13316 --disable-shared @extra_mpfr_configure_flags@
13317 @endif mpfr-bootstrap
13319 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13320 maybe-configure-stageautofeedback-mpfr:
13321 @if mpfr-bootstrap
13322 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13323 configure-stageautofeedback-mpfr:
13324 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13325 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13326 @r=`${PWD_COMMAND}`; export r; \
13327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13328 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13329 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13330 $(HOST_EXPORTS) \
13331 $(POSTSTAGE1_HOST_EXPORTS) \
13332 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13333 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13334 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13335 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13337 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13338 case $(srcdir) in \
13339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13340 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13342 esac; \
13343 module_srcdir=mpfr; \
13344 $(SHELL) $$s/$$module_srcdir/configure \
13345 --srcdir=$${topdir}/$$module_srcdir \
13346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13347 --target=${target_alias} \
13348 --with-build-libsubdir=$(HOST_SUBDIR) \
13349 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13350 --disable-shared @extra_mpfr_configure_flags@
13351 @endif mpfr-bootstrap
13357 .PHONY: all-mpfr maybe-all-mpfr
13358 maybe-all-mpfr:
13359 @if gcc-bootstrap
13360 all-mpfr: stage_current
13361 @endif gcc-bootstrap
13362 @if mpfr
13363 TARGET-mpfr=all
13364 maybe-all-mpfr: all-mpfr
13365 all-mpfr: configure-mpfr
13366 @r=`${PWD_COMMAND}`; export r; \
13367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13368 $(HOST_EXPORTS) \
13369 (cd $(HOST_SUBDIR)/mpfr && \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13371 $(TARGET-mpfr))
13372 @endif mpfr
13376 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
13377 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
13378 maybe-all-stage1-mpfr:
13379 maybe-clean-stage1-mpfr:
13380 @if mpfr-bootstrap
13381 maybe-all-stage1-mpfr: all-stage1-mpfr
13382 all-stage1: all-stage1-mpfr
13383 TARGET-stage1-mpfr = $(TARGET-mpfr)
13384 all-stage1-mpfr: configure-stage1-mpfr
13385 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13386 @r=`${PWD_COMMAND}`; export r; \
13387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13388 TFLAGS="$(STAGE1_TFLAGS)"; \
13389 $(HOST_EXPORTS) \
13390 cd $(HOST_SUBDIR)/mpfr && \
13392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13393 CFLAGS="$(STAGE1_CFLAGS)" \
13394 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13395 LIBCFLAGS="$(LIBCFLAGS)" \
13396 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13399 $(EXTRA_HOST_FLAGS) \
13400 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13401 TFLAGS="$(STAGE1_TFLAGS)" \
13402 $(TARGET-stage1-mpfr)
13404 maybe-clean-stage1-mpfr: clean-stage1-mpfr
13405 clean-stage1: clean-stage1-mpfr
13406 clean-stage1-mpfr:
13407 @if [ $(current_stage) = stage1 ]; then \
13408 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13409 else \
13410 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
13411 $(MAKE) stage1-start; \
13412 fi; \
13413 cd $(HOST_SUBDIR)/mpfr && \
13414 $(MAKE) $(EXTRA_HOST_FLAGS) \
13415 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13416 @endif mpfr-bootstrap
13419 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
13420 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
13421 maybe-all-stage2-mpfr:
13422 maybe-clean-stage2-mpfr:
13423 @if mpfr-bootstrap
13424 maybe-all-stage2-mpfr: all-stage2-mpfr
13425 all-stage2: all-stage2-mpfr
13426 TARGET-stage2-mpfr = $(TARGET-mpfr)
13427 all-stage2-mpfr: configure-stage2-mpfr
13428 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13429 @r=`${PWD_COMMAND}`; export r; \
13430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13431 TFLAGS="$(STAGE2_TFLAGS)"; \
13432 $(HOST_EXPORTS) \
13433 $(POSTSTAGE1_HOST_EXPORTS) \
13434 cd $(HOST_SUBDIR)/mpfr && \
13436 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13437 CFLAGS="$(STAGE2_CFLAGS)" \
13438 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13439 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13440 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13441 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13442 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13443 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13444 TFLAGS="$(STAGE2_TFLAGS)" \
13445 $(TARGET-stage2-mpfr)
13447 maybe-clean-stage2-mpfr: clean-stage2-mpfr
13448 clean-stage2: clean-stage2-mpfr
13449 clean-stage2-mpfr:
13450 @if [ $(current_stage) = stage2 ]; then \
13451 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13452 else \
13453 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
13454 $(MAKE) stage2-start; \
13455 fi; \
13456 cd $(HOST_SUBDIR)/mpfr && \
13457 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13458 @endif mpfr-bootstrap
13461 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
13462 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
13463 maybe-all-stage3-mpfr:
13464 maybe-clean-stage3-mpfr:
13465 @if mpfr-bootstrap
13466 maybe-all-stage3-mpfr: all-stage3-mpfr
13467 all-stage3: all-stage3-mpfr
13468 TARGET-stage3-mpfr = $(TARGET-mpfr)
13469 all-stage3-mpfr: configure-stage3-mpfr
13470 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13471 @r=`${PWD_COMMAND}`; export r; \
13472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13473 TFLAGS="$(STAGE3_TFLAGS)"; \
13474 $(HOST_EXPORTS) \
13475 $(POSTSTAGE1_HOST_EXPORTS) \
13476 cd $(HOST_SUBDIR)/mpfr && \
13478 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13479 CFLAGS="$(STAGE3_CFLAGS)" \
13480 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13481 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13482 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13483 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13484 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13485 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13486 TFLAGS="$(STAGE3_TFLAGS)" \
13487 $(TARGET-stage3-mpfr)
13489 maybe-clean-stage3-mpfr: clean-stage3-mpfr
13490 clean-stage3: clean-stage3-mpfr
13491 clean-stage3-mpfr:
13492 @if [ $(current_stage) = stage3 ]; then \
13493 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13494 else \
13495 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
13496 $(MAKE) stage3-start; \
13497 fi; \
13498 cd $(HOST_SUBDIR)/mpfr && \
13499 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13500 @endif mpfr-bootstrap
13503 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
13504 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
13505 maybe-all-stage4-mpfr:
13506 maybe-clean-stage4-mpfr:
13507 @if mpfr-bootstrap
13508 maybe-all-stage4-mpfr: all-stage4-mpfr
13509 all-stage4: all-stage4-mpfr
13510 TARGET-stage4-mpfr = $(TARGET-mpfr)
13511 all-stage4-mpfr: configure-stage4-mpfr
13512 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13513 @r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515 TFLAGS="$(STAGE4_TFLAGS)"; \
13516 $(HOST_EXPORTS) \
13517 $(POSTSTAGE1_HOST_EXPORTS) \
13518 cd $(HOST_SUBDIR)/mpfr && \
13520 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13521 CFLAGS="$(STAGE4_CFLAGS)" \
13522 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13523 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13524 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13525 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13526 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13527 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13528 TFLAGS="$(STAGE4_TFLAGS)" \
13529 $(TARGET-stage4-mpfr)
13531 maybe-clean-stage4-mpfr: clean-stage4-mpfr
13532 clean-stage4: clean-stage4-mpfr
13533 clean-stage4-mpfr:
13534 @if [ $(current_stage) = stage4 ]; then \
13535 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13536 else \
13537 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
13538 $(MAKE) stage4-start; \
13539 fi; \
13540 cd $(HOST_SUBDIR)/mpfr && \
13541 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13542 @endif mpfr-bootstrap
13545 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
13546 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
13547 maybe-all-stageprofile-mpfr:
13548 maybe-clean-stageprofile-mpfr:
13549 @if mpfr-bootstrap
13550 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
13551 all-stageprofile: all-stageprofile-mpfr
13552 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
13553 all-stageprofile-mpfr: configure-stageprofile-mpfr
13554 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13555 @r=`${PWD_COMMAND}`; export r; \
13556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13557 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13558 $(HOST_EXPORTS) \
13559 $(POSTSTAGE1_HOST_EXPORTS) \
13560 cd $(HOST_SUBDIR)/mpfr && \
13562 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13563 CFLAGS="$(STAGEprofile_CFLAGS)" \
13564 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13565 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13566 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13567 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13568 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13569 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13570 TFLAGS="$(STAGEprofile_TFLAGS)" \
13571 $(TARGET-stageprofile-mpfr)
13573 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
13574 clean-stageprofile: clean-stageprofile-mpfr
13575 clean-stageprofile-mpfr:
13576 @if [ $(current_stage) = stageprofile ]; then \
13577 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13578 else \
13579 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
13580 $(MAKE) stageprofile-start; \
13581 fi; \
13582 cd $(HOST_SUBDIR)/mpfr && \
13583 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13584 @endif mpfr-bootstrap
13587 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
13588 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
13589 maybe-all-stagefeedback-mpfr:
13590 maybe-clean-stagefeedback-mpfr:
13591 @if mpfr-bootstrap
13592 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
13593 all-stagefeedback: all-stagefeedback-mpfr
13594 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
13595 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
13596 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13597 @r=`${PWD_COMMAND}`; export r; \
13598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13599 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13600 $(HOST_EXPORTS) \
13601 $(POSTSTAGE1_HOST_EXPORTS) \
13602 cd $(HOST_SUBDIR)/mpfr && \
13604 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13605 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13606 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13607 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13608 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13609 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13610 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13611 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13612 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13613 $(TARGET-stagefeedback-mpfr)
13615 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
13616 clean-stagefeedback: clean-stagefeedback-mpfr
13617 clean-stagefeedback-mpfr:
13618 @if [ $(current_stage) = stagefeedback ]; then \
13619 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13620 else \
13621 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
13622 $(MAKE) stagefeedback-start; \
13623 fi; \
13624 cd $(HOST_SUBDIR)/mpfr && \
13625 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13626 @endif mpfr-bootstrap
13629 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
13630 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
13631 maybe-all-stageautoprofile-mpfr:
13632 maybe-clean-stageautoprofile-mpfr:
13633 @if mpfr-bootstrap
13634 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
13635 all-stageautoprofile: all-stageautoprofile-mpfr
13636 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
13637 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13638 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13639 @r=`${PWD_COMMAND}`; export r; \
13640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13641 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13642 $(HOST_EXPORTS) \
13643 $(POSTSTAGE1_HOST_EXPORTS) \
13644 cd $(HOST_SUBDIR)/mpfr && \
13645 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13646 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13647 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13648 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13649 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13650 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13651 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13652 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13653 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13654 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13655 $(TARGET-stageautoprofile-mpfr)
13657 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
13658 clean-stageautoprofile: clean-stageautoprofile-mpfr
13659 clean-stageautoprofile-mpfr:
13660 @if [ $(current_stage) = stageautoprofile ]; then \
13661 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13662 else \
13663 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
13664 $(MAKE) stageautoprofile-start; \
13665 fi; \
13666 cd $(HOST_SUBDIR)/mpfr && \
13667 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13668 @endif mpfr-bootstrap
13671 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
13672 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
13673 maybe-all-stageautofeedback-mpfr:
13674 maybe-clean-stageautofeedback-mpfr:
13675 @if mpfr-bootstrap
13676 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
13677 all-stageautofeedback: all-stageautofeedback-mpfr
13678 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
13679 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13680 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13681 @r=`${PWD_COMMAND}`; export r; \
13682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13683 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13684 $(HOST_EXPORTS) \
13685 $(POSTSTAGE1_HOST_EXPORTS) \
13686 cd $(HOST_SUBDIR)/mpfr && \
13688 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13689 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13690 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13691 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13692 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13693 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13694 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13695 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13696 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13697 $(TARGET-stageautofeedback-mpfr)
13699 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
13700 clean-stageautofeedback: clean-stageautofeedback-mpfr
13701 clean-stageautofeedback-mpfr:
13702 @if [ $(current_stage) = stageautofeedback ]; then \
13703 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13704 else \
13705 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
13706 $(MAKE) stageautofeedback-start; \
13707 fi; \
13708 cd $(HOST_SUBDIR)/mpfr && \
13709 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13710 @endif mpfr-bootstrap
13716 .PHONY: check-mpfr maybe-check-mpfr
13717 maybe-check-mpfr:
13718 @if mpfr
13719 maybe-check-mpfr: check-mpfr
13721 check-mpfr:
13722 @: $(MAKE); $(unstage)
13723 @r=`${PWD_COMMAND}`; export r; \
13724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13725 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13726 (cd $(HOST_SUBDIR)/mpfr && \
13727 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13729 @endif mpfr
13731 .PHONY: install-mpfr maybe-install-mpfr
13732 maybe-install-mpfr:
13733 @if mpfr
13734 maybe-install-mpfr: install-mpfr
13736 install-mpfr:
13738 @endif mpfr
13740 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
13741 maybe-install-strip-mpfr:
13742 @if mpfr
13743 maybe-install-strip-mpfr: install-strip-mpfr
13745 install-strip-mpfr:
13747 @endif mpfr
13749 # Other targets (info, dvi, pdf, etc.)
13751 .PHONY: maybe-info-mpfr info-mpfr
13752 maybe-info-mpfr:
13753 @if mpfr
13754 maybe-info-mpfr: info-mpfr
13756 info-mpfr: \
13757 configure-mpfr
13758 @[ -f ./mpfr/Makefile ] || exit 0; \
13759 r=`${PWD_COMMAND}`; export r; \
13760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13761 $(HOST_EXPORTS) \
13762 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13764 done; \
13765 echo "Doing info in mpfr"; \
13766 (cd $(HOST_SUBDIR)/mpfr && \
13767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13769 "RANLIB=$${RANLIB}" \
13770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13771 info) \
13772 || exit 1
13774 @endif mpfr
13776 .PHONY: maybe-dvi-mpfr dvi-mpfr
13777 maybe-dvi-mpfr:
13778 @if mpfr
13779 maybe-dvi-mpfr: dvi-mpfr
13781 dvi-mpfr: \
13782 configure-mpfr
13783 @[ -f ./mpfr/Makefile ] || exit 0; \
13784 r=`${PWD_COMMAND}`; export r; \
13785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13786 $(HOST_EXPORTS) \
13787 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13789 done; \
13790 echo "Doing dvi in mpfr"; \
13791 (cd $(HOST_SUBDIR)/mpfr && \
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}" \
13796 dvi) \
13797 || exit 1
13799 @endif mpfr
13801 .PHONY: maybe-pdf-mpfr pdf-mpfr
13802 maybe-pdf-mpfr:
13803 @if mpfr
13804 maybe-pdf-mpfr: pdf-mpfr
13806 pdf-mpfr: \
13807 configure-mpfr
13808 @[ -f ./mpfr/Makefile ] || exit 0; \
13809 r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 $(HOST_EXPORTS) \
13812 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13814 done; \
13815 echo "Doing pdf in mpfr"; \
13816 (cd $(HOST_SUBDIR)/mpfr && \
13817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13819 "RANLIB=$${RANLIB}" \
13820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13821 pdf) \
13822 || exit 1
13824 @endif mpfr
13826 .PHONY: maybe-html-mpfr html-mpfr
13827 maybe-html-mpfr:
13828 @if mpfr
13829 maybe-html-mpfr: html-mpfr
13831 html-mpfr: \
13832 configure-mpfr
13833 @[ -f ./mpfr/Makefile ] || exit 0; \
13834 r=`${PWD_COMMAND}`; export r; \
13835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13836 $(HOST_EXPORTS) \
13837 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13839 done; \
13840 echo "Doing html in mpfr"; \
13841 (cd $(HOST_SUBDIR)/mpfr && \
13842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13844 "RANLIB=$${RANLIB}" \
13845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13846 html) \
13847 || exit 1
13849 @endif mpfr
13851 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
13852 maybe-TAGS-mpfr:
13853 @if mpfr
13854 maybe-TAGS-mpfr: TAGS-mpfr
13856 TAGS-mpfr: \
13857 configure-mpfr
13858 @[ -f ./mpfr/Makefile ] || exit 0; \
13859 r=`${PWD_COMMAND}`; export r; \
13860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13861 $(HOST_EXPORTS) \
13862 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13864 done; \
13865 echo "Doing TAGS in mpfr"; \
13866 (cd $(HOST_SUBDIR)/mpfr && \
13867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13869 "RANLIB=$${RANLIB}" \
13870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13871 TAGS) \
13872 || exit 1
13874 @endif mpfr
13876 .PHONY: maybe-install-info-mpfr install-info-mpfr
13877 maybe-install-info-mpfr:
13878 @if mpfr
13879 maybe-install-info-mpfr: install-info-mpfr
13881 install-info-mpfr: \
13882 configure-mpfr \
13883 info-mpfr
13884 @[ -f ./mpfr/Makefile ] || exit 0; \
13885 r=`${PWD_COMMAND}`; export r; \
13886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13887 $(HOST_EXPORTS) \
13888 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13890 done; \
13891 echo "Doing install-info in mpfr"; \
13892 (cd $(HOST_SUBDIR)/mpfr && \
13893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13895 "RANLIB=$${RANLIB}" \
13896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13897 install-info) \
13898 || exit 1
13900 @endif mpfr
13902 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
13903 maybe-install-pdf-mpfr:
13904 @if mpfr
13905 maybe-install-pdf-mpfr: install-pdf-mpfr
13907 install-pdf-mpfr: \
13908 configure-mpfr \
13909 pdf-mpfr
13910 @[ -f ./mpfr/Makefile ] || exit 0; \
13911 r=`${PWD_COMMAND}`; export r; \
13912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13913 $(HOST_EXPORTS) \
13914 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13916 done; \
13917 echo "Doing install-pdf in mpfr"; \
13918 (cd $(HOST_SUBDIR)/mpfr && \
13919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13921 "RANLIB=$${RANLIB}" \
13922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13923 install-pdf) \
13924 || exit 1
13926 @endif mpfr
13928 .PHONY: maybe-install-html-mpfr install-html-mpfr
13929 maybe-install-html-mpfr:
13930 @if mpfr
13931 maybe-install-html-mpfr: install-html-mpfr
13933 install-html-mpfr: \
13934 configure-mpfr \
13935 html-mpfr
13936 @[ -f ./mpfr/Makefile ] || exit 0; \
13937 r=`${PWD_COMMAND}`; export r; \
13938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13939 $(HOST_EXPORTS) \
13940 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13942 done; \
13943 echo "Doing install-html in mpfr"; \
13944 (cd $(HOST_SUBDIR)/mpfr && \
13945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13947 "RANLIB=$${RANLIB}" \
13948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13949 install-html) \
13950 || exit 1
13952 @endif mpfr
13954 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
13955 maybe-installcheck-mpfr:
13956 @if mpfr
13957 maybe-installcheck-mpfr: installcheck-mpfr
13959 installcheck-mpfr: \
13960 configure-mpfr
13961 @[ -f ./mpfr/Makefile ] || exit 0; \
13962 r=`${PWD_COMMAND}`; export r; \
13963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13964 $(HOST_EXPORTS) \
13965 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13967 done; \
13968 echo "Doing installcheck in mpfr"; \
13969 (cd $(HOST_SUBDIR)/mpfr && \
13970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13972 "RANLIB=$${RANLIB}" \
13973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13974 installcheck) \
13975 || exit 1
13977 @endif mpfr
13979 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
13980 maybe-mostlyclean-mpfr:
13981 @if mpfr
13982 maybe-mostlyclean-mpfr: mostlyclean-mpfr
13984 mostlyclean-mpfr:
13985 @[ -f ./mpfr/Makefile ] || exit 0; \
13986 r=`${PWD_COMMAND}`; export r; \
13987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13988 $(HOST_EXPORTS) \
13989 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13991 done; \
13992 echo "Doing mostlyclean in mpfr"; \
13993 (cd $(HOST_SUBDIR)/mpfr && \
13994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13996 "RANLIB=$${RANLIB}" \
13997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13998 mostlyclean) \
13999 || exit 1
14001 @endif mpfr
14003 .PHONY: maybe-clean-mpfr clean-mpfr
14004 maybe-clean-mpfr:
14005 @if mpfr
14006 maybe-clean-mpfr: clean-mpfr
14008 clean-mpfr:
14009 @[ -f ./mpfr/Makefile ] || exit 0; \
14010 r=`${PWD_COMMAND}`; export r; \
14011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14012 $(HOST_EXPORTS) \
14013 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14015 done; \
14016 echo "Doing clean in mpfr"; \
14017 (cd $(HOST_SUBDIR)/mpfr && \
14018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14020 "RANLIB=$${RANLIB}" \
14021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14022 clean) \
14023 || exit 1
14025 @endif mpfr
14027 .PHONY: maybe-distclean-mpfr distclean-mpfr
14028 maybe-distclean-mpfr:
14029 @if mpfr
14030 maybe-distclean-mpfr: distclean-mpfr
14032 distclean-mpfr:
14033 @[ -f ./mpfr/Makefile ] || exit 0; \
14034 r=`${PWD_COMMAND}`; export r; \
14035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14036 $(HOST_EXPORTS) \
14037 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14039 done; \
14040 echo "Doing distclean in mpfr"; \
14041 (cd $(HOST_SUBDIR)/mpfr && \
14042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14044 "RANLIB=$${RANLIB}" \
14045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14046 distclean) \
14047 || exit 1
14049 @endif mpfr
14051 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14052 maybe-maintainer-clean-mpfr:
14053 @if mpfr
14054 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14056 maintainer-clean-mpfr:
14057 @[ -f ./mpfr/Makefile ] || exit 0; \
14058 r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14060 $(HOST_EXPORTS) \
14061 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14063 done; \
14064 echo "Doing maintainer-clean in mpfr"; \
14065 (cd $(HOST_SUBDIR)/mpfr && \
14066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14068 "RANLIB=$${RANLIB}" \
14069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14070 maintainer-clean) \
14071 || exit 1
14073 @endif mpfr
14077 .PHONY: configure-mpc maybe-configure-mpc
14078 maybe-configure-mpc:
14079 @if gcc-bootstrap
14080 configure-mpc: stage_current
14081 @endif gcc-bootstrap
14082 @if mpc
14083 maybe-configure-mpc: configure-mpc
14084 configure-mpc:
14085 @r=`${PWD_COMMAND}`; export r; \
14086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14087 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14089 $(HOST_EXPORTS) \
14090 echo Configuring in $(HOST_SUBDIR)/mpc; \
14091 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14092 case $(srcdir) in \
14093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14094 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14096 esac; \
14097 module_srcdir=mpc; \
14098 $(SHELL) \
14099 $$s/$$module_srcdir/configure \
14100 --srcdir=$${topdir}/$$module_srcdir \
14101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14102 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
14103 || exit 1
14104 @endif mpc
14108 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14109 maybe-configure-stage1-mpc:
14110 @if mpc-bootstrap
14111 maybe-configure-stage1-mpc: configure-stage1-mpc
14112 configure-stage1-mpc:
14113 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14115 @r=`${PWD_COMMAND}`; export r; \
14116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14117 TFLAGS="$(STAGE1_TFLAGS)"; \
14118 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14119 $(HOST_EXPORTS) \
14120 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14121 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14122 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14123 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14125 cd $(HOST_SUBDIR)/mpc || exit 1; \
14126 case $(srcdir) in \
14127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14128 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14130 esac; \
14131 module_srcdir=mpc; \
14132 $(SHELL) $$s/$$module_srcdir/configure \
14133 --srcdir=$${topdir}/$$module_srcdir \
14134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14135 --target=${target_alias} \
14137 $(STAGE1_CONFIGURE_FLAGS) \
14138 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14139 @endif mpc-bootstrap
14141 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14142 maybe-configure-stage2-mpc:
14143 @if mpc-bootstrap
14144 maybe-configure-stage2-mpc: configure-stage2-mpc
14145 configure-stage2-mpc:
14146 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14147 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14148 @r=`${PWD_COMMAND}`; export r; \
14149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14150 TFLAGS="$(STAGE2_TFLAGS)"; \
14151 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14152 $(HOST_EXPORTS) \
14153 $(POSTSTAGE1_HOST_EXPORTS) \
14154 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14155 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14156 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14157 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14159 cd $(HOST_SUBDIR)/mpc || exit 1; \
14160 case $(srcdir) in \
14161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14162 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14164 esac; \
14165 module_srcdir=mpc; \
14166 $(SHELL) $$s/$$module_srcdir/configure \
14167 --srcdir=$${topdir}/$$module_srcdir \
14168 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14169 --target=${target_alias} \
14170 --with-build-libsubdir=$(HOST_SUBDIR) \
14171 $(STAGE2_CONFIGURE_FLAGS) \
14172 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14173 @endif mpc-bootstrap
14175 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14176 maybe-configure-stage3-mpc:
14177 @if mpc-bootstrap
14178 maybe-configure-stage3-mpc: configure-stage3-mpc
14179 configure-stage3-mpc:
14180 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14182 @r=`${PWD_COMMAND}`; export r; \
14183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14184 TFLAGS="$(STAGE3_TFLAGS)"; \
14185 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14186 $(HOST_EXPORTS) \
14187 $(POSTSTAGE1_HOST_EXPORTS) \
14188 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14189 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14190 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14191 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14193 cd $(HOST_SUBDIR)/mpc || exit 1; \
14194 case $(srcdir) in \
14195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14196 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14198 esac; \
14199 module_srcdir=mpc; \
14200 $(SHELL) $$s/$$module_srcdir/configure \
14201 --srcdir=$${topdir}/$$module_srcdir \
14202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14203 --target=${target_alias} \
14204 --with-build-libsubdir=$(HOST_SUBDIR) \
14205 $(STAGE3_CONFIGURE_FLAGS) \
14206 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14207 @endif mpc-bootstrap
14209 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14210 maybe-configure-stage4-mpc:
14211 @if mpc-bootstrap
14212 maybe-configure-stage4-mpc: configure-stage4-mpc
14213 configure-stage4-mpc:
14214 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14216 @r=`${PWD_COMMAND}`; export r; \
14217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14218 TFLAGS="$(STAGE4_TFLAGS)"; \
14219 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14220 $(HOST_EXPORTS) \
14221 $(POSTSTAGE1_HOST_EXPORTS) \
14222 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14223 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14224 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14225 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14227 cd $(HOST_SUBDIR)/mpc || exit 1; \
14228 case $(srcdir) in \
14229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14230 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14232 esac; \
14233 module_srcdir=mpc; \
14234 $(SHELL) $$s/$$module_srcdir/configure \
14235 --srcdir=$${topdir}/$$module_srcdir \
14236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14237 --target=${target_alias} \
14238 --with-build-libsubdir=$(HOST_SUBDIR) \
14239 $(STAGE4_CONFIGURE_FLAGS) \
14240 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14241 @endif mpc-bootstrap
14243 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14244 maybe-configure-stageprofile-mpc:
14245 @if mpc-bootstrap
14246 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14247 configure-stageprofile-mpc:
14248 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14250 @r=`${PWD_COMMAND}`; export r; \
14251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14252 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14253 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14254 $(HOST_EXPORTS) \
14255 $(POSTSTAGE1_HOST_EXPORTS) \
14256 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14257 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14258 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14259 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14261 cd $(HOST_SUBDIR)/mpc || exit 1; \
14262 case $(srcdir) in \
14263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14264 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14266 esac; \
14267 module_srcdir=mpc; \
14268 $(SHELL) $$s/$$module_srcdir/configure \
14269 --srcdir=$${topdir}/$$module_srcdir \
14270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14271 --target=${target_alias} \
14272 --with-build-libsubdir=$(HOST_SUBDIR) \
14273 $(STAGEprofile_CONFIGURE_FLAGS) \
14274 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14275 @endif mpc-bootstrap
14277 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
14278 maybe-configure-stagefeedback-mpc:
14279 @if mpc-bootstrap
14280 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
14281 configure-stagefeedback-mpc:
14282 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14283 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14284 @r=`${PWD_COMMAND}`; export r; \
14285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14287 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14288 $(HOST_EXPORTS) \
14289 $(POSTSTAGE1_HOST_EXPORTS) \
14290 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14291 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14292 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14293 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
14294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14295 cd $(HOST_SUBDIR)/mpc || exit 1; \
14296 case $(srcdir) in \
14297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14298 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14300 esac; \
14301 module_srcdir=mpc; \
14302 $(SHELL) $$s/$$module_srcdir/configure \
14303 --srcdir=$${topdir}/$$module_srcdir \
14304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14305 --target=${target_alias} \
14306 --with-build-libsubdir=$(HOST_SUBDIR) \
14307 $(STAGEfeedback_CONFIGURE_FLAGS) \
14308 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14309 @endif mpc-bootstrap
14311 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
14312 maybe-configure-stageautoprofile-mpc:
14313 @if mpc-bootstrap
14314 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
14315 configure-stageautoprofile-mpc:
14316 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14318 @r=`${PWD_COMMAND}`; export r; \
14319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14320 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14321 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14322 $(HOST_EXPORTS) \
14323 $(POSTSTAGE1_HOST_EXPORTS) \
14324 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14325 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14326 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14327 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
14328 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14329 cd $(HOST_SUBDIR)/mpc || exit 1; \
14330 case $(srcdir) in \
14331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14332 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14334 esac; \
14335 module_srcdir=mpc; \
14336 $(SHELL) $$s/$$module_srcdir/configure \
14337 --srcdir=$${topdir}/$$module_srcdir \
14338 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14339 --target=${target_alias} \
14340 --with-build-libsubdir=$(HOST_SUBDIR) \
14341 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14342 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14343 @endif mpc-bootstrap
14345 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
14346 maybe-configure-stageautofeedback-mpc:
14347 @if mpc-bootstrap
14348 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
14349 configure-stageautofeedback-mpc:
14350 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14352 @r=`${PWD_COMMAND}`; export r; \
14353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14354 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14355 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14356 $(HOST_EXPORTS) \
14357 $(POSTSTAGE1_HOST_EXPORTS) \
14358 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14359 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14360 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14361 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
14362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14363 cd $(HOST_SUBDIR)/mpc || exit 1; \
14364 case $(srcdir) in \
14365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14366 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14368 esac; \
14369 module_srcdir=mpc; \
14370 $(SHELL) $$s/$$module_srcdir/configure \
14371 --srcdir=$${topdir}/$$module_srcdir \
14372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14373 --target=${target_alias} \
14374 --with-build-libsubdir=$(HOST_SUBDIR) \
14375 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14376 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
14377 @endif mpc-bootstrap
14383 .PHONY: all-mpc maybe-all-mpc
14384 maybe-all-mpc:
14385 @if gcc-bootstrap
14386 all-mpc: stage_current
14387 @endif gcc-bootstrap
14388 @if mpc
14389 TARGET-mpc=all
14390 maybe-all-mpc: all-mpc
14391 all-mpc: configure-mpc
14392 @r=`${PWD_COMMAND}`; export r; \
14393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14394 $(HOST_EXPORTS) \
14395 (cd $(HOST_SUBDIR)/mpc && \
14396 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14397 $(TARGET-mpc))
14398 @endif mpc
14402 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
14403 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
14404 maybe-all-stage1-mpc:
14405 maybe-clean-stage1-mpc:
14406 @if mpc-bootstrap
14407 maybe-all-stage1-mpc: all-stage1-mpc
14408 all-stage1: all-stage1-mpc
14409 TARGET-stage1-mpc = $(TARGET-mpc)
14410 all-stage1-mpc: configure-stage1-mpc
14411 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14412 @r=`${PWD_COMMAND}`; export r; \
14413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14414 TFLAGS="$(STAGE1_TFLAGS)"; \
14415 $(HOST_EXPORTS) \
14416 cd $(HOST_SUBDIR)/mpc && \
14418 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14419 CFLAGS="$(STAGE1_CFLAGS)" \
14420 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14421 LIBCFLAGS="$(LIBCFLAGS)" \
14422 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14423 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14424 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14425 $(EXTRA_HOST_FLAGS) \
14426 $(STAGE1_FLAGS_TO_PASS) \
14427 TFLAGS="$(STAGE1_TFLAGS)" \
14428 $(TARGET-stage1-mpc)
14430 maybe-clean-stage1-mpc: clean-stage1-mpc
14431 clean-stage1: clean-stage1-mpc
14432 clean-stage1-mpc:
14433 @if [ $(current_stage) = stage1 ]; then \
14434 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14435 else \
14436 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
14437 $(MAKE) stage1-start; \
14438 fi; \
14439 cd $(HOST_SUBDIR)/mpc && \
14440 $(MAKE) $(EXTRA_HOST_FLAGS) \
14441 $(STAGE1_FLAGS_TO_PASS) clean
14442 @endif mpc-bootstrap
14445 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
14446 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
14447 maybe-all-stage2-mpc:
14448 maybe-clean-stage2-mpc:
14449 @if mpc-bootstrap
14450 maybe-all-stage2-mpc: all-stage2-mpc
14451 all-stage2: all-stage2-mpc
14452 TARGET-stage2-mpc = $(TARGET-mpc)
14453 all-stage2-mpc: configure-stage2-mpc
14454 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14455 @r=`${PWD_COMMAND}`; export r; \
14456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14457 TFLAGS="$(STAGE2_TFLAGS)"; \
14458 $(HOST_EXPORTS) \
14459 $(POSTSTAGE1_HOST_EXPORTS) \
14460 cd $(HOST_SUBDIR)/mpc && \
14462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14463 CFLAGS="$(STAGE2_CFLAGS)" \
14464 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14465 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14469 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14470 TFLAGS="$(STAGE2_TFLAGS)" \
14471 $(TARGET-stage2-mpc)
14473 maybe-clean-stage2-mpc: clean-stage2-mpc
14474 clean-stage2: clean-stage2-mpc
14475 clean-stage2-mpc:
14476 @if [ $(current_stage) = stage2 ]; then \
14477 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14478 else \
14479 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
14480 $(MAKE) stage2-start; \
14481 fi; \
14482 cd $(HOST_SUBDIR)/mpc && \
14483 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14484 @endif mpc-bootstrap
14487 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
14488 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
14489 maybe-all-stage3-mpc:
14490 maybe-clean-stage3-mpc:
14491 @if mpc-bootstrap
14492 maybe-all-stage3-mpc: all-stage3-mpc
14493 all-stage3: all-stage3-mpc
14494 TARGET-stage3-mpc = $(TARGET-mpc)
14495 all-stage3-mpc: configure-stage3-mpc
14496 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14497 @r=`${PWD_COMMAND}`; export r; \
14498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14499 TFLAGS="$(STAGE3_TFLAGS)"; \
14500 $(HOST_EXPORTS) \
14501 $(POSTSTAGE1_HOST_EXPORTS) \
14502 cd $(HOST_SUBDIR)/mpc && \
14504 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14505 CFLAGS="$(STAGE3_CFLAGS)" \
14506 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14507 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14512 TFLAGS="$(STAGE3_TFLAGS)" \
14513 $(TARGET-stage3-mpc)
14515 maybe-clean-stage3-mpc: clean-stage3-mpc
14516 clean-stage3: clean-stage3-mpc
14517 clean-stage3-mpc:
14518 @if [ $(current_stage) = stage3 ]; then \
14519 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14520 else \
14521 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
14522 $(MAKE) stage3-start; \
14523 fi; \
14524 cd $(HOST_SUBDIR)/mpc && \
14525 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14526 @endif mpc-bootstrap
14529 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
14530 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
14531 maybe-all-stage4-mpc:
14532 maybe-clean-stage4-mpc:
14533 @if mpc-bootstrap
14534 maybe-all-stage4-mpc: all-stage4-mpc
14535 all-stage4: all-stage4-mpc
14536 TARGET-stage4-mpc = $(TARGET-mpc)
14537 all-stage4-mpc: configure-stage4-mpc
14538 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14539 @r=`${PWD_COMMAND}`; export r; \
14540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14541 TFLAGS="$(STAGE4_TFLAGS)"; \
14542 $(HOST_EXPORTS) \
14543 $(POSTSTAGE1_HOST_EXPORTS) \
14544 cd $(HOST_SUBDIR)/mpc && \
14546 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14547 CFLAGS="$(STAGE4_CFLAGS)" \
14548 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14549 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14550 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14551 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14552 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14553 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14554 TFLAGS="$(STAGE4_TFLAGS)" \
14555 $(TARGET-stage4-mpc)
14557 maybe-clean-stage4-mpc: clean-stage4-mpc
14558 clean-stage4: clean-stage4-mpc
14559 clean-stage4-mpc:
14560 @if [ $(current_stage) = stage4 ]; then \
14561 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14562 else \
14563 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
14564 $(MAKE) stage4-start; \
14565 fi; \
14566 cd $(HOST_SUBDIR)/mpc && \
14567 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14568 @endif mpc-bootstrap
14571 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
14572 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
14573 maybe-all-stageprofile-mpc:
14574 maybe-clean-stageprofile-mpc:
14575 @if mpc-bootstrap
14576 maybe-all-stageprofile-mpc: all-stageprofile-mpc
14577 all-stageprofile: all-stageprofile-mpc
14578 TARGET-stageprofile-mpc = $(TARGET-mpc)
14579 all-stageprofile-mpc: configure-stageprofile-mpc
14580 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14581 @r=`${PWD_COMMAND}`; export r; \
14582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14583 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14584 $(HOST_EXPORTS) \
14585 $(POSTSTAGE1_HOST_EXPORTS) \
14586 cd $(HOST_SUBDIR)/mpc && \
14588 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14589 CFLAGS="$(STAGEprofile_CFLAGS)" \
14590 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14591 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14592 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14593 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14594 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14595 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14596 TFLAGS="$(STAGEprofile_TFLAGS)" \
14597 $(TARGET-stageprofile-mpc)
14599 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
14600 clean-stageprofile: clean-stageprofile-mpc
14601 clean-stageprofile-mpc:
14602 @if [ $(current_stage) = stageprofile ]; then \
14603 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14604 else \
14605 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
14606 $(MAKE) stageprofile-start; \
14607 fi; \
14608 cd $(HOST_SUBDIR)/mpc && \
14609 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14610 @endif mpc-bootstrap
14613 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
14614 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
14615 maybe-all-stagefeedback-mpc:
14616 maybe-clean-stagefeedback-mpc:
14617 @if mpc-bootstrap
14618 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
14619 all-stagefeedback: all-stagefeedback-mpc
14620 TARGET-stagefeedback-mpc = $(TARGET-mpc)
14621 all-stagefeedback-mpc: configure-stagefeedback-mpc
14622 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14623 @r=`${PWD_COMMAND}`; export r; \
14624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14625 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14626 $(HOST_EXPORTS) \
14627 $(POSTSTAGE1_HOST_EXPORTS) \
14628 cd $(HOST_SUBDIR)/mpc && \
14630 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14631 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14632 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14633 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14634 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14635 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14636 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14637 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14638 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14639 $(TARGET-stagefeedback-mpc)
14641 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
14642 clean-stagefeedback: clean-stagefeedback-mpc
14643 clean-stagefeedback-mpc:
14644 @if [ $(current_stage) = stagefeedback ]; then \
14645 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14646 else \
14647 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
14648 $(MAKE) stagefeedback-start; \
14649 fi; \
14650 cd $(HOST_SUBDIR)/mpc && \
14651 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14652 @endif mpc-bootstrap
14655 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
14656 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
14657 maybe-all-stageautoprofile-mpc:
14658 maybe-clean-stageautoprofile-mpc:
14659 @if mpc-bootstrap
14660 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
14661 all-stageautoprofile: all-stageautoprofile-mpc
14662 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
14663 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
14664 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14665 @r=`${PWD_COMMAND}`; export r; \
14666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14667 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14668 $(HOST_EXPORTS) \
14669 $(POSTSTAGE1_HOST_EXPORTS) \
14670 cd $(HOST_SUBDIR)/mpc && \
14671 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14673 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14674 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14675 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14679 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14680 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14681 $(TARGET-stageautoprofile-mpc)
14683 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
14684 clean-stageautoprofile: clean-stageautoprofile-mpc
14685 clean-stageautoprofile-mpc:
14686 @if [ $(current_stage) = stageautoprofile ]; then \
14687 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14688 else \
14689 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
14690 $(MAKE) stageautoprofile-start; \
14691 fi; \
14692 cd $(HOST_SUBDIR)/mpc && \
14693 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14694 @endif mpc-bootstrap
14697 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
14698 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
14699 maybe-all-stageautofeedback-mpc:
14700 maybe-clean-stageautofeedback-mpc:
14701 @if mpc-bootstrap
14702 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
14703 all-stageautofeedback: all-stageautofeedback-mpc
14704 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
14705 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
14706 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14707 @r=`${PWD_COMMAND}`; export r; \
14708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14709 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14710 $(HOST_EXPORTS) \
14711 $(POSTSTAGE1_HOST_EXPORTS) \
14712 cd $(HOST_SUBDIR)/mpc && \
14714 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14715 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14716 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14717 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14718 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14719 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14721 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14722 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14723 $(TARGET-stageautofeedback-mpc)
14725 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
14726 clean-stageautofeedback: clean-stageautofeedback-mpc
14727 clean-stageautofeedback-mpc:
14728 @if [ $(current_stage) = stageautofeedback ]; then \
14729 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
14730 else \
14731 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
14732 $(MAKE) stageautofeedback-start; \
14733 fi; \
14734 cd $(HOST_SUBDIR)/mpc && \
14735 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14736 @endif mpc-bootstrap
14742 .PHONY: check-mpc maybe-check-mpc
14743 maybe-check-mpc:
14744 @if mpc
14745 maybe-check-mpc: check-mpc
14747 check-mpc:
14748 @: $(MAKE); $(unstage)
14749 @r=`${PWD_COMMAND}`; export r; \
14750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14751 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14752 (cd $(HOST_SUBDIR)/mpc && \
14753 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
14755 @endif mpc
14757 .PHONY: install-mpc maybe-install-mpc
14758 maybe-install-mpc:
14759 @if mpc
14760 maybe-install-mpc: install-mpc
14762 install-mpc:
14764 @endif mpc
14766 .PHONY: install-strip-mpc maybe-install-strip-mpc
14767 maybe-install-strip-mpc:
14768 @if mpc
14769 maybe-install-strip-mpc: install-strip-mpc
14771 install-strip-mpc:
14773 @endif mpc
14775 # Other targets (info, dvi, pdf, etc.)
14777 .PHONY: maybe-info-mpc info-mpc
14778 maybe-info-mpc:
14779 @if mpc
14780 maybe-info-mpc: info-mpc
14782 info-mpc: \
14783 configure-mpc
14784 @[ -f ./mpc/Makefile ] || exit 0; \
14785 r=`${PWD_COMMAND}`; export r; \
14786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14787 $(HOST_EXPORTS) \
14788 for flag in $(EXTRA_HOST_FLAGS) ; do \
14789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14790 done; \
14791 echo "Doing info in mpc"; \
14792 (cd $(HOST_SUBDIR)/mpc && \
14793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14795 "RANLIB=$${RANLIB}" \
14796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14797 info) \
14798 || exit 1
14800 @endif mpc
14802 .PHONY: maybe-dvi-mpc dvi-mpc
14803 maybe-dvi-mpc:
14804 @if mpc
14805 maybe-dvi-mpc: dvi-mpc
14807 dvi-mpc: \
14808 configure-mpc
14809 @[ -f ./mpc/Makefile ] || exit 0; \
14810 r=`${PWD_COMMAND}`; export r; \
14811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14812 $(HOST_EXPORTS) \
14813 for flag in $(EXTRA_HOST_FLAGS) ; do \
14814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14815 done; \
14816 echo "Doing dvi in mpc"; \
14817 (cd $(HOST_SUBDIR)/mpc && \
14818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14820 "RANLIB=$${RANLIB}" \
14821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14822 dvi) \
14823 || exit 1
14825 @endif mpc
14827 .PHONY: maybe-pdf-mpc pdf-mpc
14828 maybe-pdf-mpc:
14829 @if mpc
14830 maybe-pdf-mpc: pdf-mpc
14832 pdf-mpc: \
14833 configure-mpc
14834 @[ -f ./mpc/Makefile ] || exit 0; \
14835 r=`${PWD_COMMAND}`; export r; \
14836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14837 $(HOST_EXPORTS) \
14838 for flag in $(EXTRA_HOST_FLAGS) ; do \
14839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14840 done; \
14841 echo "Doing pdf in mpc"; \
14842 (cd $(HOST_SUBDIR)/mpc && \
14843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14845 "RANLIB=$${RANLIB}" \
14846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14847 pdf) \
14848 || exit 1
14850 @endif mpc
14852 .PHONY: maybe-html-mpc html-mpc
14853 maybe-html-mpc:
14854 @if mpc
14855 maybe-html-mpc: html-mpc
14857 html-mpc: \
14858 configure-mpc
14859 @[ -f ./mpc/Makefile ] || exit 0; \
14860 r=`${PWD_COMMAND}`; export r; \
14861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14862 $(HOST_EXPORTS) \
14863 for flag in $(EXTRA_HOST_FLAGS) ; do \
14864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14865 done; \
14866 echo "Doing html in mpc"; \
14867 (cd $(HOST_SUBDIR)/mpc && \
14868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14870 "RANLIB=$${RANLIB}" \
14871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14872 html) \
14873 || exit 1
14875 @endif mpc
14877 .PHONY: maybe-TAGS-mpc TAGS-mpc
14878 maybe-TAGS-mpc:
14879 @if mpc
14880 maybe-TAGS-mpc: TAGS-mpc
14882 TAGS-mpc: \
14883 configure-mpc
14884 @[ -f ./mpc/Makefile ] || exit 0; \
14885 r=`${PWD_COMMAND}`; export r; \
14886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14887 $(HOST_EXPORTS) \
14888 for flag in $(EXTRA_HOST_FLAGS) ; do \
14889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14890 done; \
14891 echo "Doing TAGS in mpc"; \
14892 (cd $(HOST_SUBDIR)/mpc && \
14893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14895 "RANLIB=$${RANLIB}" \
14896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14897 TAGS) \
14898 || exit 1
14900 @endif mpc
14902 .PHONY: maybe-install-info-mpc install-info-mpc
14903 maybe-install-info-mpc:
14904 @if mpc
14905 maybe-install-info-mpc: install-info-mpc
14907 install-info-mpc: \
14908 configure-mpc \
14909 info-mpc
14910 @[ -f ./mpc/Makefile ] || exit 0; \
14911 r=`${PWD_COMMAND}`; export r; \
14912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14913 $(HOST_EXPORTS) \
14914 for flag in $(EXTRA_HOST_FLAGS) ; do \
14915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14916 done; \
14917 echo "Doing install-info in mpc"; \
14918 (cd $(HOST_SUBDIR)/mpc && \
14919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14921 "RANLIB=$${RANLIB}" \
14922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14923 install-info) \
14924 || exit 1
14926 @endif mpc
14928 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
14929 maybe-install-pdf-mpc:
14930 @if mpc
14931 maybe-install-pdf-mpc: install-pdf-mpc
14933 install-pdf-mpc: \
14934 configure-mpc \
14935 pdf-mpc
14936 @[ -f ./mpc/Makefile ] || exit 0; \
14937 r=`${PWD_COMMAND}`; export r; \
14938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14939 $(HOST_EXPORTS) \
14940 for flag in $(EXTRA_HOST_FLAGS) ; do \
14941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14942 done; \
14943 echo "Doing install-pdf in mpc"; \
14944 (cd $(HOST_SUBDIR)/mpc && \
14945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14947 "RANLIB=$${RANLIB}" \
14948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14949 install-pdf) \
14950 || exit 1
14952 @endif mpc
14954 .PHONY: maybe-install-html-mpc install-html-mpc
14955 maybe-install-html-mpc:
14956 @if mpc
14957 maybe-install-html-mpc: install-html-mpc
14959 install-html-mpc: \
14960 configure-mpc \
14961 html-mpc
14962 @[ -f ./mpc/Makefile ] || exit 0; \
14963 r=`${PWD_COMMAND}`; export r; \
14964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14965 $(HOST_EXPORTS) \
14966 for flag in $(EXTRA_HOST_FLAGS) ; do \
14967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14968 done; \
14969 echo "Doing install-html in mpc"; \
14970 (cd $(HOST_SUBDIR)/mpc && \
14971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14973 "RANLIB=$${RANLIB}" \
14974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14975 install-html) \
14976 || exit 1
14978 @endif mpc
14980 .PHONY: maybe-installcheck-mpc installcheck-mpc
14981 maybe-installcheck-mpc:
14982 @if mpc
14983 maybe-installcheck-mpc: installcheck-mpc
14985 installcheck-mpc: \
14986 configure-mpc
14987 @[ -f ./mpc/Makefile ] || exit 0; \
14988 r=`${PWD_COMMAND}`; export r; \
14989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14990 $(HOST_EXPORTS) \
14991 for flag in $(EXTRA_HOST_FLAGS) ; do \
14992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14993 done; \
14994 echo "Doing installcheck in mpc"; \
14995 (cd $(HOST_SUBDIR)/mpc && \
14996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14998 "RANLIB=$${RANLIB}" \
14999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15000 installcheck) \
15001 || exit 1
15003 @endif mpc
15005 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15006 maybe-mostlyclean-mpc:
15007 @if mpc
15008 maybe-mostlyclean-mpc: mostlyclean-mpc
15010 mostlyclean-mpc:
15011 @[ -f ./mpc/Makefile ] || exit 0; \
15012 r=`${PWD_COMMAND}`; export r; \
15013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15014 $(HOST_EXPORTS) \
15015 for flag in $(EXTRA_HOST_FLAGS) ; do \
15016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15017 done; \
15018 echo "Doing mostlyclean in mpc"; \
15019 (cd $(HOST_SUBDIR)/mpc && \
15020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15022 "RANLIB=$${RANLIB}" \
15023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15024 mostlyclean) \
15025 || exit 1
15027 @endif mpc
15029 .PHONY: maybe-clean-mpc clean-mpc
15030 maybe-clean-mpc:
15031 @if mpc
15032 maybe-clean-mpc: clean-mpc
15034 clean-mpc:
15035 @[ -f ./mpc/Makefile ] || exit 0; \
15036 r=`${PWD_COMMAND}`; export r; \
15037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15038 $(HOST_EXPORTS) \
15039 for flag in $(EXTRA_HOST_FLAGS) ; do \
15040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15041 done; \
15042 echo "Doing clean in mpc"; \
15043 (cd $(HOST_SUBDIR)/mpc && \
15044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15046 "RANLIB=$${RANLIB}" \
15047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15048 clean) \
15049 || exit 1
15051 @endif mpc
15053 .PHONY: maybe-distclean-mpc distclean-mpc
15054 maybe-distclean-mpc:
15055 @if mpc
15056 maybe-distclean-mpc: distclean-mpc
15058 distclean-mpc:
15059 @[ -f ./mpc/Makefile ] || exit 0; \
15060 r=`${PWD_COMMAND}`; export r; \
15061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15062 $(HOST_EXPORTS) \
15063 for flag in $(EXTRA_HOST_FLAGS) ; do \
15064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15065 done; \
15066 echo "Doing distclean in mpc"; \
15067 (cd $(HOST_SUBDIR)/mpc && \
15068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15070 "RANLIB=$${RANLIB}" \
15071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15072 distclean) \
15073 || exit 1
15075 @endif mpc
15077 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15078 maybe-maintainer-clean-mpc:
15079 @if mpc
15080 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15082 maintainer-clean-mpc:
15083 @[ -f ./mpc/Makefile ] || exit 0; \
15084 r=`${PWD_COMMAND}`; export r; \
15085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15086 $(HOST_EXPORTS) \
15087 for flag in $(EXTRA_HOST_FLAGS) ; do \
15088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15089 done; \
15090 echo "Doing maintainer-clean in mpc"; \
15091 (cd $(HOST_SUBDIR)/mpc && \
15092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15094 "RANLIB=$${RANLIB}" \
15095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15096 maintainer-clean) \
15097 || exit 1
15099 @endif mpc
15103 .PHONY: configure-isl maybe-configure-isl
15104 maybe-configure-isl:
15105 @if gcc-bootstrap
15106 configure-isl: stage_current
15107 @endif gcc-bootstrap
15108 @if isl
15109 maybe-configure-isl: configure-isl
15110 configure-isl:
15111 @r=`${PWD_COMMAND}`; export r; \
15112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15113 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15115 $(HOST_EXPORTS) \
15116 echo Configuring in $(HOST_SUBDIR)/isl; \
15117 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15118 case $(srcdir) in \
15119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15120 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15122 esac; \
15123 module_srcdir=isl; \
15124 $(SHELL) \
15125 $$s/$$module_srcdir/configure \
15126 --srcdir=$${topdir}/$$module_srcdir \
15127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15128 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15129 || exit 1
15130 @endif isl
15134 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15135 maybe-configure-stage1-isl:
15136 @if isl-bootstrap
15137 maybe-configure-stage1-isl: configure-stage1-isl
15138 configure-stage1-isl:
15139 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15140 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15141 @r=`${PWD_COMMAND}`; export r; \
15142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15143 TFLAGS="$(STAGE1_TFLAGS)"; \
15144 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15145 $(HOST_EXPORTS) \
15146 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15147 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15148 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15149 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15150 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15151 cd $(HOST_SUBDIR)/isl || exit 1; \
15152 case $(srcdir) in \
15153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15154 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15156 esac; \
15157 module_srcdir=isl; \
15158 $(SHELL) $$s/$$module_srcdir/configure \
15159 --srcdir=$${topdir}/$$module_srcdir \
15160 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15161 --target=${target_alias} \
15163 $(STAGE1_CONFIGURE_FLAGS) \
15164 --disable-shared @extra_isl_gmp_configure_flags@
15165 @endif isl-bootstrap
15167 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15168 maybe-configure-stage2-isl:
15169 @if isl-bootstrap
15170 maybe-configure-stage2-isl: configure-stage2-isl
15171 configure-stage2-isl:
15172 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15173 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15174 @r=`${PWD_COMMAND}`; export r; \
15175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15176 TFLAGS="$(STAGE2_TFLAGS)"; \
15177 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15178 $(HOST_EXPORTS) \
15179 $(POSTSTAGE1_HOST_EXPORTS) \
15180 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15181 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15182 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15183 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15185 cd $(HOST_SUBDIR)/isl || exit 1; \
15186 case $(srcdir) in \
15187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15188 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15190 esac; \
15191 module_srcdir=isl; \
15192 $(SHELL) $$s/$$module_srcdir/configure \
15193 --srcdir=$${topdir}/$$module_srcdir \
15194 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15195 --target=${target_alias} \
15196 --with-build-libsubdir=$(HOST_SUBDIR) \
15197 $(STAGE2_CONFIGURE_FLAGS) \
15198 --disable-shared @extra_isl_gmp_configure_flags@
15199 @endif isl-bootstrap
15201 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
15202 maybe-configure-stage3-isl:
15203 @if isl-bootstrap
15204 maybe-configure-stage3-isl: configure-stage3-isl
15205 configure-stage3-isl:
15206 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15208 @r=`${PWD_COMMAND}`; export r; \
15209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15210 TFLAGS="$(STAGE3_TFLAGS)"; \
15211 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15212 $(HOST_EXPORTS) \
15213 $(POSTSTAGE1_HOST_EXPORTS) \
15214 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15215 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15216 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15217 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
15218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15219 cd $(HOST_SUBDIR)/isl || exit 1; \
15220 case $(srcdir) in \
15221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15222 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15224 esac; \
15225 module_srcdir=isl; \
15226 $(SHELL) $$s/$$module_srcdir/configure \
15227 --srcdir=$${topdir}/$$module_srcdir \
15228 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15229 --target=${target_alias} \
15230 --with-build-libsubdir=$(HOST_SUBDIR) \
15231 $(STAGE3_CONFIGURE_FLAGS) \
15232 --disable-shared @extra_isl_gmp_configure_flags@
15233 @endif isl-bootstrap
15235 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
15236 maybe-configure-stage4-isl:
15237 @if isl-bootstrap
15238 maybe-configure-stage4-isl: configure-stage4-isl
15239 configure-stage4-isl:
15240 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15241 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15242 @r=`${PWD_COMMAND}`; export r; \
15243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15244 TFLAGS="$(STAGE4_TFLAGS)"; \
15245 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15246 $(HOST_EXPORTS) \
15247 $(POSTSTAGE1_HOST_EXPORTS) \
15248 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15249 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15250 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15251 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
15252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15253 cd $(HOST_SUBDIR)/isl || exit 1; \
15254 case $(srcdir) in \
15255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15256 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15258 esac; \
15259 module_srcdir=isl; \
15260 $(SHELL) $$s/$$module_srcdir/configure \
15261 --srcdir=$${topdir}/$$module_srcdir \
15262 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15263 --target=${target_alias} \
15264 --with-build-libsubdir=$(HOST_SUBDIR) \
15265 $(STAGE4_CONFIGURE_FLAGS) \
15266 --disable-shared @extra_isl_gmp_configure_flags@
15267 @endif isl-bootstrap
15269 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
15270 maybe-configure-stageprofile-isl:
15271 @if isl-bootstrap
15272 maybe-configure-stageprofile-isl: configure-stageprofile-isl
15273 configure-stageprofile-isl:
15274 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15275 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15276 @r=`${PWD_COMMAND}`; export r; \
15277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15278 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15279 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15280 $(HOST_EXPORTS) \
15281 $(POSTSTAGE1_HOST_EXPORTS) \
15282 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15283 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15284 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15285 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
15286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15287 cd $(HOST_SUBDIR)/isl || exit 1; \
15288 case $(srcdir) in \
15289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15290 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15292 esac; \
15293 module_srcdir=isl; \
15294 $(SHELL) $$s/$$module_srcdir/configure \
15295 --srcdir=$${topdir}/$$module_srcdir \
15296 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15297 --target=${target_alias} \
15298 --with-build-libsubdir=$(HOST_SUBDIR) \
15299 $(STAGEprofile_CONFIGURE_FLAGS) \
15300 --disable-shared @extra_isl_gmp_configure_flags@
15301 @endif isl-bootstrap
15303 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
15304 maybe-configure-stagefeedback-isl:
15305 @if isl-bootstrap
15306 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
15307 configure-stagefeedback-isl:
15308 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15309 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15310 @r=`${PWD_COMMAND}`; export r; \
15311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15312 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15313 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15314 $(HOST_EXPORTS) \
15315 $(POSTSTAGE1_HOST_EXPORTS) \
15316 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15317 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15318 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15319 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
15320 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15321 cd $(HOST_SUBDIR)/isl || exit 1; \
15322 case $(srcdir) in \
15323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15324 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15326 esac; \
15327 module_srcdir=isl; \
15328 $(SHELL) $$s/$$module_srcdir/configure \
15329 --srcdir=$${topdir}/$$module_srcdir \
15330 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15331 --target=${target_alias} \
15332 --with-build-libsubdir=$(HOST_SUBDIR) \
15333 $(STAGEfeedback_CONFIGURE_FLAGS) \
15334 --disable-shared @extra_isl_gmp_configure_flags@
15335 @endif isl-bootstrap
15337 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
15338 maybe-configure-stageautoprofile-isl:
15339 @if isl-bootstrap
15340 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
15341 configure-stageautoprofile-isl:
15342 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15344 @r=`${PWD_COMMAND}`; export r; \
15345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15346 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15347 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15348 $(HOST_EXPORTS) \
15349 $(POSTSTAGE1_HOST_EXPORTS) \
15350 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15351 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15352 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15353 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
15354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15355 cd $(HOST_SUBDIR)/isl || exit 1; \
15356 case $(srcdir) in \
15357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15358 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15360 esac; \
15361 module_srcdir=isl; \
15362 $(SHELL) $$s/$$module_srcdir/configure \
15363 --srcdir=$${topdir}/$$module_srcdir \
15364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15365 --target=${target_alias} \
15366 --with-build-libsubdir=$(HOST_SUBDIR) \
15367 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15368 --disable-shared @extra_isl_gmp_configure_flags@
15369 @endif isl-bootstrap
15371 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
15372 maybe-configure-stageautofeedback-isl:
15373 @if isl-bootstrap
15374 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
15375 configure-stageautofeedback-isl:
15376 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15377 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15378 @r=`${PWD_COMMAND}`; export r; \
15379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15380 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15381 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15382 $(HOST_EXPORTS) \
15383 $(POSTSTAGE1_HOST_EXPORTS) \
15384 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15385 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15386 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15387 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
15388 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15389 cd $(HOST_SUBDIR)/isl || exit 1; \
15390 case $(srcdir) in \
15391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15392 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15394 esac; \
15395 module_srcdir=isl; \
15396 $(SHELL) $$s/$$module_srcdir/configure \
15397 --srcdir=$${topdir}/$$module_srcdir \
15398 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15399 --target=${target_alias} \
15400 --with-build-libsubdir=$(HOST_SUBDIR) \
15401 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15402 --disable-shared @extra_isl_gmp_configure_flags@
15403 @endif isl-bootstrap
15409 .PHONY: all-isl maybe-all-isl
15410 maybe-all-isl:
15411 @if gcc-bootstrap
15412 all-isl: stage_current
15413 @endif gcc-bootstrap
15414 @if isl
15415 TARGET-isl=all
15416 maybe-all-isl: all-isl
15417 all-isl: configure-isl
15418 @r=`${PWD_COMMAND}`; export r; \
15419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15420 $(HOST_EXPORTS) \
15421 (cd $(HOST_SUBDIR)/isl && \
15422 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
15423 $(TARGET-isl))
15424 @endif isl
15428 .PHONY: all-stage1-isl maybe-all-stage1-isl
15429 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
15430 maybe-all-stage1-isl:
15431 maybe-clean-stage1-isl:
15432 @if isl-bootstrap
15433 maybe-all-stage1-isl: all-stage1-isl
15434 all-stage1: all-stage1-isl
15435 TARGET-stage1-isl = $(TARGET-isl)
15436 all-stage1-isl: configure-stage1-isl
15437 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15438 @r=`${PWD_COMMAND}`; export r; \
15439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15440 TFLAGS="$(STAGE1_TFLAGS)"; \
15441 $(HOST_EXPORTS) \
15442 cd $(HOST_SUBDIR)/isl && \
15444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15445 CFLAGS="$(STAGE1_CFLAGS)" \
15446 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15447 LIBCFLAGS="$(LIBCFLAGS)" \
15448 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15449 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15450 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15451 $(EXTRA_HOST_FLAGS) \
15452 $(STAGE1_FLAGS_TO_PASS) V=1 \
15453 TFLAGS="$(STAGE1_TFLAGS)" \
15454 $(TARGET-stage1-isl)
15456 maybe-clean-stage1-isl: clean-stage1-isl
15457 clean-stage1: clean-stage1-isl
15458 clean-stage1-isl:
15459 @if [ $(current_stage) = stage1 ]; then \
15460 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15461 else \
15462 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
15463 $(MAKE) stage1-start; \
15464 fi; \
15465 cd $(HOST_SUBDIR)/isl && \
15466 $(MAKE) $(EXTRA_HOST_FLAGS) \
15467 $(STAGE1_FLAGS_TO_PASS) V=1 clean
15468 @endif isl-bootstrap
15471 .PHONY: all-stage2-isl maybe-all-stage2-isl
15472 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
15473 maybe-all-stage2-isl:
15474 maybe-clean-stage2-isl:
15475 @if isl-bootstrap
15476 maybe-all-stage2-isl: all-stage2-isl
15477 all-stage2: all-stage2-isl
15478 TARGET-stage2-isl = $(TARGET-isl)
15479 all-stage2-isl: configure-stage2-isl
15480 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15481 @r=`${PWD_COMMAND}`; export r; \
15482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15483 TFLAGS="$(STAGE2_TFLAGS)"; \
15484 $(HOST_EXPORTS) \
15485 $(POSTSTAGE1_HOST_EXPORTS) \
15486 cd $(HOST_SUBDIR)/isl && \
15488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15489 CFLAGS="$(STAGE2_CFLAGS)" \
15490 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15491 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15492 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15495 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15496 TFLAGS="$(STAGE2_TFLAGS)" \
15497 $(TARGET-stage2-isl)
15499 maybe-clean-stage2-isl: clean-stage2-isl
15500 clean-stage2: clean-stage2-isl
15501 clean-stage2-isl:
15502 @if [ $(current_stage) = stage2 ]; then \
15503 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15504 else \
15505 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
15506 $(MAKE) stage2-start; \
15507 fi; \
15508 cd $(HOST_SUBDIR)/isl && \
15509 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15510 @endif isl-bootstrap
15513 .PHONY: all-stage3-isl maybe-all-stage3-isl
15514 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
15515 maybe-all-stage3-isl:
15516 maybe-clean-stage3-isl:
15517 @if isl-bootstrap
15518 maybe-all-stage3-isl: all-stage3-isl
15519 all-stage3: all-stage3-isl
15520 TARGET-stage3-isl = $(TARGET-isl)
15521 all-stage3-isl: configure-stage3-isl
15522 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15523 @r=`${PWD_COMMAND}`; export r; \
15524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15525 TFLAGS="$(STAGE3_TFLAGS)"; \
15526 $(HOST_EXPORTS) \
15527 $(POSTSTAGE1_HOST_EXPORTS) \
15528 cd $(HOST_SUBDIR)/isl && \
15530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15531 CFLAGS="$(STAGE3_CFLAGS)" \
15532 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15533 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15534 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15535 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15536 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15537 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15538 TFLAGS="$(STAGE3_TFLAGS)" \
15539 $(TARGET-stage3-isl)
15541 maybe-clean-stage3-isl: clean-stage3-isl
15542 clean-stage3: clean-stage3-isl
15543 clean-stage3-isl:
15544 @if [ $(current_stage) = stage3 ]; then \
15545 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15546 else \
15547 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
15548 $(MAKE) stage3-start; \
15549 fi; \
15550 cd $(HOST_SUBDIR)/isl && \
15551 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15552 @endif isl-bootstrap
15555 .PHONY: all-stage4-isl maybe-all-stage4-isl
15556 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
15557 maybe-all-stage4-isl:
15558 maybe-clean-stage4-isl:
15559 @if isl-bootstrap
15560 maybe-all-stage4-isl: all-stage4-isl
15561 all-stage4: all-stage4-isl
15562 TARGET-stage4-isl = $(TARGET-isl)
15563 all-stage4-isl: configure-stage4-isl
15564 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15565 @r=`${PWD_COMMAND}`; export r; \
15566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15567 TFLAGS="$(STAGE4_TFLAGS)"; \
15568 $(HOST_EXPORTS) \
15569 $(POSTSTAGE1_HOST_EXPORTS) \
15570 cd $(HOST_SUBDIR)/isl && \
15572 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15573 CFLAGS="$(STAGE4_CFLAGS)" \
15574 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15575 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15576 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15577 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15578 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15579 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15580 TFLAGS="$(STAGE4_TFLAGS)" \
15581 $(TARGET-stage4-isl)
15583 maybe-clean-stage4-isl: clean-stage4-isl
15584 clean-stage4: clean-stage4-isl
15585 clean-stage4-isl:
15586 @if [ $(current_stage) = stage4 ]; then \
15587 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15588 else \
15589 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
15590 $(MAKE) stage4-start; \
15591 fi; \
15592 cd $(HOST_SUBDIR)/isl && \
15593 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15594 @endif isl-bootstrap
15597 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
15598 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
15599 maybe-all-stageprofile-isl:
15600 maybe-clean-stageprofile-isl:
15601 @if isl-bootstrap
15602 maybe-all-stageprofile-isl: all-stageprofile-isl
15603 all-stageprofile: all-stageprofile-isl
15604 TARGET-stageprofile-isl = $(TARGET-isl)
15605 all-stageprofile-isl: configure-stageprofile-isl
15606 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15607 @r=`${PWD_COMMAND}`; export r; \
15608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15609 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15610 $(HOST_EXPORTS) \
15611 $(POSTSTAGE1_HOST_EXPORTS) \
15612 cd $(HOST_SUBDIR)/isl && \
15614 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15615 CFLAGS="$(STAGEprofile_CFLAGS)" \
15616 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15617 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15618 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15619 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15620 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15621 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15622 TFLAGS="$(STAGEprofile_TFLAGS)" \
15623 $(TARGET-stageprofile-isl)
15625 maybe-clean-stageprofile-isl: clean-stageprofile-isl
15626 clean-stageprofile: clean-stageprofile-isl
15627 clean-stageprofile-isl:
15628 @if [ $(current_stage) = stageprofile ]; then \
15629 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15630 else \
15631 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
15632 $(MAKE) stageprofile-start; \
15633 fi; \
15634 cd $(HOST_SUBDIR)/isl && \
15635 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15636 @endif isl-bootstrap
15639 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
15640 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
15641 maybe-all-stagefeedback-isl:
15642 maybe-clean-stagefeedback-isl:
15643 @if isl-bootstrap
15644 maybe-all-stagefeedback-isl: all-stagefeedback-isl
15645 all-stagefeedback: all-stagefeedback-isl
15646 TARGET-stagefeedback-isl = $(TARGET-isl)
15647 all-stagefeedback-isl: configure-stagefeedback-isl
15648 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15649 @r=`${PWD_COMMAND}`; export r; \
15650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15651 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15652 $(HOST_EXPORTS) \
15653 $(POSTSTAGE1_HOST_EXPORTS) \
15654 cd $(HOST_SUBDIR)/isl && \
15656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15657 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15658 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15659 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15660 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15661 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15662 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15663 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15664 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15665 $(TARGET-stagefeedback-isl)
15667 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
15668 clean-stagefeedback: clean-stagefeedback-isl
15669 clean-stagefeedback-isl:
15670 @if [ $(current_stage) = stagefeedback ]; then \
15671 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15672 else \
15673 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
15674 $(MAKE) stagefeedback-start; \
15675 fi; \
15676 cd $(HOST_SUBDIR)/isl && \
15677 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15678 @endif isl-bootstrap
15681 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
15682 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
15683 maybe-all-stageautoprofile-isl:
15684 maybe-clean-stageautoprofile-isl:
15685 @if isl-bootstrap
15686 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
15687 all-stageautoprofile: all-stageautoprofile-isl
15688 TARGET-stageautoprofile-isl = $(TARGET-isl)
15689 all-stageautoprofile-isl: configure-stageautoprofile-isl
15690 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15691 @r=`${PWD_COMMAND}`; export r; \
15692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15693 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15694 $(HOST_EXPORTS) \
15695 $(POSTSTAGE1_HOST_EXPORTS) \
15696 cd $(HOST_SUBDIR)/isl && \
15697 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15698 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15699 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15700 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15701 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15702 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15703 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15704 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15705 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15706 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15707 $(TARGET-stageautoprofile-isl)
15709 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
15710 clean-stageautoprofile: clean-stageautoprofile-isl
15711 clean-stageautoprofile-isl:
15712 @if [ $(current_stage) = stageautoprofile ]; then \
15713 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15714 else \
15715 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
15716 $(MAKE) stageautoprofile-start; \
15717 fi; \
15718 cd $(HOST_SUBDIR)/isl && \
15719 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15720 @endif isl-bootstrap
15723 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
15724 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
15725 maybe-all-stageautofeedback-isl:
15726 maybe-clean-stageautofeedback-isl:
15727 @if isl-bootstrap
15728 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
15729 all-stageautofeedback: all-stageautofeedback-isl
15730 TARGET-stageautofeedback-isl = $(TARGET-isl)
15731 all-stageautofeedback-isl: configure-stageautofeedback-isl
15732 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15733 @r=`${PWD_COMMAND}`; export r; \
15734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15735 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15736 $(HOST_EXPORTS) \
15737 $(POSTSTAGE1_HOST_EXPORTS) \
15738 cd $(HOST_SUBDIR)/isl && \
15740 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15741 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15742 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15743 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15744 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15745 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15746 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15747 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
15748 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15749 $(TARGET-stageautofeedback-isl)
15751 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
15752 clean-stageautofeedback: clean-stageautofeedback-isl
15753 clean-stageautofeedback-isl:
15754 @if [ $(current_stage) = stageautofeedback ]; then \
15755 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
15756 else \
15757 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
15758 $(MAKE) stageautofeedback-start; \
15759 fi; \
15760 cd $(HOST_SUBDIR)/isl && \
15761 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
15762 @endif isl-bootstrap
15768 .PHONY: check-isl maybe-check-isl
15769 maybe-check-isl:
15770 @if isl
15771 maybe-check-isl: check-isl
15773 check-isl:
15774 @: $(MAKE); $(unstage)
15775 @r=`${PWD_COMMAND}`; export r; \
15776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15777 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15778 (cd $(HOST_SUBDIR)/isl && \
15779 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
15781 @endif isl
15783 .PHONY: install-isl maybe-install-isl
15784 maybe-install-isl:
15785 @if isl
15786 maybe-install-isl: install-isl
15788 install-isl:
15790 @endif isl
15792 .PHONY: install-strip-isl maybe-install-strip-isl
15793 maybe-install-strip-isl:
15794 @if isl
15795 maybe-install-strip-isl: install-strip-isl
15797 install-strip-isl:
15799 @endif isl
15801 # Other targets (info, dvi, pdf, etc.)
15803 .PHONY: maybe-info-isl info-isl
15804 maybe-info-isl:
15805 @if isl
15806 maybe-info-isl: info-isl
15808 info-isl: \
15809 configure-isl
15810 @[ -f ./isl/Makefile ] || exit 0; \
15811 r=`${PWD_COMMAND}`; export r; \
15812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15813 $(HOST_EXPORTS) \
15814 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15816 done; \
15817 echo "Doing info in isl"; \
15818 (cd $(HOST_SUBDIR)/isl && \
15819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15821 "RANLIB=$${RANLIB}" \
15822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15823 info) \
15824 || exit 1
15826 @endif isl
15828 .PHONY: maybe-dvi-isl dvi-isl
15829 maybe-dvi-isl:
15830 @if isl
15831 maybe-dvi-isl: dvi-isl
15833 dvi-isl: \
15834 configure-isl
15835 @[ -f ./isl/Makefile ] || exit 0; \
15836 r=`${PWD_COMMAND}`; export r; \
15837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15838 $(HOST_EXPORTS) \
15839 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15841 done; \
15842 echo "Doing dvi in isl"; \
15843 (cd $(HOST_SUBDIR)/isl && \
15844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15846 "RANLIB=$${RANLIB}" \
15847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15848 dvi) \
15849 || exit 1
15851 @endif isl
15853 .PHONY: maybe-pdf-isl pdf-isl
15854 maybe-pdf-isl:
15855 @if isl
15856 maybe-pdf-isl: pdf-isl
15858 pdf-isl: \
15859 configure-isl
15860 @[ -f ./isl/Makefile ] || exit 0; \
15861 r=`${PWD_COMMAND}`; export r; \
15862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15863 $(HOST_EXPORTS) \
15864 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15866 done; \
15867 echo "Doing pdf in isl"; \
15868 (cd $(HOST_SUBDIR)/isl && \
15869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15871 "RANLIB=$${RANLIB}" \
15872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15873 pdf) \
15874 || exit 1
15876 @endif isl
15878 .PHONY: maybe-html-isl html-isl
15879 maybe-html-isl:
15880 @if isl
15881 maybe-html-isl: html-isl
15883 html-isl: \
15884 configure-isl
15885 @[ -f ./isl/Makefile ] || exit 0; \
15886 r=`${PWD_COMMAND}`; export r; \
15887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15888 $(HOST_EXPORTS) \
15889 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15891 done; \
15892 echo "Doing html in isl"; \
15893 (cd $(HOST_SUBDIR)/isl && \
15894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15896 "RANLIB=$${RANLIB}" \
15897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15898 html) \
15899 || exit 1
15901 @endif isl
15903 .PHONY: maybe-TAGS-isl TAGS-isl
15904 maybe-TAGS-isl:
15905 @if isl
15906 maybe-TAGS-isl: TAGS-isl
15908 TAGS-isl: \
15909 configure-isl
15910 @[ -f ./isl/Makefile ] || exit 0; \
15911 r=`${PWD_COMMAND}`; export r; \
15912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15913 $(HOST_EXPORTS) \
15914 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15916 done; \
15917 echo "Doing TAGS in isl"; \
15918 (cd $(HOST_SUBDIR)/isl && \
15919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15921 "RANLIB=$${RANLIB}" \
15922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15923 TAGS) \
15924 || exit 1
15926 @endif isl
15928 .PHONY: maybe-install-info-isl install-info-isl
15929 maybe-install-info-isl:
15930 @if isl
15931 maybe-install-info-isl: install-info-isl
15933 install-info-isl: \
15934 configure-isl \
15935 info-isl
15936 @[ -f ./isl/Makefile ] || exit 0; \
15937 r=`${PWD_COMMAND}`; export r; \
15938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15939 $(HOST_EXPORTS) \
15940 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15942 done; \
15943 echo "Doing install-info in isl"; \
15944 (cd $(HOST_SUBDIR)/isl && \
15945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15947 "RANLIB=$${RANLIB}" \
15948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15949 install-info) \
15950 || exit 1
15952 @endif isl
15954 .PHONY: maybe-install-pdf-isl install-pdf-isl
15955 maybe-install-pdf-isl:
15956 @if isl
15957 maybe-install-pdf-isl: install-pdf-isl
15959 install-pdf-isl: \
15960 configure-isl \
15961 pdf-isl
15962 @[ -f ./isl/Makefile ] || exit 0; \
15963 r=`${PWD_COMMAND}`; export r; \
15964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15965 $(HOST_EXPORTS) \
15966 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15968 done; \
15969 echo "Doing install-pdf in isl"; \
15970 (cd $(HOST_SUBDIR)/isl && \
15971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15973 "RANLIB=$${RANLIB}" \
15974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15975 install-pdf) \
15976 || exit 1
15978 @endif isl
15980 .PHONY: maybe-install-html-isl install-html-isl
15981 maybe-install-html-isl:
15982 @if isl
15983 maybe-install-html-isl: install-html-isl
15985 install-html-isl: \
15986 configure-isl \
15987 html-isl
15988 @[ -f ./isl/Makefile ] || exit 0; \
15989 r=`${PWD_COMMAND}`; export r; \
15990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15991 $(HOST_EXPORTS) \
15992 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
15993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15994 done; \
15995 echo "Doing install-html in isl"; \
15996 (cd $(HOST_SUBDIR)/isl && \
15997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15999 "RANLIB=$${RANLIB}" \
16000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16001 install-html) \
16002 || exit 1
16004 @endif isl
16006 .PHONY: maybe-installcheck-isl installcheck-isl
16007 maybe-installcheck-isl:
16008 @if isl
16009 maybe-installcheck-isl: installcheck-isl
16011 installcheck-isl: \
16012 configure-isl
16013 @[ -f ./isl/Makefile ] || exit 0; \
16014 r=`${PWD_COMMAND}`; export r; \
16015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16016 $(HOST_EXPORTS) \
16017 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16019 done; \
16020 echo "Doing installcheck in isl"; \
16021 (cd $(HOST_SUBDIR)/isl && \
16022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16024 "RANLIB=$${RANLIB}" \
16025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16026 installcheck) \
16027 || exit 1
16029 @endif isl
16031 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16032 maybe-mostlyclean-isl:
16033 @if isl
16034 maybe-mostlyclean-isl: mostlyclean-isl
16036 mostlyclean-isl:
16037 @[ -f ./isl/Makefile ] || exit 0; \
16038 r=`${PWD_COMMAND}`; export r; \
16039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16040 $(HOST_EXPORTS) \
16041 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16043 done; \
16044 echo "Doing mostlyclean in isl"; \
16045 (cd $(HOST_SUBDIR)/isl && \
16046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16048 "RANLIB=$${RANLIB}" \
16049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16050 mostlyclean) \
16051 || exit 1
16053 @endif isl
16055 .PHONY: maybe-clean-isl clean-isl
16056 maybe-clean-isl:
16057 @if isl
16058 maybe-clean-isl: clean-isl
16060 clean-isl:
16061 @[ -f ./isl/Makefile ] || exit 0; \
16062 r=`${PWD_COMMAND}`; export r; \
16063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16064 $(HOST_EXPORTS) \
16065 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16067 done; \
16068 echo "Doing clean in isl"; \
16069 (cd $(HOST_SUBDIR)/isl && \
16070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16072 "RANLIB=$${RANLIB}" \
16073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16074 clean) \
16075 || exit 1
16077 @endif isl
16079 .PHONY: maybe-distclean-isl distclean-isl
16080 maybe-distclean-isl:
16081 @if isl
16082 maybe-distclean-isl: distclean-isl
16084 distclean-isl:
16085 @[ -f ./isl/Makefile ] || exit 0; \
16086 r=`${PWD_COMMAND}`; export r; \
16087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16088 $(HOST_EXPORTS) \
16089 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16091 done; \
16092 echo "Doing distclean in isl"; \
16093 (cd $(HOST_SUBDIR)/isl && \
16094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16096 "RANLIB=$${RANLIB}" \
16097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16098 distclean) \
16099 || exit 1
16101 @endif isl
16103 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
16104 maybe-maintainer-clean-isl:
16105 @if isl
16106 maybe-maintainer-clean-isl: maintainer-clean-isl
16108 maintainer-clean-isl:
16109 @[ -f ./isl/Makefile ] || exit 0; \
16110 r=`${PWD_COMMAND}`; export r; \
16111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16112 $(HOST_EXPORTS) \
16113 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16115 done; \
16116 echo "Doing maintainer-clean in isl"; \
16117 (cd $(HOST_SUBDIR)/isl && \
16118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16120 "RANLIB=$${RANLIB}" \
16121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16122 maintainer-clean) \
16123 || exit 1
16125 @endif isl
16129 .PHONY: configure-libelf maybe-configure-libelf
16130 maybe-configure-libelf:
16131 @if gcc-bootstrap
16132 configure-libelf: stage_current
16133 @endif gcc-bootstrap
16134 @if libelf
16135 maybe-configure-libelf: configure-libelf
16136 configure-libelf:
16137 @r=`${PWD_COMMAND}`; export r; \
16138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16139 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16141 $(HOST_EXPORTS) \
16142 echo Configuring in $(HOST_SUBDIR)/libelf; \
16143 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
16144 case $(srcdir) in \
16145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16146 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16148 esac; \
16149 module_srcdir=libelf; \
16150 $(SHELL) \
16151 $$s/$$module_srcdir/configure \
16152 --srcdir=$${topdir}/$$module_srcdir \
16153 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16154 --target=${target_alias} --disable-shared \
16155 || exit 1
16156 @endif libelf
16160 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
16161 maybe-configure-stage1-libelf:
16162 @if libelf-bootstrap
16163 maybe-configure-stage1-libelf: configure-stage1-libelf
16164 configure-stage1-libelf:
16165 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16166 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16167 @r=`${PWD_COMMAND}`; export r; \
16168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16169 TFLAGS="$(STAGE1_TFLAGS)"; \
16170 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16171 $(HOST_EXPORTS) \
16172 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16173 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16174 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16175 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
16176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16177 cd $(HOST_SUBDIR)/libelf || exit 1; \
16178 case $(srcdir) in \
16179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16180 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16182 esac; \
16183 module_srcdir=libelf; \
16184 $(SHELL) $$s/$$module_srcdir/configure \
16185 --srcdir=$${topdir}/$$module_srcdir \
16186 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16187 --target=${target_alias} \
16189 $(STAGE1_CONFIGURE_FLAGS) \
16190 --disable-shared
16191 @endif libelf-bootstrap
16193 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
16194 maybe-configure-stage2-libelf:
16195 @if libelf-bootstrap
16196 maybe-configure-stage2-libelf: configure-stage2-libelf
16197 configure-stage2-libelf:
16198 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16200 @r=`${PWD_COMMAND}`; export r; \
16201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16202 TFLAGS="$(STAGE2_TFLAGS)"; \
16203 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16204 $(HOST_EXPORTS) \
16205 $(POSTSTAGE1_HOST_EXPORTS) \
16206 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16207 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16208 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16209 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
16210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16211 cd $(HOST_SUBDIR)/libelf || exit 1; \
16212 case $(srcdir) in \
16213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16214 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16216 esac; \
16217 module_srcdir=libelf; \
16218 $(SHELL) $$s/$$module_srcdir/configure \
16219 --srcdir=$${topdir}/$$module_srcdir \
16220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16221 --target=${target_alias} \
16222 --with-build-libsubdir=$(HOST_SUBDIR) \
16223 $(STAGE2_CONFIGURE_FLAGS) \
16224 --disable-shared
16225 @endif libelf-bootstrap
16227 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
16228 maybe-configure-stage3-libelf:
16229 @if libelf-bootstrap
16230 maybe-configure-stage3-libelf: configure-stage3-libelf
16231 configure-stage3-libelf:
16232 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16233 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16234 @r=`${PWD_COMMAND}`; export r; \
16235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16236 TFLAGS="$(STAGE3_TFLAGS)"; \
16237 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16238 $(HOST_EXPORTS) \
16239 $(POSTSTAGE1_HOST_EXPORTS) \
16240 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16241 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16242 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16243 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
16244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16245 cd $(HOST_SUBDIR)/libelf || exit 1; \
16246 case $(srcdir) in \
16247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16248 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16250 esac; \
16251 module_srcdir=libelf; \
16252 $(SHELL) $$s/$$module_srcdir/configure \
16253 --srcdir=$${topdir}/$$module_srcdir \
16254 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16255 --target=${target_alias} \
16256 --with-build-libsubdir=$(HOST_SUBDIR) \
16257 $(STAGE3_CONFIGURE_FLAGS) \
16258 --disable-shared
16259 @endif libelf-bootstrap
16261 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
16262 maybe-configure-stage4-libelf:
16263 @if libelf-bootstrap
16264 maybe-configure-stage4-libelf: configure-stage4-libelf
16265 configure-stage4-libelf:
16266 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16268 @r=`${PWD_COMMAND}`; export r; \
16269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16270 TFLAGS="$(STAGE4_TFLAGS)"; \
16271 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16272 $(HOST_EXPORTS) \
16273 $(POSTSTAGE1_HOST_EXPORTS) \
16274 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16275 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16276 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16277 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
16278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16279 cd $(HOST_SUBDIR)/libelf || exit 1; \
16280 case $(srcdir) in \
16281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16282 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16284 esac; \
16285 module_srcdir=libelf; \
16286 $(SHELL) $$s/$$module_srcdir/configure \
16287 --srcdir=$${topdir}/$$module_srcdir \
16288 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16289 --target=${target_alias} \
16290 --with-build-libsubdir=$(HOST_SUBDIR) \
16291 $(STAGE4_CONFIGURE_FLAGS) \
16292 --disable-shared
16293 @endif libelf-bootstrap
16295 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
16296 maybe-configure-stageprofile-libelf:
16297 @if libelf-bootstrap
16298 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
16299 configure-stageprofile-libelf:
16300 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16302 @r=`${PWD_COMMAND}`; export r; \
16303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16304 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16305 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16306 $(HOST_EXPORTS) \
16307 $(POSTSTAGE1_HOST_EXPORTS) \
16308 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16309 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16310 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16311 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
16312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16313 cd $(HOST_SUBDIR)/libelf || exit 1; \
16314 case $(srcdir) in \
16315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16316 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16318 esac; \
16319 module_srcdir=libelf; \
16320 $(SHELL) $$s/$$module_srcdir/configure \
16321 --srcdir=$${topdir}/$$module_srcdir \
16322 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16323 --target=${target_alias} \
16324 --with-build-libsubdir=$(HOST_SUBDIR) \
16325 $(STAGEprofile_CONFIGURE_FLAGS) \
16326 --disable-shared
16327 @endif libelf-bootstrap
16329 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
16330 maybe-configure-stagefeedback-libelf:
16331 @if libelf-bootstrap
16332 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
16333 configure-stagefeedback-libelf:
16334 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16335 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16336 @r=`${PWD_COMMAND}`; export r; \
16337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16338 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16339 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16340 $(HOST_EXPORTS) \
16341 $(POSTSTAGE1_HOST_EXPORTS) \
16342 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16343 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16344 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16345 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
16346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16347 cd $(HOST_SUBDIR)/libelf || exit 1; \
16348 case $(srcdir) in \
16349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16350 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16352 esac; \
16353 module_srcdir=libelf; \
16354 $(SHELL) $$s/$$module_srcdir/configure \
16355 --srcdir=$${topdir}/$$module_srcdir \
16356 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16357 --target=${target_alias} \
16358 --with-build-libsubdir=$(HOST_SUBDIR) \
16359 $(STAGEfeedback_CONFIGURE_FLAGS) \
16360 --disable-shared
16361 @endif libelf-bootstrap
16363 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
16364 maybe-configure-stageautoprofile-libelf:
16365 @if libelf-bootstrap
16366 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
16367 configure-stageautoprofile-libelf:
16368 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16370 @r=`${PWD_COMMAND}`; export r; \
16371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16372 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16373 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16374 $(HOST_EXPORTS) \
16375 $(POSTSTAGE1_HOST_EXPORTS) \
16376 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16377 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16378 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16379 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
16380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16381 cd $(HOST_SUBDIR)/libelf || exit 1; \
16382 case $(srcdir) in \
16383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16384 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16386 esac; \
16387 module_srcdir=libelf; \
16388 $(SHELL) $$s/$$module_srcdir/configure \
16389 --srcdir=$${topdir}/$$module_srcdir \
16390 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16391 --target=${target_alias} \
16392 --with-build-libsubdir=$(HOST_SUBDIR) \
16393 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16394 --disable-shared
16395 @endif libelf-bootstrap
16397 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
16398 maybe-configure-stageautofeedback-libelf:
16399 @if libelf-bootstrap
16400 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
16401 configure-stageautofeedback-libelf:
16402 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16404 @r=`${PWD_COMMAND}`; export r; \
16405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16406 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16407 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16408 $(HOST_EXPORTS) \
16409 $(POSTSTAGE1_HOST_EXPORTS) \
16410 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16411 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16412 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16413 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
16414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16415 cd $(HOST_SUBDIR)/libelf || exit 1; \
16416 case $(srcdir) in \
16417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16418 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16420 esac; \
16421 module_srcdir=libelf; \
16422 $(SHELL) $$s/$$module_srcdir/configure \
16423 --srcdir=$${topdir}/$$module_srcdir \
16424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16425 --target=${target_alias} \
16426 --with-build-libsubdir=$(HOST_SUBDIR) \
16427 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16428 --disable-shared
16429 @endif libelf-bootstrap
16435 .PHONY: all-libelf maybe-all-libelf
16436 maybe-all-libelf:
16437 @if gcc-bootstrap
16438 all-libelf: stage_current
16439 @endif gcc-bootstrap
16440 @if libelf
16441 TARGET-libelf=all
16442 maybe-all-libelf: all-libelf
16443 all-libelf: configure-libelf
16444 @r=`${PWD_COMMAND}`; export r; \
16445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16446 $(HOST_EXPORTS) \
16447 (cd $(HOST_SUBDIR)/libelf && \
16448 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16449 $(TARGET-libelf))
16450 @endif libelf
16454 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
16455 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
16456 maybe-all-stage1-libelf:
16457 maybe-clean-stage1-libelf:
16458 @if libelf-bootstrap
16459 maybe-all-stage1-libelf: all-stage1-libelf
16460 all-stage1: all-stage1-libelf
16461 TARGET-stage1-libelf = $(TARGET-libelf)
16462 all-stage1-libelf: configure-stage1-libelf
16463 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16464 @r=`${PWD_COMMAND}`; export r; \
16465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16466 TFLAGS="$(STAGE1_TFLAGS)"; \
16467 $(HOST_EXPORTS) \
16468 cd $(HOST_SUBDIR)/libelf && \
16470 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16471 CFLAGS="$(STAGE1_CFLAGS)" \
16472 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16473 LIBCFLAGS="$(LIBCFLAGS)" \
16474 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16475 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16476 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16477 $(EXTRA_HOST_FLAGS) \
16478 $(STAGE1_FLAGS_TO_PASS) \
16479 TFLAGS="$(STAGE1_TFLAGS)" \
16480 $(TARGET-stage1-libelf)
16482 maybe-clean-stage1-libelf: clean-stage1-libelf
16483 clean-stage1: clean-stage1-libelf
16484 clean-stage1-libelf:
16485 @if [ $(current_stage) = stage1 ]; then \
16486 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16487 else \
16488 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
16489 $(MAKE) stage1-start; \
16490 fi; \
16491 cd $(HOST_SUBDIR)/libelf && \
16492 $(MAKE) $(EXTRA_HOST_FLAGS) \
16493 $(STAGE1_FLAGS_TO_PASS) clean
16494 @endif libelf-bootstrap
16497 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
16498 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
16499 maybe-all-stage2-libelf:
16500 maybe-clean-stage2-libelf:
16501 @if libelf-bootstrap
16502 maybe-all-stage2-libelf: all-stage2-libelf
16503 all-stage2: all-stage2-libelf
16504 TARGET-stage2-libelf = $(TARGET-libelf)
16505 all-stage2-libelf: configure-stage2-libelf
16506 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16507 @r=`${PWD_COMMAND}`; export r; \
16508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16509 TFLAGS="$(STAGE2_TFLAGS)"; \
16510 $(HOST_EXPORTS) \
16511 $(POSTSTAGE1_HOST_EXPORTS) \
16512 cd $(HOST_SUBDIR)/libelf && \
16514 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16515 CFLAGS="$(STAGE2_CFLAGS)" \
16516 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16517 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16518 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16519 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16520 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16521 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16522 TFLAGS="$(STAGE2_TFLAGS)" \
16523 $(TARGET-stage2-libelf)
16525 maybe-clean-stage2-libelf: clean-stage2-libelf
16526 clean-stage2: clean-stage2-libelf
16527 clean-stage2-libelf:
16528 @if [ $(current_stage) = stage2 ]; then \
16529 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16530 else \
16531 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
16532 $(MAKE) stage2-start; \
16533 fi; \
16534 cd $(HOST_SUBDIR)/libelf && \
16535 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16536 @endif libelf-bootstrap
16539 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
16540 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
16541 maybe-all-stage3-libelf:
16542 maybe-clean-stage3-libelf:
16543 @if libelf-bootstrap
16544 maybe-all-stage3-libelf: all-stage3-libelf
16545 all-stage3: all-stage3-libelf
16546 TARGET-stage3-libelf = $(TARGET-libelf)
16547 all-stage3-libelf: configure-stage3-libelf
16548 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16549 @r=`${PWD_COMMAND}`; export r; \
16550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16551 TFLAGS="$(STAGE3_TFLAGS)"; \
16552 $(HOST_EXPORTS) \
16553 $(POSTSTAGE1_HOST_EXPORTS) \
16554 cd $(HOST_SUBDIR)/libelf && \
16556 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16557 CFLAGS="$(STAGE3_CFLAGS)" \
16558 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16559 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16560 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16561 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16562 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16563 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16564 TFLAGS="$(STAGE3_TFLAGS)" \
16565 $(TARGET-stage3-libelf)
16567 maybe-clean-stage3-libelf: clean-stage3-libelf
16568 clean-stage3: clean-stage3-libelf
16569 clean-stage3-libelf:
16570 @if [ $(current_stage) = stage3 ]; then \
16571 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16572 else \
16573 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
16574 $(MAKE) stage3-start; \
16575 fi; \
16576 cd $(HOST_SUBDIR)/libelf && \
16577 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16578 @endif libelf-bootstrap
16581 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
16582 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
16583 maybe-all-stage4-libelf:
16584 maybe-clean-stage4-libelf:
16585 @if libelf-bootstrap
16586 maybe-all-stage4-libelf: all-stage4-libelf
16587 all-stage4: all-stage4-libelf
16588 TARGET-stage4-libelf = $(TARGET-libelf)
16589 all-stage4-libelf: configure-stage4-libelf
16590 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16591 @r=`${PWD_COMMAND}`; export r; \
16592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16593 TFLAGS="$(STAGE4_TFLAGS)"; \
16594 $(HOST_EXPORTS) \
16595 $(POSTSTAGE1_HOST_EXPORTS) \
16596 cd $(HOST_SUBDIR)/libelf && \
16598 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16599 CFLAGS="$(STAGE4_CFLAGS)" \
16600 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16601 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16602 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16603 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16604 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16605 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16606 TFLAGS="$(STAGE4_TFLAGS)" \
16607 $(TARGET-stage4-libelf)
16609 maybe-clean-stage4-libelf: clean-stage4-libelf
16610 clean-stage4: clean-stage4-libelf
16611 clean-stage4-libelf:
16612 @if [ $(current_stage) = stage4 ]; then \
16613 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16614 else \
16615 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
16616 $(MAKE) stage4-start; \
16617 fi; \
16618 cd $(HOST_SUBDIR)/libelf && \
16619 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16620 @endif libelf-bootstrap
16623 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
16624 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
16625 maybe-all-stageprofile-libelf:
16626 maybe-clean-stageprofile-libelf:
16627 @if libelf-bootstrap
16628 maybe-all-stageprofile-libelf: all-stageprofile-libelf
16629 all-stageprofile: all-stageprofile-libelf
16630 TARGET-stageprofile-libelf = $(TARGET-libelf)
16631 all-stageprofile-libelf: configure-stageprofile-libelf
16632 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16633 @r=`${PWD_COMMAND}`; export r; \
16634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16635 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16636 $(HOST_EXPORTS) \
16637 $(POSTSTAGE1_HOST_EXPORTS) \
16638 cd $(HOST_SUBDIR)/libelf && \
16640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16641 CFLAGS="$(STAGEprofile_CFLAGS)" \
16642 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16643 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16647 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16648 TFLAGS="$(STAGEprofile_TFLAGS)" \
16649 $(TARGET-stageprofile-libelf)
16651 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
16652 clean-stageprofile: clean-stageprofile-libelf
16653 clean-stageprofile-libelf:
16654 @if [ $(current_stage) = stageprofile ]; then \
16655 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16656 else \
16657 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
16658 $(MAKE) stageprofile-start; \
16659 fi; \
16660 cd $(HOST_SUBDIR)/libelf && \
16661 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16662 @endif libelf-bootstrap
16665 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
16666 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
16667 maybe-all-stagefeedback-libelf:
16668 maybe-clean-stagefeedback-libelf:
16669 @if libelf-bootstrap
16670 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
16671 all-stagefeedback: all-stagefeedback-libelf
16672 TARGET-stagefeedback-libelf = $(TARGET-libelf)
16673 all-stagefeedback-libelf: configure-stagefeedback-libelf
16674 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16675 @r=`${PWD_COMMAND}`; export r; \
16676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16677 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16678 $(HOST_EXPORTS) \
16679 $(POSTSTAGE1_HOST_EXPORTS) \
16680 cd $(HOST_SUBDIR)/libelf && \
16682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16683 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16684 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16685 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16686 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16689 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16690 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16691 $(TARGET-stagefeedback-libelf)
16693 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
16694 clean-stagefeedback: clean-stagefeedback-libelf
16695 clean-stagefeedback-libelf:
16696 @if [ $(current_stage) = stagefeedback ]; then \
16697 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16698 else \
16699 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
16700 $(MAKE) stagefeedback-start; \
16701 fi; \
16702 cd $(HOST_SUBDIR)/libelf && \
16703 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16704 @endif libelf-bootstrap
16707 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
16708 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
16709 maybe-all-stageautoprofile-libelf:
16710 maybe-clean-stageautoprofile-libelf:
16711 @if libelf-bootstrap
16712 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
16713 all-stageautoprofile: all-stageautoprofile-libelf
16714 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
16715 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
16716 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16717 @r=`${PWD_COMMAND}`; export r; \
16718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16719 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16720 $(HOST_EXPORTS) \
16721 $(POSTSTAGE1_HOST_EXPORTS) \
16722 cd $(HOST_SUBDIR)/libelf && \
16723 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16724 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16725 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16726 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16727 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16728 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16729 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16730 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16731 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16732 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16733 $(TARGET-stageautoprofile-libelf)
16735 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
16736 clean-stageautoprofile: clean-stageautoprofile-libelf
16737 clean-stageautoprofile-libelf:
16738 @if [ $(current_stage) = stageautoprofile ]; then \
16739 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16740 else \
16741 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
16742 $(MAKE) stageautoprofile-start; \
16743 fi; \
16744 cd $(HOST_SUBDIR)/libelf && \
16745 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16746 @endif libelf-bootstrap
16749 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
16750 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
16751 maybe-all-stageautofeedback-libelf:
16752 maybe-clean-stageautofeedback-libelf:
16753 @if libelf-bootstrap
16754 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
16755 all-stageautofeedback: all-stageautofeedback-libelf
16756 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
16757 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
16758 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16759 @r=`${PWD_COMMAND}`; export r; \
16760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16761 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16762 $(HOST_EXPORTS) \
16763 $(POSTSTAGE1_HOST_EXPORTS) \
16764 cd $(HOST_SUBDIR)/libelf && \
16766 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16767 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16768 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16769 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16774 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16775 $(TARGET-stageautofeedback-libelf)
16777 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
16778 clean-stageautofeedback: clean-stageautofeedback-libelf
16779 clean-stageautofeedback-libelf:
16780 @if [ $(current_stage) = stageautofeedback ]; then \
16781 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
16782 else \
16783 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
16784 $(MAKE) stageautofeedback-start; \
16785 fi; \
16786 cd $(HOST_SUBDIR)/libelf && \
16787 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16788 @endif libelf-bootstrap
16794 .PHONY: check-libelf maybe-check-libelf
16795 maybe-check-libelf:
16796 @if libelf
16797 maybe-check-libelf: check-libelf
16799 check-libelf:
16800 @: $(MAKE); $(unstage)
16801 @r=`${PWD_COMMAND}`; export r; \
16802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16803 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16804 (cd $(HOST_SUBDIR)/libelf && \
16805 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
16807 @endif libelf
16809 .PHONY: install-libelf maybe-install-libelf
16810 maybe-install-libelf:
16811 @if libelf
16812 maybe-install-libelf: install-libelf
16814 install-libelf:
16816 @endif libelf
16818 .PHONY: install-strip-libelf maybe-install-strip-libelf
16819 maybe-install-strip-libelf:
16820 @if libelf
16821 maybe-install-strip-libelf: install-strip-libelf
16823 install-strip-libelf:
16825 @endif libelf
16827 # Other targets (info, dvi, pdf, etc.)
16829 .PHONY: maybe-info-libelf info-libelf
16830 maybe-info-libelf:
16831 @if libelf
16832 maybe-info-libelf: info-libelf
16834 info-libelf: \
16835 configure-libelf
16836 @[ -f ./libelf/Makefile ] || exit 0; \
16837 r=`${PWD_COMMAND}`; export r; \
16838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16839 $(HOST_EXPORTS) \
16840 for flag in $(EXTRA_HOST_FLAGS) ; do \
16841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16842 done; \
16843 echo "Doing info in libelf"; \
16844 (cd $(HOST_SUBDIR)/libelf && \
16845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16847 "RANLIB=$${RANLIB}" \
16848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16849 info) \
16850 || exit 1
16852 @endif libelf
16854 .PHONY: maybe-dvi-libelf dvi-libelf
16855 maybe-dvi-libelf:
16856 @if libelf
16857 maybe-dvi-libelf: dvi-libelf
16859 dvi-libelf: \
16860 configure-libelf
16861 @[ -f ./libelf/Makefile ] || exit 0; \
16862 r=`${PWD_COMMAND}`; export r; \
16863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864 $(HOST_EXPORTS) \
16865 for flag in $(EXTRA_HOST_FLAGS) ; do \
16866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16867 done; \
16868 echo "Doing dvi in libelf"; \
16869 (cd $(HOST_SUBDIR)/libelf && \
16870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16872 "RANLIB=$${RANLIB}" \
16873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16874 dvi) \
16875 || exit 1
16877 @endif libelf
16879 .PHONY: maybe-pdf-libelf pdf-libelf
16880 maybe-pdf-libelf:
16881 @if libelf
16882 maybe-pdf-libelf: pdf-libelf
16884 pdf-libelf: \
16885 configure-libelf
16886 @[ -f ./libelf/Makefile ] || exit 0; \
16887 r=`${PWD_COMMAND}`; export r; \
16888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16889 $(HOST_EXPORTS) \
16890 for flag in $(EXTRA_HOST_FLAGS) ; do \
16891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16892 done; \
16893 echo "Doing pdf in libelf"; \
16894 (cd $(HOST_SUBDIR)/libelf && \
16895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16897 "RANLIB=$${RANLIB}" \
16898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16899 pdf) \
16900 || exit 1
16902 @endif libelf
16904 .PHONY: maybe-html-libelf html-libelf
16905 maybe-html-libelf:
16906 @if libelf
16907 maybe-html-libelf: html-libelf
16909 html-libelf: \
16910 configure-libelf
16911 @[ -f ./libelf/Makefile ] || exit 0; \
16912 r=`${PWD_COMMAND}`; export r; \
16913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16914 $(HOST_EXPORTS) \
16915 for flag in $(EXTRA_HOST_FLAGS) ; do \
16916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16917 done; \
16918 echo "Doing html in libelf"; \
16919 (cd $(HOST_SUBDIR)/libelf && \
16920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16922 "RANLIB=$${RANLIB}" \
16923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16924 html) \
16925 || exit 1
16927 @endif libelf
16929 .PHONY: maybe-TAGS-libelf TAGS-libelf
16930 maybe-TAGS-libelf:
16931 @if libelf
16932 maybe-TAGS-libelf: TAGS-libelf
16934 TAGS-libelf: \
16935 configure-libelf
16936 @[ -f ./libelf/Makefile ] || exit 0; \
16937 r=`${PWD_COMMAND}`; export r; \
16938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16939 $(HOST_EXPORTS) \
16940 for flag in $(EXTRA_HOST_FLAGS) ; do \
16941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16942 done; \
16943 echo "Doing TAGS in libelf"; \
16944 (cd $(HOST_SUBDIR)/libelf && \
16945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16947 "RANLIB=$${RANLIB}" \
16948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16949 TAGS) \
16950 || exit 1
16952 @endif libelf
16954 .PHONY: maybe-install-info-libelf install-info-libelf
16955 maybe-install-info-libelf:
16956 @if libelf
16957 maybe-install-info-libelf: install-info-libelf
16959 install-info-libelf: \
16960 configure-libelf \
16961 info-libelf
16962 @[ -f ./libelf/Makefile ] || exit 0; \
16963 r=`${PWD_COMMAND}`; export r; \
16964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16965 $(HOST_EXPORTS) \
16966 for flag in $(EXTRA_HOST_FLAGS) ; do \
16967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16968 done; \
16969 echo "Doing install-info in libelf"; \
16970 (cd $(HOST_SUBDIR)/libelf && \
16971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16973 "RANLIB=$${RANLIB}" \
16974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16975 install-info) \
16976 || exit 1
16978 @endif libelf
16980 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
16981 maybe-install-pdf-libelf:
16982 @if libelf
16983 maybe-install-pdf-libelf: install-pdf-libelf
16985 install-pdf-libelf: \
16986 configure-libelf \
16987 pdf-libelf
16988 @[ -f ./libelf/Makefile ] || exit 0; \
16989 r=`${PWD_COMMAND}`; export r; \
16990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16991 $(HOST_EXPORTS) \
16992 for flag in $(EXTRA_HOST_FLAGS) ; do \
16993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16994 done; \
16995 echo "Doing install-pdf in libelf"; \
16996 (cd $(HOST_SUBDIR)/libelf && \
16997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16999 "RANLIB=$${RANLIB}" \
17000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17001 install-pdf) \
17002 || exit 1
17004 @endif libelf
17006 .PHONY: maybe-install-html-libelf install-html-libelf
17007 maybe-install-html-libelf:
17008 @if libelf
17009 maybe-install-html-libelf: install-html-libelf
17011 install-html-libelf: \
17012 configure-libelf \
17013 html-libelf
17014 @[ -f ./libelf/Makefile ] || exit 0; \
17015 r=`${PWD_COMMAND}`; export r; \
17016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17017 $(HOST_EXPORTS) \
17018 for flag in $(EXTRA_HOST_FLAGS) ; do \
17019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17020 done; \
17021 echo "Doing install-html in libelf"; \
17022 (cd $(HOST_SUBDIR)/libelf && \
17023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17025 "RANLIB=$${RANLIB}" \
17026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17027 install-html) \
17028 || exit 1
17030 @endif libelf
17032 .PHONY: maybe-installcheck-libelf installcheck-libelf
17033 maybe-installcheck-libelf:
17034 @if libelf
17035 maybe-installcheck-libelf: installcheck-libelf
17037 installcheck-libelf: \
17038 configure-libelf
17039 @[ -f ./libelf/Makefile ] || exit 0; \
17040 r=`${PWD_COMMAND}`; export r; \
17041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17042 $(HOST_EXPORTS) \
17043 for flag in $(EXTRA_HOST_FLAGS) ; do \
17044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17045 done; \
17046 echo "Doing installcheck in libelf"; \
17047 (cd $(HOST_SUBDIR)/libelf && \
17048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17050 "RANLIB=$${RANLIB}" \
17051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17052 installcheck) \
17053 || exit 1
17055 @endif libelf
17057 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
17058 maybe-mostlyclean-libelf:
17059 @if libelf
17060 maybe-mostlyclean-libelf: mostlyclean-libelf
17062 mostlyclean-libelf:
17063 @[ -f ./libelf/Makefile ] || exit 0; \
17064 r=`${PWD_COMMAND}`; export r; \
17065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17066 $(HOST_EXPORTS) \
17067 for flag in $(EXTRA_HOST_FLAGS) ; do \
17068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17069 done; \
17070 echo "Doing mostlyclean in libelf"; \
17071 (cd $(HOST_SUBDIR)/libelf && \
17072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17074 "RANLIB=$${RANLIB}" \
17075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17076 mostlyclean) \
17077 || exit 1
17079 @endif libelf
17081 .PHONY: maybe-clean-libelf clean-libelf
17082 maybe-clean-libelf:
17083 @if libelf
17084 maybe-clean-libelf: clean-libelf
17086 clean-libelf:
17087 @[ -f ./libelf/Makefile ] || exit 0; \
17088 r=`${PWD_COMMAND}`; export r; \
17089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17090 $(HOST_EXPORTS) \
17091 for flag in $(EXTRA_HOST_FLAGS) ; do \
17092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17093 done; \
17094 echo "Doing clean in libelf"; \
17095 (cd $(HOST_SUBDIR)/libelf && \
17096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17098 "RANLIB=$${RANLIB}" \
17099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17100 clean) \
17101 || exit 1
17103 @endif libelf
17105 .PHONY: maybe-distclean-libelf distclean-libelf
17106 maybe-distclean-libelf:
17107 @if libelf
17108 maybe-distclean-libelf: distclean-libelf
17110 distclean-libelf:
17111 @[ -f ./libelf/Makefile ] || exit 0; \
17112 r=`${PWD_COMMAND}`; export r; \
17113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17114 $(HOST_EXPORTS) \
17115 for flag in $(EXTRA_HOST_FLAGS) ; do \
17116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17117 done; \
17118 echo "Doing distclean in libelf"; \
17119 (cd $(HOST_SUBDIR)/libelf && \
17120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17122 "RANLIB=$${RANLIB}" \
17123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17124 distclean) \
17125 || exit 1
17127 @endif libelf
17129 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
17130 maybe-maintainer-clean-libelf:
17131 @if libelf
17132 maybe-maintainer-clean-libelf: maintainer-clean-libelf
17134 maintainer-clean-libelf:
17135 @[ -f ./libelf/Makefile ] || exit 0; \
17136 r=`${PWD_COMMAND}`; export r; \
17137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17138 $(HOST_EXPORTS) \
17139 for flag in $(EXTRA_HOST_FLAGS) ; do \
17140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17141 done; \
17142 echo "Doing maintainer-clean in libelf"; \
17143 (cd $(HOST_SUBDIR)/libelf && \
17144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17146 "RANLIB=$${RANLIB}" \
17147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17148 maintainer-clean) \
17149 || exit 1
17151 @endif libelf
17155 .PHONY: configure-gold maybe-configure-gold
17156 maybe-configure-gold:
17157 @if gcc-bootstrap
17158 configure-gold: stage_current
17159 @endif gcc-bootstrap
17160 @if gold
17161 maybe-configure-gold: configure-gold
17162 configure-gold:
17163 @r=`${PWD_COMMAND}`; export r; \
17164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17165 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17167 $(HOST_EXPORTS) \
17168 echo Configuring in $(HOST_SUBDIR)/gold; \
17169 cd "$(HOST_SUBDIR)/gold" || exit 1; \
17170 case $(srcdir) in \
17171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17172 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17174 esac; \
17175 module_srcdir=gold; \
17176 $(SHELL) \
17177 $$s/$$module_srcdir/configure \
17178 --srcdir=$${topdir}/$$module_srcdir \
17179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17180 --target=${target_alias} \
17181 || exit 1
17182 @endif gold
17186 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
17187 maybe-configure-stage1-gold:
17188 @if gold-bootstrap
17189 maybe-configure-stage1-gold: configure-stage1-gold
17190 configure-stage1-gold:
17191 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17193 @r=`${PWD_COMMAND}`; export r; \
17194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17195 TFLAGS="$(STAGE1_TFLAGS)"; \
17196 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17197 $(HOST_EXPORTS) \
17198 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17199 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17200 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17201 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
17202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17203 cd $(HOST_SUBDIR)/gold || exit 1; \
17204 case $(srcdir) in \
17205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17206 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17208 esac; \
17209 module_srcdir=gold; \
17210 $(SHELL) $$s/$$module_srcdir/configure \
17211 --srcdir=$${topdir}/$$module_srcdir \
17212 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17213 --target=${target_alias} \
17215 $(STAGE1_CONFIGURE_FLAGS)
17216 @endif gold-bootstrap
17218 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
17219 maybe-configure-stage2-gold:
17220 @if gold-bootstrap
17221 maybe-configure-stage2-gold: configure-stage2-gold
17222 configure-stage2-gold:
17223 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17224 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17225 @r=`${PWD_COMMAND}`; export r; \
17226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17227 TFLAGS="$(STAGE2_TFLAGS)"; \
17228 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17229 $(HOST_EXPORTS) \
17230 $(POSTSTAGE1_HOST_EXPORTS) \
17231 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17232 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17233 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17234 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
17235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17236 cd $(HOST_SUBDIR)/gold || exit 1; \
17237 case $(srcdir) in \
17238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17239 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17241 esac; \
17242 module_srcdir=gold; \
17243 $(SHELL) $$s/$$module_srcdir/configure \
17244 --srcdir=$${topdir}/$$module_srcdir \
17245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17246 --target=${target_alias} \
17247 --with-build-libsubdir=$(HOST_SUBDIR) \
17248 $(STAGE2_CONFIGURE_FLAGS)
17249 @endif gold-bootstrap
17251 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
17252 maybe-configure-stage3-gold:
17253 @if gold-bootstrap
17254 maybe-configure-stage3-gold: configure-stage3-gold
17255 configure-stage3-gold:
17256 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17258 @r=`${PWD_COMMAND}`; export r; \
17259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17260 TFLAGS="$(STAGE3_TFLAGS)"; \
17261 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17262 $(HOST_EXPORTS) \
17263 $(POSTSTAGE1_HOST_EXPORTS) \
17264 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17265 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17266 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17267 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
17268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17269 cd $(HOST_SUBDIR)/gold || exit 1; \
17270 case $(srcdir) in \
17271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17272 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17274 esac; \
17275 module_srcdir=gold; \
17276 $(SHELL) $$s/$$module_srcdir/configure \
17277 --srcdir=$${topdir}/$$module_srcdir \
17278 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17279 --target=${target_alias} \
17280 --with-build-libsubdir=$(HOST_SUBDIR) \
17281 $(STAGE3_CONFIGURE_FLAGS)
17282 @endif gold-bootstrap
17284 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
17285 maybe-configure-stage4-gold:
17286 @if gold-bootstrap
17287 maybe-configure-stage4-gold: configure-stage4-gold
17288 configure-stage4-gold:
17289 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17291 @r=`${PWD_COMMAND}`; export r; \
17292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17293 TFLAGS="$(STAGE4_TFLAGS)"; \
17294 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17295 $(HOST_EXPORTS) \
17296 $(POSTSTAGE1_HOST_EXPORTS) \
17297 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17298 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17299 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17300 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
17301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17302 cd $(HOST_SUBDIR)/gold || exit 1; \
17303 case $(srcdir) in \
17304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17305 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17307 esac; \
17308 module_srcdir=gold; \
17309 $(SHELL) $$s/$$module_srcdir/configure \
17310 --srcdir=$${topdir}/$$module_srcdir \
17311 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17312 --target=${target_alias} \
17313 --with-build-libsubdir=$(HOST_SUBDIR) \
17314 $(STAGE4_CONFIGURE_FLAGS)
17315 @endif gold-bootstrap
17317 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
17318 maybe-configure-stageprofile-gold:
17319 @if gold-bootstrap
17320 maybe-configure-stageprofile-gold: configure-stageprofile-gold
17321 configure-stageprofile-gold:
17322 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17324 @r=`${PWD_COMMAND}`; export r; \
17325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17326 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17327 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17328 $(HOST_EXPORTS) \
17329 $(POSTSTAGE1_HOST_EXPORTS) \
17330 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17331 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17332 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17333 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
17334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17335 cd $(HOST_SUBDIR)/gold || exit 1; \
17336 case $(srcdir) in \
17337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17338 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17340 esac; \
17341 module_srcdir=gold; \
17342 $(SHELL) $$s/$$module_srcdir/configure \
17343 --srcdir=$${topdir}/$$module_srcdir \
17344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17345 --target=${target_alias} \
17346 --with-build-libsubdir=$(HOST_SUBDIR) \
17347 $(STAGEprofile_CONFIGURE_FLAGS)
17348 @endif gold-bootstrap
17350 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
17351 maybe-configure-stagefeedback-gold:
17352 @if gold-bootstrap
17353 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
17354 configure-stagefeedback-gold:
17355 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17356 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17357 @r=`${PWD_COMMAND}`; export r; \
17358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17359 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17360 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17361 $(HOST_EXPORTS) \
17362 $(POSTSTAGE1_HOST_EXPORTS) \
17363 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17364 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17365 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17366 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
17367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17368 cd $(HOST_SUBDIR)/gold || exit 1; \
17369 case $(srcdir) in \
17370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17371 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17373 esac; \
17374 module_srcdir=gold; \
17375 $(SHELL) $$s/$$module_srcdir/configure \
17376 --srcdir=$${topdir}/$$module_srcdir \
17377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17378 --target=${target_alias} \
17379 --with-build-libsubdir=$(HOST_SUBDIR) \
17380 $(STAGEfeedback_CONFIGURE_FLAGS)
17381 @endif gold-bootstrap
17383 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
17384 maybe-configure-stageautoprofile-gold:
17385 @if gold-bootstrap
17386 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
17387 configure-stageautoprofile-gold:
17388 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17390 @r=`${PWD_COMMAND}`; export r; \
17391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17392 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17393 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17394 $(HOST_EXPORTS) \
17395 $(POSTSTAGE1_HOST_EXPORTS) \
17396 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17397 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17398 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17399 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
17400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17401 cd $(HOST_SUBDIR)/gold || exit 1; \
17402 case $(srcdir) in \
17403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17404 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17406 esac; \
17407 module_srcdir=gold; \
17408 $(SHELL) $$s/$$module_srcdir/configure \
17409 --srcdir=$${topdir}/$$module_srcdir \
17410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17411 --target=${target_alias} \
17412 --with-build-libsubdir=$(HOST_SUBDIR) \
17413 $(STAGEautoprofile_CONFIGURE_FLAGS)
17414 @endif gold-bootstrap
17416 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
17417 maybe-configure-stageautofeedback-gold:
17418 @if gold-bootstrap
17419 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
17420 configure-stageautofeedback-gold:
17421 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
17423 @r=`${PWD_COMMAND}`; export r; \
17424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17425 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17426 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17427 $(HOST_EXPORTS) \
17428 $(POSTSTAGE1_HOST_EXPORTS) \
17429 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17430 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17431 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17432 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
17433 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17434 cd $(HOST_SUBDIR)/gold || exit 1; \
17435 case $(srcdir) in \
17436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17437 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
17438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17439 esac; \
17440 module_srcdir=gold; \
17441 $(SHELL) $$s/$$module_srcdir/configure \
17442 --srcdir=$${topdir}/$$module_srcdir \
17443 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17444 --target=${target_alias} \
17445 --with-build-libsubdir=$(HOST_SUBDIR) \
17446 $(STAGEautofeedback_CONFIGURE_FLAGS)
17447 @endif gold-bootstrap
17453 .PHONY: all-gold maybe-all-gold
17454 maybe-all-gold:
17455 @if gcc-bootstrap
17456 all-gold: stage_current
17457 @endif gcc-bootstrap
17458 @if gold
17459 TARGET-gold=all
17460 maybe-all-gold: all-gold
17461 all-gold: configure-gold
17462 @r=`${PWD_COMMAND}`; export r; \
17463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17464 $(HOST_EXPORTS) \
17465 (cd $(HOST_SUBDIR)/gold && \
17466 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17467 $(TARGET-gold))
17468 @endif gold
17472 .PHONY: all-stage1-gold maybe-all-stage1-gold
17473 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
17474 maybe-all-stage1-gold:
17475 maybe-clean-stage1-gold:
17476 @if gold-bootstrap
17477 maybe-all-stage1-gold: all-stage1-gold
17478 all-stage1: all-stage1-gold
17479 TARGET-stage1-gold = $(TARGET-gold)
17480 all-stage1-gold: configure-stage1-gold
17481 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17482 @r=`${PWD_COMMAND}`; export r; \
17483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17484 TFLAGS="$(STAGE1_TFLAGS)"; \
17485 $(HOST_EXPORTS) \
17486 cd $(HOST_SUBDIR)/gold && \
17488 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17489 CFLAGS="$(STAGE1_CFLAGS)" \
17490 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17491 LIBCFLAGS="$(LIBCFLAGS)" \
17492 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17495 $(EXTRA_HOST_FLAGS) \
17496 $(STAGE1_FLAGS_TO_PASS) \
17497 TFLAGS="$(STAGE1_TFLAGS)" \
17498 $(TARGET-stage1-gold)
17500 maybe-clean-stage1-gold: clean-stage1-gold
17501 clean-stage1: clean-stage1-gold
17502 clean-stage1-gold:
17503 @if [ $(current_stage) = stage1 ]; then \
17504 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17505 else \
17506 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
17507 $(MAKE) stage1-start; \
17508 fi; \
17509 cd $(HOST_SUBDIR)/gold && \
17510 $(MAKE) $(EXTRA_HOST_FLAGS) \
17511 $(STAGE1_FLAGS_TO_PASS) clean
17512 @endif gold-bootstrap
17515 .PHONY: all-stage2-gold maybe-all-stage2-gold
17516 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
17517 maybe-all-stage2-gold:
17518 maybe-clean-stage2-gold:
17519 @if gold-bootstrap
17520 maybe-all-stage2-gold: all-stage2-gold
17521 all-stage2: all-stage2-gold
17522 TARGET-stage2-gold = $(TARGET-gold)
17523 all-stage2-gold: configure-stage2-gold
17524 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17525 @r=`${PWD_COMMAND}`; export r; \
17526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17527 TFLAGS="$(STAGE2_TFLAGS)"; \
17528 $(HOST_EXPORTS) \
17529 $(POSTSTAGE1_HOST_EXPORTS) \
17530 cd $(HOST_SUBDIR)/gold && \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17533 CFLAGS="$(STAGE2_CFLAGS)" \
17534 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17535 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17540 TFLAGS="$(STAGE2_TFLAGS)" \
17541 $(TARGET-stage2-gold)
17543 maybe-clean-stage2-gold: clean-stage2-gold
17544 clean-stage2: clean-stage2-gold
17545 clean-stage2-gold:
17546 @if [ $(current_stage) = stage2 ]; then \
17547 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17548 else \
17549 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
17550 $(MAKE) stage2-start; \
17551 fi; \
17552 cd $(HOST_SUBDIR)/gold && \
17553 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17554 @endif gold-bootstrap
17557 .PHONY: all-stage3-gold maybe-all-stage3-gold
17558 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
17559 maybe-all-stage3-gold:
17560 maybe-clean-stage3-gold:
17561 @if gold-bootstrap
17562 maybe-all-stage3-gold: all-stage3-gold
17563 all-stage3: all-stage3-gold
17564 TARGET-stage3-gold = $(TARGET-gold)
17565 all-stage3-gold: configure-stage3-gold
17566 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17567 @r=`${PWD_COMMAND}`; export r; \
17568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17569 TFLAGS="$(STAGE3_TFLAGS)"; \
17570 $(HOST_EXPORTS) \
17571 $(POSTSTAGE1_HOST_EXPORTS) \
17572 cd $(HOST_SUBDIR)/gold && \
17574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17575 CFLAGS="$(STAGE3_CFLAGS)" \
17576 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17577 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17582 TFLAGS="$(STAGE3_TFLAGS)" \
17583 $(TARGET-stage3-gold)
17585 maybe-clean-stage3-gold: clean-stage3-gold
17586 clean-stage3: clean-stage3-gold
17587 clean-stage3-gold:
17588 @if [ $(current_stage) = stage3 ]; then \
17589 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17590 else \
17591 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
17592 $(MAKE) stage3-start; \
17593 fi; \
17594 cd $(HOST_SUBDIR)/gold && \
17595 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17596 @endif gold-bootstrap
17599 .PHONY: all-stage4-gold maybe-all-stage4-gold
17600 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
17601 maybe-all-stage4-gold:
17602 maybe-clean-stage4-gold:
17603 @if gold-bootstrap
17604 maybe-all-stage4-gold: all-stage4-gold
17605 all-stage4: all-stage4-gold
17606 TARGET-stage4-gold = $(TARGET-gold)
17607 all-stage4-gold: configure-stage4-gold
17608 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17609 @r=`${PWD_COMMAND}`; export r; \
17610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17611 TFLAGS="$(STAGE4_TFLAGS)"; \
17612 $(HOST_EXPORTS) \
17613 $(POSTSTAGE1_HOST_EXPORTS) \
17614 cd $(HOST_SUBDIR)/gold && \
17616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17617 CFLAGS="$(STAGE4_CFLAGS)" \
17618 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17619 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17620 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17621 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17622 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17623 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17624 TFLAGS="$(STAGE4_TFLAGS)" \
17625 $(TARGET-stage4-gold)
17627 maybe-clean-stage4-gold: clean-stage4-gold
17628 clean-stage4: clean-stage4-gold
17629 clean-stage4-gold:
17630 @if [ $(current_stage) = stage4 ]; then \
17631 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17632 else \
17633 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
17634 $(MAKE) stage4-start; \
17635 fi; \
17636 cd $(HOST_SUBDIR)/gold && \
17637 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17638 @endif gold-bootstrap
17641 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
17642 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
17643 maybe-all-stageprofile-gold:
17644 maybe-clean-stageprofile-gold:
17645 @if gold-bootstrap
17646 maybe-all-stageprofile-gold: all-stageprofile-gold
17647 all-stageprofile: all-stageprofile-gold
17648 TARGET-stageprofile-gold = $(TARGET-gold)
17649 all-stageprofile-gold: configure-stageprofile-gold
17650 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17651 @r=`${PWD_COMMAND}`; export r; \
17652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17653 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17654 $(HOST_EXPORTS) \
17655 $(POSTSTAGE1_HOST_EXPORTS) \
17656 cd $(HOST_SUBDIR)/gold && \
17658 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17659 CFLAGS="$(STAGEprofile_CFLAGS)" \
17660 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17661 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17662 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17663 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17664 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17665 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17666 TFLAGS="$(STAGEprofile_TFLAGS)" \
17667 $(TARGET-stageprofile-gold)
17669 maybe-clean-stageprofile-gold: clean-stageprofile-gold
17670 clean-stageprofile: clean-stageprofile-gold
17671 clean-stageprofile-gold:
17672 @if [ $(current_stage) = stageprofile ]; then \
17673 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17674 else \
17675 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
17676 $(MAKE) stageprofile-start; \
17677 fi; \
17678 cd $(HOST_SUBDIR)/gold && \
17679 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17680 @endif gold-bootstrap
17683 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
17684 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
17685 maybe-all-stagefeedback-gold:
17686 maybe-clean-stagefeedback-gold:
17687 @if gold-bootstrap
17688 maybe-all-stagefeedback-gold: all-stagefeedback-gold
17689 all-stagefeedback: all-stagefeedback-gold
17690 TARGET-stagefeedback-gold = $(TARGET-gold)
17691 all-stagefeedback-gold: configure-stagefeedback-gold
17692 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17693 @r=`${PWD_COMMAND}`; export r; \
17694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17695 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17696 $(HOST_EXPORTS) \
17697 $(POSTSTAGE1_HOST_EXPORTS) \
17698 cd $(HOST_SUBDIR)/gold && \
17700 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17701 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17702 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17703 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17704 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17705 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17706 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17707 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17708 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17709 $(TARGET-stagefeedback-gold)
17711 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
17712 clean-stagefeedback: clean-stagefeedback-gold
17713 clean-stagefeedback-gold:
17714 @if [ $(current_stage) = stagefeedback ]; then \
17715 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17716 else \
17717 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
17718 $(MAKE) stagefeedback-start; \
17719 fi; \
17720 cd $(HOST_SUBDIR)/gold && \
17721 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17722 @endif gold-bootstrap
17725 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
17726 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
17727 maybe-all-stageautoprofile-gold:
17728 maybe-clean-stageautoprofile-gold:
17729 @if gold-bootstrap
17730 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
17731 all-stageautoprofile: all-stageautoprofile-gold
17732 TARGET-stageautoprofile-gold = $(TARGET-gold)
17733 all-stageautoprofile-gold: configure-stageautoprofile-gold
17734 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17735 @r=`${PWD_COMMAND}`; export r; \
17736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17737 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17738 $(HOST_EXPORTS) \
17739 $(POSTSTAGE1_HOST_EXPORTS) \
17740 cd $(HOST_SUBDIR)/gold && \
17741 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17742 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17743 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17744 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17745 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17746 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17747 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17748 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17749 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17750 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17751 $(TARGET-stageautoprofile-gold)
17753 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
17754 clean-stageautoprofile: clean-stageautoprofile-gold
17755 clean-stageautoprofile-gold:
17756 @if [ $(current_stage) = stageautoprofile ]; then \
17757 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17758 else \
17759 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
17760 $(MAKE) stageautoprofile-start; \
17761 fi; \
17762 cd $(HOST_SUBDIR)/gold && \
17763 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17764 @endif gold-bootstrap
17767 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
17768 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
17769 maybe-all-stageautofeedback-gold:
17770 maybe-clean-stageautofeedback-gold:
17771 @if gold-bootstrap
17772 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
17773 all-stageautofeedback: all-stageautofeedback-gold
17774 TARGET-stageautofeedback-gold = $(TARGET-gold)
17775 all-stageautofeedback-gold: configure-stageautofeedback-gold
17776 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17777 @r=`${PWD_COMMAND}`; export r; \
17778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17779 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17780 $(HOST_EXPORTS) \
17781 $(POSTSTAGE1_HOST_EXPORTS) \
17782 cd $(HOST_SUBDIR)/gold && \
17784 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17785 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17786 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17787 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17788 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17789 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17790 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17791 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17792 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17793 $(TARGET-stageautofeedback-gold)
17795 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
17796 clean-stageautofeedback: clean-stageautofeedback-gold
17797 clean-stageautofeedback-gold:
17798 @if [ $(current_stage) = stageautofeedback ]; then \
17799 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
17800 else \
17801 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
17802 $(MAKE) stageautofeedback-start; \
17803 fi; \
17804 cd $(HOST_SUBDIR)/gold && \
17805 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17806 @endif gold-bootstrap
17812 .PHONY: check-gold maybe-check-gold
17813 maybe-check-gold:
17814 @if gold
17815 maybe-check-gold: check-gold
17817 check-gold:
17818 @: $(MAKE); $(unstage)
17819 @r=`${PWD_COMMAND}`; export r; \
17820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17821 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17822 (cd $(HOST_SUBDIR)/gold && \
17823 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17825 @endif gold
17827 .PHONY: install-gold maybe-install-gold
17828 maybe-install-gold:
17829 @if gold
17830 maybe-install-gold: install-gold
17832 install-gold: installdirs
17833 @: $(MAKE); $(unstage)
17834 @r=`${PWD_COMMAND}`; export r; \
17835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17836 $(HOST_EXPORTS) \
17837 (cd $(HOST_SUBDIR)/gold && \
17838 $(MAKE) $(FLAGS_TO_PASS) install)
17840 @endif gold
17842 .PHONY: install-strip-gold maybe-install-strip-gold
17843 maybe-install-strip-gold:
17844 @if gold
17845 maybe-install-strip-gold: install-strip-gold
17847 install-strip-gold: installdirs
17848 @: $(MAKE); $(unstage)
17849 @r=`${PWD_COMMAND}`; export r; \
17850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17851 $(HOST_EXPORTS) \
17852 (cd $(HOST_SUBDIR)/gold && \
17853 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17855 @endif gold
17857 # Other targets (info, dvi, pdf, etc.)
17859 .PHONY: maybe-info-gold info-gold
17860 maybe-info-gold:
17861 @if gold
17862 maybe-info-gold: info-gold
17864 info-gold: \
17865 configure-gold
17866 @[ -f ./gold/Makefile ] || exit 0; \
17867 r=`${PWD_COMMAND}`; export r; \
17868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17869 $(HOST_EXPORTS) \
17870 for flag in $(EXTRA_HOST_FLAGS) ; do \
17871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17872 done; \
17873 echo "Doing info in gold"; \
17874 (cd $(HOST_SUBDIR)/gold && \
17875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17877 "RANLIB=$${RANLIB}" \
17878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17879 info) \
17880 || exit 1
17882 @endif gold
17884 .PHONY: maybe-dvi-gold dvi-gold
17885 maybe-dvi-gold:
17886 @if gold
17887 maybe-dvi-gold: dvi-gold
17889 dvi-gold: \
17890 configure-gold
17891 @[ -f ./gold/Makefile ] || exit 0; \
17892 r=`${PWD_COMMAND}`; export r; \
17893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17894 $(HOST_EXPORTS) \
17895 for flag in $(EXTRA_HOST_FLAGS) ; do \
17896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17897 done; \
17898 echo "Doing dvi in gold"; \
17899 (cd $(HOST_SUBDIR)/gold && \
17900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17902 "RANLIB=$${RANLIB}" \
17903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17904 dvi) \
17905 || exit 1
17907 @endif gold
17909 .PHONY: maybe-pdf-gold pdf-gold
17910 maybe-pdf-gold:
17911 @if gold
17912 maybe-pdf-gold: pdf-gold
17914 pdf-gold: \
17915 configure-gold
17916 @[ -f ./gold/Makefile ] || exit 0; \
17917 r=`${PWD_COMMAND}`; export r; \
17918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17919 $(HOST_EXPORTS) \
17920 for flag in $(EXTRA_HOST_FLAGS) ; do \
17921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17922 done; \
17923 echo "Doing pdf in gold"; \
17924 (cd $(HOST_SUBDIR)/gold && \
17925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17927 "RANLIB=$${RANLIB}" \
17928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17929 pdf) \
17930 || exit 1
17932 @endif gold
17934 .PHONY: maybe-html-gold html-gold
17935 maybe-html-gold:
17936 @if gold
17937 maybe-html-gold: html-gold
17939 html-gold: \
17940 configure-gold
17941 @[ -f ./gold/Makefile ] || exit 0; \
17942 r=`${PWD_COMMAND}`; export r; \
17943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17944 $(HOST_EXPORTS) \
17945 for flag in $(EXTRA_HOST_FLAGS) ; do \
17946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17947 done; \
17948 echo "Doing html in gold"; \
17949 (cd $(HOST_SUBDIR)/gold && \
17950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17952 "RANLIB=$${RANLIB}" \
17953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17954 html) \
17955 || exit 1
17957 @endif gold
17959 .PHONY: maybe-TAGS-gold TAGS-gold
17960 maybe-TAGS-gold:
17961 @if gold
17962 maybe-TAGS-gold: TAGS-gold
17964 TAGS-gold: \
17965 configure-gold
17966 @[ -f ./gold/Makefile ] || exit 0; \
17967 r=`${PWD_COMMAND}`; export r; \
17968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17969 $(HOST_EXPORTS) \
17970 for flag in $(EXTRA_HOST_FLAGS) ; do \
17971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17972 done; \
17973 echo "Doing TAGS in gold"; \
17974 (cd $(HOST_SUBDIR)/gold && \
17975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17977 "RANLIB=$${RANLIB}" \
17978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17979 TAGS) \
17980 || exit 1
17982 @endif gold
17984 .PHONY: maybe-install-info-gold install-info-gold
17985 maybe-install-info-gold:
17986 @if gold
17987 maybe-install-info-gold: install-info-gold
17989 install-info-gold: \
17990 configure-gold \
17991 info-gold
17992 @[ -f ./gold/Makefile ] || exit 0; \
17993 r=`${PWD_COMMAND}`; export r; \
17994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17995 $(HOST_EXPORTS) \
17996 for flag in $(EXTRA_HOST_FLAGS) ; do \
17997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17998 done; \
17999 echo "Doing install-info in gold"; \
18000 (cd $(HOST_SUBDIR)/gold && \
18001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18003 "RANLIB=$${RANLIB}" \
18004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18005 install-info) \
18006 || exit 1
18008 @endif gold
18010 .PHONY: maybe-install-pdf-gold install-pdf-gold
18011 maybe-install-pdf-gold:
18012 @if gold
18013 maybe-install-pdf-gold: install-pdf-gold
18015 install-pdf-gold: \
18016 configure-gold \
18017 pdf-gold
18018 @[ -f ./gold/Makefile ] || exit 0; \
18019 r=`${PWD_COMMAND}`; export r; \
18020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18021 $(HOST_EXPORTS) \
18022 for flag in $(EXTRA_HOST_FLAGS) ; do \
18023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18024 done; \
18025 echo "Doing install-pdf in gold"; \
18026 (cd $(HOST_SUBDIR)/gold && \
18027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18029 "RANLIB=$${RANLIB}" \
18030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18031 install-pdf) \
18032 || exit 1
18034 @endif gold
18036 .PHONY: maybe-install-html-gold install-html-gold
18037 maybe-install-html-gold:
18038 @if gold
18039 maybe-install-html-gold: install-html-gold
18041 install-html-gold: \
18042 configure-gold \
18043 html-gold
18044 @[ -f ./gold/Makefile ] || exit 0; \
18045 r=`${PWD_COMMAND}`; export r; \
18046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18047 $(HOST_EXPORTS) \
18048 for flag in $(EXTRA_HOST_FLAGS) ; do \
18049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18050 done; \
18051 echo "Doing install-html in gold"; \
18052 (cd $(HOST_SUBDIR)/gold && \
18053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18055 "RANLIB=$${RANLIB}" \
18056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18057 install-html) \
18058 || exit 1
18060 @endif gold
18062 .PHONY: maybe-installcheck-gold installcheck-gold
18063 maybe-installcheck-gold:
18064 @if gold
18065 maybe-installcheck-gold: installcheck-gold
18067 installcheck-gold: \
18068 configure-gold
18069 @[ -f ./gold/Makefile ] || exit 0; \
18070 r=`${PWD_COMMAND}`; export r; \
18071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18072 $(HOST_EXPORTS) \
18073 for flag in $(EXTRA_HOST_FLAGS) ; do \
18074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18075 done; \
18076 echo "Doing installcheck in gold"; \
18077 (cd $(HOST_SUBDIR)/gold && \
18078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18080 "RANLIB=$${RANLIB}" \
18081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18082 installcheck) \
18083 || exit 1
18085 @endif gold
18087 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
18088 maybe-mostlyclean-gold:
18089 @if gold
18090 maybe-mostlyclean-gold: mostlyclean-gold
18092 mostlyclean-gold:
18093 @[ -f ./gold/Makefile ] || exit 0; \
18094 r=`${PWD_COMMAND}`; export r; \
18095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18096 $(HOST_EXPORTS) \
18097 for flag in $(EXTRA_HOST_FLAGS) ; do \
18098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18099 done; \
18100 echo "Doing mostlyclean in gold"; \
18101 (cd $(HOST_SUBDIR)/gold && \
18102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18104 "RANLIB=$${RANLIB}" \
18105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18106 mostlyclean) \
18107 || exit 1
18109 @endif gold
18111 .PHONY: maybe-clean-gold clean-gold
18112 maybe-clean-gold:
18113 @if gold
18114 maybe-clean-gold: clean-gold
18116 clean-gold:
18117 @[ -f ./gold/Makefile ] || exit 0; \
18118 r=`${PWD_COMMAND}`; export r; \
18119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18120 $(HOST_EXPORTS) \
18121 for flag in $(EXTRA_HOST_FLAGS) ; do \
18122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18123 done; \
18124 echo "Doing clean in gold"; \
18125 (cd $(HOST_SUBDIR)/gold && \
18126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18128 "RANLIB=$${RANLIB}" \
18129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18130 clean) \
18131 || exit 1
18133 @endif gold
18135 .PHONY: maybe-distclean-gold distclean-gold
18136 maybe-distclean-gold:
18137 @if gold
18138 maybe-distclean-gold: distclean-gold
18140 distclean-gold:
18141 @[ -f ./gold/Makefile ] || exit 0; \
18142 r=`${PWD_COMMAND}`; export r; \
18143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18144 $(HOST_EXPORTS) \
18145 for flag in $(EXTRA_HOST_FLAGS) ; do \
18146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18147 done; \
18148 echo "Doing distclean in gold"; \
18149 (cd $(HOST_SUBDIR)/gold && \
18150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18152 "RANLIB=$${RANLIB}" \
18153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18154 distclean) \
18155 || exit 1
18157 @endif gold
18159 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
18160 maybe-maintainer-clean-gold:
18161 @if gold
18162 maybe-maintainer-clean-gold: maintainer-clean-gold
18164 maintainer-clean-gold:
18165 @[ -f ./gold/Makefile ] || exit 0; \
18166 r=`${PWD_COMMAND}`; export r; \
18167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18168 $(HOST_EXPORTS) \
18169 for flag in $(EXTRA_HOST_FLAGS) ; do \
18170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18171 done; \
18172 echo "Doing maintainer-clean in gold"; \
18173 (cd $(HOST_SUBDIR)/gold && \
18174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18176 "RANLIB=$${RANLIB}" \
18177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18178 maintainer-clean) \
18179 || exit 1
18181 @endif gold
18185 .PHONY: configure-gprof maybe-configure-gprof
18186 maybe-configure-gprof:
18187 @if gcc-bootstrap
18188 configure-gprof: stage_current
18189 @endif gcc-bootstrap
18190 @if gprof
18191 maybe-configure-gprof: configure-gprof
18192 configure-gprof:
18193 @: $(MAKE); $(unstage)
18194 @r=`${PWD_COMMAND}`; export r; \
18195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18196 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
18197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
18198 $(HOST_EXPORTS) \
18199 echo Configuring in $(HOST_SUBDIR)/gprof; \
18200 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
18201 case $(srcdir) in \
18202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18203 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
18204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18205 esac; \
18206 module_srcdir=gprof; \
18207 $(SHELL) \
18208 $$s/$$module_srcdir/configure \
18209 --srcdir=$${topdir}/$$module_srcdir \
18210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18211 --target=${target_alias} \
18212 || exit 1
18213 @endif gprof
18219 .PHONY: all-gprof maybe-all-gprof
18220 maybe-all-gprof:
18221 @if gcc-bootstrap
18222 all-gprof: stage_current
18223 @endif gcc-bootstrap
18224 @if gprof
18225 TARGET-gprof=all
18226 maybe-all-gprof: all-gprof
18227 all-gprof: configure-gprof
18228 @: $(MAKE); $(unstage)
18229 @r=`${PWD_COMMAND}`; export r; \
18230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18231 $(HOST_EXPORTS) \
18232 (cd $(HOST_SUBDIR)/gprof && \
18233 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18234 $(TARGET-gprof))
18235 @endif gprof
18240 .PHONY: check-gprof maybe-check-gprof
18241 maybe-check-gprof:
18242 @if gprof
18243 maybe-check-gprof: check-gprof
18245 check-gprof:
18246 @: $(MAKE); $(unstage)
18247 @r=`${PWD_COMMAND}`; export r; \
18248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18249 $(HOST_EXPORTS) \
18250 (cd $(HOST_SUBDIR)/gprof && \
18251 $(MAKE) $(FLAGS_TO_PASS) check)
18253 @endif gprof
18255 .PHONY: install-gprof maybe-install-gprof
18256 maybe-install-gprof:
18257 @if gprof
18258 maybe-install-gprof: install-gprof
18260 install-gprof: installdirs
18261 @: $(MAKE); $(unstage)
18262 @r=`${PWD_COMMAND}`; export r; \
18263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18264 $(HOST_EXPORTS) \
18265 (cd $(HOST_SUBDIR)/gprof && \
18266 $(MAKE) $(FLAGS_TO_PASS) install)
18268 @endif gprof
18270 .PHONY: install-strip-gprof maybe-install-strip-gprof
18271 maybe-install-strip-gprof:
18272 @if gprof
18273 maybe-install-strip-gprof: install-strip-gprof
18275 install-strip-gprof: installdirs
18276 @: $(MAKE); $(unstage)
18277 @r=`${PWD_COMMAND}`; export r; \
18278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18279 $(HOST_EXPORTS) \
18280 (cd $(HOST_SUBDIR)/gprof && \
18281 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18283 @endif gprof
18285 # Other targets (info, dvi, pdf, etc.)
18287 .PHONY: maybe-info-gprof info-gprof
18288 maybe-info-gprof:
18289 @if gprof
18290 maybe-info-gprof: info-gprof
18292 info-gprof: \
18293 configure-gprof
18294 @: $(MAKE); $(unstage)
18295 @[ -f ./gprof/Makefile ] || exit 0; \
18296 r=`${PWD_COMMAND}`; export r; \
18297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18298 $(HOST_EXPORTS) \
18299 for flag in $(EXTRA_HOST_FLAGS) ; do \
18300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18301 done; \
18302 echo "Doing info in gprof"; \
18303 (cd $(HOST_SUBDIR)/gprof && \
18304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18306 "RANLIB=$${RANLIB}" \
18307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18308 info) \
18309 || exit 1
18311 @endif gprof
18313 .PHONY: maybe-dvi-gprof dvi-gprof
18314 maybe-dvi-gprof:
18315 @if gprof
18316 maybe-dvi-gprof: dvi-gprof
18318 dvi-gprof: \
18319 configure-gprof
18320 @: $(MAKE); $(unstage)
18321 @[ -f ./gprof/Makefile ] || exit 0; \
18322 r=`${PWD_COMMAND}`; export r; \
18323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18324 $(HOST_EXPORTS) \
18325 for flag in $(EXTRA_HOST_FLAGS) ; do \
18326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18327 done; \
18328 echo "Doing dvi in gprof"; \
18329 (cd $(HOST_SUBDIR)/gprof && \
18330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18332 "RANLIB=$${RANLIB}" \
18333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18334 dvi) \
18335 || exit 1
18337 @endif gprof
18339 .PHONY: maybe-pdf-gprof pdf-gprof
18340 maybe-pdf-gprof:
18341 @if gprof
18342 maybe-pdf-gprof: pdf-gprof
18344 pdf-gprof: \
18345 configure-gprof
18346 @: $(MAKE); $(unstage)
18347 @[ -f ./gprof/Makefile ] || exit 0; \
18348 r=`${PWD_COMMAND}`; export r; \
18349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18350 $(HOST_EXPORTS) \
18351 for flag in $(EXTRA_HOST_FLAGS) ; do \
18352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18353 done; \
18354 echo "Doing pdf in gprof"; \
18355 (cd $(HOST_SUBDIR)/gprof && \
18356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18358 "RANLIB=$${RANLIB}" \
18359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18360 pdf) \
18361 || exit 1
18363 @endif gprof
18365 .PHONY: maybe-html-gprof html-gprof
18366 maybe-html-gprof:
18367 @if gprof
18368 maybe-html-gprof: html-gprof
18370 html-gprof: \
18371 configure-gprof
18372 @: $(MAKE); $(unstage)
18373 @[ -f ./gprof/Makefile ] || exit 0; \
18374 r=`${PWD_COMMAND}`; export r; \
18375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18376 $(HOST_EXPORTS) \
18377 for flag in $(EXTRA_HOST_FLAGS) ; do \
18378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18379 done; \
18380 echo "Doing html in gprof"; \
18381 (cd $(HOST_SUBDIR)/gprof && \
18382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18384 "RANLIB=$${RANLIB}" \
18385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18386 html) \
18387 || exit 1
18389 @endif gprof
18391 .PHONY: maybe-TAGS-gprof TAGS-gprof
18392 maybe-TAGS-gprof:
18393 @if gprof
18394 maybe-TAGS-gprof: TAGS-gprof
18396 TAGS-gprof: \
18397 configure-gprof
18398 @: $(MAKE); $(unstage)
18399 @[ -f ./gprof/Makefile ] || exit 0; \
18400 r=`${PWD_COMMAND}`; export r; \
18401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18402 $(HOST_EXPORTS) \
18403 for flag in $(EXTRA_HOST_FLAGS) ; do \
18404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18405 done; \
18406 echo "Doing TAGS in gprof"; \
18407 (cd $(HOST_SUBDIR)/gprof && \
18408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18410 "RANLIB=$${RANLIB}" \
18411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18412 TAGS) \
18413 || exit 1
18415 @endif gprof
18417 .PHONY: maybe-install-info-gprof install-info-gprof
18418 maybe-install-info-gprof:
18419 @if gprof
18420 maybe-install-info-gprof: install-info-gprof
18422 install-info-gprof: \
18423 configure-gprof \
18424 info-gprof
18425 @: $(MAKE); $(unstage)
18426 @[ -f ./gprof/Makefile ] || exit 0; \
18427 r=`${PWD_COMMAND}`; export r; \
18428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18429 $(HOST_EXPORTS) \
18430 for flag in $(EXTRA_HOST_FLAGS) ; do \
18431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18432 done; \
18433 echo "Doing install-info in gprof"; \
18434 (cd $(HOST_SUBDIR)/gprof && \
18435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18437 "RANLIB=$${RANLIB}" \
18438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18439 install-info) \
18440 || exit 1
18442 @endif gprof
18444 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
18445 maybe-install-pdf-gprof:
18446 @if gprof
18447 maybe-install-pdf-gprof: install-pdf-gprof
18449 install-pdf-gprof: \
18450 configure-gprof \
18451 pdf-gprof
18452 @: $(MAKE); $(unstage)
18453 @[ -f ./gprof/Makefile ] || exit 0; \
18454 r=`${PWD_COMMAND}`; export r; \
18455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18456 $(HOST_EXPORTS) \
18457 for flag in $(EXTRA_HOST_FLAGS) ; do \
18458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18459 done; \
18460 echo "Doing install-pdf in gprof"; \
18461 (cd $(HOST_SUBDIR)/gprof && \
18462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18464 "RANLIB=$${RANLIB}" \
18465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18466 install-pdf) \
18467 || exit 1
18469 @endif gprof
18471 .PHONY: maybe-install-html-gprof install-html-gprof
18472 maybe-install-html-gprof:
18473 @if gprof
18474 maybe-install-html-gprof: install-html-gprof
18476 install-html-gprof: \
18477 configure-gprof \
18478 html-gprof
18479 @: $(MAKE); $(unstage)
18480 @[ -f ./gprof/Makefile ] || exit 0; \
18481 r=`${PWD_COMMAND}`; export r; \
18482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18483 $(HOST_EXPORTS) \
18484 for flag in $(EXTRA_HOST_FLAGS) ; do \
18485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18486 done; \
18487 echo "Doing install-html in gprof"; \
18488 (cd $(HOST_SUBDIR)/gprof && \
18489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18491 "RANLIB=$${RANLIB}" \
18492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18493 install-html) \
18494 || exit 1
18496 @endif gprof
18498 .PHONY: maybe-installcheck-gprof installcheck-gprof
18499 maybe-installcheck-gprof:
18500 @if gprof
18501 maybe-installcheck-gprof: installcheck-gprof
18503 installcheck-gprof: \
18504 configure-gprof
18505 @: $(MAKE); $(unstage)
18506 @[ -f ./gprof/Makefile ] || exit 0; \
18507 r=`${PWD_COMMAND}`; export r; \
18508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18509 $(HOST_EXPORTS) \
18510 for flag in $(EXTRA_HOST_FLAGS) ; do \
18511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18512 done; \
18513 echo "Doing installcheck in gprof"; \
18514 (cd $(HOST_SUBDIR)/gprof && \
18515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18517 "RANLIB=$${RANLIB}" \
18518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18519 installcheck) \
18520 || exit 1
18522 @endif gprof
18524 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
18525 maybe-mostlyclean-gprof:
18526 @if gprof
18527 maybe-mostlyclean-gprof: mostlyclean-gprof
18529 mostlyclean-gprof:
18530 @: $(MAKE); $(unstage)
18531 @[ -f ./gprof/Makefile ] || exit 0; \
18532 r=`${PWD_COMMAND}`; export r; \
18533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18534 $(HOST_EXPORTS) \
18535 for flag in $(EXTRA_HOST_FLAGS) ; do \
18536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18537 done; \
18538 echo "Doing mostlyclean in gprof"; \
18539 (cd $(HOST_SUBDIR)/gprof && \
18540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18542 "RANLIB=$${RANLIB}" \
18543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18544 mostlyclean) \
18545 || exit 1
18547 @endif gprof
18549 .PHONY: maybe-clean-gprof clean-gprof
18550 maybe-clean-gprof:
18551 @if gprof
18552 maybe-clean-gprof: clean-gprof
18554 clean-gprof:
18555 @: $(MAKE); $(unstage)
18556 @[ -f ./gprof/Makefile ] || exit 0; \
18557 r=`${PWD_COMMAND}`; export r; \
18558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18559 $(HOST_EXPORTS) \
18560 for flag in $(EXTRA_HOST_FLAGS) ; do \
18561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18562 done; \
18563 echo "Doing clean in gprof"; \
18564 (cd $(HOST_SUBDIR)/gprof && \
18565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18567 "RANLIB=$${RANLIB}" \
18568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18569 clean) \
18570 || exit 1
18572 @endif gprof
18574 .PHONY: maybe-distclean-gprof distclean-gprof
18575 maybe-distclean-gprof:
18576 @if gprof
18577 maybe-distclean-gprof: distclean-gprof
18579 distclean-gprof:
18580 @: $(MAKE); $(unstage)
18581 @[ -f ./gprof/Makefile ] || exit 0; \
18582 r=`${PWD_COMMAND}`; export r; \
18583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18584 $(HOST_EXPORTS) \
18585 for flag in $(EXTRA_HOST_FLAGS) ; do \
18586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18587 done; \
18588 echo "Doing distclean in gprof"; \
18589 (cd $(HOST_SUBDIR)/gprof && \
18590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18592 "RANLIB=$${RANLIB}" \
18593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18594 distclean) \
18595 || exit 1
18597 @endif gprof
18599 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
18600 maybe-maintainer-clean-gprof:
18601 @if gprof
18602 maybe-maintainer-clean-gprof: maintainer-clean-gprof
18604 maintainer-clean-gprof:
18605 @: $(MAKE); $(unstage)
18606 @[ -f ./gprof/Makefile ] || exit 0; \
18607 r=`${PWD_COMMAND}`; export r; \
18608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18609 $(HOST_EXPORTS) \
18610 for flag in $(EXTRA_HOST_FLAGS) ; do \
18611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18612 done; \
18613 echo "Doing maintainer-clean in gprof"; \
18614 (cd $(HOST_SUBDIR)/gprof && \
18615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18617 "RANLIB=$${RANLIB}" \
18618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18619 maintainer-clean) \
18620 || exit 1
18622 @endif gprof
18626 .PHONY: configure-intl maybe-configure-intl
18627 maybe-configure-intl:
18628 @if gcc-bootstrap
18629 configure-intl: stage_current
18630 @endif gcc-bootstrap
18631 @if intl
18632 maybe-configure-intl: configure-intl
18633 configure-intl:
18634 @r=`${PWD_COMMAND}`; export r; \
18635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18636 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18638 $(HOST_EXPORTS) \
18639 echo Configuring in $(HOST_SUBDIR)/intl; \
18640 cd "$(HOST_SUBDIR)/intl" || exit 1; \
18641 case $(srcdir) in \
18642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18643 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18645 esac; \
18646 module_srcdir=intl; \
18647 $(SHELL) \
18648 $$s/$$module_srcdir/configure \
18649 --srcdir=$${topdir}/$$module_srcdir \
18650 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18651 --target=${target_alias} \
18652 || exit 1
18653 @endif intl
18657 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
18658 maybe-configure-stage1-intl:
18659 @if intl-bootstrap
18660 maybe-configure-stage1-intl: configure-stage1-intl
18661 configure-stage1-intl:
18662 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18663 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18664 @r=`${PWD_COMMAND}`; export r; \
18665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18666 TFLAGS="$(STAGE1_TFLAGS)"; \
18667 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18668 $(HOST_EXPORTS) \
18669 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18670 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18671 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18672 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
18673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18674 cd $(HOST_SUBDIR)/intl || exit 1; \
18675 case $(srcdir) in \
18676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18677 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18679 esac; \
18680 module_srcdir=intl; \
18681 $(SHELL) $$s/$$module_srcdir/configure \
18682 --srcdir=$${topdir}/$$module_srcdir \
18683 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18684 --target=${target_alias} \
18686 $(STAGE1_CONFIGURE_FLAGS)
18687 @endif intl-bootstrap
18689 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
18690 maybe-configure-stage2-intl:
18691 @if intl-bootstrap
18692 maybe-configure-stage2-intl: configure-stage2-intl
18693 configure-stage2-intl:
18694 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18696 @r=`${PWD_COMMAND}`; export r; \
18697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18698 TFLAGS="$(STAGE2_TFLAGS)"; \
18699 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18700 $(HOST_EXPORTS) \
18701 $(POSTSTAGE1_HOST_EXPORTS) \
18702 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18703 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18704 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18705 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
18706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18707 cd $(HOST_SUBDIR)/intl || exit 1; \
18708 case $(srcdir) in \
18709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18710 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18712 esac; \
18713 module_srcdir=intl; \
18714 $(SHELL) $$s/$$module_srcdir/configure \
18715 --srcdir=$${topdir}/$$module_srcdir \
18716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18717 --target=${target_alias} \
18718 --with-build-libsubdir=$(HOST_SUBDIR) \
18719 $(STAGE2_CONFIGURE_FLAGS)
18720 @endif intl-bootstrap
18722 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
18723 maybe-configure-stage3-intl:
18724 @if intl-bootstrap
18725 maybe-configure-stage3-intl: configure-stage3-intl
18726 configure-stage3-intl:
18727 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18728 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18729 @r=`${PWD_COMMAND}`; export r; \
18730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18731 TFLAGS="$(STAGE3_TFLAGS)"; \
18732 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18733 $(HOST_EXPORTS) \
18734 $(POSTSTAGE1_HOST_EXPORTS) \
18735 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18736 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18737 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18738 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
18739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18740 cd $(HOST_SUBDIR)/intl || exit 1; \
18741 case $(srcdir) in \
18742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18743 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18745 esac; \
18746 module_srcdir=intl; \
18747 $(SHELL) $$s/$$module_srcdir/configure \
18748 --srcdir=$${topdir}/$$module_srcdir \
18749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18750 --target=${target_alias} \
18751 --with-build-libsubdir=$(HOST_SUBDIR) \
18752 $(STAGE3_CONFIGURE_FLAGS)
18753 @endif intl-bootstrap
18755 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
18756 maybe-configure-stage4-intl:
18757 @if intl-bootstrap
18758 maybe-configure-stage4-intl: configure-stage4-intl
18759 configure-stage4-intl:
18760 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18761 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18762 @r=`${PWD_COMMAND}`; export r; \
18763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18764 TFLAGS="$(STAGE4_TFLAGS)"; \
18765 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18766 $(HOST_EXPORTS) \
18767 $(POSTSTAGE1_HOST_EXPORTS) \
18768 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18769 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18770 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18771 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
18772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18773 cd $(HOST_SUBDIR)/intl || exit 1; \
18774 case $(srcdir) in \
18775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18776 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18778 esac; \
18779 module_srcdir=intl; \
18780 $(SHELL) $$s/$$module_srcdir/configure \
18781 --srcdir=$${topdir}/$$module_srcdir \
18782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18783 --target=${target_alias} \
18784 --with-build-libsubdir=$(HOST_SUBDIR) \
18785 $(STAGE4_CONFIGURE_FLAGS)
18786 @endif intl-bootstrap
18788 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
18789 maybe-configure-stageprofile-intl:
18790 @if intl-bootstrap
18791 maybe-configure-stageprofile-intl: configure-stageprofile-intl
18792 configure-stageprofile-intl:
18793 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18795 @r=`${PWD_COMMAND}`; export r; \
18796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18797 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18798 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18799 $(HOST_EXPORTS) \
18800 $(POSTSTAGE1_HOST_EXPORTS) \
18801 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18802 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18803 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18804 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
18805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18806 cd $(HOST_SUBDIR)/intl || exit 1; \
18807 case $(srcdir) in \
18808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18809 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18811 esac; \
18812 module_srcdir=intl; \
18813 $(SHELL) $$s/$$module_srcdir/configure \
18814 --srcdir=$${topdir}/$$module_srcdir \
18815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18816 --target=${target_alias} \
18817 --with-build-libsubdir=$(HOST_SUBDIR) \
18818 $(STAGEprofile_CONFIGURE_FLAGS)
18819 @endif intl-bootstrap
18821 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
18822 maybe-configure-stagefeedback-intl:
18823 @if intl-bootstrap
18824 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
18825 configure-stagefeedback-intl:
18826 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18827 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18828 @r=`${PWD_COMMAND}`; export r; \
18829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18830 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18831 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18832 $(HOST_EXPORTS) \
18833 $(POSTSTAGE1_HOST_EXPORTS) \
18834 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18835 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18836 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18837 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
18838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18839 cd $(HOST_SUBDIR)/intl || exit 1; \
18840 case $(srcdir) in \
18841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18842 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18844 esac; \
18845 module_srcdir=intl; \
18846 $(SHELL) $$s/$$module_srcdir/configure \
18847 --srcdir=$${topdir}/$$module_srcdir \
18848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18849 --target=${target_alias} \
18850 --with-build-libsubdir=$(HOST_SUBDIR) \
18851 $(STAGEfeedback_CONFIGURE_FLAGS)
18852 @endif intl-bootstrap
18854 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
18855 maybe-configure-stageautoprofile-intl:
18856 @if intl-bootstrap
18857 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
18858 configure-stageautoprofile-intl:
18859 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18861 @r=`${PWD_COMMAND}`; export r; \
18862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18863 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18864 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18865 $(HOST_EXPORTS) \
18866 $(POSTSTAGE1_HOST_EXPORTS) \
18867 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18868 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18869 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18870 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
18871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18872 cd $(HOST_SUBDIR)/intl || exit 1; \
18873 case $(srcdir) in \
18874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18875 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18877 esac; \
18878 module_srcdir=intl; \
18879 $(SHELL) $$s/$$module_srcdir/configure \
18880 --srcdir=$${topdir}/$$module_srcdir \
18881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18882 --target=${target_alias} \
18883 --with-build-libsubdir=$(HOST_SUBDIR) \
18884 $(STAGEautoprofile_CONFIGURE_FLAGS)
18885 @endif intl-bootstrap
18887 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
18888 maybe-configure-stageautofeedback-intl:
18889 @if intl-bootstrap
18890 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
18891 configure-stageautofeedback-intl:
18892 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18893 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18894 @r=`${PWD_COMMAND}`; export r; \
18895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18896 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18897 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18898 $(HOST_EXPORTS) \
18899 $(POSTSTAGE1_HOST_EXPORTS) \
18900 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18901 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18902 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18903 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
18904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
18905 cd $(HOST_SUBDIR)/intl || exit 1; \
18906 case $(srcdir) in \
18907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18908 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18910 esac; \
18911 module_srcdir=intl; \
18912 $(SHELL) $$s/$$module_srcdir/configure \
18913 --srcdir=$${topdir}/$$module_srcdir \
18914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18915 --target=${target_alias} \
18916 --with-build-libsubdir=$(HOST_SUBDIR) \
18917 $(STAGEautofeedback_CONFIGURE_FLAGS)
18918 @endif intl-bootstrap
18924 .PHONY: all-intl maybe-all-intl
18925 maybe-all-intl:
18926 @if gcc-bootstrap
18927 all-intl: stage_current
18928 @endif gcc-bootstrap
18929 @if intl
18930 TARGET-intl=all
18931 maybe-all-intl: all-intl
18932 all-intl: configure-intl
18933 @r=`${PWD_COMMAND}`; export r; \
18934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18935 $(HOST_EXPORTS) \
18936 (cd $(HOST_SUBDIR)/intl && \
18937 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18938 $(TARGET-intl))
18939 @endif intl
18943 .PHONY: all-stage1-intl maybe-all-stage1-intl
18944 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
18945 maybe-all-stage1-intl:
18946 maybe-clean-stage1-intl:
18947 @if intl-bootstrap
18948 maybe-all-stage1-intl: all-stage1-intl
18949 all-stage1: all-stage1-intl
18950 TARGET-stage1-intl = $(TARGET-intl)
18951 all-stage1-intl: configure-stage1-intl
18952 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18953 @r=`${PWD_COMMAND}`; export r; \
18954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18955 TFLAGS="$(STAGE1_TFLAGS)"; \
18956 $(HOST_EXPORTS) \
18957 cd $(HOST_SUBDIR)/intl && \
18959 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18960 CFLAGS="$(STAGE1_CFLAGS)" \
18961 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18962 LIBCFLAGS="$(LIBCFLAGS)" \
18963 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18964 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18965 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18966 $(EXTRA_HOST_FLAGS) \
18967 $(STAGE1_FLAGS_TO_PASS) \
18968 TFLAGS="$(STAGE1_TFLAGS)" \
18969 $(TARGET-stage1-intl)
18971 maybe-clean-stage1-intl: clean-stage1-intl
18972 clean-stage1: clean-stage1-intl
18973 clean-stage1-intl:
18974 @if [ $(current_stage) = stage1 ]; then \
18975 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18976 else \
18977 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
18978 $(MAKE) stage1-start; \
18979 fi; \
18980 cd $(HOST_SUBDIR)/intl && \
18981 $(MAKE) $(EXTRA_HOST_FLAGS) \
18982 $(STAGE1_FLAGS_TO_PASS) clean
18983 @endif intl-bootstrap
18986 .PHONY: all-stage2-intl maybe-all-stage2-intl
18987 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
18988 maybe-all-stage2-intl:
18989 maybe-clean-stage2-intl:
18990 @if intl-bootstrap
18991 maybe-all-stage2-intl: all-stage2-intl
18992 all-stage2: all-stage2-intl
18993 TARGET-stage2-intl = $(TARGET-intl)
18994 all-stage2-intl: configure-stage2-intl
18995 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18996 @r=`${PWD_COMMAND}`; export r; \
18997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18998 TFLAGS="$(STAGE2_TFLAGS)"; \
18999 $(HOST_EXPORTS) \
19000 $(POSTSTAGE1_HOST_EXPORTS) \
19001 cd $(HOST_SUBDIR)/intl && \
19003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19004 CFLAGS="$(STAGE2_CFLAGS)" \
19005 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19006 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19010 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19011 TFLAGS="$(STAGE2_TFLAGS)" \
19012 $(TARGET-stage2-intl)
19014 maybe-clean-stage2-intl: clean-stage2-intl
19015 clean-stage2: clean-stage2-intl
19016 clean-stage2-intl:
19017 @if [ $(current_stage) = stage2 ]; then \
19018 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19019 else \
19020 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
19021 $(MAKE) stage2-start; \
19022 fi; \
19023 cd $(HOST_SUBDIR)/intl && \
19024 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19025 @endif intl-bootstrap
19028 .PHONY: all-stage3-intl maybe-all-stage3-intl
19029 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
19030 maybe-all-stage3-intl:
19031 maybe-clean-stage3-intl:
19032 @if intl-bootstrap
19033 maybe-all-stage3-intl: all-stage3-intl
19034 all-stage3: all-stage3-intl
19035 TARGET-stage3-intl = $(TARGET-intl)
19036 all-stage3-intl: configure-stage3-intl
19037 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19038 @r=`${PWD_COMMAND}`; export r; \
19039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19040 TFLAGS="$(STAGE3_TFLAGS)"; \
19041 $(HOST_EXPORTS) \
19042 $(POSTSTAGE1_HOST_EXPORTS) \
19043 cd $(HOST_SUBDIR)/intl && \
19045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19046 CFLAGS="$(STAGE3_CFLAGS)" \
19047 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19048 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19049 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19052 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19053 TFLAGS="$(STAGE3_TFLAGS)" \
19054 $(TARGET-stage3-intl)
19056 maybe-clean-stage3-intl: clean-stage3-intl
19057 clean-stage3: clean-stage3-intl
19058 clean-stage3-intl:
19059 @if [ $(current_stage) = stage3 ]; then \
19060 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19061 else \
19062 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
19063 $(MAKE) stage3-start; \
19064 fi; \
19065 cd $(HOST_SUBDIR)/intl && \
19066 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19067 @endif intl-bootstrap
19070 .PHONY: all-stage4-intl maybe-all-stage4-intl
19071 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
19072 maybe-all-stage4-intl:
19073 maybe-clean-stage4-intl:
19074 @if intl-bootstrap
19075 maybe-all-stage4-intl: all-stage4-intl
19076 all-stage4: all-stage4-intl
19077 TARGET-stage4-intl = $(TARGET-intl)
19078 all-stage4-intl: configure-stage4-intl
19079 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19080 @r=`${PWD_COMMAND}`; export r; \
19081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19082 TFLAGS="$(STAGE4_TFLAGS)"; \
19083 $(HOST_EXPORTS) \
19084 $(POSTSTAGE1_HOST_EXPORTS) \
19085 cd $(HOST_SUBDIR)/intl && \
19087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19088 CFLAGS="$(STAGE4_CFLAGS)" \
19089 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19090 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19091 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19092 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19093 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19094 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19095 TFLAGS="$(STAGE4_TFLAGS)" \
19096 $(TARGET-stage4-intl)
19098 maybe-clean-stage4-intl: clean-stage4-intl
19099 clean-stage4: clean-stage4-intl
19100 clean-stage4-intl:
19101 @if [ $(current_stage) = stage4 ]; then \
19102 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19103 else \
19104 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
19105 $(MAKE) stage4-start; \
19106 fi; \
19107 cd $(HOST_SUBDIR)/intl && \
19108 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19109 @endif intl-bootstrap
19112 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
19113 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
19114 maybe-all-stageprofile-intl:
19115 maybe-clean-stageprofile-intl:
19116 @if intl-bootstrap
19117 maybe-all-stageprofile-intl: all-stageprofile-intl
19118 all-stageprofile: all-stageprofile-intl
19119 TARGET-stageprofile-intl = $(TARGET-intl)
19120 all-stageprofile-intl: configure-stageprofile-intl
19121 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19122 @r=`${PWD_COMMAND}`; export r; \
19123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19124 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19125 $(HOST_EXPORTS) \
19126 $(POSTSTAGE1_HOST_EXPORTS) \
19127 cd $(HOST_SUBDIR)/intl && \
19129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19130 CFLAGS="$(STAGEprofile_CFLAGS)" \
19131 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19132 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19133 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19134 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19135 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19136 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19137 TFLAGS="$(STAGEprofile_TFLAGS)" \
19138 $(TARGET-stageprofile-intl)
19140 maybe-clean-stageprofile-intl: clean-stageprofile-intl
19141 clean-stageprofile: clean-stageprofile-intl
19142 clean-stageprofile-intl:
19143 @if [ $(current_stage) = stageprofile ]; then \
19144 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19145 else \
19146 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
19147 $(MAKE) stageprofile-start; \
19148 fi; \
19149 cd $(HOST_SUBDIR)/intl && \
19150 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19151 @endif intl-bootstrap
19154 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
19155 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
19156 maybe-all-stagefeedback-intl:
19157 maybe-clean-stagefeedback-intl:
19158 @if intl-bootstrap
19159 maybe-all-stagefeedback-intl: all-stagefeedback-intl
19160 all-stagefeedback: all-stagefeedback-intl
19161 TARGET-stagefeedback-intl = $(TARGET-intl)
19162 all-stagefeedback-intl: configure-stagefeedback-intl
19163 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19164 @r=`${PWD_COMMAND}`; export r; \
19165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19166 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19167 $(HOST_EXPORTS) \
19168 $(POSTSTAGE1_HOST_EXPORTS) \
19169 cd $(HOST_SUBDIR)/intl && \
19171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19172 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19173 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19174 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19178 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19179 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19180 $(TARGET-stagefeedback-intl)
19182 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
19183 clean-stagefeedback: clean-stagefeedback-intl
19184 clean-stagefeedback-intl:
19185 @if [ $(current_stage) = stagefeedback ]; then \
19186 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19187 else \
19188 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
19189 $(MAKE) stagefeedback-start; \
19190 fi; \
19191 cd $(HOST_SUBDIR)/intl && \
19192 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19193 @endif intl-bootstrap
19196 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
19197 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
19198 maybe-all-stageautoprofile-intl:
19199 maybe-clean-stageautoprofile-intl:
19200 @if intl-bootstrap
19201 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
19202 all-stageautoprofile: all-stageautoprofile-intl
19203 TARGET-stageautoprofile-intl = $(TARGET-intl)
19204 all-stageautoprofile-intl: configure-stageautoprofile-intl
19205 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19206 @r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19209 $(HOST_EXPORTS) \
19210 $(POSTSTAGE1_HOST_EXPORTS) \
19211 cd $(HOST_SUBDIR)/intl && \
19212 $$s/gcc/config/i386/$(AUTO_PROFILE) \
19213 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19214 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
19215 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
19216 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
19217 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19218 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19219 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19220 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19221 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
19222 $(TARGET-stageautoprofile-intl)
19224 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
19225 clean-stageautoprofile: clean-stageautoprofile-intl
19226 clean-stageautoprofile-intl:
19227 @if [ $(current_stage) = stageautoprofile ]; then \
19228 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19229 else \
19230 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
19231 $(MAKE) stageautoprofile-start; \
19232 fi; \
19233 cd $(HOST_SUBDIR)/intl && \
19234 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19235 @endif intl-bootstrap
19238 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
19239 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
19240 maybe-all-stageautofeedback-intl:
19241 maybe-clean-stageautofeedback-intl:
19242 @if intl-bootstrap
19243 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
19244 all-stageautofeedback: all-stageautofeedback-intl
19245 TARGET-stageautofeedback-intl = $(TARGET-intl)
19246 all-stageautofeedback-intl: configure-stageautofeedback-intl
19247 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19248 @r=`${PWD_COMMAND}`; export r; \
19249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19250 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19251 $(HOST_EXPORTS) \
19252 $(POSTSTAGE1_HOST_EXPORTS) \
19253 cd $(HOST_SUBDIR)/intl && \
19255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19256 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
19257 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
19258 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
19259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19262 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19263 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
19264 $(TARGET-stageautofeedback-intl)
19266 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
19267 clean-stageautofeedback: clean-stageautofeedback-intl
19268 clean-stageautofeedback-intl:
19269 @if [ $(current_stage) = stageautofeedback ]; then \
19270 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19271 else \
19272 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
19273 $(MAKE) stageautofeedback-start; \
19274 fi; \
19275 cd $(HOST_SUBDIR)/intl && \
19276 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19277 @endif intl-bootstrap
19283 .PHONY: check-intl maybe-check-intl
19284 maybe-check-intl:
19285 @if intl
19286 maybe-check-intl: check-intl
19288 check-intl:
19289 @: $(MAKE); $(unstage)
19290 @r=`${PWD_COMMAND}`; export r; \
19291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19292 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
19293 (cd $(HOST_SUBDIR)/intl && \
19294 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
19296 @endif intl
19298 .PHONY: install-intl maybe-install-intl
19299 maybe-install-intl:
19300 @if intl
19301 maybe-install-intl: install-intl
19303 install-intl: installdirs
19304 @: $(MAKE); $(unstage)
19305 @r=`${PWD_COMMAND}`; export r; \
19306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19307 $(HOST_EXPORTS) \
19308 (cd $(HOST_SUBDIR)/intl && \
19309 $(MAKE) $(FLAGS_TO_PASS) install)
19311 @endif intl
19313 .PHONY: install-strip-intl maybe-install-strip-intl
19314 maybe-install-strip-intl:
19315 @if intl
19316 maybe-install-strip-intl: install-strip-intl
19318 install-strip-intl: installdirs
19319 @: $(MAKE); $(unstage)
19320 @r=`${PWD_COMMAND}`; export r; \
19321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19322 $(HOST_EXPORTS) \
19323 (cd $(HOST_SUBDIR)/intl && \
19324 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19326 @endif intl
19328 # Other targets (info, dvi, pdf, etc.)
19330 .PHONY: maybe-info-intl info-intl
19331 maybe-info-intl:
19332 @if intl
19333 maybe-info-intl: info-intl
19335 info-intl: \
19336 configure-intl
19337 @[ -f ./intl/Makefile ] || exit 0; \
19338 r=`${PWD_COMMAND}`; export r; \
19339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19340 $(HOST_EXPORTS) \
19341 for flag in $(EXTRA_HOST_FLAGS) ; do \
19342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19343 done; \
19344 echo "Doing info in intl"; \
19345 (cd $(HOST_SUBDIR)/intl && \
19346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19348 "RANLIB=$${RANLIB}" \
19349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19350 info) \
19351 || exit 1
19353 @endif intl
19355 .PHONY: maybe-dvi-intl dvi-intl
19356 maybe-dvi-intl:
19357 @if intl
19358 maybe-dvi-intl: dvi-intl
19360 dvi-intl: \
19361 configure-intl
19362 @[ -f ./intl/Makefile ] || exit 0; \
19363 r=`${PWD_COMMAND}`; export r; \
19364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19365 $(HOST_EXPORTS) \
19366 for flag in $(EXTRA_HOST_FLAGS) ; do \
19367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19368 done; \
19369 echo "Doing dvi in intl"; \
19370 (cd $(HOST_SUBDIR)/intl && \
19371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19373 "RANLIB=$${RANLIB}" \
19374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19375 dvi) \
19376 || exit 1
19378 @endif intl
19380 .PHONY: maybe-pdf-intl pdf-intl
19381 maybe-pdf-intl:
19382 @if intl
19383 maybe-pdf-intl: pdf-intl
19385 pdf-intl: \
19386 configure-intl
19387 @[ -f ./intl/Makefile ] || exit 0; \
19388 r=`${PWD_COMMAND}`; export r; \
19389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19390 $(HOST_EXPORTS) \
19391 for flag in $(EXTRA_HOST_FLAGS) ; do \
19392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19393 done; \
19394 echo "Doing pdf in intl"; \
19395 (cd $(HOST_SUBDIR)/intl && \
19396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19398 "RANLIB=$${RANLIB}" \
19399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19400 pdf) \
19401 || exit 1
19403 @endif intl
19405 .PHONY: maybe-html-intl html-intl
19406 maybe-html-intl:
19407 @if intl
19408 maybe-html-intl: html-intl
19410 html-intl: \
19411 configure-intl
19412 @[ -f ./intl/Makefile ] || exit 0; \
19413 r=`${PWD_COMMAND}`; export r; \
19414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19415 $(HOST_EXPORTS) \
19416 for flag in $(EXTRA_HOST_FLAGS) ; do \
19417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19418 done; \
19419 echo "Doing html in intl"; \
19420 (cd $(HOST_SUBDIR)/intl && \
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}" \
19425 html) \
19426 || exit 1
19428 @endif intl
19430 .PHONY: maybe-TAGS-intl TAGS-intl
19431 maybe-TAGS-intl:
19432 @if intl
19433 maybe-TAGS-intl: TAGS-intl
19435 TAGS-intl: \
19436 configure-intl
19437 @[ -f ./intl/Makefile ] || exit 0; \
19438 r=`${PWD_COMMAND}`; export r; \
19439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19440 $(HOST_EXPORTS) \
19441 for flag in $(EXTRA_HOST_FLAGS) ; do \
19442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19443 done; \
19444 echo "Doing TAGS in intl"; \
19445 (cd $(HOST_SUBDIR)/intl && \
19446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19448 "RANLIB=$${RANLIB}" \
19449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19450 TAGS) \
19451 || exit 1
19453 @endif intl
19455 .PHONY: maybe-install-info-intl install-info-intl
19456 maybe-install-info-intl:
19457 @if intl
19458 maybe-install-info-intl: install-info-intl
19460 install-info-intl: \
19461 configure-intl \
19462 info-intl
19463 @[ -f ./intl/Makefile ] || exit 0; \
19464 r=`${PWD_COMMAND}`; export r; \
19465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19466 $(HOST_EXPORTS) \
19467 for flag in $(EXTRA_HOST_FLAGS) ; do \
19468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19469 done; \
19470 echo "Doing install-info in intl"; \
19471 (cd $(HOST_SUBDIR)/intl && \
19472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19474 "RANLIB=$${RANLIB}" \
19475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19476 install-info) \
19477 || exit 1
19479 @endif intl
19481 .PHONY: maybe-install-pdf-intl install-pdf-intl
19482 maybe-install-pdf-intl:
19483 @if intl
19484 maybe-install-pdf-intl: install-pdf-intl
19486 install-pdf-intl: \
19487 configure-intl \
19488 pdf-intl
19489 @[ -f ./intl/Makefile ] || exit 0; \
19490 r=`${PWD_COMMAND}`; export r; \
19491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19492 $(HOST_EXPORTS) \
19493 for flag in $(EXTRA_HOST_FLAGS) ; do \
19494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19495 done; \
19496 echo "Doing install-pdf in intl"; \
19497 (cd $(HOST_SUBDIR)/intl && \
19498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19500 "RANLIB=$${RANLIB}" \
19501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19502 install-pdf) \
19503 || exit 1
19505 @endif intl
19507 .PHONY: maybe-install-html-intl install-html-intl
19508 maybe-install-html-intl:
19509 @if intl
19510 maybe-install-html-intl: install-html-intl
19512 install-html-intl: \
19513 configure-intl \
19514 html-intl
19515 @[ -f ./intl/Makefile ] || exit 0; \
19516 r=`${PWD_COMMAND}`; export r; \
19517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19518 $(HOST_EXPORTS) \
19519 for flag in $(EXTRA_HOST_FLAGS) ; do \
19520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19521 done; \
19522 echo "Doing install-html in intl"; \
19523 (cd $(HOST_SUBDIR)/intl && \
19524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19526 "RANLIB=$${RANLIB}" \
19527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19528 install-html) \
19529 || exit 1
19531 @endif intl
19533 .PHONY: maybe-installcheck-intl installcheck-intl
19534 maybe-installcheck-intl:
19535 @if intl
19536 maybe-installcheck-intl: installcheck-intl
19538 installcheck-intl: \
19539 configure-intl
19540 @[ -f ./intl/Makefile ] || exit 0; \
19541 r=`${PWD_COMMAND}`; export r; \
19542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19543 $(HOST_EXPORTS) \
19544 for flag in $(EXTRA_HOST_FLAGS) ; do \
19545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19546 done; \
19547 echo "Doing installcheck in intl"; \
19548 (cd $(HOST_SUBDIR)/intl && \
19549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19551 "RANLIB=$${RANLIB}" \
19552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19553 installcheck) \
19554 || exit 1
19556 @endif intl
19558 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
19559 maybe-mostlyclean-intl:
19560 @if intl
19561 maybe-mostlyclean-intl: mostlyclean-intl
19563 mostlyclean-intl:
19564 @[ -f ./intl/Makefile ] || exit 0; \
19565 r=`${PWD_COMMAND}`; export r; \
19566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19567 $(HOST_EXPORTS) \
19568 for flag in $(EXTRA_HOST_FLAGS) ; do \
19569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19570 done; \
19571 echo "Doing mostlyclean in intl"; \
19572 (cd $(HOST_SUBDIR)/intl && \
19573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19575 "RANLIB=$${RANLIB}" \
19576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19577 mostlyclean) \
19578 || exit 1
19580 @endif intl
19582 .PHONY: maybe-clean-intl clean-intl
19583 maybe-clean-intl:
19584 @if intl
19585 maybe-clean-intl: clean-intl
19587 clean-intl:
19588 @[ -f ./intl/Makefile ] || exit 0; \
19589 r=`${PWD_COMMAND}`; export r; \
19590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19591 $(HOST_EXPORTS) \
19592 for flag in $(EXTRA_HOST_FLAGS) ; do \
19593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19594 done; \
19595 echo "Doing clean in intl"; \
19596 (cd $(HOST_SUBDIR)/intl && \
19597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19599 "RANLIB=$${RANLIB}" \
19600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19601 clean) \
19602 || exit 1
19604 @endif intl
19606 .PHONY: maybe-distclean-intl distclean-intl
19607 maybe-distclean-intl:
19608 @if intl
19609 maybe-distclean-intl: distclean-intl
19611 distclean-intl:
19612 @[ -f ./intl/Makefile ] || exit 0; \
19613 r=`${PWD_COMMAND}`; export r; \
19614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19615 $(HOST_EXPORTS) \
19616 for flag in $(EXTRA_HOST_FLAGS) ; do \
19617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19618 done; \
19619 echo "Doing distclean in intl"; \
19620 (cd $(HOST_SUBDIR)/intl && \
19621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19623 "RANLIB=$${RANLIB}" \
19624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19625 distclean) \
19626 || exit 1
19628 @endif intl
19630 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
19631 maybe-maintainer-clean-intl:
19632 @if intl
19633 maybe-maintainer-clean-intl: maintainer-clean-intl
19635 maintainer-clean-intl:
19636 @[ -f ./intl/Makefile ] || exit 0; \
19637 r=`${PWD_COMMAND}`; export r; \
19638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19639 $(HOST_EXPORTS) \
19640 for flag in $(EXTRA_HOST_FLAGS) ; do \
19641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19642 done; \
19643 echo "Doing maintainer-clean in intl"; \
19644 (cd $(HOST_SUBDIR)/intl && \
19645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19647 "RANLIB=$${RANLIB}" \
19648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19649 maintainer-clean) \
19650 || exit 1
19652 @endif intl
19656 .PHONY: configure-tcl maybe-configure-tcl
19657 maybe-configure-tcl:
19658 @if gcc-bootstrap
19659 configure-tcl: stage_current
19660 @endif gcc-bootstrap
19661 @if tcl
19662 maybe-configure-tcl: configure-tcl
19663 configure-tcl:
19664 @: $(MAKE); $(unstage)
19665 @r=`${PWD_COMMAND}`; export r; \
19666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19667 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
19668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
19669 $(HOST_EXPORTS) \
19670 echo Configuring in $(HOST_SUBDIR)/tcl; \
19671 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
19672 case $(srcdir) in \
19673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19674 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
19675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19676 esac; \
19677 module_srcdir=tcl; \
19678 $(SHELL) \
19679 $$s/$$module_srcdir/configure \
19680 --srcdir=$${topdir}/$$module_srcdir \
19681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19682 --target=${target_alias} \
19683 || exit 1
19684 @endif tcl
19690 .PHONY: all-tcl maybe-all-tcl
19691 maybe-all-tcl:
19692 @if gcc-bootstrap
19693 all-tcl: stage_current
19694 @endif gcc-bootstrap
19695 @if tcl
19696 TARGET-tcl=all
19697 maybe-all-tcl: all-tcl
19698 all-tcl: configure-tcl
19699 @: $(MAKE); $(unstage)
19700 @r=`${PWD_COMMAND}`; export r; \
19701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19702 $(HOST_EXPORTS) \
19703 (cd $(HOST_SUBDIR)/tcl && \
19704 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19705 $(TARGET-tcl))
19706 @endif tcl
19711 .PHONY: check-tcl maybe-check-tcl
19712 maybe-check-tcl:
19713 @if tcl
19714 maybe-check-tcl: check-tcl
19716 check-tcl:
19717 @: $(MAKE); $(unstage)
19718 @r=`${PWD_COMMAND}`; export r; \
19719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19720 $(HOST_EXPORTS) \
19721 (cd $(HOST_SUBDIR)/tcl && \
19722 $(MAKE) $(FLAGS_TO_PASS) check)
19724 @endif tcl
19726 .PHONY: install-tcl maybe-install-tcl
19727 maybe-install-tcl:
19728 @if tcl
19729 maybe-install-tcl: install-tcl
19731 install-tcl: installdirs
19732 @: $(MAKE); $(unstage)
19733 @r=`${PWD_COMMAND}`; export r; \
19734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19735 $(HOST_EXPORTS) \
19736 (cd $(HOST_SUBDIR)/tcl && \
19737 $(MAKE) $(FLAGS_TO_PASS) install)
19739 @endif tcl
19741 .PHONY: install-strip-tcl maybe-install-strip-tcl
19742 maybe-install-strip-tcl:
19743 @if tcl
19744 maybe-install-strip-tcl: install-strip-tcl
19746 install-strip-tcl: installdirs
19747 @: $(MAKE); $(unstage)
19748 @r=`${PWD_COMMAND}`; export r; \
19749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19750 $(HOST_EXPORTS) \
19751 (cd $(HOST_SUBDIR)/tcl && \
19752 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19754 @endif tcl
19756 # Other targets (info, dvi, pdf, etc.)
19758 .PHONY: maybe-info-tcl info-tcl
19759 maybe-info-tcl:
19760 @if tcl
19761 maybe-info-tcl: info-tcl
19763 info-tcl: \
19764 configure-tcl
19765 @: $(MAKE); $(unstage)
19766 @[ -f ./tcl/Makefile ] || exit 0; \
19767 r=`${PWD_COMMAND}`; export r; \
19768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19769 $(HOST_EXPORTS) \
19770 for flag in $(EXTRA_HOST_FLAGS) ; do \
19771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19772 done; \
19773 echo "Doing info in tcl"; \
19774 (cd $(HOST_SUBDIR)/tcl && \
19775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19777 "RANLIB=$${RANLIB}" \
19778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19779 info) \
19780 || exit 1
19782 @endif tcl
19784 .PHONY: maybe-dvi-tcl dvi-tcl
19785 maybe-dvi-tcl:
19786 @if tcl
19787 maybe-dvi-tcl: dvi-tcl
19789 dvi-tcl: \
19790 configure-tcl
19791 @: $(MAKE); $(unstage)
19792 @[ -f ./tcl/Makefile ] || exit 0; \
19793 r=`${PWD_COMMAND}`; export r; \
19794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19795 $(HOST_EXPORTS) \
19796 for flag in $(EXTRA_HOST_FLAGS) ; do \
19797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19798 done; \
19799 echo "Doing dvi in tcl"; \
19800 (cd $(HOST_SUBDIR)/tcl && \
19801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19803 "RANLIB=$${RANLIB}" \
19804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19805 dvi) \
19806 || exit 1
19808 @endif tcl
19810 .PHONY: maybe-pdf-tcl pdf-tcl
19811 maybe-pdf-tcl:
19812 @if tcl
19813 maybe-pdf-tcl: pdf-tcl
19815 pdf-tcl: \
19816 configure-tcl
19817 @: $(MAKE); $(unstage)
19818 @[ -f ./tcl/Makefile ] || exit 0; \
19819 r=`${PWD_COMMAND}`; export r; \
19820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19821 $(HOST_EXPORTS) \
19822 for flag in $(EXTRA_HOST_FLAGS) ; do \
19823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19824 done; \
19825 echo "Doing pdf in tcl"; \
19826 (cd $(HOST_SUBDIR)/tcl && \
19827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19829 "RANLIB=$${RANLIB}" \
19830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19831 pdf) \
19832 || exit 1
19834 @endif tcl
19836 .PHONY: maybe-html-tcl html-tcl
19837 maybe-html-tcl:
19838 @if tcl
19839 maybe-html-tcl: html-tcl
19841 html-tcl: \
19842 configure-tcl
19843 @: $(MAKE); $(unstage)
19844 @[ -f ./tcl/Makefile ] || exit 0; \
19845 r=`${PWD_COMMAND}`; export r; \
19846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19847 $(HOST_EXPORTS) \
19848 for flag in $(EXTRA_HOST_FLAGS) ; do \
19849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19850 done; \
19851 echo "Doing html in tcl"; \
19852 (cd $(HOST_SUBDIR)/tcl && \
19853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19855 "RANLIB=$${RANLIB}" \
19856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19857 html) \
19858 || exit 1
19860 @endif tcl
19862 .PHONY: maybe-TAGS-tcl TAGS-tcl
19863 maybe-TAGS-tcl:
19864 @if tcl
19865 maybe-TAGS-tcl: TAGS-tcl
19867 TAGS-tcl: \
19868 configure-tcl
19869 @: $(MAKE); $(unstage)
19870 @[ -f ./tcl/Makefile ] || exit 0; \
19871 r=`${PWD_COMMAND}`; export r; \
19872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19873 $(HOST_EXPORTS) \
19874 for flag in $(EXTRA_HOST_FLAGS) ; do \
19875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19876 done; \
19877 echo "Doing TAGS in tcl"; \
19878 (cd $(HOST_SUBDIR)/tcl && \
19879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19881 "RANLIB=$${RANLIB}" \
19882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19883 TAGS) \
19884 || exit 1
19886 @endif tcl
19888 .PHONY: maybe-install-info-tcl install-info-tcl
19889 maybe-install-info-tcl:
19890 @if tcl
19891 maybe-install-info-tcl: install-info-tcl
19893 install-info-tcl: \
19894 configure-tcl \
19895 info-tcl
19896 @: $(MAKE); $(unstage)
19897 @[ -f ./tcl/Makefile ] || exit 0; \
19898 r=`${PWD_COMMAND}`; export r; \
19899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19900 $(HOST_EXPORTS) \
19901 for flag in $(EXTRA_HOST_FLAGS) ; do \
19902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19903 done; \
19904 echo "Doing install-info in tcl"; \
19905 (cd $(HOST_SUBDIR)/tcl && \
19906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19908 "RANLIB=$${RANLIB}" \
19909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19910 install-info) \
19911 || exit 1
19913 @endif tcl
19915 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
19916 maybe-install-pdf-tcl:
19917 @if tcl
19918 maybe-install-pdf-tcl: install-pdf-tcl
19920 install-pdf-tcl: \
19921 configure-tcl \
19922 pdf-tcl
19923 @: $(MAKE); $(unstage)
19924 @[ -f ./tcl/Makefile ] || exit 0; \
19925 r=`${PWD_COMMAND}`; export r; \
19926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19927 $(HOST_EXPORTS) \
19928 for flag in $(EXTRA_HOST_FLAGS) ; do \
19929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19930 done; \
19931 echo "Doing install-pdf in tcl"; \
19932 (cd $(HOST_SUBDIR)/tcl && \
19933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19935 "RANLIB=$${RANLIB}" \
19936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19937 install-pdf) \
19938 || exit 1
19940 @endif tcl
19942 .PHONY: maybe-install-html-tcl install-html-tcl
19943 maybe-install-html-tcl:
19944 @if tcl
19945 maybe-install-html-tcl: install-html-tcl
19947 install-html-tcl: \
19948 configure-tcl \
19949 html-tcl
19950 @: $(MAKE); $(unstage)
19951 @[ -f ./tcl/Makefile ] || exit 0; \
19952 r=`${PWD_COMMAND}`; export r; \
19953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19954 $(HOST_EXPORTS) \
19955 for flag in $(EXTRA_HOST_FLAGS) ; do \
19956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19957 done; \
19958 echo "Doing install-html in tcl"; \
19959 (cd $(HOST_SUBDIR)/tcl && \
19960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19962 "RANLIB=$${RANLIB}" \
19963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19964 install-html) \
19965 || exit 1
19967 @endif tcl
19969 .PHONY: maybe-installcheck-tcl installcheck-tcl
19970 maybe-installcheck-tcl:
19971 @if tcl
19972 maybe-installcheck-tcl: installcheck-tcl
19974 installcheck-tcl: \
19975 configure-tcl
19976 @: $(MAKE); $(unstage)
19977 @[ -f ./tcl/Makefile ] || exit 0; \
19978 r=`${PWD_COMMAND}`; export r; \
19979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19980 $(HOST_EXPORTS) \
19981 for flag in $(EXTRA_HOST_FLAGS) ; do \
19982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19983 done; \
19984 echo "Doing installcheck in tcl"; \
19985 (cd $(HOST_SUBDIR)/tcl && \
19986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19988 "RANLIB=$${RANLIB}" \
19989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19990 installcheck) \
19991 || exit 1
19993 @endif tcl
19995 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
19996 maybe-mostlyclean-tcl:
19997 @if tcl
19998 maybe-mostlyclean-tcl: mostlyclean-tcl
20000 # tcl doesn't support mostlyclean.
20001 mostlyclean-tcl:
20003 @endif tcl
20005 .PHONY: maybe-clean-tcl clean-tcl
20006 maybe-clean-tcl:
20007 @if tcl
20008 maybe-clean-tcl: clean-tcl
20010 clean-tcl:
20011 @: $(MAKE); $(unstage)
20012 @[ -f ./tcl/Makefile ] || exit 0; \
20013 r=`${PWD_COMMAND}`; export r; \
20014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20015 $(HOST_EXPORTS) \
20016 for flag in $(EXTRA_HOST_FLAGS) ; do \
20017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20018 done; \
20019 echo "Doing clean in tcl"; \
20020 (cd $(HOST_SUBDIR)/tcl && \
20021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20023 "RANLIB=$${RANLIB}" \
20024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20025 clean) \
20026 || exit 1
20028 @endif tcl
20030 .PHONY: maybe-distclean-tcl distclean-tcl
20031 maybe-distclean-tcl:
20032 @if tcl
20033 maybe-distclean-tcl: distclean-tcl
20035 distclean-tcl:
20036 @: $(MAKE); $(unstage)
20037 @[ -f ./tcl/Makefile ] || exit 0; \
20038 r=`${PWD_COMMAND}`; export r; \
20039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20040 $(HOST_EXPORTS) \
20041 for flag in $(EXTRA_HOST_FLAGS) ; do \
20042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20043 done; \
20044 echo "Doing distclean in tcl"; \
20045 (cd $(HOST_SUBDIR)/tcl && \
20046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20048 "RANLIB=$${RANLIB}" \
20049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20050 distclean) \
20051 || exit 1
20053 @endif tcl
20055 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
20056 maybe-maintainer-clean-tcl:
20057 @if tcl
20058 maybe-maintainer-clean-tcl: maintainer-clean-tcl
20060 maintainer-clean-tcl:
20061 @: $(MAKE); $(unstage)
20062 @[ -f ./tcl/Makefile ] || exit 0; \
20063 r=`${PWD_COMMAND}`; export r; \
20064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20065 $(HOST_EXPORTS) \
20066 for flag in $(EXTRA_HOST_FLAGS) ; do \
20067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20068 done; \
20069 echo "Doing maintainer-clean in tcl"; \
20070 (cd $(HOST_SUBDIR)/tcl && \
20071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20073 "RANLIB=$${RANLIB}" \
20074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20075 maintainer-clean) \
20076 || exit 1
20078 @endif tcl
20082 .PHONY: configure-itcl maybe-configure-itcl
20083 maybe-configure-itcl:
20084 @if gcc-bootstrap
20085 configure-itcl: stage_current
20086 @endif gcc-bootstrap
20087 @if itcl
20088 maybe-configure-itcl: configure-itcl
20089 configure-itcl:
20090 @: $(MAKE); $(unstage)
20091 @r=`${PWD_COMMAND}`; export r; \
20092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20093 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
20094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
20095 $(HOST_EXPORTS) \
20096 echo Configuring in $(HOST_SUBDIR)/itcl; \
20097 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
20098 case $(srcdir) in \
20099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20100 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
20101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20102 esac; \
20103 module_srcdir=itcl; \
20104 $(SHELL) \
20105 $$s/$$module_srcdir/configure \
20106 --srcdir=$${topdir}/$$module_srcdir \
20107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20108 --target=${target_alias} \
20109 || exit 1
20110 @endif itcl
20116 .PHONY: all-itcl maybe-all-itcl
20117 maybe-all-itcl:
20118 @if gcc-bootstrap
20119 all-itcl: stage_current
20120 @endif gcc-bootstrap
20121 @if itcl
20122 TARGET-itcl=all
20123 maybe-all-itcl: all-itcl
20124 all-itcl: configure-itcl
20125 @: $(MAKE); $(unstage)
20126 @r=`${PWD_COMMAND}`; export r; \
20127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20128 $(HOST_EXPORTS) \
20129 (cd $(HOST_SUBDIR)/itcl && \
20130 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20131 $(TARGET-itcl))
20132 @endif itcl
20137 .PHONY: check-itcl maybe-check-itcl
20138 maybe-check-itcl:
20139 @if itcl
20140 maybe-check-itcl: check-itcl
20142 check-itcl:
20143 @: $(MAKE); $(unstage)
20144 @r=`${PWD_COMMAND}`; export r; \
20145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20146 $(HOST_EXPORTS) \
20147 (cd $(HOST_SUBDIR)/itcl && \
20148 $(MAKE) $(FLAGS_TO_PASS) check)
20150 @endif itcl
20152 .PHONY: install-itcl maybe-install-itcl
20153 maybe-install-itcl:
20154 @if itcl
20155 maybe-install-itcl: install-itcl
20157 install-itcl: installdirs
20158 @: $(MAKE); $(unstage)
20159 @r=`${PWD_COMMAND}`; export r; \
20160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20161 $(HOST_EXPORTS) \
20162 (cd $(HOST_SUBDIR)/itcl && \
20163 $(MAKE) $(FLAGS_TO_PASS) install)
20165 @endif itcl
20167 .PHONY: install-strip-itcl maybe-install-strip-itcl
20168 maybe-install-strip-itcl:
20169 @if itcl
20170 maybe-install-strip-itcl: install-strip-itcl
20172 install-strip-itcl: installdirs
20173 @: $(MAKE); $(unstage)
20174 @r=`${PWD_COMMAND}`; export r; \
20175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20176 $(HOST_EXPORTS) \
20177 (cd $(HOST_SUBDIR)/itcl && \
20178 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20180 @endif itcl
20182 # Other targets (info, dvi, pdf, etc.)
20184 .PHONY: maybe-info-itcl info-itcl
20185 maybe-info-itcl:
20186 @if itcl
20187 maybe-info-itcl: info-itcl
20189 info-itcl: \
20190 configure-itcl
20191 @: $(MAKE); $(unstage)
20192 @[ -f ./itcl/Makefile ] || exit 0; \
20193 r=`${PWD_COMMAND}`; export r; \
20194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20195 $(HOST_EXPORTS) \
20196 for flag in $(EXTRA_HOST_FLAGS) ; do \
20197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20198 done; \
20199 echo "Doing info in itcl"; \
20200 (cd $(HOST_SUBDIR)/itcl && \
20201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20203 "RANLIB=$${RANLIB}" \
20204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20205 info) \
20206 || exit 1
20208 @endif itcl
20210 .PHONY: maybe-dvi-itcl dvi-itcl
20211 maybe-dvi-itcl:
20212 @if itcl
20213 maybe-dvi-itcl: dvi-itcl
20215 dvi-itcl: \
20216 configure-itcl
20217 @: $(MAKE); $(unstage)
20218 @[ -f ./itcl/Makefile ] || exit 0; \
20219 r=`${PWD_COMMAND}`; export r; \
20220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20221 $(HOST_EXPORTS) \
20222 for flag in $(EXTRA_HOST_FLAGS) ; do \
20223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20224 done; \
20225 echo "Doing dvi in itcl"; \
20226 (cd $(HOST_SUBDIR)/itcl && \
20227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20229 "RANLIB=$${RANLIB}" \
20230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20231 dvi) \
20232 || exit 1
20234 @endif itcl
20236 .PHONY: maybe-pdf-itcl pdf-itcl
20237 maybe-pdf-itcl:
20238 @if itcl
20239 maybe-pdf-itcl: pdf-itcl
20241 pdf-itcl: \
20242 configure-itcl
20243 @: $(MAKE); $(unstage)
20244 @[ -f ./itcl/Makefile ] || exit 0; \
20245 r=`${PWD_COMMAND}`; export r; \
20246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20247 $(HOST_EXPORTS) \
20248 for flag in $(EXTRA_HOST_FLAGS) ; do \
20249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20250 done; \
20251 echo "Doing pdf in itcl"; \
20252 (cd $(HOST_SUBDIR)/itcl && \
20253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20255 "RANLIB=$${RANLIB}" \
20256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20257 pdf) \
20258 || exit 1
20260 @endif itcl
20262 .PHONY: maybe-html-itcl html-itcl
20263 maybe-html-itcl:
20264 @if itcl
20265 maybe-html-itcl: html-itcl
20267 html-itcl: \
20268 configure-itcl
20269 @: $(MAKE); $(unstage)
20270 @[ -f ./itcl/Makefile ] || exit 0; \
20271 r=`${PWD_COMMAND}`; export r; \
20272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20273 $(HOST_EXPORTS) \
20274 for flag in $(EXTRA_HOST_FLAGS) ; do \
20275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20276 done; \
20277 echo "Doing html in itcl"; \
20278 (cd $(HOST_SUBDIR)/itcl && \
20279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20281 "RANLIB=$${RANLIB}" \
20282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20283 html) \
20284 || exit 1
20286 @endif itcl
20288 .PHONY: maybe-TAGS-itcl TAGS-itcl
20289 maybe-TAGS-itcl:
20290 @if itcl
20291 maybe-TAGS-itcl: TAGS-itcl
20293 TAGS-itcl: \
20294 configure-itcl
20295 @: $(MAKE); $(unstage)
20296 @[ -f ./itcl/Makefile ] || exit 0; \
20297 r=`${PWD_COMMAND}`; export r; \
20298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20299 $(HOST_EXPORTS) \
20300 for flag in $(EXTRA_HOST_FLAGS) ; do \
20301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20302 done; \
20303 echo "Doing TAGS in itcl"; \
20304 (cd $(HOST_SUBDIR)/itcl && \
20305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20307 "RANLIB=$${RANLIB}" \
20308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20309 TAGS) \
20310 || exit 1
20312 @endif itcl
20314 .PHONY: maybe-install-info-itcl install-info-itcl
20315 maybe-install-info-itcl:
20316 @if itcl
20317 maybe-install-info-itcl: install-info-itcl
20319 install-info-itcl: \
20320 configure-itcl \
20321 info-itcl
20322 @: $(MAKE); $(unstage)
20323 @[ -f ./itcl/Makefile ] || exit 0; \
20324 r=`${PWD_COMMAND}`; export r; \
20325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20326 $(HOST_EXPORTS) \
20327 for flag in $(EXTRA_HOST_FLAGS) ; do \
20328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20329 done; \
20330 echo "Doing install-info in itcl"; \
20331 (cd $(HOST_SUBDIR)/itcl && \
20332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20334 "RANLIB=$${RANLIB}" \
20335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20336 install-info) \
20337 || exit 1
20339 @endif itcl
20341 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
20342 maybe-install-pdf-itcl:
20343 @if itcl
20344 maybe-install-pdf-itcl: install-pdf-itcl
20346 install-pdf-itcl: \
20347 configure-itcl \
20348 pdf-itcl
20349 @: $(MAKE); $(unstage)
20350 @[ -f ./itcl/Makefile ] || exit 0; \
20351 r=`${PWD_COMMAND}`; export r; \
20352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20353 $(HOST_EXPORTS) \
20354 for flag in $(EXTRA_HOST_FLAGS) ; do \
20355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20356 done; \
20357 echo "Doing install-pdf in itcl"; \
20358 (cd $(HOST_SUBDIR)/itcl && \
20359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20361 "RANLIB=$${RANLIB}" \
20362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20363 install-pdf) \
20364 || exit 1
20366 @endif itcl
20368 .PHONY: maybe-install-html-itcl install-html-itcl
20369 maybe-install-html-itcl:
20370 @if itcl
20371 maybe-install-html-itcl: install-html-itcl
20373 install-html-itcl: \
20374 configure-itcl \
20375 html-itcl
20376 @: $(MAKE); $(unstage)
20377 @[ -f ./itcl/Makefile ] || exit 0; \
20378 r=`${PWD_COMMAND}`; export r; \
20379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20380 $(HOST_EXPORTS) \
20381 for flag in $(EXTRA_HOST_FLAGS) ; do \
20382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20383 done; \
20384 echo "Doing install-html in itcl"; \
20385 (cd $(HOST_SUBDIR)/itcl && \
20386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20388 "RANLIB=$${RANLIB}" \
20389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20390 install-html) \
20391 || exit 1
20393 @endif itcl
20395 .PHONY: maybe-installcheck-itcl installcheck-itcl
20396 maybe-installcheck-itcl:
20397 @if itcl
20398 maybe-installcheck-itcl: installcheck-itcl
20400 installcheck-itcl: \
20401 configure-itcl
20402 @: $(MAKE); $(unstage)
20403 @[ -f ./itcl/Makefile ] || exit 0; \
20404 r=`${PWD_COMMAND}`; export r; \
20405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20406 $(HOST_EXPORTS) \
20407 for flag in $(EXTRA_HOST_FLAGS) ; do \
20408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20409 done; \
20410 echo "Doing installcheck in itcl"; \
20411 (cd $(HOST_SUBDIR)/itcl && \
20412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20414 "RANLIB=$${RANLIB}" \
20415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20416 installcheck) \
20417 || exit 1
20419 @endif itcl
20421 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
20422 maybe-mostlyclean-itcl:
20423 @if itcl
20424 maybe-mostlyclean-itcl: mostlyclean-itcl
20426 mostlyclean-itcl:
20427 @: $(MAKE); $(unstage)
20428 @[ -f ./itcl/Makefile ] || exit 0; \
20429 r=`${PWD_COMMAND}`; export r; \
20430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20431 $(HOST_EXPORTS) \
20432 for flag in $(EXTRA_HOST_FLAGS) ; do \
20433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20434 done; \
20435 echo "Doing mostlyclean in itcl"; \
20436 (cd $(HOST_SUBDIR)/itcl && \
20437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20439 "RANLIB=$${RANLIB}" \
20440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20441 mostlyclean) \
20442 || exit 1
20444 @endif itcl
20446 .PHONY: maybe-clean-itcl clean-itcl
20447 maybe-clean-itcl:
20448 @if itcl
20449 maybe-clean-itcl: clean-itcl
20451 clean-itcl:
20452 @: $(MAKE); $(unstage)
20453 @[ -f ./itcl/Makefile ] || exit 0; \
20454 r=`${PWD_COMMAND}`; export r; \
20455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20456 $(HOST_EXPORTS) \
20457 for flag in $(EXTRA_HOST_FLAGS) ; do \
20458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20459 done; \
20460 echo "Doing clean in itcl"; \
20461 (cd $(HOST_SUBDIR)/itcl && \
20462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20464 "RANLIB=$${RANLIB}" \
20465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20466 clean) \
20467 || exit 1
20469 @endif itcl
20471 .PHONY: maybe-distclean-itcl distclean-itcl
20472 maybe-distclean-itcl:
20473 @if itcl
20474 maybe-distclean-itcl: distclean-itcl
20476 distclean-itcl:
20477 @: $(MAKE); $(unstage)
20478 @[ -f ./itcl/Makefile ] || exit 0; \
20479 r=`${PWD_COMMAND}`; export r; \
20480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20481 $(HOST_EXPORTS) \
20482 for flag in $(EXTRA_HOST_FLAGS) ; do \
20483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20484 done; \
20485 echo "Doing distclean in itcl"; \
20486 (cd $(HOST_SUBDIR)/itcl && \
20487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20489 "RANLIB=$${RANLIB}" \
20490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20491 distclean) \
20492 || exit 1
20494 @endif itcl
20496 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
20497 maybe-maintainer-clean-itcl:
20498 @if itcl
20499 maybe-maintainer-clean-itcl: maintainer-clean-itcl
20501 maintainer-clean-itcl:
20502 @: $(MAKE); $(unstage)
20503 @[ -f ./itcl/Makefile ] || exit 0; \
20504 r=`${PWD_COMMAND}`; export r; \
20505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20506 $(HOST_EXPORTS) \
20507 for flag in $(EXTRA_HOST_FLAGS) ; do \
20508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20509 done; \
20510 echo "Doing maintainer-clean in itcl"; \
20511 (cd $(HOST_SUBDIR)/itcl && \
20512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20514 "RANLIB=$${RANLIB}" \
20515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20516 maintainer-clean) \
20517 || exit 1
20519 @endif itcl
20523 .PHONY: configure-ld maybe-configure-ld
20524 maybe-configure-ld:
20525 @if gcc-bootstrap
20526 configure-ld: stage_current
20527 @endif gcc-bootstrap
20528 @if ld
20529 maybe-configure-ld: configure-ld
20530 configure-ld:
20531 @r=`${PWD_COMMAND}`; export r; \
20532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20533 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20535 $(HOST_EXPORTS) \
20536 echo Configuring in $(HOST_SUBDIR)/ld; \
20537 cd "$(HOST_SUBDIR)/ld" || exit 1; \
20538 case $(srcdir) in \
20539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20540 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20542 esac; \
20543 module_srcdir=ld; \
20544 $(SHELL) \
20545 $$s/$$module_srcdir/configure \
20546 --srcdir=$${topdir}/$$module_srcdir \
20547 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20548 --target=${target_alias} \
20549 || exit 1
20550 @endif ld
20554 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
20555 maybe-configure-stage1-ld:
20556 @if ld-bootstrap
20557 maybe-configure-stage1-ld: configure-stage1-ld
20558 configure-stage1-ld:
20559 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20561 @r=`${PWD_COMMAND}`; export r; \
20562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20563 TFLAGS="$(STAGE1_TFLAGS)"; \
20564 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20565 $(HOST_EXPORTS) \
20566 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20567 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20568 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20569 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
20570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20571 cd $(HOST_SUBDIR)/ld || exit 1; \
20572 case $(srcdir) in \
20573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20574 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20576 esac; \
20577 module_srcdir=ld; \
20578 $(SHELL) $$s/$$module_srcdir/configure \
20579 --srcdir=$${topdir}/$$module_srcdir \
20580 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20581 --target=${target_alias} \
20583 $(STAGE1_CONFIGURE_FLAGS)
20584 @endif ld-bootstrap
20586 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
20587 maybe-configure-stage2-ld:
20588 @if ld-bootstrap
20589 maybe-configure-stage2-ld: configure-stage2-ld
20590 configure-stage2-ld:
20591 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20592 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20593 @r=`${PWD_COMMAND}`; export r; \
20594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20595 TFLAGS="$(STAGE2_TFLAGS)"; \
20596 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20597 $(HOST_EXPORTS) \
20598 $(POSTSTAGE1_HOST_EXPORTS) \
20599 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20600 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20601 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20602 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
20603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20604 cd $(HOST_SUBDIR)/ld || exit 1; \
20605 case $(srcdir) in \
20606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20607 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20609 esac; \
20610 module_srcdir=ld; \
20611 $(SHELL) $$s/$$module_srcdir/configure \
20612 --srcdir=$${topdir}/$$module_srcdir \
20613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20614 --target=${target_alias} \
20615 --with-build-libsubdir=$(HOST_SUBDIR) \
20616 $(STAGE2_CONFIGURE_FLAGS)
20617 @endif ld-bootstrap
20619 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
20620 maybe-configure-stage3-ld:
20621 @if ld-bootstrap
20622 maybe-configure-stage3-ld: configure-stage3-ld
20623 configure-stage3-ld:
20624 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20625 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20626 @r=`${PWD_COMMAND}`; export r; \
20627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20628 TFLAGS="$(STAGE3_TFLAGS)"; \
20629 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20630 $(HOST_EXPORTS) \
20631 $(POSTSTAGE1_HOST_EXPORTS) \
20632 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20633 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20634 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20635 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
20636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20637 cd $(HOST_SUBDIR)/ld || exit 1; \
20638 case $(srcdir) in \
20639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20640 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20642 esac; \
20643 module_srcdir=ld; \
20644 $(SHELL) $$s/$$module_srcdir/configure \
20645 --srcdir=$${topdir}/$$module_srcdir \
20646 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20647 --target=${target_alias} \
20648 --with-build-libsubdir=$(HOST_SUBDIR) \
20649 $(STAGE3_CONFIGURE_FLAGS)
20650 @endif ld-bootstrap
20652 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
20653 maybe-configure-stage4-ld:
20654 @if ld-bootstrap
20655 maybe-configure-stage4-ld: configure-stage4-ld
20656 configure-stage4-ld:
20657 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20659 @r=`${PWD_COMMAND}`; export r; \
20660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20661 TFLAGS="$(STAGE4_TFLAGS)"; \
20662 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20663 $(HOST_EXPORTS) \
20664 $(POSTSTAGE1_HOST_EXPORTS) \
20665 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20666 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20667 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20668 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
20669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20670 cd $(HOST_SUBDIR)/ld || exit 1; \
20671 case $(srcdir) in \
20672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20673 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20675 esac; \
20676 module_srcdir=ld; \
20677 $(SHELL) $$s/$$module_srcdir/configure \
20678 --srcdir=$${topdir}/$$module_srcdir \
20679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20680 --target=${target_alias} \
20681 --with-build-libsubdir=$(HOST_SUBDIR) \
20682 $(STAGE4_CONFIGURE_FLAGS)
20683 @endif ld-bootstrap
20685 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
20686 maybe-configure-stageprofile-ld:
20687 @if ld-bootstrap
20688 maybe-configure-stageprofile-ld: configure-stageprofile-ld
20689 configure-stageprofile-ld:
20690 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20691 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20692 @r=`${PWD_COMMAND}`; export r; \
20693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20694 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20695 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20696 $(HOST_EXPORTS) \
20697 $(POSTSTAGE1_HOST_EXPORTS) \
20698 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20699 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20700 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20701 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
20702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20703 cd $(HOST_SUBDIR)/ld || exit 1; \
20704 case $(srcdir) in \
20705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20706 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20708 esac; \
20709 module_srcdir=ld; \
20710 $(SHELL) $$s/$$module_srcdir/configure \
20711 --srcdir=$${topdir}/$$module_srcdir \
20712 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20713 --target=${target_alias} \
20714 --with-build-libsubdir=$(HOST_SUBDIR) \
20715 $(STAGEprofile_CONFIGURE_FLAGS)
20716 @endif ld-bootstrap
20718 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
20719 maybe-configure-stagefeedback-ld:
20720 @if ld-bootstrap
20721 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
20722 configure-stagefeedback-ld:
20723 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20724 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20725 @r=`${PWD_COMMAND}`; export r; \
20726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20727 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20728 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20729 $(HOST_EXPORTS) \
20730 $(POSTSTAGE1_HOST_EXPORTS) \
20731 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20732 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20733 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20734 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
20735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20736 cd $(HOST_SUBDIR)/ld || exit 1; \
20737 case $(srcdir) in \
20738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20739 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20741 esac; \
20742 module_srcdir=ld; \
20743 $(SHELL) $$s/$$module_srcdir/configure \
20744 --srcdir=$${topdir}/$$module_srcdir \
20745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20746 --target=${target_alias} \
20747 --with-build-libsubdir=$(HOST_SUBDIR) \
20748 $(STAGEfeedback_CONFIGURE_FLAGS)
20749 @endif ld-bootstrap
20751 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
20752 maybe-configure-stageautoprofile-ld:
20753 @if ld-bootstrap
20754 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
20755 configure-stageautoprofile-ld:
20756 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20758 @r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20761 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20762 $(HOST_EXPORTS) \
20763 $(POSTSTAGE1_HOST_EXPORTS) \
20764 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
20765 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
20766 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
20767 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
20768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20769 cd $(HOST_SUBDIR)/ld || exit 1; \
20770 case $(srcdir) in \
20771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20772 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20774 esac; \
20775 module_srcdir=ld; \
20776 $(SHELL) $$s/$$module_srcdir/configure \
20777 --srcdir=$${topdir}/$$module_srcdir \
20778 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20779 --target=${target_alias} \
20780 --with-build-libsubdir=$(HOST_SUBDIR) \
20781 $(STAGEautoprofile_CONFIGURE_FLAGS)
20782 @endif ld-bootstrap
20784 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
20785 maybe-configure-stageautofeedback-ld:
20786 @if ld-bootstrap
20787 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
20788 configure-stageautofeedback-ld:
20789 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20790 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20791 @r=`${PWD_COMMAND}`; export r; \
20792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20793 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20794 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20795 $(HOST_EXPORTS) \
20796 $(POSTSTAGE1_HOST_EXPORTS) \
20797 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
20798 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
20799 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
20800 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
20801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
20802 cd $(HOST_SUBDIR)/ld || exit 1; \
20803 case $(srcdir) in \
20804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20805 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20807 esac; \
20808 module_srcdir=ld; \
20809 $(SHELL) $$s/$$module_srcdir/configure \
20810 --srcdir=$${topdir}/$$module_srcdir \
20811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20812 --target=${target_alias} \
20813 --with-build-libsubdir=$(HOST_SUBDIR) \
20814 $(STAGEautofeedback_CONFIGURE_FLAGS)
20815 @endif ld-bootstrap
20821 .PHONY: all-ld maybe-all-ld
20822 maybe-all-ld:
20823 @if gcc-bootstrap
20824 all-ld: stage_current
20825 @endif gcc-bootstrap
20826 @if ld
20827 TARGET-ld=all
20828 maybe-all-ld: all-ld
20829 all-ld: configure-ld
20830 @r=`${PWD_COMMAND}`; export r; \
20831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20832 $(HOST_EXPORTS) \
20833 (cd $(HOST_SUBDIR)/ld && \
20834 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20835 $(TARGET-ld))
20836 @endif ld
20840 .PHONY: all-stage1-ld maybe-all-stage1-ld
20841 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
20842 maybe-all-stage1-ld:
20843 maybe-clean-stage1-ld:
20844 @if ld-bootstrap
20845 maybe-all-stage1-ld: all-stage1-ld
20846 all-stage1: all-stage1-ld
20847 TARGET-stage1-ld = $(TARGET-ld)
20848 all-stage1-ld: configure-stage1-ld
20849 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20850 @r=`${PWD_COMMAND}`; export r; \
20851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20852 TFLAGS="$(STAGE1_TFLAGS)"; \
20853 $(HOST_EXPORTS) \
20854 cd $(HOST_SUBDIR)/ld && \
20856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20857 CFLAGS="$(STAGE1_CFLAGS)" \
20858 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20859 LIBCFLAGS="$(LIBCFLAGS)" \
20860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20863 $(EXTRA_HOST_FLAGS) \
20864 $(STAGE1_FLAGS_TO_PASS) \
20865 TFLAGS="$(STAGE1_TFLAGS)" \
20866 $(TARGET-stage1-ld)
20868 maybe-clean-stage1-ld: clean-stage1-ld
20869 clean-stage1: clean-stage1-ld
20870 clean-stage1-ld:
20871 @if [ $(current_stage) = stage1 ]; then \
20872 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20873 else \
20874 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
20875 $(MAKE) stage1-start; \
20876 fi; \
20877 cd $(HOST_SUBDIR)/ld && \
20878 $(MAKE) $(EXTRA_HOST_FLAGS) \
20879 $(STAGE1_FLAGS_TO_PASS) clean
20880 @endif ld-bootstrap
20883 .PHONY: all-stage2-ld maybe-all-stage2-ld
20884 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
20885 maybe-all-stage2-ld:
20886 maybe-clean-stage2-ld:
20887 @if ld-bootstrap
20888 maybe-all-stage2-ld: all-stage2-ld
20889 all-stage2: all-stage2-ld
20890 TARGET-stage2-ld = $(TARGET-ld)
20891 all-stage2-ld: configure-stage2-ld
20892 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20893 @r=`${PWD_COMMAND}`; export r; \
20894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20895 TFLAGS="$(STAGE2_TFLAGS)"; \
20896 $(HOST_EXPORTS) \
20897 $(POSTSTAGE1_HOST_EXPORTS) \
20898 cd $(HOST_SUBDIR)/ld && \
20900 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20901 CFLAGS="$(STAGE2_CFLAGS)" \
20902 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20903 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20904 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20905 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20906 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20907 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20908 TFLAGS="$(STAGE2_TFLAGS)" \
20909 $(TARGET-stage2-ld)
20911 maybe-clean-stage2-ld: clean-stage2-ld
20912 clean-stage2: clean-stage2-ld
20913 clean-stage2-ld:
20914 @if [ $(current_stage) = stage2 ]; then \
20915 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20916 else \
20917 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
20918 $(MAKE) stage2-start; \
20919 fi; \
20920 cd $(HOST_SUBDIR)/ld && \
20921 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20922 @endif ld-bootstrap
20925 .PHONY: all-stage3-ld maybe-all-stage3-ld
20926 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
20927 maybe-all-stage3-ld:
20928 maybe-clean-stage3-ld:
20929 @if ld-bootstrap
20930 maybe-all-stage3-ld: all-stage3-ld
20931 all-stage3: all-stage3-ld
20932 TARGET-stage3-ld = $(TARGET-ld)
20933 all-stage3-ld: configure-stage3-ld
20934 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20935 @r=`${PWD_COMMAND}`; export r; \
20936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20937 TFLAGS="$(STAGE3_TFLAGS)"; \
20938 $(HOST_EXPORTS) \
20939 $(POSTSTAGE1_HOST_EXPORTS) \
20940 cd $(HOST_SUBDIR)/ld && \
20942 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20943 CFLAGS="$(STAGE3_CFLAGS)" \
20944 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20945 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20946 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20947 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20948 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20949 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20950 TFLAGS="$(STAGE3_TFLAGS)" \
20951 $(TARGET-stage3-ld)
20953 maybe-clean-stage3-ld: clean-stage3-ld
20954 clean-stage3: clean-stage3-ld
20955 clean-stage3-ld:
20956 @if [ $(current_stage) = stage3 ]; then \
20957 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20958 else \
20959 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
20960 $(MAKE) stage3-start; \
20961 fi; \
20962 cd $(HOST_SUBDIR)/ld && \
20963 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20964 @endif ld-bootstrap
20967 .PHONY: all-stage4-ld maybe-all-stage4-ld
20968 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
20969 maybe-all-stage4-ld:
20970 maybe-clean-stage4-ld:
20971 @if ld-bootstrap
20972 maybe-all-stage4-ld: all-stage4-ld
20973 all-stage4: all-stage4-ld
20974 TARGET-stage4-ld = $(TARGET-ld)
20975 all-stage4-ld: configure-stage4-ld
20976 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20977 @r=`${PWD_COMMAND}`; export r; \
20978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20979 TFLAGS="$(STAGE4_TFLAGS)"; \
20980 $(HOST_EXPORTS) \
20981 $(POSTSTAGE1_HOST_EXPORTS) \
20982 cd $(HOST_SUBDIR)/ld && \
20984 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20985 CFLAGS="$(STAGE4_CFLAGS)" \
20986 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20987 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20991 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20992 TFLAGS="$(STAGE4_TFLAGS)" \
20993 $(TARGET-stage4-ld)
20995 maybe-clean-stage4-ld: clean-stage4-ld
20996 clean-stage4: clean-stage4-ld
20997 clean-stage4-ld:
20998 @if [ $(current_stage) = stage4 ]; then \
20999 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21000 else \
21001 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
21002 $(MAKE) stage4-start; \
21003 fi; \
21004 cd $(HOST_SUBDIR)/ld && \
21005 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21006 @endif ld-bootstrap
21009 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
21010 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
21011 maybe-all-stageprofile-ld:
21012 maybe-clean-stageprofile-ld:
21013 @if ld-bootstrap
21014 maybe-all-stageprofile-ld: all-stageprofile-ld
21015 all-stageprofile: all-stageprofile-ld
21016 TARGET-stageprofile-ld = $(TARGET-ld)
21017 all-stageprofile-ld: configure-stageprofile-ld
21018 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21019 @r=`${PWD_COMMAND}`; export r; \
21020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21022 $(HOST_EXPORTS) \
21023 $(POSTSTAGE1_HOST_EXPORTS) \
21024 cd $(HOST_SUBDIR)/ld && \
21026 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21027 CFLAGS="$(STAGEprofile_CFLAGS)" \
21028 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21029 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21033 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21034 TFLAGS="$(STAGEprofile_TFLAGS)" \
21035 $(TARGET-stageprofile-ld)
21037 maybe-clean-stageprofile-ld: clean-stageprofile-ld
21038 clean-stageprofile: clean-stageprofile-ld
21039 clean-stageprofile-ld:
21040 @if [ $(current_stage) = stageprofile ]; then \
21041 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21042 else \
21043 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
21044 $(MAKE) stageprofile-start; \
21045 fi; \
21046 cd $(HOST_SUBDIR)/ld && \
21047 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21048 @endif ld-bootstrap
21051 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
21052 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
21053 maybe-all-stagefeedback-ld:
21054 maybe-clean-stagefeedback-ld:
21055 @if ld-bootstrap
21056 maybe-all-stagefeedback-ld: all-stagefeedback-ld
21057 all-stagefeedback: all-stagefeedback-ld
21058 TARGET-stagefeedback-ld = $(TARGET-ld)
21059 all-stagefeedback-ld: configure-stagefeedback-ld
21060 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21061 @r=`${PWD_COMMAND}`; export r; \
21062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21063 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21064 $(HOST_EXPORTS) \
21065 $(POSTSTAGE1_HOST_EXPORTS) \
21066 cd $(HOST_SUBDIR)/ld && \
21068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21069 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21070 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21071 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21075 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21076 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21077 $(TARGET-stagefeedback-ld)
21079 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
21080 clean-stagefeedback: clean-stagefeedback-ld
21081 clean-stagefeedback-ld:
21082 @if [ $(current_stage) = stagefeedback ]; then \
21083 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21084 else \
21085 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
21086 $(MAKE) stagefeedback-start; \
21087 fi; \
21088 cd $(HOST_SUBDIR)/ld && \
21089 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21090 @endif ld-bootstrap
21093 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
21094 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
21095 maybe-all-stageautoprofile-ld:
21096 maybe-clean-stageautoprofile-ld:
21097 @if ld-bootstrap
21098 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
21099 all-stageautoprofile: all-stageautoprofile-ld
21100 TARGET-stageautoprofile-ld = $(TARGET-ld)
21101 all-stageautoprofile-ld: configure-stageautoprofile-ld
21102 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21103 @r=`${PWD_COMMAND}`; export r; \
21104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21105 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21106 $(HOST_EXPORTS) \
21107 $(POSTSTAGE1_HOST_EXPORTS) \
21108 cd $(HOST_SUBDIR)/ld && \
21109 $$s/gcc/config/i386/$(AUTO_PROFILE) \
21110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21111 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
21112 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
21113 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
21114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21117 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21118 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
21119 $(TARGET-stageautoprofile-ld)
21121 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
21122 clean-stageautoprofile: clean-stageautoprofile-ld
21123 clean-stageautoprofile-ld:
21124 @if [ $(current_stage) = stageautoprofile ]; then \
21125 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21126 else \
21127 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
21128 $(MAKE) stageautoprofile-start; \
21129 fi; \
21130 cd $(HOST_SUBDIR)/ld && \
21131 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21132 @endif ld-bootstrap
21135 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
21136 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
21137 maybe-all-stageautofeedback-ld:
21138 maybe-clean-stageautofeedback-ld:
21139 @if ld-bootstrap
21140 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
21141 all-stageautofeedback: all-stageautofeedback-ld
21142 TARGET-stageautofeedback-ld = $(TARGET-ld)
21143 all-stageautofeedback-ld: configure-stageautofeedback-ld
21144 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21145 @r=`${PWD_COMMAND}`; export r; \
21146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21147 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21148 $(HOST_EXPORTS) \
21149 $(POSTSTAGE1_HOST_EXPORTS) \
21150 cd $(HOST_SUBDIR)/ld && \
21152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21153 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
21154 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
21155 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
21156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21160 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
21161 $(TARGET-stageautofeedback-ld)
21163 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
21164 clean-stageautofeedback: clean-stageautofeedback-ld
21165 clean-stageautofeedback-ld:
21166 @if [ $(current_stage) = stageautofeedback ]; then \
21167 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21168 else \
21169 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
21170 $(MAKE) stageautofeedback-start; \
21171 fi; \
21172 cd $(HOST_SUBDIR)/ld && \
21173 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21174 @endif ld-bootstrap
21180 .PHONY: check-ld maybe-check-ld
21181 maybe-check-ld:
21182 @if ld
21183 maybe-check-ld: check-ld
21185 check-ld:
21186 @: $(MAKE); $(unstage)
21187 @r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
21190 (cd $(HOST_SUBDIR)/ld && \
21191 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
21193 @endif ld
21195 .PHONY: install-ld maybe-install-ld
21196 maybe-install-ld:
21197 @if ld
21198 maybe-install-ld: install-ld
21200 install-ld: installdirs
21201 @: $(MAKE); $(unstage)
21202 @r=`${PWD_COMMAND}`; export r; \
21203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21204 $(HOST_EXPORTS) \
21205 (cd $(HOST_SUBDIR)/ld && \
21206 $(MAKE) $(FLAGS_TO_PASS) install)
21208 @endif ld
21210 .PHONY: install-strip-ld maybe-install-strip-ld
21211 maybe-install-strip-ld:
21212 @if ld
21213 maybe-install-strip-ld: install-strip-ld
21215 install-strip-ld: installdirs
21216 @: $(MAKE); $(unstage)
21217 @r=`${PWD_COMMAND}`; export r; \
21218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21219 $(HOST_EXPORTS) \
21220 (cd $(HOST_SUBDIR)/ld && \
21221 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21223 @endif ld
21225 # Other targets (info, dvi, pdf, etc.)
21227 .PHONY: maybe-info-ld info-ld
21228 maybe-info-ld:
21229 @if ld
21230 maybe-info-ld: info-ld
21232 info-ld: \
21233 configure-ld
21234 @[ -f ./ld/Makefile ] || exit 0; \
21235 r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21237 $(HOST_EXPORTS) \
21238 for flag in $(EXTRA_HOST_FLAGS) ; do \
21239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21240 done; \
21241 echo "Doing info in ld"; \
21242 (cd $(HOST_SUBDIR)/ld && \
21243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21245 "RANLIB=$${RANLIB}" \
21246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21247 info) \
21248 || exit 1
21250 @endif ld
21252 .PHONY: maybe-dvi-ld dvi-ld
21253 maybe-dvi-ld:
21254 @if ld
21255 maybe-dvi-ld: dvi-ld
21257 dvi-ld: \
21258 configure-ld
21259 @[ -f ./ld/Makefile ] || exit 0; \
21260 r=`${PWD_COMMAND}`; export r; \
21261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21262 $(HOST_EXPORTS) \
21263 for flag in $(EXTRA_HOST_FLAGS) ; do \
21264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21265 done; \
21266 echo "Doing dvi in ld"; \
21267 (cd $(HOST_SUBDIR)/ld && \
21268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21270 "RANLIB=$${RANLIB}" \
21271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21272 dvi) \
21273 || exit 1
21275 @endif ld
21277 .PHONY: maybe-pdf-ld pdf-ld
21278 maybe-pdf-ld:
21279 @if ld
21280 maybe-pdf-ld: pdf-ld
21282 pdf-ld: \
21283 configure-ld
21284 @[ -f ./ld/Makefile ] || exit 0; \
21285 r=`${PWD_COMMAND}`; export r; \
21286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21287 $(HOST_EXPORTS) \
21288 for flag in $(EXTRA_HOST_FLAGS) ; do \
21289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21290 done; \
21291 echo "Doing pdf in ld"; \
21292 (cd $(HOST_SUBDIR)/ld && \
21293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21295 "RANLIB=$${RANLIB}" \
21296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21297 pdf) \
21298 || exit 1
21300 @endif ld
21302 .PHONY: maybe-html-ld html-ld
21303 maybe-html-ld:
21304 @if ld
21305 maybe-html-ld: html-ld
21307 html-ld: \
21308 configure-ld
21309 @[ -f ./ld/Makefile ] || exit 0; \
21310 r=`${PWD_COMMAND}`; export r; \
21311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21312 $(HOST_EXPORTS) \
21313 for flag in $(EXTRA_HOST_FLAGS) ; do \
21314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21315 done; \
21316 echo "Doing html in ld"; \
21317 (cd $(HOST_SUBDIR)/ld && \
21318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21320 "RANLIB=$${RANLIB}" \
21321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21322 html) \
21323 || exit 1
21325 @endif ld
21327 .PHONY: maybe-TAGS-ld TAGS-ld
21328 maybe-TAGS-ld:
21329 @if ld
21330 maybe-TAGS-ld: TAGS-ld
21332 TAGS-ld: \
21333 configure-ld
21334 @[ -f ./ld/Makefile ] || exit 0; \
21335 r=`${PWD_COMMAND}`; export r; \
21336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21337 $(HOST_EXPORTS) \
21338 for flag in $(EXTRA_HOST_FLAGS) ; do \
21339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21340 done; \
21341 echo "Doing TAGS in ld"; \
21342 (cd $(HOST_SUBDIR)/ld && \
21343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21345 "RANLIB=$${RANLIB}" \
21346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21347 TAGS) \
21348 || exit 1
21350 @endif ld
21352 .PHONY: maybe-install-info-ld install-info-ld
21353 maybe-install-info-ld:
21354 @if ld
21355 maybe-install-info-ld: install-info-ld
21357 install-info-ld: \
21358 configure-ld \
21359 info-ld
21360 @[ -f ./ld/Makefile ] || exit 0; \
21361 r=`${PWD_COMMAND}`; export r; \
21362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21363 $(HOST_EXPORTS) \
21364 for flag in $(EXTRA_HOST_FLAGS) ; do \
21365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21366 done; \
21367 echo "Doing install-info in ld"; \
21368 (cd $(HOST_SUBDIR)/ld && \
21369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21371 "RANLIB=$${RANLIB}" \
21372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21373 install-info) \
21374 || exit 1
21376 @endif ld
21378 .PHONY: maybe-install-pdf-ld install-pdf-ld
21379 maybe-install-pdf-ld:
21380 @if ld
21381 maybe-install-pdf-ld: install-pdf-ld
21383 install-pdf-ld: \
21384 configure-ld \
21385 pdf-ld
21386 @[ -f ./ld/Makefile ] || exit 0; \
21387 r=`${PWD_COMMAND}`; export r; \
21388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21389 $(HOST_EXPORTS) \
21390 for flag in $(EXTRA_HOST_FLAGS) ; do \
21391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21392 done; \
21393 echo "Doing install-pdf in ld"; \
21394 (cd $(HOST_SUBDIR)/ld && \
21395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21397 "RANLIB=$${RANLIB}" \
21398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21399 install-pdf) \
21400 || exit 1
21402 @endif ld
21404 .PHONY: maybe-install-html-ld install-html-ld
21405 maybe-install-html-ld:
21406 @if ld
21407 maybe-install-html-ld: install-html-ld
21409 install-html-ld: \
21410 configure-ld \
21411 html-ld
21412 @[ -f ./ld/Makefile ] || exit 0; \
21413 r=`${PWD_COMMAND}`; export r; \
21414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21415 $(HOST_EXPORTS) \
21416 for flag in $(EXTRA_HOST_FLAGS) ; do \
21417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21418 done; \
21419 echo "Doing install-html in ld"; \
21420 (cd $(HOST_SUBDIR)/ld && \
21421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21423 "RANLIB=$${RANLIB}" \
21424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21425 install-html) \
21426 || exit 1
21428 @endif ld
21430 .PHONY: maybe-installcheck-ld installcheck-ld
21431 maybe-installcheck-ld:
21432 @if ld
21433 maybe-installcheck-ld: installcheck-ld
21435 installcheck-ld: \
21436 configure-ld
21437 @[ -f ./ld/Makefile ] || exit 0; \
21438 r=`${PWD_COMMAND}`; export r; \
21439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21440 $(HOST_EXPORTS) \
21441 for flag in $(EXTRA_HOST_FLAGS) ; do \
21442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21443 done; \
21444 echo "Doing installcheck in ld"; \
21445 (cd $(HOST_SUBDIR)/ld && \
21446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21448 "RANLIB=$${RANLIB}" \
21449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21450 installcheck) \
21451 || exit 1
21453 @endif ld
21455 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
21456 maybe-mostlyclean-ld:
21457 @if ld
21458 maybe-mostlyclean-ld: mostlyclean-ld
21460 mostlyclean-ld:
21461 @[ -f ./ld/Makefile ] || exit 0; \
21462 r=`${PWD_COMMAND}`; export r; \
21463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21464 $(HOST_EXPORTS) \
21465 for flag in $(EXTRA_HOST_FLAGS) ; do \
21466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21467 done; \
21468 echo "Doing mostlyclean in ld"; \
21469 (cd $(HOST_SUBDIR)/ld && \
21470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21472 "RANLIB=$${RANLIB}" \
21473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21474 mostlyclean) \
21475 || exit 1
21477 @endif ld
21479 .PHONY: maybe-clean-ld clean-ld
21480 maybe-clean-ld:
21481 @if ld
21482 maybe-clean-ld: clean-ld
21484 clean-ld:
21485 @[ -f ./ld/Makefile ] || exit 0; \
21486 r=`${PWD_COMMAND}`; export r; \
21487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21488 $(HOST_EXPORTS) \
21489 for flag in $(EXTRA_HOST_FLAGS) ; do \
21490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21491 done; \
21492 echo "Doing clean in ld"; \
21493 (cd $(HOST_SUBDIR)/ld && \
21494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21496 "RANLIB=$${RANLIB}" \
21497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21498 clean) \
21499 || exit 1
21501 @endif ld
21503 .PHONY: maybe-distclean-ld distclean-ld
21504 maybe-distclean-ld:
21505 @if ld
21506 maybe-distclean-ld: distclean-ld
21508 distclean-ld:
21509 @[ -f ./ld/Makefile ] || exit 0; \
21510 r=`${PWD_COMMAND}`; export r; \
21511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21512 $(HOST_EXPORTS) \
21513 for flag in $(EXTRA_HOST_FLAGS) ; do \
21514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21515 done; \
21516 echo "Doing distclean in ld"; \
21517 (cd $(HOST_SUBDIR)/ld && \
21518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21520 "RANLIB=$${RANLIB}" \
21521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21522 distclean) \
21523 || exit 1
21525 @endif ld
21527 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
21528 maybe-maintainer-clean-ld:
21529 @if ld
21530 maybe-maintainer-clean-ld: maintainer-clean-ld
21532 maintainer-clean-ld:
21533 @[ -f ./ld/Makefile ] || exit 0; \
21534 r=`${PWD_COMMAND}`; export r; \
21535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21536 $(HOST_EXPORTS) \
21537 for flag in $(EXTRA_HOST_FLAGS) ; do \
21538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21539 done; \
21540 echo "Doing maintainer-clean in ld"; \
21541 (cd $(HOST_SUBDIR)/ld && \
21542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21544 "RANLIB=$${RANLIB}" \
21545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21546 maintainer-clean) \
21547 || exit 1
21549 @endif ld
21553 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
21554 maybe-configure-libbacktrace:
21555 @if gcc-bootstrap
21556 configure-libbacktrace: stage_current
21557 @endif gcc-bootstrap
21558 @if libbacktrace
21559 maybe-configure-libbacktrace: configure-libbacktrace
21560 configure-libbacktrace:
21561 @r=`${PWD_COMMAND}`; export r; \
21562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21563 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21565 $(HOST_EXPORTS) \
21566 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
21567 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
21568 case $(srcdir) in \
21569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21570 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21572 esac; \
21573 module_srcdir=libbacktrace; \
21574 $(SHELL) \
21575 $$s/$$module_srcdir/configure \
21576 --srcdir=$${topdir}/$$module_srcdir \
21577 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21578 --target=${target_alias} \
21579 || exit 1
21580 @endif libbacktrace
21584 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
21585 maybe-configure-stage1-libbacktrace:
21586 @if libbacktrace-bootstrap
21587 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
21588 configure-stage1-libbacktrace:
21589 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21591 @r=`${PWD_COMMAND}`; export r; \
21592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21593 TFLAGS="$(STAGE1_TFLAGS)"; \
21594 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21595 $(HOST_EXPORTS) \
21596 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21597 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21598 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21599 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
21600 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21601 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21602 case $(srcdir) in \
21603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21604 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21606 esac; \
21607 module_srcdir=libbacktrace; \
21608 $(SHELL) $$s/$$module_srcdir/configure \
21609 --srcdir=$${topdir}/$$module_srcdir \
21610 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21611 --target=${target_alias} \
21613 $(STAGE1_CONFIGURE_FLAGS)
21614 @endif libbacktrace-bootstrap
21616 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
21617 maybe-configure-stage2-libbacktrace:
21618 @if libbacktrace-bootstrap
21619 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
21620 configure-stage2-libbacktrace:
21621 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21622 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21623 @r=`${PWD_COMMAND}`; export r; \
21624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21625 TFLAGS="$(STAGE2_TFLAGS)"; \
21626 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21627 $(HOST_EXPORTS) \
21628 $(POSTSTAGE1_HOST_EXPORTS) \
21629 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21630 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21631 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21632 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
21633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21634 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21635 case $(srcdir) in \
21636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21637 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21639 esac; \
21640 module_srcdir=libbacktrace; \
21641 $(SHELL) $$s/$$module_srcdir/configure \
21642 --srcdir=$${topdir}/$$module_srcdir \
21643 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21644 --target=${target_alias} \
21645 --with-build-libsubdir=$(HOST_SUBDIR) \
21646 $(STAGE2_CONFIGURE_FLAGS)
21647 @endif libbacktrace-bootstrap
21649 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
21650 maybe-configure-stage3-libbacktrace:
21651 @if libbacktrace-bootstrap
21652 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
21653 configure-stage3-libbacktrace:
21654 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21656 @r=`${PWD_COMMAND}`; export r; \
21657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21658 TFLAGS="$(STAGE3_TFLAGS)"; \
21659 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21660 $(HOST_EXPORTS) \
21661 $(POSTSTAGE1_HOST_EXPORTS) \
21662 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21663 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21664 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21665 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
21666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21667 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21668 case $(srcdir) in \
21669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21670 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21672 esac; \
21673 module_srcdir=libbacktrace; \
21674 $(SHELL) $$s/$$module_srcdir/configure \
21675 --srcdir=$${topdir}/$$module_srcdir \
21676 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21677 --target=${target_alias} \
21678 --with-build-libsubdir=$(HOST_SUBDIR) \
21679 $(STAGE3_CONFIGURE_FLAGS)
21680 @endif libbacktrace-bootstrap
21682 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
21683 maybe-configure-stage4-libbacktrace:
21684 @if libbacktrace-bootstrap
21685 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
21686 configure-stage4-libbacktrace:
21687 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21688 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21689 @r=`${PWD_COMMAND}`; export r; \
21690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21691 TFLAGS="$(STAGE4_TFLAGS)"; \
21692 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21693 $(HOST_EXPORTS) \
21694 $(POSTSTAGE1_HOST_EXPORTS) \
21695 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21696 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21697 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21698 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
21699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21700 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21701 case $(srcdir) in \
21702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21703 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21705 esac; \
21706 module_srcdir=libbacktrace; \
21707 $(SHELL) $$s/$$module_srcdir/configure \
21708 --srcdir=$${topdir}/$$module_srcdir \
21709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21710 --target=${target_alias} \
21711 --with-build-libsubdir=$(HOST_SUBDIR) \
21712 $(STAGE4_CONFIGURE_FLAGS)
21713 @endif libbacktrace-bootstrap
21715 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
21716 maybe-configure-stageprofile-libbacktrace:
21717 @if libbacktrace-bootstrap
21718 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
21719 configure-stageprofile-libbacktrace:
21720 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21721 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21722 @r=`${PWD_COMMAND}`; export r; \
21723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21724 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21725 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21726 $(HOST_EXPORTS) \
21727 $(POSTSTAGE1_HOST_EXPORTS) \
21728 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21729 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21730 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21731 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
21732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21733 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21734 case $(srcdir) in \
21735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21736 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21738 esac; \
21739 module_srcdir=libbacktrace; \
21740 $(SHELL) $$s/$$module_srcdir/configure \
21741 --srcdir=$${topdir}/$$module_srcdir \
21742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21743 --target=${target_alias} \
21744 --with-build-libsubdir=$(HOST_SUBDIR) \
21745 $(STAGEprofile_CONFIGURE_FLAGS)
21746 @endif libbacktrace-bootstrap
21748 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
21749 maybe-configure-stagefeedback-libbacktrace:
21750 @if libbacktrace-bootstrap
21751 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
21752 configure-stagefeedback-libbacktrace:
21753 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21755 @r=`${PWD_COMMAND}`; export r; \
21756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21757 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21758 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21759 $(HOST_EXPORTS) \
21760 $(POSTSTAGE1_HOST_EXPORTS) \
21761 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21762 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21763 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21764 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
21765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21766 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21767 case $(srcdir) in \
21768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21769 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21771 esac; \
21772 module_srcdir=libbacktrace; \
21773 $(SHELL) $$s/$$module_srcdir/configure \
21774 --srcdir=$${topdir}/$$module_srcdir \
21775 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21776 --target=${target_alias} \
21777 --with-build-libsubdir=$(HOST_SUBDIR) \
21778 $(STAGEfeedback_CONFIGURE_FLAGS)
21779 @endif libbacktrace-bootstrap
21781 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
21782 maybe-configure-stageautoprofile-libbacktrace:
21783 @if libbacktrace-bootstrap
21784 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
21785 configure-stageautoprofile-libbacktrace:
21786 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21787 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21788 @r=`${PWD_COMMAND}`; export r; \
21789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21790 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21791 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21792 $(HOST_EXPORTS) \
21793 $(POSTSTAGE1_HOST_EXPORTS) \
21794 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21795 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21796 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21797 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
21798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21799 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21800 case $(srcdir) in \
21801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21802 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21804 esac; \
21805 module_srcdir=libbacktrace; \
21806 $(SHELL) $$s/$$module_srcdir/configure \
21807 --srcdir=$${topdir}/$$module_srcdir \
21808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21809 --target=${target_alias} \
21810 --with-build-libsubdir=$(HOST_SUBDIR) \
21811 $(STAGEautoprofile_CONFIGURE_FLAGS)
21812 @endif libbacktrace-bootstrap
21814 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
21815 maybe-configure-stageautofeedback-libbacktrace:
21816 @if libbacktrace-bootstrap
21817 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
21818 configure-stageautofeedback-libbacktrace:
21819 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
21821 @r=`${PWD_COMMAND}`; export r; \
21822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21823 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21824 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
21825 $(HOST_EXPORTS) \
21826 $(POSTSTAGE1_HOST_EXPORTS) \
21827 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21828 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21829 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21830 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
21831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
21832 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
21833 case $(srcdir) in \
21834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21835 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
21836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21837 esac; \
21838 module_srcdir=libbacktrace; \
21839 $(SHELL) $$s/$$module_srcdir/configure \
21840 --srcdir=$${topdir}/$$module_srcdir \
21841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21842 --target=${target_alias} \
21843 --with-build-libsubdir=$(HOST_SUBDIR) \
21844 $(STAGEautofeedback_CONFIGURE_FLAGS)
21845 @endif libbacktrace-bootstrap
21851 .PHONY: all-libbacktrace maybe-all-libbacktrace
21852 maybe-all-libbacktrace:
21853 @if gcc-bootstrap
21854 all-libbacktrace: stage_current
21855 @endif gcc-bootstrap
21856 @if libbacktrace
21857 TARGET-libbacktrace=all
21858 maybe-all-libbacktrace: all-libbacktrace
21859 all-libbacktrace: configure-libbacktrace
21860 @r=`${PWD_COMMAND}`; export r; \
21861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 $(HOST_EXPORTS) \
21863 (cd $(HOST_SUBDIR)/libbacktrace && \
21864 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21865 $(TARGET-libbacktrace))
21866 @endif libbacktrace
21870 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
21871 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
21872 maybe-all-stage1-libbacktrace:
21873 maybe-clean-stage1-libbacktrace:
21874 @if libbacktrace-bootstrap
21875 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
21876 all-stage1: all-stage1-libbacktrace
21877 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
21878 all-stage1-libbacktrace: configure-stage1-libbacktrace
21879 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21880 @r=`${PWD_COMMAND}`; export r; \
21881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21882 TFLAGS="$(STAGE1_TFLAGS)"; \
21883 $(HOST_EXPORTS) \
21884 cd $(HOST_SUBDIR)/libbacktrace && \
21886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21887 CFLAGS="$(STAGE1_CFLAGS)" \
21888 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21889 LIBCFLAGS="$(LIBCFLAGS)" \
21890 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21891 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21892 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21893 $(EXTRA_HOST_FLAGS) \
21894 $(STAGE1_FLAGS_TO_PASS) \
21895 TFLAGS="$(STAGE1_TFLAGS)" \
21896 $(TARGET-stage1-libbacktrace)
21898 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
21899 clean-stage1: clean-stage1-libbacktrace
21900 clean-stage1-libbacktrace:
21901 @if [ $(current_stage) = stage1 ]; then \
21902 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
21903 else \
21904 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
21905 $(MAKE) stage1-start; \
21906 fi; \
21907 cd $(HOST_SUBDIR)/libbacktrace && \
21908 $(MAKE) $(EXTRA_HOST_FLAGS) \
21909 $(STAGE1_FLAGS_TO_PASS) clean
21910 @endif libbacktrace-bootstrap
21913 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
21914 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
21915 maybe-all-stage2-libbacktrace:
21916 maybe-clean-stage2-libbacktrace:
21917 @if libbacktrace-bootstrap
21918 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
21919 all-stage2: all-stage2-libbacktrace
21920 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
21921 all-stage2-libbacktrace: configure-stage2-libbacktrace
21922 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21923 @r=`${PWD_COMMAND}`; export r; \
21924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21925 TFLAGS="$(STAGE2_TFLAGS)"; \
21926 $(HOST_EXPORTS) \
21927 $(POSTSTAGE1_HOST_EXPORTS) \
21928 cd $(HOST_SUBDIR)/libbacktrace && \
21930 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21931 CFLAGS="$(STAGE2_CFLAGS)" \
21932 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21933 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21937 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21938 TFLAGS="$(STAGE2_TFLAGS)" \
21939 $(TARGET-stage2-libbacktrace)
21941 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
21942 clean-stage2: clean-stage2-libbacktrace
21943 clean-stage2-libbacktrace:
21944 @if [ $(current_stage) = stage2 ]; then \
21945 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
21946 else \
21947 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
21948 $(MAKE) stage2-start; \
21949 fi; \
21950 cd $(HOST_SUBDIR)/libbacktrace && \
21951 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21952 @endif libbacktrace-bootstrap
21955 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
21956 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
21957 maybe-all-stage3-libbacktrace:
21958 maybe-clean-stage3-libbacktrace:
21959 @if libbacktrace-bootstrap
21960 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
21961 all-stage3: all-stage3-libbacktrace
21962 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
21963 all-stage3-libbacktrace: configure-stage3-libbacktrace
21964 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21965 @r=`${PWD_COMMAND}`; export r; \
21966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21967 TFLAGS="$(STAGE3_TFLAGS)"; \
21968 $(HOST_EXPORTS) \
21969 $(POSTSTAGE1_HOST_EXPORTS) \
21970 cd $(HOST_SUBDIR)/libbacktrace && \
21972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21973 CFLAGS="$(STAGE3_CFLAGS)" \
21974 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21975 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21979 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21980 TFLAGS="$(STAGE3_TFLAGS)" \
21981 $(TARGET-stage3-libbacktrace)
21983 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
21984 clean-stage3: clean-stage3-libbacktrace
21985 clean-stage3-libbacktrace:
21986 @if [ $(current_stage) = stage3 ]; then \
21987 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
21988 else \
21989 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
21990 $(MAKE) stage3-start; \
21991 fi; \
21992 cd $(HOST_SUBDIR)/libbacktrace && \
21993 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21994 @endif libbacktrace-bootstrap
21997 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
21998 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
21999 maybe-all-stage4-libbacktrace:
22000 maybe-clean-stage4-libbacktrace:
22001 @if libbacktrace-bootstrap
22002 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
22003 all-stage4: all-stage4-libbacktrace
22004 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
22005 all-stage4-libbacktrace: configure-stage4-libbacktrace
22006 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22007 @r=`${PWD_COMMAND}`; export r; \
22008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22009 TFLAGS="$(STAGE4_TFLAGS)"; \
22010 $(HOST_EXPORTS) \
22011 $(POSTSTAGE1_HOST_EXPORTS) \
22012 cd $(HOST_SUBDIR)/libbacktrace && \
22014 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22015 CFLAGS="$(STAGE4_CFLAGS)" \
22016 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22017 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22018 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22019 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22020 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22021 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22022 TFLAGS="$(STAGE4_TFLAGS)" \
22023 $(TARGET-stage4-libbacktrace)
22025 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
22026 clean-stage4: clean-stage4-libbacktrace
22027 clean-stage4-libbacktrace:
22028 @if [ $(current_stage) = stage4 ]; then \
22029 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22030 else \
22031 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
22032 $(MAKE) stage4-start; \
22033 fi; \
22034 cd $(HOST_SUBDIR)/libbacktrace && \
22035 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22036 @endif libbacktrace-bootstrap
22039 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
22040 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
22041 maybe-all-stageprofile-libbacktrace:
22042 maybe-clean-stageprofile-libbacktrace:
22043 @if libbacktrace-bootstrap
22044 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
22045 all-stageprofile: all-stageprofile-libbacktrace
22046 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
22047 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22048 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22049 @r=`${PWD_COMMAND}`; export r; \
22050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22051 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22052 $(HOST_EXPORTS) \
22053 $(POSTSTAGE1_HOST_EXPORTS) \
22054 cd $(HOST_SUBDIR)/libbacktrace && \
22056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22057 CFLAGS="$(STAGEprofile_CFLAGS)" \
22058 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22059 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22064 TFLAGS="$(STAGEprofile_TFLAGS)" \
22065 $(TARGET-stageprofile-libbacktrace)
22067 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
22068 clean-stageprofile: clean-stageprofile-libbacktrace
22069 clean-stageprofile-libbacktrace:
22070 @if [ $(current_stage) = stageprofile ]; then \
22071 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22072 else \
22073 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
22074 $(MAKE) stageprofile-start; \
22075 fi; \
22076 cd $(HOST_SUBDIR)/libbacktrace && \
22077 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22078 @endif libbacktrace-bootstrap
22081 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
22082 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
22083 maybe-all-stagefeedback-libbacktrace:
22084 maybe-clean-stagefeedback-libbacktrace:
22085 @if libbacktrace-bootstrap
22086 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
22087 all-stagefeedback: all-stagefeedback-libbacktrace
22088 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
22089 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
22090 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22091 @r=`${PWD_COMMAND}`; export r; \
22092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22093 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22094 $(HOST_EXPORTS) \
22095 $(POSTSTAGE1_HOST_EXPORTS) \
22096 cd $(HOST_SUBDIR)/libbacktrace && \
22098 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22099 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22100 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22101 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22102 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22103 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22104 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22105 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22106 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22107 $(TARGET-stagefeedback-libbacktrace)
22109 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
22110 clean-stagefeedback: clean-stagefeedback-libbacktrace
22111 clean-stagefeedback-libbacktrace:
22112 @if [ $(current_stage) = stagefeedback ]; then \
22113 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22114 else \
22115 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
22116 $(MAKE) stagefeedback-start; \
22117 fi; \
22118 cd $(HOST_SUBDIR)/libbacktrace && \
22119 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22120 @endif libbacktrace-bootstrap
22123 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
22124 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
22125 maybe-all-stageautoprofile-libbacktrace:
22126 maybe-clean-stageautoprofile-libbacktrace:
22127 @if libbacktrace-bootstrap
22128 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
22129 all-stageautoprofile: all-stageautoprofile-libbacktrace
22130 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
22131 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
22132 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22133 @r=`${PWD_COMMAND}`; export r; \
22134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22135 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22136 $(HOST_EXPORTS) \
22137 $(POSTSTAGE1_HOST_EXPORTS) \
22138 cd $(HOST_SUBDIR)/libbacktrace && \
22139 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22140 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22141 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22142 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22143 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22144 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22145 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22146 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22147 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22148 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22149 $(TARGET-stageautoprofile-libbacktrace)
22151 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
22152 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
22153 clean-stageautoprofile-libbacktrace:
22154 @if [ $(current_stage) = stageautoprofile ]; then \
22155 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22156 else \
22157 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
22158 $(MAKE) stageautoprofile-start; \
22159 fi; \
22160 cd $(HOST_SUBDIR)/libbacktrace && \
22161 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22162 @endif libbacktrace-bootstrap
22165 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
22166 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
22167 maybe-all-stageautofeedback-libbacktrace:
22168 maybe-clean-stageautofeedback-libbacktrace:
22169 @if libbacktrace-bootstrap
22170 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
22171 all-stageautofeedback: all-stageautofeedback-libbacktrace
22172 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
22173 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
22174 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22175 @r=`${PWD_COMMAND}`; export r; \
22176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22177 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22178 $(HOST_EXPORTS) \
22179 $(POSTSTAGE1_HOST_EXPORTS) \
22180 cd $(HOST_SUBDIR)/libbacktrace && \
22182 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22183 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22184 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22185 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22186 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22187 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22188 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22189 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22190 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22191 $(TARGET-stageautofeedback-libbacktrace)
22193 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
22194 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
22195 clean-stageautofeedback-libbacktrace:
22196 @if [ $(current_stage) = stageautofeedback ]; then \
22197 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22198 else \
22199 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
22200 $(MAKE) stageautofeedback-start; \
22201 fi; \
22202 cd $(HOST_SUBDIR)/libbacktrace && \
22203 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22204 @endif libbacktrace-bootstrap
22210 .PHONY: check-libbacktrace maybe-check-libbacktrace
22211 maybe-check-libbacktrace:
22212 @if libbacktrace
22213 maybe-check-libbacktrace: check-libbacktrace
22215 check-libbacktrace:
22216 @: $(MAKE); $(unstage)
22217 @r=`${PWD_COMMAND}`; export r; \
22218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22219 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22220 (cd $(HOST_SUBDIR)/libbacktrace && \
22221 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22223 @endif libbacktrace
22225 .PHONY: install-libbacktrace maybe-install-libbacktrace
22226 maybe-install-libbacktrace:
22227 @if libbacktrace
22228 maybe-install-libbacktrace: install-libbacktrace
22230 install-libbacktrace: installdirs
22231 @: $(MAKE); $(unstage)
22232 @r=`${PWD_COMMAND}`; export r; \
22233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22234 $(HOST_EXPORTS) \
22235 (cd $(HOST_SUBDIR)/libbacktrace && \
22236 $(MAKE) $(FLAGS_TO_PASS) install)
22238 @endif libbacktrace
22240 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
22241 maybe-install-strip-libbacktrace:
22242 @if libbacktrace
22243 maybe-install-strip-libbacktrace: install-strip-libbacktrace
22245 install-strip-libbacktrace: installdirs
22246 @: $(MAKE); $(unstage)
22247 @r=`${PWD_COMMAND}`; export r; \
22248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22249 $(HOST_EXPORTS) \
22250 (cd $(HOST_SUBDIR)/libbacktrace && \
22251 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22253 @endif libbacktrace
22255 # Other targets (info, dvi, pdf, etc.)
22257 .PHONY: maybe-info-libbacktrace info-libbacktrace
22258 maybe-info-libbacktrace:
22259 @if libbacktrace
22260 maybe-info-libbacktrace: info-libbacktrace
22262 info-libbacktrace: \
22263 configure-libbacktrace
22264 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22265 r=`${PWD_COMMAND}`; export r; \
22266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22267 $(HOST_EXPORTS) \
22268 for flag in $(EXTRA_HOST_FLAGS) ; do \
22269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22270 done; \
22271 echo "Doing info in libbacktrace"; \
22272 (cd $(HOST_SUBDIR)/libbacktrace && \
22273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22275 "RANLIB=$${RANLIB}" \
22276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22277 info) \
22278 || exit 1
22280 @endif libbacktrace
22282 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
22283 maybe-dvi-libbacktrace:
22284 @if libbacktrace
22285 maybe-dvi-libbacktrace: dvi-libbacktrace
22287 dvi-libbacktrace: \
22288 configure-libbacktrace
22289 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22290 r=`${PWD_COMMAND}`; export r; \
22291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22292 $(HOST_EXPORTS) \
22293 for flag in $(EXTRA_HOST_FLAGS) ; do \
22294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22295 done; \
22296 echo "Doing dvi in libbacktrace"; \
22297 (cd $(HOST_SUBDIR)/libbacktrace && \
22298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22300 "RANLIB=$${RANLIB}" \
22301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22302 dvi) \
22303 || exit 1
22305 @endif libbacktrace
22307 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
22308 maybe-pdf-libbacktrace:
22309 @if libbacktrace
22310 maybe-pdf-libbacktrace: pdf-libbacktrace
22312 pdf-libbacktrace: \
22313 configure-libbacktrace
22314 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22315 r=`${PWD_COMMAND}`; export r; \
22316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22317 $(HOST_EXPORTS) \
22318 for flag in $(EXTRA_HOST_FLAGS) ; do \
22319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22320 done; \
22321 echo "Doing pdf in libbacktrace"; \
22322 (cd $(HOST_SUBDIR)/libbacktrace && \
22323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22325 "RANLIB=$${RANLIB}" \
22326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22327 pdf) \
22328 || exit 1
22330 @endif libbacktrace
22332 .PHONY: maybe-html-libbacktrace html-libbacktrace
22333 maybe-html-libbacktrace:
22334 @if libbacktrace
22335 maybe-html-libbacktrace: html-libbacktrace
22337 html-libbacktrace: \
22338 configure-libbacktrace
22339 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22340 r=`${PWD_COMMAND}`; export r; \
22341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22342 $(HOST_EXPORTS) \
22343 for flag in $(EXTRA_HOST_FLAGS) ; do \
22344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22345 done; \
22346 echo "Doing html in libbacktrace"; \
22347 (cd $(HOST_SUBDIR)/libbacktrace && \
22348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22350 "RANLIB=$${RANLIB}" \
22351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22352 html) \
22353 || exit 1
22355 @endif libbacktrace
22357 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
22358 maybe-TAGS-libbacktrace:
22359 @if libbacktrace
22360 maybe-TAGS-libbacktrace: TAGS-libbacktrace
22362 TAGS-libbacktrace: \
22363 configure-libbacktrace
22364 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22365 r=`${PWD_COMMAND}`; export r; \
22366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22367 $(HOST_EXPORTS) \
22368 for flag in $(EXTRA_HOST_FLAGS) ; do \
22369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22370 done; \
22371 echo "Doing TAGS in libbacktrace"; \
22372 (cd $(HOST_SUBDIR)/libbacktrace && \
22373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22375 "RANLIB=$${RANLIB}" \
22376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22377 TAGS) \
22378 || exit 1
22380 @endif libbacktrace
22382 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
22383 maybe-install-info-libbacktrace:
22384 @if libbacktrace
22385 maybe-install-info-libbacktrace: install-info-libbacktrace
22387 install-info-libbacktrace: \
22388 configure-libbacktrace \
22389 info-libbacktrace
22390 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22391 r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22393 $(HOST_EXPORTS) \
22394 for flag in $(EXTRA_HOST_FLAGS) ; do \
22395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22396 done; \
22397 echo "Doing install-info in libbacktrace"; \
22398 (cd $(HOST_SUBDIR)/libbacktrace && \
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}" \
22403 install-info) \
22404 || exit 1
22406 @endif libbacktrace
22408 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
22409 maybe-install-pdf-libbacktrace:
22410 @if libbacktrace
22411 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
22413 install-pdf-libbacktrace: \
22414 configure-libbacktrace \
22415 pdf-libbacktrace
22416 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22417 r=`${PWD_COMMAND}`; export r; \
22418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22419 $(HOST_EXPORTS) \
22420 for flag in $(EXTRA_HOST_FLAGS) ; do \
22421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22422 done; \
22423 echo "Doing install-pdf in libbacktrace"; \
22424 (cd $(HOST_SUBDIR)/libbacktrace && \
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}" \
22429 install-pdf) \
22430 || exit 1
22432 @endif libbacktrace
22434 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
22435 maybe-install-html-libbacktrace:
22436 @if libbacktrace
22437 maybe-install-html-libbacktrace: install-html-libbacktrace
22439 install-html-libbacktrace: \
22440 configure-libbacktrace \
22441 html-libbacktrace
22442 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22443 r=`${PWD_COMMAND}`; export r; \
22444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22445 $(HOST_EXPORTS) \
22446 for flag in $(EXTRA_HOST_FLAGS) ; do \
22447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22448 done; \
22449 echo "Doing install-html in libbacktrace"; \
22450 (cd $(HOST_SUBDIR)/libbacktrace && \
22451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22453 "RANLIB=$${RANLIB}" \
22454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22455 install-html) \
22456 || exit 1
22458 @endif libbacktrace
22460 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
22461 maybe-installcheck-libbacktrace:
22462 @if libbacktrace
22463 maybe-installcheck-libbacktrace: installcheck-libbacktrace
22465 installcheck-libbacktrace: \
22466 configure-libbacktrace
22467 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22468 r=`${PWD_COMMAND}`; export r; \
22469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22470 $(HOST_EXPORTS) \
22471 for flag in $(EXTRA_HOST_FLAGS) ; do \
22472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22473 done; \
22474 echo "Doing installcheck in libbacktrace"; \
22475 (cd $(HOST_SUBDIR)/libbacktrace && \
22476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22478 "RANLIB=$${RANLIB}" \
22479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22480 installcheck) \
22481 || exit 1
22483 @endif libbacktrace
22485 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
22486 maybe-mostlyclean-libbacktrace:
22487 @if libbacktrace
22488 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
22490 mostlyclean-libbacktrace:
22491 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22492 r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 $(HOST_EXPORTS) \
22495 for flag in $(EXTRA_HOST_FLAGS) ; do \
22496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22497 done; \
22498 echo "Doing mostlyclean in libbacktrace"; \
22499 (cd $(HOST_SUBDIR)/libbacktrace && \
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}" \
22504 mostlyclean) \
22505 || exit 1
22507 @endif libbacktrace
22509 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
22510 maybe-clean-libbacktrace:
22511 @if libbacktrace
22512 maybe-clean-libbacktrace: clean-libbacktrace
22514 clean-libbacktrace:
22515 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22516 r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 $(HOST_EXPORTS) \
22519 for flag in $(EXTRA_HOST_FLAGS) ; do \
22520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22521 done; \
22522 echo "Doing clean in libbacktrace"; \
22523 (cd $(HOST_SUBDIR)/libbacktrace && \
22524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22526 "RANLIB=$${RANLIB}" \
22527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22528 clean) \
22529 || exit 1
22531 @endif libbacktrace
22533 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
22534 maybe-distclean-libbacktrace:
22535 @if libbacktrace
22536 maybe-distclean-libbacktrace: distclean-libbacktrace
22538 distclean-libbacktrace:
22539 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22540 r=`${PWD_COMMAND}`; export r; \
22541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22542 $(HOST_EXPORTS) \
22543 for flag in $(EXTRA_HOST_FLAGS) ; do \
22544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22545 done; \
22546 echo "Doing distclean in libbacktrace"; \
22547 (cd $(HOST_SUBDIR)/libbacktrace && \
22548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22550 "RANLIB=$${RANLIB}" \
22551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22552 distclean) \
22553 || exit 1
22555 @endif libbacktrace
22557 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
22558 maybe-maintainer-clean-libbacktrace:
22559 @if libbacktrace
22560 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
22562 maintainer-clean-libbacktrace:
22563 @[ -f ./libbacktrace/Makefile ] || exit 0; \
22564 r=`${PWD_COMMAND}`; export r; \
22565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22566 $(HOST_EXPORTS) \
22567 for flag in $(EXTRA_HOST_FLAGS) ; do \
22568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22569 done; \
22570 echo "Doing maintainer-clean in libbacktrace"; \
22571 (cd $(HOST_SUBDIR)/libbacktrace && \
22572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22574 "RANLIB=$${RANLIB}" \
22575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22576 maintainer-clean) \
22577 || exit 1
22579 @endif libbacktrace
22583 .PHONY: configure-libcpp maybe-configure-libcpp
22584 maybe-configure-libcpp:
22585 @if gcc-bootstrap
22586 configure-libcpp: stage_current
22587 @endif gcc-bootstrap
22588 @if libcpp
22589 maybe-configure-libcpp: configure-libcpp
22590 configure-libcpp:
22591 @r=`${PWD_COMMAND}`; export r; \
22592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22593 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22595 $(HOST_EXPORTS) \
22596 echo Configuring in $(HOST_SUBDIR)/libcpp; \
22597 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
22598 case $(srcdir) in \
22599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22600 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22602 esac; \
22603 module_srcdir=libcpp; \
22604 $(SHELL) \
22605 $$s/$$module_srcdir/configure \
22606 --srcdir=$${topdir}/$$module_srcdir \
22607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22608 --target=${target_alias} \
22609 || exit 1
22610 @endif libcpp
22614 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
22615 maybe-configure-stage1-libcpp:
22616 @if libcpp-bootstrap
22617 maybe-configure-stage1-libcpp: configure-stage1-libcpp
22618 configure-stage1-libcpp:
22619 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22620 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22621 @r=`${PWD_COMMAND}`; export r; \
22622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22623 TFLAGS="$(STAGE1_TFLAGS)"; \
22624 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22625 $(HOST_EXPORTS) \
22626 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22627 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22628 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22629 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
22630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22631 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22632 case $(srcdir) in \
22633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22634 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22636 esac; \
22637 module_srcdir=libcpp; \
22638 $(SHELL) $$s/$$module_srcdir/configure \
22639 --srcdir=$${topdir}/$$module_srcdir \
22640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22641 --target=${target_alias} \
22643 $(STAGE1_CONFIGURE_FLAGS)
22644 @endif libcpp-bootstrap
22646 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
22647 maybe-configure-stage2-libcpp:
22648 @if libcpp-bootstrap
22649 maybe-configure-stage2-libcpp: configure-stage2-libcpp
22650 configure-stage2-libcpp:
22651 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22653 @r=`${PWD_COMMAND}`; export r; \
22654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22655 TFLAGS="$(STAGE2_TFLAGS)"; \
22656 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22657 $(HOST_EXPORTS) \
22658 $(POSTSTAGE1_HOST_EXPORTS) \
22659 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22660 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22661 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22662 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
22663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22664 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22665 case $(srcdir) in \
22666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22667 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22669 esac; \
22670 module_srcdir=libcpp; \
22671 $(SHELL) $$s/$$module_srcdir/configure \
22672 --srcdir=$${topdir}/$$module_srcdir \
22673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22674 --target=${target_alias} \
22675 --with-build-libsubdir=$(HOST_SUBDIR) \
22676 $(STAGE2_CONFIGURE_FLAGS)
22677 @endif libcpp-bootstrap
22679 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
22680 maybe-configure-stage3-libcpp:
22681 @if libcpp-bootstrap
22682 maybe-configure-stage3-libcpp: configure-stage3-libcpp
22683 configure-stage3-libcpp:
22684 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22686 @r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 TFLAGS="$(STAGE3_TFLAGS)"; \
22689 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22690 $(HOST_EXPORTS) \
22691 $(POSTSTAGE1_HOST_EXPORTS) \
22692 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22693 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22694 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22695 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
22696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22697 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22698 case $(srcdir) in \
22699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22700 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22702 esac; \
22703 module_srcdir=libcpp; \
22704 $(SHELL) $$s/$$module_srcdir/configure \
22705 --srcdir=$${topdir}/$$module_srcdir \
22706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22707 --target=${target_alias} \
22708 --with-build-libsubdir=$(HOST_SUBDIR) \
22709 $(STAGE3_CONFIGURE_FLAGS)
22710 @endif libcpp-bootstrap
22712 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
22713 maybe-configure-stage4-libcpp:
22714 @if libcpp-bootstrap
22715 maybe-configure-stage4-libcpp: configure-stage4-libcpp
22716 configure-stage4-libcpp:
22717 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22719 @r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 TFLAGS="$(STAGE4_TFLAGS)"; \
22722 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22723 $(HOST_EXPORTS) \
22724 $(POSTSTAGE1_HOST_EXPORTS) \
22725 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22726 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22727 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22728 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
22729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22730 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22731 case $(srcdir) in \
22732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22733 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22735 esac; \
22736 module_srcdir=libcpp; \
22737 $(SHELL) $$s/$$module_srcdir/configure \
22738 --srcdir=$${topdir}/$$module_srcdir \
22739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22740 --target=${target_alias} \
22741 --with-build-libsubdir=$(HOST_SUBDIR) \
22742 $(STAGE4_CONFIGURE_FLAGS)
22743 @endif libcpp-bootstrap
22745 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
22746 maybe-configure-stageprofile-libcpp:
22747 @if libcpp-bootstrap
22748 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
22749 configure-stageprofile-libcpp:
22750 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22751 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22752 @r=`${PWD_COMMAND}`; export r; \
22753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22754 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22755 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22756 $(HOST_EXPORTS) \
22757 $(POSTSTAGE1_HOST_EXPORTS) \
22758 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22759 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22760 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22761 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
22762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22763 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22764 case $(srcdir) in \
22765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22766 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22768 esac; \
22769 module_srcdir=libcpp; \
22770 $(SHELL) $$s/$$module_srcdir/configure \
22771 --srcdir=$${topdir}/$$module_srcdir \
22772 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22773 --target=${target_alias} \
22774 --with-build-libsubdir=$(HOST_SUBDIR) \
22775 $(STAGEprofile_CONFIGURE_FLAGS)
22776 @endif libcpp-bootstrap
22778 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
22779 maybe-configure-stagefeedback-libcpp:
22780 @if libcpp-bootstrap
22781 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
22782 configure-stagefeedback-libcpp:
22783 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22785 @r=`${PWD_COMMAND}`; export r; \
22786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22787 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22788 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22789 $(HOST_EXPORTS) \
22790 $(POSTSTAGE1_HOST_EXPORTS) \
22791 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22792 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22793 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22794 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
22795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22796 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22797 case $(srcdir) in \
22798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22799 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22801 esac; \
22802 module_srcdir=libcpp; \
22803 $(SHELL) $$s/$$module_srcdir/configure \
22804 --srcdir=$${topdir}/$$module_srcdir \
22805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22806 --target=${target_alias} \
22807 --with-build-libsubdir=$(HOST_SUBDIR) \
22808 $(STAGEfeedback_CONFIGURE_FLAGS)
22809 @endif libcpp-bootstrap
22811 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
22812 maybe-configure-stageautoprofile-libcpp:
22813 @if libcpp-bootstrap
22814 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
22815 configure-stageautoprofile-libcpp:
22816 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22818 @r=`${PWD_COMMAND}`; export r; \
22819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22820 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22821 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22822 $(HOST_EXPORTS) \
22823 $(POSTSTAGE1_HOST_EXPORTS) \
22824 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
22825 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
22826 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
22827 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
22828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22829 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22830 case $(srcdir) in \
22831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22832 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22834 esac; \
22835 module_srcdir=libcpp; \
22836 $(SHELL) $$s/$$module_srcdir/configure \
22837 --srcdir=$${topdir}/$$module_srcdir \
22838 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22839 --target=${target_alias} \
22840 --with-build-libsubdir=$(HOST_SUBDIR) \
22841 $(STAGEautoprofile_CONFIGURE_FLAGS)
22842 @endif libcpp-bootstrap
22844 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
22845 maybe-configure-stageautofeedback-libcpp:
22846 @if libcpp-bootstrap
22847 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
22848 configure-stageautofeedback-libcpp:
22849 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
22851 @r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22854 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
22855 $(HOST_EXPORTS) \
22856 $(POSTSTAGE1_HOST_EXPORTS) \
22857 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22858 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22859 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22860 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
22861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
22862 cd $(HOST_SUBDIR)/libcpp || exit 1; \
22863 case $(srcdir) in \
22864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22865 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
22866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22867 esac; \
22868 module_srcdir=libcpp; \
22869 $(SHELL) $$s/$$module_srcdir/configure \
22870 --srcdir=$${topdir}/$$module_srcdir \
22871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22872 --target=${target_alias} \
22873 --with-build-libsubdir=$(HOST_SUBDIR) \
22874 $(STAGEautofeedback_CONFIGURE_FLAGS)
22875 @endif libcpp-bootstrap
22881 .PHONY: all-libcpp maybe-all-libcpp
22882 maybe-all-libcpp:
22883 @if gcc-bootstrap
22884 all-libcpp: stage_current
22885 @endif gcc-bootstrap
22886 @if libcpp
22887 TARGET-libcpp=all
22888 maybe-all-libcpp: all-libcpp
22889 all-libcpp: configure-libcpp
22890 @r=`${PWD_COMMAND}`; export r; \
22891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22892 $(HOST_EXPORTS) \
22893 (cd $(HOST_SUBDIR)/libcpp && \
22894 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22895 $(TARGET-libcpp))
22896 @endif libcpp
22900 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
22901 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
22902 maybe-all-stage1-libcpp:
22903 maybe-clean-stage1-libcpp:
22904 @if libcpp-bootstrap
22905 maybe-all-stage1-libcpp: all-stage1-libcpp
22906 all-stage1: all-stage1-libcpp
22907 TARGET-stage1-libcpp = $(TARGET-libcpp)
22908 all-stage1-libcpp: configure-stage1-libcpp
22909 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22910 @r=`${PWD_COMMAND}`; export r; \
22911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22912 TFLAGS="$(STAGE1_TFLAGS)"; \
22913 $(HOST_EXPORTS) \
22914 cd $(HOST_SUBDIR)/libcpp && \
22916 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22917 CFLAGS="$(STAGE1_CFLAGS)" \
22918 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22919 LIBCFLAGS="$(LIBCFLAGS)" \
22920 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22921 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22922 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22923 $(EXTRA_HOST_FLAGS) \
22924 $(STAGE1_FLAGS_TO_PASS) \
22925 TFLAGS="$(STAGE1_TFLAGS)" \
22926 $(TARGET-stage1-libcpp)
22928 maybe-clean-stage1-libcpp: clean-stage1-libcpp
22929 clean-stage1: clean-stage1-libcpp
22930 clean-stage1-libcpp:
22931 @if [ $(current_stage) = stage1 ]; then \
22932 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
22933 else \
22934 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
22935 $(MAKE) stage1-start; \
22936 fi; \
22937 cd $(HOST_SUBDIR)/libcpp && \
22938 $(MAKE) $(EXTRA_HOST_FLAGS) \
22939 $(STAGE1_FLAGS_TO_PASS) clean
22940 @endif libcpp-bootstrap
22943 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
22944 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
22945 maybe-all-stage2-libcpp:
22946 maybe-clean-stage2-libcpp:
22947 @if libcpp-bootstrap
22948 maybe-all-stage2-libcpp: all-stage2-libcpp
22949 all-stage2: all-stage2-libcpp
22950 TARGET-stage2-libcpp = $(TARGET-libcpp)
22951 all-stage2-libcpp: configure-stage2-libcpp
22952 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22953 @r=`${PWD_COMMAND}`; export r; \
22954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22955 TFLAGS="$(STAGE2_TFLAGS)"; \
22956 $(HOST_EXPORTS) \
22957 $(POSTSTAGE1_HOST_EXPORTS) \
22958 cd $(HOST_SUBDIR)/libcpp && \
22960 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22961 CFLAGS="$(STAGE2_CFLAGS)" \
22962 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22963 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22964 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22965 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22966 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22967 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22968 TFLAGS="$(STAGE2_TFLAGS)" \
22969 $(TARGET-stage2-libcpp)
22971 maybe-clean-stage2-libcpp: clean-stage2-libcpp
22972 clean-stage2: clean-stage2-libcpp
22973 clean-stage2-libcpp:
22974 @if [ $(current_stage) = stage2 ]; then \
22975 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
22976 else \
22977 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
22978 $(MAKE) stage2-start; \
22979 fi; \
22980 cd $(HOST_SUBDIR)/libcpp && \
22981 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22982 @endif libcpp-bootstrap
22985 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
22986 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
22987 maybe-all-stage3-libcpp:
22988 maybe-clean-stage3-libcpp:
22989 @if libcpp-bootstrap
22990 maybe-all-stage3-libcpp: all-stage3-libcpp
22991 all-stage3: all-stage3-libcpp
22992 TARGET-stage3-libcpp = $(TARGET-libcpp)
22993 all-stage3-libcpp: configure-stage3-libcpp
22994 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22995 @r=`${PWD_COMMAND}`; export r; \
22996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22997 TFLAGS="$(STAGE3_TFLAGS)"; \
22998 $(HOST_EXPORTS) \
22999 $(POSTSTAGE1_HOST_EXPORTS) \
23000 cd $(HOST_SUBDIR)/libcpp && \
23002 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23003 CFLAGS="$(STAGE3_CFLAGS)" \
23004 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23005 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23006 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23007 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23008 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23009 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23010 TFLAGS="$(STAGE3_TFLAGS)" \
23011 $(TARGET-stage3-libcpp)
23013 maybe-clean-stage3-libcpp: clean-stage3-libcpp
23014 clean-stage3: clean-stage3-libcpp
23015 clean-stage3-libcpp:
23016 @if [ $(current_stage) = stage3 ]; then \
23017 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23018 else \
23019 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
23020 $(MAKE) stage3-start; \
23021 fi; \
23022 cd $(HOST_SUBDIR)/libcpp && \
23023 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23024 @endif libcpp-bootstrap
23027 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
23028 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
23029 maybe-all-stage4-libcpp:
23030 maybe-clean-stage4-libcpp:
23031 @if libcpp-bootstrap
23032 maybe-all-stage4-libcpp: all-stage4-libcpp
23033 all-stage4: all-stage4-libcpp
23034 TARGET-stage4-libcpp = $(TARGET-libcpp)
23035 all-stage4-libcpp: configure-stage4-libcpp
23036 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23037 @r=`${PWD_COMMAND}`; export r; \
23038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23039 TFLAGS="$(STAGE4_TFLAGS)"; \
23040 $(HOST_EXPORTS) \
23041 $(POSTSTAGE1_HOST_EXPORTS) \
23042 cd $(HOST_SUBDIR)/libcpp && \
23044 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23045 CFLAGS="$(STAGE4_CFLAGS)" \
23046 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23047 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23048 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23049 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23050 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23051 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23052 TFLAGS="$(STAGE4_TFLAGS)" \
23053 $(TARGET-stage4-libcpp)
23055 maybe-clean-stage4-libcpp: clean-stage4-libcpp
23056 clean-stage4: clean-stage4-libcpp
23057 clean-stage4-libcpp:
23058 @if [ $(current_stage) = stage4 ]; then \
23059 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23060 else \
23061 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
23062 $(MAKE) stage4-start; \
23063 fi; \
23064 cd $(HOST_SUBDIR)/libcpp && \
23065 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23066 @endif libcpp-bootstrap
23069 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
23070 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
23071 maybe-all-stageprofile-libcpp:
23072 maybe-clean-stageprofile-libcpp:
23073 @if libcpp-bootstrap
23074 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
23075 all-stageprofile: all-stageprofile-libcpp
23076 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
23077 all-stageprofile-libcpp: configure-stageprofile-libcpp
23078 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23079 @r=`${PWD_COMMAND}`; export r; \
23080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23081 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23082 $(HOST_EXPORTS) \
23083 $(POSTSTAGE1_HOST_EXPORTS) \
23084 cd $(HOST_SUBDIR)/libcpp && \
23086 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23087 CFLAGS="$(STAGEprofile_CFLAGS)" \
23088 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23089 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23090 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23091 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23092 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23093 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23094 TFLAGS="$(STAGEprofile_TFLAGS)" \
23095 $(TARGET-stageprofile-libcpp)
23097 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
23098 clean-stageprofile: clean-stageprofile-libcpp
23099 clean-stageprofile-libcpp:
23100 @if [ $(current_stage) = stageprofile ]; then \
23101 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23102 else \
23103 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
23104 $(MAKE) stageprofile-start; \
23105 fi; \
23106 cd $(HOST_SUBDIR)/libcpp && \
23107 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23108 @endif libcpp-bootstrap
23111 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
23112 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
23113 maybe-all-stagefeedback-libcpp:
23114 maybe-clean-stagefeedback-libcpp:
23115 @if libcpp-bootstrap
23116 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
23117 all-stagefeedback: all-stagefeedback-libcpp
23118 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
23119 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
23120 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23121 @r=`${PWD_COMMAND}`; export r; \
23122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23123 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23124 $(HOST_EXPORTS) \
23125 $(POSTSTAGE1_HOST_EXPORTS) \
23126 cd $(HOST_SUBDIR)/libcpp && \
23128 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23129 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23130 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23131 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23132 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23133 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23134 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23135 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23136 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23137 $(TARGET-stagefeedback-libcpp)
23139 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
23140 clean-stagefeedback: clean-stagefeedback-libcpp
23141 clean-stagefeedback-libcpp:
23142 @if [ $(current_stage) = stagefeedback ]; then \
23143 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23144 else \
23145 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
23146 $(MAKE) stagefeedback-start; \
23147 fi; \
23148 cd $(HOST_SUBDIR)/libcpp && \
23149 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23150 @endif libcpp-bootstrap
23153 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
23154 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
23155 maybe-all-stageautoprofile-libcpp:
23156 maybe-clean-stageautoprofile-libcpp:
23157 @if libcpp-bootstrap
23158 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
23159 all-stageautoprofile: all-stageautoprofile-libcpp
23160 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
23161 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
23162 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23163 @r=`${PWD_COMMAND}`; export r; \
23164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23165 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23166 $(HOST_EXPORTS) \
23167 $(POSTSTAGE1_HOST_EXPORTS) \
23168 cd $(HOST_SUBDIR)/libcpp && \
23169 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23170 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23171 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23172 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23173 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23174 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23175 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23176 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23177 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23178 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23179 $(TARGET-stageautoprofile-libcpp)
23181 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
23182 clean-stageautoprofile: clean-stageautoprofile-libcpp
23183 clean-stageautoprofile-libcpp:
23184 @if [ $(current_stage) = stageautoprofile ]; then \
23185 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23186 else \
23187 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
23188 $(MAKE) stageautoprofile-start; \
23189 fi; \
23190 cd $(HOST_SUBDIR)/libcpp && \
23191 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23192 @endif libcpp-bootstrap
23195 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
23196 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
23197 maybe-all-stageautofeedback-libcpp:
23198 maybe-clean-stageautofeedback-libcpp:
23199 @if libcpp-bootstrap
23200 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
23201 all-stageautofeedback: all-stageautofeedback-libcpp
23202 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
23203 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
23204 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23205 @r=`${PWD_COMMAND}`; export r; \
23206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23207 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23208 $(HOST_EXPORTS) \
23209 $(POSTSTAGE1_HOST_EXPORTS) \
23210 cd $(HOST_SUBDIR)/libcpp && \
23212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23213 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23214 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23215 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23216 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23217 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23218 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23219 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23220 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23221 $(TARGET-stageautofeedback-libcpp)
23223 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
23224 clean-stageautofeedback: clean-stageautofeedback-libcpp
23225 clean-stageautofeedback-libcpp:
23226 @if [ $(current_stage) = stageautofeedback ]; then \
23227 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
23228 else \
23229 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
23230 $(MAKE) stageautofeedback-start; \
23231 fi; \
23232 cd $(HOST_SUBDIR)/libcpp && \
23233 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23234 @endif libcpp-bootstrap
23240 .PHONY: check-libcpp maybe-check-libcpp
23241 maybe-check-libcpp:
23242 @if libcpp
23243 maybe-check-libcpp: check-libcpp
23245 check-libcpp:
23246 @: $(MAKE); $(unstage)
23247 @r=`${PWD_COMMAND}`; export r; \
23248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23249 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23250 (cd $(HOST_SUBDIR)/libcpp && \
23251 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23253 @endif libcpp
23255 .PHONY: install-libcpp maybe-install-libcpp
23256 maybe-install-libcpp:
23257 @if libcpp
23258 maybe-install-libcpp: install-libcpp
23260 install-libcpp: installdirs
23261 @: $(MAKE); $(unstage)
23262 @r=`${PWD_COMMAND}`; export r; \
23263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23264 $(HOST_EXPORTS) \
23265 (cd $(HOST_SUBDIR)/libcpp && \
23266 $(MAKE) $(FLAGS_TO_PASS) install)
23268 @endif libcpp
23270 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
23271 maybe-install-strip-libcpp:
23272 @if libcpp
23273 maybe-install-strip-libcpp: install-strip-libcpp
23275 install-strip-libcpp: installdirs
23276 @: $(MAKE); $(unstage)
23277 @r=`${PWD_COMMAND}`; export r; \
23278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23279 $(HOST_EXPORTS) \
23280 (cd $(HOST_SUBDIR)/libcpp && \
23281 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23283 @endif libcpp
23285 # Other targets (info, dvi, pdf, etc.)
23287 .PHONY: maybe-info-libcpp info-libcpp
23288 maybe-info-libcpp:
23289 @if libcpp
23290 maybe-info-libcpp: info-libcpp
23292 info-libcpp: \
23293 configure-libcpp
23294 @[ -f ./libcpp/Makefile ] || exit 0; \
23295 r=`${PWD_COMMAND}`; export r; \
23296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23297 $(HOST_EXPORTS) \
23298 for flag in $(EXTRA_HOST_FLAGS) ; do \
23299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23300 done; \
23301 echo "Doing info in libcpp"; \
23302 (cd $(HOST_SUBDIR)/libcpp && \
23303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23305 "RANLIB=$${RANLIB}" \
23306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23307 info) \
23308 || exit 1
23310 @endif libcpp
23312 .PHONY: maybe-dvi-libcpp dvi-libcpp
23313 maybe-dvi-libcpp:
23314 @if libcpp
23315 maybe-dvi-libcpp: dvi-libcpp
23317 dvi-libcpp: \
23318 configure-libcpp
23319 @[ -f ./libcpp/Makefile ] || exit 0; \
23320 r=`${PWD_COMMAND}`; export r; \
23321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23322 $(HOST_EXPORTS) \
23323 for flag in $(EXTRA_HOST_FLAGS) ; do \
23324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23325 done; \
23326 echo "Doing dvi in libcpp"; \
23327 (cd $(HOST_SUBDIR)/libcpp && \
23328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23330 "RANLIB=$${RANLIB}" \
23331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23332 dvi) \
23333 || exit 1
23335 @endif libcpp
23337 .PHONY: maybe-pdf-libcpp pdf-libcpp
23338 maybe-pdf-libcpp:
23339 @if libcpp
23340 maybe-pdf-libcpp: pdf-libcpp
23342 pdf-libcpp: \
23343 configure-libcpp
23344 @[ -f ./libcpp/Makefile ] || exit 0; \
23345 r=`${PWD_COMMAND}`; export r; \
23346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23347 $(HOST_EXPORTS) \
23348 for flag in $(EXTRA_HOST_FLAGS) ; do \
23349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23350 done; \
23351 echo "Doing pdf in libcpp"; \
23352 (cd $(HOST_SUBDIR)/libcpp && \
23353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23355 "RANLIB=$${RANLIB}" \
23356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23357 pdf) \
23358 || exit 1
23360 @endif libcpp
23362 .PHONY: maybe-html-libcpp html-libcpp
23363 maybe-html-libcpp:
23364 @if libcpp
23365 maybe-html-libcpp: html-libcpp
23367 html-libcpp: \
23368 configure-libcpp
23369 @[ -f ./libcpp/Makefile ] || exit 0; \
23370 r=`${PWD_COMMAND}`; export r; \
23371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23372 $(HOST_EXPORTS) \
23373 for flag in $(EXTRA_HOST_FLAGS) ; do \
23374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23375 done; \
23376 echo "Doing html in libcpp"; \
23377 (cd $(HOST_SUBDIR)/libcpp && \
23378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23380 "RANLIB=$${RANLIB}" \
23381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23382 html) \
23383 || exit 1
23385 @endif libcpp
23387 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
23388 maybe-TAGS-libcpp:
23389 @if libcpp
23390 maybe-TAGS-libcpp: TAGS-libcpp
23392 TAGS-libcpp: \
23393 configure-libcpp
23394 @[ -f ./libcpp/Makefile ] || exit 0; \
23395 r=`${PWD_COMMAND}`; export r; \
23396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23397 $(HOST_EXPORTS) \
23398 for flag in $(EXTRA_HOST_FLAGS) ; do \
23399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23400 done; \
23401 echo "Doing TAGS in libcpp"; \
23402 (cd $(HOST_SUBDIR)/libcpp && \
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 TAGS) \
23408 || exit 1
23410 @endif libcpp
23412 .PHONY: maybe-install-info-libcpp install-info-libcpp
23413 maybe-install-info-libcpp:
23414 @if libcpp
23415 maybe-install-info-libcpp: install-info-libcpp
23417 install-info-libcpp: \
23418 configure-libcpp \
23419 info-libcpp
23420 @[ -f ./libcpp/Makefile ] || exit 0; \
23421 r=`${PWD_COMMAND}`; export r; \
23422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23423 $(HOST_EXPORTS) \
23424 for flag in $(EXTRA_HOST_FLAGS) ; do \
23425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23426 done; \
23427 echo "Doing install-info in libcpp"; \
23428 (cd $(HOST_SUBDIR)/libcpp && \
23429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23431 "RANLIB=$${RANLIB}" \
23432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23433 install-info) \
23434 || exit 1
23436 @endif libcpp
23438 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
23439 maybe-install-pdf-libcpp:
23440 @if libcpp
23441 maybe-install-pdf-libcpp: install-pdf-libcpp
23443 install-pdf-libcpp: \
23444 configure-libcpp \
23445 pdf-libcpp
23446 @[ -f ./libcpp/Makefile ] || exit 0; \
23447 r=`${PWD_COMMAND}`; export r; \
23448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23449 $(HOST_EXPORTS) \
23450 for flag in $(EXTRA_HOST_FLAGS) ; do \
23451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23452 done; \
23453 echo "Doing install-pdf in libcpp"; \
23454 (cd $(HOST_SUBDIR)/libcpp && \
23455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23457 "RANLIB=$${RANLIB}" \
23458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23459 install-pdf) \
23460 || exit 1
23462 @endif libcpp
23464 .PHONY: maybe-install-html-libcpp install-html-libcpp
23465 maybe-install-html-libcpp:
23466 @if libcpp
23467 maybe-install-html-libcpp: install-html-libcpp
23469 install-html-libcpp: \
23470 configure-libcpp \
23471 html-libcpp
23472 @[ -f ./libcpp/Makefile ] || exit 0; \
23473 r=`${PWD_COMMAND}`; export r; \
23474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23475 $(HOST_EXPORTS) \
23476 for flag in $(EXTRA_HOST_FLAGS) ; do \
23477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23478 done; \
23479 echo "Doing install-html in libcpp"; \
23480 (cd $(HOST_SUBDIR)/libcpp && \
23481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23483 "RANLIB=$${RANLIB}" \
23484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23485 install-html) \
23486 || exit 1
23488 @endif libcpp
23490 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
23491 maybe-installcheck-libcpp:
23492 @if libcpp
23493 maybe-installcheck-libcpp: installcheck-libcpp
23495 installcheck-libcpp: \
23496 configure-libcpp
23497 @[ -f ./libcpp/Makefile ] || exit 0; \
23498 r=`${PWD_COMMAND}`; export r; \
23499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23500 $(HOST_EXPORTS) \
23501 for flag in $(EXTRA_HOST_FLAGS) ; do \
23502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23503 done; \
23504 echo "Doing installcheck in libcpp"; \
23505 (cd $(HOST_SUBDIR)/libcpp && \
23506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23508 "RANLIB=$${RANLIB}" \
23509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23510 installcheck) \
23511 || exit 1
23513 @endif libcpp
23515 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
23516 maybe-mostlyclean-libcpp:
23517 @if libcpp
23518 maybe-mostlyclean-libcpp: mostlyclean-libcpp
23520 mostlyclean-libcpp:
23521 @[ -f ./libcpp/Makefile ] || exit 0; \
23522 r=`${PWD_COMMAND}`; export r; \
23523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23524 $(HOST_EXPORTS) \
23525 for flag in $(EXTRA_HOST_FLAGS) ; do \
23526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23527 done; \
23528 echo "Doing mostlyclean in libcpp"; \
23529 (cd $(HOST_SUBDIR)/libcpp && \
23530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23532 "RANLIB=$${RANLIB}" \
23533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23534 mostlyclean) \
23535 || exit 1
23537 @endif libcpp
23539 .PHONY: maybe-clean-libcpp clean-libcpp
23540 maybe-clean-libcpp:
23541 @if libcpp
23542 maybe-clean-libcpp: clean-libcpp
23544 clean-libcpp:
23545 @[ -f ./libcpp/Makefile ] || exit 0; \
23546 r=`${PWD_COMMAND}`; export r; \
23547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23548 $(HOST_EXPORTS) \
23549 for flag in $(EXTRA_HOST_FLAGS) ; do \
23550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23551 done; \
23552 echo "Doing clean in libcpp"; \
23553 (cd $(HOST_SUBDIR)/libcpp && \
23554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23556 "RANLIB=$${RANLIB}" \
23557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23558 clean) \
23559 || exit 1
23561 @endif libcpp
23563 .PHONY: maybe-distclean-libcpp distclean-libcpp
23564 maybe-distclean-libcpp:
23565 @if libcpp
23566 maybe-distclean-libcpp: distclean-libcpp
23568 distclean-libcpp:
23569 @[ -f ./libcpp/Makefile ] || exit 0; \
23570 r=`${PWD_COMMAND}`; export r; \
23571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23572 $(HOST_EXPORTS) \
23573 for flag in $(EXTRA_HOST_FLAGS) ; do \
23574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23575 done; \
23576 echo "Doing distclean in libcpp"; \
23577 (cd $(HOST_SUBDIR)/libcpp && \
23578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23580 "RANLIB=$${RANLIB}" \
23581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23582 distclean) \
23583 || exit 1
23585 @endif libcpp
23587 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
23588 maybe-maintainer-clean-libcpp:
23589 @if libcpp
23590 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
23592 maintainer-clean-libcpp:
23593 @[ -f ./libcpp/Makefile ] || exit 0; \
23594 r=`${PWD_COMMAND}`; export r; \
23595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23596 $(HOST_EXPORTS) \
23597 for flag in $(EXTRA_HOST_FLAGS) ; do \
23598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23599 done; \
23600 echo "Doing maintainer-clean in libcpp"; \
23601 (cd $(HOST_SUBDIR)/libcpp && \
23602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23604 "RANLIB=$${RANLIB}" \
23605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23606 maintainer-clean) \
23607 || exit 1
23609 @endif libcpp
23613 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
23614 maybe-configure-libdecnumber:
23615 @if gcc-bootstrap
23616 configure-libdecnumber: stage_current
23617 @endif gcc-bootstrap
23618 @if libdecnumber
23619 maybe-configure-libdecnumber: configure-libdecnumber
23620 configure-libdecnumber:
23621 @r=`${PWD_COMMAND}`; export r; \
23622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23623 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23625 $(HOST_EXPORTS) \
23626 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
23627 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
23628 case $(srcdir) in \
23629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23630 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23632 esac; \
23633 module_srcdir=libdecnumber; \
23634 $(SHELL) \
23635 $$s/$$module_srcdir/configure \
23636 --srcdir=$${topdir}/$$module_srcdir \
23637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23638 --target=${target_alias} \
23639 || exit 1
23640 @endif libdecnumber
23644 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
23645 maybe-configure-stage1-libdecnumber:
23646 @if libdecnumber-bootstrap
23647 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
23648 configure-stage1-libdecnumber:
23649 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23650 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23651 @r=`${PWD_COMMAND}`; export r; \
23652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23653 TFLAGS="$(STAGE1_TFLAGS)"; \
23654 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23655 $(HOST_EXPORTS) \
23656 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23657 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23658 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23659 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
23660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23661 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23662 case $(srcdir) in \
23663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23664 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23666 esac; \
23667 module_srcdir=libdecnumber; \
23668 $(SHELL) $$s/$$module_srcdir/configure \
23669 --srcdir=$${topdir}/$$module_srcdir \
23670 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23671 --target=${target_alias} \
23673 $(STAGE1_CONFIGURE_FLAGS)
23674 @endif libdecnumber-bootstrap
23676 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
23677 maybe-configure-stage2-libdecnumber:
23678 @if libdecnumber-bootstrap
23679 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
23680 configure-stage2-libdecnumber:
23681 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23683 @r=`${PWD_COMMAND}`; export r; \
23684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23685 TFLAGS="$(STAGE2_TFLAGS)"; \
23686 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23687 $(HOST_EXPORTS) \
23688 $(POSTSTAGE1_HOST_EXPORTS) \
23689 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23690 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23691 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23692 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
23693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23694 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23695 case $(srcdir) in \
23696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23697 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23699 esac; \
23700 module_srcdir=libdecnumber; \
23701 $(SHELL) $$s/$$module_srcdir/configure \
23702 --srcdir=$${topdir}/$$module_srcdir \
23703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23704 --target=${target_alias} \
23705 --with-build-libsubdir=$(HOST_SUBDIR) \
23706 $(STAGE2_CONFIGURE_FLAGS)
23707 @endif libdecnumber-bootstrap
23709 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
23710 maybe-configure-stage3-libdecnumber:
23711 @if libdecnumber-bootstrap
23712 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
23713 configure-stage3-libdecnumber:
23714 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23716 @r=`${PWD_COMMAND}`; export r; \
23717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23718 TFLAGS="$(STAGE3_TFLAGS)"; \
23719 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23720 $(HOST_EXPORTS) \
23721 $(POSTSTAGE1_HOST_EXPORTS) \
23722 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23723 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23724 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23725 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
23726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23727 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23728 case $(srcdir) in \
23729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23730 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23732 esac; \
23733 module_srcdir=libdecnumber; \
23734 $(SHELL) $$s/$$module_srcdir/configure \
23735 --srcdir=$${topdir}/$$module_srcdir \
23736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23737 --target=${target_alias} \
23738 --with-build-libsubdir=$(HOST_SUBDIR) \
23739 $(STAGE3_CONFIGURE_FLAGS)
23740 @endif libdecnumber-bootstrap
23742 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
23743 maybe-configure-stage4-libdecnumber:
23744 @if libdecnumber-bootstrap
23745 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
23746 configure-stage4-libdecnumber:
23747 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23749 @r=`${PWD_COMMAND}`; export r; \
23750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23751 TFLAGS="$(STAGE4_TFLAGS)"; \
23752 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23753 $(HOST_EXPORTS) \
23754 $(POSTSTAGE1_HOST_EXPORTS) \
23755 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23756 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23757 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23758 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
23759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23760 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23761 case $(srcdir) in \
23762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23763 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23765 esac; \
23766 module_srcdir=libdecnumber; \
23767 $(SHELL) $$s/$$module_srcdir/configure \
23768 --srcdir=$${topdir}/$$module_srcdir \
23769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23770 --target=${target_alias} \
23771 --with-build-libsubdir=$(HOST_SUBDIR) \
23772 $(STAGE4_CONFIGURE_FLAGS)
23773 @endif libdecnumber-bootstrap
23775 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
23776 maybe-configure-stageprofile-libdecnumber:
23777 @if libdecnumber-bootstrap
23778 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
23779 configure-stageprofile-libdecnumber:
23780 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23782 @r=`${PWD_COMMAND}`; export r; \
23783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23784 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23785 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23786 $(HOST_EXPORTS) \
23787 $(POSTSTAGE1_HOST_EXPORTS) \
23788 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23789 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23790 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23791 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
23792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23793 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23794 case $(srcdir) in \
23795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23796 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23798 esac; \
23799 module_srcdir=libdecnumber; \
23800 $(SHELL) $$s/$$module_srcdir/configure \
23801 --srcdir=$${topdir}/$$module_srcdir \
23802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23803 --target=${target_alias} \
23804 --with-build-libsubdir=$(HOST_SUBDIR) \
23805 $(STAGEprofile_CONFIGURE_FLAGS)
23806 @endif libdecnumber-bootstrap
23808 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
23809 maybe-configure-stagefeedback-libdecnumber:
23810 @if libdecnumber-bootstrap
23811 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
23812 configure-stagefeedback-libdecnumber:
23813 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23815 @r=`${PWD_COMMAND}`; export r; \
23816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23817 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23818 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23819 $(HOST_EXPORTS) \
23820 $(POSTSTAGE1_HOST_EXPORTS) \
23821 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23822 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23823 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23824 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
23825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23826 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23827 case $(srcdir) in \
23828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23829 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23831 esac; \
23832 module_srcdir=libdecnumber; \
23833 $(SHELL) $$s/$$module_srcdir/configure \
23834 --srcdir=$${topdir}/$$module_srcdir \
23835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23836 --target=${target_alias} \
23837 --with-build-libsubdir=$(HOST_SUBDIR) \
23838 $(STAGEfeedback_CONFIGURE_FLAGS)
23839 @endif libdecnumber-bootstrap
23841 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
23842 maybe-configure-stageautoprofile-libdecnumber:
23843 @if libdecnumber-bootstrap
23844 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
23845 configure-stageautoprofile-libdecnumber:
23846 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23847 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23848 @r=`${PWD_COMMAND}`; export r; \
23849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23850 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23851 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23852 $(HOST_EXPORTS) \
23853 $(POSTSTAGE1_HOST_EXPORTS) \
23854 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23855 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23856 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23857 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
23858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23859 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23860 case $(srcdir) in \
23861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23862 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23864 esac; \
23865 module_srcdir=libdecnumber; \
23866 $(SHELL) $$s/$$module_srcdir/configure \
23867 --srcdir=$${topdir}/$$module_srcdir \
23868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23869 --target=${target_alias} \
23870 --with-build-libsubdir=$(HOST_SUBDIR) \
23871 $(STAGEautoprofile_CONFIGURE_FLAGS)
23872 @endif libdecnumber-bootstrap
23874 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
23875 maybe-configure-stageautofeedback-libdecnumber:
23876 @if libdecnumber-bootstrap
23877 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
23878 configure-stageautofeedback-libdecnumber:
23879 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23880 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
23881 @r=`${PWD_COMMAND}`; export r; \
23882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23883 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23884 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
23885 $(HOST_EXPORTS) \
23886 $(POSTSTAGE1_HOST_EXPORTS) \
23887 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23888 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23889 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23890 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
23891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
23892 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
23893 case $(srcdir) in \
23894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23895 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
23896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23897 esac; \
23898 module_srcdir=libdecnumber; \
23899 $(SHELL) $$s/$$module_srcdir/configure \
23900 --srcdir=$${topdir}/$$module_srcdir \
23901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23902 --target=${target_alias} \
23903 --with-build-libsubdir=$(HOST_SUBDIR) \
23904 $(STAGEautofeedback_CONFIGURE_FLAGS)
23905 @endif libdecnumber-bootstrap
23911 .PHONY: all-libdecnumber maybe-all-libdecnumber
23912 maybe-all-libdecnumber:
23913 @if gcc-bootstrap
23914 all-libdecnumber: stage_current
23915 @endif gcc-bootstrap
23916 @if libdecnumber
23917 TARGET-libdecnumber=all
23918 maybe-all-libdecnumber: all-libdecnumber
23919 all-libdecnumber: configure-libdecnumber
23920 @r=`${PWD_COMMAND}`; export r; \
23921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23922 $(HOST_EXPORTS) \
23923 (cd $(HOST_SUBDIR)/libdecnumber && \
23924 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23925 $(TARGET-libdecnumber))
23926 @endif libdecnumber
23930 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
23931 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
23932 maybe-all-stage1-libdecnumber:
23933 maybe-clean-stage1-libdecnumber:
23934 @if libdecnumber-bootstrap
23935 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
23936 all-stage1: all-stage1-libdecnumber
23937 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
23938 all-stage1-libdecnumber: configure-stage1-libdecnumber
23939 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23940 @r=`${PWD_COMMAND}`; export r; \
23941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23942 TFLAGS="$(STAGE1_TFLAGS)"; \
23943 $(HOST_EXPORTS) \
23944 cd $(HOST_SUBDIR)/libdecnumber && \
23946 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23947 CFLAGS="$(STAGE1_CFLAGS)" \
23948 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23949 LIBCFLAGS="$(LIBCFLAGS)" \
23950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23953 $(EXTRA_HOST_FLAGS) \
23954 $(STAGE1_FLAGS_TO_PASS) \
23955 TFLAGS="$(STAGE1_TFLAGS)" \
23956 $(TARGET-stage1-libdecnumber)
23958 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
23959 clean-stage1: clean-stage1-libdecnumber
23960 clean-stage1-libdecnumber:
23961 @if [ $(current_stage) = stage1 ]; then \
23962 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
23963 else \
23964 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
23965 $(MAKE) stage1-start; \
23966 fi; \
23967 cd $(HOST_SUBDIR)/libdecnumber && \
23968 $(MAKE) $(EXTRA_HOST_FLAGS) \
23969 $(STAGE1_FLAGS_TO_PASS) clean
23970 @endif libdecnumber-bootstrap
23973 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
23974 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
23975 maybe-all-stage2-libdecnumber:
23976 maybe-clean-stage2-libdecnumber:
23977 @if libdecnumber-bootstrap
23978 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
23979 all-stage2: all-stage2-libdecnumber
23980 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
23981 all-stage2-libdecnumber: configure-stage2-libdecnumber
23982 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23983 @r=`${PWD_COMMAND}`; export r; \
23984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23985 TFLAGS="$(STAGE2_TFLAGS)"; \
23986 $(HOST_EXPORTS) \
23987 $(POSTSTAGE1_HOST_EXPORTS) \
23988 cd $(HOST_SUBDIR)/libdecnumber && \
23990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23991 CFLAGS="$(STAGE2_CFLAGS)" \
23992 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23993 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23998 TFLAGS="$(STAGE2_TFLAGS)" \
23999 $(TARGET-stage2-libdecnumber)
24001 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
24002 clean-stage2: clean-stage2-libdecnumber
24003 clean-stage2-libdecnumber:
24004 @if [ $(current_stage) = stage2 ]; then \
24005 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24006 else \
24007 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
24008 $(MAKE) stage2-start; \
24009 fi; \
24010 cd $(HOST_SUBDIR)/libdecnumber && \
24011 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24012 @endif libdecnumber-bootstrap
24015 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
24016 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
24017 maybe-all-stage3-libdecnumber:
24018 maybe-clean-stage3-libdecnumber:
24019 @if libdecnumber-bootstrap
24020 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
24021 all-stage3: all-stage3-libdecnumber
24022 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
24023 all-stage3-libdecnumber: configure-stage3-libdecnumber
24024 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24025 @r=`${PWD_COMMAND}`; export r; \
24026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24027 TFLAGS="$(STAGE3_TFLAGS)"; \
24028 $(HOST_EXPORTS) \
24029 $(POSTSTAGE1_HOST_EXPORTS) \
24030 cd $(HOST_SUBDIR)/libdecnumber && \
24032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24033 CFLAGS="$(STAGE3_CFLAGS)" \
24034 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24035 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24040 TFLAGS="$(STAGE3_TFLAGS)" \
24041 $(TARGET-stage3-libdecnumber)
24043 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
24044 clean-stage3: clean-stage3-libdecnumber
24045 clean-stage3-libdecnumber:
24046 @if [ $(current_stage) = stage3 ]; then \
24047 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24048 else \
24049 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
24050 $(MAKE) stage3-start; \
24051 fi; \
24052 cd $(HOST_SUBDIR)/libdecnumber && \
24053 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24054 @endif libdecnumber-bootstrap
24057 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
24058 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
24059 maybe-all-stage4-libdecnumber:
24060 maybe-clean-stage4-libdecnumber:
24061 @if libdecnumber-bootstrap
24062 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
24063 all-stage4: all-stage4-libdecnumber
24064 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
24065 all-stage4-libdecnumber: configure-stage4-libdecnumber
24066 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24067 @r=`${PWD_COMMAND}`; export r; \
24068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24069 TFLAGS="$(STAGE4_TFLAGS)"; \
24070 $(HOST_EXPORTS) \
24071 $(POSTSTAGE1_HOST_EXPORTS) \
24072 cd $(HOST_SUBDIR)/libdecnumber && \
24074 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24075 CFLAGS="$(STAGE4_CFLAGS)" \
24076 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24077 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24078 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24079 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24080 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24081 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24082 TFLAGS="$(STAGE4_TFLAGS)" \
24083 $(TARGET-stage4-libdecnumber)
24085 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
24086 clean-stage4: clean-stage4-libdecnumber
24087 clean-stage4-libdecnumber:
24088 @if [ $(current_stage) = stage4 ]; then \
24089 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24090 else \
24091 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
24092 $(MAKE) stage4-start; \
24093 fi; \
24094 cd $(HOST_SUBDIR)/libdecnumber && \
24095 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24096 @endif libdecnumber-bootstrap
24099 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
24100 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
24101 maybe-all-stageprofile-libdecnumber:
24102 maybe-clean-stageprofile-libdecnumber:
24103 @if libdecnumber-bootstrap
24104 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
24105 all-stageprofile: all-stageprofile-libdecnumber
24106 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
24107 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
24108 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24109 @r=`${PWD_COMMAND}`; export r; \
24110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24111 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24112 $(HOST_EXPORTS) \
24113 $(POSTSTAGE1_HOST_EXPORTS) \
24114 cd $(HOST_SUBDIR)/libdecnumber && \
24116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24117 CFLAGS="$(STAGEprofile_CFLAGS)" \
24118 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24119 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24120 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24121 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24122 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24123 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24124 TFLAGS="$(STAGEprofile_TFLAGS)" \
24125 $(TARGET-stageprofile-libdecnumber)
24127 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
24128 clean-stageprofile: clean-stageprofile-libdecnumber
24129 clean-stageprofile-libdecnumber:
24130 @if [ $(current_stage) = stageprofile ]; then \
24131 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24132 else \
24133 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
24134 $(MAKE) stageprofile-start; \
24135 fi; \
24136 cd $(HOST_SUBDIR)/libdecnumber && \
24137 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24138 @endif libdecnumber-bootstrap
24141 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
24142 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
24143 maybe-all-stagefeedback-libdecnumber:
24144 maybe-clean-stagefeedback-libdecnumber:
24145 @if libdecnumber-bootstrap
24146 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
24147 all-stagefeedback: all-stagefeedback-libdecnumber
24148 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
24149 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
24150 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24151 @r=`${PWD_COMMAND}`; export r; \
24152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24153 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24154 $(HOST_EXPORTS) \
24155 $(POSTSTAGE1_HOST_EXPORTS) \
24156 cd $(HOST_SUBDIR)/libdecnumber && \
24158 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24159 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24160 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24161 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24162 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24163 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24164 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24165 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24166 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24167 $(TARGET-stagefeedback-libdecnumber)
24169 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
24170 clean-stagefeedback: clean-stagefeedback-libdecnumber
24171 clean-stagefeedback-libdecnumber:
24172 @if [ $(current_stage) = stagefeedback ]; then \
24173 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24174 else \
24175 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
24176 $(MAKE) stagefeedback-start; \
24177 fi; \
24178 cd $(HOST_SUBDIR)/libdecnumber && \
24179 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24180 @endif libdecnumber-bootstrap
24183 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
24184 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
24185 maybe-all-stageautoprofile-libdecnumber:
24186 maybe-clean-stageautoprofile-libdecnumber:
24187 @if libdecnumber-bootstrap
24188 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
24189 all-stageautoprofile: all-stageautoprofile-libdecnumber
24190 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
24191 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
24192 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24193 @r=`${PWD_COMMAND}`; export r; \
24194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24195 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24196 $(HOST_EXPORTS) \
24197 $(POSTSTAGE1_HOST_EXPORTS) \
24198 cd $(HOST_SUBDIR)/libdecnumber && \
24199 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24201 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24202 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24203 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24207 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24208 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24209 $(TARGET-stageautoprofile-libdecnumber)
24211 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
24212 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
24213 clean-stageautoprofile-libdecnumber:
24214 @if [ $(current_stage) = stageautoprofile ]; then \
24215 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24216 else \
24217 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
24218 $(MAKE) stageautoprofile-start; \
24219 fi; \
24220 cd $(HOST_SUBDIR)/libdecnumber && \
24221 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24222 @endif libdecnumber-bootstrap
24225 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
24226 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
24227 maybe-all-stageautofeedback-libdecnumber:
24228 maybe-clean-stageautofeedback-libdecnumber:
24229 @if libdecnumber-bootstrap
24230 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
24231 all-stageautofeedback: all-stageautofeedback-libdecnumber
24232 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
24233 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
24234 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24235 @r=`${PWD_COMMAND}`; export r; \
24236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24237 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24238 $(HOST_EXPORTS) \
24239 $(POSTSTAGE1_HOST_EXPORTS) \
24240 cd $(HOST_SUBDIR)/libdecnumber && \
24242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24243 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24244 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24245 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24246 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24247 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24248 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24249 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24250 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24251 $(TARGET-stageautofeedback-libdecnumber)
24253 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
24254 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
24255 clean-stageautofeedback-libdecnumber:
24256 @if [ $(current_stage) = stageautofeedback ]; then \
24257 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
24258 else \
24259 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
24260 $(MAKE) stageautofeedback-start; \
24261 fi; \
24262 cd $(HOST_SUBDIR)/libdecnumber && \
24263 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24264 @endif libdecnumber-bootstrap
24270 .PHONY: check-libdecnumber maybe-check-libdecnumber
24271 maybe-check-libdecnumber:
24272 @if libdecnumber
24273 maybe-check-libdecnumber: check-libdecnumber
24275 check-libdecnumber:
24276 @: $(MAKE); $(unstage)
24277 @r=`${PWD_COMMAND}`; export r; \
24278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24279 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24280 (cd $(HOST_SUBDIR)/libdecnumber && \
24281 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24283 @endif libdecnumber
24285 .PHONY: install-libdecnumber maybe-install-libdecnumber
24286 maybe-install-libdecnumber:
24287 @if libdecnumber
24288 maybe-install-libdecnumber: install-libdecnumber
24290 install-libdecnumber: installdirs
24291 @: $(MAKE); $(unstage)
24292 @r=`${PWD_COMMAND}`; export r; \
24293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24294 $(HOST_EXPORTS) \
24295 (cd $(HOST_SUBDIR)/libdecnumber && \
24296 $(MAKE) $(FLAGS_TO_PASS) install)
24298 @endif libdecnumber
24300 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
24301 maybe-install-strip-libdecnumber:
24302 @if libdecnumber
24303 maybe-install-strip-libdecnumber: install-strip-libdecnumber
24305 install-strip-libdecnumber: installdirs
24306 @: $(MAKE); $(unstage)
24307 @r=`${PWD_COMMAND}`; export r; \
24308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24309 $(HOST_EXPORTS) \
24310 (cd $(HOST_SUBDIR)/libdecnumber && \
24311 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24313 @endif libdecnumber
24315 # Other targets (info, dvi, pdf, etc.)
24317 .PHONY: maybe-info-libdecnumber info-libdecnumber
24318 maybe-info-libdecnumber:
24319 @if libdecnumber
24320 maybe-info-libdecnumber: info-libdecnumber
24322 info-libdecnumber: \
24323 configure-libdecnumber
24324 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24325 r=`${PWD_COMMAND}`; export r; \
24326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24327 $(HOST_EXPORTS) \
24328 for flag in $(EXTRA_HOST_FLAGS) ; do \
24329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24330 done; \
24331 echo "Doing info in libdecnumber"; \
24332 (cd $(HOST_SUBDIR)/libdecnumber && \
24333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24335 "RANLIB=$${RANLIB}" \
24336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24337 info) \
24338 || exit 1
24340 @endif libdecnumber
24342 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
24343 maybe-dvi-libdecnumber:
24344 @if libdecnumber
24345 maybe-dvi-libdecnumber: dvi-libdecnumber
24347 dvi-libdecnumber: \
24348 configure-libdecnumber
24349 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24350 r=`${PWD_COMMAND}`; export r; \
24351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24352 $(HOST_EXPORTS) \
24353 for flag in $(EXTRA_HOST_FLAGS) ; do \
24354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24355 done; \
24356 echo "Doing dvi in libdecnumber"; \
24357 (cd $(HOST_SUBDIR)/libdecnumber && \
24358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24360 "RANLIB=$${RANLIB}" \
24361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24362 dvi) \
24363 || exit 1
24365 @endif libdecnumber
24367 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
24368 maybe-pdf-libdecnumber:
24369 @if libdecnumber
24370 maybe-pdf-libdecnumber: pdf-libdecnumber
24372 pdf-libdecnumber: \
24373 configure-libdecnumber
24374 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24375 r=`${PWD_COMMAND}`; export r; \
24376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24377 $(HOST_EXPORTS) \
24378 for flag in $(EXTRA_HOST_FLAGS) ; do \
24379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24380 done; \
24381 echo "Doing pdf in libdecnumber"; \
24382 (cd $(HOST_SUBDIR)/libdecnumber && \
24383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24385 "RANLIB=$${RANLIB}" \
24386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24387 pdf) \
24388 || exit 1
24390 @endif libdecnumber
24392 .PHONY: maybe-html-libdecnumber html-libdecnumber
24393 maybe-html-libdecnumber:
24394 @if libdecnumber
24395 maybe-html-libdecnumber: html-libdecnumber
24397 html-libdecnumber: \
24398 configure-libdecnumber
24399 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24400 r=`${PWD_COMMAND}`; export r; \
24401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24402 $(HOST_EXPORTS) \
24403 for flag in $(EXTRA_HOST_FLAGS) ; do \
24404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24405 done; \
24406 echo "Doing html in libdecnumber"; \
24407 (cd $(HOST_SUBDIR)/libdecnumber && \
24408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24410 "RANLIB=$${RANLIB}" \
24411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24412 html) \
24413 || exit 1
24415 @endif libdecnumber
24417 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
24418 maybe-TAGS-libdecnumber:
24419 @if libdecnumber
24420 maybe-TAGS-libdecnumber: TAGS-libdecnumber
24422 TAGS-libdecnumber: \
24423 configure-libdecnumber
24424 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24425 r=`${PWD_COMMAND}`; export r; \
24426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24427 $(HOST_EXPORTS) \
24428 for flag in $(EXTRA_HOST_FLAGS) ; do \
24429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24430 done; \
24431 echo "Doing TAGS in libdecnumber"; \
24432 (cd $(HOST_SUBDIR)/libdecnumber && \
24433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24435 "RANLIB=$${RANLIB}" \
24436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24437 TAGS) \
24438 || exit 1
24440 @endif libdecnumber
24442 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
24443 maybe-install-info-libdecnumber:
24444 @if libdecnumber
24445 maybe-install-info-libdecnumber: install-info-libdecnumber
24447 install-info-libdecnumber: \
24448 configure-libdecnumber \
24449 info-libdecnumber
24450 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24451 r=`${PWD_COMMAND}`; export r; \
24452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24453 $(HOST_EXPORTS) \
24454 for flag in $(EXTRA_HOST_FLAGS) ; do \
24455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24456 done; \
24457 echo "Doing install-info in libdecnumber"; \
24458 (cd $(HOST_SUBDIR)/libdecnumber && \
24459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24461 "RANLIB=$${RANLIB}" \
24462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24463 install-info) \
24464 || exit 1
24466 @endif libdecnumber
24468 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
24469 maybe-install-pdf-libdecnumber:
24470 @if libdecnumber
24471 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
24473 install-pdf-libdecnumber: \
24474 configure-libdecnumber \
24475 pdf-libdecnumber
24476 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24477 r=`${PWD_COMMAND}`; export r; \
24478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24479 $(HOST_EXPORTS) \
24480 for flag in $(EXTRA_HOST_FLAGS) ; do \
24481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24482 done; \
24483 echo "Doing install-pdf in libdecnumber"; \
24484 (cd $(HOST_SUBDIR)/libdecnumber && \
24485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24487 "RANLIB=$${RANLIB}" \
24488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24489 install-pdf) \
24490 || exit 1
24492 @endif libdecnumber
24494 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
24495 maybe-install-html-libdecnumber:
24496 @if libdecnumber
24497 maybe-install-html-libdecnumber: install-html-libdecnumber
24499 install-html-libdecnumber: \
24500 configure-libdecnumber \
24501 html-libdecnumber
24502 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24503 r=`${PWD_COMMAND}`; export r; \
24504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24505 $(HOST_EXPORTS) \
24506 for flag in $(EXTRA_HOST_FLAGS) ; do \
24507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24508 done; \
24509 echo "Doing install-html in libdecnumber"; \
24510 (cd $(HOST_SUBDIR)/libdecnumber && \
24511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24513 "RANLIB=$${RANLIB}" \
24514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24515 install-html) \
24516 || exit 1
24518 @endif libdecnumber
24520 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
24521 maybe-installcheck-libdecnumber:
24522 @if libdecnumber
24523 maybe-installcheck-libdecnumber: installcheck-libdecnumber
24525 installcheck-libdecnumber: \
24526 configure-libdecnumber
24527 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24528 r=`${PWD_COMMAND}`; export r; \
24529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24530 $(HOST_EXPORTS) \
24531 for flag in $(EXTRA_HOST_FLAGS) ; do \
24532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24533 done; \
24534 echo "Doing installcheck in libdecnumber"; \
24535 (cd $(HOST_SUBDIR)/libdecnumber && \
24536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24538 "RANLIB=$${RANLIB}" \
24539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24540 installcheck) \
24541 || exit 1
24543 @endif libdecnumber
24545 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
24546 maybe-mostlyclean-libdecnumber:
24547 @if libdecnumber
24548 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
24550 mostlyclean-libdecnumber:
24551 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24552 r=`${PWD_COMMAND}`; export r; \
24553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24554 $(HOST_EXPORTS) \
24555 for flag in $(EXTRA_HOST_FLAGS) ; do \
24556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24557 done; \
24558 echo "Doing mostlyclean in libdecnumber"; \
24559 (cd $(HOST_SUBDIR)/libdecnumber && \
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}" \
24564 mostlyclean) \
24565 || exit 1
24567 @endif libdecnumber
24569 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
24570 maybe-clean-libdecnumber:
24571 @if libdecnumber
24572 maybe-clean-libdecnumber: clean-libdecnumber
24574 clean-libdecnumber:
24575 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24576 r=`${PWD_COMMAND}`; export r; \
24577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24578 $(HOST_EXPORTS) \
24579 for flag in $(EXTRA_HOST_FLAGS) ; do \
24580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24581 done; \
24582 echo "Doing clean in libdecnumber"; \
24583 (cd $(HOST_SUBDIR)/libdecnumber && \
24584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24586 "RANLIB=$${RANLIB}" \
24587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24588 clean) \
24589 || exit 1
24591 @endif libdecnumber
24593 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
24594 maybe-distclean-libdecnumber:
24595 @if libdecnumber
24596 maybe-distclean-libdecnumber: distclean-libdecnumber
24598 distclean-libdecnumber:
24599 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24600 r=`${PWD_COMMAND}`; export r; \
24601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24602 $(HOST_EXPORTS) \
24603 for flag in $(EXTRA_HOST_FLAGS) ; do \
24604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24605 done; \
24606 echo "Doing distclean in libdecnumber"; \
24607 (cd $(HOST_SUBDIR)/libdecnumber && \
24608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24610 "RANLIB=$${RANLIB}" \
24611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24612 distclean) \
24613 || exit 1
24615 @endif libdecnumber
24617 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
24618 maybe-maintainer-clean-libdecnumber:
24619 @if libdecnumber
24620 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
24622 maintainer-clean-libdecnumber:
24623 @[ -f ./libdecnumber/Makefile ] || exit 0; \
24624 r=`${PWD_COMMAND}`; export r; \
24625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24626 $(HOST_EXPORTS) \
24627 for flag in $(EXTRA_HOST_FLAGS) ; do \
24628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24629 done; \
24630 echo "Doing maintainer-clean in libdecnumber"; \
24631 (cd $(HOST_SUBDIR)/libdecnumber && \
24632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24634 "RANLIB=$${RANLIB}" \
24635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24636 maintainer-clean) \
24637 || exit 1
24639 @endif libdecnumber
24643 .PHONY: configure-libgui maybe-configure-libgui
24644 maybe-configure-libgui:
24645 @if gcc-bootstrap
24646 configure-libgui: stage_current
24647 @endif gcc-bootstrap
24648 @if libgui
24649 maybe-configure-libgui: configure-libgui
24650 configure-libgui:
24651 @: $(MAKE); $(unstage)
24652 @r=`${PWD_COMMAND}`; export r; \
24653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24654 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
24655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
24656 $(HOST_EXPORTS) \
24657 echo Configuring in $(HOST_SUBDIR)/libgui; \
24658 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
24659 case $(srcdir) in \
24660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24661 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
24662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24663 esac; \
24664 module_srcdir=libgui; \
24665 $(SHELL) \
24666 $$s/$$module_srcdir/configure \
24667 --srcdir=$${topdir}/$$module_srcdir \
24668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24669 --target=${target_alias} \
24670 || exit 1
24671 @endif libgui
24677 .PHONY: all-libgui maybe-all-libgui
24678 maybe-all-libgui:
24679 @if gcc-bootstrap
24680 all-libgui: stage_current
24681 @endif gcc-bootstrap
24682 @if libgui
24683 TARGET-libgui=all
24684 maybe-all-libgui: all-libgui
24685 all-libgui: configure-libgui
24686 @: $(MAKE); $(unstage)
24687 @r=`${PWD_COMMAND}`; export r; \
24688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24689 $(HOST_EXPORTS) \
24690 (cd $(HOST_SUBDIR)/libgui && \
24691 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24692 $(TARGET-libgui))
24693 @endif libgui
24698 .PHONY: check-libgui maybe-check-libgui
24699 maybe-check-libgui:
24700 @if libgui
24701 maybe-check-libgui: check-libgui
24703 check-libgui:
24704 @: $(MAKE); $(unstage)
24705 @r=`${PWD_COMMAND}`; export r; \
24706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24707 $(HOST_EXPORTS) \
24708 (cd $(HOST_SUBDIR)/libgui && \
24709 $(MAKE) $(FLAGS_TO_PASS) check)
24711 @endif libgui
24713 .PHONY: install-libgui maybe-install-libgui
24714 maybe-install-libgui:
24715 @if libgui
24716 maybe-install-libgui: install-libgui
24718 install-libgui: installdirs
24719 @: $(MAKE); $(unstage)
24720 @r=`${PWD_COMMAND}`; export r; \
24721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24722 $(HOST_EXPORTS) \
24723 (cd $(HOST_SUBDIR)/libgui && \
24724 $(MAKE) $(FLAGS_TO_PASS) install)
24726 @endif libgui
24728 .PHONY: install-strip-libgui maybe-install-strip-libgui
24729 maybe-install-strip-libgui:
24730 @if libgui
24731 maybe-install-strip-libgui: install-strip-libgui
24733 install-strip-libgui: installdirs
24734 @: $(MAKE); $(unstage)
24735 @r=`${PWD_COMMAND}`; export r; \
24736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24737 $(HOST_EXPORTS) \
24738 (cd $(HOST_SUBDIR)/libgui && \
24739 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24741 @endif libgui
24743 # Other targets (info, dvi, pdf, etc.)
24745 .PHONY: maybe-info-libgui info-libgui
24746 maybe-info-libgui:
24747 @if libgui
24748 maybe-info-libgui: info-libgui
24750 info-libgui: \
24751 configure-libgui
24752 @: $(MAKE); $(unstage)
24753 @[ -f ./libgui/Makefile ] || exit 0; \
24754 r=`${PWD_COMMAND}`; export r; \
24755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24756 $(HOST_EXPORTS) \
24757 for flag in $(EXTRA_HOST_FLAGS) ; do \
24758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24759 done; \
24760 echo "Doing info in libgui"; \
24761 (cd $(HOST_SUBDIR)/libgui && \
24762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24764 "RANLIB=$${RANLIB}" \
24765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24766 info) \
24767 || exit 1
24769 @endif libgui
24771 .PHONY: maybe-dvi-libgui dvi-libgui
24772 maybe-dvi-libgui:
24773 @if libgui
24774 maybe-dvi-libgui: dvi-libgui
24776 dvi-libgui: \
24777 configure-libgui
24778 @: $(MAKE); $(unstage)
24779 @[ -f ./libgui/Makefile ] || exit 0; \
24780 r=`${PWD_COMMAND}`; export r; \
24781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24782 $(HOST_EXPORTS) \
24783 for flag in $(EXTRA_HOST_FLAGS) ; do \
24784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24785 done; \
24786 echo "Doing dvi in libgui"; \
24787 (cd $(HOST_SUBDIR)/libgui && \
24788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24790 "RANLIB=$${RANLIB}" \
24791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24792 dvi) \
24793 || exit 1
24795 @endif libgui
24797 .PHONY: maybe-pdf-libgui pdf-libgui
24798 maybe-pdf-libgui:
24799 @if libgui
24800 maybe-pdf-libgui: pdf-libgui
24802 pdf-libgui: \
24803 configure-libgui
24804 @: $(MAKE); $(unstage)
24805 @[ -f ./libgui/Makefile ] || exit 0; \
24806 r=`${PWD_COMMAND}`; export r; \
24807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24808 $(HOST_EXPORTS) \
24809 for flag in $(EXTRA_HOST_FLAGS) ; do \
24810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24811 done; \
24812 echo "Doing pdf in libgui"; \
24813 (cd $(HOST_SUBDIR)/libgui && \
24814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24816 "RANLIB=$${RANLIB}" \
24817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24818 pdf) \
24819 || exit 1
24821 @endif libgui
24823 .PHONY: maybe-html-libgui html-libgui
24824 maybe-html-libgui:
24825 @if libgui
24826 maybe-html-libgui: html-libgui
24828 html-libgui: \
24829 configure-libgui
24830 @: $(MAKE); $(unstage)
24831 @[ -f ./libgui/Makefile ] || exit 0; \
24832 r=`${PWD_COMMAND}`; export r; \
24833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24834 $(HOST_EXPORTS) \
24835 for flag in $(EXTRA_HOST_FLAGS) ; do \
24836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24837 done; \
24838 echo "Doing html in libgui"; \
24839 (cd $(HOST_SUBDIR)/libgui && \
24840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24842 "RANLIB=$${RANLIB}" \
24843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24844 html) \
24845 || exit 1
24847 @endif libgui
24849 .PHONY: maybe-TAGS-libgui TAGS-libgui
24850 maybe-TAGS-libgui:
24851 @if libgui
24852 maybe-TAGS-libgui: TAGS-libgui
24854 TAGS-libgui: \
24855 configure-libgui
24856 @: $(MAKE); $(unstage)
24857 @[ -f ./libgui/Makefile ] || exit 0; \
24858 r=`${PWD_COMMAND}`; export r; \
24859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24860 $(HOST_EXPORTS) \
24861 for flag in $(EXTRA_HOST_FLAGS) ; do \
24862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24863 done; \
24864 echo "Doing TAGS in libgui"; \
24865 (cd $(HOST_SUBDIR)/libgui && \
24866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24868 "RANLIB=$${RANLIB}" \
24869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24870 TAGS) \
24871 || exit 1
24873 @endif libgui
24875 .PHONY: maybe-install-info-libgui install-info-libgui
24876 maybe-install-info-libgui:
24877 @if libgui
24878 maybe-install-info-libgui: install-info-libgui
24880 install-info-libgui: \
24881 configure-libgui \
24882 info-libgui
24883 @: $(MAKE); $(unstage)
24884 @[ -f ./libgui/Makefile ] || exit 0; \
24885 r=`${PWD_COMMAND}`; export r; \
24886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24887 $(HOST_EXPORTS) \
24888 for flag in $(EXTRA_HOST_FLAGS) ; do \
24889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24890 done; \
24891 echo "Doing install-info in libgui"; \
24892 (cd $(HOST_SUBDIR)/libgui && \
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}" \
24897 install-info) \
24898 || exit 1
24900 @endif libgui
24902 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
24903 maybe-install-pdf-libgui:
24904 @if libgui
24905 maybe-install-pdf-libgui: install-pdf-libgui
24907 install-pdf-libgui: \
24908 configure-libgui \
24909 pdf-libgui
24910 @: $(MAKE); $(unstage)
24911 @[ -f ./libgui/Makefile ] || exit 0; \
24912 r=`${PWD_COMMAND}`; export r; \
24913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24914 $(HOST_EXPORTS) \
24915 for flag in $(EXTRA_HOST_FLAGS) ; do \
24916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24917 done; \
24918 echo "Doing install-pdf in libgui"; \
24919 (cd $(HOST_SUBDIR)/libgui && \
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}" \
24924 install-pdf) \
24925 || exit 1
24927 @endif libgui
24929 .PHONY: maybe-install-html-libgui install-html-libgui
24930 maybe-install-html-libgui:
24931 @if libgui
24932 maybe-install-html-libgui: install-html-libgui
24934 install-html-libgui: \
24935 configure-libgui \
24936 html-libgui
24937 @: $(MAKE); $(unstage)
24938 @[ -f ./libgui/Makefile ] || exit 0; \
24939 r=`${PWD_COMMAND}`; export r; \
24940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24941 $(HOST_EXPORTS) \
24942 for flag in $(EXTRA_HOST_FLAGS) ; do \
24943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24944 done; \
24945 echo "Doing install-html in libgui"; \
24946 (cd $(HOST_SUBDIR)/libgui && \
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}" \
24951 install-html) \
24952 || exit 1
24954 @endif libgui
24956 .PHONY: maybe-installcheck-libgui installcheck-libgui
24957 maybe-installcheck-libgui:
24958 @if libgui
24959 maybe-installcheck-libgui: installcheck-libgui
24961 installcheck-libgui: \
24962 configure-libgui
24963 @: $(MAKE); $(unstage)
24964 @[ -f ./libgui/Makefile ] || exit 0; \
24965 r=`${PWD_COMMAND}`; export r; \
24966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24967 $(HOST_EXPORTS) \
24968 for flag in $(EXTRA_HOST_FLAGS) ; do \
24969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24970 done; \
24971 echo "Doing installcheck in libgui"; \
24972 (cd $(HOST_SUBDIR)/libgui && \
24973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24975 "RANLIB=$${RANLIB}" \
24976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24977 installcheck) \
24978 || exit 1
24980 @endif libgui
24982 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
24983 maybe-mostlyclean-libgui:
24984 @if libgui
24985 maybe-mostlyclean-libgui: mostlyclean-libgui
24987 mostlyclean-libgui:
24988 @: $(MAKE); $(unstage)
24989 @[ -f ./libgui/Makefile ] || exit 0; \
24990 r=`${PWD_COMMAND}`; export r; \
24991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24992 $(HOST_EXPORTS) \
24993 for flag in $(EXTRA_HOST_FLAGS) ; do \
24994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24995 done; \
24996 echo "Doing mostlyclean in libgui"; \
24997 (cd $(HOST_SUBDIR)/libgui && \
24998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25000 "RANLIB=$${RANLIB}" \
25001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25002 mostlyclean) \
25003 || exit 1
25005 @endif libgui
25007 .PHONY: maybe-clean-libgui clean-libgui
25008 maybe-clean-libgui:
25009 @if libgui
25010 maybe-clean-libgui: clean-libgui
25012 clean-libgui:
25013 @: $(MAKE); $(unstage)
25014 @[ -f ./libgui/Makefile ] || exit 0; \
25015 r=`${PWD_COMMAND}`; export r; \
25016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25017 $(HOST_EXPORTS) \
25018 for flag in $(EXTRA_HOST_FLAGS) ; do \
25019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25020 done; \
25021 echo "Doing clean in libgui"; \
25022 (cd $(HOST_SUBDIR)/libgui && \
25023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25025 "RANLIB=$${RANLIB}" \
25026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25027 clean) \
25028 || exit 1
25030 @endif libgui
25032 .PHONY: maybe-distclean-libgui distclean-libgui
25033 maybe-distclean-libgui:
25034 @if libgui
25035 maybe-distclean-libgui: distclean-libgui
25037 distclean-libgui:
25038 @: $(MAKE); $(unstage)
25039 @[ -f ./libgui/Makefile ] || exit 0; \
25040 r=`${PWD_COMMAND}`; export r; \
25041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25042 $(HOST_EXPORTS) \
25043 for flag in $(EXTRA_HOST_FLAGS) ; do \
25044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25045 done; \
25046 echo "Doing distclean in libgui"; \
25047 (cd $(HOST_SUBDIR)/libgui && \
25048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25050 "RANLIB=$${RANLIB}" \
25051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25052 distclean) \
25053 || exit 1
25055 @endif libgui
25057 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
25058 maybe-maintainer-clean-libgui:
25059 @if libgui
25060 maybe-maintainer-clean-libgui: maintainer-clean-libgui
25062 maintainer-clean-libgui:
25063 @: $(MAKE); $(unstage)
25064 @[ -f ./libgui/Makefile ] || exit 0; \
25065 r=`${PWD_COMMAND}`; export r; \
25066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25067 $(HOST_EXPORTS) \
25068 for flag in $(EXTRA_HOST_FLAGS) ; do \
25069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25070 done; \
25071 echo "Doing maintainer-clean in libgui"; \
25072 (cd $(HOST_SUBDIR)/libgui && \
25073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25075 "RANLIB=$${RANLIB}" \
25076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25077 maintainer-clean) \
25078 || exit 1
25080 @endif libgui
25084 .PHONY: configure-libiberty maybe-configure-libiberty
25085 maybe-configure-libiberty:
25086 @if gcc-bootstrap
25087 configure-libiberty: stage_current
25088 @endif gcc-bootstrap
25089 @if libiberty
25090 maybe-configure-libiberty: configure-libiberty
25091 configure-libiberty:
25092 @r=`${PWD_COMMAND}`; export r; \
25093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25094 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25096 $(HOST_EXPORTS) \
25097 echo Configuring in $(HOST_SUBDIR)/libiberty; \
25098 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
25099 case $(srcdir) in \
25100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25101 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25103 esac; \
25104 module_srcdir=libiberty; \
25105 $(SHELL) \
25106 $$s/$$module_srcdir/configure \
25107 --srcdir=$${topdir}/$$module_srcdir \
25108 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25109 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
25110 || exit 1
25111 @endif libiberty
25115 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
25116 maybe-configure-stage1-libiberty:
25117 @if libiberty-bootstrap
25118 maybe-configure-stage1-libiberty: configure-stage1-libiberty
25119 configure-stage1-libiberty:
25120 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25122 @r=`${PWD_COMMAND}`; export r; \
25123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25124 TFLAGS="$(STAGE1_TFLAGS)"; \
25125 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25126 $(HOST_EXPORTS) \
25127 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25128 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25129 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25130 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
25131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25132 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25133 case $(srcdir) in \
25134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25135 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25137 esac; \
25138 module_srcdir=libiberty; \
25139 $(SHELL) $$s/$$module_srcdir/configure \
25140 --srcdir=$${topdir}/$$module_srcdir \
25141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25142 --target=${target_alias} \
25144 $(STAGE1_CONFIGURE_FLAGS) \
25145 @extra_host_libiberty_configure_flags@
25146 @endif libiberty-bootstrap
25148 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
25149 maybe-configure-stage2-libiberty:
25150 @if libiberty-bootstrap
25151 maybe-configure-stage2-libiberty: configure-stage2-libiberty
25152 configure-stage2-libiberty:
25153 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25155 @r=`${PWD_COMMAND}`; export r; \
25156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25157 TFLAGS="$(STAGE2_TFLAGS)"; \
25158 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25159 $(HOST_EXPORTS) \
25160 $(POSTSTAGE1_HOST_EXPORTS) \
25161 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25162 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25163 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25164 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
25165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25166 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25167 case $(srcdir) in \
25168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25169 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25171 esac; \
25172 module_srcdir=libiberty; \
25173 $(SHELL) $$s/$$module_srcdir/configure \
25174 --srcdir=$${topdir}/$$module_srcdir \
25175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25176 --target=${target_alias} \
25177 --with-build-libsubdir=$(HOST_SUBDIR) \
25178 $(STAGE2_CONFIGURE_FLAGS) \
25179 @extra_host_libiberty_configure_flags@
25180 @endif libiberty-bootstrap
25182 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
25183 maybe-configure-stage3-libiberty:
25184 @if libiberty-bootstrap
25185 maybe-configure-stage3-libiberty: configure-stage3-libiberty
25186 configure-stage3-libiberty:
25187 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25188 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25189 @r=`${PWD_COMMAND}`; export r; \
25190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25191 TFLAGS="$(STAGE3_TFLAGS)"; \
25192 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25193 $(HOST_EXPORTS) \
25194 $(POSTSTAGE1_HOST_EXPORTS) \
25195 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
25196 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
25197 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
25198 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
25199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25200 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25201 case $(srcdir) in \
25202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25203 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25205 esac; \
25206 module_srcdir=libiberty; \
25207 $(SHELL) $$s/$$module_srcdir/configure \
25208 --srcdir=$${topdir}/$$module_srcdir \
25209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25210 --target=${target_alias} \
25211 --with-build-libsubdir=$(HOST_SUBDIR) \
25212 $(STAGE3_CONFIGURE_FLAGS) \
25213 @extra_host_libiberty_configure_flags@
25214 @endif libiberty-bootstrap
25216 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
25217 maybe-configure-stage4-libiberty:
25218 @if libiberty-bootstrap
25219 maybe-configure-stage4-libiberty: configure-stage4-libiberty
25220 configure-stage4-libiberty:
25221 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25223 @r=`${PWD_COMMAND}`; export r; \
25224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25225 TFLAGS="$(STAGE4_TFLAGS)"; \
25226 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25227 $(HOST_EXPORTS) \
25228 $(POSTSTAGE1_HOST_EXPORTS) \
25229 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
25230 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
25231 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
25232 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
25233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25234 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25235 case $(srcdir) in \
25236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25237 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25239 esac; \
25240 module_srcdir=libiberty; \
25241 $(SHELL) $$s/$$module_srcdir/configure \
25242 --srcdir=$${topdir}/$$module_srcdir \
25243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25244 --target=${target_alias} \
25245 --with-build-libsubdir=$(HOST_SUBDIR) \
25246 $(STAGE4_CONFIGURE_FLAGS) \
25247 @extra_host_libiberty_configure_flags@
25248 @endif libiberty-bootstrap
25250 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
25251 maybe-configure-stageprofile-libiberty:
25252 @if libiberty-bootstrap
25253 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
25254 configure-stageprofile-libiberty:
25255 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25256 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25257 @r=`${PWD_COMMAND}`; export r; \
25258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25259 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25260 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25261 $(HOST_EXPORTS) \
25262 $(POSTSTAGE1_HOST_EXPORTS) \
25263 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
25264 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
25265 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
25266 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
25267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25268 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25269 case $(srcdir) in \
25270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25271 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25273 esac; \
25274 module_srcdir=libiberty; \
25275 $(SHELL) $$s/$$module_srcdir/configure \
25276 --srcdir=$${topdir}/$$module_srcdir \
25277 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25278 --target=${target_alias} \
25279 --with-build-libsubdir=$(HOST_SUBDIR) \
25280 $(STAGEprofile_CONFIGURE_FLAGS) \
25281 @extra_host_libiberty_configure_flags@
25282 @endif libiberty-bootstrap
25284 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
25285 maybe-configure-stagefeedback-libiberty:
25286 @if libiberty-bootstrap
25287 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
25288 configure-stagefeedback-libiberty:
25289 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25291 @r=`${PWD_COMMAND}`; export r; \
25292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25293 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25294 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25295 $(HOST_EXPORTS) \
25296 $(POSTSTAGE1_HOST_EXPORTS) \
25297 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25298 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25299 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25300 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
25301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25302 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25303 case $(srcdir) in \
25304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25305 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25307 esac; \
25308 module_srcdir=libiberty; \
25309 $(SHELL) $$s/$$module_srcdir/configure \
25310 --srcdir=$${topdir}/$$module_srcdir \
25311 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25312 --target=${target_alias} \
25313 --with-build-libsubdir=$(HOST_SUBDIR) \
25314 $(STAGEfeedback_CONFIGURE_FLAGS) \
25315 @extra_host_libiberty_configure_flags@
25316 @endif libiberty-bootstrap
25318 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
25319 maybe-configure-stageautoprofile-libiberty:
25320 @if libiberty-bootstrap
25321 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
25322 configure-stageautoprofile-libiberty:
25323 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25324 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25325 @r=`${PWD_COMMAND}`; export r; \
25326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25327 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25328 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25329 $(HOST_EXPORTS) \
25330 $(POSTSTAGE1_HOST_EXPORTS) \
25331 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25332 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25333 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25334 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
25335 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25336 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25337 case $(srcdir) in \
25338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25339 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25341 esac; \
25342 module_srcdir=libiberty; \
25343 $(SHELL) $$s/$$module_srcdir/configure \
25344 --srcdir=$${topdir}/$$module_srcdir \
25345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25346 --target=${target_alias} \
25347 --with-build-libsubdir=$(HOST_SUBDIR) \
25348 $(STAGEautoprofile_CONFIGURE_FLAGS) \
25349 @extra_host_libiberty_configure_flags@
25350 @endif libiberty-bootstrap
25352 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
25353 maybe-configure-stageautofeedback-libiberty:
25354 @if libiberty-bootstrap
25355 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
25356 configure-stageautofeedback-libiberty:
25357 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
25359 @r=`${PWD_COMMAND}`; export r; \
25360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25361 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25362 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
25363 $(HOST_EXPORTS) \
25364 $(POSTSTAGE1_HOST_EXPORTS) \
25365 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25366 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25367 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25368 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
25369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
25370 cd $(HOST_SUBDIR)/libiberty || exit 1; \
25371 case $(srcdir) in \
25372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25373 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
25374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25375 esac; \
25376 module_srcdir=libiberty; \
25377 $(SHELL) $$s/$$module_srcdir/configure \
25378 --srcdir=$${topdir}/$$module_srcdir \
25379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25380 --target=${target_alias} \
25381 --with-build-libsubdir=$(HOST_SUBDIR) \
25382 $(STAGEautofeedback_CONFIGURE_FLAGS) \
25383 @extra_host_libiberty_configure_flags@
25384 @endif libiberty-bootstrap
25390 .PHONY: all-libiberty maybe-all-libiberty
25391 maybe-all-libiberty:
25392 @if gcc-bootstrap
25393 all-libiberty: stage_current
25394 @endif gcc-bootstrap
25395 @if libiberty
25396 TARGET-libiberty=all
25397 maybe-all-libiberty: all-libiberty
25398 all-libiberty: configure-libiberty
25399 @r=`${PWD_COMMAND}`; export r; \
25400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25401 $(HOST_EXPORTS) \
25402 (cd $(HOST_SUBDIR)/libiberty && \
25403 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25404 $(TARGET-libiberty))
25405 @endif libiberty
25409 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
25410 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
25411 maybe-all-stage1-libiberty:
25412 maybe-clean-stage1-libiberty:
25413 @if libiberty-bootstrap
25414 maybe-all-stage1-libiberty: all-stage1-libiberty
25415 all-stage1: all-stage1-libiberty
25416 TARGET-stage1-libiberty = $(TARGET-libiberty)
25417 all-stage1-libiberty: configure-stage1-libiberty
25418 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25419 @r=`${PWD_COMMAND}`; export r; \
25420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25421 TFLAGS="$(STAGE1_TFLAGS)"; \
25422 $(HOST_EXPORTS) \
25423 cd $(HOST_SUBDIR)/libiberty && \
25425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25426 CFLAGS="$(STAGE1_CFLAGS)" \
25427 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25428 LIBCFLAGS="$(LIBCFLAGS)" \
25429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25432 $(EXTRA_HOST_FLAGS) \
25433 $(STAGE1_FLAGS_TO_PASS) \
25434 TFLAGS="$(STAGE1_TFLAGS)" \
25435 $(TARGET-stage1-libiberty)
25437 maybe-clean-stage1-libiberty: clean-stage1-libiberty
25438 clean-stage1: clean-stage1-libiberty
25439 clean-stage1-libiberty:
25440 @if [ $(current_stage) = stage1 ]; then \
25441 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25442 else \
25443 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
25444 $(MAKE) stage1-start; \
25445 fi; \
25446 cd $(HOST_SUBDIR)/libiberty && \
25447 $(MAKE) $(EXTRA_HOST_FLAGS) \
25448 $(STAGE1_FLAGS_TO_PASS) clean
25449 @endif libiberty-bootstrap
25452 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
25453 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
25454 maybe-all-stage2-libiberty:
25455 maybe-clean-stage2-libiberty:
25456 @if libiberty-bootstrap
25457 maybe-all-stage2-libiberty: all-stage2-libiberty
25458 all-stage2: all-stage2-libiberty
25459 TARGET-stage2-libiberty = $(TARGET-libiberty)
25460 all-stage2-libiberty: configure-stage2-libiberty
25461 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25462 @r=`${PWD_COMMAND}`; export r; \
25463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25464 TFLAGS="$(STAGE2_TFLAGS)"; \
25465 $(HOST_EXPORTS) \
25466 $(POSTSTAGE1_HOST_EXPORTS) \
25467 cd $(HOST_SUBDIR)/libiberty && \
25469 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25470 CFLAGS="$(STAGE2_CFLAGS)" \
25471 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25472 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25473 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25474 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25475 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25476 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25477 TFLAGS="$(STAGE2_TFLAGS)" \
25478 $(TARGET-stage2-libiberty)
25480 maybe-clean-stage2-libiberty: clean-stage2-libiberty
25481 clean-stage2: clean-stage2-libiberty
25482 clean-stage2-libiberty:
25483 @if [ $(current_stage) = stage2 ]; then \
25484 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25485 else \
25486 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
25487 $(MAKE) stage2-start; \
25488 fi; \
25489 cd $(HOST_SUBDIR)/libiberty && \
25490 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25491 @endif libiberty-bootstrap
25494 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
25495 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
25496 maybe-all-stage3-libiberty:
25497 maybe-clean-stage3-libiberty:
25498 @if libiberty-bootstrap
25499 maybe-all-stage3-libiberty: all-stage3-libiberty
25500 all-stage3: all-stage3-libiberty
25501 TARGET-stage3-libiberty = $(TARGET-libiberty)
25502 all-stage3-libiberty: configure-stage3-libiberty
25503 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25504 @r=`${PWD_COMMAND}`; export r; \
25505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25506 TFLAGS="$(STAGE3_TFLAGS)"; \
25507 $(HOST_EXPORTS) \
25508 $(POSTSTAGE1_HOST_EXPORTS) \
25509 cd $(HOST_SUBDIR)/libiberty && \
25511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25512 CFLAGS="$(STAGE3_CFLAGS)" \
25513 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25514 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25519 TFLAGS="$(STAGE3_TFLAGS)" \
25520 $(TARGET-stage3-libiberty)
25522 maybe-clean-stage3-libiberty: clean-stage3-libiberty
25523 clean-stage3: clean-stage3-libiberty
25524 clean-stage3-libiberty:
25525 @if [ $(current_stage) = stage3 ]; then \
25526 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25527 else \
25528 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
25529 $(MAKE) stage3-start; \
25530 fi; \
25531 cd $(HOST_SUBDIR)/libiberty && \
25532 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25533 @endif libiberty-bootstrap
25536 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
25537 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
25538 maybe-all-stage4-libiberty:
25539 maybe-clean-stage4-libiberty:
25540 @if libiberty-bootstrap
25541 maybe-all-stage4-libiberty: all-stage4-libiberty
25542 all-stage4: all-stage4-libiberty
25543 TARGET-stage4-libiberty = $(TARGET-libiberty)
25544 all-stage4-libiberty: configure-stage4-libiberty
25545 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25546 @r=`${PWD_COMMAND}`; export r; \
25547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25548 TFLAGS="$(STAGE4_TFLAGS)"; \
25549 $(HOST_EXPORTS) \
25550 $(POSTSTAGE1_HOST_EXPORTS) \
25551 cd $(HOST_SUBDIR)/libiberty && \
25553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25554 CFLAGS="$(STAGE4_CFLAGS)" \
25555 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25556 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25557 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25558 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25559 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25560 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25561 TFLAGS="$(STAGE4_TFLAGS)" \
25562 $(TARGET-stage4-libiberty)
25564 maybe-clean-stage4-libiberty: clean-stage4-libiberty
25565 clean-stage4: clean-stage4-libiberty
25566 clean-stage4-libiberty:
25567 @if [ $(current_stage) = stage4 ]; then \
25568 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25569 else \
25570 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
25571 $(MAKE) stage4-start; \
25572 fi; \
25573 cd $(HOST_SUBDIR)/libiberty && \
25574 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25575 @endif libiberty-bootstrap
25578 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
25579 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
25580 maybe-all-stageprofile-libiberty:
25581 maybe-clean-stageprofile-libiberty:
25582 @if libiberty-bootstrap
25583 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
25584 all-stageprofile: all-stageprofile-libiberty
25585 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
25586 all-stageprofile-libiberty: configure-stageprofile-libiberty
25587 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25588 @r=`${PWD_COMMAND}`; export r; \
25589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25590 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25591 $(HOST_EXPORTS) \
25592 $(POSTSTAGE1_HOST_EXPORTS) \
25593 cd $(HOST_SUBDIR)/libiberty && \
25595 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25596 CFLAGS="$(STAGEprofile_CFLAGS)" \
25597 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25598 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25599 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25600 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25601 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25602 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25603 TFLAGS="$(STAGEprofile_TFLAGS)" \
25604 $(TARGET-stageprofile-libiberty)
25606 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
25607 clean-stageprofile: clean-stageprofile-libiberty
25608 clean-stageprofile-libiberty:
25609 @if [ $(current_stage) = stageprofile ]; then \
25610 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25611 else \
25612 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
25613 $(MAKE) stageprofile-start; \
25614 fi; \
25615 cd $(HOST_SUBDIR)/libiberty && \
25616 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25617 @endif libiberty-bootstrap
25620 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
25621 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
25622 maybe-all-stagefeedback-libiberty:
25623 maybe-clean-stagefeedback-libiberty:
25624 @if libiberty-bootstrap
25625 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
25626 all-stagefeedback: all-stagefeedback-libiberty
25627 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
25628 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
25629 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25630 @r=`${PWD_COMMAND}`; export r; \
25631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25632 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25633 $(HOST_EXPORTS) \
25634 $(POSTSTAGE1_HOST_EXPORTS) \
25635 cd $(HOST_SUBDIR)/libiberty && \
25637 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25638 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25639 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25640 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25644 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25645 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25646 $(TARGET-stagefeedback-libiberty)
25648 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
25649 clean-stagefeedback: clean-stagefeedback-libiberty
25650 clean-stagefeedback-libiberty:
25651 @if [ $(current_stage) = stagefeedback ]; then \
25652 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25653 else \
25654 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
25655 $(MAKE) stagefeedback-start; \
25656 fi; \
25657 cd $(HOST_SUBDIR)/libiberty && \
25658 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25659 @endif libiberty-bootstrap
25662 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
25663 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
25664 maybe-all-stageautoprofile-libiberty:
25665 maybe-clean-stageautoprofile-libiberty:
25666 @if libiberty-bootstrap
25667 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
25668 all-stageautoprofile: all-stageautoprofile-libiberty
25669 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
25670 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
25671 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25672 @r=`${PWD_COMMAND}`; export r; \
25673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25674 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25675 $(HOST_EXPORTS) \
25676 $(POSTSTAGE1_HOST_EXPORTS) \
25677 cd $(HOST_SUBDIR)/libiberty && \
25678 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25680 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25681 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25682 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25683 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25684 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25685 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25686 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25687 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25688 $(TARGET-stageautoprofile-libiberty)
25690 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
25691 clean-stageautoprofile: clean-stageautoprofile-libiberty
25692 clean-stageautoprofile-libiberty:
25693 @if [ $(current_stage) = stageautoprofile ]; then \
25694 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25695 else \
25696 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
25697 $(MAKE) stageautoprofile-start; \
25698 fi; \
25699 cd $(HOST_SUBDIR)/libiberty && \
25700 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25701 @endif libiberty-bootstrap
25704 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
25705 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
25706 maybe-all-stageautofeedback-libiberty:
25707 maybe-clean-stageautofeedback-libiberty:
25708 @if libiberty-bootstrap
25709 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
25710 all-stageautofeedback: all-stageautofeedback-libiberty
25711 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
25712 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
25713 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25714 @r=`${PWD_COMMAND}`; export r; \
25715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25716 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25717 $(HOST_EXPORTS) \
25718 $(POSTSTAGE1_HOST_EXPORTS) \
25719 cd $(HOST_SUBDIR)/libiberty && \
25721 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25722 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25723 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25724 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25725 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25726 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25727 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25728 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25729 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25730 $(TARGET-stageautofeedback-libiberty)
25732 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
25733 clean-stageautofeedback: clean-stageautofeedback-libiberty
25734 clean-stageautofeedback-libiberty:
25735 @if [ $(current_stage) = stageautofeedback ]; then \
25736 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
25737 else \
25738 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
25739 $(MAKE) stageautofeedback-start; \
25740 fi; \
25741 cd $(HOST_SUBDIR)/libiberty && \
25742 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25743 @endif libiberty-bootstrap
25749 .PHONY: check-libiberty maybe-check-libiberty
25750 maybe-check-libiberty:
25751 @if libiberty
25752 maybe-check-libiberty: check-libiberty
25754 check-libiberty:
25755 @: $(MAKE); $(unstage)
25756 @r=`${PWD_COMMAND}`; export r; \
25757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25758 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25759 (cd $(HOST_SUBDIR)/libiberty && \
25760 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25762 @endif libiberty
25764 .PHONY: install-libiberty maybe-install-libiberty
25765 maybe-install-libiberty:
25766 @if libiberty
25767 maybe-install-libiberty: install-libiberty
25769 install-libiberty: installdirs
25770 @: $(MAKE); $(unstage)
25771 @r=`${PWD_COMMAND}`; export r; \
25772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25773 $(HOST_EXPORTS) \
25774 (cd $(HOST_SUBDIR)/libiberty && \
25775 $(MAKE) $(FLAGS_TO_PASS) install)
25777 @endif libiberty
25779 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
25780 maybe-install-strip-libiberty:
25781 @if libiberty
25782 maybe-install-strip-libiberty: install-strip-libiberty
25784 install-strip-libiberty: installdirs
25785 @: $(MAKE); $(unstage)
25786 @r=`${PWD_COMMAND}`; export r; \
25787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25788 $(HOST_EXPORTS) \
25789 (cd $(HOST_SUBDIR)/libiberty && \
25790 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25792 @endif libiberty
25794 # Other targets (info, dvi, pdf, etc.)
25796 .PHONY: maybe-info-libiberty info-libiberty
25797 maybe-info-libiberty:
25798 @if libiberty
25799 maybe-info-libiberty: info-libiberty
25801 info-libiberty: \
25802 configure-libiberty
25803 @[ -f ./libiberty/Makefile ] || exit 0; \
25804 r=`${PWD_COMMAND}`; export r; \
25805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25806 $(HOST_EXPORTS) \
25807 for flag in $(EXTRA_HOST_FLAGS) ; do \
25808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25809 done; \
25810 echo "Doing info in libiberty"; \
25811 (cd $(HOST_SUBDIR)/libiberty && \
25812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25814 "RANLIB=$${RANLIB}" \
25815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25816 info) \
25817 || exit 1
25819 @endif libiberty
25821 .PHONY: maybe-dvi-libiberty dvi-libiberty
25822 maybe-dvi-libiberty:
25823 @if libiberty
25824 maybe-dvi-libiberty: dvi-libiberty
25826 dvi-libiberty: \
25827 configure-libiberty
25828 @[ -f ./libiberty/Makefile ] || exit 0; \
25829 r=`${PWD_COMMAND}`; export r; \
25830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25831 $(HOST_EXPORTS) \
25832 for flag in $(EXTRA_HOST_FLAGS) ; do \
25833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25834 done; \
25835 echo "Doing dvi in libiberty"; \
25836 (cd $(HOST_SUBDIR)/libiberty && \
25837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25839 "RANLIB=$${RANLIB}" \
25840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25841 dvi) \
25842 || exit 1
25844 @endif libiberty
25846 .PHONY: maybe-pdf-libiberty pdf-libiberty
25847 maybe-pdf-libiberty:
25848 @if libiberty
25849 maybe-pdf-libiberty: pdf-libiberty
25851 pdf-libiberty: \
25852 configure-libiberty
25853 @[ -f ./libiberty/Makefile ] || exit 0; \
25854 r=`${PWD_COMMAND}`; export r; \
25855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25856 $(HOST_EXPORTS) \
25857 for flag in $(EXTRA_HOST_FLAGS) ; do \
25858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25859 done; \
25860 echo "Doing pdf in libiberty"; \
25861 (cd $(HOST_SUBDIR)/libiberty && \
25862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25864 "RANLIB=$${RANLIB}" \
25865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25866 pdf) \
25867 || exit 1
25869 @endif libiberty
25871 .PHONY: maybe-html-libiberty html-libiberty
25872 maybe-html-libiberty:
25873 @if libiberty
25874 maybe-html-libiberty: html-libiberty
25876 html-libiberty: \
25877 configure-libiberty
25878 @[ -f ./libiberty/Makefile ] || exit 0; \
25879 r=`${PWD_COMMAND}`; export r; \
25880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25881 $(HOST_EXPORTS) \
25882 for flag in $(EXTRA_HOST_FLAGS) ; do \
25883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25884 done; \
25885 echo "Doing html in libiberty"; \
25886 (cd $(HOST_SUBDIR)/libiberty && \
25887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25889 "RANLIB=$${RANLIB}" \
25890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25891 html) \
25892 || exit 1
25894 @endif libiberty
25896 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
25897 maybe-TAGS-libiberty:
25898 @if libiberty
25899 maybe-TAGS-libiberty: TAGS-libiberty
25901 TAGS-libiberty: \
25902 configure-libiberty
25903 @[ -f ./libiberty/Makefile ] || exit 0; \
25904 r=`${PWD_COMMAND}`; export r; \
25905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25906 $(HOST_EXPORTS) \
25907 for flag in $(EXTRA_HOST_FLAGS) ; do \
25908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25909 done; \
25910 echo "Doing TAGS in libiberty"; \
25911 (cd $(HOST_SUBDIR)/libiberty && \
25912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25914 "RANLIB=$${RANLIB}" \
25915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25916 TAGS) \
25917 || exit 1
25919 @endif libiberty
25921 .PHONY: maybe-install-info-libiberty install-info-libiberty
25922 maybe-install-info-libiberty:
25923 @if libiberty
25924 maybe-install-info-libiberty: install-info-libiberty
25926 install-info-libiberty: \
25927 configure-libiberty \
25928 info-libiberty
25929 @[ -f ./libiberty/Makefile ] || exit 0; \
25930 r=`${PWD_COMMAND}`; export r; \
25931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25932 $(HOST_EXPORTS) \
25933 for flag in $(EXTRA_HOST_FLAGS) ; do \
25934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25935 done; \
25936 echo "Doing install-info in libiberty"; \
25937 (cd $(HOST_SUBDIR)/libiberty && \
25938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25940 "RANLIB=$${RANLIB}" \
25941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25942 install-info) \
25943 || exit 1
25945 @endif libiberty
25947 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
25948 maybe-install-pdf-libiberty:
25949 @if libiberty
25950 maybe-install-pdf-libiberty: install-pdf-libiberty
25952 install-pdf-libiberty: \
25953 configure-libiberty \
25954 pdf-libiberty
25955 @[ -f ./libiberty/Makefile ] || exit 0; \
25956 r=`${PWD_COMMAND}`; export r; \
25957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25958 $(HOST_EXPORTS) \
25959 for flag in $(EXTRA_HOST_FLAGS) ; do \
25960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25961 done; \
25962 echo "Doing install-pdf in libiberty"; \
25963 (cd $(HOST_SUBDIR)/libiberty && \
25964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25966 "RANLIB=$${RANLIB}" \
25967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25968 install-pdf) \
25969 || exit 1
25971 @endif libiberty
25973 .PHONY: maybe-install-html-libiberty install-html-libiberty
25974 maybe-install-html-libiberty:
25975 @if libiberty
25976 maybe-install-html-libiberty: install-html-libiberty
25978 install-html-libiberty: \
25979 configure-libiberty \
25980 html-libiberty
25981 @[ -f ./libiberty/Makefile ] || exit 0; \
25982 r=`${PWD_COMMAND}`; export r; \
25983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25984 $(HOST_EXPORTS) \
25985 for flag in $(EXTRA_HOST_FLAGS) ; do \
25986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25987 done; \
25988 echo "Doing install-html in libiberty"; \
25989 (cd $(HOST_SUBDIR)/libiberty && \
25990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25992 "RANLIB=$${RANLIB}" \
25993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25994 install-html) \
25995 || exit 1
25997 @endif libiberty
25999 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
26000 maybe-installcheck-libiberty:
26001 @if libiberty
26002 maybe-installcheck-libiberty: installcheck-libiberty
26004 installcheck-libiberty: \
26005 configure-libiberty
26006 @[ -f ./libiberty/Makefile ] || exit 0; \
26007 r=`${PWD_COMMAND}`; export r; \
26008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26009 $(HOST_EXPORTS) \
26010 for flag in $(EXTRA_HOST_FLAGS) ; do \
26011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26012 done; \
26013 echo "Doing installcheck in libiberty"; \
26014 (cd $(HOST_SUBDIR)/libiberty && \
26015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26017 "RANLIB=$${RANLIB}" \
26018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26019 installcheck) \
26020 || exit 1
26022 @endif libiberty
26024 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
26025 maybe-mostlyclean-libiberty:
26026 @if libiberty
26027 maybe-mostlyclean-libiberty: mostlyclean-libiberty
26029 mostlyclean-libiberty:
26030 @[ -f ./libiberty/Makefile ] || exit 0; \
26031 r=`${PWD_COMMAND}`; export r; \
26032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26033 $(HOST_EXPORTS) \
26034 for flag in $(EXTRA_HOST_FLAGS) ; do \
26035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26036 done; \
26037 echo "Doing mostlyclean in libiberty"; \
26038 (cd $(HOST_SUBDIR)/libiberty && \
26039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26041 "RANLIB=$${RANLIB}" \
26042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26043 mostlyclean) \
26044 || exit 1
26046 @endif libiberty
26048 .PHONY: maybe-clean-libiberty clean-libiberty
26049 maybe-clean-libiberty:
26050 @if libiberty
26051 maybe-clean-libiberty: clean-libiberty
26053 clean-libiberty:
26054 @[ -f ./libiberty/Makefile ] || exit 0; \
26055 r=`${PWD_COMMAND}`; export r; \
26056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26057 $(HOST_EXPORTS) \
26058 for flag in $(EXTRA_HOST_FLAGS) ; do \
26059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26060 done; \
26061 echo "Doing clean in libiberty"; \
26062 (cd $(HOST_SUBDIR)/libiberty && \
26063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26065 "RANLIB=$${RANLIB}" \
26066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26067 clean) \
26068 || exit 1
26070 @endif libiberty
26072 .PHONY: maybe-distclean-libiberty distclean-libiberty
26073 maybe-distclean-libiberty:
26074 @if libiberty
26075 maybe-distclean-libiberty: distclean-libiberty
26077 distclean-libiberty:
26078 @[ -f ./libiberty/Makefile ] || exit 0; \
26079 r=`${PWD_COMMAND}`; export r; \
26080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26081 $(HOST_EXPORTS) \
26082 for flag in $(EXTRA_HOST_FLAGS) ; do \
26083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26084 done; \
26085 echo "Doing distclean in libiberty"; \
26086 (cd $(HOST_SUBDIR)/libiberty && \
26087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26089 "RANLIB=$${RANLIB}" \
26090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26091 distclean) \
26092 || exit 1
26094 @endif libiberty
26096 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
26097 maybe-maintainer-clean-libiberty:
26098 @if libiberty
26099 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
26101 maintainer-clean-libiberty:
26102 @[ -f ./libiberty/Makefile ] || exit 0; \
26103 r=`${PWD_COMMAND}`; export r; \
26104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26105 $(HOST_EXPORTS) \
26106 for flag in $(EXTRA_HOST_FLAGS) ; do \
26107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26108 done; \
26109 echo "Doing maintainer-clean in libiberty"; \
26110 (cd $(HOST_SUBDIR)/libiberty && \
26111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26113 "RANLIB=$${RANLIB}" \
26114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26115 maintainer-clean) \
26116 || exit 1
26118 @endif libiberty
26122 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
26123 maybe-configure-libiberty-linker-plugin:
26124 @if gcc-bootstrap
26125 configure-libiberty-linker-plugin: stage_current
26126 @endif gcc-bootstrap
26127 @if libiberty-linker-plugin
26128 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
26129 configure-libiberty-linker-plugin:
26130 @r=`${PWD_COMMAND}`; export r; \
26131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26132 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26134 $(HOST_EXPORTS) \
26135 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26136 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
26137 case $(srcdir) in \
26138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26139 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26141 esac; \
26142 module_srcdir=libiberty; \
26143 $(SHELL) \
26144 $$s/$$module_srcdir/configure \
26145 --srcdir=$${topdir}/$$module_srcdir \
26146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26147 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
26148 || exit 1
26149 @endif libiberty-linker-plugin
26153 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
26154 maybe-configure-stage1-libiberty-linker-plugin:
26155 @if libiberty-linker-plugin-bootstrap
26156 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
26157 configure-stage1-libiberty-linker-plugin:
26158 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26159 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26160 @r=`${PWD_COMMAND}`; export r; \
26161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26162 TFLAGS="$(STAGE1_TFLAGS)"; \
26163 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26164 $(HOST_EXPORTS) \
26165 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26166 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26167 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26168 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26170 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26171 case $(srcdir) in \
26172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26173 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26175 esac; \
26176 module_srcdir=libiberty; \
26177 $(SHELL) $$s/$$module_srcdir/configure \
26178 --srcdir=$${topdir}/$$module_srcdir \
26179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26180 --target=${target_alias} \
26182 $(STAGE1_CONFIGURE_FLAGS) \
26183 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26184 @endif libiberty-linker-plugin-bootstrap
26186 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
26187 maybe-configure-stage2-libiberty-linker-plugin:
26188 @if libiberty-linker-plugin-bootstrap
26189 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
26190 configure-stage2-libiberty-linker-plugin:
26191 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26193 @r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 TFLAGS="$(STAGE2_TFLAGS)"; \
26196 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26197 $(HOST_EXPORTS) \
26198 $(POSTSTAGE1_HOST_EXPORTS) \
26199 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26200 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26201 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26202 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26204 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26205 case $(srcdir) in \
26206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26207 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26209 esac; \
26210 module_srcdir=libiberty; \
26211 $(SHELL) $$s/$$module_srcdir/configure \
26212 --srcdir=$${topdir}/$$module_srcdir \
26213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26214 --target=${target_alias} \
26215 --with-build-libsubdir=$(HOST_SUBDIR) \
26216 $(STAGE2_CONFIGURE_FLAGS) \
26217 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26218 @endif libiberty-linker-plugin-bootstrap
26220 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
26221 maybe-configure-stage3-libiberty-linker-plugin:
26222 @if libiberty-linker-plugin-bootstrap
26223 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
26224 configure-stage3-libiberty-linker-plugin:
26225 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26227 @r=`${PWD_COMMAND}`; export r; \
26228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26229 TFLAGS="$(STAGE3_TFLAGS)"; \
26230 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26231 $(HOST_EXPORTS) \
26232 $(POSTSTAGE1_HOST_EXPORTS) \
26233 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26234 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26235 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26236 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26238 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26239 case $(srcdir) in \
26240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26241 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26243 esac; \
26244 module_srcdir=libiberty; \
26245 $(SHELL) $$s/$$module_srcdir/configure \
26246 --srcdir=$${topdir}/$$module_srcdir \
26247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26248 --target=${target_alias} \
26249 --with-build-libsubdir=$(HOST_SUBDIR) \
26250 $(STAGE3_CONFIGURE_FLAGS) \
26251 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26252 @endif libiberty-linker-plugin-bootstrap
26254 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
26255 maybe-configure-stage4-libiberty-linker-plugin:
26256 @if libiberty-linker-plugin-bootstrap
26257 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
26258 configure-stage4-libiberty-linker-plugin:
26259 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26260 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26261 @r=`${PWD_COMMAND}`; export r; \
26262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26263 TFLAGS="$(STAGE4_TFLAGS)"; \
26264 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26265 $(HOST_EXPORTS) \
26266 $(POSTSTAGE1_HOST_EXPORTS) \
26267 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26268 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26269 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26270 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26272 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26273 case $(srcdir) in \
26274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26275 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26277 esac; \
26278 module_srcdir=libiberty; \
26279 $(SHELL) $$s/$$module_srcdir/configure \
26280 --srcdir=$${topdir}/$$module_srcdir \
26281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26282 --target=${target_alias} \
26283 --with-build-libsubdir=$(HOST_SUBDIR) \
26284 $(STAGE4_CONFIGURE_FLAGS) \
26285 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26286 @endif libiberty-linker-plugin-bootstrap
26288 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
26289 maybe-configure-stageprofile-libiberty-linker-plugin:
26290 @if libiberty-linker-plugin-bootstrap
26291 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
26292 configure-stageprofile-libiberty-linker-plugin:
26293 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26295 @r=`${PWD_COMMAND}`; export r; \
26296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26297 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26298 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26299 $(HOST_EXPORTS) \
26300 $(POSTSTAGE1_HOST_EXPORTS) \
26301 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26302 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26303 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26304 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26306 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26307 case $(srcdir) in \
26308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26309 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26311 esac; \
26312 module_srcdir=libiberty; \
26313 $(SHELL) $$s/$$module_srcdir/configure \
26314 --srcdir=$${topdir}/$$module_srcdir \
26315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26316 --target=${target_alias} \
26317 --with-build-libsubdir=$(HOST_SUBDIR) \
26318 $(STAGEprofile_CONFIGURE_FLAGS) \
26319 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26320 @endif libiberty-linker-plugin-bootstrap
26322 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
26323 maybe-configure-stagefeedback-libiberty-linker-plugin:
26324 @if libiberty-linker-plugin-bootstrap
26325 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
26326 configure-stagefeedback-libiberty-linker-plugin:
26327 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26328 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26329 @r=`${PWD_COMMAND}`; export r; \
26330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26331 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26332 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26333 $(HOST_EXPORTS) \
26334 $(POSTSTAGE1_HOST_EXPORTS) \
26335 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26336 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26337 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26338 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26340 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26341 case $(srcdir) in \
26342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26343 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26345 esac; \
26346 module_srcdir=libiberty; \
26347 $(SHELL) $$s/$$module_srcdir/configure \
26348 --srcdir=$${topdir}/$$module_srcdir \
26349 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26350 --target=${target_alias} \
26351 --with-build-libsubdir=$(HOST_SUBDIR) \
26352 $(STAGEfeedback_CONFIGURE_FLAGS) \
26353 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26354 @endif libiberty-linker-plugin-bootstrap
26356 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
26357 maybe-configure-stageautoprofile-libiberty-linker-plugin:
26358 @if libiberty-linker-plugin-bootstrap
26359 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
26360 configure-stageautoprofile-libiberty-linker-plugin:
26361 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26362 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26363 @r=`${PWD_COMMAND}`; export r; \
26364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26365 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26366 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26367 $(HOST_EXPORTS) \
26368 $(POSTSTAGE1_HOST_EXPORTS) \
26369 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26370 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26371 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26372 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26374 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26375 case $(srcdir) in \
26376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26377 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26379 esac; \
26380 module_srcdir=libiberty; \
26381 $(SHELL) $$s/$$module_srcdir/configure \
26382 --srcdir=$${topdir}/$$module_srcdir \
26383 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26384 --target=${target_alias} \
26385 --with-build-libsubdir=$(HOST_SUBDIR) \
26386 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26387 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26388 @endif libiberty-linker-plugin-bootstrap
26390 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
26391 maybe-configure-stageautofeedback-libiberty-linker-plugin:
26392 @if libiberty-linker-plugin-bootstrap
26393 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
26394 configure-stageautofeedback-libiberty-linker-plugin:
26395 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26396 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
26397 @r=`${PWD_COMMAND}`; export r; \
26398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26399 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26400 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
26401 $(HOST_EXPORTS) \
26402 $(POSTSTAGE1_HOST_EXPORTS) \
26403 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26404 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26405 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26406 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
26407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
26408 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
26409 case $(srcdir) in \
26410 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26411 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
26412 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26413 esac; \
26414 module_srcdir=libiberty; \
26415 $(SHELL) $$s/$$module_srcdir/configure \
26416 --srcdir=$${topdir}/$$module_srcdir \
26417 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26418 --target=${target_alias} \
26419 --with-build-libsubdir=$(HOST_SUBDIR) \
26420 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26421 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
26422 @endif libiberty-linker-plugin-bootstrap
26428 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
26429 maybe-all-libiberty-linker-plugin:
26430 @if gcc-bootstrap
26431 all-libiberty-linker-plugin: stage_current
26432 @endif gcc-bootstrap
26433 @if libiberty-linker-plugin
26434 TARGET-libiberty-linker-plugin=all
26435 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
26436 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
26437 @r=`${PWD_COMMAND}`; export r; \
26438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 $(HOST_EXPORTS) \
26440 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26441 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26442 $(TARGET-libiberty-linker-plugin))
26443 @endif libiberty-linker-plugin
26447 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
26448 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
26449 maybe-all-stage1-libiberty-linker-plugin:
26450 maybe-clean-stage1-libiberty-linker-plugin:
26451 @if libiberty-linker-plugin-bootstrap
26452 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
26453 all-stage1: all-stage1-libiberty-linker-plugin
26454 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26455 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
26456 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26457 @r=`${PWD_COMMAND}`; export r; \
26458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26459 TFLAGS="$(STAGE1_TFLAGS)"; \
26460 $(HOST_EXPORTS) \
26461 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26464 CFLAGS="$(STAGE1_CFLAGS)" \
26465 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26466 LIBCFLAGS="$(LIBCFLAGS)" \
26467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26470 $(EXTRA_HOST_FLAGS) \
26471 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26472 TFLAGS="$(STAGE1_TFLAGS)" \
26473 $(TARGET-stage1-libiberty-linker-plugin)
26475 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
26476 clean-stage1: clean-stage1-libiberty-linker-plugin
26477 clean-stage1-libiberty-linker-plugin:
26478 @if [ $(current_stage) = stage1 ]; then \
26479 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26480 else \
26481 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
26482 $(MAKE) stage1-start; \
26483 fi; \
26484 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26485 $(MAKE) $(EXTRA_HOST_FLAGS) \
26486 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26487 @endif libiberty-linker-plugin-bootstrap
26490 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
26491 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
26492 maybe-all-stage2-libiberty-linker-plugin:
26493 maybe-clean-stage2-libiberty-linker-plugin:
26494 @if libiberty-linker-plugin-bootstrap
26495 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
26496 all-stage2: all-stage2-libiberty-linker-plugin
26497 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26498 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
26499 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26500 @r=`${PWD_COMMAND}`; export r; \
26501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26502 TFLAGS="$(STAGE2_TFLAGS)"; \
26503 $(HOST_EXPORTS) \
26504 $(POSTSTAGE1_HOST_EXPORTS) \
26505 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26508 CFLAGS="$(STAGE2_CFLAGS)" \
26509 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26510 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26511 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26512 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26513 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26514 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26515 TFLAGS="$(STAGE2_TFLAGS)" \
26516 $(TARGET-stage2-libiberty-linker-plugin)
26518 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
26519 clean-stage2: clean-stage2-libiberty-linker-plugin
26520 clean-stage2-libiberty-linker-plugin:
26521 @if [ $(current_stage) = stage2 ]; then \
26522 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26523 else \
26524 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
26525 $(MAKE) stage2-start; \
26526 fi; \
26527 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26528 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26529 @endif libiberty-linker-plugin-bootstrap
26532 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
26533 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
26534 maybe-all-stage3-libiberty-linker-plugin:
26535 maybe-clean-stage3-libiberty-linker-plugin:
26536 @if libiberty-linker-plugin-bootstrap
26537 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
26538 all-stage3: all-stage3-libiberty-linker-plugin
26539 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26540 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
26541 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26542 @r=`${PWD_COMMAND}`; export r; \
26543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26544 TFLAGS="$(STAGE3_TFLAGS)"; \
26545 $(HOST_EXPORTS) \
26546 $(POSTSTAGE1_HOST_EXPORTS) \
26547 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26549 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26550 CFLAGS="$(STAGE3_CFLAGS)" \
26551 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26552 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26553 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26554 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26555 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26556 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26557 TFLAGS="$(STAGE3_TFLAGS)" \
26558 $(TARGET-stage3-libiberty-linker-plugin)
26560 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
26561 clean-stage3: clean-stage3-libiberty-linker-plugin
26562 clean-stage3-libiberty-linker-plugin:
26563 @if [ $(current_stage) = stage3 ]; then \
26564 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26565 else \
26566 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
26567 $(MAKE) stage3-start; \
26568 fi; \
26569 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26570 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26571 @endif libiberty-linker-plugin-bootstrap
26574 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
26575 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
26576 maybe-all-stage4-libiberty-linker-plugin:
26577 maybe-clean-stage4-libiberty-linker-plugin:
26578 @if libiberty-linker-plugin-bootstrap
26579 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
26580 all-stage4: all-stage4-libiberty-linker-plugin
26581 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26582 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
26583 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26584 @r=`${PWD_COMMAND}`; export r; \
26585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26586 TFLAGS="$(STAGE4_TFLAGS)"; \
26587 $(HOST_EXPORTS) \
26588 $(POSTSTAGE1_HOST_EXPORTS) \
26589 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26592 CFLAGS="$(STAGE4_CFLAGS)" \
26593 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26594 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26598 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26599 TFLAGS="$(STAGE4_TFLAGS)" \
26600 $(TARGET-stage4-libiberty-linker-plugin)
26602 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
26603 clean-stage4: clean-stage4-libiberty-linker-plugin
26604 clean-stage4-libiberty-linker-plugin:
26605 @if [ $(current_stage) = stage4 ]; then \
26606 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26607 else \
26608 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
26609 $(MAKE) stage4-start; \
26610 fi; \
26611 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26612 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26613 @endif libiberty-linker-plugin-bootstrap
26616 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
26617 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
26618 maybe-all-stageprofile-libiberty-linker-plugin:
26619 maybe-clean-stageprofile-libiberty-linker-plugin:
26620 @if libiberty-linker-plugin-bootstrap
26621 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
26622 all-stageprofile: all-stageprofile-libiberty-linker-plugin
26623 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26624 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
26625 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26626 @r=`${PWD_COMMAND}`; export r; \
26627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26628 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26629 $(HOST_EXPORTS) \
26630 $(POSTSTAGE1_HOST_EXPORTS) \
26631 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26634 CFLAGS="$(STAGEprofile_CFLAGS)" \
26635 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26636 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26637 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26638 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26639 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26640 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26641 TFLAGS="$(STAGEprofile_TFLAGS)" \
26642 $(TARGET-stageprofile-libiberty-linker-plugin)
26644 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
26645 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
26646 clean-stageprofile-libiberty-linker-plugin:
26647 @if [ $(current_stage) = stageprofile ]; then \
26648 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26649 else \
26650 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
26651 $(MAKE) stageprofile-start; \
26652 fi; \
26653 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26654 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26655 @endif libiberty-linker-plugin-bootstrap
26658 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
26659 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
26660 maybe-all-stagefeedback-libiberty-linker-plugin:
26661 maybe-clean-stagefeedback-libiberty-linker-plugin:
26662 @if libiberty-linker-plugin-bootstrap
26663 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
26664 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
26665 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26666 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
26667 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26668 @r=`${PWD_COMMAND}`; export r; \
26669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26670 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26671 $(HOST_EXPORTS) \
26672 $(POSTSTAGE1_HOST_EXPORTS) \
26673 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26675 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26676 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26677 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26678 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26682 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26683 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26684 $(TARGET-stagefeedback-libiberty-linker-plugin)
26686 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
26687 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
26688 clean-stagefeedback-libiberty-linker-plugin:
26689 @if [ $(current_stage) = stagefeedback ]; then \
26690 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26691 else \
26692 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
26693 $(MAKE) stagefeedback-start; \
26694 fi; \
26695 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26696 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26697 @endif libiberty-linker-plugin-bootstrap
26700 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
26701 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
26702 maybe-all-stageautoprofile-libiberty-linker-plugin:
26703 maybe-clean-stageautoprofile-libiberty-linker-plugin:
26704 @if libiberty-linker-plugin-bootstrap
26705 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
26706 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
26707 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26708 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
26709 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26710 @r=`${PWD_COMMAND}`; export r; \
26711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26712 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26713 $(HOST_EXPORTS) \
26714 $(POSTSTAGE1_HOST_EXPORTS) \
26715 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26716 $$s/gcc/config/i386/$(AUTO_PROFILE) \
26717 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26718 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
26719 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
26720 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
26721 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26722 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26723 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26724 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26725 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
26726 $(TARGET-stageautoprofile-libiberty-linker-plugin)
26728 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
26729 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
26730 clean-stageautoprofile-libiberty-linker-plugin:
26731 @if [ $(current_stage) = stageautoprofile ]; then \
26732 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26733 else \
26734 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
26735 $(MAKE) stageautoprofile-start; \
26736 fi; \
26737 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26738 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26739 @endif libiberty-linker-plugin-bootstrap
26742 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
26743 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
26744 maybe-all-stageautofeedback-libiberty-linker-plugin:
26745 maybe-clean-stageautofeedback-libiberty-linker-plugin:
26746 @if libiberty-linker-plugin-bootstrap
26747 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
26748 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
26749 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
26750 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
26751 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26752 @r=`${PWD_COMMAND}`; export r; \
26753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26754 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26755 $(HOST_EXPORTS) \
26756 $(POSTSTAGE1_HOST_EXPORTS) \
26757 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26759 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26760 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
26761 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
26762 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
26763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26766 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
26767 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
26768 $(TARGET-stageautofeedback-libiberty-linker-plugin)
26770 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
26771 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
26772 clean-stageautofeedback-libiberty-linker-plugin:
26773 @if [ $(current_stage) = stageautofeedback ]; then \
26774 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
26775 else \
26776 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
26777 $(MAKE) stageautofeedback-start; \
26778 fi; \
26779 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26780 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
26781 @endif libiberty-linker-plugin-bootstrap
26787 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
26788 maybe-check-libiberty-linker-plugin:
26789 @if libiberty-linker-plugin
26790 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
26792 check-libiberty-linker-plugin:
26793 @: $(MAKE); $(unstage)
26794 @r=`${PWD_COMMAND}`; export r; \
26795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26796 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
26797 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26798 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
26800 @endif libiberty-linker-plugin
26802 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
26803 maybe-install-libiberty-linker-plugin:
26804 @if libiberty-linker-plugin
26805 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
26807 install-libiberty-linker-plugin: installdirs
26808 @: $(MAKE); $(unstage)
26809 @r=`${PWD_COMMAND}`; export r; \
26810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26811 $(HOST_EXPORTS) \
26812 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26813 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
26815 @endif libiberty-linker-plugin
26817 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
26818 maybe-install-strip-libiberty-linker-plugin:
26819 @if libiberty-linker-plugin
26820 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
26822 install-strip-libiberty-linker-plugin: installdirs
26823 @: $(MAKE); $(unstage)
26824 @r=`${PWD_COMMAND}`; export r; \
26825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26826 $(HOST_EXPORTS) \
26827 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26828 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
26830 @endif libiberty-linker-plugin
26832 # Other targets (info, dvi, pdf, etc.)
26834 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
26835 maybe-info-libiberty-linker-plugin:
26836 @if libiberty-linker-plugin
26837 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
26839 info-libiberty-linker-plugin: \
26840 configure-libiberty-linker-plugin
26841 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26842 r=`${PWD_COMMAND}`; export r; \
26843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26844 $(HOST_EXPORTS) \
26845 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26847 done; \
26848 echo "Doing info in libiberty-linker-plugin"; \
26849 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26852 "RANLIB=$${RANLIB}" \
26853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26854 info) \
26855 || exit 1
26857 @endif libiberty-linker-plugin
26859 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
26860 maybe-dvi-libiberty-linker-plugin:
26861 @if libiberty-linker-plugin
26862 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
26864 dvi-libiberty-linker-plugin: \
26865 configure-libiberty-linker-plugin
26866 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26867 r=`${PWD_COMMAND}`; export r; \
26868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26869 $(HOST_EXPORTS) \
26870 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26872 done; \
26873 echo "Doing dvi in libiberty-linker-plugin"; \
26874 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26877 "RANLIB=$${RANLIB}" \
26878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26879 dvi) \
26880 || exit 1
26882 @endif libiberty-linker-plugin
26884 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
26885 maybe-pdf-libiberty-linker-plugin:
26886 @if libiberty-linker-plugin
26887 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
26889 pdf-libiberty-linker-plugin: \
26890 configure-libiberty-linker-plugin
26891 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26892 r=`${PWD_COMMAND}`; export r; \
26893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26894 $(HOST_EXPORTS) \
26895 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26897 done; \
26898 echo "Doing pdf in libiberty-linker-plugin"; \
26899 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26902 "RANLIB=$${RANLIB}" \
26903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26904 pdf) \
26905 || exit 1
26907 @endif libiberty-linker-plugin
26909 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
26910 maybe-html-libiberty-linker-plugin:
26911 @if libiberty-linker-plugin
26912 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
26914 html-libiberty-linker-plugin: \
26915 configure-libiberty-linker-plugin
26916 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26917 r=`${PWD_COMMAND}`; export r; \
26918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26919 $(HOST_EXPORTS) \
26920 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26922 done; \
26923 echo "Doing html in libiberty-linker-plugin"; \
26924 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26927 "RANLIB=$${RANLIB}" \
26928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26929 html) \
26930 || exit 1
26932 @endif libiberty-linker-plugin
26934 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
26935 maybe-TAGS-libiberty-linker-plugin:
26936 @if libiberty-linker-plugin
26937 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
26939 TAGS-libiberty-linker-plugin: \
26940 configure-libiberty-linker-plugin
26941 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26942 r=`${PWD_COMMAND}`; export r; \
26943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26944 $(HOST_EXPORTS) \
26945 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26947 done; \
26948 echo "Doing TAGS in libiberty-linker-plugin"; \
26949 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26952 "RANLIB=$${RANLIB}" \
26953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26954 TAGS) \
26955 || exit 1
26957 @endif libiberty-linker-plugin
26959 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
26960 maybe-install-info-libiberty-linker-plugin:
26961 @if libiberty-linker-plugin
26962 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
26964 install-info-libiberty-linker-plugin: \
26965 configure-libiberty-linker-plugin \
26966 info-libiberty-linker-plugin
26967 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26968 r=`${PWD_COMMAND}`; export r; \
26969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26970 $(HOST_EXPORTS) \
26971 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26973 done; \
26974 echo "Doing install-info in libiberty-linker-plugin"; \
26975 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
26976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26978 "RANLIB=$${RANLIB}" \
26979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26980 install-info) \
26981 || exit 1
26983 @endif libiberty-linker-plugin
26985 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
26986 maybe-install-pdf-libiberty-linker-plugin:
26987 @if libiberty-linker-plugin
26988 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
26990 install-pdf-libiberty-linker-plugin: \
26991 configure-libiberty-linker-plugin \
26992 pdf-libiberty-linker-plugin
26993 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
26994 r=`${PWD_COMMAND}`; export r; \
26995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26996 $(HOST_EXPORTS) \
26997 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
26998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26999 done; \
27000 echo "Doing install-pdf in libiberty-linker-plugin"; \
27001 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27004 "RANLIB=$${RANLIB}" \
27005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27006 install-pdf) \
27007 || exit 1
27009 @endif libiberty-linker-plugin
27011 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
27012 maybe-install-html-libiberty-linker-plugin:
27013 @if libiberty-linker-plugin
27014 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
27016 install-html-libiberty-linker-plugin: \
27017 configure-libiberty-linker-plugin \
27018 html-libiberty-linker-plugin
27019 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27020 r=`${PWD_COMMAND}`; export r; \
27021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27022 $(HOST_EXPORTS) \
27023 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27025 done; \
27026 echo "Doing install-html in libiberty-linker-plugin"; \
27027 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27030 "RANLIB=$${RANLIB}" \
27031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27032 install-html) \
27033 || exit 1
27035 @endif libiberty-linker-plugin
27037 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
27038 maybe-installcheck-libiberty-linker-plugin:
27039 @if libiberty-linker-plugin
27040 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
27042 installcheck-libiberty-linker-plugin: \
27043 configure-libiberty-linker-plugin
27044 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27045 r=`${PWD_COMMAND}`; export r; \
27046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27047 $(HOST_EXPORTS) \
27048 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27050 done; \
27051 echo "Doing installcheck in libiberty-linker-plugin"; \
27052 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27055 "RANLIB=$${RANLIB}" \
27056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27057 installcheck) \
27058 || exit 1
27060 @endif libiberty-linker-plugin
27062 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
27063 maybe-mostlyclean-libiberty-linker-plugin:
27064 @if libiberty-linker-plugin
27065 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
27067 mostlyclean-libiberty-linker-plugin:
27068 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27069 r=`${PWD_COMMAND}`; export r; \
27070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27071 $(HOST_EXPORTS) \
27072 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27074 done; \
27075 echo "Doing mostlyclean in libiberty-linker-plugin"; \
27076 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27079 "RANLIB=$${RANLIB}" \
27080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27081 mostlyclean) \
27082 || exit 1
27084 @endif libiberty-linker-plugin
27086 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
27087 maybe-clean-libiberty-linker-plugin:
27088 @if libiberty-linker-plugin
27089 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
27091 clean-libiberty-linker-plugin:
27092 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27093 r=`${PWD_COMMAND}`; export r; \
27094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27095 $(HOST_EXPORTS) \
27096 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27098 done; \
27099 echo "Doing clean in libiberty-linker-plugin"; \
27100 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27103 "RANLIB=$${RANLIB}" \
27104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27105 clean) \
27106 || exit 1
27108 @endif libiberty-linker-plugin
27110 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
27111 maybe-distclean-libiberty-linker-plugin:
27112 @if libiberty-linker-plugin
27113 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
27115 distclean-libiberty-linker-plugin:
27116 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27117 r=`${PWD_COMMAND}`; export r; \
27118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27119 $(HOST_EXPORTS) \
27120 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27122 done; \
27123 echo "Doing distclean in libiberty-linker-plugin"; \
27124 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27127 "RANLIB=$${RANLIB}" \
27128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27129 distclean) \
27130 || exit 1
27132 @endif libiberty-linker-plugin
27134 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
27135 maybe-maintainer-clean-libiberty-linker-plugin:
27136 @if libiberty-linker-plugin
27137 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
27139 maintainer-clean-libiberty-linker-plugin:
27140 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
27141 r=`${PWD_COMMAND}`; export r; \
27142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27143 $(HOST_EXPORTS) \
27144 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
27145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27146 done; \
27147 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
27148 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27151 "RANLIB=$${RANLIB}" \
27152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27153 maintainer-clean) \
27154 || exit 1
27156 @endif libiberty-linker-plugin
27160 .PHONY: configure-libiconv maybe-configure-libiconv
27161 maybe-configure-libiconv:
27162 @if gcc-bootstrap
27163 configure-libiconv: stage_current
27164 @endif gcc-bootstrap
27165 @if libiconv
27166 maybe-configure-libiconv: configure-libiconv
27167 configure-libiconv:
27168 @r=`${PWD_COMMAND}`; export r; \
27169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27170 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27172 $(HOST_EXPORTS) \
27173 echo Configuring in $(HOST_SUBDIR)/libiconv; \
27174 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
27175 case $(srcdir) in \
27176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27177 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27179 esac; \
27180 module_srcdir=libiconv; \
27181 $(SHELL) \
27182 $$s/$$module_srcdir/configure \
27183 --srcdir=$${topdir}/$$module_srcdir \
27184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27185 --target=${target_alias} --disable-shared \
27186 || exit 1
27187 @endif libiconv
27191 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
27192 maybe-configure-stage1-libiconv:
27193 @if libiconv-bootstrap
27194 maybe-configure-stage1-libiconv: configure-stage1-libiconv
27195 configure-stage1-libiconv:
27196 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27197 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27198 @r=`${PWD_COMMAND}`; export r; \
27199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27200 TFLAGS="$(STAGE1_TFLAGS)"; \
27201 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27202 $(HOST_EXPORTS) \
27203 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27204 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27205 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27206 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
27207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27208 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27209 case $(srcdir) in \
27210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27211 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27213 esac; \
27214 module_srcdir=libiconv; \
27215 $(SHELL) $$s/$$module_srcdir/configure \
27216 --srcdir=$${topdir}/$$module_srcdir \
27217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27218 --target=${target_alias} \
27220 $(STAGE1_CONFIGURE_FLAGS) \
27221 --disable-shared
27222 @endif libiconv-bootstrap
27224 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
27225 maybe-configure-stage2-libiconv:
27226 @if libiconv-bootstrap
27227 maybe-configure-stage2-libiconv: configure-stage2-libiconv
27228 configure-stage2-libiconv:
27229 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27230 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27231 @r=`${PWD_COMMAND}`; export r; \
27232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27233 TFLAGS="$(STAGE2_TFLAGS)"; \
27234 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27235 $(HOST_EXPORTS) \
27236 $(POSTSTAGE1_HOST_EXPORTS) \
27237 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27238 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27239 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27240 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
27241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27242 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27243 case $(srcdir) in \
27244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27245 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27247 esac; \
27248 module_srcdir=libiconv; \
27249 $(SHELL) $$s/$$module_srcdir/configure \
27250 --srcdir=$${topdir}/$$module_srcdir \
27251 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27252 --target=${target_alias} \
27253 --with-build-libsubdir=$(HOST_SUBDIR) \
27254 $(STAGE2_CONFIGURE_FLAGS) \
27255 --disable-shared
27256 @endif libiconv-bootstrap
27258 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
27259 maybe-configure-stage3-libiconv:
27260 @if libiconv-bootstrap
27261 maybe-configure-stage3-libiconv: configure-stage3-libiconv
27262 configure-stage3-libiconv:
27263 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27264 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27265 @r=`${PWD_COMMAND}`; export r; \
27266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27267 TFLAGS="$(STAGE3_TFLAGS)"; \
27268 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27269 $(HOST_EXPORTS) \
27270 $(POSTSTAGE1_HOST_EXPORTS) \
27271 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27272 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27273 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27274 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
27275 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27276 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27277 case $(srcdir) in \
27278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27279 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27281 esac; \
27282 module_srcdir=libiconv; \
27283 $(SHELL) $$s/$$module_srcdir/configure \
27284 --srcdir=$${topdir}/$$module_srcdir \
27285 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27286 --target=${target_alias} \
27287 --with-build-libsubdir=$(HOST_SUBDIR) \
27288 $(STAGE3_CONFIGURE_FLAGS) \
27289 --disable-shared
27290 @endif libiconv-bootstrap
27292 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
27293 maybe-configure-stage4-libiconv:
27294 @if libiconv-bootstrap
27295 maybe-configure-stage4-libiconv: configure-stage4-libiconv
27296 configure-stage4-libiconv:
27297 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27298 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27299 @r=`${PWD_COMMAND}`; export r; \
27300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27301 TFLAGS="$(STAGE4_TFLAGS)"; \
27302 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27303 $(HOST_EXPORTS) \
27304 $(POSTSTAGE1_HOST_EXPORTS) \
27305 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27306 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27307 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27308 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
27309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27310 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27311 case $(srcdir) in \
27312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27313 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27315 esac; \
27316 module_srcdir=libiconv; \
27317 $(SHELL) $$s/$$module_srcdir/configure \
27318 --srcdir=$${topdir}/$$module_srcdir \
27319 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27320 --target=${target_alias} \
27321 --with-build-libsubdir=$(HOST_SUBDIR) \
27322 $(STAGE4_CONFIGURE_FLAGS) \
27323 --disable-shared
27324 @endif libiconv-bootstrap
27326 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
27327 maybe-configure-stageprofile-libiconv:
27328 @if libiconv-bootstrap
27329 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
27330 configure-stageprofile-libiconv:
27331 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27332 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27333 @r=`${PWD_COMMAND}`; export r; \
27334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27335 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27336 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27337 $(HOST_EXPORTS) \
27338 $(POSTSTAGE1_HOST_EXPORTS) \
27339 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27340 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27341 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27342 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
27343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27344 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27345 case $(srcdir) in \
27346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27347 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27349 esac; \
27350 module_srcdir=libiconv; \
27351 $(SHELL) $$s/$$module_srcdir/configure \
27352 --srcdir=$${topdir}/$$module_srcdir \
27353 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27354 --target=${target_alias} \
27355 --with-build-libsubdir=$(HOST_SUBDIR) \
27356 $(STAGEprofile_CONFIGURE_FLAGS) \
27357 --disable-shared
27358 @endif libiconv-bootstrap
27360 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
27361 maybe-configure-stagefeedback-libiconv:
27362 @if libiconv-bootstrap
27363 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
27364 configure-stagefeedback-libiconv:
27365 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27366 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27367 @r=`${PWD_COMMAND}`; export r; \
27368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27369 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27370 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27371 $(HOST_EXPORTS) \
27372 $(POSTSTAGE1_HOST_EXPORTS) \
27373 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27374 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27375 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27376 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
27377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27378 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27379 case $(srcdir) in \
27380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27381 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27383 esac; \
27384 module_srcdir=libiconv; \
27385 $(SHELL) $$s/$$module_srcdir/configure \
27386 --srcdir=$${topdir}/$$module_srcdir \
27387 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27388 --target=${target_alias} \
27389 --with-build-libsubdir=$(HOST_SUBDIR) \
27390 $(STAGEfeedback_CONFIGURE_FLAGS) \
27391 --disable-shared
27392 @endif libiconv-bootstrap
27394 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
27395 maybe-configure-stageautoprofile-libiconv:
27396 @if libiconv-bootstrap
27397 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
27398 configure-stageautoprofile-libiconv:
27399 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27400 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27401 @r=`${PWD_COMMAND}`; export r; \
27402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27403 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27404 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27405 $(HOST_EXPORTS) \
27406 $(POSTSTAGE1_HOST_EXPORTS) \
27407 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27408 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27409 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27410 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
27411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27412 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27413 case $(srcdir) in \
27414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27415 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27417 esac; \
27418 module_srcdir=libiconv; \
27419 $(SHELL) $$s/$$module_srcdir/configure \
27420 --srcdir=$${topdir}/$$module_srcdir \
27421 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27422 --target=${target_alias} \
27423 --with-build-libsubdir=$(HOST_SUBDIR) \
27424 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27425 --disable-shared
27426 @endif libiconv-bootstrap
27428 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
27429 maybe-configure-stageautofeedback-libiconv:
27430 @if libiconv-bootstrap
27431 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
27432 configure-stageautofeedback-libiconv:
27433 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27434 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
27435 @r=`${PWD_COMMAND}`; export r; \
27436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27437 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27438 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
27439 $(HOST_EXPORTS) \
27440 $(POSTSTAGE1_HOST_EXPORTS) \
27441 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27442 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27443 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27444 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
27445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
27446 cd $(HOST_SUBDIR)/libiconv || exit 1; \
27447 case $(srcdir) in \
27448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27449 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
27450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27451 esac; \
27452 module_srcdir=libiconv; \
27453 $(SHELL) $$s/$$module_srcdir/configure \
27454 --srcdir=$${topdir}/$$module_srcdir \
27455 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27456 --target=${target_alias} \
27457 --with-build-libsubdir=$(HOST_SUBDIR) \
27458 $(STAGEautofeedback_CONFIGURE_FLAGS) \
27459 --disable-shared
27460 @endif libiconv-bootstrap
27466 .PHONY: all-libiconv maybe-all-libiconv
27467 maybe-all-libiconv:
27468 @if gcc-bootstrap
27469 all-libiconv: stage_current
27470 @endif gcc-bootstrap
27471 @if libiconv
27472 TARGET-libiconv=all
27473 maybe-all-libiconv: all-libiconv
27474 all-libiconv: configure-libiconv
27475 @r=`${PWD_COMMAND}`; export r; \
27476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27477 $(HOST_EXPORTS) \
27478 (cd $(HOST_SUBDIR)/libiconv && \
27479 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27480 $(TARGET-libiconv))
27481 @endif libiconv
27485 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
27486 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
27487 maybe-all-stage1-libiconv:
27488 maybe-clean-stage1-libiconv:
27489 @if libiconv-bootstrap
27490 maybe-all-stage1-libiconv: all-stage1-libiconv
27491 all-stage1: all-stage1-libiconv
27492 TARGET-stage1-libiconv = $(TARGET-libiconv)
27493 all-stage1-libiconv: configure-stage1-libiconv
27494 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27495 @r=`${PWD_COMMAND}`; export r; \
27496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27497 TFLAGS="$(STAGE1_TFLAGS)"; \
27498 $(HOST_EXPORTS) \
27499 cd $(HOST_SUBDIR)/libiconv && \
27501 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27502 CFLAGS="$(STAGE1_CFLAGS)" \
27503 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27504 LIBCFLAGS="$(LIBCFLAGS)" \
27505 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27506 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27507 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27508 $(EXTRA_HOST_FLAGS) \
27509 $(STAGE1_FLAGS_TO_PASS) \
27510 TFLAGS="$(STAGE1_TFLAGS)" \
27511 $(TARGET-stage1-libiconv)
27513 maybe-clean-stage1-libiconv: clean-stage1-libiconv
27514 clean-stage1: clean-stage1-libiconv
27515 clean-stage1-libiconv:
27516 @if [ $(current_stage) = stage1 ]; then \
27517 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27518 else \
27519 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
27520 $(MAKE) stage1-start; \
27521 fi; \
27522 cd $(HOST_SUBDIR)/libiconv && \
27523 $(MAKE) $(EXTRA_HOST_FLAGS) \
27524 $(STAGE1_FLAGS_TO_PASS) clean
27525 @endif libiconv-bootstrap
27528 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
27529 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
27530 maybe-all-stage2-libiconv:
27531 maybe-clean-stage2-libiconv:
27532 @if libiconv-bootstrap
27533 maybe-all-stage2-libiconv: all-stage2-libiconv
27534 all-stage2: all-stage2-libiconv
27535 TARGET-stage2-libiconv = $(TARGET-libiconv)
27536 all-stage2-libiconv: configure-stage2-libiconv
27537 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27538 @r=`${PWD_COMMAND}`; export r; \
27539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27540 TFLAGS="$(STAGE2_TFLAGS)"; \
27541 $(HOST_EXPORTS) \
27542 $(POSTSTAGE1_HOST_EXPORTS) \
27543 cd $(HOST_SUBDIR)/libiconv && \
27545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27546 CFLAGS="$(STAGE2_CFLAGS)" \
27547 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27548 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27549 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27550 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27551 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27552 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27553 TFLAGS="$(STAGE2_TFLAGS)" \
27554 $(TARGET-stage2-libiconv)
27556 maybe-clean-stage2-libiconv: clean-stage2-libiconv
27557 clean-stage2: clean-stage2-libiconv
27558 clean-stage2-libiconv:
27559 @if [ $(current_stage) = stage2 ]; then \
27560 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27561 else \
27562 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
27563 $(MAKE) stage2-start; \
27564 fi; \
27565 cd $(HOST_SUBDIR)/libiconv && \
27566 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27567 @endif libiconv-bootstrap
27570 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
27571 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
27572 maybe-all-stage3-libiconv:
27573 maybe-clean-stage3-libiconv:
27574 @if libiconv-bootstrap
27575 maybe-all-stage3-libiconv: all-stage3-libiconv
27576 all-stage3: all-stage3-libiconv
27577 TARGET-stage3-libiconv = $(TARGET-libiconv)
27578 all-stage3-libiconv: configure-stage3-libiconv
27579 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27580 @r=`${PWD_COMMAND}`; export r; \
27581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27582 TFLAGS="$(STAGE3_TFLAGS)"; \
27583 $(HOST_EXPORTS) \
27584 $(POSTSTAGE1_HOST_EXPORTS) \
27585 cd $(HOST_SUBDIR)/libiconv && \
27587 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27588 CFLAGS="$(STAGE3_CFLAGS)" \
27589 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27590 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27591 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27592 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27593 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27594 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27595 TFLAGS="$(STAGE3_TFLAGS)" \
27596 $(TARGET-stage3-libiconv)
27598 maybe-clean-stage3-libiconv: clean-stage3-libiconv
27599 clean-stage3: clean-stage3-libiconv
27600 clean-stage3-libiconv:
27601 @if [ $(current_stage) = stage3 ]; then \
27602 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27603 else \
27604 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
27605 $(MAKE) stage3-start; \
27606 fi; \
27607 cd $(HOST_SUBDIR)/libiconv && \
27608 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27609 @endif libiconv-bootstrap
27612 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
27613 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
27614 maybe-all-stage4-libiconv:
27615 maybe-clean-stage4-libiconv:
27616 @if libiconv-bootstrap
27617 maybe-all-stage4-libiconv: all-stage4-libiconv
27618 all-stage4: all-stage4-libiconv
27619 TARGET-stage4-libiconv = $(TARGET-libiconv)
27620 all-stage4-libiconv: configure-stage4-libiconv
27621 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27622 @r=`${PWD_COMMAND}`; export r; \
27623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27624 TFLAGS="$(STAGE4_TFLAGS)"; \
27625 $(HOST_EXPORTS) \
27626 $(POSTSTAGE1_HOST_EXPORTS) \
27627 cd $(HOST_SUBDIR)/libiconv && \
27629 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27630 CFLAGS="$(STAGE4_CFLAGS)" \
27631 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27632 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27633 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27634 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27635 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27636 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27637 TFLAGS="$(STAGE4_TFLAGS)" \
27638 $(TARGET-stage4-libiconv)
27640 maybe-clean-stage4-libiconv: clean-stage4-libiconv
27641 clean-stage4: clean-stage4-libiconv
27642 clean-stage4-libiconv:
27643 @if [ $(current_stage) = stage4 ]; then \
27644 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27645 else \
27646 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
27647 $(MAKE) stage4-start; \
27648 fi; \
27649 cd $(HOST_SUBDIR)/libiconv && \
27650 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27651 @endif libiconv-bootstrap
27654 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
27655 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
27656 maybe-all-stageprofile-libiconv:
27657 maybe-clean-stageprofile-libiconv:
27658 @if libiconv-bootstrap
27659 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
27660 all-stageprofile: all-stageprofile-libiconv
27661 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
27662 all-stageprofile-libiconv: configure-stageprofile-libiconv
27663 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27664 @r=`${PWD_COMMAND}`; export r; \
27665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27666 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27667 $(HOST_EXPORTS) \
27668 $(POSTSTAGE1_HOST_EXPORTS) \
27669 cd $(HOST_SUBDIR)/libiconv && \
27671 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27672 CFLAGS="$(STAGEprofile_CFLAGS)" \
27673 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27674 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27675 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27676 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27677 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27678 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27679 TFLAGS="$(STAGEprofile_TFLAGS)" \
27680 $(TARGET-stageprofile-libiconv)
27682 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
27683 clean-stageprofile: clean-stageprofile-libiconv
27684 clean-stageprofile-libiconv:
27685 @if [ $(current_stage) = stageprofile ]; then \
27686 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27687 else \
27688 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
27689 $(MAKE) stageprofile-start; \
27690 fi; \
27691 cd $(HOST_SUBDIR)/libiconv && \
27692 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27693 @endif libiconv-bootstrap
27696 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
27697 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
27698 maybe-all-stagefeedback-libiconv:
27699 maybe-clean-stagefeedback-libiconv:
27700 @if libiconv-bootstrap
27701 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
27702 all-stagefeedback: all-stagefeedback-libiconv
27703 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
27704 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
27705 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27706 @r=`${PWD_COMMAND}`; export r; \
27707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27708 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27709 $(HOST_EXPORTS) \
27710 $(POSTSTAGE1_HOST_EXPORTS) \
27711 cd $(HOST_SUBDIR)/libiconv && \
27713 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27714 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27715 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27716 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27717 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27718 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27719 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27720 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27721 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27722 $(TARGET-stagefeedback-libiconv)
27724 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
27725 clean-stagefeedback: clean-stagefeedback-libiconv
27726 clean-stagefeedback-libiconv:
27727 @if [ $(current_stage) = stagefeedback ]; then \
27728 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27729 else \
27730 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
27731 $(MAKE) stagefeedback-start; \
27732 fi; \
27733 cd $(HOST_SUBDIR)/libiconv && \
27734 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27735 @endif libiconv-bootstrap
27738 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
27739 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
27740 maybe-all-stageautoprofile-libiconv:
27741 maybe-clean-stageautoprofile-libiconv:
27742 @if libiconv-bootstrap
27743 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
27744 all-stageautoprofile: all-stageautoprofile-libiconv
27745 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
27746 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
27747 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27748 @r=`${PWD_COMMAND}`; export r; \
27749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27750 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27751 $(HOST_EXPORTS) \
27752 $(POSTSTAGE1_HOST_EXPORTS) \
27753 cd $(HOST_SUBDIR)/libiconv && \
27754 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27755 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27756 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27757 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27758 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27759 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27760 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27761 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27762 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27763 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27764 $(TARGET-stageautoprofile-libiconv)
27766 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
27767 clean-stageautoprofile: clean-stageautoprofile-libiconv
27768 clean-stageautoprofile-libiconv:
27769 @if [ $(current_stage) = stageautoprofile ]; then \
27770 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27771 else \
27772 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
27773 $(MAKE) stageautoprofile-start; \
27774 fi; \
27775 cd $(HOST_SUBDIR)/libiconv && \
27776 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27777 @endif libiconv-bootstrap
27780 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
27781 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
27782 maybe-all-stageautofeedback-libiconv:
27783 maybe-clean-stageautofeedback-libiconv:
27784 @if libiconv-bootstrap
27785 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
27786 all-stageautofeedback: all-stageautofeedback-libiconv
27787 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
27788 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
27789 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27790 @r=`${PWD_COMMAND}`; export r; \
27791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27792 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27793 $(HOST_EXPORTS) \
27794 $(POSTSTAGE1_HOST_EXPORTS) \
27795 cd $(HOST_SUBDIR)/libiconv && \
27797 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27798 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27799 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27800 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27801 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27802 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27803 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27804 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27805 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27806 $(TARGET-stageautofeedback-libiconv)
27808 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
27809 clean-stageautofeedback: clean-stageautofeedback-libiconv
27810 clean-stageautofeedback-libiconv:
27811 @if [ $(current_stage) = stageautofeedback ]; then \
27812 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
27813 else \
27814 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
27815 $(MAKE) stageautofeedback-start; \
27816 fi; \
27817 cd $(HOST_SUBDIR)/libiconv && \
27818 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27819 @endif libiconv-bootstrap
27825 .PHONY: check-libiconv maybe-check-libiconv
27826 maybe-check-libiconv:
27827 @if libiconv
27828 maybe-check-libiconv: check-libiconv
27830 check-libiconv:
27831 @: $(MAKE); $(unstage)
27832 @r=`${PWD_COMMAND}`; export r; \
27833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27834 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27835 (cd $(HOST_SUBDIR)/libiconv && \
27836 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27838 @endif libiconv
27840 .PHONY: install-libiconv maybe-install-libiconv
27841 maybe-install-libiconv:
27842 @if libiconv
27843 maybe-install-libiconv: install-libiconv
27845 install-libiconv:
27847 @endif libiconv
27849 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
27850 maybe-install-strip-libiconv:
27851 @if libiconv
27852 maybe-install-strip-libiconv: install-strip-libiconv
27854 install-strip-libiconv:
27856 @endif libiconv
27858 # Other targets (info, dvi, pdf, etc.)
27860 .PHONY: maybe-info-libiconv info-libiconv
27861 maybe-info-libiconv:
27862 @if libiconv
27863 maybe-info-libiconv: info-libiconv
27865 # libiconv doesn't support info.
27866 info-libiconv:
27868 @endif libiconv
27870 .PHONY: maybe-dvi-libiconv dvi-libiconv
27871 maybe-dvi-libiconv:
27872 @if libiconv
27873 maybe-dvi-libiconv: dvi-libiconv
27875 dvi-libiconv: \
27876 configure-libiconv
27877 @[ -f ./libiconv/Makefile ] || exit 0; \
27878 r=`${PWD_COMMAND}`; export r; \
27879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27880 $(HOST_EXPORTS) \
27881 for flag in $(EXTRA_HOST_FLAGS) ; do \
27882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27883 done; \
27884 echo "Doing dvi in libiconv"; \
27885 (cd $(HOST_SUBDIR)/libiconv && \
27886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27888 "RANLIB=$${RANLIB}" \
27889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27890 dvi) \
27891 || exit 1
27893 @endif libiconv
27895 .PHONY: maybe-pdf-libiconv pdf-libiconv
27896 maybe-pdf-libiconv:
27897 @if libiconv
27898 maybe-pdf-libiconv: pdf-libiconv
27900 # libiconv doesn't support pdf.
27901 pdf-libiconv:
27903 @endif libiconv
27905 .PHONY: maybe-html-libiconv html-libiconv
27906 maybe-html-libiconv:
27907 @if libiconv
27908 maybe-html-libiconv: html-libiconv
27910 # libiconv doesn't support html.
27911 html-libiconv:
27913 @endif libiconv
27915 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
27916 maybe-TAGS-libiconv:
27917 @if libiconv
27918 maybe-TAGS-libiconv: TAGS-libiconv
27920 TAGS-libiconv: \
27921 configure-libiconv
27922 @[ -f ./libiconv/Makefile ] || exit 0; \
27923 r=`${PWD_COMMAND}`; export r; \
27924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27925 $(HOST_EXPORTS) \
27926 for flag in $(EXTRA_HOST_FLAGS) ; do \
27927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27928 done; \
27929 echo "Doing TAGS in libiconv"; \
27930 (cd $(HOST_SUBDIR)/libiconv && \
27931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27933 "RANLIB=$${RANLIB}" \
27934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27935 TAGS) \
27936 || exit 1
27938 @endif libiconv
27940 .PHONY: maybe-install-info-libiconv install-info-libiconv
27941 maybe-install-info-libiconv:
27942 @if libiconv
27943 maybe-install-info-libiconv: install-info-libiconv
27945 # libiconv doesn't support install-info.
27946 install-info-libiconv:
27948 @endif libiconv
27950 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
27951 maybe-install-pdf-libiconv:
27952 @if libiconv
27953 maybe-install-pdf-libiconv: install-pdf-libiconv
27955 # libiconv doesn't support install-pdf.
27956 install-pdf-libiconv:
27958 @endif libiconv
27960 .PHONY: maybe-install-html-libiconv install-html-libiconv
27961 maybe-install-html-libiconv:
27962 @if libiconv
27963 maybe-install-html-libiconv: install-html-libiconv
27965 # libiconv doesn't support install-html.
27966 install-html-libiconv:
27968 @endif libiconv
27970 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
27971 maybe-installcheck-libiconv:
27972 @if libiconv
27973 maybe-installcheck-libiconv: installcheck-libiconv
27975 installcheck-libiconv: \
27976 configure-libiconv
27977 @[ -f ./libiconv/Makefile ] || exit 0; \
27978 r=`${PWD_COMMAND}`; export r; \
27979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27980 $(HOST_EXPORTS) \
27981 for flag in $(EXTRA_HOST_FLAGS) ; do \
27982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27983 done; \
27984 echo "Doing installcheck in libiconv"; \
27985 (cd $(HOST_SUBDIR)/libiconv && \
27986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27988 "RANLIB=$${RANLIB}" \
27989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27990 installcheck) \
27991 || exit 1
27993 @endif libiconv
27995 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
27996 maybe-mostlyclean-libiconv:
27997 @if libiconv
27998 maybe-mostlyclean-libiconv: mostlyclean-libiconv
28000 mostlyclean-libiconv:
28001 @[ -f ./libiconv/Makefile ] || exit 0; \
28002 r=`${PWD_COMMAND}`; export r; \
28003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28004 $(HOST_EXPORTS) \
28005 for flag in $(EXTRA_HOST_FLAGS) ; do \
28006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28007 done; \
28008 echo "Doing mostlyclean in libiconv"; \
28009 (cd $(HOST_SUBDIR)/libiconv && \
28010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28012 "RANLIB=$${RANLIB}" \
28013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28014 mostlyclean) \
28015 || exit 1
28017 @endif libiconv
28019 .PHONY: maybe-clean-libiconv clean-libiconv
28020 maybe-clean-libiconv:
28021 @if libiconv
28022 maybe-clean-libiconv: clean-libiconv
28024 clean-libiconv:
28025 @[ -f ./libiconv/Makefile ] || exit 0; \
28026 r=`${PWD_COMMAND}`; export r; \
28027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28028 $(HOST_EXPORTS) \
28029 for flag in $(EXTRA_HOST_FLAGS) ; do \
28030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28031 done; \
28032 echo "Doing clean in libiconv"; \
28033 (cd $(HOST_SUBDIR)/libiconv && \
28034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28036 "RANLIB=$${RANLIB}" \
28037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28038 clean) \
28039 || exit 1
28041 @endif libiconv
28043 .PHONY: maybe-distclean-libiconv distclean-libiconv
28044 maybe-distclean-libiconv:
28045 @if libiconv
28046 maybe-distclean-libiconv: distclean-libiconv
28048 distclean-libiconv:
28049 @[ -f ./libiconv/Makefile ] || exit 0; \
28050 r=`${PWD_COMMAND}`; export r; \
28051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28052 $(HOST_EXPORTS) \
28053 for flag in $(EXTRA_HOST_FLAGS) ; do \
28054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28055 done; \
28056 echo "Doing distclean in libiconv"; \
28057 (cd $(HOST_SUBDIR)/libiconv && \
28058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28060 "RANLIB=$${RANLIB}" \
28061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28062 distclean) \
28063 || exit 1
28065 @endif libiconv
28067 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
28068 maybe-maintainer-clean-libiconv:
28069 @if libiconv
28070 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
28072 maintainer-clean-libiconv:
28073 @[ -f ./libiconv/Makefile ] || exit 0; \
28074 r=`${PWD_COMMAND}`; export r; \
28075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28076 $(HOST_EXPORTS) \
28077 for flag in $(EXTRA_HOST_FLAGS) ; do \
28078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28079 done; \
28080 echo "Doing maintainer-clean in libiconv"; \
28081 (cd $(HOST_SUBDIR)/libiconv && \
28082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28084 "RANLIB=$${RANLIB}" \
28085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28086 maintainer-clean) \
28087 || exit 1
28089 @endif libiconv
28093 .PHONY: configure-m4 maybe-configure-m4
28094 maybe-configure-m4:
28095 @if gcc-bootstrap
28096 configure-m4: stage_current
28097 @endif gcc-bootstrap
28098 @if m4
28099 maybe-configure-m4: configure-m4
28100 configure-m4:
28101 @: $(MAKE); $(unstage)
28102 @r=`${PWD_COMMAND}`; export r; \
28103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28104 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
28105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
28106 $(HOST_EXPORTS) \
28107 echo Configuring in $(HOST_SUBDIR)/m4; \
28108 cd "$(HOST_SUBDIR)/m4" || exit 1; \
28109 case $(srcdir) in \
28110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28111 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
28112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28113 esac; \
28114 module_srcdir=m4; \
28115 $(SHELL) \
28116 $$s/$$module_srcdir/configure \
28117 --srcdir=$${topdir}/$$module_srcdir \
28118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28119 --target=${target_alias} \
28120 || exit 1
28121 @endif m4
28127 .PHONY: all-m4 maybe-all-m4
28128 maybe-all-m4:
28129 @if gcc-bootstrap
28130 all-m4: stage_current
28131 @endif gcc-bootstrap
28132 @if m4
28133 TARGET-m4=all
28134 maybe-all-m4: all-m4
28135 all-m4: configure-m4
28136 @: $(MAKE); $(unstage)
28137 @r=`${PWD_COMMAND}`; export r; \
28138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28139 $(HOST_EXPORTS) \
28140 (cd $(HOST_SUBDIR)/m4 && \
28141 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28142 $(TARGET-m4))
28143 @endif m4
28148 .PHONY: check-m4 maybe-check-m4
28149 maybe-check-m4:
28150 @if m4
28151 maybe-check-m4: check-m4
28153 check-m4:
28154 @: $(MAKE); $(unstage)
28155 @r=`${PWD_COMMAND}`; export r; \
28156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28157 $(HOST_EXPORTS) \
28158 (cd $(HOST_SUBDIR)/m4 && \
28159 $(MAKE) $(FLAGS_TO_PASS) check)
28161 @endif m4
28163 .PHONY: install-m4 maybe-install-m4
28164 maybe-install-m4:
28165 @if m4
28166 maybe-install-m4: install-m4
28168 install-m4: installdirs
28169 @: $(MAKE); $(unstage)
28170 @r=`${PWD_COMMAND}`; export r; \
28171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28172 $(HOST_EXPORTS) \
28173 (cd $(HOST_SUBDIR)/m4 && \
28174 $(MAKE) $(FLAGS_TO_PASS) install)
28176 @endif m4
28178 .PHONY: install-strip-m4 maybe-install-strip-m4
28179 maybe-install-strip-m4:
28180 @if m4
28181 maybe-install-strip-m4: install-strip-m4
28183 install-strip-m4: installdirs
28184 @: $(MAKE); $(unstage)
28185 @r=`${PWD_COMMAND}`; export r; \
28186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28187 $(HOST_EXPORTS) \
28188 (cd $(HOST_SUBDIR)/m4 && \
28189 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28191 @endif m4
28193 # Other targets (info, dvi, pdf, etc.)
28195 .PHONY: maybe-info-m4 info-m4
28196 maybe-info-m4:
28197 @if m4
28198 maybe-info-m4: info-m4
28200 info-m4: \
28201 configure-m4
28202 @: $(MAKE); $(unstage)
28203 @[ -f ./m4/Makefile ] || exit 0; \
28204 r=`${PWD_COMMAND}`; export r; \
28205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28206 $(HOST_EXPORTS) \
28207 for flag in $(EXTRA_HOST_FLAGS) ; do \
28208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28209 done; \
28210 echo "Doing info in m4"; \
28211 (cd $(HOST_SUBDIR)/m4 && \
28212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28214 "RANLIB=$${RANLIB}" \
28215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28216 info) \
28217 || exit 1
28219 @endif m4
28221 .PHONY: maybe-dvi-m4 dvi-m4
28222 maybe-dvi-m4:
28223 @if m4
28224 maybe-dvi-m4: dvi-m4
28226 dvi-m4: \
28227 configure-m4
28228 @: $(MAKE); $(unstage)
28229 @[ -f ./m4/Makefile ] || exit 0; \
28230 r=`${PWD_COMMAND}`; export r; \
28231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28232 $(HOST_EXPORTS) \
28233 for flag in $(EXTRA_HOST_FLAGS) ; do \
28234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28235 done; \
28236 echo "Doing dvi in m4"; \
28237 (cd $(HOST_SUBDIR)/m4 && \
28238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28240 "RANLIB=$${RANLIB}" \
28241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28242 dvi) \
28243 || exit 1
28245 @endif m4
28247 .PHONY: maybe-pdf-m4 pdf-m4
28248 maybe-pdf-m4:
28249 @if m4
28250 maybe-pdf-m4: pdf-m4
28252 pdf-m4: \
28253 configure-m4
28254 @: $(MAKE); $(unstage)
28255 @[ -f ./m4/Makefile ] || exit 0; \
28256 r=`${PWD_COMMAND}`; export r; \
28257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28258 $(HOST_EXPORTS) \
28259 for flag in $(EXTRA_HOST_FLAGS) ; do \
28260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28261 done; \
28262 echo "Doing pdf in m4"; \
28263 (cd $(HOST_SUBDIR)/m4 && \
28264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28266 "RANLIB=$${RANLIB}" \
28267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28268 pdf) \
28269 || exit 1
28271 @endif m4
28273 .PHONY: maybe-html-m4 html-m4
28274 maybe-html-m4:
28275 @if m4
28276 maybe-html-m4: html-m4
28278 html-m4: \
28279 configure-m4
28280 @: $(MAKE); $(unstage)
28281 @[ -f ./m4/Makefile ] || exit 0; \
28282 r=`${PWD_COMMAND}`; export r; \
28283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28284 $(HOST_EXPORTS) \
28285 for flag in $(EXTRA_HOST_FLAGS) ; do \
28286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28287 done; \
28288 echo "Doing html in m4"; \
28289 (cd $(HOST_SUBDIR)/m4 && \
28290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28292 "RANLIB=$${RANLIB}" \
28293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28294 html) \
28295 || exit 1
28297 @endif m4
28299 .PHONY: maybe-TAGS-m4 TAGS-m4
28300 maybe-TAGS-m4:
28301 @if m4
28302 maybe-TAGS-m4: TAGS-m4
28304 TAGS-m4: \
28305 configure-m4
28306 @: $(MAKE); $(unstage)
28307 @[ -f ./m4/Makefile ] || exit 0; \
28308 r=`${PWD_COMMAND}`; export r; \
28309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28310 $(HOST_EXPORTS) \
28311 for flag in $(EXTRA_HOST_FLAGS) ; do \
28312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28313 done; \
28314 echo "Doing TAGS in m4"; \
28315 (cd $(HOST_SUBDIR)/m4 && \
28316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28318 "RANLIB=$${RANLIB}" \
28319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28320 TAGS) \
28321 || exit 1
28323 @endif m4
28325 .PHONY: maybe-install-info-m4 install-info-m4
28326 maybe-install-info-m4:
28327 @if m4
28328 maybe-install-info-m4: install-info-m4
28330 install-info-m4: \
28331 configure-m4 \
28332 info-m4
28333 @: $(MAKE); $(unstage)
28334 @[ -f ./m4/Makefile ] || exit 0; \
28335 r=`${PWD_COMMAND}`; export r; \
28336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28337 $(HOST_EXPORTS) \
28338 for flag in $(EXTRA_HOST_FLAGS) ; do \
28339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28340 done; \
28341 echo "Doing install-info in m4"; \
28342 (cd $(HOST_SUBDIR)/m4 && \
28343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28345 "RANLIB=$${RANLIB}" \
28346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28347 install-info) \
28348 || exit 1
28350 @endif m4
28352 .PHONY: maybe-install-pdf-m4 install-pdf-m4
28353 maybe-install-pdf-m4:
28354 @if m4
28355 maybe-install-pdf-m4: install-pdf-m4
28357 install-pdf-m4: \
28358 configure-m4 \
28359 pdf-m4
28360 @: $(MAKE); $(unstage)
28361 @[ -f ./m4/Makefile ] || exit 0; \
28362 r=`${PWD_COMMAND}`; export r; \
28363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28364 $(HOST_EXPORTS) \
28365 for flag in $(EXTRA_HOST_FLAGS) ; do \
28366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28367 done; \
28368 echo "Doing install-pdf in m4"; \
28369 (cd $(HOST_SUBDIR)/m4 && \
28370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28372 "RANLIB=$${RANLIB}" \
28373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28374 install-pdf) \
28375 || exit 1
28377 @endif m4
28379 .PHONY: maybe-install-html-m4 install-html-m4
28380 maybe-install-html-m4:
28381 @if m4
28382 maybe-install-html-m4: install-html-m4
28384 install-html-m4: \
28385 configure-m4 \
28386 html-m4
28387 @: $(MAKE); $(unstage)
28388 @[ -f ./m4/Makefile ] || exit 0; \
28389 r=`${PWD_COMMAND}`; export r; \
28390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28391 $(HOST_EXPORTS) \
28392 for flag in $(EXTRA_HOST_FLAGS) ; do \
28393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28394 done; \
28395 echo "Doing install-html in m4"; \
28396 (cd $(HOST_SUBDIR)/m4 && \
28397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28399 "RANLIB=$${RANLIB}" \
28400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28401 install-html) \
28402 || exit 1
28404 @endif m4
28406 .PHONY: maybe-installcheck-m4 installcheck-m4
28407 maybe-installcheck-m4:
28408 @if m4
28409 maybe-installcheck-m4: installcheck-m4
28411 installcheck-m4: \
28412 configure-m4
28413 @: $(MAKE); $(unstage)
28414 @[ -f ./m4/Makefile ] || exit 0; \
28415 r=`${PWD_COMMAND}`; export r; \
28416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28417 $(HOST_EXPORTS) \
28418 for flag in $(EXTRA_HOST_FLAGS) ; do \
28419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28420 done; \
28421 echo "Doing installcheck in m4"; \
28422 (cd $(HOST_SUBDIR)/m4 && \
28423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28425 "RANLIB=$${RANLIB}" \
28426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28427 installcheck) \
28428 || exit 1
28430 @endif m4
28432 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
28433 maybe-mostlyclean-m4:
28434 @if m4
28435 maybe-mostlyclean-m4: mostlyclean-m4
28437 mostlyclean-m4:
28438 @: $(MAKE); $(unstage)
28439 @[ -f ./m4/Makefile ] || exit 0; \
28440 r=`${PWD_COMMAND}`; export r; \
28441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28442 $(HOST_EXPORTS) \
28443 for flag in $(EXTRA_HOST_FLAGS) ; do \
28444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28445 done; \
28446 echo "Doing mostlyclean in m4"; \
28447 (cd $(HOST_SUBDIR)/m4 && \
28448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28450 "RANLIB=$${RANLIB}" \
28451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28452 mostlyclean) \
28453 || exit 1
28455 @endif m4
28457 .PHONY: maybe-clean-m4 clean-m4
28458 maybe-clean-m4:
28459 @if m4
28460 maybe-clean-m4: clean-m4
28462 clean-m4:
28463 @: $(MAKE); $(unstage)
28464 @[ -f ./m4/Makefile ] || exit 0; \
28465 r=`${PWD_COMMAND}`; export r; \
28466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28467 $(HOST_EXPORTS) \
28468 for flag in $(EXTRA_HOST_FLAGS) ; do \
28469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28470 done; \
28471 echo "Doing clean in m4"; \
28472 (cd $(HOST_SUBDIR)/m4 && \
28473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28475 "RANLIB=$${RANLIB}" \
28476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28477 clean) \
28478 || exit 1
28480 @endif m4
28482 .PHONY: maybe-distclean-m4 distclean-m4
28483 maybe-distclean-m4:
28484 @if m4
28485 maybe-distclean-m4: distclean-m4
28487 distclean-m4:
28488 @: $(MAKE); $(unstage)
28489 @[ -f ./m4/Makefile ] || exit 0; \
28490 r=`${PWD_COMMAND}`; export r; \
28491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28492 $(HOST_EXPORTS) \
28493 for flag in $(EXTRA_HOST_FLAGS) ; do \
28494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28495 done; \
28496 echo "Doing distclean in m4"; \
28497 (cd $(HOST_SUBDIR)/m4 && \
28498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28500 "RANLIB=$${RANLIB}" \
28501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28502 distclean) \
28503 || exit 1
28505 @endif m4
28507 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
28508 maybe-maintainer-clean-m4:
28509 @if m4
28510 maybe-maintainer-clean-m4: maintainer-clean-m4
28512 maintainer-clean-m4:
28513 @: $(MAKE); $(unstage)
28514 @[ -f ./m4/Makefile ] || exit 0; \
28515 r=`${PWD_COMMAND}`; export r; \
28516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28517 $(HOST_EXPORTS) \
28518 for flag in $(EXTRA_HOST_FLAGS) ; do \
28519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28520 done; \
28521 echo "Doing maintainer-clean in m4"; \
28522 (cd $(HOST_SUBDIR)/m4 && \
28523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28525 "RANLIB=$${RANLIB}" \
28526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28527 maintainer-clean) \
28528 || exit 1
28530 @endif m4
28534 .PHONY: configure-readline maybe-configure-readline
28535 maybe-configure-readline:
28536 @if gcc-bootstrap
28537 configure-readline: stage_current
28538 @endif gcc-bootstrap
28539 @if readline
28540 maybe-configure-readline: configure-readline
28541 configure-readline:
28542 @: $(MAKE); $(unstage)
28543 @r=`${PWD_COMMAND}`; export r; \
28544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28545 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
28546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
28547 $(HOST_EXPORTS) \
28548 echo Configuring in $(HOST_SUBDIR)/readline; \
28549 cd "$(HOST_SUBDIR)/readline" || exit 1; \
28550 case $(srcdir) in \
28551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28552 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
28553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28554 esac; \
28555 module_srcdir=readline; \
28556 $(SHELL) \
28557 $$s/$$module_srcdir/configure \
28558 --srcdir=$${topdir}/$$module_srcdir \
28559 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28560 --target=${target_alias} \
28561 || exit 1
28562 @endif readline
28568 .PHONY: all-readline maybe-all-readline
28569 maybe-all-readline:
28570 @if gcc-bootstrap
28571 all-readline: stage_current
28572 @endif gcc-bootstrap
28573 @if readline
28574 TARGET-readline=all
28575 maybe-all-readline: all-readline
28576 all-readline: configure-readline
28577 @: $(MAKE); $(unstage)
28578 @r=`${PWD_COMMAND}`; export r; \
28579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28580 $(HOST_EXPORTS) \
28581 (cd $(HOST_SUBDIR)/readline && \
28582 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28583 $(TARGET-readline))
28584 @endif readline
28589 .PHONY: check-readline maybe-check-readline
28590 maybe-check-readline:
28591 @if readline
28592 maybe-check-readline: check-readline
28594 check-readline:
28595 @: $(MAKE); $(unstage)
28596 @r=`${PWD_COMMAND}`; export r; \
28597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28598 $(HOST_EXPORTS) \
28599 (cd $(HOST_SUBDIR)/readline && \
28600 $(MAKE) $(FLAGS_TO_PASS) check)
28602 @endif readline
28604 .PHONY: install-readline maybe-install-readline
28605 maybe-install-readline:
28606 @if readline
28607 maybe-install-readline: install-readline
28609 install-readline: installdirs
28610 @: $(MAKE); $(unstage)
28611 @r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(HOST_EXPORTS) \
28614 (cd $(HOST_SUBDIR)/readline && \
28615 $(MAKE) $(FLAGS_TO_PASS) install)
28617 @endif readline
28619 .PHONY: install-strip-readline maybe-install-strip-readline
28620 maybe-install-strip-readline:
28621 @if readline
28622 maybe-install-strip-readline: install-strip-readline
28624 install-strip-readline: installdirs
28625 @: $(MAKE); $(unstage)
28626 @r=`${PWD_COMMAND}`; export r; \
28627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28628 $(HOST_EXPORTS) \
28629 (cd $(HOST_SUBDIR)/readline && \
28630 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28632 @endif readline
28634 # Other targets (info, dvi, pdf, etc.)
28636 .PHONY: maybe-info-readline info-readline
28637 maybe-info-readline:
28638 @if readline
28639 maybe-info-readline: info-readline
28641 info-readline: \
28642 configure-readline
28643 @: $(MAKE); $(unstage)
28644 @[ -f ./readline/Makefile ] || exit 0; \
28645 r=`${PWD_COMMAND}`; export r; \
28646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28647 $(HOST_EXPORTS) \
28648 for flag in $(EXTRA_HOST_FLAGS) ; do \
28649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28650 done; \
28651 echo "Doing info in readline"; \
28652 (cd $(HOST_SUBDIR)/readline && \
28653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28655 "RANLIB=$${RANLIB}" \
28656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28657 info) \
28658 || exit 1
28660 @endif readline
28662 .PHONY: maybe-dvi-readline dvi-readline
28663 maybe-dvi-readline:
28664 @if readline
28665 maybe-dvi-readline: dvi-readline
28667 dvi-readline: \
28668 configure-readline
28669 @: $(MAKE); $(unstage)
28670 @[ -f ./readline/Makefile ] || exit 0; \
28671 r=`${PWD_COMMAND}`; export r; \
28672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28673 $(HOST_EXPORTS) \
28674 for flag in $(EXTRA_HOST_FLAGS) ; do \
28675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28676 done; \
28677 echo "Doing dvi in readline"; \
28678 (cd $(HOST_SUBDIR)/readline && \
28679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28681 "RANLIB=$${RANLIB}" \
28682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28683 dvi) \
28684 || exit 1
28686 @endif readline
28688 .PHONY: maybe-pdf-readline pdf-readline
28689 maybe-pdf-readline:
28690 @if readline
28691 maybe-pdf-readline: pdf-readline
28693 pdf-readline: \
28694 configure-readline
28695 @: $(MAKE); $(unstage)
28696 @[ -f ./readline/Makefile ] || exit 0; \
28697 r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28699 $(HOST_EXPORTS) \
28700 for flag in $(EXTRA_HOST_FLAGS) ; do \
28701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28702 done; \
28703 echo "Doing pdf in readline"; \
28704 (cd $(HOST_SUBDIR)/readline && \
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}" \
28709 pdf) \
28710 || exit 1
28712 @endif readline
28714 .PHONY: maybe-html-readline html-readline
28715 maybe-html-readline:
28716 @if readline
28717 maybe-html-readline: html-readline
28719 html-readline: \
28720 configure-readline
28721 @: $(MAKE); $(unstage)
28722 @[ -f ./readline/Makefile ] || exit 0; \
28723 r=`${PWD_COMMAND}`; export r; \
28724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28725 $(HOST_EXPORTS) \
28726 for flag in $(EXTRA_HOST_FLAGS) ; do \
28727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28728 done; \
28729 echo "Doing html in readline"; \
28730 (cd $(HOST_SUBDIR)/readline && \
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}" \
28735 html) \
28736 || exit 1
28738 @endif readline
28740 .PHONY: maybe-TAGS-readline TAGS-readline
28741 maybe-TAGS-readline:
28742 @if readline
28743 maybe-TAGS-readline: TAGS-readline
28745 TAGS-readline: \
28746 configure-readline
28747 @: $(MAKE); $(unstage)
28748 @[ -f ./readline/Makefile ] || exit 0; \
28749 r=`${PWD_COMMAND}`; export r; \
28750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28751 $(HOST_EXPORTS) \
28752 for flag in $(EXTRA_HOST_FLAGS) ; do \
28753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28754 done; \
28755 echo "Doing TAGS in readline"; \
28756 (cd $(HOST_SUBDIR)/readline && \
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}" \
28761 TAGS) \
28762 || exit 1
28764 @endif readline
28766 .PHONY: maybe-install-info-readline install-info-readline
28767 maybe-install-info-readline:
28768 @if readline
28769 maybe-install-info-readline: install-info-readline
28771 install-info-readline: \
28772 configure-readline \
28773 info-readline
28774 @: $(MAKE); $(unstage)
28775 @[ -f ./readline/Makefile ] || exit 0; \
28776 r=`${PWD_COMMAND}`; export r; \
28777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28778 $(HOST_EXPORTS) \
28779 for flag in $(EXTRA_HOST_FLAGS) ; do \
28780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28781 done; \
28782 echo "Doing install-info in readline"; \
28783 (cd $(HOST_SUBDIR)/readline && \
28784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28786 "RANLIB=$${RANLIB}" \
28787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28788 install-info) \
28789 || exit 1
28791 @endif readline
28793 .PHONY: maybe-install-pdf-readline install-pdf-readline
28794 maybe-install-pdf-readline:
28795 @if readline
28796 maybe-install-pdf-readline: install-pdf-readline
28798 install-pdf-readline: \
28799 configure-readline \
28800 pdf-readline
28801 @: $(MAKE); $(unstage)
28802 @[ -f ./readline/Makefile ] || exit 0; \
28803 r=`${PWD_COMMAND}`; export r; \
28804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28805 $(HOST_EXPORTS) \
28806 for flag in $(EXTRA_HOST_FLAGS) ; do \
28807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28808 done; \
28809 echo "Doing install-pdf in readline"; \
28810 (cd $(HOST_SUBDIR)/readline && \
28811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28813 "RANLIB=$${RANLIB}" \
28814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28815 install-pdf) \
28816 || exit 1
28818 @endif readline
28820 .PHONY: maybe-install-html-readline install-html-readline
28821 maybe-install-html-readline:
28822 @if readline
28823 maybe-install-html-readline: install-html-readline
28825 install-html-readline: \
28826 configure-readline \
28827 html-readline
28828 @: $(MAKE); $(unstage)
28829 @[ -f ./readline/Makefile ] || exit 0; \
28830 r=`${PWD_COMMAND}`; export r; \
28831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28832 $(HOST_EXPORTS) \
28833 for flag in $(EXTRA_HOST_FLAGS) ; do \
28834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28835 done; \
28836 echo "Doing install-html in readline"; \
28837 (cd $(HOST_SUBDIR)/readline && \
28838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28840 "RANLIB=$${RANLIB}" \
28841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28842 install-html) \
28843 || exit 1
28845 @endif readline
28847 .PHONY: maybe-installcheck-readline installcheck-readline
28848 maybe-installcheck-readline:
28849 @if readline
28850 maybe-installcheck-readline: installcheck-readline
28852 installcheck-readline: \
28853 configure-readline
28854 @: $(MAKE); $(unstage)
28855 @[ -f ./readline/Makefile ] || exit 0; \
28856 r=`${PWD_COMMAND}`; export r; \
28857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28858 $(HOST_EXPORTS) \
28859 for flag in $(EXTRA_HOST_FLAGS) ; do \
28860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28861 done; \
28862 echo "Doing installcheck in readline"; \
28863 (cd $(HOST_SUBDIR)/readline && \
28864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28866 "RANLIB=$${RANLIB}" \
28867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28868 installcheck) \
28869 || exit 1
28871 @endif readline
28873 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
28874 maybe-mostlyclean-readline:
28875 @if readline
28876 maybe-mostlyclean-readline: mostlyclean-readline
28878 mostlyclean-readline:
28879 @: $(MAKE); $(unstage)
28880 @[ -f ./readline/Makefile ] || exit 0; \
28881 r=`${PWD_COMMAND}`; export r; \
28882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28883 $(HOST_EXPORTS) \
28884 for flag in $(EXTRA_HOST_FLAGS) ; do \
28885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28886 done; \
28887 echo "Doing mostlyclean in readline"; \
28888 (cd $(HOST_SUBDIR)/readline && \
28889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28891 "RANLIB=$${RANLIB}" \
28892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28893 mostlyclean) \
28894 || exit 1
28896 @endif readline
28898 .PHONY: maybe-clean-readline clean-readline
28899 maybe-clean-readline:
28900 @if readline
28901 maybe-clean-readline: clean-readline
28903 clean-readline:
28904 @: $(MAKE); $(unstage)
28905 @[ -f ./readline/Makefile ] || exit 0; \
28906 r=`${PWD_COMMAND}`; export r; \
28907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28908 $(HOST_EXPORTS) \
28909 for flag in $(EXTRA_HOST_FLAGS) ; do \
28910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28911 done; \
28912 echo "Doing clean in readline"; \
28913 (cd $(HOST_SUBDIR)/readline && \
28914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28916 "RANLIB=$${RANLIB}" \
28917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28918 clean) \
28919 || exit 1
28921 @endif readline
28923 .PHONY: maybe-distclean-readline distclean-readline
28924 maybe-distclean-readline:
28925 @if readline
28926 maybe-distclean-readline: distclean-readline
28928 distclean-readline:
28929 @: $(MAKE); $(unstage)
28930 @[ -f ./readline/Makefile ] || exit 0; \
28931 r=`${PWD_COMMAND}`; export r; \
28932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28933 $(HOST_EXPORTS) \
28934 for flag in $(EXTRA_HOST_FLAGS) ; do \
28935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28936 done; \
28937 echo "Doing distclean in readline"; \
28938 (cd $(HOST_SUBDIR)/readline && \
28939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28941 "RANLIB=$${RANLIB}" \
28942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28943 distclean) \
28944 || exit 1
28946 @endif readline
28948 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
28949 maybe-maintainer-clean-readline:
28950 @if readline
28951 maybe-maintainer-clean-readline: maintainer-clean-readline
28953 maintainer-clean-readline:
28954 @: $(MAKE); $(unstage)
28955 @[ -f ./readline/Makefile ] || exit 0; \
28956 r=`${PWD_COMMAND}`; export r; \
28957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28958 $(HOST_EXPORTS) \
28959 for flag in $(EXTRA_HOST_FLAGS) ; do \
28960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28961 done; \
28962 echo "Doing maintainer-clean in readline"; \
28963 (cd $(HOST_SUBDIR)/readline && \
28964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28966 "RANLIB=$${RANLIB}" \
28967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28968 maintainer-clean) \
28969 || exit 1
28971 @endif readline
28975 .PHONY: configure-sid maybe-configure-sid
28976 maybe-configure-sid:
28977 @if gcc-bootstrap
28978 configure-sid: stage_current
28979 @endif gcc-bootstrap
28980 @if sid
28981 maybe-configure-sid: configure-sid
28982 configure-sid:
28983 @: $(MAKE); $(unstage)
28984 @r=`${PWD_COMMAND}`; export r; \
28985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28986 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
28987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
28988 $(HOST_EXPORTS) \
28989 echo Configuring in $(HOST_SUBDIR)/sid; \
28990 cd "$(HOST_SUBDIR)/sid" || exit 1; \
28991 case $(srcdir) in \
28992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28993 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
28994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28995 esac; \
28996 module_srcdir=sid; \
28997 $(SHELL) \
28998 $$s/$$module_srcdir/configure \
28999 --srcdir=$${topdir}/$$module_srcdir \
29000 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29001 --target=${target_alias} \
29002 || exit 1
29003 @endif sid
29009 .PHONY: all-sid maybe-all-sid
29010 maybe-all-sid:
29011 @if gcc-bootstrap
29012 all-sid: stage_current
29013 @endif gcc-bootstrap
29014 @if sid
29015 TARGET-sid=all
29016 maybe-all-sid: all-sid
29017 all-sid: configure-sid
29018 @: $(MAKE); $(unstage)
29019 @r=`${PWD_COMMAND}`; export r; \
29020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29021 $(HOST_EXPORTS) \
29022 (cd $(HOST_SUBDIR)/sid && \
29023 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29024 $(TARGET-sid))
29025 @endif sid
29030 .PHONY: check-sid maybe-check-sid
29031 maybe-check-sid:
29032 @if sid
29033 maybe-check-sid: check-sid
29035 check-sid:
29036 @: $(MAKE); $(unstage)
29037 @r=`${PWD_COMMAND}`; export r; \
29038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29039 $(HOST_EXPORTS) \
29040 (cd $(HOST_SUBDIR)/sid && \
29041 $(MAKE) $(FLAGS_TO_PASS) check)
29043 @endif sid
29045 .PHONY: install-sid maybe-install-sid
29046 maybe-install-sid:
29047 @if sid
29048 maybe-install-sid: install-sid
29050 install-sid: installdirs
29051 @: $(MAKE); $(unstage)
29052 @r=`${PWD_COMMAND}`; export r; \
29053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29054 $(HOST_EXPORTS) \
29055 (cd $(HOST_SUBDIR)/sid && \
29056 $(MAKE) $(FLAGS_TO_PASS) install)
29058 @endif sid
29060 .PHONY: install-strip-sid maybe-install-strip-sid
29061 maybe-install-strip-sid:
29062 @if sid
29063 maybe-install-strip-sid: install-strip-sid
29065 install-strip-sid: installdirs
29066 @: $(MAKE); $(unstage)
29067 @r=`${PWD_COMMAND}`; export r; \
29068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29069 $(HOST_EXPORTS) \
29070 (cd $(HOST_SUBDIR)/sid && \
29071 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29073 @endif sid
29075 # Other targets (info, dvi, pdf, etc.)
29077 .PHONY: maybe-info-sid info-sid
29078 maybe-info-sid:
29079 @if sid
29080 maybe-info-sid: info-sid
29082 info-sid: \
29083 configure-sid
29084 @: $(MAKE); $(unstage)
29085 @[ -f ./sid/Makefile ] || exit 0; \
29086 r=`${PWD_COMMAND}`; export r; \
29087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29088 $(HOST_EXPORTS) \
29089 for flag in $(EXTRA_HOST_FLAGS) ; do \
29090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29091 done; \
29092 echo "Doing info in sid"; \
29093 (cd $(HOST_SUBDIR)/sid && \
29094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29096 "RANLIB=$${RANLIB}" \
29097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29098 info) \
29099 || exit 1
29101 @endif sid
29103 .PHONY: maybe-dvi-sid dvi-sid
29104 maybe-dvi-sid:
29105 @if sid
29106 maybe-dvi-sid: dvi-sid
29108 dvi-sid: \
29109 configure-sid
29110 @: $(MAKE); $(unstage)
29111 @[ -f ./sid/Makefile ] || exit 0; \
29112 r=`${PWD_COMMAND}`; export r; \
29113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29114 $(HOST_EXPORTS) \
29115 for flag in $(EXTRA_HOST_FLAGS) ; do \
29116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29117 done; \
29118 echo "Doing dvi in sid"; \
29119 (cd $(HOST_SUBDIR)/sid && \
29120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29122 "RANLIB=$${RANLIB}" \
29123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29124 dvi) \
29125 || exit 1
29127 @endif sid
29129 .PHONY: maybe-pdf-sid pdf-sid
29130 maybe-pdf-sid:
29131 @if sid
29132 maybe-pdf-sid: pdf-sid
29134 pdf-sid: \
29135 configure-sid
29136 @: $(MAKE); $(unstage)
29137 @[ -f ./sid/Makefile ] || exit 0; \
29138 r=`${PWD_COMMAND}`; export r; \
29139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29140 $(HOST_EXPORTS) \
29141 for flag in $(EXTRA_HOST_FLAGS) ; do \
29142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29143 done; \
29144 echo "Doing pdf in sid"; \
29145 (cd $(HOST_SUBDIR)/sid && \
29146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29148 "RANLIB=$${RANLIB}" \
29149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29150 pdf) \
29151 || exit 1
29153 @endif sid
29155 .PHONY: maybe-html-sid html-sid
29156 maybe-html-sid:
29157 @if sid
29158 maybe-html-sid: html-sid
29160 html-sid: \
29161 configure-sid
29162 @: $(MAKE); $(unstage)
29163 @[ -f ./sid/Makefile ] || exit 0; \
29164 r=`${PWD_COMMAND}`; export r; \
29165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29166 $(HOST_EXPORTS) \
29167 for flag in $(EXTRA_HOST_FLAGS) ; do \
29168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29169 done; \
29170 echo "Doing html in sid"; \
29171 (cd $(HOST_SUBDIR)/sid && \
29172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29174 "RANLIB=$${RANLIB}" \
29175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29176 html) \
29177 || exit 1
29179 @endif sid
29181 .PHONY: maybe-TAGS-sid TAGS-sid
29182 maybe-TAGS-sid:
29183 @if sid
29184 maybe-TAGS-sid: TAGS-sid
29186 TAGS-sid: \
29187 configure-sid
29188 @: $(MAKE); $(unstage)
29189 @[ -f ./sid/Makefile ] || exit 0; \
29190 r=`${PWD_COMMAND}`; export r; \
29191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29192 $(HOST_EXPORTS) \
29193 for flag in $(EXTRA_HOST_FLAGS) ; do \
29194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29195 done; \
29196 echo "Doing TAGS in sid"; \
29197 (cd $(HOST_SUBDIR)/sid && \
29198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29200 "RANLIB=$${RANLIB}" \
29201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29202 TAGS) \
29203 || exit 1
29205 @endif sid
29207 .PHONY: maybe-install-info-sid install-info-sid
29208 maybe-install-info-sid:
29209 @if sid
29210 maybe-install-info-sid: install-info-sid
29212 install-info-sid: \
29213 configure-sid \
29214 info-sid
29215 @: $(MAKE); $(unstage)
29216 @[ -f ./sid/Makefile ] || exit 0; \
29217 r=`${PWD_COMMAND}`; export r; \
29218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29219 $(HOST_EXPORTS) \
29220 for flag in $(EXTRA_HOST_FLAGS) ; do \
29221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29222 done; \
29223 echo "Doing install-info in sid"; \
29224 (cd $(HOST_SUBDIR)/sid && \
29225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29227 "RANLIB=$${RANLIB}" \
29228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29229 install-info) \
29230 || exit 1
29232 @endif sid
29234 .PHONY: maybe-install-pdf-sid install-pdf-sid
29235 maybe-install-pdf-sid:
29236 @if sid
29237 maybe-install-pdf-sid: install-pdf-sid
29239 install-pdf-sid: \
29240 configure-sid \
29241 pdf-sid
29242 @: $(MAKE); $(unstage)
29243 @[ -f ./sid/Makefile ] || exit 0; \
29244 r=`${PWD_COMMAND}`; export r; \
29245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29246 $(HOST_EXPORTS) \
29247 for flag in $(EXTRA_HOST_FLAGS) ; do \
29248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29249 done; \
29250 echo "Doing install-pdf in sid"; \
29251 (cd $(HOST_SUBDIR)/sid && \
29252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29254 "RANLIB=$${RANLIB}" \
29255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29256 install-pdf) \
29257 || exit 1
29259 @endif sid
29261 .PHONY: maybe-install-html-sid install-html-sid
29262 maybe-install-html-sid:
29263 @if sid
29264 maybe-install-html-sid: install-html-sid
29266 install-html-sid: \
29267 configure-sid \
29268 html-sid
29269 @: $(MAKE); $(unstage)
29270 @[ -f ./sid/Makefile ] || exit 0; \
29271 r=`${PWD_COMMAND}`; export r; \
29272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29273 $(HOST_EXPORTS) \
29274 for flag in $(EXTRA_HOST_FLAGS) ; do \
29275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29276 done; \
29277 echo "Doing install-html in sid"; \
29278 (cd $(HOST_SUBDIR)/sid && \
29279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29281 "RANLIB=$${RANLIB}" \
29282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29283 install-html) \
29284 || exit 1
29286 @endif sid
29288 .PHONY: maybe-installcheck-sid installcheck-sid
29289 maybe-installcheck-sid:
29290 @if sid
29291 maybe-installcheck-sid: installcheck-sid
29293 installcheck-sid: \
29294 configure-sid
29295 @: $(MAKE); $(unstage)
29296 @[ -f ./sid/Makefile ] || exit 0; \
29297 r=`${PWD_COMMAND}`; export r; \
29298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29299 $(HOST_EXPORTS) \
29300 for flag in $(EXTRA_HOST_FLAGS) ; do \
29301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29302 done; \
29303 echo "Doing installcheck in sid"; \
29304 (cd $(HOST_SUBDIR)/sid && \
29305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29307 "RANLIB=$${RANLIB}" \
29308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29309 installcheck) \
29310 || exit 1
29312 @endif sid
29314 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
29315 maybe-mostlyclean-sid:
29316 @if sid
29317 maybe-mostlyclean-sid: mostlyclean-sid
29319 mostlyclean-sid:
29320 @: $(MAKE); $(unstage)
29321 @[ -f ./sid/Makefile ] || exit 0; \
29322 r=`${PWD_COMMAND}`; export r; \
29323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29324 $(HOST_EXPORTS) \
29325 for flag in $(EXTRA_HOST_FLAGS) ; do \
29326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29327 done; \
29328 echo "Doing mostlyclean in sid"; \
29329 (cd $(HOST_SUBDIR)/sid && \
29330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29332 "RANLIB=$${RANLIB}" \
29333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29334 mostlyclean) \
29335 || exit 1
29337 @endif sid
29339 .PHONY: maybe-clean-sid clean-sid
29340 maybe-clean-sid:
29341 @if sid
29342 maybe-clean-sid: clean-sid
29344 clean-sid:
29345 @: $(MAKE); $(unstage)
29346 @[ -f ./sid/Makefile ] || exit 0; \
29347 r=`${PWD_COMMAND}`; export r; \
29348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29349 $(HOST_EXPORTS) \
29350 for flag in $(EXTRA_HOST_FLAGS) ; do \
29351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29352 done; \
29353 echo "Doing clean in sid"; \
29354 (cd $(HOST_SUBDIR)/sid && \
29355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29357 "RANLIB=$${RANLIB}" \
29358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29359 clean) \
29360 || exit 1
29362 @endif sid
29364 .PHONY: maybe-distclean-sid distclean-sid
29365 maybe-distclean-sid:
29366 @if sid
29367 maybe-distclean-sid: distclean-sid
29369 distclean-sid:
29370 @: $(MAKE); $(unstage)
29371 @[ -f ./sid/Makefile ] || exit 0; \
29372 r=`${PWD_COMMAND}`; export r; \
29373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29374 $(HOST_EXPORTS) \
29375 for flag in $(EXTRA_HOST_FLAGS) ; do \
29376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29377 done; \
29378 echo "Doing distclean in sid"; \
29379 (cd $(HOST_SUBDIR)/sid && \
29380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29382 "RANLIB=$${RANLIB}" \
29383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29384 distclean) \
29385 || exit 1
29387 @endif sid
29389 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
29390 maybe-maintainer-clean-sid:
29391 @if sid
29392 maybe-maintainer-clean-sid: maintainer-clean-sid
29394 maintainer-clean-sid:
29395 @: $(MAKE); $(unstage)
29396 @[ -f ./sid/Makefile ] || exit 0; \
29397 r=`${PWD_COMMAND}`; export r; \
29398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29399 $(HOST_EXPORTS) \
29400 for flag in $(EXTRA_HOST_FLAGS) ; do \
29401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29402 done; \
29403 echo "Doing maintainer-clean in sid"; \
29404 (cd $(HOST_SUBDIR)/sid && \
29405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29407 "RANLIB=$${RANLIB}" \
29408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29409 maintainer-clean) \
29410 || exit 1
29412 @endif sid
29416 .PHONY: configure-sim maybe-configure-sim
29417 maybe-configure-sim:
29418 @if gcc-bootstrap
29419 configure-sim: stage_current
29420 @endif gcc-bootstrap
29421 @if sim
29422 maybe-configure-sim: configure-sim
29423 configure-sim:
29424 @: $(MAKE); $(unstage)
29425 @r=`${PWD_COMMAND}`; export r; \
29426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29427 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
29428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
29429 $(HOST_EXPORTS) \
29430 echo Configuring in $(HOST_SUBDIR)/sim; \
29431 cd "$(HOST_SUBDIR)/sim" || exit 1; \
29432 case $(srcdir) in \
29433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29434 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
29435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29436 esac; \
29437 module_srcdir=sim; \
29438 $(SHELL) \
29439 $$s/$$module_srcdir/configure \
29440 --srcdir=$${topdir}/$$module_srcdir \
29441 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29442 --target=${target_alias} \
29443 || exit 1
29444 @endif sim
29450 .PHONY: all-sim maybe-all-sim
29451 maybe-all-sim:
29452 @if gcc-bootstrap
29453 all-sim: stage_current
29454 @endif gcc-bootstrap
29455 @if sim
29456 TARGET-sim=all
29457 maybe-all-sim: all-sim
29458 all-sim: configure-sim
29459 @: $(MAKE); $(unstage)
29460 @r=`${PWD_COMMAND}`; export r; \
29461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29462 $(HOST_EXPORTS) \
29463 (cd $(HOST_SUBDIR)/sim && \
29464 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29465 $(TARGET-sim))
29466 @endif sim
29471 .PHONY: check-sim maybe-check-sim
29472 maybe-check-sim:
29473 @if sim
29474 maybe-check-sim: check-sim
29476 check-sim:
29477 @: $(MAKE); $(unstage)
29478 @r=`${PWD_COMMAND}`; export r; \
29479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29480 $(HOST_EXPORTS) \
29481 (cd $(HOST_SUBDIR)/sim && \
29482 $(MAKE) $(FLAGS_TO_PASS) check)
29484 @endif sim
29486 .PHONY: install-sim maybe-install-sim
29487 maybe-install-sim:
29488 @if sim
29489 maybe-install-sim: install-sim
29491 install-sim: installdirs
29492 @: $(MAKE); $(unstage)
29493 @r=`${PWD_COMMAND}`; export r; \
29494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29495 $(HOST_EXPORTS) \
29496 (cd $(HOST_SUBDIR)/sim && \
29497 $(MAKE) $(FLAGS_TO_PASS) install)
29499 @endif sim
29501 .PHONY: install-strip-sim maybe-install-strip-sim
29502 maybe-install-strip-sim:
29503 @if sim
29504 maybe-install-strip-sim: install-strip-sim
29506 install-strip-sim: installdirs
29507 @: $(MAKE); $(unstage)
29508 @r=`${PWD_COMMAND}`; export r; \
29509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29510 $(HOST_EXPORTS) \
29511 (cd $(HOST_SUBDIR)/sim && \
29512 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29514 @endif sim
29516 # Other targets (info, dvi, pdf, etc.)
29518 .PHONY: maybe-info-sim info-sim
29519 maybe-info-sim:
29520 @if sim
29521 maybe-info-sim: info-sim
29523 info-sim: \
29524 configure-sim
29525 @: $(MAKE); $(unstage)
29526 @[ -f ./sim/Makefile ] || exit 0; \
29527 r=`${PWD_COMMAND}`; export r; \
29528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29529 $(HOST_EXPORTS) \
29530 for flag in $(EXTRA_HOST_FLAGS) ; do \
29531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29532 done; \
29533 echo "Doing info in sim"; \
29534 (cd $(HOST_SUBDIR)/sim && \
29535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29537 "RANLIB=$${RANLIB}" \
29538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29539 info) \
29540 || exit 1
29542 @endif sim
29544 .PHONY: maybe-dvi-sim dvi-sim
29545 maybe-dvi-sim:
29546 @if sim
29547 maybe-dvi-sim: dvi-sim
29549 dvi-sim: \
29550 configure-sim
29551 @: $(MAKE); $(unstage)
29552 @[ -f ./sim/Makefile ] || exit 0; \
29553 r=`${PWD_COMMAND}`; export r; \
29554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29555 $(HOST_EXPORTS) \
29556 for flag in $(EXTRA_HOST_FLAGS) ; do \
29557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29558 done; \
29559 echo "Doing dvi in sim"; \
29560 (cd $(HOST_SUBDIR)/sim && \
29561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29563 "RANLIB=$${RANLIB}" \
29564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29565 dvi) \
29566 || exit 1
29568 @endif sim
29570 .PHONY: maybe-pdf-sim pdf-sim
29571 maybe-pdf-sim:
29572 @if sim
29573 maybe-pdf-sim: pdf-sim
29575 pdf-sim: \
29576 configure-sim
29577 @: $(MAKE); $(unstage)
29578 @[ -f ./sim/Makefile ] || exit 0; \
29579 r=`${PWD_COMMAND}`; export r; \
29580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29581 $(HOST_EXPORTS) \
29582 for flag in $(EXTRA_HOST_FLAGS) ; do \
29583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29584 done; \
29585 echo "Doing pdf in sim"; \
29586 (cd $(HOST_SUBDIR)/sim && \
29587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29589 "RANLIB=$${RANLIB}" \
29590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29591 pdf) \
29592 || exit 1
29594 @endif sim
29596 .PHONY: maybe-html-sim html-sim
29597 maybe-html-sim:
29598 @if sim
29599 maybe-html-sim: html-sim
29601 html-sim: \
29602 configure-sim
29603 @: $(MAKE); $(unstage)
29604 @[ -f ./sim/Makefile ] || exit 0; \
29605 r=`${PWD_COMMAND}`; export r; \
29606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29607 $(HOST_EXPORTS) \
29608 for flag in $(EXTRA_HOST_FLAGS) ; do \
29609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29610 done; \
29611 echo "Doing html in sim"; \
29612 (cd $(HOST_SUBDIR)/sim && \
29613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29615 "RANLIB=$${RANLIB}" \
29616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29617 html) \
29618 || exit 1
29620 @endif sim
29622 .PHONY: maybe-TAGS-sim TAGS-sim
29623 maybe-TAGS-sim:
29624 @if sim
29625 maybe-TAGS-sim: TAGS-sim
29627 TAGS-sim: \
29628 configure-sim
29629 @: $(MAKE); $(unstage)
29630 @[ -f ./sim/Makefile ] || exit 0; \
29631 r=`${PWD_COMMAND}`; export r; \
29632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29633 $(HOST_EXPORTS) \
29634 for flag in $(EXTRA_HOST_FLAGS) ; do \
29635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29636 done; \
29637 echo "Doing TAGS in sim"; \
29638 (cd $(HOST_SUBDIR)/sim && \
29639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29641 "RANLIB=$${RANLIB}" \
29642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29643 TAGS) \
29644 || exit 1
29646 @endif sim
29648 .PHONY: maybe-install-info-sim install-info-sim
29649 maybe-install-info-sim:
29650 @if sim
29651 maybe-install-info-sim: install-info-sim
29653 install-info-sim: \
29654 configure-sim \
29655 info-sim
29656 @: $(MAKE); $(unstage)
29657 @[ -f ./sim/Makefile ] || exit 0; \
29658 r=`${PWD_COMMAND}`; export r; \
29659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29660 $(HOST_EXPORTS) \
29661 for flag in $(EXTRA_HOST_FLAGS) ; do \
29662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29663 done; \
29664 echo "Doing install-info in sim"; \
29665 (cd $(HOST_SUBDIR)/sim && \
29666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29668 "RANLIB=$${RANLIB}" \
29669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29670 install-info) \
29671 || exit 1
29673 @endif sim
29675 .PHONY: maybe-install-pdf-sim install-pdf-sim
29676 maybe-install-pdf-sim:
29677 @if sim
29678 maybe-install-pdf-sim: install-pdf-sim
29680 install-pdf-sim: \
29681 configure-sim \
29682 pdf-sim
29683 @: $(MAKE); $(unstage)
29684 @[ -f ./sim/Makefile ] || exit 0; \
29685 r=`${PWD_COMMAND}`; export r; \
29686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29687 $(HOST_EXPORTS) \
29688 for flag in $(EXTRA_HOST_FLAGS) ; do \
29689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29690 done; \
29691 echo "Doing install-pdf in sim"; \
29692 (cd $(HOST_SUBDIR)/sim && \
29693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29695 "RANLIB=$${RANLIB}" \
29696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29697 install-pdf) \
29698 || exit 1
29700 @endif sim
29702 .PHONY: maybe-install-html-sim install-html-sim
29703 maybe-install-html-sim:
29704 @if sim
29705 maybe-install-html-sim: install-html-sim
29707 install-html-sim: \
29708 configure-sim \
29709 html-sim
29710 @: $(MAKE); $(unstage)
29711 @[ -f ./sim/Makefile ] || exit 0; \
29712 r=`${PWD_COMMAND}`; export r; \
29713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29714 $(HOST_EXPORTS) \
29715 for flag in $(EXTRA_HOST_FLAGS) ; do \
29716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29717 done; \
29718 echo "Doing install-html in sim"; \
29719 (cd $(HOST_SUBDIR)/sim && \
29720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29722 "RANLIB=$${RANLIB}" \
29723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29724 install-html) \
29725 || exit 1
29727 @endif sim
29729 .PHONY: maybe-installcheck-sim installcheck-sim
29730 maybe-installcheck-sim:
29731 @if sim
29732 maybe-installcheck-sim: installcheck-sim
29734 installcheck-sim: \
29735 configure-sim
29736 @: $(MAKE); $(unstage)
29737 @[ -f ./sim/Makefile ] || exit 0; \
29738 r=`${PWD_COMMAND}`; export r; \
29739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29740 $(HOST_EXPORTS) \
29741 for flag in $(EXTRA_HOST_FLAGS) ; do \
29742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29743 done; \
29744 echo "Doing installcheck in sim"; \
29745 (cd $(HOST_SUBDIR)/sim && \
29746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29748 "RANLIB=$${RANLIB}" \
29749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29750 installcheck) \
29751 || exit 1
29753 @endif sim
29755 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
29756 maybe-mostlyclean-sim:
29757 @if sim
29758 maybe-mostlyclean-sim: mostlyclean-sim
29760 mostlyclean-sim:
29761 @: $(MAKE); $(unstage)
29762 @[ -f ./sim/Makefile ] || exit 0; \
29763 r=`${PWD_COMMAND}`; export r; \
29764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29765 $(HOST_EXPORTS) \
29766 for flag in $(EXTRA_HOST_FLAGS) ; do \
29767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29768 done; \
29769 echo "Doing mostlyclean in sim"; \
29770 (cd $(HOST_SUBDIR)/sim && \
29771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29773 "RANLIB=$${RANLIB}" \
29774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29775 mostlyclean) \
29776 || exit 1
29778 @endif sim
29780 .PHONY: maybe-clean-sim clean-sim
29781 maybe-clean-sim:
29782 @if sim
29783 maybe-clean-sim: clean-sim
29785 clean-sim:
29786 @: $(MAKE); $(unstage)
29787 @[ -f ./sim/Makefile ] || exit 0; \
29788 r=`${PWD_COMMAND}`; export r; \
29789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29790 $(HOST_EXPORTS) \
29791 for flag in $(EXTRA_HOST_FLAGS) ; do \
29792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29793 done; \
29794 echo "Doing clean in sim"; \
29795 (cd $(HOST_SUBDIR)/sim && \
29796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29798 "RANLIB=$${RANLIB}" \
29799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29800 clean) \
29801 || exit 1
29803 @endif sim
29805 .PHONY: maybe-distclean-sim distclean-sim
29806 maybe-distclean-sim:
29807 @if sim
29808 maybe-distclean-sim: distclean-sim
29810 distclean-sim:
29811 @: $(MAKE); $(unstage)
29812 @[ -f ./sim/Makefile ] || exit 0; \
29813 r=`${PWD_COMMAND}`; export r; \
29814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29815 $(HOST_EXPORTS) \
29816 for flag in $(EXTRA_HOST_FLAGS) ; do \
29817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29818 done; \
29819 echo "Doing distclean in sim"; \
29820 (cd $(HOST_SUBDIR)/sim && \
29821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29823 "RANLIB=$${RANLIB}" \
29824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29825 distclean) \
29826 || exit 1
29828 @endif sim
29830 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
29831 maybe-maintainer-clean-sim:
29832 @if sim
29833 maybe-maintainer-clean-sim: maintainer-clean-sim
29835 maintainer-clean-sim:
29836 @: $(MAKE); $(unstage)
29837 @[ -f ./sim/Makefile ] || exit 0; \
29838 r=`${PWD_COMMAND}`; export r; \
29839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29840 $(HOST_EXPORTS) \
29841 for flag in $(EXTRA_HOST_FLAGS) ; do \
29842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29843 done; \
29844 echo "Doing maintainer-clean in sim"; \
29845 (cd $(HOST_SUBDIR)/sim && \
29846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29848 "RANLIB=$${RANLIB}" \
29849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29850 maintainer-clean) \
29851 || exit 1
29853 @endif sim
29857 .PHONY: configure-texinfo maybe-configure-texinfo
29858 maybe-configure-texinfo:
29859 @if gcc-bootstrap
29860 configure-texinfo: stage_current
29861 @endif gcc-bootstrap
29862 @if texinfo
29863 maybe-configure-texinfo: configure-texinfo
29864 configure-texinfo:
29865 @: $(MAKE); $(unstage)
29866 @r=`${PWD_COMMAND}`; export r; \
29867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29868 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
29869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
29870 $(HOST_EXPORTS) \
29871 echo Configuring in $(HOST_SUBDIR)/texinfo; \
29872 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
29873 case $(srcdir) in \
29874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29875 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
29876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29877 esac; \
29878 module_srcdir=texinfo; \
29879 $(SHELL) \
29880 $$s/$$module_srcdir/configure \
29881 --srcdir=$${topdir}/$$module_srcdir \
29882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29883 --target=${target_alias} \
29884 || exit 1
29885 @endif texinfo
29891 .PHONY: all-texinfo maybe-all-texinfo
29892 maybe-all-texinfo:
29893 @if gcc-bootstrap
29894 all-texinfo: stage_current
29895 @endif gcc-bootstrap
29896 @if texinfo
29897 TARGET-texinfo=all
29898 maybe-all-texinfo: all-texinfo
29899 all-texinfo: configure-texinfo
29900 @: $(MAKE); $(unstage)
29901 @r=`${PWD_COMMAND}`; export r; \
29902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29903 $(HOST_EXPORTS) \
29904 (cd $(HOST_SUBDIR)/texinfo && \
29905 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29906 $(TARGET-texinfo))
29907 @endif texinfo
29912 .PHONY: check-texinfo maybe-check-texinfo
29913 maybe-check-texinfo:
29914 @if texinfo
29915 maybe-check-texinfo: check-texinfo
29917 check-texinfo:
29918 @: $(MAKE); $(unstage)
29919 @r=`${PWD_COMMAND}`; export r; \
29920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29921 $(HOST_EXPORTS) \
29922 (cd $(HOST_SUBDIR)/texinfo && \
29923 $(MAKE) $(FLAGS_TO_PASS) check)
29925 @endif texinfo
29927 .PHONY: install-texinfo maybe-install-texinfo
29928 maybe-install-texinfo:
29929 @if texinfo
29930 maybe-install-texinfo: install-texinfo
29932 install-texinfo:
29934 @endif texinfo
29936 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
29937 maybe-install-strip-texinfo:
29938 @if texinfo
29939 maybe-install-strip-texinfo: install-strip-texinfo
29941 install-strip-texinfo:
29943 @endif texinfo
29945 # Other targets (info, dvi, pdf, etc.)
29947 .PHONY: maybe-info-texinfo info-texinfo
29948 maybe-info-texinfo:
29949 @if texinfo
29950 maybe-info-texinfo: info-texinfo
29952 info-texinfo: \
29953 configure-texinfo
29954 @: $(MAKE); $(unstage)
29955 @[ -f ./texinfo/Makefile ] || exit 0; \
29956 r=`${PWD_COMMAND}`; export r; \
29957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29958 $(HOST_EXPORTS) \
29959 for flag in $(EXTRA_HOST_FLAGS) ; do \
29960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29961 done; \
29962 echo "Doing info in texinfo"; \
29963 (cd $(HOST_SUBDIR)/texinfo && \
29964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29966 "RANLIB=$${RANLIB}" \
29967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29968 info) \
29969 || exit 1
29971 @endif texinfo
29973 .PHONY: maybe-dvi-texinfo dvi-texinfo
29974 maybe-dvi-texinfo:
29975 @if texinfo
29976 maybe-dvi-texinfo: dvi-texinfo
29978 dvi-texinfo: \
29979 configure-texinfo
29980 @: $(MAKE); $(unstage)
29981 @[ -f ./texinfo/Makefile ] || exit 0; \
29982 r=`${PWD_COMMAND}`; export r; \
29983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29984 $(HOST_EXPORTS) \
29985 for flag in $(EXTRA_HOST_FLAGS) ; do \
29986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29987 done; \
29988 echo "Doing dvi in texinfo"; \
29989 (cd $(HOST_SUBDIR)/texinfo && \
29990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29992 "RANLIB=$${RANLIB}" \
29993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29994 dvi) \
29995 || exit 1
29997 @endif texinfo
29999 .PHONY: maybe-pdf-texinfo pdf-texinfo
30000 maybe-pdf-texinfo:
30001 @if texinfo
30002 maybe-pdf-texinfo: pdf-texinfo
30004 pdf-texinfo: \
30005 configure-texinfo
30006 @: $(MAKE); $(unstage)
30007 @[ -f ./texinfo/Makefile ] || exit 0; \
30008 r=`${PWD_COMMAND}`; export r; \
30009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30010 $(HOST_EXPORTS) \
30011 for flag in $(EXTRA_HOST_FLAGS) ; do \
30012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30013 done; \
30014 echo "Doing pdf in texinfo"; \
30015 (cd $(HOST_SUBDIR)/texinfo && \
30016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30018 "RANLIB=$${RANLIB}" \
30019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30020 pdf) \
30021 || exit 1
30023 @endif texinfo
30025 .PHONY: maybe-html-texinfo html-texinfo
30026 maybe-html-texinfo:
30027 @if texinfo
30028 maybe-html-texinfo: html-texinfo
30030 html-texinfo: \
30031 configure-texinfo
30032 @: $(MAKE); $(unstage)
30033 @[ -f ./texinfo/Makefile ] || exit 0; \
30034 r=`${PWD_COMMAND}`; export r; \
30035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30036 $(HOST_EXPORTS) \
30037 for flag in $(EXTRA_HOST_FLAGS) ; do \
30038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30039 done; \
30040 echo "Doing html in texinfo"; \
30041 (cd $(HOST_SUBDIR)/texinfo && \
30042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30044 "RANLIB=$${RANLIB}" \
30045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30046 html) \
30047 || exit 1
30049 @endif texinfo
30051 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
30052 maybe-TAGS-texinfo:
30053 @if texinfo
30054 maybe-TAGS-texinfo: TAGS-texinfo
30056 TAGS-texinfo: \
30057 configure-texinfo
30058 @: $(MAKE); $(unstage)
30059 @[ -f ./texinfo/Makefile ] || exit 0; \
30060 r=`${PWD_COMMAND}`; export r; \
30061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30062 $(HOST_EXPORTS) \
30063 for flag in $(EXTRA_HOST_FLAGS) ; do \
30064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30065 done; \
30066 echo "Doing TAGS in texinfo"; \
30067 (cd $(HOST_SUBDIR)/texinfo && \
30068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30070 "RANLIB=$${RANLIB}" \
30071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30072 TAGS) \
30073 || exit 1
30075 @endif texinfo
30077 .PHONY: maybe-install-info-texinfo install-info-texinfo
30078 maybe-install-info-texinfo:
30079 @if texinfo
30080 maybe-install-info-texinfo: install-info-texinfo
30082 install-info-texinfo: \
30083 configure-texinfo \
30084 info-texinfo
30085 @: $(MAKE); $(unstage)
30086 @[ -f ./texinfo/Makefile ] || exit 0; \
30087 r=`${PWD_COMMAND}`; export r; \
30088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30089 $(HOST_EXPORTS) \
30090 for flag in $(EXTRA_HOST_FLAGS) ; do \
30091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30092 done; \
30093 echo "Doing install-info in texinfo"; \
30094 (cd $(HOST_SUBDIR)/texinfo && \
30095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30097 "RANLIB=$${RANLIB}" \
30098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30099 install-info) \
30100 || exit 1
30102 @endif texinfo
30104 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
30105 maybe-install-pdf-texinfo:
30106 @if texinfo
30107 maybe-install-pdf-texinfo: install-pdf-texinfo
30109 install-pdf-texinfo: \
30110 configure-texinfo \
30111 pdf-texinfo
30112 @: $(MAKE); $(unstage)
30113 @[ -f ./texinfo/Makefile ] || exit 0; \
30114 r=`${PWD_COMMAND}`; export r; \
30115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30116 $(HOST_EXPORTS) \
30117 for flag in $(EXTRA_HOST_FLAGS) ; do \
30118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30119 done; \
30120 echo "Doing install-pdf in texinfo"; \
30121 (cd $(HOST_SUBDIR)/texinfo && \
30122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30124 "RANLIB=$${RANLIB}" \
30125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30126 install-pdf) \
30127 || exit 1
30129 @endif texinfo
30131 .PHONY: maybe-install-html-texinfo install-html-texinfo
30132 maybe-install-html-texinfo:
30133 @if texinfo
30134 maybe-install-html-texinfo: install-html-texinfo
30136 install-html-texinfo: \
30137 configure-texinfo \
30138 html-texinfo
30139 @: $(MAKE); $(unstage)
30140 @[ -f ./texinfo/Makefile ] || exit 0; \
30141 r=`${PWD_COMMAND}`; export r; \
30142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30143 $(HOST_EXPORTS) \
30144 for flag in $(EXTRA_HOST_FLAGS) ; do \
30145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30146 done; \
30147 echo "Doing install-html in texinfo"; \
30148 (cd $(HOST_SUBDIR)/texinfo && \
30149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30151 "RANLIB=$${RANLIB}" \
30152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30153 install-html) \
30154 || exit 1
30156 @endif texinfo
30158 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
30159 maybe-installcheck-texinfo:
30160 @if texinfo
30161 maybe-installcheck-texinfo: installcheck-texinfo
30163 installcheck-texinfo: \
30164 configure-texinfo
30165 @: $(MAKE); $(unstage)
30166 @[ -f ./texinfo/Makefile ] || exit 0; \
30167 r=`${PWD_COMMAND}`; export r; \
30168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30169 $(HOST_EXPORTS) \
30170 for flag in $(EXTRA_HOST_FLAGS) ; do \
30171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30172 done; \
30173 echo "Doing installcheck in texinfo"; \
30174 (cd $(HOST_SUBDIR)/texinfo && \
30175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30177 "RANLIB=$${RANLIB}" \
30178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30179 installcheck) \
30180 || exit 1
30182 @endif texinfo
30184 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
30185 maybe-mostlyclean-texinfo:
30186 @if texinfo
30187 maybe-mostlyclean-texinfo: mostlyclean-texinfo
30189 mostlyclean-texinfo:
30190 @: $(MAKE); $(unstage)
30191 @[ -f ./texinfo/Makefile ] || exit 0; \
30192 r=`${PWD_COMMAND}`; export r; \
30193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30194 $(HOST_EXPORTS) \
30195 for flag in $(EXTRA_HOST_FLAGS) ; do \
30196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30197 done; \
30198 echo "Doing mostlyclean in texinfo"; \
30199 (cd $(HOST_SUBDIR)/texinfo && \
30200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30202 "RANLIB=$${RANLIB}" \
30203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30204 mostlyclean) \
30205 || exit 1
30207 @endif texinfo
30209 .PHONY: maybe-clean-texinfo clean-texinfo
30210 maybe-clean-texinfo:
30211 @if texinfo
30212 maybe-clean-texinfo: clean-texinfo
30214 clean-texinfo:
30215 @: $(MAKE); $(unstage)
30216 @[ -f ./texinfo/Makefile ] || exit 0; \
30217 r=`${PWD_COMMAND}`; export r; \
30218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30219 $(HOST_EXPORTS) \
30220 for flag in $(EXTRA_HOST_FLAGS) ; do \
30221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30222 done; \
30223 echo "Doing clean in texinfo"; \
30224 (cd $(HOST_SUBDIR)/texinfo && \
30225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30227 "RANLIB=$${RANLIB}" \
30228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30229 clean) \
30230 || exit 1
30232 @endif texinfo
30234 .PHONY: maybe-distclean-texinfo distclean-texinfo
30235 maybe-distclean-texinfo:
30236 @if texinfo
30237 maybe-distclean-texinfo: distclean-texinfo
30239 distclean-texinfo:
30240 @: $(MAKE); $(unstage)
30241 @[ -f ./texinfo/Makefile ] || exit 0; \
30242 r=`${PWD_COMMAND}`; export r; \
30243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30244 $(HOST_EXPORTS) \
30245 for flag in $(EXTRA_HOST_FLAGS) ; do \
30246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30247 done; \
30248 echo "Doing distclean in texinfo"; \
30249 (cd $(HOST_SUBDIR)/texinfo && \
30250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30252 "RANLIB=$${RANLIB}" \
30253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30254 distclean) \
30255 || exit 1
30257 @endif texinfo
30259 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
30260 maybe-maintainer-clean-texinfo:
30261 @if texinfo
30262 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
30264 maintainer-clean-texinfo:
30265 @: $(MAKE); $(unstage)
30266 @[ -f ./texinfo/Makefile ] || exit 0; \
30267 r=`${PWD_COMMAND}`; export r; \
30268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30269 $(HOST_EXPORTS) \
30270 for flag in $(EXTRA_HOST_FLAGS) ; do \
30271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30272 done; \
30273 echo "Doing maintainer-clean in texinfo"; \
30274 (cd $(HOST_SUBDIR)/texinfo && \
30275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30277 "RANLIB=$${RANLIB}" \
30278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30279 maintainer-clean) \
30280 || exit 1
30282 @endif texinfo
30286 .PHONY: configure-zlib maybe-configure-zlib
30287 maybe-configure-zlib:
30288 @if gcc-bootstrap
30289 configure-zlib: stage_current
30290 @endif gcc-bootstrap
30291 @if zlib
30292 maybe-configure-zlib: configure-zlib
30293 configure-zlib:
30294 @r=`${PWD_COMMAND}`; export r; \
30295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30296 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30297 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30298 $(HOST_EXPORTS) \
30299 echo Configuring in $(HOST_SUBDIR)/zlib; \
30300 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
30301 case $(srcdir) in \
30302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30303 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30305 esac; \
30306 module_srcdir=zlib; \
30307 $(SHELL) \
30308 $$s/$$module_srcdir/configure \
30309 --srcdir=$${topdir}/$$module_srcdir \
30310 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30311 --target=${target_alias} @extra_host_zlib_configure_flags@ \
30312 || exit 1
30313 @endif zlib
30317 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
30318 maybe-configure-stage1-zlib:
30319 @if zlib-bootstrap
30320 maybe-configure-stage1-zlib: configure-stage1-zlib
30321 configure-stage1-zlib:
30322 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30324 @r=`${PWD_COMMAND}`; export r; \
30325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30326 TFLAGS="$(STAGE1_TFLAGS)"; \
30327 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30328 $(HOST_EXPORTS) \
30329 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30330 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30331 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30332 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
30333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30334 cd $(HOST_SUBDIR)/zlib || exit 1; \
30335 case $(srcdir) in \
30336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30337 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30339 esac; \
30340 module_srcdir=zlib; \
30341 $(SHELL) $$s/$$module_srcdir/configure \
30342 --srcdir=$${topdir}/$$module_srcdir \
30343 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30344 --target=${target_alias} \
30346 $(STAGE1_CONFIGURE_FLAGS) \
30347 @extra_host_zlib_configure_flags@
30348 @endif zlib-bootstrap
30350 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
30351 maybe-configure-stage2-zlib:
30352 @if zlib-bootstrap
30353 maybe-configure-stage2-zlib: configure-stage2-zlib
30354 configure-stage2-zlib:
30355 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30356 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30357 @r=`${PWD_COMMAND}`; export r; \
30358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30359 TFLAGS="$(STAGE2_TFLAGS)"; \
30360 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30361 $(HOST_EXPORTS) \
30362 $(POSTSTAGE1_HOST_EXPORTS) \
30363 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30364 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30365 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30366 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
30367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30368 cd $(HOST_SUBDIR)/zlib || exit 1; \
30369 case $(srcdir) in \
30370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30371 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30373 esac; \
30374 module_srcdir=zlib; \
30375 $(SHELL) $$s/$$module_srcdir/configure \
30376 --srcdir=$${topdir}/$$module_srcdir \
30377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30378 --target=${target_alias} \
30379 --with-build-libsubdir=$(HOST_SUBDIR) \
30380 $(STAGE2_CONFIGURE_FLAGS) \
30381 @extra_host_zlib_configure_flags@
30382 @endif zlib-bootstrap
30384 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30385 maybe-configure-stage3-zlib:
30386 @if zlib-bootstrap
30387 maybe-configure-stage3-zlib: configure-stage3-zlib
30388 configure-stage3-zlib:
30389 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30390 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30391 @r=`${PWD_COMMAND}`; export r; \
30392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30393 TFLAGS="$(STAGE3_TFLAGS)"; \
30394 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30395 $(HOST_EXPORTS) \
30396 $(POSTSTAGE1_HOST_EXPORTS) \
30397 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30398 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30399 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30400 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
30401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30402 cd $(HOST_SUBDIR)/zlib || exit 1; \
30403 case $(srcdir) in \
30404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30405 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30407 esac; \
30408 module_srcdir=zlib; \
30409 $(SHELL) $$s/$$module_srcdir/configure \
30410 --srcdir=$${topdir}/$$module_srcdir \
30411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30412 --target=${target_alias} \
30413 --with-build-libsubdir=$(HOST_SUBDIR) \
30414 $(STAGE3_CONFIGURE_FLAGS) \
30415 @extra_host_zlib_configure_flags@
30416 @endif zlib-bootstrap
30418 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30419 maybe-configure-stage4-zlib:
30420 @if zlib-bootstrap
30421 maybe-configure-stage4-zlib: configure-stage4-zlib
30422 configure-stage4-zlib:
30423 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30424 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30425 @r=`${PWD_COMMAND}`; export r; \
30426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30427 TFLAGS="$(STAGE4_TFLAGS)"; \
30428 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30429 $(HOST_EXPORTS) \
30430 $(POSTSTAGE1_HOST_EXPORTS) \
30431 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30432 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30433 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30434 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
30435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30436 cd $(HOST_SUBDIR)/zlib || exit 1; \
30437 case $(srcdir) in \
30438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30439 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30441 esac; \
30442 module_srcdir=zlib; \
30443 $(SHELL) $$s/$$module_srcdir/configure \
30444 --srcdir=$${topdir}/$$module_srcdir \
30445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30446 --target=${target_alias} \
30447 --with-build-libsubdir=$(HOST_SUBDIR) \
30448 $(STAGE4_CONFIGURE_FLAGS) \
30449 @extra_host_zlib_configure_flags@
30450 @endif zlib-bootstrap
30452 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
30453 maybe-configure-stageprofile-zlib:
30454 @if zlib-bootstrap
30455 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
30456 configure-stageprofile-zlib:
30457 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30458 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30459 @r=`${PWD_COMMAND}`; export r; \
30460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30461 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30462 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30463 $(HOST_EXPORTS) \
30464 $(POSTSTAGE1_HOST_EXPORTS) \
30465 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30466 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30467 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30468 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
30469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30470 cd $(HOST_SUBDIR)/zlib || exit 1; \
30471 case $(srcdir) in \
30472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30473 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30475 esac; \
30476 module_srcdir=zlib; \
30477 $(SHELL) $$s/$$module_srcdir/configure \
30478 --srcdir=$${topdir}/$$module_srcdir \
30479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30480 --target=${target_alias} \
30481 --with-build-libsubdir=$(HOST_SUBDIR) \
30482 $(STAGEprofile_CONFIGURE_FLAGS) \
30483 @extra_host_zlib_configure_flags@
30484 @endif zlib-bootstrap
30486 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
30487 maybe-configure-stagefeedback-zlib:
30488 @if zlib-bootstrap
30489 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
30490 configure-stagefeedback-zlib:
30491 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30492 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30493 @r=`${PWD_COMMAND}`; export r; \
30494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30495 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30496 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30497 $(HOST_EXPORTS) \
30498 $(POSTSTAGE1_HOST_EXPORTS) \
30499 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30500 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30501 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30502 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
30503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30504 cd $(HOST_SUBDIR)/zlib || exit 1; \
30505 case $(srcdir) in \
30506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30507 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30509 esac; \
30510 module_srcdir=zlib; \
30511 $(SHELL) $$s/$$module_srcdir/configure \
30512 --srcdir=$${topdir}/$$module_srcdir \
30513 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30514 --target=${target_alias} \
30515 --with-build-libsubdir=$(HOST_SUBDIR) \
30516 $(STAGEfeedback_CONFIGURE_FLAGS) \
30517 @extra_host_zlib_configure_flags@
30518 @endif zlib-bootstrap
30520 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
30521 maybe-configure-stageautoprofile-zlib:
30522 @if zlib-bootstrap
30523 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
30524 configure-stageautoprofile-zlib:
30525 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30526 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30527 @r=`${PWD_COMMAND}`; export r; \
30528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30529 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30530 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30531 $(HOST_EXPORTS) \
30532 $(POSTSTAGE1_HOST_EXPORTS) \
30533 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
30534 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
30535 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
30536 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
30537 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30538 cd $(HOST_SUBDIR)/zlib || exit 1; \
30539 case $(srcdir) in \
30540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30541 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30543 esac; \
30544 module_srcdir=zlib; \
30545 $(SHELL) $$s/$$module_srcdir/configure \
30546 --srcdir=$${topdir}/$$module_srcdir \
30547 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30548 --target=${target_alias} \
30549 --with-build-libsubdir=$(HOST_SUBDIR) \
30550 $(STAGEautoprofile_CONFIGURE_FLAGS) \
30551 @extra_host_zlib_configure_flags@
30552 @endif zlib-bootstrap
30554 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
30555 maybe-configure-stageautofeedback-zlib:
30556 @if zlib-bootstrap
30557 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
30558 configure-stageautofeedback-zlib:
30559 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30560 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
30561 @r=`${PWD_COMMAND}`; export r; \
30562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30563 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30564 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
30565 $(HOST_EXPORTS) \
30566 $(POSTSTAGE1_HOST_EXPORTS) \
30567 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
30568 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
30569 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
30570 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
30571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
30572 cd $(HOST_SUBDIR)/zlib || exit 1; \
30573 case $(srcdir) in \
30574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30575 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
30576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30577 esac; \
30578 module_srcdir=zlib; \
30579 $(SHELL) $$s/$$module_srcdir/configure \
30580 --srcdir=$${topdir}/$$module_srcdir \
30581 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30582 --target=${target_alias} \
30583 --with-build-libsubdir=$(HOST_SUBDIR) \
30584 $(STAGEautofeedback_CONFIGURE_FLAGS) \
30585 @extra_host_zlib_configure_flags@
30586 @endif zlib-bootstrap
30592 .PHONY: all-zlib maybe-all-zlib
30593 maybe-all-zlib:
30594 @if gcc-bootstrap
30595 all-zlib: stage_current
30596 @endif gcc-bootstrap
30597 @if zlib
30598 TARGET-zlib=all
30599 maybe-all-zlib: all-zlib
30600 all-zlib: configure-zlib
30601 @r=`${PWD_COMMAND}`; export r; \
30602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30603 $(HOST_EXPORTS) \
30604 (cd $(HOST_SUBDIR)/zlib && \
30605 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30606 $(TARGET-zlib))
30607 @endif zlib
30611 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
30612 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
30613 maybe-all-stage1-zlib:
30614 maybe-clean-stage1-zlib:
30615 @if zlib-bootstrap
30616 maybe-all-stage1-zlib: all-stage1-zlib
30617 all-stage1: all-stage1-zlib
30618 TARGET-stage1-zlib = $(TARGET-zlib)
30619 all-stage1-zlib: configure-stage1-zlib
30620 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30621 @r=`${PWD_COMMAND}`; export r; \
30622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30623 TFLAGS="$(STAGE1_TFLAGS)"; \
30624 $(HOST_EXPORTS) \
30625 cd $(HOST_SUBDIR)/zlib && \
30627 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30628 CFLAGS="$(STAGE1_CFLAGS)" \
30629 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30630 LIBCFLAGS="$(LIBCFLAGS)" \
30631 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30632 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30633 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30634 $(EXTRA_HOST_FLAGS) \
30635 $(STAGE1_FLAGS_TO_PASS) \
30636 TFLAGS="$(STAGE1_TFLAGS)" \
30637 $(TARGET-stage1-zlib)
30639 maybe-clean-stage1-zlib: clean-stage1-zlib
30640 clean-stage1: clean-stage1-zlib
30641 clean-stage1-zlib:
30642 @if [ $(current_stage) = stage1 ]; then \
30643 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30644 else \
30645 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
30646 $(MAKE) stage1-start; \
30647 fi; \
30648 cd $(HOST_SUBDIR)/zlib && \
30649 $(MAKE) $(EXTRA_HOST_FLAGS) \
30650 $(STAGE1_FLAGS_TO_PASS) clean
30651 @endif zlib-bootstrap
30654 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
30655 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
30656 maybe-all-stage2-zlib:
30657 maybe-clean-stage2-zlib:
30658 @if zlib-bootstrap
30659 maybe-all-stage2-zlib: all-stage2-zlib
30660 all-stage2: all-stage2-zlib
30661 TARGET-stage2-zlib = $(TARGET-zlib)
30662 all-stage2-zlib: configure-stage2-zlib
30663 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30664 @r=`${PWD_COMMAND}`; export r; \
30665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30666 TFLAGS="$(STAGE2_TFLAGS)"; \
30667 $(HOST_EXPORTS) \
30668 $(POSTSTAGE1_HOST_EXPORTS) \
30669 cd $(HOST_SUBDIR)/zlib && \
30671 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30672 CFLAGS="$(STAGE2_CFLAGS)" \
30673 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30674 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30675 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30676 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30677 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30678 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30679 TFLAGS="$(STAGE2_TFLAGS)" \
30680 $(TARGET-stage2-zlib)
30682 maybe-clean-stage2-zlib: clean-stage2-zlib
30683 clean-stage2: clean-stage2-zlib
30684 clean-stage2-zlib:
30685 @if [ $(current_stage) = stage2 ]; then \
30686 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30687 else \
30688 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
30689 $(MAKE) stage2-start; \
30690 fi; \
30691 cd $(HOST_SUBDIR)/zlib && \
30692 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30693 @endif zlib-bootstrap
30696 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30697 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30698 maybe-all-stage3-zlib:
30699 maybe-clean-stage3-zlib:
30700 @if zlib-bootstrap
30701 maybe-all-stage3-zlib: all-stage3-zlib
30702 all-stage3: all-stage3-zlib
30703 TARGET-stage3-zlib = $(TARGET-zlib)
30704 all-stage3-zlib: configure-stage3-zlib
30705 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30706 @r=`${PWD_COMMAND}`; export r; \
30707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30708 TFLAGS="$(STAGE3_TFLAGS)"; \
30709 $(HOST_EXPORTS) \
30710 $(POSTSTAGE1_HOST_EXPORTS) \
30711 cd $(HOST_SUBDIR)/zlib && \
30713 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30714 CFLAGS="$(STAGE3_CFLAGS)" \
30715 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30716 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30717 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30718 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30719 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30720 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30721 TFLAGS="$(STAGE3_TFLAGS)" \
30722 $(TARGET-stage3-zlib)
30724 maybe-clean-stage3-zlib: clean-stage3-zlib
30725 clean-stage3: clean-stage3-zlib
30726 clean-stage3-zlib:
30727 @if [ $(current_stage) = stage3 ]; then \
30728 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30729 else \
30730 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
30731 $(MAKE) stage3-start; \
30732 fi; \
30733 cd $(HOST_SUBDIR)/zlib && \
30734 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30735 @endif zlib-bootstrap
30738 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30739 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30740 maybe-all-stage4-zlib:
30741 maybe-clean-stage4-zlib:
30742 @if zlib-bootstrap
30743 maybe-all-stage4-zlib: all-stage4-zlib
30744 all-stage4: all-stage4-zlib
30745 TARGET-stage4-zlib = $(TARGET-zlib)
30746 all-stage4-zlib: configure-stage4-zlib
30747 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30748 @r=`${PWD_COMMAND}`; export r; \
30749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30750 TFLAGS="$(STAGE4_TFLAGS)"; \
30751 $(HOST_EXPORTS) \
30752 $(POSTSTAGE1_HOST_EXPORTS) \
30753 cd $(HOST_SUBDIR)/zlib && \
30755 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30756 CFLAGS="$(STAGE4_CFLAGS)" \
30757 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30758 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30759 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30760 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30761 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30762 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30763 TFLAGS="$(STAGE4_TFLAGS)" \
30764 $(TARGET-stage4-zlib)
30766 maybe-clean-stage4-zlib: clean-stage4-zlib
30767 clean-stage4: clean-stage4-zlib
30768 clean-stage4-zlib:
30769 @if [ $(current_stage) = stage4 ]; then \
30770 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30771 else \
30772 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
30773 $(MAKE) stage4-start; \
30774 fi; \
30775 cd $(HOST_SUBDIR)/zlib && \
30776 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30777 @endif zlib-bootstrap
30780 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
30781 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
30782 maybe-all-stageprofile-zlib:
30783 maybe-clean-stageprofile-zlib:
30784 @if zlib-bootstrap
30785 maybe-all-stageprofile-zlib: all-stageprofile-zlib
30786 all-stageprofile: all-stageprofile-zlib
30787 TARGET-stageprofile-zlib = $(TARGET-zlib)
30788 all-stageprofile-zlib: configure-stageprofile-zlib
30789 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30790 @r=`${PWD_COMMAND}`; export r; \
30791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30792 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30793 $(HOST_EXPORTS) \
30794 $(POSTSTAGE1_HOST_EXPORTS) \
30795 cd $(HOST_SUBDIR)/zlib && \
30797 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30798 CFLAGS="$(STAGEprofile_CFLAGS)" \
30799 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30800 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30801 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30802 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30803 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30804 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30805 TFLAGS="$(STAGEprofile_TFLAGS)" \
30806 $(TARGET-stageprofile-zlib)
30808 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
30809 clean-stageprofile: clean-stageprofile-zlib
30810 clean-stageprofile-zlib:
30811 @if [ $(current_stage) = stageprofile ]; then \
30812 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30813 else \
30814 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
30815 $(MAKE) stageprofile-start; \
30816 fi; \
30817 cd $(HOST_SUBDIR)/zlib && \
30818 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30819 @endif zlib-bootstrap
30822 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
30823 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
30824 maybe-all-stagefeedback-zlib:
30825 maybe-clean-stagefeedback-zlib:
30826 @if zlib-bootstrap
30827 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
30828 all-stagefeedback: all-stagefeedback-zlib
30829 TARGET-stagefeedback-zlib = $(TARGET-zlib)
30830 all-stagefeedback-zlib: configure-stagefeedback-zlib
30831 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30832 @r=`${PWD_COMMAND}`; export r; \
30833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30834 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30835 $(HOST_EXPORTS) \
30836 $(POSTSTAGE1_HOST_EXPORTS) \
30837 cd $(HOST_SUBDIR)/zlib && \
30839 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30840 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30841 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30842 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30843 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30844 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30845 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30846 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30847 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30848 $(TARGET-stagefeedback-zlib)
30850 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
30851 clean-stagefeedback: clean-stagefeedback-zlib
30852 clean-stagefeedback-zlib:
30853 @if [ $(current_stage) = stagefeedback ]; then \
30854 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30855 else \
30856 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
30857 $(MAKE) stagefeedback-start; \
30858 fi; \
30859 cd $(HOST_SUBDIR)/zlib && \
30860 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30861 @endif zlib-bootstrap
30864 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
30865 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
30866 maybe-all-stageautoprofile-zlib:
30867 maybe-clean-stageautoprofile-zlib:
30868 @if zlib-bootstrap
30869 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
30870 all-stageautoprofile: all-stageautoprofile-zlib
30871 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
30872 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
30873 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30874 @r=`${PWD_COMMAND}`; export r; \
30875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30876 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30877 $(HOST_EXPORTS) \
30878 $(POSTSTAGE1_HOST_EXPORTS) \
30879 cd $(HOST_SUBDIR)/zlib && \
30880 $$s/gcc/config/i386/$(AUTO_PROFILE) \
30881 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30882 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
30883 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
30884 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
30885 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30886 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30887 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30888 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30889 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
30890 $(TARGET-stageautoprofile-zlib)
30892 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
30893 clean-stageautoprofile: clean-stageautoprofile-zlib
30894 clean-stageautoprofile-zlib:
30895 @if [ $(current_stage) = stageautoprofile ]; then \
30896 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30897 else \
30898 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
30899 $(MAKE) stageautoprofile-start; \
30900 fi; \
30901 cd $(HOST_SUBDIR)/zlib && \
30902 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30903 @endif zlib-bootstrap
30906 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
30907 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
30908 maybe-all-stageautofeedback-zlib:
30909 maybe-clean-stageautofeedback-zlib:
30910 @if zlib-bootstrap
30911 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
30912 all-stageautofeedback: all-stageautofeedback-zlib
30913 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
30914 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
30915 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30916 @r=`${PWD_COMMAND}`; export r; \
30917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30918 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30919 $(HOST_EXPORTS) \
30920 $(POSTSTAGE1_HOST_EXPORTS) \
30921 cd $(HOST_SUBDIR)/zlib && \
30923 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30924 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
30925 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
30926 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
30927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30930 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30931 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
30932 $(TARGET-stageautofeedback-zlib)
30934 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
30935 clean-stageautofeedback: clean-stageautofeedback-zlib
30936 clean-stageautofeedback-zlib:
30937 @if [ $(current_stage) = stageautofeedback ]; then \
30938 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
30939 else \
30940 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
30941 $(MAKE) stageautofeedback-start; \
30942 fi; \
30943 cd $(HOST_SUBDIR)/zlib && \
30944 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30945 @endif zlib-bootstrap
30951 .PHONY: check-zlib maybe-check-zlib
30952 maybe-check-zlib:
30953 @if zlib
30954 maybe-check-zlib: check-zlib
30956 check-zlib:
30958 @endif zlib
30960 .PHONY: install-zlib maybe-install-zlib
30961 maybe-install-zlib:
30962 @if zlib
30963 maybe-install-zlib: install-zlib
30965 install-zlib:
30967 @endif zlib
30969 .PHONY: install-strip-zlib maybe-install-strip-zlib
30970 maybe-install-strip-zlib:
30971 @if zlib
30972 maybe-install-strip-zlib: install-strip-zlib
30974 install-strip-zlib:
30976 @endif zlib
30978 # Other targets (info, dvi, pdf, etc.)
30980 .PHONY: maybe-info-zlib info-zlib
30981 maybe-info-zlib:
30982 @if zlib
30983 maybe-info-zlib: info-zlib
30985 info-zlib: \
30986 configure-zlib
30987 @[ -f ./zlib/Makefile ] || exit 0; \
30988 r=`${PWD_COMMAND}`; export r; \
30989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30990 $(HOST_EXPORTS) \
30991 for flag in $(EXTRA_HOST_FLAGS) ; do \
30992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30993 done; \
30994 echo "Doing info in zlib"; \
30995 (cd $(HOST_SUBDIR)/zlib && \
30996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30998 "RANLIB=$${RANLIB}" \
30999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31000 info) \
31001 || exit 1
31003 @endif zlib
31005 .PHONY: maybe-dvi-zlib dvi-zlib
31006 maybe-dvi-zlib:
31007 @if zlib
31008 maybe-dvi-zlib: dvi-zlib
31010 dvi-zlib: \
31011 configure-zlib
31012 @[ -f ./zlib/Makefile ] || exit 0; \
31013 r=`${PWD_COMMAND}`; export r; \
31014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31015 $(HOST_EXPORTS) \
31016 for flag in $(EXTRA_HOST_FLAGS) ; do \
31017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31018 done; \
31019 echo "Doing dvi in zlib"; \
31020 (cd $(HOST_SUBDIR)/zlib && \
31021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31023 "RANLIB=$${RANLIB}" \
31024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31025 dvi) \
31026 || exit 1
31028 @endif zlib
31030 .PHONY: maybe-pdf-zlib pdf-zlib
31031 maybe-pdf-zlib:
31032 @if zlib
31033 maybe-pdf-zlib: pdf-zlib
31035 pdf-zlib: \
31036 configure-zlib
31037 @[ -f ./zlib/Makefile ] || exit 0; \
31038 r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(HOST_EXPORTS) \
31041 for flag in $(EXTRA_HOST_FLAGS) ; do \
31042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31043 done; \
31044 echo "Doing pdf in zlib"; \
31045 (cd $(HOST_SUBDIR)/zlib && \
31046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31048 "RANLIB=$${RANLIB}" \
31049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31050 pdf) \
31051 || exit 1
31053 @endif zlib
31055 .PHONY: maybe-html-zlib html-zlib
31056 maybe-html-zlib:
31057 @if zlib
31058 maybe-html-zlib: html-zlib
31060 html-zlib: \
31061 configure-zlib
31062 @[ -f ./zlib/Makefile ] || exit 0; \
31063 r=`${PWD_COMMAND}`; export r; \
31064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31065 $(HOST_EXPORTS) \
31066 for flag in $(EXTRA_HOST_FLAGS) ; do \
31067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31068 done; \
31069 echo "Doing html in zlib"; \
31070 (cd $(HOST_SUBDIR)/zlib && \
31071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31073 "RANLIB=$${RANLIB}" \
31074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31075 html) \
31076 || exit 1
31078 @endif zlib
31080 .PHONY: maybe-TAGS-zlib TAGS-zlib
31081 maybe-TAGS-zlib:
31082 @if zlib
31083 maybe-TAGS-zlib: TAGS-zlib
31085 TAGS-zlib: \
31086 configure-zlib
31087 @[ -f ./zlib/Makefile ] || exit 0; \
31088 r=`${PWD_COMMAND}`; export r; \
31089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31090 $(HOST_EXPORTS) \
31091 for flag in $(EXTRA_HOST_FLAGS) ; do \
31092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31093 done; \
31094 echo "Doing TAGS in zlib"; \
31095 (cd $(HOST_SUBDIR)/zlib && \
31096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31098 "RANLIB=$${RANLIB}" \
31099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31100 TAGS) \
31101 || exit 1
31103 @endif zlib
31105 .PHONY: maybe-install-info-zlib install-info-zlib
31106 maybe-install-info-zlib:
31107 @if zlib
31108 maybe-install-info-zlib: install-info-zlib
31110 install-info-zlib: \
31111 configure-zlib \
31112 info-zlib
31113 @[ -f ./zlib/Makefile ] || exit 0; \
31114 r=`${PWD_COMMAND}`; export r; \
31115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31116 $(HOST_EXPORTS) \
31117 for flag in $(EXTRA_HOST_FLAGS) ; do \
31118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31119 done; \
31120 echo "Doing install-info in zlib"; \
31121 (cd $(HOST_SUBDIR)/zlib && \
31122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31124 "RANLIB=$${RANLIB}" \
31125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31126 install-info) \
31127 || exit 1
31129 @endif zlib
31131 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
31132 maybe-install-pdf-zlib:
31133 @if zlib
31134 maybe-install-pdf-zlib: install-pdf-zlib
31136 install-pdf-zlib: \
31137 configure-zlib \
31138 pdf-zlib
31139 @[ -f ./zlib/Makefile ] || exit 0; \
31140 r=`${PWD_COMMAND}`; export r; \
31141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31142 $(HOST_EXPORTS) \
31143 for flag in $(EXTRA_HOST_FLAGS) ; do \
31144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31145 done; \
31146 echo "Doing install-pdf in zlib"; \
31147 (cd $(HOST_SUBDIR)/zlib && \
31148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31150 "RANLIB=$${RANLIB}" \
31151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31152 install-pdf) \
31153 || exit 1
31155 @endif zlib
31157 .PHONY: maybe-install-html-zlib install-html-zlib
31158 maybe-install-html-zlib:
31159 @if zlib
31160 maybe-install-html-zlib: install-html-zlib
31162 install-html-zlib: \
31163 configure-zlib \
31164 html-zlib
31165 @[ -f ./zlib/Makefile ] || exit 0; \
31166 r=`${PWD_COMMAND}`; export r; \
31167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31168 $(HOST_EXPORTS) \
31169 for flag in $(EXTRA_HOST_FLAGS) ; do \
31170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31171 done; \
31172 echo "Doing install-html in zlib"; \
31173 (cd $(HOST_SUBDIR)/zlib && \
31174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31176 "RANLIB=$${RANLIB}" \
31177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31178 install-html) \
31179 || exit 1
31181 @endif zlib
31183 .PHONY: maybe-installcheck-zlib installcheck-zlib
31184 maybe-installcheck-zlib:
31185 @if zlib
31186 maybe-installcheck-zlib: installcheck-zlib
31188 installcheck-zlib: \
31189 configure-zlib
31190 @[ -f ./zlib/Makefile ] || exit 0; \
31191 r=`${PWD_COMMAND}`; export r; \
31192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31193 $(HOST_EXPORTS) \
31194 for flag in $(EXTRA_HOST_FLAGS) ; do \
31195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31196 done; \
31197 echo "Doing installcheck in zlib"; \
31198 (cd $(HOST_SUBDIR)/zlib && \
31199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31201 "RANLIB=$${RANLIB}" \
31202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31203 installcheck) \
31204 || exit 1
31206 @endif zlib
31208 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
31209 maybe-mostlyclean-zlib:
31210 @if zlib
31211 maybe-mostlyclean-zlib: mostlyclean-zlib
31213 mostlyclean-zlib:
31214 @[ -f ./zlib/Makefile ] || exit 0; \
31215 r=`${PWD_COMMAND}`; export r; \
31216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31217 $(HOST_EXPORTS) \
31218 for flag in $(EXTRA_HOST_FLAGS) ; do \
31219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31220 done; \
31221 echo "Doing mostlyclean in zlib"; \
31222 (cd $(HOST_SUBDIR)/zlib && \
31223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31225 "RANLIB=$${RANLIB}" \
31226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31227 mostlyclean) \
31228 || exit 1
31230 @endif zlib
31232 .PHONY: maybe-clean-zlib clean-zlib
31233 maybe-clean-zlib:
31234 @if zlib
31235 maybe-clean-zlib: clean-zlib
31237 clean-zlib:
31238 @[ -f ./zlib/Makefile ] || exit 0; \
31239 r=`${PWD_COMMAND}`; export r; \
31240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31241 $(HOST_EXPORTS) \
31242 for flag in $(EXTRA_HOST_FLAGS) ; do \
31243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31244 done; \
31245 echo "Doing clean in zlib"; \
31246 (cd $(HOST_SUBDIR)/zlib && \
31247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31249 "RANLIB=$${RANLIB}" \
31250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31251 clean) \
31252 || exit 1
31254 @endif zlib
31256 .PHONY: maybe-distclean-zlib distclean-zlib
31257 maybe-distclean-zlib:
31258 @if zlib
31259 maybe-distclean-zlib: distclean-zlib
31261 distclean-zlib:
31262 @[ -f ./zlib/Makefile ] || exit 0; \
31263 r=`${PWD_COMMAND}`; export r; \
31264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31265 $(HOST_EXPORTS) \
31266 for flag in $(EXTRA_HOST_FLAGS) ; do \
31267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31268 done; \
31269 echo "Doing distclean in zlib"; \
31270 (cd $(HOST_SUBDIR)/zlib && \
31271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31273 "RANLIB=$${RANLIB}" \
31274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31275 distclean) \
31276 || exit 1
31278 @endif zlib
31280 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
31281 maybe-maintainer-clean-zlib:
31282 @if zlib
31283 maybe-maintainer-clean-zlib: maintainer-clean-zlib
31285 maintainer-clean-zlib:
31286 @[ -f ./zlib/Makefile ] || exit 0; \
31287 r=`${PWD_COMMAND}`; export r; \
31288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31289 $(HOST_EXPORTS) \
31290 for flag in $(EXTRA_HOST_FLAGS) ; do \
31291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31292 done; \
31293 echo "Doing maintainer-clean in zlib"; \
31294 (cd $(HOST_SUBDIR)/zlib && \
31295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31297 "RANLIB=$${RANLIB}" \
31298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31299 maintainer-clean) \
31300 || exit 1
31302 @endif zlib
31306 .PHONY: configure-gdb maybe-configure-gdb
31307 maybe-configure-gdb:
31308 @if gcc-bootstrap
31309 configure-gdb: stage_current
31310 @endif gcc-bootstrap
31311 @if gdb
31312 maybe-configure-gdb: configure-gdb
31313 configure-gdb:
31314 @: $(MAKE); $(unstage)
31315 @r=`${PWD_COMMAND}`; export r; \
31316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31317 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
31318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
31319 $(HOST_EXPORTS) \
31320 echo Configuring in $(HOST_SUBDIR)/gdb; \
31321 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
31322 case $(srcdir) in \
31323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31324 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
31325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31326 esac; \
31327 module_srcdir=gdb; \
31328 $(SHELL) \
31329 $$s/$$module_srcdir/configure \
31330 --srcdir=$${topdir}/$$module_srcdir \
31331 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31332 --target=${target_alias} \
31333 || exit 1
31334 @endif gdb
31340 .PHONY: all-gdb maybe-all-gdb
31341 maybe-all-gdb:
31342 @if gcc-bootstrap
31343 all-gdb: stage_current
31344 @endif gcc-bootstrap
31345 @if gdb
31346 TARGET-gdb=all
31347 maybe-all-gdb: all-gdb
31348 all-gdb: configure-gdb
31349 @: $(MAKE); $(unstage)
31350 @r=`${PWD_COMMAND}`; export r; \
31351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31352 $(HOST_EXPORTS) \
31353 (cd $(HOST_SUBDIR)/gdb && \
31354 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31355 $(TARGET-gdb))
31356 @endif gdb
31361 .PHONY: check-gdb maybe-check-gdb
31362 maybe-check-gdb:
31363 @if gdb
31364 maybe-check-gdb: check-gdb
31366 check-gdb:
31367 @: $(MAKE); $(unstage)
31368 @r=`${PWD_COMMAND}`; export r; \
31369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31370 $(HOST_EXPORTS) \
31371 (cd $(HOST_SUBDIR)/gdb && \
31372 $(MAKE) $(FLAGS_TO_PASS) check)
31374 @endif gdb
31376 .PHONY: install-gdb maybe-install-gdb
31377 maybe-install-gdb:
31378 @if gdb
31379 maybe-install-gdb: install-gdb
31381 install-gdb: installdirs
31382 @: $(MAKE); $(unstage)
31383 @r=`${PWD_COMMAND}`; export r; \
31384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31385 $(HOST_EXPORTS) \
31386 (cd $(HOST_SUBDIR)/gdb && \
31387 $(MAKE) $(FLAGS_TO_PASS) install)
31389 @endif gdb
31391 .PHONY: install-strip-gdb maybe-install-strip-gdb
31392 maybe-install-strip-gdb:
31393 @if gdb
31394 maybe-install-strip-gdb: install-strip-gdb
31396 install-strip-gdb: installdirs
31397 @: $(MAKE); $(unstage)
31398 @r=`${PWD_COMMAND}`; export r; \
31399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31400 $(HOST_EXPORTS) \
31401 (cd $(HOST_SUBDIR)/gdb && \
31402 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31404 @endif gdb
31406 # Other targets (info, dvi, pdf, etc.)
31408 .PHONY: maybe-info-gdb info-gdb
31409 maybe-info-gdb:
31410 @if gdb
31411 maybe-info-gdb: info-gdb
31413 info-gdb: \
31414 configure-gdb
31415 @: $(MAKE); $(unstage)
31416 @[ -f ./gdb/Makefile ] || exit 0; \
31417 r=`${PWD_COMMAND}`; export r; \
31418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31419 $(HOST_EXPORTS) \
31420 for flag in $(EXTRA_HOST_FLAGS) ; do \
31421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31422 done; \
31423 echo "Doing info in gdb"; \
31424 (cd $(HOST_SUBDIR)/gdb && \
31425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31427 "RANLIB=$${RANLIB}" \
31428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31429 info) \
31430 || exit 1
31432 @endif gdb
31434 .PHONY: maybe-dvi-gdb dvi-gdb
31435 maybe-dvi-gdb:
31436 @if gdb
31437 maybe-dvi-gdb: dvi-gdb
31439 dvi-gdb: \
31440 configure-gdb
31441 @: $(MAKE); $(unstage)
31442 @[ -f ./gdb/Makefile ] || exit 0; \
31443 r=`${PWD_COMMAND}`; export r; \
31444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31445 $(HOST_EXPORTS) \
31446 for flag in $(EXTRA_HOST_FLAGS) ; do \
31447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31448 done; \
31449 echo "Doing dvi in gdb"; \
31450 (cd $(HOST_SUBDIR)/gdb && \
31451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31453 "RANLIB=$${RANLIB}" \
31454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31455 dvi) \
31456 || exit 1
31458 @endif gdb
31460 .PHONY: maybe-pdf-gdb pdf-gdb
31461 maybe-pdf-gdb:
31462 @if gdb
31463 maybe-pdf-gdb: pdf-gdb
31465 pdf-gdb: \
31466 configure-gdb
31467 @: $(MAKE); $(unstage)
31468 @[ -f ./gdb/Makefile ] || exit 0; \
31469 r=`${PWD_COMMAND}`; export r; \
31470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31471 $(HOST_EXPORTS) \
31472 for flag in $(EXTRA_HOST_FLAGS) ; do \
31473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31474 done; \
31475 echo "Doing pdf in gdb"; \
31476 (cd $(HOST_SUBDIR)/gdb && \
31477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31479 "RANLIB=$${RANLIB}" \
31480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31481 pdf) \
31482 || exit 1
31484 @endif gdb
31486 .PHONY: maybe-html-gdb html-gdb
31487 maybe-html-gdb:
31488 @if gdb
31489 maybe-html-gdb: html-gdb
31491 html-gdb: \
31492 configure-gdb
31493 @: $(MAKE); $(unstage)
31494 @[ -f ./gdb/Makefile ] || exit 0; \
31495 r=`${PWD_COMMAND}`; export r; \
31496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31497 $(HOST_EXPORTS) \
31498 for flag in $(EXTRA_HOST_FLAGS) ; do \
31499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31500 done; \
31501 echo "Doing html in gdb"; \
31502 (cd $(HOST_SUBDIR)/gdb && \
31503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31505 "RANLIB=$${RANLIB}" \
31506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31507 html) \
31508 || exit 1
31510 @endif gdb
31512 .PHONY: maybe-TAGS-gdb TAGS-gdb
31513 maybe-TAGS-gdb:
31514 @if gdb
31515 maybe-TAGS-gdb: TAGS-gdb
31517 TAGS-gdb: \
31518 configure-gdb
31519 @: $(MAKE); $(unstage)
31520 @[ -f ./gdb/Makefile ] || exit 0; \
31521 r=`${PWD_COMMAND}`; export r; \
31522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31523 $(HOST_EXPORTS) \
31524 for flag in $(EXTRA_HOST_FLAGS) ; do \
31525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31526 done; \
31527 echo "Doing TAGS in gdb"; \
31528 (cd $(HOST_SUBDIR)/gdb && \
31529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31531 "RANLIB=$${RANLIB}" \
31532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31533 TAGS) \
31534 || exit 1
31536 @endif gdb
31538 .PHONY: maybe-install-info-gdb install-info-gdb
31539 maybe-install-info-gdb:
31540 @if gdb
31541 maybe-install-info-gdb: install-info-gdb
31543 install-info-gdb: \
31544 configure-gdb \
31545 info-gdb
31546 @: $(MAKE); $(unstage)
31547 @[ -f ./gdb/Makefile ] || exit 0; \
31548 r=`${PWD_COMMAND}`; export r; \
31549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31550 $(HOST_EXPORTS) \
31551 for flag in $(EXTRA_HOST_FLAGS) ; do \
31552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31553 done; \
31554 echo "Doing install-info in gdb"; \
31555 (cd $(HOST_SUBDIR)/gdb && \
31556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31558 "RANLIB=$${RANLIB}" \
31559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31560 install-info) \
31561 || exit 1
31563 @endif gdb
31565 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
31566 maybe-install-pdf-gdb:
31567 @if gdb
31568 maybe-install-pdf-gdb: install-pdf-gdb
31570 install-pdf-gdb: \
31571 configure-gdb \
31572 pdf-gdb
31573 @: $(MAKE); $(unstage)
31574 @[ -f ./gdb/Makefile ] || exit 0; \
31575 r=`${PWD_COMMAND}`; export r; \
31576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31577 $(HOST_EXPORTS) \
31578 for flag in $(EXTRA_HOST_FLAGS) ; do \
31579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31580 done; \
31581 echo "Doing install-pdf in gdb"; \
31582 (cd $(HOST_SUBDIR)/gdb && \
31583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31585 "RANLIB=$${RANLIB}" \
31586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31587 install-pdf) \
31588 || exit 1
31590 @endif gdb
31592 .PHONY: maybe-install-html-gdb install-html-gdb
31593 maybe-install-html-gdb:
31594 @if gdb
31595 maybe-install-html-gdb: install-html-gdb
31597 install-html-gdb: \
31598 configure-gdb \
31599 html-gdb
31600 @: $(MAKE); $(unstage)
31601 @[ -f ./gdb/Makefile ] || exit 0; \
31602 r=`${PWD_COMMAND}`; export r; \
31603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31604 $(HOST_EXPORTS) \
31605 for flag in $(EXTRA_HOST_FLAGS) ; do \
31606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31607 done; \
31608 echo "Doing install-html in gdb"; \
31609 (cd $(HOST_SUBDIR)/gdb && \
31610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31612 "RANLIB=$${RANLIB}" \
31613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31614 install-html) \
31615 || exit 1
31617 @endif gdb
31619 .PHONY: maybe-installcheck-gdb installcheck-gdb
31620 maybe-installcheck-gdb:
31621 @if gdb
31622 maybe-installcheck-gdb: installcheck-gdb
31624 installcheck-gdb: \
31625 configure-gdb
31626 @: $(MAKE); $(unstage)
31627 @[ -f ./gdb/Makefile ] || exit 0; \
31628 r=`${PWD_COMMAND}`; export r; \
31629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31630 $(HOST_EXPORTS) \
31631 for flag in $(EXTRA_HOST_FLAGS) ; do \
31632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31633 done; \
31634 echo "Doing installcheck in gdb"; \
31635 (cd $(HOST_SUBDIR)/gdb && \
31636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31638 "RANLIB=$${RANLIB}" \
31639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31640 installcheck) \
31641 || exit 1
31643 @endif gdb
31645 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
31646 maybe-mostlyclean-gdb:
31647 @if gdb
31648 maybe-mostlyclean-gdb: mostlyclean-gdb
31650 mostlyclean-gdb:
31651 @: $(MAKE); $(unstage)
31652 @[ -f ./gdb/Makefile ] || exit 0; \
31653 r=`${PWD_COMMAND}`; export r; \
31654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31655 $(HOST_EXPORTS) \
31656 for flag in $(EXTRA_HOST_FLAGS) ; do \
31657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31658 done; \
31659 echo "Doing mostlyclean in gdb"; \
31660 (cd $(HOST_SUBDIR)/gdb && \
31661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31663 "RANLIB=$${RANLIB}" \
31664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31665 mostlyclean) \
31666 || exit 1
31668 @endif gdb
31670 .PHONY: maybe-clean-gdb clean-gdb
31671 maybe-clean-gdb:
31672 @if gdb
31673 maybe-clean-gdb: clean-gdb
31675 clean-gdb:
31676 @: $(MAKE); $(unstage)
31677 @[ -f ./gdb/Makefile ] || exit 0; \
31678 r=`${PWD_COMMAND}`; export r; \
31679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31680 $(HOST_EXPORTS) \
31681 for flag in $(EXTRA_HOST_FLAGS) ; do \
31682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31683 done; \
31684 echo "Doing clean in gdb"; \
31685 (cd $(HOST_SUBDIR)/gdb && \
31686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31688 "RANLIB=$${RANLIB}" \
31689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31690 clean) \
31691 || exit 1
31693 @endif gdb
31695 .PHONY: maybe-distclean-gdb distclean-gdb
31696 maybe-distclean-gdb:
31697 @if gdb
31698 maybe-distclean-gdb: distclean-gdb
31700 distclean-gdb:
31701 @: $(MAKE); $(unstage)
31702 @[ -f ./gdb/Makefile ] || exit 0; \
31703 r=`${PWD_COMMAND}`; export r; \
31704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31705 $(HOST_EXPORTS) \
31706 for flag in $(EXTRA_HOST_FLAGS) ; do \
31707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31708 done; \
31709 echo "Doing distclean in gdb"; \
31710 (cd $(HOST_SUBDIR)/gdb && \
31711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31713 "RANLIB=$${RANLIB}" \
31714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31715 distclean) \
31716 || exit 1
31718 @endif gdb
31720 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
31721 maybe-maintainer-clean-gdb:
31722 @if gdb
31723 maybe-maintainer-clean-gdb: maintainer-clean-gdb
31725 maintainer-clean-gdb:
31726 @: $(MAKE); $(unstage)
31727 @[ -f ./gdb/Makefile ] || exit 0; \
31728 r=`${PWD_COMMAND}`; export r; \
31729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31730 $(HOST_EXPORTS) \
31731 for flag in $(EXTRA_HOST_FLAGS) ; do \
31732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31733 done; \
31734 echo "Doing maintainer-clean in gdb"; \
31735 (cd $(HOST_SUBDIR)/gdb && \
31736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31738 "RANLIB=$${RANLIB}" \
31739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31740 maintainer-clean) \
31741 || exit 1
31743 @endif gdb
31747 .PHONY: configure-expect maybe-configure-expect
31748 maybe-configure-expect:
31749 @if gcc-bootstrap
31750 configure-expect: stage_current
31751 @endif gcc-bootstrap
31752 @if expect
31753 maybe-configure-expect: configure-expect
31754 configure-expect:
31755 @: $(MAKE); $(unstage)
31756 @r=`${PWD_COMMAND}`; export r; \
31757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31758 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
31759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
31760 $(HOST_EXPORTS) \
31761 echo Configuring in $(HOST_SUBDIR)/expect; \
31762 cd "$(HOST_SUBDIR)/expect" || exit 1; \
31763 case $(srcdir) in \
31764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31765 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
31766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31767 esac; \
31768 module_srcdir=expect; \
31769 $(SHELL) \
31770 $$s/$$module_srcdir/configure \
31771 --srcdir=$${topdir}/$$module_srcdir \
31772 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31773 --target=${target_alias} \
31774 || exit 1
31775 @endif expect
31781 .PHONY: all-expect maybe-all-expect
31782 maybe-all-expect:
31783 @if gcc-bootstrap
31784 all-expect: stage_current
31785 @endif gcc-bootstrap
31786 @if expect
31787 TARGET-expect=all
31788 maybe-all-expect: all-expect
31789 all-expect: configure-expect
31790 @: $(MAKE); $(unstage)
31791 @r=`${PWD_COMMAND}`; export r; \
31792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31793 $(HOST_EXPORTS) \
31794 (cd $(HOST_SUBDIR)/expect && \
31795 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31796 $(TARGET-expect))
31797 @endif expect
31802 .PHONY: check-expect maybe-check-expect
31803 maybe-check-expect:
31804 @if expect
31805 maybe-check-expect: check-expect
31807 check-expect:
31808 @: $(MAKE); $(unstage)
31809 @r=`${PWD_COMMAND}`; export r; \
31810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31811 $(HOST_EXPORTS) \
31812 (cd $(HOST_SUBDIR)/expect && \
31813 $(MAKE) $(FLAGS_TO_PASS) check)
31815 @endif expect
31817 .PHONY: install-expect maybe-install-expect
31818 maybe-install-expect:
31819 @if expect
31820 maybe-install-expect: install-expect
31822 install-expect: installdirs
31823 @: $(MAKE); $(unstage)
31824 @r=`${PWD_COMMAND}`; export r; \
31825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31826 $(HOST_EXPORTS) \
31827 (cd $(HOST_SUBDIR)/expect && \
31828 $(MAKE) $(FLAGS_TO_PASS) install)
31830 @endif expect
31832 .PHONY: install-strip-expect maybe-install-strip-expect
31833 maybe-install-strip-expect:
31834 @if expect
31835 maybe-install-strip-expect: install-strip-expect
31837 install-strip-expect: installdirs
31838 @: $(MAKE); $(unstage)
31839 @r=`${PWD_COMMAND}`; export r; \
31840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31841 $(HOST_EXPORTS) \
31842 (cd $(HOST_SUBDIR)/expect && \
31843 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31845 @endif expect
31847 # Other targets (info, dvi, pdf, etc.)
31849 .PHONY: maybe-info-expect info-expect
31850 maybe-info-expect:
31851 @if expect
31852 maybe-info-expect: info-expect
31854 info-expect: \
31855 configure-expect
31856 @: $(MAKE); $(unstage)
31857 @[ -f ./expect/Makefile ] || exit 0; \
31858 r=`${PWD_COMMAND}`; export r; \
31859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31860 $(HOST_EXPORTS) \
31861 for flag in $(EXTRA_HOST_FLAGS) ; do \
31862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31863 done; \
31864 echo "Doing info in expect"; \
31865 (cd $(HOST_SUBDIR)/expect && \
31866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31868 "RANLIB=$${RANLIB}" \
31869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31870 info) \
31871 || exit 1
31873 @endif expect
31875 .PHONY: maybe-dvi-expect dvi-expect
31876 maybe-dvi-expect:
31877 @if expect
31878 maybe-dvi-expect: dvi-expect
31880 dvi-expect: \
31881 configure-expect
31882 @: $(MAKE); $(unstage)
31883 @[ -f ./expect/Makefile ] || exit 0; \
31884 r=`${PWD_COMMAND}`; export r; \
31885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31886 $(HOST_EXPORTS) \
31887 for flag in $(EXTRA_HOST_FLAGS) ; do \
31888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31889 done; \
31890 echo "Doing dvi in expect"; \
31891 (cd $(HOST_SUBDIR)/expect && \
31892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31894 "RANLIB=$${RANLIB}" \
31895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31896 dvi) \
31897 || exit 1
31899 @endif expect
31901 .PHONY: maybe-pdf-expect pdf-expect
31902 maybe-pdf-expect:
31903 @if expect
31904 maybe-pdf-expect: pdf-expect
31906 pdf-expect: \
31907 configure-expect
31908 @: $(MAKE); $(unstage)
31909 @[ -f ./expect/Makefile ] || exit 0; \
31910 r=`${PWD_COMMAND}`; export r; \
31911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31912 $(HOST_EXPORTS) \
31913 for flag in $(EXTRA_HOST_FLAGS) ; do \
31914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31915 done; \
31916 echo "Doing pdf in expect"; \
31917 (cd $(HOST_SUBDIR)/expect && \
31918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31920 "RANLIB=$${RANLIB}" \
31921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31922 pdf) \
31923 || exit 1
31925 @endif expect
31927 .PHONY: maybe-html-expect html-expect
31928 maybe-html-expect:
31929 @if expect
31930 maybe-html-expect: html-expect
31932 html-expect: \
31933 configure-expect
31934 @: $(MAKE); $(unstage)
31935 @[ -f ./expect/Makefile ] || exit 0; \
31936 r=`${PWD_COMMAND}`; export r; \
31937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31938 $(HOST_EXPORTS) \
31939 for flag in $(EXTRA_HOST_FLAGS) ; do \
31940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31941 done; \
31942 echo "Doing html in expect"; \
31943 (cd $(HOST_SUBDIR)/expect && \
31944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31946 "RANLIB=$${RANLIB}" \
31947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31948 html) \
31949 || exit 1
31951 @endif expect
31953 .PHONY: maybe-TAGS-expect TAGS-expect
31954 maybe-TAGS-expect:
31955 @if expect
31956 maybe-TAGS-expect: TAGS-expect
31958 TAGS-expect: \
31959 configure-expect
31960 @: $(MAKE); $(unstage)
31961 @[ -f ./expect/Makefile ] || exit 0; \
31962 r=`${PWD_COMMAND}`; export r; \
31963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31964 $(HOST_EXPORTS) \
31965 for flag in $(EXTRA_HOST_FLAGS) ; do \
31966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31967 done; \
31968 echo "Doing TAGS in expect"; \
31969 (cd $(HOST_SUBDIR)/expect && \
31970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31972 "RANLIB=$${RANLIB}" \
31973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31974 TAGS) \
31975 || exit 1
31977 @endif expect
31979 .PHONY: maybe-install-info-expect install-info-expect
31980 maybe-install-info-expect:
31981 @if expect
31982 maybe-install-info-expect: install-info-expect
31984 install-info-expect: \
31985 configure-expect \
31986 info-expect
31987 @: $(MAKE); $(unstage)
31988 @[ -f ./expect/Makefile ] || exit 0; \
31989 r=`${PWD_COMMAND}`; export r; \
31990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31991 $(HOST_EXPORTS) \
31992 for flag in $(EXTRA_HOST_FLAGS) ; do \
31993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31994 done; \
31995 echo "Doing install-info in expect"; \
31996 (cd $(HOST_SUBDIR)/expect && \
31997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31999 "RANLIB=$${RANLIB}" \
32000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32001 install-info) \
32002 || exit 1
32004 @endif expect
32006 .PHONY: maybe-install-pdf-expect install-pdf-expect
32007 maybe-install-pdf-expect:
32008 @if expect
32009 maybe-install-pdf-expect: install-pdf-expect
32011 install-pdf-expect: \
32012 configure-expect \
32013 pdf-expect
32014 @: $(MAKE); $(unstage)
32015 @[ -f ./expect/Makefile ] || exit 0; \
32016 r=`${PWD_COMMAND}`; export r; \
32017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32018 $(HOST_EXPORTS) \
32019 for flag in $(EXTRA_HOST_FLAGS) ; do \
32020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32021 done; \
32022 echo "Doing install-pdf in expect"; \
32023 (cd $(HOST_SUBDIR)/expect && \
32024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32026 "RANLIB=$${RANLIB}" \
32027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32028 install-pdf) \
32029 || exit 1
32031 @endif expect
32033 .PHONY: maybe-install-html-expect install-html-expect
32034 maybe-install-html-expect:
32035 @if expect
32036 maybe-install-html-expect: install-html-expect
32038 install-html-expect: \
32039 configure-expect \
32040 html-expect
32041 @: $(MAKE); $(unstage)
32042 @[ -f ./expect/Makefile ] || exit 0; \
32043 r=`${PWD_COMMAND}`; export r; \
32044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32045 $(HOST_EXPORTS) \
32046 for flag in $(EXTRA_HOST_FLAGS) ; do \
32047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32048 done; \
32049 echo "Doing install-html in expect"; \
32050 (cd $(HOST_SUBDIR)/expect && \
32051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32053 "RANLIB=$${RANLIB}" \
32054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32055 install-html) \
32056 || exit 1
32058 @endif expect
32060 .PHONY: maybe-installcheck-expect installcheck-expect
32061 maybe-installcheck-expect:
32062 @if expect
32063 maybe-installcheck-expect: installcheck-expect
32065 installcheck-expect: \
32066 configure-expect
32067 @: $(MAKE); $(unstage)
32068 @[ -f ./expect/Makefile ] || exit 0; \
32069 r=`${PWD_COMMAND}`; export r; \
32070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32071 $(HOST_EXPORTS) \
32072 for flag in $(EXTRA_HOST_FLAGS) ; do \
32073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32074 done; \
32075 echo "Doing installcheck in expect"; \
32076 (cd $(HOST_SUBDIR)/expect && \
32077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32079 "RANLIB=$${RANLIB}" \
32080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32081 installcheck) \
32082 || exit 1
32084 @endif expect
32086 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
32087 maybe-mostlyclean-expect:
32088 @if expect
32089 maybe-mostlyclean-expect: mostlyclean-expect
32091 mostlyclean-expect:
32092 @: $(MAKE); $(unstage)
32093 @[ -f ./expect/Makefile ] || exit 0; \
32094 r=`${PWD_COMMAND}`; export r; \
32095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32096 $(HOST_EXPORTS) \
32097 for flag in $(EXTRA_HOST_FLAGS) ; do \
32098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32099 done; \
32100 echo "Doing mostlyclean in expect"; \
32101 (cd $(HOST_SUBDIR)/expect && \
32102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32104 "RANLIB=$${RANLIB}" \
32105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32106 mostlyclean) \
32107 || exit 1
32109 @endif expect
32111 .PHONY: maybe-clean-expect clean-expect
32112 maybe-clean-expect:
32113 @if expect
32114 maybe-clean-expect: clean-expect
32116 clean-expect:
32117 @: $(MAKE); $(unstage)
32118 @[ -f ./expect/Makefile ] || exit 0; \
32119 r=`${PWD_COMMAND}`; export r; \
32120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32121 $(HOST_EXPORTS) \
32122 for flag in $(EXTRA_HOST_FLAGS) ; do \
32123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32124 done; \
32125 echo "Doing clean in expect"; \
32126 (cd $(HOST_SUBDIR)/expect && \
32127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32129 "RANLIB=$${RANLIB}" \
32130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32131 clean) \
32132 || exit 1
32134 @endif expect
32136 .PHONY: maybe-distclean-expect distclean-expect
32137 maybe-distclean-expect:
32138 @if expect
32139 maybe-distclean-expect: distclean-expect
32141 distclean-expect:
32142 @: $(MAKE); $(unstage)
32143 @[ -f ./expect/Makefile ] || exit 0; \
32144 r=`${PWD_COMMAND}`; export r; \
32145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32146 $(HOST_EXPORTS) \
32147 for flag in $(EXTRA_HOST_FLAGS) ; do \
32148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32149 done; \
32150 echo "Doing distclean in expect"; \
32151 (cd $(HOST_SUBDIR)/expect && \
32152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32154 "RANLIB=$${RANLIB}" \
32155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32156 distclean) \
32157 || exit 1
32159 @endif expect
32161 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
32162 maybe-maintainer-clean-expect:
32163 @if expect
32164 maybe-maintainer-clean-expect: maintainer-clean-expect
32166 maintainer-clean-expect:
32167 @: $(MAKE); $(unstage)
32168 @[ -f ./expect/Makefile ] || exit 0; \
32169 r=`${PWD_COMMAND}`; export r; \
32170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32171 $(HOST_EXPORTS) \
32172 for flag in $(EXTRA_HOST_FLAGS) ; do \
32173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32174 done; \
32175 echo "Doing maintainer-clean in expect"; \
32176 (cd $(HOST_SUBDIR)/expect && \
32177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32179 "RANLIB=$${RANLIB}" \
32180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32181 maintainer-clean) \
32182 || exit 1
32184 @endif expect
32188 .PHONY: configure-guile maybe-configure-guile
32189 maybe-configure-guile:
32190 @if gcc-bootstrap
32191 configure-guile: stage_current
32192 @endif gcc-bootstrap
32193 @if guile
32194 maybe-configure-guile: configure-guile
32195 configure-guile:
32196 @: $(MAKE); $(unstage)
32197 @r=`${PWD_COMMAND}`; export r; \
32198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32199 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
32200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
32201 $(HOST_EXPORTS) \
32202 echo Configuring in $(HOST_SUBDIR)/guile; \
32203 cd "$(HOST_SUBDIR)/guile" || exit 1; \
32204 case $(srcdir) in \
32205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32206 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
32207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32208 esac; \
32209 module_srcdir=guile; \
32210 $(SHELL) \
32211 $$s/$$module_srcdir/configure \
32212 --srcdir=$${topdir}/$$module_srcdir \
32213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32214 --target=${target_alias} \
32215 || exit 1
32216 @endif guile
32222 .PHONY: all-guile maybe-all-guile
32223 maybe-all-guile:
32224 @if gcc-bootstrap
32225 all-guile: stage_current
32226 @endif gcc-bootstrap
32227 @if guile
32228 TARGET-guile=all
32229 maybe-all-guile: all-guile
32230 all-guile: configure-guile
32231 @: $(MAKE); $(unstage)
32232 @r=`${PWD_COMMAND}`; export r; \
32233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32234 $(HOST_EXPORTS) \
32235 (cd $(HOST_SUBDIR)/guile && \
32236 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32237 $(TARGET-guile))
32238 @endif guile
32243 .PHONY: check-guile maybe-check-guile
32244 maybe-check-guile:
32245 @if guile
32246 maybe-check-guile: check-guile
32248 check-guile:
32249 @: $(MAKE); $(unstage)
32250 @r=`${PWD_COMMAND}`; export r; \
32251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32252 $(HOST_EXPORTS) \
32253 (cd $(HOST_SUBDIR)/guile && \
32254 $(MAKE) $(FLAGS_TO_PASS) check)
32256 @endif guile
32258 .PHONY: install-guile maybe-install-guile
32259 maybe-install-guile:
32260 @if guile
32261 maybe-install-guile: install-guile
32263 install-guile: installdirs
32264 @: $(MAKE); $(unstage)
32265 @r=`${PWD_COMMAND}`; export r; \
32266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32267 $(HOST_EXPORTS) \
32268 (cd $(HOST_SUBDIR)/guile && \
32269 $(MAKE) $(FLAGS_TO_PASS) install)
32271 @endif guile
32273 .PHONY: install-strip-guile maybe-install-strip-guile
32274 maybe-install-strip-guile:
32275 @if guile
32276 maybe-install-strip-guile: install-strip-guile
32278 install-strip-guile: installdirs
32279 @: $(MAKE); $(unstage)
32280 @r=`${PWD_COMMAND}`; export r; \
32281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32282 $(HOST_EXPORTS) \
32283 (cd $(HOST_SUBDIR)/guile && \
32284 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32286 @endif guile
32288 # Other targets (info, dvi, pdf, etc.)
32290 .PHONY: maybe-info-guile info-guile
32291 maybe-info-guile:
32292 @if guile
32293 maybe-info-guile: info-guile
32295 info-guile: \
32296 configure-guile
32297 @: $(MAKE); $(unstage)
32298 @[ -f ./guile/Makefile ] || exit 0; \
32299 r=`${PWD_COMMAND}`; export r; \
32300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32301 $(HOST_EXPORTS) \
32302 for flag in $(EXTRA_HOST_FLAGS) ; do \
32303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32304 done; \
32305 echo "Doing info in guile"; \
32306 (cd $(HOST_SUBDIR)/guile && \
32307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32309 "RANLIB=$${RANLIB}" \
32310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32311 info) \
32312 || exit 1
32314 @endif guile
32316 .PHONY: maybe-dvi-guile dvi-guile
32317 maybe-dvi-guile:
32318 @if guile
32319 maybe-dvi-guile: dvi-guile
32321 dvi-guile: \
32322 configure-guile
32323 @: $(MAKE); $(unstage)
32324 @[ -f ./guile/Makefile ] || exit 0; \
32325 r=`${PWD_COMMAND}`; export r; \
32326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32327 $(HOST_EXPORTS) \
32328 for flag in $(EXTRA_HOST_FLAGS) ; do \
32329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32330 done; \
32331 echo "Doing dvi in guile"; \
32332 (cd $(HOST_SUBDIR)/guile && \
32333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32335 "RANLIB=$${RANLIB}" \
32336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32337 dvi) \
32338 || exit 1
32340 @endif guile
32342 .PHONY: maybe-pdf-guile pdf-guile
32343 maybe-pdf-guile:
32344 @if guile
32345 maybe-pdf-guile: pdf-guile
32347 pdf-guile: \
32348 configure-guile
32349 @: $(MAKE); $(unstage)
32350 @[ -f ./guile/Makefile ] || exit 0; \
32351 r=`${PWD_COMMAND}`; export r; \
32352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32353 $(HOST_EXPORTS) \
32354 for flag in $(EXTRA_HOST_FLAGS) ; do \
32355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32356 done; \
32357 echo "Doing pdf in guile"; \
32358 (cd $(HOST_SUBDIR)/guile && \
32359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32361 "RANLIB=$${RANLIB}" \
32362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32363 pdf) \
32364 || exit 1
32366 @endif guile
32368 .PHONY: maybe-html-guile html-guile
32369 maybe-html-guile:
32370 @if guile
32371 maybe-html-guile: html-guile
32373 html-guile: \
32374 configure-guile
32375 @: $(MAKE); $(unstage)
32376 @[ -f ./guile/Makefile ] || exit 0; \
32377 r=`${PWD_COMMAND}`; export r; \
32378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32379 $(HOST_EXPORTS) \
32380 for flag in $(EXTRA_HOST_FLAGS) ; do \
32381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32382 done; \
32383 echo "Doing html in guile"; \
32384 (cd $(HOST_SUBDIR)/guile && \
32385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32387 "RANLIB=$${RANLIB}" \
32388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32389 html) \
32390 || exit 1
32392 @endif guile
32394 .PHONY: maybe-TAGS-guile TAGS-guile
32395 maybe-TAGS-guile:
32396 @if guile
32397 maybe-TAGS-guile: TAGS-guile
32399 TAGS-guile: \
32400 configure-guile
32401 @: $(MAKE); $(unstage)
32402 @[ -f ./guile/Makefile ] || exit 0; \
32403 r=`${PWD_COMMAND}`; export r; \
32404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32405 $(HOST_EXPORTS) \
32406 for flag in $(EXTRA_HOST_FLAGS) ; do \
32407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32408 done; \
32409 echo "Doing TAGS in guile"; \
32410 (cd $(HOST_SUBDIR)/guile && \
32411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32413 "RANLIB=$${RANLIB}" \
32414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32415 TAGS) \
32416 || exit 1
32418 @endif guile
32420 .PHONY: maybe-install-info-guile install-info-guile
32421 maybe-install-info-guile:
32422 @if guile
32423 maybe-install-info-guile: install-info-guile
32425 install-info-guile: \
32426 configure-guile \
32427 info-guile
32428 @: $(MAKE); $(unstage)
32429 @[ -f ./guile/Makefile ] || exit 0; \
32430 r=`${PWD_COMMAND}`; export r; \
32431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32432 $(HOST_EXPORTS) \
32433 for flag in $(EXTRA_HOST_FLAGS) ; do \
32434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32435 done; \
32436 echo "Doing install-info in guile"; \
32437 (cd $(HOST_SUBDIR)/guile && \
32438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32440 "RANLIB=$${RANLIB}" \
32441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32442 install-info) \
32443 || exit 1
32445 @endif guile
32447 .PHONY: maybe-install-pdf-guile install-pdf-guile
32448 maybe-install-pdf-guile:
32449 @if guile
32450 maybe-install-pdf-guile: install-pdf-guile
32452 install-pdf-guile: \
32453 configure-guile \
32454 pdf-guile
32455 @: $(MAKE); $(unstage)
32456 @[ -f ./guile/Makefile ] || exit 0; \
32457 r=`${PWD_COMMAND}`; export r; \
32458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32459 $(HOST_EXPORTS) \
32460 for flag in $(EXTRA_HOST_FLAGS) ; do \
32461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32462 done; \
32463 echo "Doing install-pdf in guile"; \
32464 (cd $(HOST_SUBDIR)/guile && \
32465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32467 "RANLIB=$${RANLIB}" \
32468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32469 install-pdf) \
32470 || exit 1
32472 @endif guile
32474 .PHONY: maybe-install-html-guile install-html-guile
32475 maybe-install-html-guile:
32476 @if guile
32477 maybe-install-html-guile: install-html-guile
32479 install-html-guile: \
32480 configure-guile \
32481 html-guile
32482 @: $(MAKE); $(unstage)
32483 @[ -f ./guile/Makefile ] || exit 0; \
32484 r=`${PWD_COMMAND}`; export r; \
32485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32486 $(HOST_EXPORTS) \
32487 for flag in $(EXTRA_HOST_FLAGS) ; do \
32488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32489 done; \
32490 echo "Doing install-html in guile"; \
32491 (cd $(HOST_SUBDIR)/guile && \
32492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32494 "RANLIB=$${RANLIB}" \
32495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32496 install-html) \
32497 || exit 1
32499 @endif guile
32501 .PHONY: maybe-installcheck-guile installcheck-guile
32502 maybe-installcheck-guile:
32503 @if guile
32504 maybe-installcheck-guile: installcheck-guile
32506 installcheck-guile: \
32507 configure-guile
32508 @: $(MAKE); $(unstage)
32509 @[ -f ./guile/Makefile ] || exit 0; \
32510 r=`${PWD_COMMAND}`; export r; \
32511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32512 $(HOST_EXPORTS) \
32513 for flag in $(EXTRA_HOST_FLAGS) ; do \
32514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32515 done; \
32516 echo "Doing installcheck in guile"; \
32517 (cd $(HOST_SUBDIR)/guile && \
32518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32520 "RANLIB=$${RANLIB}" \
32521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32522 installcheck) \
32523 || exit 1
32525 @endif guile
32527 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
32528 maybe-mostlyclean-guile:
32529 @if guile
32530 maybe-mostlyclean-guile: mostlyclean-guile
32532 mostlyclean-guile:
32533 @: $(MAKE); $(unstage)
32534 @[ -f ./guile/Makefile ] || exit 0; \
32535 r=`${PWD_COMMAND}`; export r; \
32536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32537 $(HOST_EXPORTS) \
32538 for flag in $(EXTRA_HOST_FLAGS) ; do \
32539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32540 done; \
32541 echo "Doing mostlyclean in guile"; \
32542 (cd $(HOST_SUBDIR)/guile && \
32543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32545 "RANLIB=$${RANLIB}" \
32546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32547 mostlyclean) \
32548 || exit 1
32550 @endif guile
32552 .PHONY: maybe-clean-guile clean-guile
32553 maybe-clean-guile:
32554 @if guile
32555 maybe-clean-guile: clean-guile
32557 clean-guile:
32558 @: $(MAKE); $(unstage)
32559 @[ -f ./guile/Makefile ] || exit 0; \
32560 r=`${PWD_COMMAND}`; export r; \
32561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32562 $(HOST_EXPORTS) \
32563 for flag in $(EXTRA_HOST_FLAGS) ; do \
32564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32565 done; \
32566 echo "Doing clean in guile"; \
32567 (cd $(HOST_SUBDIR)/guile && \
32568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32570 "RANLIB=$${RANLIB}" \
32571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32572 clean) \
32573 || exit 1
32575 @endif guile
32577 .PHONY: maybe-distclean-guile distclean-guile
32578 maybe-distclean-guile:
32579 @if guile
32580 maybe-distclean-guile: distclean-guile
32582 distclean-guile:
32583 @: $(MAKE); $(unstage)
32584 @[ -f ./guile/Makefile ] || exit 0; \
32585 r=`${PWD_COMMAND}`; export r; \
32586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32587 $(HOST_EXPORTS) \
32588 for flag in $(EXTRA_HOST_FLAGS) ; do \
32589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32590 done; \
32591 echo "Doing distclean in guile"; \
32592 (cd $(HOST_SUBDIR)/guile && \
32593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32595 "RANLIB=$${RANLIB}" \
32596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32597 distclean) \
32598 || exit 1
32600 @endif guile
32602 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
32603 maybe-maintainer-clean-guile:
32604 @if guile
32605 maybe-maintainer-clean-guile: maintainer-clean-guile
32607 maintainer-clean-guile:
32608 @: $(MAKE); $(unstage)
32609 @[ -f ./guile/Makefile ] || exit 0; \
32610 r=`${PWD_COMMAND}`; export r; \
32611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32612 $(HOST_EXPORTS) \
32613 for flag in $(EXTRA_HOST_FLAGS) ; do \
32614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32615 done; \
32616 echo "Doing maintainer-clean in guile"; \
32617 (cd $(HOST_SUBDIR)/guile && \
32618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32620 "RANLIB=$${RANLIB}" \
32621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32622 maintainer-clean) \
32623 || exit 1
32625 @endif guile
32629 .PHONY: configure-tk maybe-configure-tk
32630 maybe-configure-tk:
32631 @if gcc-bootstrap
32632 configure-tk: stage_current
32633 @endif gcc-bootstrap
32634 @if tk
32635 maybe-configure-tk: configure-tk
32636 configure-tk:
32637 @: $(MAKE); $(unstage)
32638 @r=`${PWD_COMMAND}`; export r; \
32639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32640 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
32641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
32642 $(HOST_EXPORTS) \
32643 echo Configuring in $(HOST_SUBDIR)/tk; \
32644 cd "$(HOST_SUBDIR)/tk" || exit 1; \
32645 case $(srcdir) in \
32646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32647 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
32648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32649 esac; \
32650 module_srcdir=tk; \
32651 $(SHELL) \
32652 $$s/$$module_srcdir/configure \
32653 --srcdir=$${topdir}/$$module_srcdir \
32654 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32655 --target=${target_alias} \
32656 || exit 1
32657 @endif tk
32663 .PHONY: all-tk maybe-all-tk
32664 maybe-all-tk:
32665 @if gcc-bootstrap
32666 all-tk: stage_current
32667 @endif gcc-bootstrap
32668 @if tk
32669 TARGET-tk=all
32670 maybe-all-tk: all-tk
32671 all-tk: configure-tk
32672 @: $(MAKE); $(unstage)
32673 @r=`${PWD_COMMAND}`; export r; \
32674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32675 $(HOST_EXPORTS) \
32676 (cd $(HOST_SUBDIR)/tk && \
32677 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32678 $(TARGET-tk))
32679 @endif tk
32684 .PHONY: check-tk maybe-check-tk
32685 maybe-check-tk:
32686 @if tk
32687 maybe-check-tk: check-tk
32689 check-tk:
32690 @: $(MAKE); $(unstage)
32691 @r=`${PWD_COMMAND}`; export r; \
32692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32693 $(HOST_EXPORTS) \
32694 (cd $(HOST_SUBDIR)/tk && \
32695 $(MAKE) $(FLAGS_TO_PASS) check)
32697 @endif tk
32699 .PHONY: install-tk maybe-install-tk
32700 maybe-install-tk:
32701 @if tk
32702 maybe-install-tk: install-tk
32704 install-tk: installdirs
32705 @: $(MAKE); $(unstage)
32706 @r=`${PWD_COMMAND}`; export r; \
32707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32708 $(HOST_EXPORTS) \
32709 (cd $(HOST_SUBDIR)/tk && \
32710 $(MAKE) $(FLAGS_TO_PASS) install)
32712 @endif tk
32714 .PHONY: install-strip-tk maybe-install-strip-tk
32715 maybe-install-strip-tk:
32716 @if tk
32717 maybe-install-strip-tk: install-strip-tk
32719 install-strip-tk: installdirs
32720 @: $(MAKE); $(unstage)
32721 @r=`${PWD_COMMAND}`; export r; \
32722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32723 $(HOST_EXPORTS) \
32724 (cd $(HOST_SUBDIR)/tk && \
32725 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32727 @endif tk
32729 # Other targets (info, dvi, pdf, etc.)
32731 .PHONY: maybe-info-tk info-tk
32732 maybe-info-tk:
32733 @if tk
32734 maybe-info-tk: info-tk
32736 info-tk: \
32737 configure-tk
32738 @: $(MAKE); $(unstage)
32739 @[ -f ./tk/Makefile ] || exit 0; \
32740 r=`${PWD_COMMAND}`; export r; \
32741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32742 $(HOST_EXPORTS) \
32743 for flag in $(EXTRA_HOST_FLAGS) ; do \
32744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32745 done; \
32746 echo "Doing info in tk"; \
32747 (cd $(HOST_SUBDIR)/tk && \
32748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32750 "RANLIB=$${RANLIB}" \
32751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32752 info) \
32753 || exit 1
32755 @endif tk
32757 .PHONY: maybe-dvi-tk dvi-tk
32758 maybe-dvi-tk:
32759 @if tk
32760 maybe-dvi-tk: dvi-tk
32762 dvi-tk: \
32763 configure-tk
32764 @: $(MAKE); $(unstage)
32765 @[ -f ./tk/Makefile ] || exit 0; \
32766 r=`${PWD_COMMAND}`; export r; \
32767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32768 $(HOST_EXPORTS) \
32769 for flag in $(EXTRA_HOST_FLAGS) ; do \
32770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32771 done; \
32772 echo "Doing dvi in tk"; \
32773 (cd $(HOST_SUBDIR)/tk && \
32774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32776 "RANLIB=$${RANLIB}" \
32777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32778 dvi) \
32779 || exit 1
32781 @endif tk
32783 .PHONY: maybe-pdf-tk pdf-tk
32784 maybe-pdf-tk:
32785 @if tk
32786 maybe-pdf-tk: pdf-tk
32788 pdf-tk: \
32789 configure-tk
32790 @: $(MAKE); $(unstage)
32791 @[ -f ./tk/Makefile ] || exit 0; \
32792 r=`${PWD_COMMAND}`; export r; \
32793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32794 $(HOST_EXPORTS) \
32795 for flag in $(EXTRA_HOST_FLAGS) ; do \
32796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32797 done; \
32798 echo "Doing pdf in tk"; \
32799 (cd $(HOST_SUBDIR)/tk && \
32800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32802 "RANLIB=$${RANLIB}" \
32803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32804 pdf) \
32805 || exit 1
32807 @endif tk
32809 .PHONY: maybe-html-tk html-tk
32810 maybe-html-tk:
32811 @if tk
32812 maybe-html-tk: html-tk
32814 html-tk: \
32815 configure-tk
32816 @: $(MAKE); $(unstage)
32817 @[ -f ./tk/Makefile ] || exit 0; \
32818 r=`${PWD_COMMAND}`; export r; \
32819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32820 $(HOST_EXPORTS) \
32821 for flag in $(EXTRA_HOST_FLAGS) ; do \
32822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32823 done; \
32824 echo "Doing html in tk"; \
32825 (cd $(HOST_SUBDIR)/tk && \
32826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32828 "RANLIB=$${RANLIB}" \
32829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32830 html) \
32831 || exit 1
32833 @endif tk
32835 .PHONY: maybe-TAGS-tk TAGS-tk
32836 maybe-TAGS-tk:
32837 @if tk
32838 maybe-TAGS-tk: TAGS-tk
32840 TAGS-tk: \
32841 configure-tk
32842 @: $(MAKE); $(unstage)
32843 @[ -f ./tk/Makefile ] || exit 0; \
32844 r=`${PWD_COMMAND}`; export r; \
32845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32846 $(HOST_EXPORTS) \
32847 for flag in $(EXTRA_HOST_FLAGS) ; do \
32848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32849 done; \
32850 echo "Doing TAGS in tk"; \
32851 (cd $(HOST_SUBDIR)/tk && \
32852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32854 "RANLIB=$${RANLIB}" \
32855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32856 TAGS) \
32857 || exit 1
32859 @endif tk
32861 .PHONY: maybe-install-info-tk install-info-tk
32862 maybe-install-info-tk:
32863 @if tk
32864 maybe-install-info-tk: install-info-tk
32866 install-info-tk: \
32867 configure-tk \
32868 info-tk
32869 @: $(MAKE); $(unstage)
32870 @[ -f ./tk/Makefile ] || exit 0; \
32871 r=`${PWD_COMMAND}`; export r; \
32872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32873 $(HOST_EXPORTS) \
32874 for flag in $(EXTRA_HOST_FLAGS) ; do \
32875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32876 done; \
32877 echo "Doing install-info in tk"; \
32878 (cd $(HOST_SUBDIR)/tk && \
32879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32881 "RANLIB=$${RANLIB}" \
32882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32883 install-info) \
32884 || exit 1
32886 @endif tk
32888 .PHONY: maybe-install-pdf-tk install-pdf-tk
32889 maybe-install-pdf-tk:
32890 @if tk
32891 maybe-install-pdf-tk: install-pdf-tk
32893 install-pdf-tk: \
32894 configure-tk \
32895 pdf-tk
32896 @: $(MAKE); $(unstage)
32897 @[ -f ./tk/Makefile ] || exit 0; \
32898 r=`${PWD_COMMAND}`; export r; \
32899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32900 $(HOST_EXPORTS) \
32901 for flag in $(EXTRA_HOST_FLAGS) ; do \
32902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32903 done; \
32904 echo "Doing install-pdf in tk"; \
32905 (cd $(HOST_SUBDIR)/tk && \
32906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32908 "RANLIB=$${RANLIB}" \
32909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32910 install-pdf) \
32911 || exit 1
32913 @endif tk
32915 .PHONY: maybe-install-html-tk install-html-tk
32916 maybe-install-html-tk:
32917 @if tk
32918 maybe-install-html-tk: install-html-tk
32920 install-html-tk: \
32921 configure-tk \
32922 html-tk
32923 @: $(MAKE); $(unstage)
32924 @[ -f ./tk/Makefile ] || exit 0; \
32925 r=`${PWD_COMMAND}`; export r; \
32926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32927 $(HOST_EXPORTS) \
32928 for flag in $(EXTRA_HOST_FLAGS) ; do \
32929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32930 done; \
32931 echo "Doing install-html in tk"; \
32932 (cd $(HOST_SUBDIR)/tk && \
32933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32935 "RANLIB=$${RANLIB}" \
32936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32937 install-html) \
32938 || exit 1
32940 @endif tk
32942 .PHONY: maybe-installcheck-tk installcheck-tk
32943 maybe-installcheck-tk:
32944 @if tk
32945 maybe-installcheck-tk: installcheck-tk
32947 installcheck-tk: \
32948 configure-tk
32949 @: $(MAKE); $(unstage)
32950 @[ -f ./tk/Makefile ] || exit 0; \
32951 r=`${PWD_COMMAND}`; export r; \
32952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32953 $(HOST_EXPORTS) \
32954 for flag in $(EXTRA_HOST_FLAGS) ; do \
32955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32956 done; \
32957 echo "Doing installcheck in tk"; \
32958 (cd $(HOST_SUBDIR)/tk && \
32959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32961 "RANLIB=$${RANLIB}" \
32962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32963 installcheck) \
32964 || exit 1
32966 @endif tk
32968 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
32969 maybe-mostlyclean-tk:
32970 @if tk
32971 maybe-mostlyclean-tk: mostlyclean-tk
32973 mostlyclean-tk:
32974 @: $(MAKE); $(unstage)
32975 @[ -f ./tk/Makefile ] || exit 0; \
32976 r=`${PWD_COMMAND}`; export r; \
32977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32978 $(HOST_EXPORTS) \
32979 for flag in $(EXTRA_HOST_FLAGS) ; do \
32980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32981 done; \
32982 echo "Doing mostlyclean in tk"; \
32983 (cd $(HOST_SUBDIR)/tk && \
32984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32986 "RANLIB=$${RANLIB}" \
32987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32988 mostlyclean) \
32989 || exit 1
32991 @endif tk
32993 .PHONY: maybe-clean-tk clean-tk
32994 maybe-clean-tk:
32995 @if tk
32996 maybe-clean-tk: clean-tk
32998 clean-tk:
32999 @: $(MAKE); $(unstage)
33000 @[ -f ./tk/Makefile ] || exit 0; \
33001 r=`${PWD_COMMAND}`; export r; \
33002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33003 $(HOST_EXPORTS) \
33004 for flag in $(EXTRA_HOST_FLAGS) ; do \
33005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33006 done; \
33007 echo "Doing clean in tk"; \
33008 (cd $(HOST_SUBDIR)/tk && \
33009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33011 "RANLIB=$${RANLIB}" \
33012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33013 clean) \
33014 || exit 1
33016 @endif tk
33018 .PHONY: maybe-distclean-tk distclean-tk
33019 maybe-distclean-tk:
33020 @if tk
33021 maybe-distclean-tk: distclean-tk
33023 distclean-tk:
33024 @: $(MAKE); $(unstage)
33025 @[ -f ./tk/Makefile ] || exit 0; \
33026 r=`${PWD_COMMAND}`; export r; \
33027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33028 $(HOST_EXPORTS) \
33029 for flag in $(EXTRA_HOST_FLAGS) ; do \
33030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33031 done; \
33032 echo "Doing distclean in tk"; \
33033 (cd $(HOST_SUBDIR)/tk && \
33034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33036 "RANLIB=$${RANLIB}" \
33037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33038 distclean) \
33039 || exit 1
33041 @endif tk
33043 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
33044 maybe-maintainer-clean-tk:
33045 @if tk
33046 maybe-maintainer-clean-tk: maintainer-clean-tk
33048 maintainer-clean-tk:
33049 @: $(MAKE); $(unstage)
33050 @[ -f ./tk/Makefile ] || exit 0; \
33051 r=`${PWD_COMMAND}`; export r; \
33052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33053 $(HOST_EXPORTS) \
33054 for flag in $(EXTRA_HOST_FLAGS) ; do \
33055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33056 done; \
33057 echo "Doing maintainer-clean in tk"; \
33058 (cd $(HOST_SUBDIR)/tk && \
33059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33061 "RANLIB=$${RANLIB}" \
33062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33063 maintainer-clean) \
33064 || exit 1
33066 @endif tk
33070 .PHONY: configure-libtermcap maybe-configure-libtermcap
33071 maybe-configure-libtermcap:
33072 @if gcc-bootstrap
33073 configure-libtermcap: stage_current
33074 @endif gcc-bootstrap
33075 @if libtermcap
33076 maybe-configure-libtermcap: configure-libtermcap
33077 configure-libtermcap:
33078 @: $(MAKE); $(unstage)
33079 @r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
33082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
33083 $(HOST_EXPORTS) \
33084 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
33085 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
33086 case $(srcdir) in \
33087 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33088 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
33089 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33090 esac; \
33091 module_srcdir=libtermcap; \
33092 $(SHELL) \
33093 $$s/$$module_srcdir/configure \
33094 --srcdir=$${topdir}/$$module_srcdir \
33095 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33096 --target=${target_alias} \
33097 || exit 1
33098 @endif libtermcap
33104 .PHONY: all-libtermcap maybe-all-libtermcap
33105 maybe-all-libtermcap:
33106 @if gcc-bootstrap
33107 all-libtermcap: stage_current
33108 @endif gcc-bootstrap
33109 @if libtermcap
33110 TARGET-libtermcap=all
33111 maybe-all-libtermcap: all-libtermcap
33112 all-libtermcap: configure-libtermcap
33113 @: $(MAKE); $(unstage)
33114 @r=`${PWD_COMMAND}`; export r; \
33115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33116 $(HOST_EXPORTS) \
33117 (cd $(HOST_SUBDIR)/libtermcap && \
33118 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33119 $(TARGET-libtermcap))
33120 @endif libtermcap
33125 .PHONY: check-libtermcap maybe-check-libtermcap
33126 maybe-check-libtermcap:
33127 @if libtermcap
33128 maybe-check-libtermcap: check-libtermcap
33130 check-libtermcap:
33132 @endif libtermcap
33134 .PHONY: install-libtermcap maybe-install-libtermcap
33135 maybe-install-libtermcap:
33136 @if libtermcap
33137 maybe-install-libtermcap: install-libtermcap
33139 install-libtermcap: installdirs
33140 @: $(MAKE); $(unstage)
33141 @r=`${PWD_COMMAND}`; export r; \
33142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33143 $(HOST_EXPORTS) \
33144 (cd $(HOST_SUBDIR)/libtermcap && \
33145 $(MAKE) $(FLAGS_TO_PASS) install)
33147 @endif libtermcap
33149 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
33150 maybe-install-strip-libtermcap:
33151 @if libtermcap
33152 maybe-install-strip-libtermcap: install-strip-libtermcap
33154 install-strip-libtermcap: installdirs
33155 @: $(MAKE); $(unstage)
33156 @r=`${PWD_COMMAND}`; export r; \
33157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33158 $(HOST_EXPORTS) \
33159 (cd $(HOST_SUBDIR)/libtermcap && \
33160 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33162 @endif libtermcap
33164 # Other targets (info, dvi, pdf, etc.)
33166 .PHONY: maybe-info-libtermcap info-libtermcap
33167 maybe-info-libtermcap:
33168 @if libtermcap
33169 maybe-info-libtermcap: info-libtermcap
33171 info-libtermcap: \
33172 configure-libtermcap
33173 @: $(MAKE); $(unstage)
33174 @[ -f ./libtermcap/Makefile ] || exit 0; \
33175 r=`${PWD_COMMAND}`; export r; \
33176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33177 $(HOST_EXPORTS) \
33178 for flag in $(EXTRA_HOST_FLAGS) ; do \
33179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33180 done; \
33181 echo "Doing info in libtermcap"; \
33182 (cd $(HOST_SUBDIR)/libtermcap && \
33183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33185 "RANLIB=$${RANLIB}" \
33186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33187 info) \
33188 || exit 1
33190 @endif libtermcap
33192 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
33193 maybe-dvi-libtermcap:
33194 @if libtermcap
33195 maybe-dvi-libtermcap: dvi-libtermcap
33197 dvi-libtermcap: \
33198 configure-libtermcap
33199 @: $(MAKE); $(unstage)
33200 @[ -f ./libtermcap/Makefile ] || exit 0; \
33201 r=`${PWD_COMMAND}`; export r; \
33202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33203 $(HOST_EXPORTS) \
33204 for flag in $(EXTRA_HOST_FLAGS) ; do \
33205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33206 done; \
33207 echo "Doing dvi in libtermcap"; \
33208 (cd $(HOST_SUBDIR)/libtermcap && \
33209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33211 "RANLIB=$${RANLIB}" \
33212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33213 dvi) \
33214 || exit 1
33216 @endif libtermcap
33218 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
33219 maybe-pdf-libtermcap:
33220 @if libtermcap
33221 maybe-pdf-libtermcap: pdf-libtermcap
33223 pdf-libtermcap: \
33224 configure-libtermcap
33225 @: $(MAKE); $(unstage)
33226 @[ -f ./libtermcap/Makefile ] || exit 0; \
33227 r=`${PWD_COMMAND}`; export r; \
33228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33229 $(HOST_EXPORTS) \
33230 for flag in $(EXTRA_HOST_FLAGS) ; do \
33231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33232 done; \
33233 echo "Doing pdf in libtermcap"; \
33234 (cd $(HOST_SUBDIR)/libtermcap && \
33235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33237 "RANLIB=$${RANLIB}" \
33238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33239 pdf) \
33240 || exit 1
33242 @endif libtermcap
33244 .PHONY: maybe-html-libtermcap html-libtermcap
33245 maybe-html-libtermcap:
33246 @if libtermcap
33247 maybe-html-libtermcap: html-libtermcap
33249 html-libtermcap: \
33250 configure-libtermcap
33251 @: $(MAKE); $(unstage)
33252 @[ -f ./libtermcap/Makefile ] || exit 0; \
33253 r=`${PWD_COMMAND}`; export r; \
33254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33255 $(HOST_EXPORTS) \
33256 for flag in $(EXTRA_HOST_FLAGS) ; do \
33257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33258 done; \
33259 echo "Doing html in libtermcap"; \
33260 (cd $(HOST_SUBDIR)/libtermcap && \
33261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33263 "RANLIB=$${RANLIB}" \
33264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33265 html) \
33266 || exit 1
33268 @endif libtermcap
33270 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
33271 maybe-TAGS-libtermcap:
33272 @if libtermcap
33273 maybe-TAGS-libtermcap: TAGS-libtermcap
33275 TAGS-libtermcap: \
33276 configure-libtermcap
33277 @: $(MAKE); $(unstage)
33278 @[ -f ./libtermcap/Makefile ] || exit 0; \
33279 r=`${PWD_COMMAND}`; export r; \
33280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33281 $(HOST_EXPORTS) \
33282 for flag in $(EXTRA_HOST_FLAGS) ; do \
33283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33284 done; \
33285 echo "Doing TAGS in libtermcap"; \
33286 (cd $(HOST_SUBDIR)/libtermcap && \
33287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33289 "RANLIB=$${RANLIB}" \
33290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33291 TAGS) \
33292 || exit 1
33294 @endif libtermcap
33296 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
33297 maybe-install-info-libtermcap:
33298 @if libtermcap
33299 maybe-install-info-libtermcap: install-info-libtermcap
33301 install-info-libtermcap: \
33302 configure-libtermcap \
33303 info-libtermcap
33304 @: $(MAKE); $(unstage)
33305 @[ -f ./libtermcap/Makefile ] || exit 0; \
33306 r=`${PWD_COMMAND}`; export r; \
33307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33308 $(HOST_EXPORTS) \
33309 for flag in $(EXTRA_HOST_FLAGS) ; do \
33310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33311 done; \
33312 echo "Doing install-info in libtermcap"; \
33313 (cd $(HOST_SUBDIR)/libtermcap && \
33314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33316 "RANLIB=$${RANLIB}" \
33317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33318 install-info) \
33319 || exit 1
33321 @endif libtermcap
33323 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
33324 maybe-install-pdf-libtermcap:
33325 @if libtermcap
33326 maybe-install-pdf-libtermcap: install-pdf-libtermcap
33328 install-pdf-libtermcap: \
33329 configure-libtermcap \
33330 pdf-libtermcap
33331 @: $(MAKE); $(unstage)
33332 @[ -f ./libtermcap/Makefile ] || exit 0; \
33333 r=`${PWD_COMMAND}`; export r; \
33334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33335 $(HOST_EXPORTS) \
33336 for flag in $(EXTRA_HOST_FLAGS) ; do \
33337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33338 done; \
33339 echo "Doing install-pdf in libtermcap"; \
33340 (cd $(HOST_SUBDIR)/libtermcap && \
33341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33343 "RANLIB=$${RANLIB}" \
33344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33345 install-pdf) \
33346 || exit 1
33348 @endif libtermcap
33350 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
33351 maybe-install-html-libtermcap:
33352 @if libtermcap
33353 maybe-install-html-libtermcap: install-html-libtermcap
33355 install-html-libtermcap: \
33356 configure-libtermcap \
33357 html-libtermcap
33358 @: $(MAKE); $(unstage)
33359 @[ -f ./libtermcap/Makefile ] || exit 0; \
33360 r=`${PWD_COMMAND}`; export r; \
33361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33362 $(HOST_EXPORTS) \
33363 for flag in $(EXTRA_HOST_FLAGS) ; do \
33364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33365 done; \
33366 echo "Doing install-html in libtermcap"; \
33367 (cd $(HOST_SUBDIR)/libtermcap && \
33368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33370 "RANLIB=$${RANLIB}" \
33371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33372 install-html) \
33373 || exit 1
33375 @endif libtermcap
33377 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
33378 maybe-installcheck-libtermcap:
33379 @if libtermcap
33380 maybe-installcheck-libtermcap: installcheck-libtermcap
33382 installcheck-libtermcap: \
33383 configure-libtermcap
33384 @: $(MAKE); $(unstage)
33385 @[ -f ./libtermcap/Makefile ] || exit 0; \
33386 r=`${PWD_COMMAND}`; export r; \
33387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33388 $(HOST_EXPORTS) \
33389 for flag in $(EXTRA_HOST_FLAGS) ; do \
33390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33391 done; \
33392 echo "Doing installcheck in libtermcap"; \
33393 (cd $(HOST_SUBDIR)/libtermcap && \
33394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33396 "RANLIB=$${RANLIB}" \
33397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33398 installcheck) \
33399 || exit 1
33401 @endif libtermcap
33403 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
33404 maybe-mostlyclean-libtermcap:
33405 @if libtermcap
33406 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
33408 # libtermcap doesn't support mostlyclean.
33409 mostlyclean-libtermcap:
33411 @endif libtermcap
33413 .PHONY: maybe-clean-libtermcap clean-libtermcap
33414 maybe-clean-libtermcap:
33415 @if libtermcap
33416 maybe-clean-libtermcap: clean-libtermcap
33418 # libtermcap doesn't support clean.
33419 clean-libtermcap:
33421 @endif libtermcap
33423 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
33424 maybe-distclean-libtermcap:
33425 @if libtermcap
33426 maybe-distclean-libtermcap: distclean-libtermcap
33428 # libtermcap doesn't support distclean.
33429 distclean-libtermcap:
33431 @endif libtermcap
33433 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
33434 maybe-maintainer-clean-libtermcap:
33435 @if libtermcap
33436 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
33438 # libtermcap doesn't support maintainer-clean.
33439 maintainer-clean-libtermcap:
33441 @endif libtermcap
33445 .PHONY: configure-utils maybe-configure-utils
33446 maybe-configure-utils:
33447 @if gcc-bootstrap
33448 configure-utils: stage_current
33449 @endif gcc-bootstrap
33450 @if utils
33451 maybe-configure-utils: configure-utils
33452 configure-utils:
33453 @: $(MAKE); $(unstage)
33454 @r=`${PWD_COMMAND}`; export r; \
33455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33456 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
33457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
33458 $(HOST_EXPORTS) \
33459 echo Configuring in $(HOST_SUBDIR)/utils; \
33460 cd "$(HOST_SUBDIR)/utils" || exit 1; \
33461 case $(srcdir) in \
33462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33463 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
33464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33465 esac; \
33466 module_srcdir=utils; \
33467 $(SHELL) \
33468 $$s/$$module_srcdir/configure \
33469 --srcdir=$${topdir}/$$module_srcdir \
33470 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33471 --target=${target_alias} \
33472 || exit 1
33473 @endif utils
33479 .PHONY: all-utils maybe-all-utils
33480 maybe-all-utils:
33481 @if gcc-bootstrap
33482 all-utils: stage_current
33483 @endif gcc-bootstrap
33484 @if utils
33485 TARGET-utils=all
33486 maybe-all-utils: all-utils
33487 all-utils: configure-utils
33488 @: $(MAKE); $(unstage)
33489 @r=`${PWD_COMMAND}`; export r; \
33490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33491 $(HOST_EXPORTS) \
33492 (cd $(HOST_SUBDIR)/utils && \
33493 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33494 $(TARGET-utils))
33495 @endif utils
33500 .PHONY: check-utils maybe-check-utils
33501 maybe-check-utils:
33502 @if utils
33503 maybe-check-utils: check-utils
33505 check-utils:
33507 @endif utils
33509 .PHONY: install-utils maybe-install-utils
33510 maybe-install-utils:
33511 @if utils
33512 maybe-install-utils: install-utils
33514 install-utils: installdirs
33515 @: $(MAKE); $(unstage)
33516 @r=`${PWD_COMMAND}`; export r; \
33517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33518 $(HOST_EXPORTS) \
33519 (cd $(HOST_SUBDIR)/utils && \
33520 $(MAKE) $(FLAGS_TO_PASS) install)
33522 @endif utils
33524 .PHONY: install-strip-utils maybe-install-strip-utils
33525 maybe-install-strip-utils:
33526 @if utils
33527 maybe-install-strip-utils: install-strip-utils
33529 install-strip-utils: installdirs
33530 @: $(MAKE); $(unstage)
33531 @r=`${PWD_COMMAND}`; export r; \
33532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33533 $(HOST_EXPORTS) \
33534 (cd $(HOST_SUBDIR)/utils && \
33535 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33537 @endif utils
33539 # Other targets (info, dvi, pdf, etc.)
33541 .PHONY: maybe-info-utils info-utils
33542 maybe-info-utils:
33543 @if utils
33544 maybe-info-utils: info-utils
33546 info-utils: \
33547 configure-utils
33548 @: $(MAKE); $(unstage)
33549 @[ -f ./utils/Makefile ] || exit 0; \
33550 r=`${PWD_COMMAND}`; export r; \
33551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33552 $(HOST_EXPORTS) \
33553 for flag in $(EXTRA_HOST_FLAGS) ; do \
33554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33555 done; \
33556 echo "Doing info in utils"; \
33557 (cd $(HOST_SUBDIR)/utils && \
33558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33560 "RANLIB=$${RANLIB}" \
33561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33562 info) \
33563 || exit 1
33565 @endif utils
33567 .PHONY: maybe-dvi-utils dvi-utils
33568 maybe-dvi-utils:
33569 @if utils
33570 maybe-dvi-utils: dvi-utils
33572 dvi-utils: \
33573 configure-utils
33574 @: $(MAKE); $(unstage)
33575 @[ -f ./utils/Makefile ] || exit 0; \
33576 r=`${PWD_COMMAND}`; export r; \
33577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33578 $(HOST_EXPORTS) \
33579 for flag in $(EXTRA_HOST_FLAGS) ; do \
33580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33581 done; \
33582 echo "Doing dvi in utils"; \
33583 (cd $(HOST_SUBDIR)/utils && \
33584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33586 "RANLIB=$${RANLIB}" \
33587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33588 dvi) \
33589 || exit 1
33591 @endif utils
33593 .PHONY: maybe-pdf-utils pdf-utils
33594 maybe-pdf-utils:
33595 @if utils
33596 maybe-pdf-utils: pdf-utils
33598 pdf-utils: \
33599 configure-utils
33600 @: $(MAKE); $(unstage)
33601 @[ -f ./utils/Makefile ] || exit 0; \
33602 r=`${PWD_COMMAND}`; export r; \
33603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33604 $(HOST_EXPORTS) \
33605 for flag in $(EXTRA_HOST_FLAGS) ; do \
33606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33607 done; \
33608 echo "Doing pdf in utils"; \
33609 (cd $(HOST_SUBDIR)/utils && \
33610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33612 "RANLIB=$${RANLIB}" \
33613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33614 pdf) \
33615 || exit 1
33617 @endif utils
33619 .PHONY: maybe-html-utils html-utils
33620 maybe-html-utils:
33621 @if utils
33622 maybe-html-utils: html-utils
33624 html-utils: \
33625 configure-utils
33626 @: $(MAKE); $(unstage)
33627 @[ -f ./utils/Makefile ] || exit 0; \
33628 r=`${PWD_COMMAND}`; export r; \
33629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33630 $(HOST_EXPORTS) \
33631 for flag in $(EXTRA_HOST_FLAGS) ; do \
33632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33633 done; \
33634 echo "Doing html in utils"; \
33635 (cd $(HOST_SUBDIR)/utils && \
33636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33638 "RANLIB=$${RANLIB}" \
33639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33640 html) \
33641 || exit 1
33643 @endif utils
33645 .PHONY: maybe-TAGS-utils TAGS-utils
33646 maybe-TAGS-utils:
33647 @if utils
33648 maybe-TAGS-utils: TAGS-utils
33650 TAGS-utils: \
33651 configure-utils
33652 @: $(MAKE); $(unstage)
33653 @[ -f ./utils/Makefile ] || exit 0; \
33654 r=`${PWD_COMMAND}`; export r; \
33655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33656 $(HOST_EXPORTS) \
33657 for flag in $(EXTRA_HOST_FLAGS) ; do \
33658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33659 done; \
33660 echo "Doing TAGS in utils"; \
33661 (cd $(HOST_SUBDIR)/utils && \
33662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33664 "RANLIB=$${RANLIB}" \
33665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33666 TAGS) \
33667 || exit 1
33669 @endif utils
33671 .PHONY: maybe-install-info-utils install-info-utils
33672 maybe-install-info-utils:
33673 @if utils
33674 maybe-install-info-utils: install-info-utils
33676 install-info-utils: \
33677 configure-utils \
33678 info-utils
33679 @: $(MAKE); $(unstage)
33680 @[ -f ./utils/Makefile ] || exit 0; \
33681 r=`${PWD_COMMAND}`; export r; \
33682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33683 $(HOST_EXPORTS) \
33684 for flag in $(EXTRA_HOST_FLAGS) ; do \
33685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33686 done; \
33687 echo "Doing install-info in utils"; \
33688 (cd $(HOST_SUBDIR)/utils && \
33689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33691 "RANLIB=$${RANLIB}" \
33692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33693 install-info) \
33694 || exit 1
33696 @endif utils
33698 .PHONY: maybe-install-pdf-utils install-pdf-utils
33699 maybe-install-pdf-utils:
33700 @if utils
33701 maybe-install-pdf-utils: install-pdf-utils
33703 install-pdf-utils: \
33704 configure-utils \
33705 pdf-utils
33706 @: $(MAKE); $(unstage)
33707 @[ -f ./utils/Makefile ] || exit 0; \
33708 r=`${PWD_COMMAND}`; export r; \
33709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33710 $(HOST_EXPORTS) \
33711 for flag in $(EXTRA_HOST_FLAGS) ; do \
33712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33713 done; \
33714 echo "Doing install-pdf in utils"; \
33715 (cd $(HOST_SUBDIR)/utils && \
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}" \
33720 install-pdf) \
33721 || exit 1
33723 @endif utils
33725 .PHONY: maybe-install-html-utils install-html-utils
33726 maybe-install-html-utils:
33727 @if utils
33728 maybe-install-html-utils: install-html-utils
33730 install-html-utils: \
33731 configure-utils \
33732 html-utils
33733 @: $(MAKE); $(unstage)
33734 @[ -f ./utils/Makefile ] || exit 0; \
33735 r=`${PWD_COMMAND}`; export r; \
33736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33737 $(HOST_EXPORTS) \
33738 for flag in $(EXTRA_HOST_FLAGS) ; do \
33739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33740 done; \
33741 echo "Doing install-html in utils"; \
33742 (cd $(HOST_SUBDIR)/utils && \
33743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33745 "RANLIB=$${RANLIB}" \
33746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33747 install-html) \
33748 || exit 1
33750 @endif utils
33752 .PHONY: maybe-installcheck-utils installcheck-utils
33753 maybe-installcheck-utils:
33754 @if utils
33755 maybe-installcheck-utils: installcheck-utils
33757 installcheck-utils: \
33758 configure-utils
33759 @: $(MAKE); $(unstage)
33760 @[ -f ./utils/Makefile ] || exit 0; \
33761 r=`${PWD_COMMAND}`; export r; \
33762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33763 $(HOST_EXPORTS) \
33764 for flag in $(EXTRA_HOST_FLAGS) ; do \
33765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33766 done; \
33767 echo "Doing installcheck in utils"; \
33768 (cd $(HOST_SUBDIR)/utils && \
33769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33771 "RANLIB=$${RANLIB}" \
33772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33773 installcheck) \
33774 || exit 1
33776 @endif utils
33778 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
33779 maybe-mostlyclean-utils:
33780 @if utils
33781 maybe-mostlyclean-utils: mostlyclean-utils
33783 mostlyclean-utils:
33784 @: $(MAKE); $(unstage)
33785 @[ -f ./utils/Makefile ] || exit 0; \
33786 r=`${PWD_COMMAND}`; export r; \
33787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33788 $(HOST_EXPORTS) \
33789 for flag in $(EXTRA_HOST_FLAGS) ; do \
33790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33791 done; \
33792 echo "Doing mostlyclean in utils"; \
33793 (cd $(HOST_SUBDIR)/utils && \
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}" \
33798 mostlyclean) \
33799 || exit 1
33801 @endif utils
33803 .PHONY: maybe-clean-utils clean-utils
33804 maybe-clean-utils:
33805 @if utils
33806 maybe-clean-utils: clean-utils
33808 clean-utils:
33809 @: $(MAKE); $(unstage)
33810 @[ -f ./utils/Makefile ] || exit 0; \
33811 r=`${PWD_COMMAND}`; export r; \
33812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33813 $(HOST_EXPORTS) \
33814 for flag in $(EXTRA_HOST_FLAGS) ; do \
33815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33816 done; \
33817 echo "Doing clean in utils"; \
33818 (cd $(HOST_SUBDIR)/utils && \
33819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33821 "RANLIB=$${RANLIB}" \
33822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33823 clean) \
33824 || exit 1
33826 @endif utils
33828 .PHONY: maybe-distclean-utils distclean-utils
33829 maybe-distclean-utils:
33830 @if utils
33831 maybe-distclean-utils: distclean-utils
33833 distclean-utils:
33834 @: $(MAKE); $(unstage)
33835 @[ -f ./utils/Makefile ] || exit 0; \
33836 r=`${PWD_COMMAND}`; export r; \
33837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33838 $(HOST_EXPORTS) \
33839 for flag in $(EXTRA_HOST_FLAGS) ; do \
33840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33841 done; \
33842 echo "Doing distclean in utils"; \
33843 (cd $(HOST_SUBDIR)/utils && \
33844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33846 "RANLIB=$${RANLIB}" \
33847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33848 distclean) \
33849 || exit 1
33851 @endif utils
33853 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
33854 maybe-maintainer-clean-utils:
33855 @if utils
33856 maybe-maintainer-clean-utils: maintainer-clean-utils
33858 maintainer-clean-utils:
33859 @: $(MAKE); $(unstage)
33860 @[ -f ./utils/Makefile ] || exit 0; \
33861 r=`${PWD_COMMAND}`; export r; \
33862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33863 $(HOST_EXPORTS) \
33864 for flag in $(EXTRA_HOST_FLAGS) ; do \
33865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33866 done; \
33867 echo "Doing maintainer-clean in utils"; \
33868 (cd $(HOST_SUBDIR)/utils && \
33869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33871 "RANLIB=$${RANLIB}" \
33872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33873 maintainer-clean) \
33874 || exit 1
33876 @endif utils
33880 .PHONY: configure-gnattools maybe-configure-gnattools
33881 maybe-configure-gnattools:
33882 @if gcc-bootstrap
33883 configure-gnattools: stage_current
33884 @endif gcc-bootstrap
33885 @if gnattools
33886 maybe-configure-gnattools: configure-gnattools
33887 configure-gnattools:
33888 @: $(MAKE); $(unstage)
33889 @r=`${PWD_COMMAND}`; export r; \
33890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33891 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
33892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
33893 $(HOST_EXPORTS) \
33894 echo Configuring in $(HOST_SUBDIR)/gnattools; \
33895 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
33896 case $(srcdir) in \
33897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33898 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
33899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33900 esac; \
33901 module_srcdir=gnattools; \
33902 $(SHELL) \
33903 $$s/$$module_srcdir/configure \
33904 --srcdir=$${topdir}/$$module_srcdir \
33905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33906 --target=${target_alias} \
33907 || exit 1
33908 @endif gnattools
33914 .PHONY: all-gnattools maybe-all-gnattools
33915 maybe-all-gnattools:
33916 @if gcc-bootstrap
33917 all-gnattools: stage_current
33918 @endif gcc-bootstrap
33919 @if gnattools
33920 TARGET-gnattools=all
33921 maybe-all-gnattools: all-gnattools
33922 all-gnattools: configure-gnattools
33923 @: $(MAKE); $(unstage)
33924 @r=`${PWD_COMMAND}`; export r; \
33925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33926 $(HOST_EXPORTS) \
33927 (cd $(HOST_SUBDIR)/gnattools && \
33928 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33929 $(TARGET-gnattools))
33930 @endif gnattools
33935 .PHONY: check-gnattools maybe-check-gnattools
33936 maybe-check-gnattools:
33937 @if gnattools
33938 maybe-check-gnattools: check-gnattools
33940 check-gnattools:
33941 @: $(MAKE); $(unstage)
33942 @r=`${PWD_COMMAND}`; export r; \
33943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33944 $(HOST_EXPORTS) \
33945 (cd $(HOST_SUBDIR)/gnattools && \
33946 $(MAKE) $(FLAGS_TO_PASS) check)
33948 @endif gnattools
33950 .PHONY: install-gnattools maybe-install-gnattools
33951 maybe-install-gnattools:
33952 @if gnattools
33953 maybe-install-gnattools: install-gnattools
33955 install-gnattools: installdirs
33956 @: $(MAKE); $(unstage)
33957 @r=`${PWD_COMMAND}`; export r; \
33958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33959 $(HOST_EXPORTS) \
33960 (cd $(HOST_SUBDIR)/gnattools && \
33961 $(MAKE) $(FLAGS_TO_PASS) install)
33963 @endif gnattools
33965 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
33966 maybe-install-strip-gnattools:
33967 @if gnattools
33968 maybe-install-strip-gnattools: install-strip-gnattools
33970 install-strip-gnattools: installdirs
33971 @: $(MAKE); $(unstage)
33972 @r=`${PWD_COMMAND}`; export r; \
33973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33974 $(HOST_EXPORTS) \
33975 (cd $(HOST_SUBDIR)/gnattools && \
33976 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33978 @endif gnattools
33980 # Other targets (info, dvi, pdf, etc.)
33982 .PHONY: maybe-info-gnattools info-gnattools
33983 maybe-info-gnattools:
33984 @if gnattools
33985 maybe-info-gnattools: info-gnattools
33987 info-gnattools: \
33988 configure-gnattools
33989 @: $(MAKE); $(unstage)
33990 @[ -f ./gnattools/Makefile ] || exit 0; \
33991 r=`${PWD_COMMAND}`; export r; \
33992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33993 $(HOST_EXPORTS) \
33994 for flag in $(EXTRA_HOST_FLAGS) ; do \
33995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33996 done; \
33997 echo "Doing info in gnattools"; \
33998 (cd $(HOST_SUBDIR)/gnattools && \
33999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34001 "RANLIB=$${RANLIB}" \
34002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34003 info) \
34004 || exit 1
34006 @endif gnattools
34008 .PHONY: maybe-dvi-gnattools dvi-gnattools
34009 maybe-dvi-gnattools:
34010 @if gnattools
34011 maybe-dvi-gnattools: dvi-gnattools
34013 dvi-gnattools: \
34014 configure-gnattools
34015 @: $(MAKE); $(unstage)
34016 @[ -f ./gnattools/Makefile ] || exit 0; \
34017 r=`${PWD_COMMAND}`; export r; \
34018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34019 $(HOST_EXPORTS) \
34020 for flag in $(EXTRA_HOST_FLAGS) ; do \
34021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34022 done; \
34023 echo "Doing dvi in gnattools"; \
34024 (cd $(HOST_SUBDIR)/gnattools && \
34025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34027 "RANLIB=$${RANLIB}" \
34028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34029 dvi) \
34030 || exit 1
34032 @endif gnattools
34034 .PHONY: maybe-pdf-gnattools pdf-gnattools
34035 maybe-pdf-gnattools:
34036 @if gnattools
34037 maybe-pdf-gnattools: pdf-gnattools
34039 pdf-gnattools: \
34040 configure-gnattools
34041 @: $(MAKE); $(unstage)
34042 @[ -f ./gnattools/Makefile ] || exit 0; \
34043 r=`${PWD_COMMAND}`; export r; \
34044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34045 $(HOST_EXPORTS) \
34046 for flag in $(EXTRA_HOST_FLAGS) ; do \
34047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34048 done; \
34049 echo "Doing pdf in gnattools"; \
34050 (cd $(HOST_SUBDIR)/gnattools && \
34051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34053 "RANLIB=$${RANLIB}" \
34054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34055 pdf) \
34056 || exit 1
34058 @endif gnattools
34060 .PHONY: maybe-html-gnattools html-gnattools
34061 maybe-html-gnattools:
34062 @if gnattools
34063 maybe-html-gnattools: html-gnattools
34065 html-gnattools: \
34066 configure-gnattools
34067 @: $(MAKE); $(unstage)
34068 @[ -f ./gnattools/Makefile ] || exit 0; \
34069 r=`${PWD_COMMAND}`; export r; \
34070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34071 $(HOST_EXPORTS) \
34072 for flag in $(EXTRA_HOST_FLAGS) ; do \
34073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34074 done; \
34075 echo "Doing html in gnattools"; \
34076 (cd $(HOST_SUBDIR)/gnattools && \
34077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34079 "RANLIB=$${RANLIB}" \
34080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34081 html) \
34082 || exit 1
34084 @endif gnattools
34086 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
34087 maybe-TAGS-gnattools:
34088 @if gnattools
34089 maybe-TAGS-gnattools: TAGS-gnattools
34091 TAGS-gnattools: \
34092 configure-gnattools
34093 @: $(MAKE); $(unstage)
34094 @[ -f ./gnattools/Makefile ] || exit 0; \
34095 r=`${PWD_COMMAND}`; export r; \
34096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34097 $(HOST_EXPORTS) \
34098 for flag in $(EXTRA_HOST_FLAGS) ; do \
34099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34100 done; \
34101 echo "Doing TAGS in gnattools"; \
34102 (cd $(HOST_SUBDIR)/gnattools && \
34103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34105 "RANLIB=$${RANLIB}" \
34106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34107 TAGS) \
34108 || exit 1
34110 @endif gnattools
34112 .PHONY: maybe-install-info-gnattools install-info-gnattools
34113 maybe-install-info-gnattools:
34114 @if gnattools
34115 maybe-install-info-gnattools: install-info-gnattools
34117 install-info-gnattools: \
34118 configure-gnattools \
34119 info-gnattools
34120 @: $(MAKE); $(unstage)
34121 @[ -f ./gnattools/Makefile ] || exit 0; \
34122 r=`${PWD_COMMAND}`; export r; \
34123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34124 $(HOST_EXPORTS) \
34125 for flag in $(EXTRA_HOST_FLAGS) ; do \
34126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34127 done; \
34128 echo "Doing install-info in gnattools"; \
34129 (cd $(HOST_SUBDIR)/gnattools && \
34130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34132 "RANLIB=$${RANLIB}" \
34133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34134 install-info) \
34135 || exit 1
34137 @endif gnattools
34139 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
34140 maybe-install-pdf-gnattools:
34141 @if gnattools
34142 maybe-install-pdf-gnattools: install-pdf-gnattools
34144 install-pdf-gnattools: \
34145 configure-gnattools \
34146 pdf-gnattools
34147 @: $(MAKE); $(unstage)
34148 @[ -f ./gnattools/Makefile ] || exit 0; \
34149 r=`${PWD_COMMAND}`; export r; \
34150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34151 $(HOST_EXPORTS) \
34152 for flag in $(EXTRA_HOST_FLAGS) ; do \
34153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34154 done; \
34155 echo "Doing install-pdf in gnattools"; \
34156 (cd $(HOST_SUBDIR)/gnattools && \
34157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34159 "RANLIB=$${RANLIB}" \
34160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34161 install-pdf) \
34162 || exit 1
34164 @endif gnattools
34166 .PHONY: maybe-install-html-gnattools install-html-gnattools
34167 maybe-install-html-gnattools:
34168 @if gnattools
34169 maybe-install-html-gnattools: install-html-gnattools
34171 install-html-gnattools: \
34172 configure-gnattools \
34173 html-gnattools
34174 @: $(MAKE); $(unstage)
34175 @[ -f ./gnattools/Makefile ] || exit 0; \
34176 r=`${PWD_COMMAND}`; export r; \
34177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34178 $(HOST_EXPORTS) \
34179 for flag in $(EXTRA_HOST_FLAGS) ; do \
34180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34181 done; \
34182 echo "Doing install-html in gnattools"; \
34183 (cd $(HOST_SUBDIR)/gnattools && \
34184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34186 "RANLIB=$${RANLIB}" \
34187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34188 install-html) \
34189 || exit 1
34191 @endif gnattools
34193 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
34194 maybe-installcheck-gnattools:
34195 @if gnattools
34196 maybe-installcheck-gnattools: installcheck-gnattools
34198 installcheck-gnattools: \
34199 configure-gnattools
34200 @: $(MAKE); $(unstage)
34201 @[ -f ./gnattools/Makefile ] || exit 0; \
34202 r=`${PWD_COMMAND}`; export r; \
34203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34204 $(HOST_EXPORTS) \
34205 for flag in $(EXTRA_HOST_FLAGS) ; do \
34206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34207 done; \
34208 echo "Doing installcheck in gnattools"; \
34209 (cd $(HOST_SUBDIR)/gnattools && \
34210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34212 "RANLIB=$${RANLIB}" \
34213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34214 installcheck) \
34215 || exit 1
34217 @endif gnattools
34219 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
34220 maybe-mostlyclean-gnattools:
34221 @if gnattools
34222 maybe-mostlyclean-gnattools: mostlyclean-gnattools
34224 mostlyclean-gnattools:
34225 @: $(MAKE); $(unstage)
34226 @[ -f ./gnattools/Makefile ] || exit 0; \
34227 r=`${PWD_COMMAND}`; export r; \
34228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34229 $(HOST_EXPORTS) \
34230 for flag in $(EXTRA_HOST_FLAGS) ; do \
34231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34232 done; \
34233 echo "Doing mostlyclean in gnattools"; \
34234 (cd $(HOST_SUBDIR)/gnattools && \
34235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34237 "RANLIB=$${RANLIB}" \
34238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34239 mostlyclean) \
34240 || exit 1
34242 @endif gnattools
34244 .PHONY: maybe-clean-gnattools clean-gnattools
34245 maybe-clean-gnattools:
34246 @if gnattools
34247 maybe-clean-gnattools: clean-gnattools
34249 clean-gnattools:
34250 @: $(MAKE); $(unstage)
34251 @[ -f ./gnattools/Makefile ] || exit 0; \
34252 r=`${PWD_COMMAND}`; export r; \
34253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34254 $(HOST_EXPORTS) \
34255 for flag in $(EXTRA_HOST_FLAGS) ; do \
34256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34257 done; \
34258 echo "Doing clean in gnattools"; \
34259 (cd $(HOST_SUBDIR)/gnattools && \
34260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34262 "RANLIB=$${RANLIB}" \
34263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34264 clean) \
34265 || exit 1
34267 @endif gnattools
34269 .PHONY: maybe-distclean-gnattools distclean-gnattools
34270 maybe-distclean-gnattools:
34271 @if gnattools
34272 maybe-distclean-gnattools: distclean-gnattools
34274 distclean-gnattools:
34275 @: $(MAKE); $(unstage)
34276 @[ -f ./gnattools/Makefile ] || exit 0; \
34277 r=`${PWD_COMMAND}`; export r; \
34278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34279 $(HOST_EXPORTS) \
34280 for flag in $(EXTRA_HOST_FLAGS) ; do \
34281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34282 done; \
34283 echo "Doing distclean in gnattools"; \
34284 (cd $(HOST_SUBDIR)/gnattools && \
34285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34287 "RANLIB=$${RANLIB}" \
34288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34289 distclean) \
34290 || exit 1
34292 @endif gnattools
34294 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
34295 maybe-maintainer-clean-gnattools:
34296 @if gnattools
34297 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
34299 maintainer-clean-gnattools:
34300 @: $(MAKE); $(unstage)
34301 @[ -f ./gnattools/Makefile ] || exit 0; \
34302 r=`${PWD_COMMAND}`; export r; \
34303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34304 $(HOST_EXPORTS) \
34305 for flag in $(EXTRA_HOST_FLAGS) ; do \
34306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34307 done; \
34308 echo "Doing maintainer-clean in gnattools"; \
34309 (cd $(HOST_SUBDIR)/gnattools && \
34310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34312 "RANLIB=$${RANLIB}" \
34313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34314 maintainer-clean) \
34315 || exit 1
34317 @endif gnattools
34321 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
34322 maybe-configure-lto-plugin:
34323 @if gcc-bootstrap
34324 configure-lto-plugin: stage_current
34325 @endif gcc-bootstrap
34326 @if lto-plugin
34327 maybe-configure-lto-plugin: configure-lto-plugin
34328 configure-lto-plugin:
34329 @r=`${PWD_COMMAND}`; export r; \
34330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34331 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34333 $(HOST_EXPORTS) \
34334 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
34335 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
34336 case $(srcdir) in \
34337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34338 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34340 esac; \
34341 module_srcdir=lto-plugin; \
34342 $(SHELL) \
34343 $$s/$$module_srcdir/configure \
34344 --srcdir=$${topdir}/$$module_srcdir \
34345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34346 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
34347 || exit 1
34348 @endif lto-plugin
34352 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
34353 maybe-configure-stage1-lto-plugin:
34354 @if lto-plugin-bootstrap
34355 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
34356 configure-stage1-lto-plugin:
34357 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34359 @r=`${PWD_COMMAND}`; export r; \
34360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34361 TFLAGS="$(STAGE1_TFLAGS)"; \
34362 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34363 $(HOST_EXPORTS) \
34364 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
34365 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
34366 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
34367 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
34368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34369 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34370 case $(srcdir) in \
34371 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34372 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34373 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34374 esac; \
34375 module_srcdir=lto-plugin; \
34376 $(SHELL) $$s/$$module_srcdir/configure \
34377 --srcdir=$${topdir}/$$module_srcdir \
34378 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34379 --target=${target_alias} \
34381 $(STAGE1_CONFIGURE_FLAGS) \
34382 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34383 @endif lto-plugin-bootstrap
34385 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
34386 maybe-configure-stage2-lto-plugin:
34387 @if lto-plugin-bootstrap
34388 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
34389 configure-stage2-lto-plugin:
34390 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34391 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34392 @r=`${PWD_COMMAND}`; export r; \
34393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34394 TFLAGS="$(STAGE2_TFLAGS)"; \
34395 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34396 $(HOST_EXPORTS) \
34397 $(POSTSTAGE1_HOST_EXPORTS) \
34398 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
34399 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
34400 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
34401 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
34402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34403 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34404 case $(srcdir) in \
34405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34406 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34408 esac; \
34409 module_srcdir=lto-plugin; \
34410 $(SHELL) $$s/$$module_srcdir/configure \
34411 --srcdir=$${topdir}/$$module_srcdir \
34412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34413 --target=${target_alias} \
34414 --with-build-libsubdir=$(HOST_SUBDIR) \
34415 $(STAGE2_CONFIGURE_FLAGS) \
34416 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34417 @endif lto-plugin-bootstrap
34419 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
34420 maybe-configure-stage3-lto-plugin:
34421 @if lto-plugin-bootstrap
34422 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
34423 configure-stage3-lto-plugin:
34424 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34425 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34426 @r=`${PWD_COMMAND}`; export r; \
34427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34428 TFLAGS="$(STAGE3_TFLAGS)"; \
34429 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34430 $(HOST_EXPORTS) \
34431 $(POSTSTAGE1_HOST_EXPORTS) \
34432 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
34433 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
34434 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
34435 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
34436 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34437 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34438 case $(srcdir) in \
34439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34440 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34442 esac; \
34443 module_srcdir=lto-plugin; \
34444 $(SHELL) $$s/$$module_srcdir/configure \
34445 --srcdir=$${topdir}/$$module_srcdir \
34446 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34447 --target=${target_alias} \
34448 --with-build-libsubdir=$(HOST_SUBDIR) \
34449 $(STAGE3_CONFIGURE_FLAGS) \
34450 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34451 @endif lto-plugin-bootstrap
34453 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
34454 maybe-configure-stage4-lto-plugin:
34455 @if lto-plugin-bootstrap
34456 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
34457 configure-stage4-lto-plugin:
34458 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34459 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34460 @r=`${PWD_COMMAND}`; export r; \
34461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34462 TFLAGS="$(STAGE4_TFLAGS)"; \
34463 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34464 $(HOST_EXPORTS) \
34465 $(POSTSTAGE1_HOST_EXPORTS) \
34466 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
34467 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
34468 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
34469 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
34470 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34471 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34472 case $(srcdir) in \
34473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34474 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34476 esac; \
34477 module_srcdir=lto-plugin; \
34478 $(SHELL) $$s/$$module_srcdir/configure \
34479 --srcdir=$${topdir}/$$module_srcdir \
34480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34481 --target=${target_alias} \
34482 --with-build-libsubdir=$(HOST_SUBDIR) \
34483 $(STAGE4_CONFIGURE_FLAGS) \
34484 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34485 @endif lto-plugin-bootstrap
34487 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
34488 maybe-configure-stageprofile-lto-plugin:
34489 @if lto-plugin-bootstrap
34490 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
34491 configure-stageprofile-lto-plugin:
34492 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34493 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34494 @r=`${PWD_COMMAND}`; export r; \
34495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34496 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34497 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34498 $(HOST_EXPORTS) \
34499 $(POSTSTAGE1_HOST_EXPORTS) \
34500 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
34501 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
34502 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
34503 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
34504 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34505 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34506 case $(srcdir) in \
34507 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34508 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34509 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34510 esac; \
34511 module_srcdir=lto-plugin; \
34512 $(SHELL) $$s/$$module_srcdir/configure \
34513 --srcdir=$${topdir}/$$module_srcdir \
34514 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34515 --target=${target_alias} \
34516 --with-build-libsubdir=$(HOST_SUBDIR) \
34517 $(STAGEprofile_CONFIGURE_FLAGS) \
34518 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34519 @endif lto-plugin-bootstrap
34521 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
34522 maybe-configure-stagefeedback-lto-plugin:
34523 @if lto-plugin-bootstrap
34524 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
34525 configure-stagefeedback-lto-plugin:
34526 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34527 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34528 @r=`${PWD_COMMAND}`; export r; \
34529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34530 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34531 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34532 $(HOST_EXPORTS) \
34533 $(POSTSTAGE1_HOST_EXPORTS) \
34534 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
34535 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
34536 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
34537 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
34538 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34539 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34540 case $(srcdir) in \
34541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34542 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34544 esac; \
34545 module_srcdir=lto-plugin; \
34546 $(SHELL) $$s/$$module_srcdir/configure \
34547 --srcdir=$${topdir}/$$module_srcdir \
34548 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34549 --target=${target_alias} \
34550 --with-build-libsubdir=$(HOST_SUBDIR) \
34551 $(STAGEfeedback_CONFIGURE_FLAGS) \
34552 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34553 @endif lto-plugin-bootstrap
34555 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
34556 maybe-configure-stageautoprofile-lto-plugin:
34557 @if lto-plugin-bootstrap
34558 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
34559 configure-stageautoprofile-lto-plugin:
34560 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34561 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34562 @r=`${PWD_COMMAND}`; export r; \
34563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34564 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34565 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34566 $(HOST_EXPORTS) \
34567 $(POSTSTAGE1_HOST_EXPORTS) \
34568 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
34569 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
34570 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
34571 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
34572 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34573 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34574 case $(srcdir) in \
34575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34576 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34578 esac; \
34579 module_srcdir=lto-plugin; \
34580 $(SHELL) $$s/$$module_srcdir/configure \
34581 --srcdir=$${topdir}/$$module_srcdir \
34582 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34583 --target=${target_alias} \
34584 --with-build-libsubdir=$(HOST_SUBDIR) \
34585 $(STAGEautoprofile_CONFIGURE_FLAGS) \
34586 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34587 @endif lto-plugin-bootstrap
34589 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
34590 maybe-configure-stageautofeedback-lto-plugin:
34591 @if lto-plugin-bootstrap
34592 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
34593 configure-stageautofeedback-lto-plugin:
34594 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34595 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
34596 @r=`${PWD_COMMAND}`; export r; \
34597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34598 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34599 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
34600 $(HOST_EXPORTS) \
34601 $(POSTSTAGE1_HOST_EXPORTS) \
34602 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
34603 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
34604 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
34605 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
34606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
34607 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
34608 case $(srcdir) in \
34609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34610 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
34611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34612 esac; \
34613 module_srcdir=lto-plugin; \
34614 $(SHELL) $$s/$$module_srcdir/configure \
34615 --srcdir=$${topdir}/$$module_srcdir \
34616 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34617 --target=${target_alias} \
34618 --with-build-libsubdir=$(HOST_SUBDIR) \
34619 $(STAGEautofeedback_CONFIGURE_FLAGS) \
34620 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
34621 @endif lto-plugin-bootstrap
34627 .PHONY: all-lto-plugin maybe-all-lto-plugin
34628 maybe-all-lto-plugin:
34629 @if gcc-bootstrap
34630 all-lto-plugin: stage_current
34631 @endif gcc-bootstrap
34632 @if lto-plugin
34633 TARGET-lto-plugin=all
34634 maybe-all-lto-plugin: all-lto-plugin
34635 all-lto-plugin: configure-lto-plugin
34636 @r=`${PWD_COMMAND}`; export r; \
34637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34638 $(HOST_EXPORTS) \
34639 (cd $(HOST_SUBDIR)/lto-plugin && \
34640 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34641 $(TARGET-lto-plugin))
34642 @endif lto-plugin
34646 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
34647 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
34648 maybe-all-stage1-lto-plugin:
34649 maybe-clean-stage1-lto-plugin:
34650 @if lto-plugin-bootstrap
34651 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
34652 all-stage1: all-stage1-lto-plugin
34653 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
34654 all-stage1-lto-plugin: configure-stage1-lto-plugin
34655 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34656 @r=`${PWD_COMMAND}`; export r; \
34657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34658 TFLAGS="$(STAGE1_TFLAGS)"; \
34659 $(HOST_EXPORTS) \
34660 cd $(HOST_SUBDIR)/lto-plugin && \
34662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34663 CFLAGS="$(STAGE1_CFLAGS)" \
34664 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
34665 LIBCFLAGS="$(LIBCFLAGS)" \
34666 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34667 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34668 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34669 $(EXTRA_HOST_FLAGS) \
34670 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34671 TFLAGS="$(STAGE1_TFLAGS)" \
34672 $(TARGET-stage1-lto-plugin)
34674 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
34675 clean-stage1: clean-stage1-lto-plugin
34676 clean-stage1-lto-plugin:
34677 @if [ $(current_stage) = stage1 ]; then \
34678 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34679 else \
34680 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
34681 $(MAKE) stage1-start; \
34682 fi; \
34683 cd $(HOST_SUBDIR)/lto-plugin && \
34684 $(MAKE) $(EXTRA_HOST_FLAGS) \
34685 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34686 @endif lto-plugin-bootstrap
34689 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
34690 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
34691 maybe-all-stage2-lto-plugin:
34692 maybe-clean-stage2-lto-plugin:
34693 @if lto-plugin-bootstrap
34694 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
34695 all-stage2: all-stage2-lto-plugin
34696 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
34697 all-stage2-lto-plugin: configure-stage2-lto-plugin
34698 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34699 @r=`${PWD_COMMAND}`; export r; \
34700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34701 TFLAGS="$(STAGE2_TFLAGS)"; \
34702 $(HOST_EXPORTS) \
34703 $(POSTSTAGE1_HOST_EXPORTS) \
34704 cd $(HOST_SUBDIR)/lto-plugin && \
34706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34707 CFLAGS="$(STAGE2_CFLAGS)" \
34708 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
34709 LIBCFLAGS="$(STAGE2_CFLAGS)" \
34710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34714 TFLAGS="$(STAGE2_TFLAGS)" \
34715 $(TARGET-stage2-lto-plugin)
34717 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
34718 clean-stage2: clean-stage2-lto-plugin
34719 clean-stage2-lto-plugin:
34720 @if [ $(current_stage) = stage2 ]; then \
34721 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34722 else \
34723 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
34724 $(MAKE) stage2-start; \
34725 fi; \
34726 cd $(HOST_SUBDIR)/lto-plugin && \
34727 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34728 @endif lto-plugin-bootstrap
34731 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
34732 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
34733 maybe-all-stage3-lto-plugin:
34734 maybe-clean-stage3-lto-plugin:
34735 @if lto-plugin-bootstrap
34736 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
34737 all-stage3: all-stage3-lto-plugin
34738 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
34739 all-stage3-lto-plugin: configure-stage3-lto-plugin
34740 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34741 @r=`${PWD_COMMAND}`; export r; \
34742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34743 TFLAGS="$(STAGE3_TFLAGS)"; \
34744 $(HOST_EXPORTS) \
34745 $(POSTSTAGE1_HOST_EXPORTS) \
34746 cd $(HOST_SUBDIR)/lto-plugin && \
34748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34749 CFLAGS="$(STAGE3_CFLAGS)" \
34750 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
34751 LIBCFLAGS="$(STAGE3_CFLAGS)" \
34752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34756 TFLAGS="$(STAGE3_TFLAGS)" \
34757 $(TARGET-stage3-lto-plugin)
34759 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
34760 clean-stage3: clean-stage3-lto-plugin
34761 clean-stage3-lto-plugin:
34762 @if [ $(current_stage) = stage3 ]; then \
34763 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34764 else \
34765 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
34766 $(MAKE) stage3-start; \
34767 fi; \
34768 cd $(HOST_SUBDIR)/lto-plugin && \
34769 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34770 @endif lto-plugin-bootstrap
34773 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
34774 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
34775 maybe-all-stage4-lto-plugin:
34776 maybe-clean-stage4-lto-plugin:
34777 @if lto-plugin-bootstrap
34778 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
34779 all-stage4: all-stage4-lto-plugin
34780 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
34781 all-stage4-lto-plugin: configure-stage4-lto-plugin
34782 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34783 @r=`${PWD_COMMAND}`; export r; \
34784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34785 TFLAGS="$(STAGE4_TFLAGS)"; \
34786 $(HOST_EXPORTS) \
34787 $(POSTSTAGE1_HOST_EXPORTS) \
34788 cd $(HOST_SUBDIR)/lto-plugin && \
34790 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34791 CFLAGS="$(STAGE4_CFLAGS)" \
34792 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
34793 LIBCFLAGS="$(STAGE4_CFLAGS)" \
34794 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34795 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34796 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34797 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34798 TFLAGS="$(STAGE4_TFLAGS)" \
34799 $(TARGET-stage4-lto-plugin)
34801 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
34802 clean-stage4: clean-stage4-lto-plugin
34803 clean-stage4-lto-plugin:
34804 @if [ $(current_stage) = stage4 ]; then \
34805 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34806 else \
34807 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
34808 $(MAKE) stage4-start; \
34809 fi; \
34810 cd $(HOST_SUBDIR)/lto-plugin && \
34811 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34812 @endif lto-plugin-bootstrap
34815 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
34816 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
34817 maybe-all-stageprofile-lto-plugin:
34818 maybe-clean-stageprofile-lto-plugin:
34819 @if lto-plugin-bootstrap
34820 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
34821 all-stageprofile: all-stageprofile-lto-plugin
34822 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
34823 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
34824 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34825 @r=`${PWD_COMMAND}`; export r; \
34826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34827 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34828 $(HOST_EXPORTS) \
34829 $(POSTSTAGE1_HOST_EXPORTS) \
34830 cd $(HOST_SUBDIR)/lto-plugin && \
34832 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34833 CFLAGS="$(STAGEprofile_CFLAGS)" \
34834 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
34835 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
34836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34839 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34840 TFLAGS="$(STAGEprofile_TFLAGS)" \
34841 $(TARGET-stageprofile-lto-plugin)
34843 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
34844 clean-stageprofile: clean-stageprofile-lto-plugin
34845 clean-stageprofile-lto-plugin:
34846 @if [ $(current_stage) = stageprofile ]; then \
34847 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34848 else \
34849 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
34850 $(MAKE) stageprofile-start; \
34851 fi; \
34852 cd $(HOST_SUBDIR)/lto-plugin && \
34853 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34854 @endif lto-plugin-bootstrap
34857 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
34858 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
34859 maybe-all-stagefeedback-lto-plugin:
34860 maybe-clean-stagefeedback-lto-plugin:
34861 @if lto-plugin-bootstrap
34862 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
34863 all-stagefeedback: all-stagefeedback-lto-plugin
34864 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
34865 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
34866 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34867 @r=`${PWD_COMMAND}`; export r; \
34868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34869 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34870 $(HOST_EXPORTS) \
34871 $(POSTSTAGE1_HOST_EXPORTS) \
34872 cd $(HOST_SUBDIR)/lto-plugin && \
34874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34875 CFLAGS="$(STAGEfeedback_CFLAGS)" \
34876 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
34877 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
34878 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34879 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34880 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34881 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34882 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34883 $(TARGET-stagefeedback-lto-plugin)
34885 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
34886 clean-stagefeedback: clean-stagefeedback-lto-plugin
34887 clean-stagefeedback-lto-plugin:
34888 @if [ $(current_stage) = stagefeedback ]; then \
34889 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34890 else \
34891 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
34892 $(MAKE) stagefeedback-start; \
34893 fi; \
34894 cd $(HOST_SUBDIR)/lto-plugin && \
34895 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34896 @endif lto-plugin-bootstrap
34899 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
34900 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
34901 maybe-all-stageautoprofile-lto-plugin:
34902 maybe-clean-stageautoprofile-lto-plugin:
34903 @if lto-plugin-bootstrap
34904 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
34905 all-stageautoprofile: all-stageautoprofile-lto-plugin
34906 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
34907 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
34908 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34909 @r=`${PWD_COMMAND}`; export r; \
34910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34911 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34912 $(HOST_EXPORTS) \
34913 $(POSTSTAGE1_HOST_EXPORTS) \
34914 cd $(HOST_SUBDIR)/lto-plugin && \
34915 $$s/gcc/config/i386/$(AUTO_PROFILE) \
34916 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34917 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
34918 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
34919 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
34920 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34921 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34922 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34923 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34924 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
34925 $(TARGET-stageautoprofile-lto-plugin)
34927 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
34928 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
34929 clean-stageautoprofile-lto-plugin:
34930 @if [ $(current_stage) = stageautoprofile ]; then \
34931 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34932 else \
34933 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
34934 $(MAKE) stageautoprofile-start; \
34935 fi; \
34936 cd $(HOST_SUBDIR)/lto-plugin && \
34937 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34938 @endif lto-plugin-bootstrap
34941 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
34942 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
34943 maybe-all-stageautofeedback-lto-plugin:
34944 maybe-clean-stageautofeedback-lto-plugin:
34945 @if lto-plugin-bootstrap
34946 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
34947 all-stageautofeedback: all-stageautofeedback-lto-plugin
34948 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
34949 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
34950 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34951 @r=`${PWD_COMMAND}`; export r; \
34952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34953 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34954 $(HOST_EXPORTS) \
34955 $(POSTSTAGE1_HOST_EXPORTS) \
34956 cd $(HOST_SUBDIR)/lto-plugin && \
34958 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34959 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
34960 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
34961 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
34962 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34963 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34964 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34965 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
34966 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
34967 $(TARGET-stageautofeedback-lto-plugin)
34969 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
34970 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
34971 clean-stageautofeedback-lto-plugin:
34972 @if [ $(current_stage) = stageautofeedback ]; then \
34973 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
34974 else \
34975 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
34976 $(MAKE) stageautofeedback-start; \
34977 fi; \
34978 cd $(HOST_SUBDIR)/lto-plugin && \
34979 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
34980 @endif lto-plugin-bootstrap
34986 .PHONY: check-lto-plugin maybe-check-lto-plugin
34987 maybe-check-lto-plugin:
34988 @if lto-plugin
34989 maybe-check-lto-plugin: check-lto-plugin
34991 check-lto-plugin:
34992 @: $(MAKE); $(unstage)
34993 @r=`${PWD_COMMAND}`; export r; \
34994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34995 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
34996 (cd $(HOST_SUBDIR)/lto-plugin && \
34997 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
34999 @endif lto-plugin
35001 .PHONY: install-lto-plugin maybe-install-lto-plugin
35002 maybe-install-lto-plugin:
35003 @if lto-plugin
35004 maybe-install-lto-plugin: install-lto-plugin
35006 install-lto-plugin: installdirs
35007 @: $(MAKE); $(unstage)
35008 @r=`${PWD_COMMAND}`; export r; \
35009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35010 $(HOST_EXPORTS) \
35011 (cd $(HOST_SUBDIR)/lto-plugin && \
35012 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
35014 @endif lto-plugin
35016 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
35017 maybe-install-strip-lto-plugin:
35018 @if lto-plugin
35019 maybe-install-strip-lto-plugin: install-strip-lto-plugin
35021 install-strip-lto-plugin: installdirs
35022 @: $(MAKE); $(unstage)
35023 @r=`${PWD_COMMAND}`; export r; \
35024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35025 $(HOST_EXPORTS) \
35026 (cd $(HOST_SUBDIR)/lto-plugin && \
35027 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
35029 @endif lto-plugin
35031 # Other targets (info, dvi, pdf, etc.)
35033 .PHONY: maybe-info-lto-plugin info-lto-plugin
35034 maybe-info-lto-plugin:
35035 @if lto-plugin
35036 maybe-info-lto-plugin: info-lto-plugin
35038 info-lto-plugin: \
35039 configure-lto-plugin
35040 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35041 r=`${PWD_COMMAND}`; export r; \
35042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35043 $(HOST_EXPORTS) \
35044 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35046 done; \
35047 echo "Doing info in lto-plugin"; \
35048 (cd $(HOST_SUBDIR)/lto-plugin && \
35049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35051 "RANLIB=$${RANLIB}" \
35052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35053 info) \
35054 || exit 1
35056 @endif lto-plugin
35058 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
35059 maybe-dvi-lto-plugin:
35060 @if lto-plugin
35061 maybe-dvi-lto-plugin: dvi-lto-plugin
35063 dvi-lto-plugin: \
35064 configure-lto-plugin
35065 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35066 r=`${PWD_COMMAND}`; export r; \
35067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35068 $(HOST_EXPORTS) \
35069 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35071 done; \
35072 echo "Doing dvi in lto-plugin"; \
35073 (cd $(HOST_SUBDIR)/lto-plugin && \
35074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35076 "RANLIB=$${RANLIB}" \
35077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35078 dvi) \
35079 || exit 1
35081 @endif lto-plugin
35083 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
35084 maybe-pdf-lto-plugin:
35085 @if lto-plugin
35086 maybe-pdf-lto-plugin: pdf-lto-plugin
35088 pdf-lto-plugin: \
35089 configure-lto-plugin
35090 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35091 r=`${PWD_COMMAND}`; export r; \
35092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35093 $(HOST_EXPORTS) \
35094 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35096 done; \
35097 echo "Doing pdf in lto-plugin"; \
35098 (cd $(HOST_SUBDIR)/lto-plugin && \
35099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35101 "RANLIB=$${RANLIB}" \
35102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35103 pdf) \
35104 || exit 1
35106 @endif lto-plugin
35108 .PHONY: maybe-html-lto-plugin html-lto-plugin
35109 maybe-html-lto-plugin:
35110 @if lto-plugin
35111 maybe-html-lto-plugin: html-lto-plugin
35113 html-lto-plugin: \
35114 configure-lto-plugin
35115 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35116 r=`${PWD_COMMAND}`; export r; \
35117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35118 $(HOST_EXPORTS) \
35119 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35121 done; \
35122 echo "Doing html in lto-plugin"; \
35123 (cd $(HOST_SUBDIR)/lto-plugin && \
35124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35126 "RANLIB=$${RANLIB}" \
35127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35128 html) \
35129 || exit 1
35131 @endif lto-plugin
35133 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
35134 maybe-TAGS-lto-plugin:
35135 @if lto-plugin
35136 maybe-TAGS-lto-plugin: TAGS-lto-plugin
35138 TAGS-lto-plugin: \
35139 configure-lto-plugin
35140 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35141 r=`${PWD_COMMAND}`; export r; \
35142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35143 $(HOST_EXPORTS) \
35144 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35146 done; \
35147 echo "Doing TAGS in lto-plugin"; \
35148 (cd $(HOST_SUBDIR)/lto-plugin && \
35149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35151 "RANLIB=$${RANLIB}" \
35152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35153 TAGS) \
35154 || exit 1
35156 @endif lto-plugin
35158 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
35159 maybe-install-info-lto-plugin:
35160 @if lto-plugin
35161 maybe-install-info-lto-plugin: install-info-lto-plugin
35163 install-info-lto-plugin: \
35164 configure-lto-plugin \
35165 info-lto-plugin
35166 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35167 r=`${PWD_COMMAND}`; export r; \
35168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35169 $(HOST_EXPORTS) \
35170 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35172 done; \
35173 echo "Doing install-info in lto-plugin"; \
35174 (cd $(HOST_SUBDIR)/lto-plugin && \
35175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35177 "RANLIB=$${RANLIB}" \
35178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35179 install-info) \
35180 || exit 1
35182 @endif lto-plugin
35184 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
35185 maybe-install-pdf-lto-plugin:
35186 @if lto-plugin
35187 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
35189 install-pdf-lto-plugin: \
35190 configure-lto-plugin \
35191 pdf-lto-plugin
35192 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35193 r=`${PWD_COMMAND}`; export r; \
35194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35195 $(HOST_EXPORTS) \
35196 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35198 done; \
35199 echo "Doing install-pdf in lto-plugin"; \
35200 (cd $(HOST_SUBDIR)/lto-plugin && \
35201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35203 "RANLIB=$${RANLIB}" \
35204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35205 install-pdf) \
35206 || exit 1
35208 @endif lto-plugin
35210 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
35211 maybe-install-html-lto-plugin:
35212 @if lto-plugin
35213 maybe-install-html-lto-plugin: install-html-lto-plugin
35215 install-html-lto-plugin: \
35216 configure-lto-plugin \
35217 html-lto-plugin
35218 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35219 r=`${PWD_COMMAND}`; export r; \
35220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35221 $(HOST_EXPORTS) \
35222 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35224 done; \
35225 echo "Doing install-html in lto-plugin"; \
35226 (cd $(HOST_SUBDIR)/lto-plugin && \
35227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35229 "RANLIB=$${RANLIB}" \
35230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35231 install-html) \
35232 || exit 1
35234 @endif lto-plugin
35236 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
35237 maybe-installcheck-lto-plugin:
35238 @if lto-plugin
35239 maybe-installcheck-lto-plugin: installcheck-lto-plugin
35241 installcheck-lto-plugin: \
35242 configure-lto-plugin
35243 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35244 r=`${PWD_COMMAND}`; export r; \
35245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35246 $(HOST_EXPORTS) \
35247 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35249 done; \
35250 echo "Doing installcheck in lto-plugin"; \
35251 (cd $(HOST_SUBDIR)/lto-plugin && \
35252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35254 "RANLIB=$${RANLIB}" \
35255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35256 installcheck) \
35257 || exit 1
35259 @endif lto-plugin
35261 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
35262 maybe-mostlyclean-lto-plugin:
35263 @if lto-plugin
35264 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
35266 mostlyclean-lto-plugin:
35267 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35268 r=`${PWD_COMMAND}`; export r; \
35269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35270 $(HOST_EXPORTS) \
35271 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35273 done; \
35274 echo "Doing mostlyclean in lto-plugin"; \
35275 (cd $(HOST_SUBDIR)/lto-plugin && \
35276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35278 "RANLIB=$${RANLIB}" \
35279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35280 mostlyclean) \
35281 || exit 1
35283 @endif lto-plugin
35285 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
35286 maybe-clean-lto-plugin:
35287 @if lto-plugin
35288 maybe-clean-lto-plugin: clean-lto-plugin
35290 clean-lto-plugin:
35291 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35292 r=`${PWD_COMMAND}`; export r; \
35293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35294 $(HOST_EXPORTS) \
35295 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35297 done; \
35298 echo "Doing clean in lto-plugin"; \
35299 (cd $(HOST_SUBDIR)/lto-plugin && \
35300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35302 "RANLIB=$${RANLIB}" \
35303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35304 clean) \
35305 || exit 1
35307 @endif lto-plugin
35309 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
35310 maybe-distclean-lto-plugin:
35311 @if lto-plugin
35312 maybe-distclean-lto-plugin: distclean-lto-plugin
35314 distclean-lto-plugin:
35315 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35316 r=`${PWD_COMMAND}`; export r; \
35317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35318 $(HOST_EXPORTS) \
35319 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35321 done; \
35322 echo "Doing distclean in lto-plugin"; \
35323 (cd $(HOST_SUBDIR)/lto-plugin && \
35324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35326 "RANLIB=$${RANLIB}" \
35327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35328 distclean) \
35329 || exit 1
35331 @endif lto-plugin
35333 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
35334 maybe-maintainer-clean-lto-plugin:
35335 @if lto-plugin
35336 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
35338 maintainer-clean-lto-plugin:
35339 @[ -f ./lto-plugin/Makefile ] || exit 0; \
35340 r=`${PWD_COMMAND}`; export r; \
35341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35342 $(HOST_EXPORTS) \
35343 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
35344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35345 done; \
35346 echo "Doing maintainer-clean in lto-plugin"; \
35347 (cd $(HOST_SUBDIR)/lto-plugin && \
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}" \
35352 maintainer-clean) \
35353 || exit 1
35355 @endif lto-plugin
35359 .PHONY: configure-libcc1 maybe-configure-libcc1
35360 maybe-configure-libcc1:
35361 @if gcc-bootstrap
35362 configure-libcc1: stage_current
35363 @endif gcc-bootstrap
35364 @if libcc1
35365 maybe-configure-libcc1: configure-libcc1
35366 configure-libcc1:
35367 @: $(MAKE); $(unstage)
35368 @r=`${PWD_COMMAND}`; export r; \
35369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35370 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
35371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
35372 $(HOST_EXPORTS) \
35373 echo Configuring in $(HOST_SUBDIR)/libcc1; \
35374 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
35375 case $(srcdir) in \
35376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35377 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
35378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35379 esac; \
35380 module_srcdir=libcc1; \
35381 $(SHELL) \
35382 $$s/$$module_srcdir/configure \
35383 --srcdir=$${topdir}/$$module_srcdir \
35384 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35385 --target=${target_alias} --enable-shared \
35386 || exit 1
35387 @endif libcc1
35393 .PHONY: all-libcc1 maybe-all-libcc1
35394 maybe-all-libcc1:
35395 @if gcc-bootstrap
35396 all-libcc1: stage_current
35397 @endif gcc-bootstrap
35398 @if libcc1
35399 TARGET-libcc1=all
35400 maybe-all-libcc1: all-libcc1
35401 all-libcc1: configure-libcc1
35402 @: $(MAKE); $(unstage)
35403 @r=`${PWD_COMMAND}`; export r; \
35404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35405 $(HOST_EXPORTS) \
35406 (cd $(HOST_SUBDIR)/libcc1 && \
35407 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35408 $(TARGET-libcc1))
35409 @endif libcc1
35414 .PHONY: check-libcc1 maybe-check-libcc1
35415 maybe-check-libcc1:
35416 @if libcc1
35417 maybe-check-libcc1: check-libcc1
35419 check-libcc1:
35420 @: $(MAKE); $(unstage)
35421 @r=`${PWD_COMMAND}`; export r; \
35422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35423 $(HOST_EXPORTS) \
35424 (cd $(HOST_SUBDIR)/libcc1 && \
35425 $(MAKE) $(FLAGS_TO_PASS) check)
35427 @endif libcc1
35429 .PHONY: install-libcc1 maybe-install-libcc1
35430 maybe-install-libcc1:
35431 @if libcc1
35432 maybe-install-libcc1: install-libcc1
35434 install-libcc1: installdirs
35435 @: $(MAKE); $(unstage)
35436 @r=`${PWD_COMMAND}`; export r; \
35437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35438 $(HOST_EXPORTS) \
35439 (cd $(HOST_SUBDIR)/libcc1 && \
35440 $(MAKE) $(FLAGS_TO_PASS) install)
35442 @endif libcc1
35444 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
35445 maybe-install-strip-libcc1:
35446 @if libcc1
35447 maybe-install-strip-libcc1: install-strip-libcc1
35449 install-strip-libcc1: installdirs
35450 @: $(MAKE); $(unstage)
35451 @r=`${PWD_COMMAND}`; export r; \
35452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35453 $(HOST_EXPORTS) \
35454 (cd $(HOST_SUBDIR)/libcc1 && \
35455 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35457 @endif libcc1
35459 # Other targets (info, dvi, pdf, etc.)
35461 .PHONY: maybe-info-libcc1 info-libcc1
35462 maybe-info-libcc1:
35463 @if libcc1
35464 maybe-info-libcc1: info-libcc1
35466 info-libcc1: \
35467 configure-libcc1
35468 @: $(MAKE); $(unstage)
35469 @[ -f ./libcc1/Makefile ] || exit 0; \
35470 r=`${PWD_COMMAND}`; export r; \
35471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35472 $(HOST_EXPORTS) \
35473 for flag in $(EXTRA_HOST_FLAGS) ; do \
35474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35475 done; \
35476 echo "Doing info in libcc1"; \
35477 (cd $(HOST_SUBDIR)/libcc1 && \
35478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35480 "RANLIB=$${RANLIB}" \
35481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35482 info) \
35483 || exit 1
35485 @endif libcc1
35487 .PHONY: maybe-dvi-libcc1 dvi-libcc1
35488 maybe-dvi-libcc1:
35489 @if libcc1
35490 maybe-dvi-libcc1: dvi-libcc1
35492 dvi-libcc1: \
35493 configure-libcc1
35494 @: $(MAKE); $(unstage)
35495 @[ -f ./libcc1/Makefile ] || exit 0; \
35496 r=`${PWD_COMMAND}`; export r; \
35497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35498 $(HOST_EXPORTS) \
35499 for flag in $(EXTRA_HOST_FLAGS) ; do \
35500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35501 done; \
35502 echo "Doing dvi in libcc1"; \
35503 (cd $(HOST_SUBDIR)/libcc1 && \
35504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35506 "RANLIB=$${RANLIB}" \
35507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35508 dvi) \
35509 || exit 1
35511 @endif libcc1
35513 .PHONY: maybe-pdf-libcc1 pdf-libcc1
35514 maybe-pdf-libcc1:
35515 @if libcc1
35516 maybe-pdf-libcc1: pdf-libcc1
35518 pdf-libcc1: \
35519 configure-libcc1
35520 @: $(MAKE); $(unstage)
35521 @[ -f ./libcc1/Makefile ] || exit 0; \
35522 r=`${PWD_COMMAND}`; export r; \
35523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35524 $(HOST_EXPORTS) \
35525 for flag in $(EXTRA_HOST_FLAGS) ; do \
35526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35527 done; \
35528 echo "Doing pdf in libcc1"; \
35529 (cd $(HOST_SUBDIR)/libcc1 && \
35530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35532 "RANLIB=$${RANLIB}" \
35533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35534 pdf) \
35535 || exit 1
35537 @endif libcc1
35539 .PHONY: maybe-html-libcc1 html-libcc1
35540 maybe-html-libcc1:
35541 @if libcc1
35542 maybe-html-libcc1: html-libcc1
35544 html-libcc1: \
35545 configure-libcc1
35546 @: $(MAKE); $(unstage)
35547 @[ -f ./libcc1/Makefile ] || exit 0; \
35548 r=`${PWD_COMMAND}`; export r; \
35549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35550 $(HOST_EXPORTS) \
35551 for flag in $(EXTRA_HOST_FLAGS) ; do \
35552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35553 done; \
35554 echo "Doing html in libcc1"; \
35555 (cd $(HOST_SUBDIR)/libcc1 && \
35556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35558 "RANLIB=$${RANLIB}" \
35559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35560 html) \
35561 || exit 1
35563 @endif libcc1
35565 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
35566 maybe-TAGS-libcc1:
35567 @if libcc1
35568 maybe-TAGS-libcc1: TAGS-libcc1
35570 TAGS-libcc1: \
35571 configure-libcc1
35572 @: $(MAKE); $(unstage)
35573 @[ -f ./libcc1/Makefile ] || exit 0; \
35574 r=`${PWD_COMMAND}`; export r; \
35575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35576 $(HOST_EXPORTS) \
35577 for flag in $(EXTRA_HOST_FLAGS) ; do \
35578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35579 done; \
35580 echo "Doing TAGS in libcc1"; \
35581 (cd $(HOST_SUBDIR)/libcc1 && \
35582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35584 "RANLIB=$${RANLIB}" \
35585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35586 TAGS) \
35587 || exit 1
35589 @endif libcc1
35591 .PHONY: maybe-install-info-libcc1 install-info-libcc1
35592 maybe-install-info-libcc1:
35593 @if libcc1
35594 maybe-install-info-libcc1: install-info-libcc1
35596 install-info-libcc1: \
35597 configure-libcc1 \
35598 info-libcc1
35599 @: $(MAKE); $(unstage)
35600 @[ -f ./libcc1/Makefile ] || exit 0; \
35601 r=`${PWD_COMMAND}`; export r; \
35602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35603 $(HOST_EXPORTS) \
35604 for flag in $(EXTRA_HOST_FLAGS) ; do \
35605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35606 done; \
35607 echo "Doing install-info in libcc1"; \
35608 (cd $(HOST_SUBDIR)/libcc1 && \
35609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35611 "RANLIB=$${RANLIB}" \
35612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35613 install-info) \
35614 || exit 1
35616 @endif libcc1
35618 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
35619 maybe-install-pdf-libcc1:
35620 @if libcc1
35621 maybe-install-pdf-libcc1: install-pdf-libcc1
35623 install-pdf-libcc1: \
35624 configure-libcc1 \
35625 pdf-libcc1
35626 @: $(MAKE); $(unstage)
35627 @[ -f ./libcc1/Makefile ] || exit 0; \
35628 r=`${PWD_COMMAND}`; export r; \
35629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35630 $(HOST_EXPORTS) \
35631 for flag in $(EXTRA_HOST_FLAGS) ; do \
35632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35633 done; \
35634 echo "Doing install-pdf in libcc1"; \
35635 (cd $(HOST_SUBDIR)/libcc1 && \
35636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35638 "RANLIB=$${RANLIB}" \
35639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35640 install-pdf) \
35641 || exit 1
35643 @endif libcc1
35645 .PHONY: maybe-install-html-libcc1 install-html-libcc1
35646 maybe-install-html-libcc1:
35647 @if libcc1
35648 maybe-install-html-libcc1: install-html-libcc1
35650 install-html-libcc1: \
35651 configure-libcc1 \
35652 html-libcc1
35653 @: $(MAKE); $(unstage)
35654 @[ -f ./libcc1/Makefile ] || exit 0; \
35655 r=`${PWD_COMMAND}`; export r; \
35656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35657 $(HOST_EXPORTS) \
35658 for flag in $(EXTRA_HOST_FLAGS) ; do \
35659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35660 done; \
35661 echo "Doing install-html in libcc1"; \
35662 (cd $(HOST_SUBDIR)/libcc1 && \
35663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35665 "RANLIB=$${RANLIB}" \
35666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35667 install-html) \
35668 || exit 1
35670 @endif libcc1
35672 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
35673 maybe-installcheck-libcc1:
35674 @if libcc1
35675 maybe-installcheck-libcc1: installcheck-libcc1
35677 installcheck-libcc1: \
35678 configure-libcc1
35679 @: $(MAKE); $(unstage)
35680 @[ -f ./libcc1/Makefile ] || exit 0; \
35681 r=`${PWD_COMMAND}`; export r; \
35682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35683 $(HOST_EXPORTS) \
35684 for flag in $(EXTRA_HOST_FLAGS) ; do \
35685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35686 done; \
35687 echo "Doing installcheck in libcc1"; \
35688 (cd $(HOST_SUBDIR)/libcc1 && \
35689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35691 "RANLIB=$${RANLIB}" \
35692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35693 installcheck) \
35694 || exit 1
35696 @endif libcc1
35698 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
35699 maybe-mostlyclean-libcc1:
35700 @if libcc1
35701 maybe-mostlyclean-libcc1: mostlyclean-libcc1
35703 mostlyclean-libcc1:
35704 @: $(MAKE); $(unstage)
35705 @[ -f ./libcc1/Makefile ] || exit 0; \
35706 r=`${PWD_COMMAND}`; export r; \
35707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35708 $(HOST_EXPORTS) \
35709 for flag in $(EXTRA_HOST_FLAGS) ; do \
35710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35711 done; \
35712 echo "Doing mostlyclean in libcc1"; \
35713 (cd $(HOST_SUBDIR)/libcc1 && \
35714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35716 "RANLIB=$${RANLIB}" \
35717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35718 mostlyclean) \
35719 || exit 1
35721 @endif libcc1
35723 .PHONY: maybe-clean-libcc1 clean-libcc1
35724 maybe-clean-libcc1:
35725 @if libcc1
35726 maybe-clean-libcc1: clean-libcc1
35728 clean-libcc1:
35729 @: $(MAKE); $(unstage)
35730 @[ -f ./libcc1/Makefile ] || exit 0; \
35731 r=`${PWD_COMMAND}`; export r; \
35732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35733 $(HOST_EXPORTS) \
35734 for flag in $(EXTRA_HOST_FLAGS) ; do \
35735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35736 done; \
35737 echo "Doing clean in libcc1"; \
35738 (cd $(HOST_SUBDIR)/libcc1 && \
35739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35741 "RANLIB=$${RANLIB}" \
35742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35743 clean) \
35744 || exit 1
35746 @endif libcc1
35748 .PHONY: maybe-distclean-libcc1 distclean-libcc1
35749 maybe-distclean-libcc1:
35750 @if libcc1
35751 maybe-distclean-libcc1: distclean-libcc1
35753 distclean-libcc1:
35754 @: $(MAKE); $(unstage)
35755 @[ -f ./libcc1/Makefile ] || exit 0; \
35756 r=`${PWD_COMMAND}`; export r; \
35757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35758 $(HOST_EXPORTS) \
35759 for flag in $(EXTRA_HOST_FLAGS) ; do \
35760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35761 done; \
35762 echo "Doing distclean in libcc1"; \
35763 (cd $(HOST_SUBDIR)/libcc1 && \
35764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35766 "RANLIB=$${RANLIB}" \
35767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35768 distclean) \
35769 || exit 1
35771 @endif libcc1
35773 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
35774 maybe-maintainer-clean-libcc1:
35775 @if libcc1
35776 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
35778 maintainer-clean-libcc1:
35779 @: $(MAKE); $(unstage)
35780 @[ -f ./libcc1/Makefile ] || exit 0; \
35781 r=`${PWD_COMMAND}`; export r; \
35782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35783 $(HOST_EXPORTS) \
35784 for flag in $(EXTRA_HOST_FLAGS) ; do \
35785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35786 done; \
35787 echo "Doing maintainer-clean in libcc1"; \
35788 (cd $(HOST_SUBDIR)/libcc1 && \
35789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35791 "RANLIB=$${RANLIB}" \
35792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35793 maintainer-clean) \
35794 || exit 1
35796 @endif libcc1
35800 .PHONY: configure-gotools maybe-configure-gotools
35801 maybe-configure-gotools:
35802 @if gcc-bootstrap
35803 configure-gotools: stage_current
35804 @endif gcc-bootstrap
35805 @if gotools
35806 maybe-configure-gotools: configure-gotools
35807 configure-gotools:
35808 @: $(MAKE); $(unstage)
35809 @r=`${PWD_COMMAND}`; export r; \
35810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35811 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
35812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
35813 $(HOST_EXPORTS) \
35814 echo Configuring in $(HOST_SUBDIR)/gotools; \
35815 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
35816 case $(srcdir) in \
35817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35818 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
35819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35820 esac; \
35821 module_srcdir=gotools; \
35822 $(SHELL) \
35823 $$s/$$module_srcdir/configure \
35824 --srcdir=$${topdir}/$$module_srcdir \
35825 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35826 --target=${target_alias} \
35827 || exit 1
35828 @endif gotools
35834 .PHONY: all-gotools maybe-all-gotools
35835 maybe-all-gotools:
35836 @if gcc-bootstrap
35837 all-gotools: stage_current
35838 @endif gcc-bootstrap
35839 @if gotools
35840 TARGET-gotools=all
35841 maybe-all-gotools: all-gotools
35842 all-gotools: configure-gotools
35843 @: $(MAKE); $(unstage)
35844 @r=`${PWD_COMMAND}`; export r; \
35845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35846 $(HOST_EXPORTS) \
35847 (cd $(HOST_SUBDIR)/gotools && \
35848 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35849 $(TARGET-gotools))
35850 @endif gotools
35855 .PHONY: check-gotools maybe-check-gotools
35856 maybe-check-gotools:
35857 @if gotools
35858 maybe-check-gotools: check-gotools
35860 check-gotools:
35861 @: $(MAKE); $(unstage)
35862 @r=`${PWD_COMMAND}`; export r; \
35863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35864 $(HOST_EXPORTS) \
35865 (cd $(HOST_SUBDIR)/gotools && \
35866 $(MAKE) $(FLAGS_TO_PASS) check)
35868 @endif gotools
35870 .PHONY: install-gotools maybe-install-gotools
35871 maybe-install-gotools:
35872 @if gotools
35873 maybe-install-gotools: install-gotools
35875 install-gotools: installdirs
35876 @: $(MAKE); $(unstage)
35877 @r=`${PWD_COMMAND}`; export r; \
35878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35879 $(HOST_EXPORTS) \
35880 (cd $(HOST_SUBDIR)/gotools && \
35881 $(MAKE) $(FLAGS_TO_PASS) install)
35883 @endif gotools
35885 .PHONY: install-strip-gotools maybe-install-strip-gotools
35886 maybe-install-strip-gotools:
35887 @if gotools
35888 maybe-install-strip-gotools: install-strip-gotools
35890 install-strip-gotools: installdirs
35891 @: $(MAKE); $(unstage)
35892 @r=`${PWD_COMMAND}`; export r; \
35893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35894 $(HOST_EXPORTS) \
35895 (cd $(HOST_SUBDIR)/gotools && \
35896 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35898 @endif gotools
35900 # Other targets (info, dvi, pdf, etc.)
35902 .PHONY: maybe-info-gotools info-gotools
35903 maybe-info-gotools:
35904 @if gotools
35905 maybe-info-gotools: info-gotools
35907 info-gotools: \
35908 configure-gotools
35909 @: $(MAKE); $(unstage)
35910 @[ -f ./gotools/Makefile ] || exit 0; \
35911 r=`${PWD_COMMAND}`; export r; \
35912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35913 $(HOST_EXPORTS) \
35914 for flag in $(EXTRA_HOST_FLAGS) ; do \
35915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35916 done; \
35917 echo "Doing info in gotools"; \
35918 (cd $(HOST_SUBDIR)/gotools && \
35919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35921 "RANLIB=$${RANLIB}" \
35922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35923 info) \
35924 || exit 1
35926 @endif gotools
35928 .PHONY: maybe-dvi-gotools dvi-gotools
35929 maybe-dvi-gotools:
35930 @if gotools
35931 maybe-dvi-gotools: dvi-gotools
35933 dvi-gotools: \
35934 configure-gotools
35935 @: $(MAKE); $(unstage)
35936 @[ -f ./gotools/Makefile ] || exit 0; \
35937 r=`${PWD_COMMAND}`; export r; \
35938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35939 $(HOST_EXPORTS) \
35940 for flag in $(EXTRA_HOST_FLAGS) ; do \
35941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35942 done; \
35943 echo "Doing dvi in gotools"; \
35944 (cd $(HOST_SUBDIR)/gotools && \
35945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35947 "RANLIB=$${RANLIB}" \
35948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35949 dvi) \
35950 || exit 1
35952 @endif gotools
35954 .PHONY: maybe-pdf-gotools pdf-gotools
35955 maybe-pdf-gotools:
35956 @if gotools
35957 maybe-pdf-gotools: pdf-gotools
35959 pdf-gotools: \
35960 configure-gotools
35961 @: $(MAKE); $(unstage)
35962 @[ -f ./gotools/Makefile ] || exit 0; \
35963 r=`${PWD_COMMAND}`; export r; \
35964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35965 $(HOST_EXPORTS) \
35966 for flag in $(EXTRA_HOST_FLAGS) ; do \
35967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35968 done; \
35969 echo "Doing pdf in gotools"; \
35970 (cd $(HOST_SUBDIR)/gotools && \
35971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35973 "RANLIB=$${RANLIB}" \
35974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35975 pdf) \
35976 || exit 1
35978 @endif gotools
35980 .PHONY: maybe-html-gotools html-gotools
35981 maybe-html-gotools:
35982 @if gotools
35983 maybe-html-gotools: html-gotools
35985 html-gotools: \
35986 configure-gotools
35987 @: $(MAKE); $(unstage)
35988 @[ -f ./gotools/Makefile ] || exit 0; \
35989 r=`${PWD_COMMAND}`; export r; \
35990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35991 $(HOST_EXPORTS) \
35992 for flag in $(EXTRA_HOST_FLAGS) ; do \
35993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35994 done; \
35995 echo "Doing html in gotools"; \
35996 (cd $(HOST_SUBDIR)/gotools && \
35997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35999 "RANLIB=$${RANLIB}" \
36000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36001 html) \
36002 || exit 1
36004 @endif gotools
36006 .PHONY: maybe-TAGS-gotools TAGS-gotools
36007 maybe-TAGS-gotools:
36008 @if gotools
36009 maybe-TAGS-gotools: TAGS-gotools
36011 TAGS-gotools: \
36012 configure-gotools
36013 @: $(MAKE); $(unstage)
36014 @[ -f ./gotools/Makefile ] || exit 0; \
36015 r=`${PWD_COMMAND}`; export r; \
36016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36017 $(HOST_EXPORTS) \
36018 for flag in $(EXTRA_HOST_FLAGS) ; do \
36019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36020 done; \
36021 echo "Doing TAGS in gotools"; \
36022 (cd $(HOST_SUBDIR)/gotools && \
36023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36025 "RANLIB=$${RANLIB}" \
36026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36027 TAGS) \
36028 || exit 1
36030 @endif gotools
36032 .PHONY: maybe-install-info-gotools install-info-gotools
36033 maybe-install-info-gotools:
36034 @if gotools
36035 maybe-install-info-gotools: install-info-gotools
36037 install-info-gotools: \
36038 configure-gotools \
36039 info-gotools
36040 @: $(MAKE); $(unstage)
36041 @[ -f ./gotools/Makefile ] || exit 0; \
36042 r=`${PWD_COMMAND}`; export r; \
36043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36044 $(HOST_EXPORTS) \
36045 for flag in $(EXTRA_HOST_FLAGS) ; do \
36046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36047 done; \
36048 echo "Doing install-info in gotools"; \
36049 (cd $(HOST_SUBDIR)/gotools && \
36050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36052 "RANLIB=$${RANLIB}" \
36053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36054 install-info) \
36055 || exit 1
36057 @endif gotools
36059 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
36060 maybe-install-pdf-gotools:
36061 @if gotools
36062 maybe-install-pdf-gotools: install-pdf-gotools
36064 install-pdf-gotools: \
36065 configure-gotools \
36066 pdf-gotools
36067 @: $(MAKE); $(unstage)
36068 @[ -f ./gotools/Makefile ] || exit 0; \
36069 r=`${PWD_COMMAND}`; export r; \
36070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36071 $(HOST_EXPORTS) \
36072 for flag in $(EXTRA_HOST_FLAGS) ; do \
36073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36074 done; \
36075 echo "Doing install-pdf in gotools"; \
36076 (cd $(HOST_SUBDIR)/gotools && \
36077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36079 "RANLIB=$${RANLIB}" \
36080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36081 install-pdf) \
36082 || exit 1
36084 @endif gotools
36086 .PHONY: maybe-install-html-gotools install-html-gotools
36087 maybe-install-html-gotools:
36088 @if gotools
36089 maybe-install-html-gotools: install-html-gotools
36091 install-html-gotools: \
36092 configure-gotools \
36093 html-gotools
36094 @: $(MAKE); $(unstage)
36095 @[ -f ./gotools/Makefile ] || exit 0; \
36096 r=`${PWD_COMMAND}`; export r; \
36097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36098 $(HOST_EXPORTS) \
36099 for flag in $(EXTRA_HOST_FLAGS) ; do \
36100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36101 done; \
36102 echo "Doing install-html in gotools"; \
36103 (cd $(HOST_SUBDIR)/gotools && \
36104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36106 "RANLIB=$${RANLIB}" \
36107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36108 install-html) \
36109 || exit 1
36111 @endif gotools
36113 .PHONY: maybe-installcheck-gotools installcheck-gotools
36114 maybe-installcheck-gotools:
36115 @if gotools
36116 maybe-installcheck-gotools: installcheck-gotools
36118 installcheck-gotools: \
36119 configure-gotools
36120 @: $(MAKE); $(unstage)
36121 @[ -f ./gotools/Makefile ] || exit 0; \
36122 r=`${PWD_COMMAND}`; export r; \
36123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36124 $(HOST_EXPORTS) \
36125 for flag in $(EXTRA_HOST_FLAGS) ; do \
36126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36127 done; \
36128 echo "Doing installcheck in gotools"; \
36129 (cd $(HOST_SUBDIR)/gotools && \
36130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36132 "RANLIB=$${RANLIB}" \
36133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36134 installcheck) \
36135 || exit 1
36137 @endif gotools
36139 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
36140 maybe-mostlyclean-gotools:
36141 @if gotools
36142 maybe-mostlyclean-gotools: mostlyclean-gotools
36144 mostlyclean-gotools:
36145 @: $(MAKE); $(unstage)
36146 @[ -f ./gotools/Makefile ] || exit 0; \
36147 r=`${PWD_COMMAND}`; export r; \
36148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36149 $(HOST_EXPORTS) \
36150 for flag in $(EXTRA_HOST_FLAGS) ; do \
36151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36152 done; \
36153 echo "Doing mostlyclean in gotools"; \
36154 (cd $(HOST_SUBDIR)/gotools && \
36155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36157 "RANLIB=$${RANLIB}" \
36158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36159 mostlyclean) \
36160 || exit 1
36162 @endif gotools
36164 .PHONY: maybe-clean-gotools clean-gotools
36165 maybe-clean-gotools:
36166 @if gotools
36167 maybe-clean-gotools: clean-gotools
36169 clean-gotools:
36170 @: $(MAKE); $(unstage)
36171 @[ -f ./gotools/Makefile ] || exit 0; \
36172 r=`${PWD_COMMAND}`; export r; \
36173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36174 $(HOST_EXPORTS) \
36175 for flag in $(EXTRA_HOST_FLAGS) ; do \
36176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36177 done; \
36178 echo "Doing clean in gotools"; \
36179 (cd $(HOST_SUBDIR)/gotools && \
36180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36182 "RANLIB=$${RANLIB}" \
36183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36184 clean) \
36185 || exit 1
36187 @endif gotools
36189 .PHONY: maybe-distclean-gotools distclean-gotools
36190 maybe-distclean-gotools:
36191 @if gotools
36192 maybe-distclean-gotools: distclean-gotools
36194 distclean-gotools:
36195 @: $(MAKE); $(unstage)
36196 @[ -f ./gotools/Makefile ] || exit 0; \
36197 r=`${PWD_COMMAND}`; export r; \
36198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36199 $(HOST_EXPORTS) \
36200 for flag in $(EXTRA_HOST_FLAGS) ; do \
36201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36202 done; \
36203 echo "Doing distclean in gotools"; \
36204 (cd $(HOST_SUBDIR)/gotools && \
36205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36207 "RANLIB=$${RANLIB}" \
36208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36209 distclean) \
36210 || exit 1
36212 @endif gotools
36214 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
36215 maybe-maintainer-clean-gotools:
36216 @if gotools
36217 maybe-maintainer-clean-gotools: maintainer-clean-gotools
36219 maintainer-clean-gotools:
36220 @: $(MAKE); $(unstage)
36221 @[ -f ./gotools/Makefile ] || exit 0; \
36222 r=`${PWD_COMMAND}`; export r; \
36223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36224 $(HOST_EXPORTS) \
36225 for flag in $(EXTRA_HOST_FLAGS) ; do \
36226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36227 done; \
36228 echo "Doing maintainer-clean in gotools"; \
36229 (cd $(HOST_SUBDIR)/gotools && \
36230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36232 "RANLIB=$${RANLIB}" \
36233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36234 maintainer-clean) \
36235 || exit 1
36237 @endif gotools
36241 # ---------------------------------------
36242 # Modules which run on the target machine
36243 # ---------------------------------------
36248 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
36249 maybe-configure-target-libstdc++-v3:
36250 @if gcc-bootstrap
36251 configure-target-libstdc++-v3: stage_current
36252 @endif gcc-bootstrap
36253 @if target-libstdc++-v3
36254 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
36255 configure-target-libstdc++-v3:
36256 @r=`${PWD_COMMAND}`; export r; \
36257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36258 echo "Checking multilib configuration for libstdc++-v3..."; \
36259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36260 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36261 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36262 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36263 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36264 else \
36265 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36266 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36267 fi; \
36268 else \
36269 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36270 fi; \
36271 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36272 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36273 $(RAW_CXX_TARGET_EXPORTS) \
36274 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
36275 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
36276 case $(srcdir) in \
36277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36278 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36280 esac; \
36281 module_srcdir=libstdc++-v3; \
36282 rm -f no-such-file || : ; \
36283 CONFIG_SITE=no-such-file $(SHELL) \
36284 $$s/$$module_srcdir/configure \
36285 --srcdir=$${topdir}/$$module_srcdir \
36286 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36287 --target=${target_alias} \
36288 || exit 1
36289 @endif target-libstdc++-v3
36293 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
36294 maybe-configure-stage1-target-libstdc++-v3:
36295 @if target-libstdc++-v3-bootstrap
36296 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
36297 configure-stage1-target-libstdc++-v3:
36298 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36299 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36300 @r=`${PWD_COMMAND}`; export r; \
36301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36302 TFLAGS="$(STAGE1_TFLAGS)"; \
36303 echo "Checking multilib configuration for libstdc++-v3..."; \
36304 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36305 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36306 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36307 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36308 else \
36309 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36310 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36311 fi; \
36312 else \
36313 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36314 fi; \
36315 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36316 $(RAW_CXX_TARGET_EXPORTS) \
36317 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36318 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36319 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36320 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
36321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36322 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36323 case $(srcdir) in \
36324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36325 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36327 esac; \
36328 module_srcdir=libstdc++-v3; \
36329 $(SHELL) $$s/$$module_srcdir/configure \
36330 --srcdir=$${topdir}/$$module_srcdir \
36331 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36332 --target=${target_alias} \
36334 $(STAGE1_CONFIGURE_FLAGS)
36335 @endif target-libstdc++-v3-bootstrap
36337 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
36338 maybe-configure-stage2-target-libstdc++-v3:
36339 @if target-libstdc++-v3-bootstrap
36340 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
36341 configure-stage2-target-libstdc++-v3:
36342 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36343 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36344 @r=`${PWD_COMMAND}`; export r; \
36345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36346 TFLAGS="$(STAGE2_TFLAGS)"; \
36347 echo "Checking multilib configuration for libstdc++-v3..."; \
36348 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36349 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36350 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36351 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36352 else \
36353 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36354 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36355 fi; \
36356 else \
36357 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36358 fi; \
36359 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36360 $(RAW_CXX_TARGET_EXPORTS) \
36362 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36363 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36364 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36365 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
36366 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36367 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36368 case $(srcdir) in \
36369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36370 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36372 esac; \
36373 module_srcdir=libstdc++-v3; \
36374 $(SHELL) $$s/$$module_srcdir/configure \
36375 --srcdir=$${topdir}/$$module_srcdir \
36376 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36377 --target=${target_alias} \
36378 --with-build-libsubdir=$(HOST_SUBDIR) \
36379 $(STAGE2_CONFIGURE_FLAGS)
36380 @endif target-libstdc++-v3-bootstrap
36382 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
36383 maybe-configure-stage3-target-libstdc++-v3:
36384 @if target-libstdc++-v3-bootstrap
36385 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
36386 configure-stage3-target-libstdc++-v3:
36387 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36388 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36389 @r=`${PWD_COMMAND}`; export r; \
36390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36391 TFLAGS="$(STAGE3_TFLAGS)"; \
36392 echo "Checking multilib configuration for libstdc++-v3..."; \
36393 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36394 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36395 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36396 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36397 else \
36398 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36399 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36400 fi; \
36401 else \
36402 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36403 fi; \
36404 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36405 $(RAW_CXX_TARGET_EXPORTS) \
36407 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36408 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36409 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36410 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
36411 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36412 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36413 case $(srcdir) in \
36414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36415 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36417 esac; \
36418 module_srcdir=libstdc++-v3; \
36419 $(SHELL) $$s/$$module_srcdir/configure \
36420 --srcdir=$${topdir}/$$module_srcdir \
36421 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36422 --target=${target_alias} \
36423 --with-build-libsubdir=$(HOST_SUBDIR) \
36424 $(STAGE3_CONFIGURE_FLAGS)
36425 @endif target-libstdc++-v3-bootstrap
36427 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
36428 maybe-configure-stage4-target-libstdc++-v3:
36429 @if target-libstdc++-v3-bootstrap
36430 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
36431 configure-stage4-target-libstdc++-v3:
36432 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36433 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36434 @r=`${PWD_COMMAND}`; export r; \
36435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36436 TFLAGS="$(STAGE4_TFLAGS)"; \
36437 echo "Checking multilib configuration for libstdc++-v3..."; \
36438 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36439 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36440 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36441 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36442 else \
36443 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36444 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36445 fi; \
36446 else \
36447 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36448 fi; \
36449 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36450 $(RAW_CXX_TARGET_EXPORTS) \
36452 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36453 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36454 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36455 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
36456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36457 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36458 case $(srcdir) in \
36459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36460 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36462 esac; \
36463 module_srcdir=libstdc++-v3; \
36464 $(SHELL) $$s/$$module_srcdir/configure \
36465 --srcdir=$${topdir}/$$module_srcdir \
36466 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36467 --target=${target_alias} \
36468 --with-build-libsubdir=$(HOST_SUBDIR) \
36469 $(STAGE4_CONFIGURE_FLAGS)
36470 @endif target-libstdc++-v3-bootstrap
36472 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
36473 maybe-configure-stageprofile-target-libstdc++-v3:
36474 @if target-libstdc++-v3-bootstrap
36475 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
36476 configure-stageprofile-target-libstdc++-v3:
36477 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36478 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36479 @r=`${PWD_COMMAND}`; export r; \
36480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36481 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36482 echo "Checking multilib configuration for libstdc++-v3..."; \
36483 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36484 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36485 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36486 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36487 else \
36488 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36489 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36490 fi; \
36491 else \
36492 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36493 fi; \
36494 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36495 $(RAW_CXX_TARGET_EXPORTS) \
36497 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36498 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36499 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36500 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
36501 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36502 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36503 case $(srcdir) in \
36504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36505 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36507 esac; \
36508 module_srcdir=libstdc++-v3; \
36509 $(SHELL) $$s/$$module_srcdir/configure \
36510 --srcdir=$${topdir}/$$module_srcdir \
36511 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36512 --target=${target_alias} \
36513 --with-build-libsubdir=$(HOST_SUBDIR) \
36514 $(STAGEprofile_CONFIGURE_FLAGS)
36515 @endif target-libstdc++-v3-bootstrap
36517 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
36518 maybe-configure-stagefeedback-target-libstdc++-v3:
36519 @if target-libstdc++-v3-bootstrap
36520 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
36521 configure-stagefeedback-target-libstdc++-v3:
36522 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36523 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36524 @r=`${PWD_COMMAND}`; export r; \
36525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36526 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36527 echo "Checking multilib configuration for libstdc++-v3..."; \
36528 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36529 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36530 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36531 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36532 else \
36533 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36534 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36535 fi; \
36536 else \
36537 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36538 fi; \
36539 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36540 $(RAW_CXX_TARGET_EXPORTS) \
36542 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36543 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36544 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36545 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
36546 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36547 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36548 case $(srcdir) in \
36549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36550 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36552 esac; \
36553 module_srcdir=libstdc++-v3; \
36554 $(SHELL) $$s/$$module_srcdir/configure \
36555 --srcdir=$${topdir}/$$module_srcdir \
36556 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36557 --target=${target_alias} \
36558 --with-build-libsubdir=$(HOST_SUBDIR) \
36559 $(STAGEfeedback_CONFIGURE_FLAGS)
36560 @endif target-libstdc++-v3-bootstrap
36562 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
36563 maybe-configure-stageautoprofile-target-libstdc++-v3:
36564 @if target-libstdc++-v3-bootstrap
36565 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
36566 configure-stageautoprofile-target-libstdc++-v3:
36567 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36568 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36569 @r=`${PWD_COMMAND}`; export r; \
36570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36571 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36572 echo "Checking multilib configuration for libstdc++-v3..."; \
36573 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36574 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36575 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36576 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36577 else \
36578 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36579 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36580 fi; \
36581 else \
36582 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36583 fi; \
36584 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36585 $(RAW_CXX_TARGET_EXPORTS) \
36587 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36588 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36589 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36590 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
36591 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36592 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36593 case $(srcdir) in \
36594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36595 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36597 esac; \
36598 module_srcdir=libstdc++-v3; \
36599 $(SHELL) $$s/$$module_srcdir/configure \
36600 --srcdir=$${topdir}/$$module_srcdir \
36601 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36602 --target=${target_alias} \
36603 --with-build-libsubdir=$(HOST_SUBDIR) \
36604 $(STAGEautoprofile_CONFIGURE_FLAGS)
36605 @endif target-libstdc++-v3-bootstrap
36607 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
36608 maybe-configure-stageautofeedback-target-libstdc++-v3:
36609 @if target-libstdc++-v3-bootstrap
36610 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
36611 configure-stageautofeedback-target-libstdc++-v3:
36612 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36613 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
36614 @r=`${PWD_COMMAND}`; export r; \
36615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36616 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36617 echo "Checking multilib configuration for libstdc++-v3..."; \
36618 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
36619 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36620 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
36621 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
36622 else \
36623 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
36624 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36625 fi; \
36626 else \
36627 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
36628 fi; \
36629 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
36630 $(RAW_CXX_TARGET_EXPORTS) \
36632 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36633 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36634 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36635 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
36636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
36637 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
36638 case $(srcdir) in \
36639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36640 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
36641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36642 esac; \
36643 module_srcdir=libstdc++-v3; \
36644 $(SHELL) $$s/$$module_srcdir/configure \
36645 --srcdir=$${topdir}/$$module_srcdir \
36646 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36647 --target=${target_alias} \
36648 --with-build-libsubdir=$(HOST_SUBDIR) \
36649 $(STAGEautofeedback_CONFIGURE_FLAGS)
36650 @endif target-libstdc++-v3-bootstrap
36656 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
36657 maybe-all-target-libstdc++-v3:
36658 @if gcc-bootstrap
36659 all-target-libstdc++-v3: stage_current
36660 @endif gcc-bootstrap
36661 @if target-libstdc++-v3
36662 TARGET-target-libstdc++-v3=all
36663 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
36664 all-target-libstdc++-v3: configure-target-libstdc++-v3
36665 @r=`${PWD_COMMAND}`; export r; \
36666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36667 $(RAW_CXX_TARGET_EXPORTS) \
36668 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36669 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36670 $(TARGET-target-libstdc++-v3))
36671 @endif target-libstdc++-v3
36675 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
36676 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
36677 maybe-all-stage1-target-libstdc++-v3:
36678 maybe-clean-stage1-target-libstdc++-v3:
36679 @if target-libstdc++-v3-bootstrap
36680 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
36681 all-stage1: all-stage1-target-libstdc++-v3
36682 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36683 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
36684 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36685 @r=`${PWD_COMMAND}`; export r; \
36686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36687 TFLAGS="$(STAGE1_TFLAGS)"; \
36688 $(RAW_CXX_TARGET_EXPORTS) \
36689 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36691 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36692 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36693 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36694 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36695 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36696 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36697 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36698 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36700 TFLAGS="$(STAGE1_TFLAGS)" \
36701 $(TARGET-stage1-target-libstdc++-v3)
36703 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
36704 clean-stage1: clean-stage1-target-libstdc++-v3
36705 clean-stage1-target-libstdc++-v3:
36706 @if [ $(current_stage) = stage1 ]; then \
36707 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36708 else \
36709 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
36710 $(MAKE) stage1-start; \
36711 fi; \
36712 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36713 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36714 clean
36715 @endif target-libstdc++-v3-bootstrap
36718 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
36719 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
36720 maybe-all-stage2-target-libstdc++-v3:
36721 maybe-clean-stage2-target-libstdc++-v3:
36722 @if target-libstdc++-v3-bootstrap
36723 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
36724 all-stage2: all-stage2-target-libstdc++-v3
36725 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36726 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
36727 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36728 @r=`${PWD_COMMAND}`; export r; \
36729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36730 TFLAGS="$(STAGE2_TFLAGS)"; \
36731 $(RAW_CXX_TARGET_EXPORTS) \
36733 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36736 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36737 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36738 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36742 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36743 TFLAGS="$(STAGE2_TFLAGS)" \
36744 $(TARGET-stage2-target-libstdc++-v3)
36746 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
36747 clean-stage2: clean-stage2-target-libstdc++-v3
36748 clean-stage2-target-libstdc++-v3:
36749 @if [ $(current_stage) = stage2 ]; then \
36750 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36751 else \
36752 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
36753 $(MAKE) stage2-start; \
36754 fi; \
36755 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36756 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36757 @endif target-libstdc++-v3-bootstrap
36760 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
36761 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
36762 maybe-all-stage3-target-libstdc++-v3:
36763 maybe-clean-stage3-target-libstdc++-v3:
36764 @if target-libstdc++-v3-bootstrap
36765 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
36766 all-stage3: all-stage3-target-libstdc++-v3
36767 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36768 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
36769 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36770 @r=`${PWD_COMMAND}`; export r; \
36771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36772 TFLAGS="$(STAGE3_TFLAGS)"; \
36773 $(RAW_CXX_TARGET_EXPORTS) \
36775 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36778 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36779 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36780 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36784 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36785 TFLAGS="$(STAGE3_TFLAGS)" \
36786 $(TARGET-stage3-target-libstdc++-v3)
36788 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
36789 clean-stage3: clean-stage3-target-libstdc++-v3
36790 clean-stage3-target-libstdc++-v3:
36791 @if [ $(current_stage) = stage3 ]; then \
36792 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36793 else \
36794 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
36795 $(MAKE) stage3-start; \
36796 fi; \
36797 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36798 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36799 @endif target-libstdc++-v3-bootstrap
36802 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
36803 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
36804 maybe-all-stage4-target-libstdc++-v3:
36805 maybe-clean-stage4-target-libstdc++-v3:
36806 @if target-libstdc++-v3-bootstrap
36807 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
36808 all-stage4: all-stage4-target-libstdc++-v3
36809 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36810 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
36811 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36812 @r=`${PWD_COMMAND}`; export r; \
36813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36814 TFLAGS="$(STAGE4_TFLAGS)"; \
36815 $(RAW_CXX_TARGET_EXPORTS) \
36817 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36819 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36820 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36822 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36823 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36824 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36825 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36826 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36827 TFLAGS="$(STAGE4_TFLAGS)" \
36828 $(TARGET-stage4-target-libstdc++-v3)
36830 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
36831 clean-stage4: clean-stage4-target-libstdc++-v3
36832 clean-stage4-target-libstdc++-v3:
36833 @if [ $(current_stage) = stage4 ]; then \
36834 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36835 else \
36836 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
36837 $(MAKE) stage4-start; \
36838 fi; \
36839 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36840 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36841 @endif target-libstdc++-v3-bootstrap
36844 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
36845 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
36846 maybe-all-stageprofile-target-libstdc++-v3:
36847 maybe-clean-stageprofile-target-libstdc++-v3:
36848 @if target-libstdc++-v3-bootstrap
36849 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
36850 all-stageprofile: all-stageprofile-target-libstdc++-v3
36851 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36852 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
36853 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36854 @r=`${PWD_COMMAND}`; export r; \
36855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36856 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36857 $(RAW_CXX_TARGET_EXPORTS) \
36859 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36862 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36868 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36869 TFLAGS="$(STAGEprofile_TFLAGS)" \
36870 $(TARGET-stageprofile-target-libstdc++-v3)
36872 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
36873 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
36874 clean-stageprofile-target-libstdc++-v3:
36875 @if [ $(current_stage) = stageprofile ]; then \
36876 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36877 else \
36878 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
36879 $(MAKE) stageprofile-start; \
36880 fi; \
36881 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36882 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36883 @endif target-libstdc++-v3-bootstrap
36886 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
36887 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
36888 maybe-all-stagefeedback-target-libstdc++-v3:
36889 maybe-clean-stagefeedback-target-libstdc++-v3:
36890 @if target-libstdc++-v3-bootstrap
36891 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
36892 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
36893 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36894 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
36895 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36896 @r=`${PWD_COMMAND}`; export r; \
36897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36898 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36899 $(RAW_CXX_TARGET_EXPORTS) \
36901 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36903 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36904 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36905 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36906 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36910 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36911 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36912 $(TARGET-stagefeedback-target-libstdc++-v3)
36914 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
36915 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
36916 clean-stagefeedback-target-libstdc++-v3:
36917 @if [ $(current_stage) = stagefeedback ]; then \
36918 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36919 else \
36920 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
36921 $(MAKE) stagefeedback-start; \
36922 fi; \
36923 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36924 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36925 @endif target-libstdc++-v3-bootstrap
36928 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
36929 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
36930 maybe-all-stageautoprofile-target-libstdc++-v3:
36931 maybe-clean-stageautoprofile-target-libstdc++-v3:
36932 @if target-libstdc++-v3-bootstrap
36933 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
36934 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
36935 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36936 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
36937 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36938 @r=`${PWD_COMMAND}`; export r; \
36939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36940 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36941 $(RAW_CXX_TARGET_EXPORTS) \
36943 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36944 $$s/gcc/config/i386/$(AUTO_PROFILE) \
36945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36946 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36947 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36948 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36949 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36950 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36951 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36952 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36953 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
36954 $(TARGET-stageautoprofile-target-libstdc++-v3)
36956 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
36957 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
36958 clean-stageautoprofile-target-libstdc++-v3:
36959 @if [ $(current_stage) = stageautoprofile ]; then \
36960 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
36961 else \
36962 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
36963 $(MAKE) stageautoprofile-start; \
36964 fi; \
36965 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36966 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
36967 @endif target-libstdc++-v3-bootstrap
36970 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
36971 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
36972 maybe-all-stageautofeedback-target-libstdc++-v3:
36973 maybe-clean-stageautofeedback-target-libstdc++-v3:
36974 @if target-libstdc++-v3-bootstrap
36975 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
36976 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
36977 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
36978 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
36979 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36980 @r=`${PWD_COMMAND}`; export r; \
36981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36982 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36983 $(RAW_CXX_TARGET_EXPORTS) \
36985 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
36987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36988 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36989 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36990 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36994 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
36995 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
36996 $(TARGET-stageautofeedback-target-libstdc++-v3)
36998 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
36999 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
37000 clean-stageautofeedback-target-libstdc++-v3:
37001 @if [ $(current_stage) = stageautofeedback ]; then \
37002 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37003 else \
37004 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
37005 $(MAKE) stageautofeedback-start; \
37006 fi; \
37007 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37008 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37009 @endif target-libstdc++-v3-bootstrap
37016 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
37017 maybe-check-target-libstdc++-v3:
37018 @if target-libstdc++-v3
37019 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
37021 check-target-libstdc++-v3:
37022 @: $(MAKE); $(unstage)
37023 @r=`${PWD_COMMAND}`; export r; \
37024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37025 $(RAW_CXX_TARGET_EXPORTS) \
37026 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37027 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
37029 @endif target-libstdc++-v3
37031 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
37032 maybe-install-target-libstdc++-v3:
37033 @if target-libstdc++-v3
37034 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
37036 install-target-libstdc++-v3: installdirs
37037 @: $(MAKE); $(unstage)
37038 @r=`${PWD_COMMAND}`; export r; \
37039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37040 $(RAW_CXX_TARGET_EXPORTS) \
37041 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37042 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37044 @endif target-libstdc++-v3
37046 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
37047 maybe-install-strip-target-libstdc++-v3:
37048 @if target-libstdc++-v3
37049 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
37051 install-strip-target-libstdc++-v3: installdirs
37052 @: $(MAKE); $(unstage)
37053 @r=`${PWD_COMMAND}`; export r; \
37054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37055 $(RAW_CXX_TARGET_EXPORTS) \
37056 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37057 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37059 @endif target-libstdc++-v3
37061 # Other targets (info, dvi, pdf, etc.)
37063 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
37064 maybe-info-target-libstdc++-v3:
37065 @if target-libstdc++-v3
37066 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
37068 info-target-libstdc++-v3: \
37069 configure-target-libstdc++-v3
37070 @: $(MAKE); $(unstage)
37071 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37072 r=`${PWD_COMMAND}`; export r; \
37073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37074 $(RAW_CXX_TARGET_EXPORTS) \
37075 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
37076 for flag in $(EXTRA_TARGET_FLAGS); do \
37077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37078 done; \
37079 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37082 "RANLIB=$${RANLIB}" \
37083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37084 info) \
37085 || exit 1
37087 @endif target-libstdc++-v3
37089 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
37090 maybe-dvi-target-libstdc++-v3:
37091 @if target-libstdc++-v3
37092 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
37094 dvi-target-libstdc++-v3: \
37095 configure-target-libstdc++-v3
37096 @: $(MAKE); $(unstage)
37097 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37098 r=`${PWD_COMMAND}`; export r; \
37099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37100 $(RAW_CXX_TARGET_EXPORTS) \
37101 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
37102 for flag in $(EXTRA_TARGET_FLAGS); do \
37103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37104 done; \
37105 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37108 "RANLIB=$${RANLIB}" \
37109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37110 dvi) \
37111 || exit 1
37113 @endif target-libstdc++-v3
37115 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
37116 maybe-pdf-target-libstdc++-v3:
37117 @if target-libstdc++-v3
37118 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
37120 pdf-target-libstdc++-v3: \
37121 configure-target-libstdc++-v3
37122 @: $(MAKE); $(unstage)
37123 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37124 r=`${PWD_COMMAND}`; export r; \
37125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37126 $(RAW_CXX_TARGET_EXPORTS) \
37127 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
37128 for flag in $(EXTRA_TARGET_FLAGS); do \
37129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37130 done; \
37131 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37134 "RANLIB=$${RANLIB}" \
37135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37136 pdf) \
37137 || exit 1
37139 @endif target-libstdc++-v3
37141 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
37142 maybe-html-target-libstdc++-v3:
37143 @if target-libstdc++-v3
37144 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
37146 html-target-libstdc++-v3: \
37147 configure-target-libstdc++-v3
37148 @: $(MAKE); $(unstage)
37149 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37150 r=`${PWD_COMMAND}`; export r; \
37151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37152 $(RAW_CXX_TARGET_EXPORTS) \
37153 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
37154 for flag in $(EXTRA_TARGET_FLAGS); do \
37155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37156 done; \
37157 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37160 "RANLIB=$${RANLIB}" \
37161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37162 html) \
37163 || exit 1
37165 @endif target-libstdc++-v3
37167 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
37168 maybe-TAGS-target-libstdc++-v3:
37169 @if target-libstdc++-v3
37170 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
37172 TAGS-target-libstdc++-v3: \
37173 configure-target-libstdc++-v3
37174 @: $(MAKE); $(unstage)
37175 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37176 r=`${PWD_COMMAND}`; export r; \
37177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37178 $(RAW_CXX_TARGET_EXPORTS) \
37179 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
37180 for flag in $(EXTRA_TARGET_FLAGS); do \
37181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37182 done; \
37183 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37186 "RANLIB=$${RANLIB}" \
37187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37188 TAGS) \
37189 || exit 1
37191 @endif target-libstdc++-v3
37193 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
37194 maybe-install-info-target-libstdc++-v3:
37195 @if target-libstdc++-v3
37196 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
37198 install-info-target-libstdc++-v3: \
37199 configure-target-libstdc++-v3 \
37200 info-target-libstdc++-v3
37201 @: $(MAKE); $(unstage)
37202 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37203 r=`${PWD_COMMAND}`; export r; \
37204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37205 $(RAW_CXX_TARGET_EXPORTS) \
37206 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
37207 for flag in $(EXTRA_TARGET_FLAGS); do \
37208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37209 done; \
37210 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37213 "RANLIB=$${RANLIB}" \
37214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37215 install-info) \
37216 || exit 1
37218 @endif target-libstdc++-v3
37220 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
37221 maybe-install-pdf-target-libstdc++-v3:
37222 @if target-libstdc++-v3
37223 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
37225 install-pdf-target-libstdc++-v3: \
37226 configure-target-libstdc++-v3 \
37227 pdf-target-libstdc++-v3
37228 @: $(MAKE); $(unstage)
37229 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37230 r=`${PWD_COMMAND}`; export r; \
37231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37232 $(RAW_CXX_TARGET_EXPORTS) \
37233 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
37234 for flag in $(EXTRA_TARGET_FLAGS); do \
37235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37236 done; \
37237 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37240 "RANLIB=$${RANLIB}" \
37241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37242 install-pdf) \
37243 || exit 1
37245 @endif target-libstdc++-v3
37247 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
37248 maybe-install-html-target-libstdc++-v3:
37249 @if target-libstdc++-v3
37250 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
37252 install-html-target-libstdc++-v3: \
37253 configure-target-libstdc++-v3 \
37254 html-target-libstdc++-v3
37255 @: $(MAKE); $(unstage)
37256 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37257 r=`${PWD_COMMAND}`; export r; \
37258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37259 $(RAW_CXX_TARGET_EXPORTS) \
37260 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
37261 for flag in $(EXTRA_TARGET_FLAGS); do \
37262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37263 done; \
37264 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37267 "RANLIB=$${RANLIB}" \
37268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37269 install-html) \
37270 || exit 1
37272 @endif target-libstdc++-v3
37274 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
37275 maybe-installcheck-target-libstdc++-v3:
37276 @if target-libstdc++-v3
37277 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
37279 installcheck-target-libstdc++-v3: \
37280 configure-target-libstdc++-v3
37281 @: $(MAKE); $(unstage)
37282 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37283 r=`${PWD_COMMAND}`; export r; \
37284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37285 $(RAW_CXX_TARGET_EXPORTS) \
37286 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
37287 for flag in $(EXTRA_TARGET_FLAGS); do \
37288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37289 done; \
37290 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37293 "RANLIB=$${RANLIB}" \
37294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37295 installcheck) \
37296 || exit 1
37298 @endif target-libstdc++-v3
37300 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
37301 maybe-mostlyclean-target-libstdc++-v3:
37302 @if target-libstdc++-v3
37303 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
37305 mostlyclean-target-libstdc++-v3:
37306 @: $(MAKE); $(unstage)
37307 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37308 r=`${PWD_COMMAND}`; export r; \
37309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37310 $(RAW_CXX_TARGET_EXPORTS) \
37311 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37312 for flag in $(EXTRA_TARGET_FLAGS); do \
37313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37314 done; \
37315 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37318 "RANLIB=$${RANLIB}" \
37319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37320 mostlyclean) \
37321 || exit 1
37323 @endif target-libstdc++-v3
37325 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
37326 maybe-clean-target-libstdc++-v3:
37327 @if target-libstdc++-v3
37328 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
37330 clean-target-libstdc++-v3:
37331 @: $(MAKE); $(unstage)
37332 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37333 r=`${PWD_COMMAND}`; export r; \
37334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37335 $(RAW_CXX_TARGET_EXPORTS) \
37336 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37337 for flag in $(EXTRA_TARGET_FLAGS); do \
37338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37339 done; \
37340 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37343 "RANLIB=$${RANLIB}" \
37344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37345 clean) \
37346 || exit 1
37348 @endif target-libstdc++-v3
37350 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
37351 maybe-distclean-target-libstdc++-v3:
37352 @if target-libstdc++-v3
37353 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
37355 distclean-target-libstdc++-v3:
37356 @: $(MAKE); $(unstage)
37357 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37358 r=`${PWD_COMMAND}`; export r; \
37359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37360 $(RAW_CXX_TARGET_EXPORTS) \
37361 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37362 for flag in $(EXTRA_TARGET_FLAGS); do \
37363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37364 done; \
37365 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37368 "RANLIB=$${RANLIB}" \
37369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37370 distclean) \
37371 || exit 1
37373 @endif target-libstdc++-v3
37375 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
37376 maybe-maintainer-clean-target-libstdc++-v3:
37377 @if target-libstdc++-v3
37378 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
37380 maintainer-clean-target-libstdc++-v3:
37381 @: $(MAKE); $(unstage)
37382 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
37383 r=`${PWD_COMMAND}`; export r; \
37384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37385 $(RAW_CXX_TARGET_EXPORTS) \
37386 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
37387 for flag in $(EXTRA_TARGET_FLAGS); do \
37388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37389 done; \
37390 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37393 "RANLIB=$${RANLIB}" \
37394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37395 maintainer-clean) \
37396 || exit 1
37398 @endif target-libstdc++-v3
37404 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
37405 maybe-configure-target-libsanitizer:
37406 @if gcc-bootstrap
37407 configure-target-libsanitizer: stage_current
37408 @endif gcc-bootstrap
37409 @if target-libsanitizer
37410 maybe-configure-target-libsanitizer: configure-target-libsanitizer
37411 configure-target-libsanitizer:
37412 @r=`${PWD_COMMAND}`; export r; \
37413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37414 echo "Checking multilib configuration for libsanitizer..."; \
37415 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37416 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37417 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37418 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37419 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37420 else \
37421 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37422 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37423 fi; \
37424 else \
37425 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37426 fi; \
37427 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37428 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37429 $(RAW_CXX_TARGET_EXPORTS) \
37430 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
37431 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
37432 case $(srcdir) in \
37433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37434 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37436 esac; \
37437 module_srcdir=libsanitizer; \
37438 rm -f no-such-file || : ; \
37439 CONFIG_SITE=no-such-file $(SHELL) \
37440 $$s/$$module_srcdir/configure \
37441 --srcdir=$${topdir}/$$module_srcdir \
37442 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37443 --target=${target_alias} \
37444 || exit 1
37445 @endif target-libsanitizer
37449 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
37450 maybe-configure-stage1-target-libsanitizer:
37451 @if target-libsanitizer-bootstrap
37452 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
37453 configure-stage1-target-libsanitizer:
37454 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37455 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37456 @r=`${PWD_COMMAND}`; export r; \
37457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37458 TFLAGS="$(STAGE1_TFLAGS)"; \
37459 echo "Checking multilib configuration for libsanitizer..."; \
37460 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37461 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37462 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37463 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37464 else \
37465 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37466 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37467 fi; \
37468 else \
37469 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37470 fi; \
37471 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37472 $(RAW_CXX_TARGET_EXPORTS) \
37473 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37474 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37475 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37476 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
37477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37478 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37479 case $(srcdir) in \
37480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37481 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37483 esac; \
37484 module_srcdir=libsanitizer; \
37485 $(SHELL) $$s/$$module_srcdir/configure \
37486 --srcdir=$${topdir}/$$module_srcdir \
37487 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37488 --target=${target_alias} \
37490 $(STAGE1_CONFIGURE_FLAGS)
37491 @endif target-libsanitizer-bootstrap
37493 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
37494 maybe-configure-stage2-target-libsanitizer:
37495 @if target-libsanitizer-bootstrap
37496 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
37497 configure-stage2-target-libsanitizer:
37498 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37499 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37500 @r=`${PWD_COMMAND}`; export r; \
37501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37502 TFLAGS="$(STAGE2_TFLAGS)"; \
37503 echo "Checking multilib configuration for libsanitizer..."; \
37504 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37505 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37506 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37507 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37508 else \
37509 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37510 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37511 fi; \
37512 else \
37513 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37514 fi; \
37515 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37516 $(RAW_CXX_TARGET_EXPORTS) \
37518 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37519 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37520 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37521 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
37522 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37523 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37524 case $(srcdir) in \
37525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37526 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37528 esac; \
37529 module_srcdir=libsanitizer; \
37530 $(SHELL) $$s/$$module_srcdir/configure \
37531 --srcdir=$${topdir}/$$module_srcdir \
37532 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37533 --target=${target_alias} \
37534 --with-build-libsubdir=$(HOST_SUBDIR) \
37535 $(STAGE2_CONFIGURE_FLAGS)
37536 @endif target-libsanitizer-bootstrap
37538 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
37539 maybe-configure-stage3-target-libsanitizer:
37540 @if target-libsanitizer-bootstrap
37541 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
37542 configure-stage3-target-libsanitizer:
37543 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37544 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37545 @r=`${PWD_COMMAND}`; export r; \
37546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37547 TFLAGS="$(STAGE3_TFLAGS)"; \
37548 echo "Checking multilib configuration for libsanitizer..."; \
37549 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37550 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37551 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37552 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37553 else \
37554 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37555 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37556 fi; \
37557 else \
37558 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37559 fi; \
37560 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37561 $(RAW_CXX_TARGET_EXPORTS) \
37563 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37564 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37565 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37566 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
37567 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37568 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37569 case $(srcdir) in \
37570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37571 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37573 esac; \
37574 module_srcdir=libsanitizer; \
37575 $(SHELL) $$s/$$module_srcdir/configure \
37576 --srcdir=$${topdir}/$$module_srcdir \
37577 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37578 --target=${target_alias} \
37579 --with-build-libsubdir=$(HOST_SUBDIR) \
37580 $(STAGE3_CONFIGURE_FLAGS)
37581 @endif target-libsanitizer-bootstrap
37583 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
37584 maybe-configure-stage4-target-libsanitizer:
37585 @if target-libsanitizer-bootstrap
37586 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
37587 configure-stage4-target-libsanitizer:
37588 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37589 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37590 @r=`${PWD_COMMAND}`; export r; \
37591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37592 TFLAGS="$(STAGE4_TFLAGS)"; \
37593 echo "Checking multilib configuration for libsanitizer..."; \
37594 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37595 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37596 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37597 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37598 else \
37599 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37600 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37601 fi; \
37602 else \
37603 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37604 fi; \
37605 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37606 $(RAW_CXX_TARGET_EXPORTS) \
37608 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37609 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37610 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37611 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
37612 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37613 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37614 case $(srcdir) in \
37615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37616 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37618 esac; \
37619 module_srcdir=libsanitizer; \
37620 $(SHELL) $$s/$$module_srcdir/configure \
37621 --srcdir=$${topdir}/$$module_srcdir \
37622 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37623 --target=${target_alias} \
37624 --with-build-libsubdir=$(HOST_SUBDIR) \
37625 $(STAGE4_CONFIGURE_FLAGS)
37626 @endif target-libsanitizer-bootstrap
37628 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
37629 maybe-configure-stageprofile-target-libsanitizer:
37630 @if target-libsanitizer-bootstrap
37631 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
37632 configure-stageprofile-target-libsanitizer:
37633 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37634 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37635 @r=`${PWD_COMMAND}`; export r; \
37636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37637 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37638 echo "Checking multilib configuration for libsanitizer..."; \
37639 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37640 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37641 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37642 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37643 else \
37644 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37645 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37646 fi; \
37647 else \
37648 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37649 fi; \
37650 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37651 $(RAW_CXX_TARGET_EXPORTS) \
37653 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37654 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37655 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37656 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
37657 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37658 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37659 case $(srcdir) in \
37660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37661 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37663 esac; \
37664 module_srcdir=libsanitizer; \
37665 $(SHELL) $$s/$$module_srcdir/configure \
37666 --srcdir=$${topdir}/$$module_srcdir \
37667 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37668 --target=${target_alias} \
37669 --with-build-libsubdir=$(HOST_SUBDIR) \
37670 $(STAGEprofile_CONFIGURE_FLAGS)
37671 @endif target-libsanitizer-bootstrap
37673 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
37674 maybe-configure-stagefeedback-target-libsanitizer:
37675 @if target-libsanitizer-bootstrap
37676 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
37677 configure-stagefeedback-target-libsanitizer:
37678 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37679 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37680 @r=`${PWD_COMMAND}`; export r; \
37681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37682 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37683 echo "Checking multilib configuration for libsanitizer..."; \
37684 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37685 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37686 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37687 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37688 else \
37689 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37690 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37691 fi; \
37692 else \
37693 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37694 fi; \
37695 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37696 $(RAW_CXX_TARGET_EXPORTS) \
37698 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37699 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37700 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37701 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
37702 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37703 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37704 case $(srcdir) in \
37705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37706 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37708 esac; \
37709 module_srcdir=libsanitizer; \
37710 $(SHELL) $$s/$$module_srcdir/configure \
37711 --srcdir=$${topdir}/$$module_srcdir \
37712 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37713 --target=${target_alias} \
37714 --with-build-libsubdir=$(HOST_SUBDIR) \
37715 $(STAGEfeedback_CONFIGURE_FLAGS)
37716 @endif target-libsanitizer-bootstrap
37718 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
37719 maybe-configure-stageautoprofile-target-libsanitizer:
37720 @if target-libsanitizer-bootstrap
37721 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
37722 configure-stageautoprofile-target-libsanitizer:
37723 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
37724 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37725 @r=`${PWD_COMMAND}`; export r; \
37726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37727 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
37728 echo "Checking multilib configuration for libsanitizer..."; \
37729 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37730 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37731 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37732 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37733 else \
37734 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37735 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37736 fi; \
37737 else \
37738 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37739 fi; \
37740 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37741 $(RAW_CXX_TARGET_EXPORTS) \
37743 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37744 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37745 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37746 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
37747 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37748 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37749 case $(srcdir) in \
37750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37751 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37753 esac; \
37754 module_srcdir=libsanitizer; \
37755 $(SHELL) $$s/$$module_srcdir/configure \
37756 --srcdir=$${topdir}/$$module_srcdir \
37757 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37758 --target=${target_alias} \
37759 --with-build-libsubdir=$(HOST_SUBDIR) \
37760 $(STAGEautoprofile_CONFIGURE_FLAGS)
37761 @endif target-libsanitizer-bootstrap
37763 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
37764 maybe-configure-stageautofeedback-target-libsanitizer:
37765 @if target-libsanitizer-bootstrap
37766 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
37767 configure-stageautofeedback-target-libsanitizer:
37768 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
37769 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
37770 @r=`${PWD_COMMAND}`; export r; \
37771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37772 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
37773 echo "Checking multilib configuration for libsanitizer..."; \
37774 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
37775 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37776 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
37777 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
37778 else \
37779 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
37780 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37781 fi; \
37782 else \
37783 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
37784 fi; \
37785 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
37786 $(RAW_CXX_TARGET_EXPORTS) \
37788 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37789 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37790 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37791 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
37792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
37793 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
37794 case $(srcdir) in \
37795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37796 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
37797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37798 esac; \
37799 module_srcdir=libsanitizer; \
37800 $(SHELL) $$s/$$module_srcdir/configure \
37801 --srcdir=$${topdir}/$$module_srcdir \
37802 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37803 --target=${target_alias} \
37804 --with-build-libsubdir=$(HOST_SUBDIR) \
37805 $(STAGEautofeedback_CONFIGURE_FLAGS)
37806 @endif target-libsanitizer-bootstrap
37812 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
37813 maybe-all-target-libsanitizer:
37814 @if gcc-bootstrap
37815 all-target-libsanitizer: stage_current
37816 @endif gcc-bootstrap
37817 @if target-libsanitizer
37818 TARGET-target-libsanitizer=all
37819 maybe-all-target-libsanitizer: all-target-libsanitizer
37820 all-target-libsanitizer: configure-target-libsanitizer
37821 @r=`${PWD_COMMAND}`; export r; \
37822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37823 $(RAW_CXX_TARGET_EXPORTS) \
37824 (cd $(TARGET_SUBDIR)/libsanitizer && \
37825 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37826 $(TARGET-target-libsanitizer))
37827 @endif target-libsanitizer
37831 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
37832 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
37833 maybe-all-stage1-target-libsanitizer:
37834 maybe-clean-stage1-target-libsanitizer:
37835 @if target-libsanitizer-bootstrap
37836 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
37837 all-stage1: all-stage1-target-libsanitizer
37838 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
37839 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
37840 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37841 @r=`${PWD_COMMAND}`; export r; \
37842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37843 TFLAGS="$(STAGE1_TFLAGS)"; \
37844 $(RAW_CXX_TARGET_EXPORTS) \
37845 cd $(TARGET_SUBDIR)/libsanitizer && \
37847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37848 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37849 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37850 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37854 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37856 TFLAGS="$(STAGE1_TFLAGS)" \
37857 $(TARGET-stage1-target-libsanitizer)
37859 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
37860 clean-stage1: clean-stage1-target-libsanitizer
37861 clean-stage1-target-libsanitizer:
37862 @if [ $(current_stage) = stage1 ]; then \
37863 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37864 else \
37865 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
37866 $(MAKE) stage1-start; \
37867 fi; \
37868 cd $(TARGET_SUBDIR)/libsanitizer && \
37869 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37870 clean
37871 @endif target-libsanitizer-bootstrap
37874 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
37875 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
37876 maybe-all-stage2-target-libsanitizer:
37877 maybe-clean-stage2-target-libsanitizer:
37878 @if target-libsanitizer-bootstrap
37879 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
37880 all-stage2: all-stage2-target-libsanitizer
37881 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
37882 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
37883 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37884 @r=`${PWD_COMMAND}`; export r; \
37885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37886 TFLAGS="$(STAGE2_TFLAGS)"; \
37887 $(RAW_CXX_TARGET_EXPORTS) \
37889 cd $(TARGET_SUBDIR)/libsanitizer && \
37891 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37892 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37893 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37894 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37895 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37896 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37897 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37898 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37899 TFLAGS="$(STAGE2_TFLAGS)" \
37900 $(TARGET-stage2-target-libsanitizer)
37902 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
37903 clean-stage2: clean-stage2-target-libsanitizer
37904 clean-stage2-target-libsanitizer:
37905 @if [ $(current_stage) = stage2 ]; then \
37906 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37907 else \
37908 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
37909 $(MAKE) stage2-start; \
37910 fi; \
37911 cd $(TARGET_SUBDIR)/libsanitizer && \
37912 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37913 @endif target-libsanitizer-bootstrap
37916 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
37917 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
37918 maybe-all-stage3-target-libsanitizer:
37919 maybe-clean-stage3-target-libsanitizer:
37920 @if target-libsanitizer-bootstrap
37921 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
37922 all-stage3: all-stage3-target-libsanitizer
37923 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
37924 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
37925 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37926 @r=`${PWD_COMMAND}`; export r; \
37927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37928 TFLAGS="$(STAGE3_TFLAGS)"; \
37929 $(RAW_CXX_TARGET_EXPORTS) \
37931 cd $(TARGET_SUBDIR)/libsanitizer && \
37933 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37934 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37935 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37936 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37937 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37938 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37939 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37940 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37941 TFLAGS="$(STAGE3_TFLAGS)" \
37942 $(TARGET-stage3-target-libsanitizer)
37944 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
37945 clean-stage3: clean-stage3-target-libsanitizer
37946 clean-stage3-target-libsanitizer:
37947 @if [ $(current_stage) = stage3 ]; then \
37948 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37949 else \
37950 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
37951 $(MAKE) stage3-start; \
37952 fi; \
37953 cd $(TARGET_SUBDIR)/libsanitizer && \
37954 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37955 @endif target-libsanitizer-bootstrap
37958 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
37959 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
37960 maybe-all-stage4-target-libsanitizer:
37961 maybe-clean-stage4-target-libsanitizer:
37962 @if target-libsanitizer-bootstrap
37963 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
37964 all-stage4: all-stage4-target-libsanitizer
37965 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
37966 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
37967 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37968 @r=`${PWD_COMMAND}`; export r; \
37969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37970 TFLAGS="$(STAGE4_TFLAGS)"; \
37971 $(RAW_CXX_TARGET_EXPORTS) \
37973 cd $(TARGET_SUBDIR)/libsanitizer && \
37975 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37976 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37977 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37978 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37979 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37980 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37981 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37982 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
37983 TFLAGS="$(STAGE4_TFLAGS)" \
37984 $(TARGET-stage4-target-libsanitizer)
37986 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
37987 clean-stage4: clean-stage4-target-libsanitizer
37988 clean-stage4-target-libsanitizer:
37989 @if [ $(current_stage) = stage4 ]; then \
37990 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
37991 else \
37992 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
37993 $(MAKE) stage4-start; \
37994 fi; \
37995 cd $(TARGET_SUBDIR)/libsanitizer && \
37996 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
37997 @endif target-libsanitizer-bootstrap
38000 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
38001 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
38002 maybe-all-stageprofile-target-libsanitizer:
38003 maybe-clean-stageprofile-target-libsanitizer:
38004 @if target-libsanitizer-bootstrap
38005 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
38006 all-stageprofile: all-stageprofile-target-libsanitizer
38007 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
38008 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
38009 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38010 @r=`${PWD_COMMAND}`; export r; \
38011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38012 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38013 $(RAW_CXX_TARGET_EXPORTS) \
38015 cd $(TARGET_SUBDIR)/libsanitizer && \
38017 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38018 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38019 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38020 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38021 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38022 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38023 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38024 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38025 TFLAGS="$(STAGEprofile_TFLAGS)" \
38026 $(TARGET-stageprofile-target-libsanitizer)
38028 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
38029 clean-stageprofile: clean-stageprofile-target-libsanitizer
38030 clean-stageprofile-target-libsanitizer:
38031 @if [ $(current_stage) = stageprofile ]; then \
38032 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38033 else \
38034 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
38035 $(MAKE) stageprofile-start; \
38036 fi; \
38037 cd $(TARGET_SUBDIR)/libsanitizer && \
38038 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38039 @endif target-libsanitizer-bootstrap
38042 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
38043 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
38044 maybe-all-stagefeedback-target-libsanitizer:
38045 maybe-clean-stagefeedback-target-libsanitizer:
38046 @if target-libsanitizer-bootstrap
38047 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
38048 all-stagefeedback: all-stagefeedback-target-libsanitizer
38049 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
38050 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
38051 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38052 @r=`${PWD_COMMAND}`; export r; \
38053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38054 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38055 $(RAW_CXX_TARGET_EXPORTS) \
38057 cd $(TARGET_SUBDIR)/libsanitizer && \
38059 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38060 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38061 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38062 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38066 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38067 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38068 $(TARGET-stagefeedback-target-libsanitizer)
38070 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
38071 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
38072 clean-stagefeedback-target-libsanitizer:
38073 @if [ $(current_stage) = stagefeedback ]; then \
38074 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38075 else \
38076 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
38077 $(MAKE) stagefeedback-start; \
38078 fi; \
38079 cd $(TARGET_SUBDIR)/libsanitizer && \
38080 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38081 @endif target-libsanitizer-bootstrap
38084 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
38085 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
38086 maybe-all-stageautoprofile-target-libsanitizer:
38087 maybe-clean-stageautoprofile-target-libsanitizer:
38088 @if target-libsanitizer-bootstrap
38089 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
38090 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
38091 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
38092 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
38093 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38094 @r=`${PWD_COMMAND}`; export r; \
38095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38096 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38097 $(RAW_CXX_TARGET_EXPORTS) \
38099 cd $(TARGET_SUBDIR)/libsanitizer && \
38100 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38102 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38103 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38104 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38108 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38109 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38110 $(TARGET-stageautoprofile-target-libsanitizer)
38112 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
38113 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
38114 clean-stageautoprofile-target-libsanitizer:
38115 @if [ $(current_stage) = stageautoprofile ]; then \
38116 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38117 else \
38118 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
38119 $(MAKE) stageautoprofile-start; \
38120 fi; \
38121 cd $(TARGET_SUBDIR)/libsanitizer && \
38122 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38123 @endif target-libsanitizer-bootstrap
38126 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
38127 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
38128 maybe-all-stageautofeedback-target-libsanitizer:
38129 maybe-clean-stageautofeedback-target-libsanitizer:
38130 @if target-libsanitizer-bootstrap
38131 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
38132 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
38133 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
38134 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
38135 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38136 @r=`${PWD_COMMAND}`; export r; \
38137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38138 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38139 $(RAW_CXX_TARGET_EXPORTS) \
38141 cd $(TARGET_SUBDIR)/libsanitizer && \
38143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38144 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38145 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38146 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38150 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38151 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38152 $(TARGET-stageautofeedback-target-libsanitizer)
38154 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
38155 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
38156 clean-stageautofeedback-target-libsanitizer:
38157 @if [ $(current_stage) = stageautofeedback ]; then \
38158 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38159 else \
38160 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
38161 $(MAKE) stageautofeedback-start; \
38162 fi; \
38163 cd $(TARGET_SUBDIR)/libsanitizer && \
38164 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38165 @endif target-libsanitizer-bootstrap
38172 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
38173 maybe-check-target-libsanitizer:
38174 @if target-libsanitizer
38175 maybe-check-target-libsanitizer: check-target-libsanitizer
38177 check-target-libsanitizer:
38178 @: $(MAKE); $(unstage)
38179 @r=`${PWD_COMMAND}`; export r; \
38180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38181 $(RAW_CXX_TARGET_EXPORTS) \
38182 (cd $(TARGET_SUBDIR)/libsanitizer && \
38183 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38185 @endif target-libsanitizer
38187 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
38188 maybe-install-target-libsanitizer:
38189 @if target-libsanitizer
38190 maybe-install-target-libsanitizer: install-target-libsanitizer
38192 install-target-libsanitizer: installdirs
38193 @: $(MAKE); $(unstage)
38194 @r=`${PWD_COMMAND}`; export r; \
38195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38196 $(RAW_CXX_TARGET_EXPORTS) \
38197 (cd $(TARGET_SUBDIR)/libsanitizer && \
38198 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38200 @endif target-libsanitizer
38202 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
38203 maybe-install-strip-target-libsanitizer:
38204 @if target-libsanitizer
38205 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
38207 install-strip-target-libsanitizer: installdirs
38208 @: $(MAKE); $(unstage)
38209 @r=`${PWD_COMMAND}`; export r; \
38210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38211 $(RAW_CXX_TARGET_EXPORTS) \
38212 (cd $(TARGET_SUBDIR)/libsanitizer && \
38213 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38215 @endif target-libsanitizer
38217 # Other targets (info, dvi, pdf, etc.)
38219 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
38220 maybe-info-target-libsanitizer:
38221 @if target-libsanitizer
38222 maybe-info-target-libsanitizer: info-target-libsanitizer
38224 info-target-libsanitizer: \
38225 configure-target-libsanitizer
38226 @: $(MAKE); $(unstage)
38227 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38228 r=`${PWD_COMMAND}`; export r; \
38229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38230 $(RAW_CXX_TARGET_EXPORTS) \
38231 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
38232 for flag in $(EXTRA_TARGET_FLAGS); do \
38233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38234 done; \
38235 (cd $(TARGET_SUBDIR)/libsanitizer && \
38236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38238 "RANLIB=$${RANLIB}" \
38239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38240 info) \
38241 || exit 1
38243 @endif target-libsanitizer
38245 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
38246 maybe-dvi-target-libsanitizer:
38247 @if target-libsanitizer
38248 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
38250 dvi-target-libsanitizer: \
38251 configure-target-libsanitizer
38252 @: $(MAKE); $(unstage)
38253 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38254 r=`${PWD_COMMAND}`; export r; \
38255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38256 $(RAW_CXX_TARGET_EXPORTS) \
38257 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
38258 for flag in $(EXTRA_TARGET_FLAGS); do \
38259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38260 done; \
38261 (cd $(TARGET_SUBDIR)/libsanitizer && \
38262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38264 "RANLIB=$${RANLIB}" \
38265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38266 dvi) \
38267 || exit 1
38269 @endif target-libsanitizer
38271 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
38272 maybe-pdf-target-libsanitizer:
38273 @if target-libsanitizer
38274 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
38276 pdf-target-libsanitizer: \
38277 configure-target-libsanitizer
38278 @: $(MAKE); $(unstage)
38279 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38280 r=`${PWD_COMMAND}`; export r; \
38281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38282 $(RAW_CXX_TARGET_EXPORTS) \
38283 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
38284 for flag in $(EXTRA_TARGET_FLAGS); do \
38285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38286 done; \
38287 (cd $(TARGET_SUBDIR)/libsanitizer && \
38288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38290 "RANLIB=$${RANLIB}" \
38291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38292 pdf) \
38293 || exit 1
38295 @endif target-libsanitizer
38297 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
38298 maybe-html-target-libsanitizer:
38299 @if target-libsanitizer
38300 maybe-html-target-libsanitizer: html-target-libsanitizer
38302 html-target-libsanitizer: \
38303 configure-target-libsanitizer
38304 @: $(MAKE); $(unstage)
38305 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38306 r=`${PWD_COMMAND}`; export r; \
38307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38308 $(RAW_CXX_TARGET_EXPORTS) \
38309 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
38310 for flag in $(EXTRA_TARGET_FLAGS); do \
38311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38312 done; \
38313 (cd $(TARGET_SUBDIR)/libsanitizer && \
38314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38316 "RANLIB=$${RANLIB}" \
38317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38318 html) \
38319 || exit 1
38321 @endif target-libsanitizer
38323 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
38324 maybe-TAGS-target-libsanitizer:
38325 @if target-libsanitizer
38326 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
38328 TAGS-target-libsanitizer: \
38329 configure-target-libsanitizer
38330 @: $(MAKE); $(unstage)
38331 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38332 r=`${PWD_COMMAND}`; export r; \
38333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38334 $(RAW_CXX_TARGET_EXPORTS) \
38335 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
38336 for flag in $(EXTRA_TARGET_FLAGS); do \
38337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38338 done; \
38339 (cd $(TARGET_SUBDIR)/libsanitizer && \
38340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38342 "RANLIB=$${RANLIB}" \
38343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38344 TAGS) \
38345 || exit 1
38347 @endif target-libsanitizer
38349 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
38350 maybe-install-info-target-libsanitizer:
38351 @if target-libsanitizer
38352 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
38354 install-info-target-libsanitizer: \
38355 configure-target-libsanitizer \
38356 info-target-libsanitizer
38357 @: $(MAKE); $(unstage)
38358 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38359 r=`${PWD_COMMAND}`; export r; \
38360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38361 $(RAW_CXX_TARGET_EXPORTS) \
38362 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
38363 for flag in $(EXTRA_TARGET_FLAGS); do \
38364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38365 done; \
38366 (cd $(TARGET_SUBDIR)/libsanitizer && \
38367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38369 "RANLIB=$${RANLIB}" \
38370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38371 install-info) \
38372 || exit 1
38374 @endif target-libsanitizer
38376 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
38377 maybe-install-pdf-target-libsanitizer:
38378 @if target-libsanitizer
38379 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
38381 install-pdf-target-libsanitizer: \
38382 configure-target-libsanitizer \
38383 pdf-target-libsanitizer
38384 @: $(MAKE); $(unstage)
38385 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38386 r=`${PWD_COMMAND}`; export r; \
38387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38388 $(RAW_CXX_TARGET_EXPORTS) \
38389 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
38390 for flag in $(EXTRA_TARGET_FLAGS); do \
38391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38392 done; \
38393 (cd $(TARGET_SUBDIR)/libsanitizer && \
38394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38396 "RANLIB=$${RANLIB}" \
38397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38398 install-pdf) \
38399 || exit 1
38401 @endif target-libsanitizer
38403 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
38404 maybe-install-html-target-libsanitizer:
38405 @if target-libsanitizer
38406 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
38408 install-html-target-libsanitizer: \
38409 configure-target-libsanitizer \
38410 html-target-libsanitizer
38411 @: $(MAKE); $(unstage)
38412 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38413 r=`${PWD_COMMAND}`; export r; \
38414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38415 $(RAW_CXX_TARGET_EXPORTS) \
38416 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
38417 for flag in $(EXTRA_TARGET_FLAGS); do \
38418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38419 done; \
38420 (cd $(TARGET_SUBDIR)/libsanitizer && \
38421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38423 "RANLIB=$${RANLIB}" \
38424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38425 install-html) \
38426 || exit 1
38428 @endif target-libsanitizer
38430 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
38431 maybe-installcheck-target-libsanitizer:
38432 @if target-libsanitizer
38433 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
38435 installcheck-target-libsanitizer: \
38436 configure-target-libsanitizer
38437 @: $(MAKE); $(unstage)
38438 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38439 r=`${PWD_COMMAND}`; export r; \
38440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38441 $(RAW_CXX_TARGET_EXPORTS) \
38442 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
38443 for flag in $(EXTRA_TARGET_FLAGS); do \
38444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38445 done; \
38446 (cd $(TARGET_SUBDIR)/libsanitizer && \
38447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38449 "RANLIB=$${RANLIB}" \
38450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38451 installcheck) \
38452 || exit 1
38454 @endif target-libsanitizer
38456 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
38457 maybe-mostlyclean-target-libsanitizer:
38458 @if target-libsanitizer
38459 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
38461 mostlyclean-target-libsanitizer:
38462 @: $(MAKE); $(unstage)
38463 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38464 r=`${PWD_COMMAND}`; export r; \
38465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38466 $(RAW_CXX_TARGET_EXPORTS) \
38467 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
38468 for flag in $(EXTRA_TARGET_FLAGS); do \
38469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38470 done; \
38471 (cd $(TARGET_SUBDIR)/libsanitizer && \
38472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38474 "RANLIB=$${RANLIB}" \
38475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38476 mostlyclean) \
38477 || exit 1
38479 @endif target-libsanitizer
38481 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
38482 maybe-clean-target-libsanitizer:
38483 @if target-libsanitizer
38484 maybe-clean-target-libsanitizer: clean-target-libsanitizer
38486 clean-target-libsanitizer:
38487 @: $(MAKE); $(unstage)
38488 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38489 r=`${PWD_COMMAND}`; export r; \
38490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38491 $(RAW_CXX_TARGET_EXPORTS) \
38492 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
38493 for flag in $(EXTRA_TARGET_FLAGS); do \
38494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38495 done; \
38496 (cd $(TARGET_SUBDIR)/libsanitizer && \
38497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38499 "RANLIB=$${RANLIB}" \
38500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38501 clean) \
38502 || exit 1
38504 @endif target-libsanitizer
38506 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
38507 maybe-distclean-target-libsanitizer:
38508 @if target-libsanitizer
38509 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
38511 distclean-target-libsanitizer:
38512 @: $(MAKE); $(unstage)
38513 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38514 r=`${PWD_COMMAND}`; export r; \
38515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38516 $(RAW_CXX_TARGET_EXPORTS) \
38517 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
38518 for flag in $(EXTRA_TARGET_FLAGS); do \
38519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38520 done; \
38521 (cd $(TARGET_SUBDIR)/libsanitizer && \
38522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38524 "RANLIB=$${RANLIB}" \
38525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38526 distclean) \
38527 || exit 1
38529 @endif target-libsanitizer
38531 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
38532 maybe-maintainer-clean-target-libsanitizer:
38533 @if target-libsanitizer
38534 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
38536 maintainer-clean-target-libsanitizer:
38537 @: $(MAKE); $(unstage)
38538 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
38539 r=`${PWD_COMMAND}`; export r; \
38540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38541 $(RAW_CXX_TARGET_EXPORTS) \
38542 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
38543 for flag in $(EXTRA_TARGET_FLAGS); do \
38544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38545 done; \
38546 (cd $(TARGET_SUBDIR)/libsanitizer && \
38547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38549 "RANLIB=$${RANLIB}" \
38550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38551 maintainer-clean) \
38552 || exit 1
38554 @endif target-libsanitizer
38560 .PHONY: configure-target-libmpx maybe-configure-target-libmpx
38561 maybe-configure-target-libmpx:
38562 @if gcc-bootstrap
38563 configure-target-libmpx: stage_current
38564 @endif gcc-bootstrap
38565 @if target-libmpx
38566 maybe-configure-target-libmpx: configure-target-libmpx
38567 configure-target-libmpx:
38568 @r=`${PWD_COMMAND}`; export r; \
38569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38570 echo "Checking multilib configuration for libmpx..."; \
38571 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38572 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38573 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38574 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38575 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38576 else \
38577 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38578 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38579 fi; \
38580 else \
38581 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38582 fi; \
38583 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38584 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38585 $(NORMAL_TARGET_EXPORTS) \
38586 echo Configuring in $(TARGET_SUBDIR)/libmpx; \
38587 cd "$(TARGET_SUBDIR)/libmpx" || exit 1; \
38588 case $(srcdir) in \
38589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38590 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38592 esac; \
38593 module_srcdir=libmpx; \
38594 rm -f no-such-file || : ; \
38595 CONFIG_SITE=no-such-file $(SHELL) \
38596 $$s/$$module_srcdir/configure \
38597 --srcdir=$${topdir}/$$module_srcdir \
38598 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38599 --target=${target_alias} \
38600 || exit 1
38601 @endif target-libmpx
38605 .PHONY: configure-stage1-target-libmpx maybe-configure-stage1-target-libmpx
38606 maybe-configure-stage1-target-libmpx:
38607 @if target-libmpx-bootstrap
38608 maybe-configure-stage1-target-libmpx: configure-stage1-target-libmpx
38609 configure-stage1-target-libmpx:
38610 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38611 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38612 @r=`${PWD_COMMAND}`; export r; \
38613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38614 TFLAGS="$(STAGE1_TFLAGS)"; \
38615 echo "Checking multilib configuration for libmpx..."; \
38616 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38617 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38618 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38619 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38620 else \
38621 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38622 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38623 fi; \
38624 else \
38625 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38626 fi; \
38627 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38628 $(NORMAL_TARGET_EXPORTS) \
38629 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38630 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38631 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38632 echo Configuring stage 1 in $(TARGET_SUBDIR)/libmpx; \
38633 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38634 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38635 case $(srcdir) in \
38636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38637 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38639 esac; \
38640 module_srcdir=libmpx; \
38641 $(SHELL) $$s/$$module_srcdir/configure \
38642 --srcdir=$${topdir}/$$module_srcdir \
38643 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38644 --target=${target_alias} \
38646 $(STAGE1_CONFIGURE_FLAGS)
38647 @endif target-libmpx-bootstrap
38649 .PHONY: configure-stage2-target-libmpx maybe-configure-stage2-target-libmpx
38650 maybe-configure-stage2-target-libmpx:
38651 @if target-libmpx-bootstrap
38652 maybe-configure-stage2-target-libmpx: configure-stage2-target-libmpx
38653 configure-stage2-target-libmpx:
38654 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38655 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38656 @r=`${PWD_COMMAND}`; export r; \
38657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38658 TFLAGS="$(STAGE2_TFLAGS)"; \
38659 echo "Checking multilib configuration for libmpx..."; \
38660 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38661 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38662 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38663 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38664 else \
38665 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38666 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38667 fi; \
38668 else \
38669 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38670 fi; \
38671 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38672 $(NORMAL_TARGET_EXPORTS) \
38674 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38675 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38676 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38677 echo Configuring stage 2 in $(TARGET_SUBDIR)/libmpx; \
38678 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38679 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38680 case $(srcdir) in \
38681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38682 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38684 esac; \
38685 module_srcdir=libmpx; \
38686 $(SHELL) $$s/$$module_srcdir/configure \
38687 --srcdir=$${topdir}/$$module_srcdir \
38688 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38689 --target=${target_alias} \
38690 --with-build-libsubdir=$(HOST_SUBDIR) \
38691 $(STAGE2_CONFIGURE_FLAGS)
38692 @endif target-libmpx-bootstrap
38694 .PHONY: configure-stage3-target-libmpx maybe-configure-stage3-target-libmpx
38695 maybe-configure-stage3-target-libmpx:
38696 @if target-libmpx-bootstrap
38697 maybe-configure-stage3-target-libmpx: configure-stage3-target-libmpx
38698 configure-stage3-target-libmpx:
38699 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38700 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38701 @r=`${PWD_COMMAND}`; export r; \
38702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38703 TFLAGS="$(STAGE3_TFLAGS)"; \
38704 echo "Checking multilib configuration for libmpx..."; \
38705 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38706 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38707 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38708 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38709 else \
38710 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38711 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38712 fi; \
38713 else \
38714 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38715 fi; \
38716 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38717 $(NORMAL_TARGET_EXPORTS) \
38719 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38720 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38721 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38722 echo Configuring stage 3 in $(TARGET_SUBDIR)/libmpx; \
38723 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38724 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38725 case $(srcdir) in \
38726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38727 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38729 esac; \
38730 module_srcdir=libmpx; \
38731 $(SHELL) $$s/$$module_srcdir/configure \
38732 --srcdir=$${topdir}/$$module_srcdir \
38733 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38734 --target=${target_alias} \
38735 --with-build-libsubdir=$(HOST_SUBDIR) \
38736 $(STAGE3_CONFIGURE_FLAGS)
38737 @endif target-libmpx-bootstrap
38739 .PHONY: configure-stage4-target-libmpx maybe-configure-stage4-target-libmpx
38740 maybe-configure-stage4-target-libmpx:
38741 @if target-libmpx-bootstrap
38742 maybe-configure-stage4-target-libmpx: configure-stage4-target-libmpx
38743 configure-stage4-target-libmpx:
38744 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38745 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38746 @r=`${PWD_COMMAND}`; export r; \
38747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38748 TFLAGS="$(STAGE4_TFLAGS)"; \
38749 echo "Checking multilib configuration for libmpx..."; \
38750 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38751 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38752 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38753 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38754 else \
38755 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38756 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38757 fi; \
38758 else \
38759 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38760 fi; \
38761 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38762 $(NORMAL_TARGET_EXPORTS) \
38764 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38765 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38766 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38767 echo Configuring stage 4 in $(TARGET_SUBDIR)/libmpx; \
38768 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38769 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38770 case $(srcdir) in \
38771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38772 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38774 esac; \
38775 module_srcdir=libmpx; \
38776 $(SHELL) $$s/$$module_srcdir/configure \
38777 --srcdir=$${topdir}/$$module_srcdir \
38778 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38779 --target=${target_alias} \
38780 --with-build-libsubdir=$(HOST_SUBDIR) \
38781 $(STAGE4_CONFIGURE_FLAGS)
38782 @endif target-libmpx-bootstrap
38784 .PHONY: configure-stageprofile-target-libmpx maybe-configure-stageprofile-target-libmpx
38785 maybe-configure-stageprofile-target-libmpx:
38786 @if target-libmpx-bootstrap
38787 maybe-configure-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
38788 configure-stageprofile-target-libmpx:
38789 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38790 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38791 @r=`${PWD_COMMAND}`; export r; \
38792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38793 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38794 echo "Checking multilib configuration for libmpx..."; \
38795 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38796 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38797 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38798 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38799 else \
38800 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38801 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38802 fi; \
38803 else \
38804 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38805 fi; \
38806 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38807 $(NORMAL_TARGET_EXPORTS) \
38809 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38810 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38811 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38812 echo Configuring stage profile in $(TARGET_SUBDIR)/libmpx; \
38813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38814 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38815 case $(srcdir) in \
38816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38817 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38819 esac; \
38820 module_srcdir=libmpx; \
38821 $(SHELL) $$s/$$module_srcdir/configure \
38822 --srcdir=$${topdir}/$$module_srcdir \
38823 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38824 --target=${target_alias} \
38825 --with-build-libsubdir=$(HOST_SUBDIR) \
38826 $(STAGEprofile_CONFIGURE_FLAGS)
38827 @endif target-libmpx-bootstrap
38829 .PHONY: configure-stagefeedback-target-libmpx maybe-configure-stagefeedback-target-libmpx
38830 maybe-configure-stagefeedback-target-libmpx:
38831 @if target-libmpx-bootstrap
38832 maybe-configure-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
38833 configure-stagefeedback-target-libmpx:
38834 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38835 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38836 @r=`${PWD_COMMAND}`; export r; \
38837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38838 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38839 echo "Checking multilib configuration for libmpx..."; \
38840 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38841 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38842 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38843 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38844 else \
38845 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38846 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38847 fi; \
38848 else \
38849 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38850 fi; \
38851 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38852 $(NORMAL_TARGET_EXPORTS) \
38854 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38855 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38856 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38857 echo Configuring stage feedback in $(TARGET_SUBDIR)/libmpx; \
38858 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38859 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38860 case $(srcdir) in \
38861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38862 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38864 esac; \
38865 module_srcdir=libmpx; \
38866 $(SHELL) $$s/$$module_srcdir/configure \
38867 --srcdir=$${topdir}/$$module_srcdir \
38868 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38869 --target=${target_alias} \
38870 --with-build-libsubdir=$(HOST_SUBDIR) \
38871 $(STAGEfeedback_CONFIGURE_FLAGS)
38872 @endif target-libmpx-bootstrap
38874 .PHONY: configure-stageautoprofile-target-libmpx maybe-configure-stageautoprofile-target-libmpx
38875 maybe-configure-stageautoprofile-target-libmpx:
38876 @if target-libmpx-bootstrap
38877 maybe-configure-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
38878 configure-stageautoprofile-target-libmpx:
38879 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38880 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38881 @r=`${PWD_COMMAND}`; export r; \
38882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38883 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38884 echo "Checking multilib configuration for libmpx..."; \
38885 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38886 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38887 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38888 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38889 else \
38890 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38891 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38892 fi; \
38893 else \
38894 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38895 fi; \
38896 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38897 $(NORMAL_TARGET_EXPORTS) \
38899 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38900 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38901 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38902 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libmpx; \
38903 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38904 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38905 case $(srcdir) in \
38906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38907 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38909 esac; \
38910 module_srcdir=libmpx; \
38911 $(SHELL) $$s/$$module_srcdir/configure \
38912 --srcdir=$${topdir}/$$module_srcdir \
38913 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38914 --target=${target_alias} \
38915 --with-build-libsubdir=$(HOST_SUBDIR) \
38916 $(STAGEautoprofile_CONFIGURE_FLAGS)
38917 @endif target-libmpx-bootstrap
38919 .PHONY: configure-stageautofeedback-target-libmpx maybe-configure-stageautofeedback-target-libmpx
38920 maybe-configure-stageautofeedback-target-libmpx:
38921 @if target-libmpx-bootstrap
38922 maybe-configure-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
38923 configure-stageautofeedback-target-libmpx:
38924 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38925 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
38926 @r=`${PWD_COMMAND}`; export r; \
38927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38928 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38929 echo "Checking multilib configuration for libmpx..."; \
38930 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null; \
38931 if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38932 if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
38933 rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
38934 else \
38935 rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
38936 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38937 fi; \
38938 else \
38939 mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
38940 fi; \
38941 test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
38942 $(NORMAL_TARGET_EXPORTS) \
38944 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38945 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38946 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38947 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libmpx; \
38948 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx; \
38949 cd $(TARGET_SUBDIR)/libmpx || exit 1; \
38950 case $(srcdir) in \
38951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38952 *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
38953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38954 esac; \
38955 module_srcdir=libmpx; \
38956 $(SHELL) $$s/$$module_srcdir/configure \
38957 --srcdir=$${topdir}/$$module_srcdir \
38958 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38959 --target=${target_alias} \
38960 --with-build-libsubdir=$(HOST_SUBDIR) \
38961 $(STAGEautofeedback_CONFIGURE_FLAGS)
38962 @endif target-libmpx-bootstrap
38968 .PHONY: all-target-libmpx maybe-all-target-libmpx
38969 maybe-all-target-libmpx:
38970 @if gcc-bootstrap
38971 all-target-libmpx: stage_current
38972 @endif gcc-bootstrap
38973 @if target-libmpx
38974 TARGET-target-libmpx=all
38975 maybe-all-target-libmpx: all-target-libmpx
38976 all-target-libmpx: configure-target-libmpx
38977 @r=`${PWD_COMMAND}`; export r; \
38978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38979 $(NORMAL_TARGET_EXPORTS) \
38980 (cd $(TARGET_SUBDIR)/libmpx && \
38981 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38982 $(TARGET-target-libmpx))
38983 @endif target-libmpx
38987 .PHONY: all-stage1-target-libmpx maybe-all-stage1-target-libmpx
38988 .PHONY: clean-stage1-target-libmpx maybe-clean-stage1-target-libmpx
38989 maybe-all-stage1-target-libmpx:
38990 maybe-clean-stage1-target-libmpx:
38991 @if target-libmpx-bootstrap
38992 maybe-all-stage1-target-libmpx: all-stage1-target-libmpx
38993 all-stage1: all-stage1-target-libmpx
38994 TARGET-stage1-target-libmpx = $(TARGET-target-libmpx)
38995 all-stage1-target-libmpx: configure-stage1-target-libmpx
38996 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38997 @r=`${PWD_COMMAND}`; export r; \
38998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38999 TFLAGS="$(STAGE1_TFLAGS)"; \
39000 $(NORMAL_TARGET_EXPORTS) \
39001 cd $(TARGET_SUBDIR)/libmpx && \
39003 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39004 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39005 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39006 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39007 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39008 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39009 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39010 $(EXTRA_TARGET_FLAGS) \
39012 TFLAGS="$(STAGE1_TFLAGS)" \
39013 $(TARGET-stage1-target-libmpx)
39015 maybe-clean-stage1-target-libmpx: clean-stage1-target-libmpx
39016 clean-stage1: clean-stage1-target-libmpx
39017 clean-stage1-target-libmpx:
39018 @if [ $(current_stage) = stage1 ]; then \
39019 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39020 else \
39021 [ -f $(TARGET_SUBDIR)/stage1-libmpx/Makefile ] || exit 0; \
39022 $(MAKE) stage1-start; \
39023 fi; \
39024 cd $(TARGET_SUBDIR)/libmpx && \
39025 $(MAKE) $(EXTRA_TARGET_FLAGS) \
39026 clean
39027 @endif target-libmpx-bootstrap
39030 .PHONY: all-stage2-target-libmpx maybe-all-stage2-target-libmpx
39031 .PHONY: clean-stage2-target-libmpx maybe-clean-stage2-target-libmpx
39032 maybe-all-stage2-target-libmpx:
39033 maybe-clean-stage2-target-libmpx:
39034 @if target-libmpx-bootstrap
39035 maybe-all-stage2-target-libmpx: all-stage2-target-libmpx
39036 all-stage2: all-stage2-target-libmpx
39037 TARGET-stage2-target-libmpx = $(TARGET-target-libmpx)
39038 all-stage2-target-libmpx: configure-stage2-target-libmpx
39039 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39040 @r=`${PWD_COMMAND}`; export r; \
39041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39042 TFLAGS="$(STAGE2_TFLAGS)"; \
39043 $(NORMAL_TARGET_EXPORTS) \
39045 cd $(TARGET_SUBDIR)/libmpx && \
39047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39048 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39049 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39050 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39054 $(EXTRA_TARGET_FLAGS) \
39055 TFLAGS="$(STAGE2_TFLAGS)" \
39056 $(TARGET-stage2-target-libmpx)
39058 maybe-clean-stage2-target-libmpx: clean-stage2-target-libmpx
39059 clean-stage2: clean-stage2-target-libmpx
39060 clean-stage2-target-libmpx:
39061 @if [ $(current_stage) = stage2 ]; then \
39062 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39063 else \
39064 [ -f $(TARGET_SUBDIR)/stage2-libmpx/Makefile ] || exit 0; \
39065 $(MAKE) stage2-start; \
39066 fi; \
39067 cd $(TARGET_SUBDIR)/libmpx && \
39068 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39069 @endif target-libmpx-bootstrap
39072 .PHONY: all-stage3-target-libmpx maybe-all-stage3-target-libmpx
39073 .PHONY: clean-stage3-target-libmpx maybe-clean-stage3-target-libmpx
39074 maybe-all-stage3-target-libmpx:
39075 maybe-clean-stage3-target-libmpx:
39076 @if target-libmpx-bootstrap
39077 maybe-all-stage3-target-libmpx: all-stage3-target-libmpx
39078 all-stage3: all-stage3-target-libmpx
39079 TARGET-stage3-target-libmpx = $(TARGET-target-libmpx)
39080 all-stage3-target-libmpx: configure-stage3-target-libmpx
39081 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39082 @r=`${PWD_COMMAND}`; export r; \
39083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39084 TFLAGS="$(STAGE3_TFLAGS)"; \
39085 $(NORMAL_TARGET_EXPORTS) \
39087 cd $(TARGET_SUBDIR)/libmpx && \
39089 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39090 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39091 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39092 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39093 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39094 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39095 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39096 $(EXTRA_TARGET_FLAGS) \
39097 TFLAGS="$(STAGE3_TFLAGS)" \
39098 $(TARGET-stage3-target-libmpx)
39100 maybe-clean-stage3-target-libmpx: clean-stage3-target-libmpx
39101 clean-stage3: clean-stage3-target-libmpx
39102 clean-stage3-target-libmpx:
39103 @if [ $(current_stage) = stage3 ]; then \
39104 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39105 else \
39106 [ -f $(TARGET_SUBDIR)/stage3-libmpx/Makefile ] || exit 0; \
39107 $(MAKE) stage3-start; \
39108 fi; \
39109 cd $(TARGET_SUBDIR)/libmpx && \
39110 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39111 @endif target-libmpx-bootstrap
39114 .PHONY: all-stage4-target-libmpx maybe-all-stage4-target-libmpx
39115 .PHONY: clean-stage4-target-libmpx maybe-clean-stage4-target-libmpx
39116 maybe-all-stage4-target-libmpx:
39117 maybe-clean-stage4-target-libmpx:
39118 @if target-libmpx-bootstrap
39119 maybe-all-stage4-target-libmpx: all-stage4-target-libmpx
39120 all-stage4: all-stage4-target-libmpx
39121 TARGET-stage4-target-libmpx = $(TARGET-target-libmpx)
39122 all-stage4-target-libmpx: configure-stage4-target-libmpx
39123 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39124 @r=`${PWD_COMMAND}`; export r; \
39125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39126 TFLAGS="$(STAGE4_TFLAGS)"; \
39127 $(NORMAL_TARGET_EXPORTS) \
39129 cd $(TARGET_SUBDIR)/libmpx && \
39131 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39132 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39133 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39134 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39135 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39136 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39137 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39138 $(EXTRA_TARGET_FLAGS) \
39139 TFLAGS="$(STAGE4_TFLAGS)" \
39140 $(TARGET-stage4-target-libmpx)
39142 maybe-clean-stage4-target-libmpx: clean-stage4-target-libmpx
39143 clean-stage4: clean-stage4-target-libmpx
39144 clean-stage4-target-libmpx:
39145 @if [ $(current_stage) = stage4 ]; then \
39146 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39147 else \
39148 [ -f $(TARGET_SUBDIR)/stage4-libmpx/Makefile ] || exit 0; \
39149 $(MAKE) stage4-start; \
39150 fi; \
39151 cd $(TARGET_SUBDIR)/libmpx && \
39152 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39153 @endif target-libmpx-bootstrap
39156 .PHONY: all-stageprofile-target-libmpx maybe-all-stageprofile-target-libmpx
39157 .PHONY: clean-stageprofile-target-libmpx maybe-clean-stageprofile-target-libmpx
39158 maybe-all-stageprofile-target-libmpx:
39159 maybe-clean-stageprofile-target-libmpx:
39160 @if target-libmpx-bootstrap
39161 maybe-all-stageprofile-target-libmpx: all-stageprofile-target-libmpx
39162 all-stageprofile: all-stageprofile-target-libmpx
39163 TARGET-stageprofile-target-libmpx = $(TARGET-target-libmpx)
39164 all-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
39165 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39166 @r=`${PWD_COMMAND}`; export r; \
39167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39168 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39169 $(NORMAL_TARGET_EXPORTS) \
39171 cd $(TARGET_SUBDIR)/libmpx && \
39173 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39174 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39175 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39176 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39177 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39178 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39179 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39180 $(EXTRA_TARGET_FLAGS) \
39181 TFLAGS="$(STAGEprofile_TFLAGS)" \
39182 $(TARGET-stageprofile-target-libmpx)
39184 maybe-clean-stageprofile-target-libmpx: clean-stageprofile-target-libmpx
39185 clean-stageprofile: clean-stageprofile-target-libmpx
39186 clean-stageprofile-target-libmpx:
39187 @if [ $(current_stage) = stageprofile ]; then \
39188 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39189 else \
39190 [ -f $(TARGET_SUBDIR)/stageprofile-libmpx/Makefile ] || exit 0; \
39191 $(MAKE) stageprofile-start; \
39192 fi; \
39193 cd $(TARGET_SUBDIR)/libmpx && \
39194 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39195 @endif target-libmpx-bootstrap
39198 .PHONY: all-stagefeedback-target-libmpx maybe-all-stagefeedback-target-libmpx
39199 .PHONY: clean-stagefeedback-target-libmpx maybe-clean-stagefeedback-target-libmpx
39200 maybe-all-stagefeedback-target-libmpx:
39201 maybe-clean-stagefeedback-target-libmpx:
39202 @if target-libmpx-bootstrap
39203 maybe-all-stagefeedback-target-libmpx: all-stagefeedback-target-libmpx
39204 all-stagefeedback: all-stagefeedback-target-libmpx
39205 TARGET-stagefeedback-target-libmpx = $(TARGET-target-libmpx)
39206 all-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
39207 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39208 @r=`${PWD_COMMAND}`; export r; \
39209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39210 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39211 $(NORMAL_TARGET_EXPORTS) \
39213 cd $(TARGET_SUBDIR)/libmpx && \
39215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39216 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39217 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39218 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39222 $(EXTRA_TARGET_FLAGS) \
39223 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39224 $(TARGET-stagefeedback-target-libmpx)
39226 maybe-clean-stagefeedback-target-libmpx: clean-stagefeedback-target-libmpx
39227 clean-stagefeedback: clean-stagefeedback-target-libmpx
39228 clean-stagefeedback-target-libmpx:
39229 @if [ $(current_stage) = stagefeedback ]; then \
39230 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39231 else \
39232 [ -f $(TARGET_SUBDIR)/stagefeedback-libmpx/Makefile ] || exit 0; \
39233 $(MAKE) stagefeedback-start; \
39234 fi; \
39235 cd $(TARGET_SUBDIR)/libmpx && \
39236 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39237 @endif target-libmpx-bootstrap
39240 .PHONY: all-stageautoprofile-target-libmpx maybe-all-stageautoprofile-target-libmpx
39241 .PHONY: clean-stageautoprofile-target-libmpx maybe-clean-stageautoprofile-target-libmpx
39242 maybe-all-stageautoprofile-target-libmpx:
39243 maybe-clean-stageautoprofile-target-libmpx:
39244 @if target-libmpx-bootstrap
39245 maybe-all-stageautoprofile-target-libmpx: all-stageautoprofile-target-libmpx
39246 all-stageautoprofile: all-stageautoprofile-target-libmpx
39247 TARGET-stageautoprofile-target-libmpx = $(TARGET-target-libmpx)
39248 all-stageautoprofile-target-libmpx: configure-stageautoprofile-target-libmpx
39249 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39250 @r=`${PWD_COMMAND}`; export r; \
39251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39252 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39253 $(NORMAL_TARGET_EXPORTS) \
39255 cd $(TARGET_SUBDIR)/libmpx && \
39256 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39257 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39258 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39259 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39260 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39261 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39262 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39263 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39264 $(EXTRA_TARGET_FLAGS) \
39265 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39266 $(TARGET-stageautoprofile-target-libmpx)
39268 maybe-clean-stageautoprofile-target-libmpx: clean-stageautoprofile-target-libmpx
39269 clean-stageautoprofile: clean-stageautoprofile-target-libmpx
39270 clean-stageautoprofile-target-libmpx:
39271 @if [ $(current_stage) = stageautoprofile ]; then \
39272 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39273 else \
39274 [ -f $(TARGET_SUBDIR)/stageautoprofile-libmpx/Makefile ] || exit 0; \
39275 $(MAKE) stageautoprofile-start; \
39276 fi; \
39277 cd $(TARGET_SUBDIR)/libmpx && \
39278 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39279 @endif target-libmpx-bootstrap
39282 .PHONY: all-stageautofeedback-target-libmpx maybe-all-stageautofeedback-target-libmpx
39283 .PHONY: clean-stageautofeedback-target-libmpx maybe-clean-stageautofeedback-target-libmpx
39284 maybe-all-stageautofeedback-target-libmpx:
39285 maybe-clean-stageautofeedback-target-libmpx:
39286 @if target-libmpx-bootstrap
39287 maybe-all-stageautofeedback-target-libmpx: all-stageautofeedback-target-libmpx
39288 all-stageautofeedback: all-stageautofeedback-target-libmpx
39289 TARGET-stageautofeedback-target-libmpx = $(TARGET-target-libmpx)
39290 all-stageautofeedback-target-libmpx: configure-stageautofeedback-target-libmpx
39291 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39292 @r=`${PWD_COMMAND}`; export r; \
39293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39294 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39295 $(NORMAL_TARGET_EXPORTS) \
39297 cd $(TARGET_SUBDIR)/libmpx && \
39299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39300 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39301 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39302 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39306 $(EXTRA_TARGET_FLAGS) \
39307 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39308 $(TARGET-stageautofeedback-target-libmpx)
39310 maybe-clean-stageautofeedback-target-libmpx: clean-stageautofeedback-target-libmpx
39311 clean-stageautofeedback: clean-stageautofeedback-target-libmpx
39312 clean-stageautofeedback-target-libmpx:
39313 @if [ $(current_stage) = stageautofeedback ]; then \
39314 [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39315 else \
39316 [ -f $(TARGET_SUBDIR)/stageautofeedback-libmpx/Makefile ] || exit 0; \
39317 $(MAKE) stageautofeedback-start; \
39318 fi; \
39319 cd $(TARGET_SUBDIR)/libmpx && \
39320 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
39321 @endif target-libmpx-bootstrap
39328 .PHONY: check-target-libmpx maybe-check-target-libmpx
39329 maybe-check-target-libmpx:
39330 @if target-libmpx
39331 maybe-check-target-libmpx: check-target-libmpx
39333 check-target-libmpx:
39334 @: $(MAKE); $(unstage)
39335 @r=`${PWD_COMMAND}`; export r; \
39336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39337 $(NORMAL_TARGET_EXPORTS) \
39338 (cd $(TARGET_SUBDIR)/libmpx && \
39339 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39341 @endif target-libmpx
39343 .PHONY: install-target-libmpx maybe-install-target-libmpx
39344 maybe-install-target-libmpx:
39345 @if target-libmpx
39346 maybe-install-target-libmpx: install-target-libmpx
39348 install-target-libmpx: installdirs
39349 @: $(MAKE); $(unstage)
39350 @r=`${PWD_COMMAND}`; export r; \
39351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39352 $(NORMAL_TARGET_EXPORTS) \
39353 (cd $(TARGET_SUBDIR)/libmpx && \
39354 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39356 @endif target-libmpx
39358 .PHONY: install-strip-target-libmpx maybe-install-strip-target-libmpx
39359 maybe-install-strip-target-libmpx:
39360 @if target-libmpx
39361 maybe-install-strip-target-libmpx: install-strip-target-libmpx
39363 install-strip-target-libmpx: installdirs
39364 @: $(MAKE); $(unstage)
39365 @r=`${PWD_COMMAND}`; export r; \
39366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39367 $(NORMAL_TARGET_EXPORTS) \
39368 (cd $(TARGET_SUBDIR)/libmpx && \
39369 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39371 @endif target-libmpx
39373 # Other targets (info, dvi, pdf, etc.)
39375 .PHONY: maybe-info-target-libmpx info-target-libmpx
39376 maybe-info-target-libmpx:
39377 @if target-libmpx
39378 maybe-info-target-libmpx: info-target-libmpx
39380 info-target-libmpx: \
39381 configure-target-libmpx
39382 @: $(MAKE); $(unstage)
39383 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39384 r=`${PWD_COMMAND}`; export r; \
39385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39386 $(NORMAL_TARGET_EXPORTS) \
39387 echo "Doing info in $(TARGET_SUBDIR)/libmpx"; \
39388 for flag in $(EXTRA_TARGET_FLAGS); do \
39389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39390 done; \
39391 (cd $(TARGET_SUBDIR)/libmpx && \
39392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39394 "RANLIB=$${RANLIB}" \
39395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39396 info) \
39397 || exit 1
39399 @endif target-libmpx
39401 .PHONY: maybe-dvi-target-libmpx dvi-target-libmpx
39402 maybe-dvi-target-libmpx:
39403 @if target-libmpx
39404 maybe-dvi-target-libmpx: dvi-target-libmpx
39406 dvi-target-libmpx: \
39407 configure-target-libmpx
39408 @: $(MAKE); $(unstage)
39409 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39410 r=`${PWD_COMMAND}`; export r; \
39411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39412 $(NORMAL_TARGET_EXPORTS) \
39413 echo "Doing dvi in $(TARGET_SUBDIR)/libmpx"; \
39414 for flag in $(EXTRA_TARGET_FLAGS); do \
39415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39416 done; \
39417 (cd $(TARGET_SUBDIR)/libmpx && \
39418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39420 "RANLIB=$${RANLIB}" \
39421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39422 dvi) \
39423 || exit 1
39425 @endif target-libmpx
39427 .PHONY: maybe-pdf-target-libmpx pdf-target-libmpx
39428 maybe-pdf-target-libmpx:
39429 @if target-libmpx
39430 maybe-pdf-target-libmpx: pdf-target-libmpx
39432 pdf-target-libmpx: \
39433 configure-target-libmpx
39434 @: $(MAKE); $(unstage)
39435 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39436 r=`${PWD_COMMAND}`; export r; \
39437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39438 $(NORMAL_TARGET_EXPORTS) \
39439 echo "Doing pdf in $(TARGET_SUBDIR)/libmpx"; \
39440 for flag in $(EXTRA_TARGET_FLAGS); do \
39441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39442 done; \
39443 (cd $(TARGET_SUBDIR)/libmpx && \
39444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39446 "RANLIB=$${RANLIB}" \
39447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39448 pdf) \
39449 || exit 1
39451 @endif target-libmpx
39453 .PHONY: maybe-html-target-libmpx html-target-libmpx
39454 maybe-html-target-libmpx:
39455 @if target-libmpx
39456 maybe-html-target-libmpx: html-target-libmpx
39458 html-target-libmpx: \
39459 configure-target-libmpx
39460 @: $(MAKE); $(unstage)
39461 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39462 r=`${PWD_COMMAND}`; export r; \
39463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39464 $(NORMAL_TARGET_EXPORTS) \
39465 echo "Doing html in $(TARGET_SUBDIR)/libmpx"; \
39466 for flag in $(EXTRA_TARGET_FLAGS); do \
39467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39468 done; \
39469 (cd $(TARGET_SUBDIR)/libmpx && \
39470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39472 "RANLIB=$${RANLIB}" \
39473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39474 html) \
39475 || exit 1
39477 @endif target-libmpx
39479 .PHONY: maybe-TAGS-target-libmpx TAGS-target-libmpx
39480 maybe-TAGS-target-libmpx:
39481 @if target-libmpx
39482 maybe-TAGS-target-libmpx: TAGS-target-libmpx
39484 TAGS-target-libmpx: \
39485 configure-target-libmpx
39486 @: $(MAKE); $(unstage)
39487 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39488 r=`${PWD_COMMAND}`; export r; \
39489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39490 $(NORMAL_TARGET_EXPORTS) \
39491 echo "Doing TAGS in $(TARGET_SUBDIR)/libmpx"; \
39492 for flag in $(EXTRA_TARGET_FLAGS); do \
39493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39494 done; \
39495 (cd $(TARGET_SUBDIR)/libmpx && \
39496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39498 "RANLIB=$${RANLIB}" \
39499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39500 TAGS) \
39501 || exit 1
39503 @endif target-libmpx
39505 .PHONY: maybe-install-info-target-libmpx install-info-target-libmpx
39506 maybe-install-info-target-libmpx:
39507 @if target-libmpx
39508 maybe-install-info-target-libmpx: install-info-target-libmpx
39510 install-info-target-libmpx: \
39511 configure-target-libmpx \
39512 info-target-libmpx
39513 @: $(MAKE); $(unstage)
39514 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39515 r=`${PWD_COMMAND}`; export r; \
39516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39517 $(NORMAL_TARGET_EXPORTS) \
39518 echo "Doing install-info in $(TARGET_SUBDIR)/libmpx"; \
39519 for flag in $(EXTRA_TARGET_FLAGS); do \
39520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39521 done; \
39522 (cd $(TARGET_SUBDIR)/libmpx && \
39523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39525 "RANLIB=$${RANLIB}" \
39526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39527 install-info) \
39528 || exit 1
39530 @endif target-libmpx
39532 .PHONY: maybe-install-pdf-target-libmpx install-pdf-target-libmpx
39533 maybe-install-pdf-target-libmpx:
39534 @if target-libmpx
39535 maybe-install-pdf-target-libmpx: install-pdf-target-libmpx
39537 install-pdf-target-libmpx: \
39538 configure-target-libmpx \
39539 pdf-target-libmpx
39540 @: $(MAKE); $(unstage)
39541 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39542 r=`${PWD_COMMAND}`; export r; \
39543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39544 $(NORMAL_TARGET_EXPORTS) \
39545 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmpx"; \
39546 for flag in $(EXTRA_TARGET_FLAGS); do \
39547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39548 done; \
39549 (cd $(TARGET_SUBDIR)/libmpx && \
39550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39552 "RANLIB=$${RANLIB}" \
39553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39554 install-pdf) \
39555 || exit 1
39557 @endif target-libmpx
39559 .PHONY: maybe-install-html-target-libmpx install-html-target-libmpx
39560 maybe-install-html-target-libmpx:
39561 @if target-libmpx
39562 maybe-install-html-target-libmpx: install-html-target-libmpx
39564 install-html-target-libmpx: \
39565 configure-target-libmpx \
39566 html-target-libmpx
39567 @: $(MAKE); $(unstage)
39568 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39569 r=`${PWD_COMMAND}`; export r; \
39570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39571 $(NORMAL_TARGET_EXPORTS) \
39572 echo "Doing install-html in $(TARGET_SUBDIR)/libmpx"; \
39573 for flag in $(EXTRA_TARGET_FLAGS); do \
39574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39575 done; \
39576 (cd $(TARGET_SUBDIR)/libmpx && \
39577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39579 "RANLIB=$${RANLIB}" \
39580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39581 install-html) \
39582 || exit 1
39584 @endif target-libmpx
39586 .PHONY: maybe-installcheck-target-libmpx installcheck-target-libmpx
39587 maybe-installcheck-target-libmpx:
39588 @if target-libmpx
39589 maybe-installcheck-target-libmpx: installcheck-target-libmpx
39591 installcheck-target-libmpx: \
39592 configure-target-libmpx
39593 @: $(MAKE); $(unstage)
39594 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39595 r=`${PWD_COMMAND}`; export r; \
39596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39597 $(NORMAL_TARGET_EXPORTS) \
39598 echo "Doing installcheck in $(TARGET_SUBDIR)/libmpx"; \
39599 for flag in $(EXTRA_TARGET_FLAGS); do \
39600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39601 done; \
39602 (cd $(TARGET_SUBDIR)/libmpx && \
39603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39605 "RANLIB=$${RANLIB}" \
39606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39607 installcheck) \
39608 || exit 1
39610 @endif target-libmpx
39612 .PHONY: maybe-mostlyclean-target-libmpx mostlyclean-target-libmpx
39613 maybe-mostlyclean-target-libmpx:
39614 @if target-libmpx
39615 maybe-mostlyclean-target-libmpx: mostlyclean-target-libmpx
39617 mostlyclean-target-libmpx:
39618 @: $(MAKE); $(unstage)
39619 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39620 r=`${PWD_COMMAND}`; export r; \
39621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39622 $(NORMAL_TARGET_EXPORTS) \
39623 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmpx"; \
39624 for flag in $(EXTRA_TARGET_FLAGS); do \
39625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39626 done; \
39627 (cd $(TARGET_SUBDIR)/libmpx && \
39628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39630 "RANLIB=$${RANLIB}" \
39631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39632 mostlyclean) \
39633 || exit 1
39635 @endif target-libmpx
39637 .PHONY: maybe-clean-target-libmpx clean-target-libmpx
39638 maybe-clean-target-libmpx:
39639 @if target-libmpx
39640 maybe-clean-target-libmpx: clean-target-libmpx
39642 clean-target-libmpx:
39643 @: $(MAKE); $(unstage)
39644 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39645 r=`${PWD_COMMAND}`; export r; \
39646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39647 $(NORMAL_TARGET_EXPORTS) \
39648 echo "Doing clean in $(TARGET_SUBDIR)/libmpx"; \
39649 for flag in $(EXTRA_TARGET_FLAGS); do \
39650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39651 done; \
39652 (cd $(TARGET_SUBDIR)/libmpx && \
39653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39655 "RANLIB=$${RANLIB}" \
39656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39657 clean) \
39658 || exit 1
39660 @endif target-libmpx
39662 .PHONY: maybe-distclean-target-libmpx distclean-target-libmpx
39663 maybe-distclean-target-libmpx:
39664 @if target-libmpx
39665 maybe-distclean-target-libmpx: distclean-target-libmpx
39667 distclean-target-libmpx:
39668 @: $(MAKE); $(unstage)
39669 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39670 r=`${PWD_COMMAND}`; export r; \
39671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39672 $(NORMAL_TARGET_EXPORTS) \
39673 echo "Doing distclean in $(TARGET_SUBDIR)/libmpx"; \
39674 for flag in $(EXTRA_TARGET_FLAGS); do \
39675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39676 done; \
39677 (cd $(TARGET_SUBDIR)/libmpx && \
39678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39680 "RANLIB=$${RANLIB}" \
39681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39682 distclean) \
39683 || exit 1
39685 @endif target-libmpx
39687 .PHONY: maybe-maintainer-clean-target-libmpx maintainer-clean-target-libmpx
39688 maybe-maintainer-clean-target-libmpx:
39689 @if target-libmpx
39690 maybe-maintainer-clean-target-libmpx: maintainer-clean-target-libmpx
39692 maintainer-clean-target-libmpx:
39693 @: $(MAKE); $(unstage)
39694 @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
39695 r=`${PWD_COMMAND}`; export r; \
39696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39697 $(NORMAL_TARGET_EXPORTS) \
39698 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmpx"; \
39699 for flag in $(EXTRA_TARGET_FLAGS); do \
39700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39701 done; \
39702 (cd $(TARGET_SUBDIR)/libmpx && \
39703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39705 "RANLIB=$${RANLIB}" \
39706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39707 maintainer-clean) \
39708 || exit 1
39710 @endif target-libmpx
39716 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
39717 maybe-configure-target-libvtv:
39718 @if gcc-bootstrap
39719 configure-target-libvtv: stage_current
39720 @endif gcc-bootstrap
39721 @if target-libvtv
39722 maybe-configure-target-libvtv: configure-target-libvtv
39723 configure-target-libvtv:
39724 @r=`${PWD_COMMAND}`; export r; \
39725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39726 echo "Checking multilib configuration for libvtv..."; \
39727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39728 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39729 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39730 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39731 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39732 else \
39733 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39734 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39735 fi; \
39736 else \
39737 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39738 fi; \
39739 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39740 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39741 $(RAW_CXX_TARGET_EXPORTS) \
39742 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
39743 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
39744 case $(srcdir) in \
39745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39746 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39748 esac; \
39749 module_srcdir=libvtv; \
39750 rm -f no-such-file || : ; \
39751 CONFIG_SITE=no-such-file $(SHELL) \
39752 $$s/$$module_srcdir/configure \
39753 --srcdir=$${topdir}/$$module_srcdir \
39754 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39755 --target=${target_alias} \
39756 || exit 1
39757 @endif target-libvtv
39761 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
39762 maybe-configure-stage1-target-libvtv:
39763 @if target-libvtv-bootstrap
39764 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
39765 configure-stage1-target-libvtv:
39766 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39767 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39768 @r=`${PWD_COMMAND}`; export r; \
39769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39770 TFLAGS="$(STAGE1_TFLAGS)"; \
39771 echo "Checking multilib configuration for libvtv..."; \
39772 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39773 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39774 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39775 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39776 else \
39777 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39778 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39779 fi; \
39780 else \
39781 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39782 fi; \
39783 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39784 $(RAW_CXX_TARGET_EXPORTS) \
39785 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39786 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39787 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39788 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
39789 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39790 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39791 case $(srcdir) in \
39792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39793 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39795 esac; \
39796 module_srcdir=libvtv; \
39797 $(SHELL) $$s/$$module_srcdir/configure \
39798 --srcdir=$${topdir}/$$module_srcdir \
39799 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39800 --target=${target_alias} \
39802 $(STAGE1_CONFIGURE_FLAGS)
39803 @endif target-libvtv-bootstrap
39805 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
39806 maybe-configure-stage2-target-libvtv:
39807 @if target-libvtv-bootstrap
39808 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
39809 configure-stage2-target-libvtv:
39810 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39811 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39812 @r=`${PWD_COMMAND}`; export r; \
39813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39814 TFLAGS="$(STAGE2_TFLAGS)"; \
39815 echo "Checking multilib configuration for libvtv..."; \
39816 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39817 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39818 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39819 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39820 else \
39821 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39822 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39823 fi; \
39824 else \
39825 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39826 fi; \
39827 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39828 $(RAW_CXX_TARGET_EXPORTS) \
39830 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39831 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39832 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39833 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
39834 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39835 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39836 case $(srcdir) in \
39837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39838 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39840 esac; \
39841 module_srcdir=libvtv; \
39842 $(SHELL) $$s/$$module_srcdir/configure \
39843 --srcdir=$${topdir}/$$module_srcdir \
39844 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39845 --target=${target_alias} \
39846 --with-build-libsubdir=$(HOST_SUBDIR) \
39847 $(STAGE2_CONFIGURE_FLAGS)
39848 @endif target-libvtv-bootstrap
39850 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
39851 maybe-configure-stage3-target-libvtv:
39852 @if target-libvtv-bootstrap
39853 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
39854 configure-stage3-target-libvtv:
39855 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39856 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39857 @r=`${PWD_COMMAND}`; export r; \
39858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39859 TFLAGS="$(STAGE3_TFLAGS)"; \
39860 echo "Checking multilib configuration for libvtv..."; \
39861 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39862 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39863 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39864 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39865 else \
39866 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39867 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39868 fi; \
39869 else \
39870 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39871 fi; \
39872 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39873 $(RAW_CXX_TARGET_EXPORTS) \
39875 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39876 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39877 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39878 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
39879 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39880 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39881 case $(srcdir) in \
39882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39883 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39885 esac; \
39886 module_srcdir=libvtv; \
39887 $(SHELL) $$s/$$module_srcdir/configure \
39888 --srcdir=$${topdir}/$$module_srcdir \
39889 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39890 --target=${target_alias} \
39891 --with-build-libsubdir=$(HOST_SUBDIR) \
39892 $(STAGE3_CONFIGURE_FLAGS)
39893 @endif target-libvtv-bootstrap
39895 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
39896 maybe-configure-stage4-target-libvtv:
39897 @if target-libvtv-bootstrap
39898 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
39899 configure-stage4-target-libvtv:
39900 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39901 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39902 @r=`${PWD_COMMAND}`; export r; \
39903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39904 TFLAGS="$(STAGE4_TFLAGS)"; \
39905 echo "Checking multilib configuration for libvtv..."; \
39906 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39907 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39908 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39909 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39910 else \
39911 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39912 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39913 fi; \
39914 else \
39915 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39916 fi; \
39917 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39918 $(RAW_CXX_TARGET_EXPORTS) \
39920 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39921 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39922 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39923 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
39924 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39925 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39926 case $(srcdir) in \
39927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39928 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39930 esac; \
39931 module_srcdir=libvtv; \
39932 $(SHELL) $$s/$$module_srcdir/configure \
39933 --srcdir=$${topdir}/$$module_srcdir \
39934 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39935 --target=${target_alias} \
39936 --with-build-libsubdir=$(HOST_SUBDIR) \
39937 $(STAGE4_CONFIGURE_FLAGS)
39938 @endif target-libvtv-bootstrap
39940 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
39941 maybe-configure-stageprofile-target-libvtv:
39942 @if target-libvtv-bootstrap
39943 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
39944 configure-stageprofile-target-libvtv:
39945 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39946 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39947 @r=`${PWD_COMMAND}`; export r; \
39948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39949 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39950 echo "Checking multilib configuration for libvtv..."; \
39951 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39952 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39953 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39954 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
39955 else \
39956 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
39957 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39958 fi; \
39959 else \
39960 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
39961 fi; \
39962 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
39963 $(RAW_CXX_TARGET_EXPORTS) \
39965 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39966 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39967 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39968 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
39969 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
39970 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
39971 case $(srcdir) in \
39972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39973 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
39974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39975 esac; \
39976 module_srcdir=libvtv; \
39977 $(SHELL) $$s/$$module_srcdir/configure \
39978 --srcdir=$${topdir}/$$module_srcdir \
39979 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39980 --target=${target_alias} \
39981 --with-build-libsubdir=$(HOST_SUBDIR) \
39982 $(STAGEprofile_CONFIGURE_FLAGS)
39983 @endif target-libvtv-bootstrap
39985 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
39986 maybe-configure-stagefeedback-target-libvtv:
39987 @if target-libvtv-bootstrap
39988 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
39989 configure-stagefeedback-target-libvtv:
39990 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39991 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
39992 @r=`${PWD_COMMAND}`; export r; \
39993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39994 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39995 echo "Checking multilib configuration for libvtv..."; \
39996 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
39997 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39998 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
39999 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40000 else \
40001 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40002 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40003 fi; \
40004 else \
40005 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40006 fi; \
40007 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40008 $(RAW_CXX_TARGET_EXPORTS) \
40010 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40011 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40012 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40013 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
40014 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40015 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40016 case $(srcdir) in \
40017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40018 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40020 esac; \
40021 module_srcdir=libvtv; \
40022 $(SHELL) $$s/$$module_srcdir/configure \
40023 --srcdir=$${topdir}/$$module_srcdir \
40024 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40025 --target=${target_alias} \
40026 --with-build-libsubdir=$(HOST_SUBDIR) \
40027 $(STAGEfeedback_CONFIGURE_FLAGS)
40028 @endif target-libvtv-bootstrap
40030 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
40031 maybe-configure-stageautoprofile-target-libvtv:
40032 @if target-libvtv-bootstrap
40033 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
40034 configure-stageautoprofile-target-libvtv:
40035 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40036 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40037 @r=`${PWD_COMMAND}`; export r; \
40038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40039 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40040 echo "Checking multilib configuration for libvtv..."; \
40041 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40042 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40043 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40044 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40045 else \
40046 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40047 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40048 fi; \
40049 else \
40050 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40051 fi; \
40052 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40053 $(RAW_CXX_TARGET_EXPORTS) \
40055 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40056 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40057 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40058 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
40059 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40060 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40061 case $(srcdir) in \
40062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40063 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40065 esac; \
40066 module_srcdir=libvtv; \
40067 $(SHELL) $$s/$$module_srcdir/configure \
40068 --srcdir=$${topdir}/$$module_srcdir \
40069 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40070 --target=${target_alias} \
40071 --with-build-libsubdir=$(HOST_SUBDIR) \
40072 $(STAGEautoprofile_CONFIGURE_FLAGS)
40073 @endif target-libvtv-bootstrap
40075 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
40076 maybe-configure-stageautofeedback-target-libvtv:
40077 @if target-libvtv-bootstrap
40078 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
40079 configure-stageautofeedback-target-libvtv:
40080 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40081 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40082 @r=`${PWD_COMMAND}`; export r; \
40083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40084 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40085 echo "Checking multilib configuration for libvtv..."; \
40086 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40087 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40088 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40089 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40090 else \
40091 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40092 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40093 fi; \
40094 else \
40095 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40096 fi; \
40097 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40098 $(RAW_CXX_TARGET_EXPORTS) \
40100 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40101 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40102 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40103 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
40104 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40105 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40106 case $(srcdir) in \
40107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40108 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40110 esac; \
40111 module_srcdir=libvtv; \
40112 $(SHELL) $$s/$$module_srcdir/configure \
40113 --srcdir=$${topdir}/$$module_srcdir \
40114 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40115 --target=${target_alias} \
40116 --with-build-libsubdir=$(HOST_SUBDIR) \
40117 $(STAGEautofeedback_CONFIGURE_FLAGS)
40118 @endif target-libvtv-bootstrap
40124 .PHONY: all-target-libvtv maybe-all-target-libvtv
40125 maybe-all-target-libvtv:
40126 @if gcc-bootstrap
40127 all-target-libvtv: stage_current
40128 @endif gcc-bootstrap
40129 @if target-libvtv
40130 TARGET-target-libvtv=all
40131 maybe-all-target-libvtv: all-target-libvtv
40132 all-target-libvtv: configure-target-libvtv
40133 @r=`${PWD_COMMAND}`; export r; \
40134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40135 $(RAW_CXX_TARGET_EXPORTS) \
40136 (cd $(TARGET_SUBDIR)/libvtv && \
40137 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40138 $(TARGET-target-libvtv))
40139 @endif target-libvtv
40143 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
40144 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
40145 maybe-all-stage1-target-libvtv:
40146 maybe-clean-stage1-target-libvtv:
40147 @if target-libvtv-bootstrap
40148 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
40149 all-stage1: all-stage1-target-libvtv
40150 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
40151 all-stage1-target-libvtv: configure-stage1-target-libvtv
40152 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40153 @r=`${PWD_COMMAND}`; export r; \
40154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40155 TFLAGS="$(STAGE1_TFLAGS)"; \
40156 $(RAW_CXX_TARGET_EXPORTS) \
40157 cd $(TARGET_SUBDIR)/libvtv && \
40159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40160 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40161 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40162 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40166 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40168 TFLAGS="$(STAGE1_TFLAGS)" \
40169 $(TARGET-stage1-target-libvtv)
40171 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
40172 clean-stage1: clean-stage1-target-libvtv
40173 clean-stage1-target-libvtv:
40174 @if [ $(current_stage) = stage1 ]; then \
40175 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40176 else \
40177 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
40178 $(MAKE) stage1-start; \
40179 fi; \
40180 cd $(TARGET_SUBDIR)/libvtv && \
40181 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40182 clean
40183 @endif target-libvtv-bootstrap
40186 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
40187 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
40188 maybe-all-stage2-target-libvtv:
40189 maybe-clean-stage2-target-libvtv:
40190 @if target-libvtv-bootstrap
40191 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
40192 all-stage2: all-stage2-target-libvtv
40193 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
40194 all-stage2-target-libvtv: configure-stage2-target-libvtv
40195 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40196 @r=`${PWD_COMMAND}`; export r; \
40197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40198 TFLAGS="$(STAGE2_TFLAGS)"; \
40199 $(RAW_CXX_TARGET_EXPORTS) \
40201 cd $(TARGET_SUBDIR)/libvtv && \
40203 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40204 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40205 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40206 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40207 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40208 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40209 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40210 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40211 TFLAGS="$(STAGE2_TFLAGS)" \
40212 $(TARGET-stage2-target-libvtv)
40214 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
40215 clean-stage2: clean-stage2-target-libvtv
40216 clean-stage2-target-libvtv:
40217 @if [ $(current_stage) = stage2 ]; then \
40218 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40219 else \
40220 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
40221 $(MAKE) stage2-start; \
40222 fi; \
40223 cd $(TARGET_SUBDIR)/libvtv && \
40224 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40225 @endif target-libvtv-bootstrap
40228 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
40229 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
40230 maybe-all-stage3-target-libvtv:
40231 maybe-clean-stage3-target-libvtv:
40232 @if target-libvtv-bootstrap
40233 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
40234 all-stage3: all-stage3-target-libvtv
40235 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
40236 all-stage3-target-libvtv: configure-stage3-target-libvtv
40237 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40238 @r=`${PWD_COMMAND}`; export r; \
40239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40240 TFLAGS="$(STAGE3_TFLAGS)"; \
40241 $(RAW_CXX_TARGET_EXPORTS) \
40243 cd $(TARGET_SUBDIR)/libvtv && \
40245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40246 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40247 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40248 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40249 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40250 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40251 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40252 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40253 TFLAGS="$(STAGE3_TFLAGS)" \
40254 $(TARGET-stage3-target-libvtv)
40256 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
40257 clean-stage3: clean-stage3-target-libvtv
40258 clean-stage3-target-libvtv:
40259 @if [ $(current_stage) = stage3 ]; then \
40260 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40261 else \
40262 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
40263 $(MAKE) stage3-start; \
40264 fi; \
40265 cd $(TARGET_SUBDIR)/libvtv && \
40266 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40267 @endif target-libvtv-bootstrap
40270 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
40271 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
40272 maybe-all-stage4-target-libvtv:
40273 maybe-clean-stage4-target-libvtv:
40274 @if target-libvtv-bootstrap
40275 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
40276 all-stage4: all-stage4-target-libvtv
40277 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
40278 all-stage4-target-libvtv: configure-stage4-target-libvtv
40279 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40280 @r=`${PWD_COMMAND}`; export r; \
40281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40282 TFLAGS="$(STAGE4_TFLAGS)"; \
40283 $(RAW_CXX_TARGET_EXPORTS) \
40285 cd $(TARGET_SUBDIR)/libvtv && \
40287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40288 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40289 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40290 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40294 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40295 TFLAGS="$(STAGE4_TFLAGS)" \
40296 $(TARGET-stage4-target-libvtv)
40298 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
40299 clean-stage4: clean-stage4-target-libvtv
40300 clean-stage4-target-libvtv:
40301 @if [ $(current_stage) = stage4 ]; then \
40302 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40303 else \
40304 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
40305 $(MAKE) stage4-start; \
40306 fi; \
40307 cd $(TARGET_SUBDIR)/libvtv && \
40308 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40309 @endif target-libvtv-bootstrap
40312 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
40313 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
40314 maybe-all-stageprofile-target-libvtv:
40315 maybe-clean-stageprofile-target-libvtv:
40316 @if target-libvtv-bootstrap
40317 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
40318 all-stageprofile: all-stageprofile-target-libvtv
40319 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
40320 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
40321 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40322 @r=`${PWD_COMMAND}`; export r; \
40323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40324 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40325 $(RAW_CXX_TARGET_EXPORTS) \
40327 cd $(TARGET_SUBDIR)/libvtv && \
40329 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40330 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40331 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40332 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40333 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40334 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40335 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40336 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40337 TFLAGS="$(STAGEprofile_TFLAGS)" \
40338 $(TARGET-stageprofile-target-libvtv)
40340 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
40341 clean-stageprofile: clean-stageprofile-target-libvtv
40342 clean-stageprofile-target-libvtv:
40343 @if [ $(current_stage) = stageprofile ]; then \
40344 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40345 else \
40346 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
40347 $(MAKE) stageprofile-start; \
40348 fi; \
40349 cd $(TARGET_SUBDIR)/libvtv && \
40350 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40351 @endif target-libvtv-bootstrap
40354 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
40355 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
40356 maybe-all-stagefeedback-target-libvtv:
40357 maybe-clean-stagefeedback-target-libvtv:
40358 @if target-libvtv-bootstrap
40359 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
40360 all-stagefeedback: all-stagefeedback-target-libvtv
40361 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
40362 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
40363 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40364 @r=`${PWD_COMMAND}`; export r; \
40365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40366 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40367 $(RAW_CXX_TARGET_EXPORTS) \
40369 cd $(TARGET_SUBDIR)/libvtv && \
40371 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40372 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40373 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40374 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40378 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40379 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40380 $(TARGET-stagefeedback-target-libvtv)
40382 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
40383 clean-stagefeedback: clean-stagefeedback-target-libvtv
40384 clean-stagefeedback-target-libvtv:
40385 @if [ $(current_stage) = stagefeedback ]; then \
40386 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40387 else \
40388 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
40389 $(MAKE) stagefeedback-start; \
40390 fi; \
40391 cd $(TARGET_SUBDIR)/libvtv && \
40392 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40393 @endif target-libvtv-bootstrap
40396 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
40397 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
40398 maybe-all-stageautoprofile-target-libvtv:
40399 maybe-clean-stageautoprofile-target-libvtv:
40400 @if target-libvtv-bootstrap
40401 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
40402 all-stageautoprofile: all-stageautoprofile-target-libvtv
40403 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
40404 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
40405 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40406 @r=`${PWD_COMMAND}`; export r; \
40407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40408 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40409 $(RAW_CXX_TARGET_EXPORTS) \
40411 cd $(TARGET_SUBDIR)/libvtv && \
40412 $$s/gcc/config/i386/$(AUTO_PROFILE) \
40413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40414 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40415 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40416 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40420 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40421 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
40422 $(TARGET-stageautoprofile-target-libvtv)
40424 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
40425 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
40426 clean-stageautoprofile-target-libvtv:
40427 @if [ $(current_stage) = stageautoprofile ]; then \
40428 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40429 else \
40430 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
40431 $(MAKE) stageautoprofile-start; \
40432 fi; \
40433 cd $(TARGET_SUBDIR)/libvtv && \
40434 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40435 @endif target-libvtv-bootstrap
40438 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
40439 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
40440 maybe-all-stageautofeedback-target-libvtv:
40441 maybe-clean-stageautofeedback-target-libvtv:
40442 @if target-libvtv-bootstrap
40443 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
40444 all-stageautofeedback: all-stageautofeedback-target-libvtv
40445 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
40446 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
40447 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40448 @r=`${PWD_COMMAND}`; export r; \
40449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40450 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40451 $(RAW_CXX_TARGET_EXPORTS) \
40453 cd $(TARGET_SUBDIR)/libvtv && \
40455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40456 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40457 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40458 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40459 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40460 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40461 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40462 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40463 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
40464 $(TARGET-stageautofeedback-target-libvtv)
40466 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
40467 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
40468 clean-stageautofeedback-target-libvtv:
40469 @if [ $(current_stage) = stageautofeedback ]; then \
40470 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40471 else \
40472 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
40473 $(MAKE) stageautofeedback-start; \
40474 fi; \
40475 cd $(TARGET_SUBDIR)/libvtv && \
40476 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40477 @endif target-libvtv-bootstrap
40484 .PHONY: check-target-libvtv maybe-check-target-libvtv
40485 maybe-check-target-libvtv:
40486 @if target-libvtv
40487 maybe-check-target-libvtv: check-target-libvtv
40489 check-target-libvtv:
40490 @: $(MAKE); $(unstage)
40491 @r=`${PWD_COMMAND}`; export r; \
40492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40493 $(RAW_CXX_TARGET_EXPORTS) \
40494 (cd $(TARGET_SUBDIR)/libvtv && \
40495 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40497 @endif target-libvtv
40499 .PHONY: install-target-libvtv maybe-install-target-libvtv
40500 maybe-install-target-libvtv:
40501 @if target-libvtv
40502 maybe-install-target-libvtv: install-target-libvtv
40504 install-target-libvtv: installdirs
40505 @: $(MAKE); $(unstage)
40506 @r=`${PWD_COMMAND}`; export r; \
40507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40508 $(RAW_CXX_TARGET_EXPORTS) \
40509 (cd $(TARGET_SUBDIR)/libvtv && \
40510 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40512 @endif target-libvtv
40514 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
40515 maybe-install-strip-target-libvtv:
40516 @if target-libvtv
40517 maybe-install-strip-target-libvtv: install-strip-target-libvtv
40519 install-strip-target-libvtv: installdirs
40520 @: $(MAKE); $(unstage)
40521 @r=`${PWD_COMMAND}`; export r; \
40522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40523 $(RAW_CXX_TARGET_EXPORTS) \
40524 (cd $(TARGET_SUBDIR)/libvtv && \
40525 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40527 @endif target-libvtv
40529 # Other targets (info, dvi, pdf, etc.)
40531 .PHONY: maybe-info-target-libvtv info-target-libvtv
40532 maybe-info-target-libvtv:
40533 @if target-libvtv
40534 maybe-info-target-libvtv: info-target-libvtv
40536 info-target-libvtv: \
40537 configure-target-libvtv
40538 @: $(MAKE); $(unstage)
40539 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40540 r=`${PWD_COMMAND}`; export r; \
40541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40542 $(RAW_CXX_TARGET_EXPORTS) \
40543 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
40544 for flag in $(EXTRA_TARGET_FLAGS); do \
40545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40546 done; \
40547 (cd $(TARGET_SUBDIR)/libvtv && \
40548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40550 "RANLIB=$${RANLIB}" \
40551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40552 info) \
40553 || exit 1
40555 @endif target-libvtv
40557 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
40558 maybe-dvi-target-libvtv:
40559 @if target-libvtv
40560 maybe-dvi-target-libvtv: dvi-target-libvtv
40562 dvi-target-libvtv: \
40563 configure-target-libvtv
40564 @: $(MAKE); $(unstage)
40565 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40566 r=`${PWD_COMMAND}`; export r; \
40567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40568 $(RAW_CXX_TARGET_EXPORTS) \
40569 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
40570 for flag in $(EXTRA_TARGET_FLAGS); do \
40571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40572 done; \
40573 (cd $(TARGET_SUBDIR)/libvtv && \
40574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40576 "RANLIB=$${RANLIB}" \
40577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40578 dvi) \
40579 || exit 1
40581 @endif target-libvtv
40583 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
40584 maybe-pdf-target-libvtv:
40585 @if target-libvtv
40586 maybe-pdf-target-libvtv: pdf-target-libvtv
40588 pdf-target-libvtv: \
40589 configure-target-libvtv
40590 @: $(MAKE); $(unstage)
40591 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40592 r=`${PWD_COMMAND}`; export r; \
40593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40594 $(RAW_CXX_TARGET_EXPORTS) \
40595 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
40596 for flag in $(EXTRA_TARGET_FLAGS); do \
40597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40598 done; \
40599 (cd $(TARGET_SUBDIR)/libvtv && \
40600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40602 "RANLIB=$${RANLIB}" \
40603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40604 pdf) \
40605 || exit 1
40607 @endif target-libvtv
40609 .PHONY: maybe-html-target-libvtv html-target-libvtv
40610 maybe-html-target-libvtv:
40611 @if target-libvtv
40612 maybe-html-target-libvtv: html-target-libvtv
40614 html-target-libvtv: \
40615 configure-target-libvtv
40616 @: $(MAKE); $(unstage)
40617 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40618 r=`${PWD_COMMAND}`; export r; \
40619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40620 $(RAW_CXX_TARGET_EXPORTS) \
40621 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
40622 for flag in $(EXTRA_TARGET_FLAGS); do \
40623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40624 done; \
40625 (cd $(TARGET_SUBDIR)/libvtv && \
40626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40628 "RANLIB=$${RANLIB}" \
40629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40630 html) \
40631 || exit 1
40633 @endif target-libvtv
40635 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
40636 maybe-TAGS-target-libvtv:
40637 @if target-libvtv
40638 maybe-TAGS-target-libvtv: TAGS-target-libvtv
40640 TAGS-target-libvtv: \
40641 configure-target-libvtv
40642 @: $(MAKE); $(unstage)
40643 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40644 r=`${PWD_COMMAND}`; export r; \
40645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40646 $(RAW_CXX_TARGET_EXPORTS) \
40647 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
40648 for flag in $(EXTRA_TARGET_FLAGS); do \
40649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40650 done; \
40651 (cd $(TARGET_SUBDIR)/libvtv && \
40652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40654 "RANLIB=$${RANLIB}" \
40655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40656 TAGS) \
40657 || exit 1
40659 @endif target-libvtv
40661 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
40662 maybe-install-info-target-libvtv:
40663 @if target-libvtv
40664 maybe-install-info-target-libvtv: install-info-target-libvtv
40666 install-info-target-libvtv: \
40667 configure-target-libvtv \
40668 info-target-libvtv
40669 @: $(MAKE); $(unstage)
40670 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40671 r=`${PWD_COMMAND}`; export r; \
40672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40673 $(RAW_CXX_TARGET_EXPORTS) \
40674 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
40675 for flag in $(EXTRA_TARGET_FLAGS); do \
40676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40677 done; \
40678 (cd $(TARGET_SUBDIR)/libvtv && \
40679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40681 "RANLIB=$${RANLIB}" \
40682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40683 install-info) \
40684 || exit 1
40686 @endif target-libvtv
40688 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
40689 maybe-install-pdf-target-libvtv:
40690 @if target-libvtv
40691 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
40693 install-pdf-target-libvtv: \
40694 configure-target-libvtv \
40695 pdf-target-libvtv
40696 @: $(MAKE); $(unstage)
40697 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40698 r=`${PWD_COMMAND}`; export r; \
40699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40700 $(RAW_CXX_TARGET_EXPORTS) \
40701 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
40702 for flag in $(EXTRA_TARGET_FLAGS); do \
40703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40704 done; \
40705 (cd $(TARGET_SUBDIR)/libvtv && \
40706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40708 "RANLIB=$${RANLIB}" \
40709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40710 install-pdf) \
40711 || exit 1
40713 @endif target-libvtv
40715 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
40716 maybe-install-html-target-libvtv:
40717 @if target-libvtv
40718 maybe-install-html-target-libvtv: install-html-target-libvtv
40720 install-html-target-libvtv: \
40721 configure-target-libvtv \
40722 html-target-libvtv
40723 @: $(MAKE); $(unstage)
40724 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40725 r=`${PWD_COMMAND}`; export r; \
40726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40727 $(RAW_CXX_TARGET_EXPORTS) \
40728 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
40729 for flag in $(EXTRA_TARGET_FLAGS); do \
40730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40731 done; \
40732 (cd $(TARGET_SUBDIR)/libvtv && \
40733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40735 "RANLIB=$${RANLIB}" \
40736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40737 install-html) \
40738 || exit 1
40740 @endif target-libvtv
40742 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
40743 maybe-installcheck-target-libvtv:
40744 @if target-libvtv
40745 maybe-installcheck-target-libvtv: installcheck-target-libvtv
40747 installcheck-target-libvtv: \
40748 configure-target-libvtv
40749 @: $(MAKE); $(unstage)
40750 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40751 r=`${PWD_COMMAND}`; export r; \
40752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40753 $(RAW_CXX_TARGET_EXPORTS) \
40754 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
40755 for flag in $(EXTRA_TARGET_FLAGS); do \
40756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40757 done; \
40758 (cd $(TARGET_SUBDIR)/libvtv && \
40759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40761 "RANLIB=$${RANLIB}" \
40762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40763 installcheck) \
40764 || exit 1
40766 @endif target-libvtv
40768 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
40769 maybe-mostlyclean-target-libvtv:
40770 @if target-libvtv
40771 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
40773 mostlyclean-target-libvtv:
40774 @: $(MAKE); $(unstage)
40775 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40776 r=`${PWD_COMMAND}`; export r; \
40777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40778 $(RAW_CXX_TARGET_EXPORTS) \
40779 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
40780 for flag in $(EXTRA_TARGET_FLAGS); do \
40781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40782 done; \
40783 (cd $(TARGET_SUBDIR)/libvtv && \
40784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40786 "RANLIB=$${RANLIB}" \
40787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40788 mostlyclean) \
40789 || exit 1
40791 @endif target-libvtv
40793 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
40794 maybe-clean-target-libvtv:
40795 @if target-libvtv
40796 maybe-clean-target-libvtv: clean-target-libvtv
40798 clean-target-libvtv:
40799 @: $(MAKE); $(unstage)
40800 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40801 r=`${PWD_COMMAND}`; export r; \
40802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40803 $(RAW_CXX_TARGET_EXPORTS) \
40804 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
40805 for flag in $(EXTRA_TARGET_FLAGS); do \
40806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40807 done; \
40808 (cd $(TARGET_SUBDIR)/libvtv && \
40809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40811 "RANLIB=$${RANLIB}" \
40812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40813 clean) \
40814 || exit 1
40816 @endif target-libvtv
40818 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
40819 maybe-distclean-target-libvtv:
40820 @if target-libvtv
40821 maybe-distclean-target-libvtv: distclean-target-libvtv
40823 distclean-target-libvtv:
40824 @: $(MAKE); $(unstage)
40825 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40826 r=`${PWD_COMMAND}`; export r; \
40827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40828 $(RAW_CXX_TARGET_EXPORTS) \
40829 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
40830 for flag in $(EXTRA_TARGET_FLAGS); do \
40831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40832 done; \
40833 (cd $(TARGET_SUBDIR)/libvtv && \
40834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40836 "RANLIB=$${RANLIB}" \
40837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40838 distclean) \
40839 || exit 1
40841 @endif target-libvtv
40843 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
40844 maybe-maintainer-clean-target-libvtv:
40845 @if target-libvtv
40846 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
40848 maintainer-clean-target-libvtv:
40849 @: $(MAKE); $(unstage)
40850 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40851 r=`${PWD_COMMAND}`; export r; \
40852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40853 $(RAW_CXX_TARGET_EXPORTS) \
40854 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
40855 for flag in $(EXTRA_TARGET_FLAGS); do \
40856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40857 done; \
40858 (cd $(TARGET_SUBDIR)/libvtv && \
40859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40861 "RANLIB=$${RANLIB}" \
40862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40863 maintainer-clean) \
40864 || exit 1
40866 @endif target-libvtv
40872 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
40873 maybe-configure-target-libcilkrts:
40874 @if gcc-bootstrap
40875 configure-target-libcilkrts: stage_current
40876 @endif gcc-bootstrap
40877 @if target-libcilkrts
40878 maybe-configure-target-libcilkrts: configure-target-libcilkrts
40879 configure-target-libcilkrts:
40880 @: $(MAKE); $(unstage)
40881 @r=`${PWD_COMMAND}`; export r; \
40882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40883 echo "Checking multilib configuration for libcilkrts..."; \
40884 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
40885 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null; \
40886 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
40887 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
40888 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
40889 else \
40890 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
40891 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
40892 fi; \
40893 else \
40894 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
40895 fi; \
40896 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
40897 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts; \
40898 $(NORMAL_TARGET_EXPORTS) \
40899 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
40900 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
40901 case $(srcdir) in \
40902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40903 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
40904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40905 esac; \
40906 module_srcdir=libcilkrts; \
40907 rm -f no-such-file || : ; \
40908 CONFIG_SITE=no-such-file $(SHELL) \
40909 $$s/$$module_srcdir/configure \
40910 --srcdir=$${topdir}/$$module_srcdir \
40911 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40912 --target=${target_alias} \
40913 || exit 1
40914 @endif target-libcilkrts
40920 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
40921 maybe-all-target-libcilkrts:
40922 @if gcc-bootstrap
40923 all-target-libcilkrts: stage_current
40924 @endif gcc-bootstrap
40925 @if target-libcilkrts
40926 TARGET-target-libcilkrts=all
40927 maybe-all-target-libcilkrts: all-target-libcilkrts
40928 all-target-libcilkrts: configure-target-libcilkrts
40929 @: $(MAKE); $(unstage)
40930 @r=`${PWD_COMMAND}`; export r; \
40931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40932 $(NORMAL_TARGET_EXPORTS) \
40933 (cd $(TARGET_SUBDIR)/libcilkrts && \
40934 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40935 $(TARGET-target-libcilkrts))
40936 @endif target-libcilkrts
40942 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
40943 maybe-check-target-libcilkrts:
40944 @if target-libcilkrts
40945 maybe-check-target-libcilkrts: check-target-libcilkrts
40947 check-target-libcilkrts:
40948 @: $(MAKE); $(unstage)
40949 @r=`${PWD_COMMAND}`; export r; \
40950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40951 $(NORMAL_TARGET_EXPORTS) \
40952 (cd $(TARGET_SUBDIR)/libcilkrts && \
40953 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40955 @endif target-libcilkrts
40957 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
40958 maybe-install-target-libcilkrts:
40959 @if target-libcilkrts
40960 maybe-install-target-libcilkrts: install-target-libcilkrts
40962 install-target-libcilkrts: installdirs
40963 @: $(MAKE); $(unstage)
40964 @r=`${PWD_COMMAND}`; export r; \
40965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40966 $(NORMAL_TARGET_EXPORTS) \
40967 (cd $(TARGET_SUBDIR)/libcilkrts && \
40968 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40970 @endif target-libcilkrts
40972 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
40973 maybe-install-strip-target-libcilkrts:
40974 @if target-libcilkrts
40975 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
40977 install-strip-target-libcilkrts: installdirs
40978 @: $(MAKE); $(unstage)
40979 @r=`${PWD_COMMAND}`; export r; \
40980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40981 $(NORMAL_TARGET_EXPORTS) \
40982 (cd $(TARGET_SUBDIR)/libcilkrts && \
40983 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40985 @endif target-libcilkrts
40987 # Other targets (info, dvi, pdf, etc.)
40989 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
40990 maybe-info-target-libcilkrts:
40991 @if target-libcilkrts
40992 maybe-info-target-libcilkrts: info-target-libcilkrts
40994 info-target-libcilkrts: \
40995 configure-target-libcilkrts
40996 @: $(MAKE); $(unstage)
40997 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
40998 r=`${PWD_COMMAND}`; export r; \
40999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41000 $(NORMAL_TARGET_EXPORTS) \
41001 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts"; \
41002 for flag in $(EXTRA_TARGET_FLAGS); do \
41003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41004 done; \
41005 (cd $(TARGET_SUBDIR)/libcilkrts && \
41006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41008 "RANLIB=$${RANLIB}" \
41009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41010 info) \
41011 || exit 1
41013 @endif target-libcilkrts
41015 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
41016 maybe-dvi-target-libcilkrts:
41017 @if target-libcilkrts
41018 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
41020 dvi-target-libcilkrts: \
41021 configure-target-libcilkrts
41022 @: $(MAKE); $(unstage)
41023 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41024 r=`${PWD_COMMAND}`; export r; \
41025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41026 $(NORMAL_TARGET_EXPORTS) \
41027 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts"; \
41028 for flag in $(EXTRA_TARGET_FLAGS); do \
41029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41030 done; \
41031 (cd $(TARGET_SUBDIR)/libcilkrts && \
41032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41034 "RANLIB=$${RANLIB}" \
41035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41036 dvi) \
41037 || exit 1
41039 @endif target-libcilkrts
41041 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
41042 maybe-pdf-target-libcilkrts:
41043 @if target-libcilkrts
41044 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
41046 pdf-target-libcilkrts: \
41047 configure-target-libcilkrts
41048 @: $(MAKE); $(unstage)
41049 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41050 r=`${PWD_COMMAND}`; export r; \
41051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41052 $(NORMAL_TARGET_EXPORTS) \
41053 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts"; \
41054 for flag in $(EXTRA_TARGET_FLAGS); do \
41055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41056 done; \
41057 (cd $(TARGET_SUBDIR)/libcilkrts && \
41058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41060 "RANLIB=$${RANLIB}" \
41061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41062 pdf) \
41063 || exit 1
41065 @endif target-libcilkrts
41067 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
41068 maybe-html-target-libcilkrts:
41069 @if target-libcilkrts
41070 maybe-html-target-libcilkrts: html-target-libcilkrts
41072 html-target-libcilkrts: \
41073 configure-target-libcilkrts
41074 @: $(MAKE); $(unstage)
41075 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41076 r=`${PWD_COMMAND}`; export r; \
41077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41078 $(NORMAL_TARGET_EXPORTS) \
41079 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts"; \
41080 for flag in $(EXTRA_TARGET_FLAGS); do \
41081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41082 done; \
41083 (cd $(TARGET_SUBDIR)/libcilkrts && \
41084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41086 "RANLIB=$${RANLIB}" \
41087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41088 html) \
41089 || exit 1
41091 @endif target-libcilkrts
41093 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
41094 maybe-TAGS-target-libcilkrts:
41095 @if target-libcilkrts
41096 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
41098 TAGS-target-libcilkrts: \
41099 configure-target-libcilkrts
41100 @: $(MAKE); $(unstage)
41101 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41102 r=`${PWD_COMMAND}`; export r; \
41103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41104 $(NORMAL_TARGET_EXPORTS) \
41105 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts"; \
41106 for flag in $(EXTRA_TARGET_FLAGS); do \
41107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41108 done; \
41109 (cd $(TARGET_SUBDIR)/libcilkrts && \
41110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41112 "RANLIB=$${RANLIB}" \
41113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41114 TAGS) \
41115 || exit 1
41117 @endif target-libcilkrts
41119 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
41120 maybe-install-info-target-libcilkrts:
41121 @if target-libcilkrts
41122 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
41124 install-info-target-libcilkrts: \
41125 configure-target-libcilkrts \
41126 info-target-libcilkrts
41127 @: $(MAKE); $(unstage)
41128 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41129 r=`${PWD_COMMAND}`; export r; \
41130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41131 $(NORMAL_TARGET_EXPORTS) \
41132 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts"; \
41133 for flag in $(EXTRA_TARGET_FLAGS); do \
41134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41135 done; \
41136 (cd $(TARGET_SUBDIR)/libcilkrts && \
41137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41139 "RANLIB=$${RANLIB}" \
41140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41141 install-info) \
41142 || exit 1
41144 @endif target-libcilkrts
41146 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
41147 maybe-install-pdf-target-libcilkrts:
41148 @if target-libcilkrts
41149 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
41151 install-pdf-target-libcilkrts: \
41152 configure-target-libcilkrts \
41153 pdf-target-libcilkrts
41154 @: $(MAKE); $(unstage)
41155 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41156 r=`${PWD_COMMAND}`; export r; \
41157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41158 $(NORMAL_TARGET_EXPORTS) \
41159 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts"; \
41160 for flag in $(EXTRA_TARGET_FLAGS); do \
41161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41162 done; \
41163 (cd $(TARGET_SUBDIR)/libcilkrts && \
41164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41166 "RANLIB=$${RANLIB}" \
41167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41168 install-pdf) \
41169 || exit 1
41171 @endif target-libcilkrts
41173 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
41174 maybe-install-html-target-libcilkrts:
41175 @if target-libcilkrts
41176 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
41178 install-html-target-libcilkrts: \
41179 configure-target-libcilkrts \
41180 html-target-libcilkrts
41181 @: $(MAKE); $(unstage)
41182 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41183 r=`${PWD_COMMAND}`; export r; \
41184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41185 $(NORMAL_TARGET_EXPORTS) \
41186 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts"; \
41187 for flag in $(EXTRA_TARGET_FLAGS); do \
41188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41189 done; \
41190 (cd $(TARGET_SUBDIR)/libcilkrts && \
41191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41193 "RANLIB=$${RANLIB}" \
41194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41195 install-html) \
41196 || exit 1
41198 @endif target-libcilkrts
41200 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
41201 maybe-installcheck-target-libcilkrts:
41202 @if target-libcilkrts
41203 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
41205 installcheck-target-libcilkrts: \
41206 configure-target-libcilkrts
41207 @: $(MAKE); $(unstage)
41208 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41209 r=`${PWD_COMMAND}`; export r; \
41210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41211 $(NORMAL_TARGET_EXPORTS) \
41212 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts"; \
41213 for flag in $(EXTRA_TARGET_FLAGS); do \
41214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41215 done; \
41216 (cd $(TARGET_SUBDIR)/libcilkrts && \
41217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41219 "RANLIB=$${RANLIB}" \
41220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41221 installcheck) \
41222 || exit 1
41224 @endif target-libcilkrts
41226 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
41227 maybe-mostlyclean-target-libcilkrts:
41228 @if target-libcilkrts
41229 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
41231 mostlyclean-target-libcilkrts:
41232 @: $(MAKE); $(unstage)
41233 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41234 r=`${PWD_COMMAND}`; export r; \
41235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41236 $(NORMAL_TARGET_EXPORTS) \
41237 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts"; \
41238 for flag in $(EXTRA_TARGET_FLAGS); do \
41239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41240 done; \
41241 (cd $(TARGET_SUBDIR)/libcilkrts && \
41242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41244 "RANLIB=$${RANLIB}" \
41245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41246 mostlyclean) \
41247 || exit 1
41249 @endif target-libcilkrts
41251 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
41252 maybe-clean-target-libcilkrts:
41253 @if target-libcilkrts
41254 maybe-clean-target-libcilkrts: clean-target-libcilkrts
41256 clean-target-libcilkrts:
41257 @: $(MAKE); $(unstage)
41258 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41259 r=`${PWD_COMMAND}`; export r; \
41260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41261 $(NORMAL_TARGET_EXPORTS) \
41262 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts"; \
41263 for flag in $(EXTRA_TARGET_FLAGS); do \
41264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41265 done; \
41266 (cd $(TARGET_SUBDIR)/libcilkrts && \
41267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41269 "RANLIB=$${RANLIB}" \
41270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41271 clean) \
41272 || exit 1
41274 @endif target-libcilkrts
41276 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
41277 maybe-distclean-target-libcilkrts:
41278 @if target-libcilkrts
41279 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
41281 distclean-target-libcilkrts:
41282 @: $(MAKE); $(unstage)
41283 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41284 r=`${PWD_COMMAND}`; export r; \
41285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41286 $(NORMAL_TARGET_EXPORTS) \
41287 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts"; \
41288 for flag in $(EXTRA_TARGET_FLAGS); do \
41289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41290 done; \
41291 (cd $(TARGET_SUBDIR)/libcilkrts && \
41292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41294 "RANLIB=$${RANLIB}" \
41295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41296 distclean) \
41297 || exit 1
41299 @endif target-libcilkrts
41301 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
41302 maybe-maintainer-clean-target-libcilkrts:
41303 @if target-libcilkrts
41304 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
41306 maintainer-clean-target-libcilkrts:
41307 @: $(MAKE); $(unstage)
41308 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0; \
41309 r=`${PWD_COMMAND}`; export r; \
41310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41311 $(NORMAL_TARGET_EXPORTS) \
41312 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts"; \
41313 for flag in $(EXTRA_TARGET_FLAGS); do \
41314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41315 done; \
41316 (cd $(TARGET_SUBDIR)/libcilkrts && \
41317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41319 "RANLIB=$${RANLIB}" \
41320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41321 maintainer-clean) \
41322 || exit 1
41324 @endif target-libcilkrts
41330 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
41331 maybe-configure-target-liboffloadmic:
41332 @if gcc-bootstrap
41333 configure-target-liboffloadmic: stage_current
41334 @endif gcc-bootstrap
41335 @if target-liboffloadmic
41336 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
41337 configure-target-liboffloadmic:
41338 @: $(MAKE); $(unstage)
41339 @r=`${PWD_COMMAND}`; export r; \
41340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41341 echo "Checking multilib configuration for liboffloadmic..."; \
41342 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41343 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
41344 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41345 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41346 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
41347 else \
41348 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
41349 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41350 fi; \
41351 else \
41352 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41353 fi; \
41354 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
41355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41356 $(NORMAL_TARGET_EXPORTS) \
41357 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
41358 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
41359 case $(srcdir) in \
41360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41361 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
41362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41363 esac; \
41364 module_srcdir=liboffloadmic; \
41365 rm -f no-such-file || : ; \
41366 CONFIG_SITE=no-such-file $(SHELL) \
41367 $$s/$$module_srcdir/configure \
41368 --srcdir=$${topdir}/$$module_srcdir \
41369 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41370 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
41371 || exit 1
41372 @endif target-liboffloadmic
41378 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
41379 maybe-all-target-liboffloadmic:
41380 @if gcc-bootstrap
41381 all-target-liboffloadmic: stage_current
41382 @endif gcc-bootstrap
41383 @if target-liboffloadmic
41384 TARGET-target-liboffloadmic=all
41385 maybe-all-target-liboffloadmic: all-target-liboffloadmic
41386 all-target-liboffloadmic: configure-target-liboffloadmic
41387 @: $(MAKE); $(unstage)
41388 @r=`${PWD_COMMAND}`; export r; \
41389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41390 $(NORMAL_TARGET_EXPORTS) \
41391 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41392 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41393 $(TARGET-target-liboffloadmic))
41394 @endif target-liboffloadmic
41400 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
41401 maybe-check-target-liboffloadmic:
41402 @if target-liboffloadmic
41403 maybe-check-target-liboffloadmic: check-target-liboffloadmic
41405 check-target-liboffloadmic:
41406 @: $(MAKE); $(unstage)
41407 @r=`${PWD_COMMAND}`; export r; \
41408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41409 $(NORMAL_TARGET_EXPORTS) \
41410 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41411 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41413 @endif target-liboffloadmic
41415 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
41416 maybe-install-target-liboffloadmic:
41417 @if target-liboffloadmic
41418 maybe-install-target-liboffloadmic: install-target-liboffloadmic
41420 install-target-liboffloadmic: installdirs
41421 @: $(MAKE); $(unstage)
41422 @r=`${PWD_COMMAND}`; export r; \
41423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41424 $(NORMAL_TARGET_EXPORTS) \
41425 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41426 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41428 @endif target-liboffloadmic
41430 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
41431 maybe-install-strip-target-liboffloadmic:
41432 @if target-liboffloadmic
41433 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
41435 install-strip-target-liboffloadmic: installdirs
41436 @: $(MAKE); $(unstage)
41437 @r=`${PWD_COMMAND}`; export r; \
41438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41439 $(NORMAL_TARGET_EXPORTS) \
41440 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41441 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41443 @endif target-liboffloadmic
41445 # Other targets (info, dvi, pdf, etc.)
41447 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
41448 maybe-info-target-liboffloadmic:
41449 @if target-liboffloadmic
41450 maybe-info-target-liboffloadmic: info-target-liboffloadmic
41452 info-target-liboffloadmic: \
41453 configure-target-liboffloadmic
41454 @: $(MAKE); $(unstage)
41455 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41456 r=`${PWD_COMMAND}`; export r; \
41457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41458 $(NORMAL_TARGET_EXPORTS) \
41459 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
41460 for flag in $(EXTRA_TARGET_FLAGS); do \
41461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41462 done; \
41463 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41466 "RANLIB=$${RANLIB}" \
41467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41468 info) \
41469 || exit 1
41471 @endif target-liboffloadmic
41473 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
41474 maybe-dvi-target-liboffloadmic:
41475 @if target-liboffloadmic
41476 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
41478 dvi-target-liboffloadmic: \
41479 configure-target-liboffloadmic
41480 @: $(MAKE); $(unstage)
41481 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41482 r=`${PWD_COMMAND}`; export r; \
41483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41484 $(NORMAL_TARGET_EXPORTS) \
41485 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
41486 for flag in $(EXTRA_TARGET_FLAGS); do \
41487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41488 done; \
41489 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41492 "RANLIB=$${RANLIB}" \
41493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41494 dvi) \
41495 || exit 1
41497 @endif target-liboffloadmic
41499 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
41500 maybe-pdf-target-liboffloadmic:
41501 @if target-liboffloadmic
41502 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
41504 pdf-target-liboffloadmic: \
41505 configure-target-liboffloadmic
41506 @: $(MAKE); $(unstage)
41507 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41508 r=`${PWD_COMMAND}`; export r; \
41509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41510 $(NORMAL_TARGET_EXPORTS) \
41511 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41512 for flag in $(EXTRA_TARGET_FLAGS); do \
41513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41514 done; \
41515 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41518 "RANLIB=$${RANLIB}" \
41519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41520 pdf) \
41521 || exit 1
41523 @endif target-liboffloadmic
41525 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
41526 maybe-html-target-liboffloadmic:
41527 @if target-liboffloadmic
41528 maybe-html-target-liboffloadmic: html-target-liboffloadmic
41530 html-target-liboffloadmic: \
41531 configure-target-liboffloadmic
41532 @: $(MAKE); $(unstage)
41533 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41534 r=`${PWD_COMMAND}`; export r; \
41535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41536 $(NORMAL_TARGET_EXPORTS) \
41537 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
41538 for flag in $(EXTRA_TARGET_FLAGS); do \
41539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41540 done; \
41541 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41544 "RANLIB=$${RANLIB}" \
41545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41546 html) \
41547 || exit 1
41549 @endif target-liboffloadmic
41551 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
41552 maybe-TAGS-target-liboffloadmic:
41553 @if target-liboffloadmic
41554 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
41556 TAGS-target-liboffloadmic: \
41557 configure-target-liboffloadmic
41558 @: $(MAKE); $(unstage)
41559 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41560 r=`${PWD_COMMAND}`; export r; \
41561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41562 $(NORMAL_TARGET_EXPORTS) \
41563 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
41564 for flag in $(EXTRA_TARGET_FLAGS); do \
41565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41566 done; \
41567 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41570 "RANLIB=$${RANLIB}" \
41571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41572 TAGS) \
41573 || exit 1
41575 @endif target-liboffloadmic
41577 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
41578 maybe-install-info-target-liboffloadmic:
41579 @if target-liboffloadmic
41580 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
41582 install-info-target-liboffloadmic: \
41583 configure-target-liboffloadmic \
41584 info-target-liboffloadmic
41585 @: $(MAKE); $(unstage)
41586 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41587 r=`${PWD_COMMAND}`; export r; \
41588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41589 $(NORMAL_TARGET_EXPORTS) \
41590 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
41591 for flag in $(EXTRA_TARGET_FLAGS); do \
41592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41593 done; \
41594 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41597 "RANLIB=$${RANLIB}" \
41598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41599 install-info) \
41600 || exit 1
41602 @endif target-liboffloadmic
41604 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
41605 maybe-install-pdf-target-liboffloadmic:
41606 @if target-liboffloadmic
41607 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
41609 install-pdf-target-liboffloadmic: \
41610 configure-target-liboffloadmic \
41611 pdf-target-liboffloadmic
41612 @: $(MAKE); $(unstage)
41613 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41614 r=`${PWD_COMMAND}`; export r; \
41615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41616 $(NORMAL_TARGET_EXPORTS) \
41617 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41618 for flag in $(EXTRA_TARGET_FLAGS); do \
41619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41620 done; \
41621 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41624 "RANLIB=$${RANLIB}" \
41625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41626 install-pdf) \
41627 || exit 1
41629 @endif target-liboffloadmic
41631 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
41632 maybe-install-html-target-liboffloadmic:
41633 @if target-liboffloadmic
41634 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
41636 install-html-target-liboffloadmic: \
41637 configure-target-liboffloadmic \
41638 html-target-liboffloadmic
41639 @: $(MAKE); $(unstage)
41640 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41641 r=`${PWD_COMMAND}`; export r; \
41642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41643 $(NORMAL_TARGET_EXPORTS) \
41644 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
41645 for flag in $(EXTRA_TARGET_FLAGS); do \
41646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41647 done; \
41648 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41651 "RANLIB=$${RANLIB}" \
41652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41653 install-html) \
41654 || exit 1
41656 @endif target-liboffloadmic
41658 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
41659 maybe-installcheck-target-liboffloadmic:
41660 @if target-liboffloadmic
41661 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
41663 installcheck-target-liboffloadmic: \
41664 configure-target-liboffloadmic
41665 @: $(MAKE); $(unstage)
41666 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41667 r=`${PWD_COMMAND}`; export r; \
41668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41669 $(NORMAL_TARGET_EXPORTS) \
41670 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
41671 for flag in $(EXTRA_TARGET_FLAGS); do \
41672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41673 done; \
41674 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41677 "RANLIB=$${RANLIB}" \
41678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41679 installcheck) \
41680 || exit 1
41682 @endif target-liboffloadmic
41684 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
41685 maybe-mostlyclean-target-liboffloadmic:
41686 @if target-liboffloadmic
41687 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
41689 mostlyclean-target-liboffloadmic:
41690 @: $(MAKE); $(unstage)
41691 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41692 r=`${PWD_COMMAND}`; export r; \
41693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41694 $(NORMAL_TARGET_EXPORTS) \
41695 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
41696 for flag in $(EXTRA_TARGET_FLAGS); do \
41697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41698 done; \
41699 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41702 "RANLIB=$${RANLIB}" \
41703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41704 mostlyclean) \
41705 || exit 1
41707 @endif target-liboffloadmic
41709 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
41710 maybe-clean-target-liboffloadmic:
41711 @if target-liboffloadmic
41712 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
41714 clean-target-liboffloadmic:
41715 @: $(MAKE); $(unstage)
41716 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41717 r=`${PWD_COMMAND}`; export r; \
41718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41719 $(NORMAL_TARGET_EXPORTS) \
41720 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
41721 for flag in $(EXTRA_TARGET_FLAGS); do \
41722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41723 done; \
41724 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41727 "RANLIB=$${RANLIB}" \
41728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41729 clean) \
41730 || exit 1
41732 @endif target-liboffloadmic
41734 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
41735 maybe-distclean-target-liboffloadmic:
41736 @if target-liboffloadmic
41737 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
41739 distclean-target-liboffloadmic:
41740 @: $(MAKE); $(unstage)
41741 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41742 r=`${PWD_COMMAND}`; export r; \
41743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41744 $(NORMAL_TARGET_EXPORTS) \
41745 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
41746 for flag in $(EXTRA_TARGET_FLAGS); do \
41747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41748 done; \
41749 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41752 "RANLIB=$${RANLIB}" \
41753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41754 distclean) \
41755 || exit 1
41757 @endif target-liboffloadmic
41759 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
41760 maybe-maintainer-clean-target-liboffloadmic:
41761 @if target-liboffloadmic
41762 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
41764 maintainer-clean-target-liboffloadmic:
41765 @: $(MAKE); $(unstage)
41766 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41767 r=`${PWD_COMMAND}`; export r; \
41768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41769 $(NORMAL_TARGET_EXPORTS) \
41770 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
41771 for flag in $(EXTRA_TARGET_FLAGS); do \
41772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41773 done; \
41774 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41777 "RANLIB=$${RANLIB}" \
41778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41779 maintainer-clean) \
41780 || exit 1
41782 @endif target-liboffloadmic
41788 .PHONY: configure-target-libssp maybe-configure-target-libssp
41789 maybe-configure-target-libssp:
41790 @if gcc-bootstrap
41791 configure-target-libssp: stage_current
41792 @endif gcc-bootstrap
41793 @if target-libssp
41794 maybe-configure-target-libssp: configure-target-libssp
41795 configure-target-libssp:
41796 @: $(MAKE); $(unstage)
41797 @r=`${PWD_COMMAND}`; export r; \
41798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41799 echo "Checking multilib configuration for libssp..."; \
41800 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
41801 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
41802 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
41803 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
41804 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
41805 else \
41806 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
41807 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
41808 fi; \
41809 else \
41810 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
41811 fi; \
41812 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
41813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
41814 $(NORMAL_TARGET_EXPORTS) \
41815 echo Configuring in $(TARGET_SUBDIR)/libssp; \
41816 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
41817 case $(srcdir) in \
41818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41819 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
41820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41821 esac; \
41822 module_srcdir=libssp; \
41823 rm -f no-such-file || : ; \
41824 CONFIG_SITE=no-such-file $(SHELL) \
41825 $$s/$$module_srcdir/configure \
41826 --srcdir=$${topdir}/$$module_srcdir \
41827 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41828 --target=${target_alias} \
41829 || exit 1
41830 @endif target-libssp
41836 .PHONY: all-target-libssp maybe-all-target-libssp
41837 maybe-all-target-libssp:
41838 @if gcc-bootstrap
41839 all-target-libssp: stage_current
41840 @endif gcc-bootstrap
41841 @if target-libssp
41842 TARGET-target-libssp=all
41843 maybe-all-target-libssp: all-target-libssp
41844 all-target-libssp: configure-target-libssp
41845 @: $(MAKE); $(unstage)
41846 @r=`${PWD_COMMAND}`; export r; \
41847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41848 $(NORMAL_TARGET_EXPORTS) \
41849 (cd $(TARGET_SUBDIR)/libssp && \
41850 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41851 $(TARGET-target-libssp))
41852 @endif target-libssp
41858 .PHONY: check-target-libssp maybe-check-target-libssp
41859 maybe-check-target-libssp:
41860 @if target-libssp
41861 maybe-check-target-libssp: check-target-libssp
41863 check-target-libssp:
41864 @: $(MAKE); $(unstage)
41865 @r=`${PWD_COMMAND}`; export r; \
41866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41867 $(NORMAL_TARGET_EXPORTS) \
41868 (cd $(TARGET_SUBDIR)/libssp && \
41869 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41871 @endif target-libssp
41873 .PHONY: install-target-libssp maybe-install-target-libssp
41874 maybe-install-target-libssp:
41875 @if target-libssp
41876 maybe-install-target-libssp: install-target-libssp
41878 install-target-libssp: installdirs
41879 @: $(MAKE); $(unstage)
41880 @r=`${PWD_COMMAND}`; export r; \
41881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41882 $(NORMAL_TARGET_EXPORTS) \
41883 (cd $(TARGET_SUBDIR)/libssp && \
41884 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41886 @endif target-libssp
41888 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
41889 maybe-install-strip-target-libssp:
41890 @if target-libssp
41891 maybe-install-strip-target-libssp: install-strip-target-libssp
41893 install-strip-target-libssp: installdirs
41894 @: $(MAKE); $(unstage)
41895 @r=`${PWD_COMMAND}`; export r; \
41896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41897 $(NORMAL_TARGET_EXPORTS) \
41898 (cd $(TARGET_SUBDIR)/libssp && \
41899 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41901 @endif target-libssp
41903 # Other targets (info, dvi, pdf, etc.)
41905 .PHONY: maybe-info-target-libssp info-target-libssp
41906 maybe-info-target-libssp:
41907 @if target-libssp
41908 maybe-info-target-libssp: info-target-libssp
41910 info-target-libssp: \
41911 configure-target-libssp
41912 @: $(MAKE); $(unstage)
41913 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41914 r=`${PWD_COMMAND}`; export r; \
41915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41916 $(NORMAL_TARGET_EXPORTS) \
41917 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
41918 for flag in $(EXTRA_TARGET_FLAGS); do \
41919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41920 done; \
41921 (cd $(TARGET_SUBDIR)/libssp && \
41922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41924 "RANLIB=$${RANLIB}" \
41925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41926 info) \
41927 || exit 1
41929 @endif target-libssp
41931 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
41932 maybe-dvi-target-libssp:
41933 @if target-libssp
41934 maybe-dvi-target-libssp: dvi-target-libssp
41936 dvi-target-libssp: \
41937 configure-target-libssp
41938 @: $(MAKE); $(unstage)
41939 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41940 r=`${PWD_COMMAND}`; export r; \
41941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41942 $(NORMAL_TARGET_EXPORTS) \
41943 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
41944 for flag in $(EXTRA_TARGET_FLAGS); do \
41945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41946 done; \
41947 (cd $(TARGET_SUBDIR)/libssp && \
41948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41950 "RANLIB=$${RANLIB}" \
41951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41952 dvi) \
41953 || exit 1
41955 @endif target-libssp
41957 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
41958 maybe-pdf-target-libssp:
41959 @if target-libssp
41960 maybe-pdf-target-libssp: pdf-target-libssp
41962 pdf-target-libssp: \
41963 configure-target-libssp
41964 @: $(MAKE); $(unstage)
41965 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41966 r=`${PWD_COMMAND}`; export r; \
41967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41968 $(NORMAL_TARGET_EXPORTS) \
41969 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
41970 for flag in $(EXTRA_TARGET_FLAGS); do \
41971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41972 done; \
41973 (cd $(TARGET_SUBDIR)/libssp && \
41974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41976 "RANLIB=$${RANLIB}" \
41977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41978 pdf) \
41979 || exit 1
41981 @endif target-libssp
41983 .PHONY: maybe-html-target-libssp html-target-libssp
41984 maybe-html-target-libssp:
41985 @if target-libssp
41986 maybe-html-target-libssp: html-target-libssp
41988 html-target-libssp: \
41989 configure-target-libssp
41990 @: $(MAKE); $(unstage)
41991 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
41992 r=`${PWD_COMMAND}`; export r; \
41993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41994 $(NORMAL_TARGET_EXPORTS) \
41995 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
41996 for flag in $(EXTRA_TARGET_FLAGS); do \
41997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41998 done; \
41999 (cd $(TARGET_SUBDIR)/libssp && \
42000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42002 "RANLIB=$${RANLIB}" \
42003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42004 html) \
42005 || exit 1
42007 @endif target-libssp
42009 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
42010 maybe-TAGS-target-libssp:
42011 @if target-libssp
42012 maybe-TAGS-target-libssp: TAGS-target-libssp
42014 TAGS-target-libssp: \
42015 configure-target-libssp
42016 @: $(MAKE); $(unstage)
42017 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42018 r=`${PWD_COMMAND}`; export r; \
42019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42020 $(NORMAL_TARGET_EXPORTS) \
42021 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
42022 for flag in $(EXTRA_TARGET_FLAGS); do \
42023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42024 done; \
42025 (cd $(TARGET_SUBDIR)/libssp && \
42026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42028 "RANLIB=$${RANLIB}" \
42029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42030 TAGS) \
42031 || exit 1
42033 @endif target-libssp
42035 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
42036 maybe-install-info-target-libssp:
42037 @if target-libssp
42038 maybe-install-info-target-libssp: install-info-target-libssp
42040 install-info-target-libssp: \
42041 configure-target-libssp \
42042 info-target-libssp
42043 @: $(MAKE); $(unstage)
42044 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42045 r=`${PWD_COMMAND}`; export r; \
42046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42047 $(NORMAL_TARGET_EXPORTS) \
42048 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
42049 for flag in $(EXTRA_TARGET_FLAGS); do \
42050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42051 done; \
42052 (cd $(TARGET_SUBDIR)/libssp && \
42053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42055 "RANLIB=$${RANLIB}" \
42056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42057 install-info) \
42058 || exit 1
42060 @endif target-libssp
42062 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
42063 maybe-install-pdf-target-libssp:
42064 @if target-libssp
42065 maybe-install-pdf-target-libssp: install-pdf-target-libssp
42067 install-pdf-target-libssp: \
42068 configure-target-libssp \
42069 pdf-target-libssp
42070 @: $(MAKE); $(unstage)
42071 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42072 r=`${PWD_COMMAND}`; export r; \
42073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42074 $(NORMAL_TARGET_EXPORTS) \
42075 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
42076 for flag in $(EXTRA_TARGET_FLAGS); do \
42077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42078 done; \
42079 (cd $(TARGET_SUBDIR)/libssp && \
42080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42082 "RANLIB=$${RANLIB}" \
42083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42084 install-pdf) \
42085 || exit 1
42087 @endif target-libssp
42089 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
42090 maybe-install-html-target-libssp:
42091 @if target-libssp
42092 maybe-install-html-target-libssp: install-html-target-libssp
42094 install-html-target-libssp: \
42095 configure-target-libssp \
42096 html-target-libssp
42097 @: $(MAKE); $(unstage)
42098 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42099 r=`${PWD_COMMAND}`; export r; \
42100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42101 $(NORMAL_TARGET_EXPORTS) \
42102 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
42103 for flag in $(EXTRA_TARGET_FLAGS); do \
42104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42105 done; \
42106 (cd $(TARGET_SUBDIR)/libssp && \
42107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42109 "RANLIB=$${RANLIB}" \
42110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42111 install-html) \
42112 || exit 1
42114 @endif target-libssp
42116 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
42117 maybe-installcheck-target-libssp:
42118 @if target-libssp
42119 maybe-installcheck-target-libssp: installcheck-target-libssp
42121 installcheck-target-libssp: \
42122 configure-target-libssp
42123 @: $(MAKE); $(unstage)
42124 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42125 r=`${PWD_COMMAND}`; export r; \
42126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42127 $(NORMAL_TARGET_EXPORTS) \
42128 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
42129 for flag in $(EXTRA_TARGET_FLAGS); do \
42130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42131 done; \
42132 (cd $(TARGET_SUBDIR)/libssp && \
42133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42135 "RANLIB=$${RANLIB}" \
42136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42137 installcheck) \
42138 || exit 1
42140 @endif target-libssp
42142 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
42143 maybe-mostlyclean-target-libssp:
42144 @if target-libssp
42145 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
42147 mostlyclean-target-libssp:
42148 @: $(MAKE); $(unstage)
42149 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42150 r=`${PWD_COMMAND}`; export r; \
42151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42152 $(NORMAL_TARGET_EXPORTS) \
42153 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
42154 for flag in $(EXTRA_TARGET_FLAGS); do \
42155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42156 done; \
42157 (cd $(TARGET_SUBDIR)/libssp && \
42158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42160 "RANLIB=$${RANLIB}" \
42161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42162 mostlyclean) \
42163 || exit 1
42165 @endif target-libssp
42167 .PHONY: maybe-clean-target-libssp clean-target-libssp
42168 maybe-clean-target-libssp:
42169 @if target-libssp
42170 maybe-clean-target-libssp: clean-target-libssp
42172 clean-target-libssp:
42173 @: $(MAKE); $(unstage)
42174 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42175 r=`${PWD_COMMAND}`; export r; \
42176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42177 $(NORMAL_TARGET_EXPORTS) \
42178 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
42179 for flag in $(EXTRA_TARGET_FLAGS); do \
42180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42181 done; \
42182 (cd $(TARGET_SUBDIR)/libssp && \
42183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42185 "RANLIB=$${RANLIB}" \
42186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42187 clean) \
42188 || exit 1
42190 @endif target-libssp
42192 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
42193 maybe-distclean-target-libssp:
42194 @if target-libssp
42195 maybe-distclean-target-libssp: distclean-target-libssp
42197 distclean-target-libssp:
42198 @: $(MAKE); $(unstage)
42199 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42200 r=`${PWD_COMMAND}`; export r; \
42201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42202 $(NORMAL_TARGET_EXPORTS) \
42203 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
42204 for flag in $(EXTRA_TARGET_FLAGS); do \
42205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42206 done; \
42207 (cd $(TARGET_SUBDIR)/libssp && \
42208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42210 "RANLIB=$${RANLIB}" \
42211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42212 distclean) \
42213 || exit 1
42215 @endif target-libssp
42217 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
42218 maybe-maintainer-clean-target-libssp:
42219 @if target-libssp
42220 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
42222 maintainer-clean-target-libssp:
42223 @: $(MAKE); $(unstage)
42224 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42225 r=`${PWD_COMMAND}`; export r; \
42226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42227 $(NORMAL_TARGET_EXPORTS) \
42228 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
42229 for flag in $(EXTRA_TARGET_FLAGS); do \
42230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42231 done; \
42232 (cd $(TARGET_SUBDIR)/libssp && \
42233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42235 "RANLIB=$${RANLIB}" \
42236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42237 maintainer-clean) \
42238 || exit 1
42240 @endif target-libssp
42246 .PHONY: configure-target-newlib maybe-configure-target-newlib
42247 maybe-configure-target-newlib:
42248 @if gcc-bootstrap
42249 configure-target-newlib: stage_current
42250 @endif gcc-bootstrap
42251 @if target-newlib
42252 maybe-configure-target-newlib: configure-target-newlib
42253 configure-target-newlib:
42254 @: $(MAKE); $(unstage)
42255 @r=`${PWD_COMMAND}`; export r; \
42256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42257 echo "Checking multilib configuration for newlib..."; \
42258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42259 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
42260 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
42261 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
42262 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
42263 else \
42264 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
42265 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42266 fi; \
42267 else \
42268 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42269 fi; \
42270 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
42271 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42272 $(NORMAL_TARGET_EXPORTS) \
42273 echo Configuring in $(TARGET_SUBDIR)/newlib; \
42274 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
42275 case $(srcdir) in \
42276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42277 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
42278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42279 esac; \
42280 module_srcdir=newlib; \
42281 rm -f no-such-file || : ; \
42282 CONFIG_SITE=no-such-file $(SHELL) \
42283 $$s/$$module_srcdir/configure \
42284 --srcdir=$${topdir}/$$module_srcdir \
42285 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42286 --target=${target_alias} \
42287 || exit 1
42288 @endif target-newlib
42294 .PHONY: all-target-newlib maybe-all-target-newlib
42295 maybe-all-target-newlib:
42296 @if gcc-bootstrap
42297 all-target-newlib: stage_current
42298 @endif gcc-bootstrap
42299 @if target-newlib
42300 TARGET-target-newlib=all
42301 maybe-all-target-newlib: all-target-newlib
42302 all-target-newlib: configure-target-newlib
42303 @: $(MAKE); $(unstage)
42304 @r=`${PWD_COMMAND}`; export r; \
42305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42306 $(NORMAL_TARGET_EXPORTS) \
42307 (cd $(TARGET_SUBDIR)/newlib && \
42308 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42309 $(TARGET-target-newlib))
42310 @endif target-newlib
42316 .PHONY: check-target-newlib maybe-check-target-newlib
42317 maybe-check-target-newlib:
42318 @if target-newlib
42319 maybe-check-target-newlib: check-target-newlib
42321 check-target-newlib:
42322 @: $(MAKE); $(unstage)
42323 @r=`${PWD_COMMAND}`; export r; \
42324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42325 $(NORMAL_TARGET_EXPORTS) \
42326 (cd $(TARGET_SUBDIR)/newlib && \
42327 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42329 @endif target-newlib
42331 .PHONY: install-target-newlib maybe-install-target-newlib
42332 maybe-install-target-newlib:
42333 @if target-newlib
42334 maybe-install-target-newlib: install-target-newlib
42336 install-target-newlib: installdirs
42337 @: $(MAKE); $(unstage)
42338 @r=`${PWD_COMMAND}`; export r; \
42339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42340 $(NORMAL_TARGET_EXPORTS) \
42341 (cd $(TARGET_SUBDIR)/newlib && \
42342 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42344 @endif target-newlib
42346 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
42347 maybe-install-strip-target-newlib:
42348 @if target-newlib
42349 maybe-install-strip-target-newlib: install-strip-target-newlib
42351 install-strip-target-newlib: installdirs
42352 @: $(MAKE); $(unstage)
42353 @r=`${PWD_COMMAND}`; export r; \
42354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42355 $(NORMAL_TARGET_EXPORTS) \
42356 (cd $(TARGET_SUBDIR)/newlib && \
42357 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42359 @endif target-newlib
42361 # Other targets (info, dvi, pdf, etc.)
42363 .PHONY: maybe-info-target-newlib info-target-newlib
42364 maybe-info-target-newlib:
42365 @if target-newlib
42366 maybe-info-target-newlib: info-target-newlib
42368 info-target-newlib: \
42369 configure-target-newlib
42370 @: $(MAKE); $(unstage)
42371 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42372 r=`${PWD_COMMAND}`; export r; \
42373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42374 $(NORMAL_TARGET_EXPORTS) \
42375 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
42376 for flag in $(EXTRA_TARGET_FLAGS); do \
42377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42378 done; \
42379 (cd $(TARGET_SUBDIR)/newlib && \
42380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42382 "RANLIB=$${RANLIB}" \
42383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42384 info) \
42385 || exit 1
42387 @endif target-newlib
42389 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
42390 maybe-dvi-target-newlib:
42391 @if target-newlib
42392 maybe-dvi-target-newlib: dvi-target-newlib
42394 dvi-target-newlib: \
42395 configure-target-newlib
42396 @: $(MAKE); $(unstage)
42397 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42398 r=`${PWD_COMMAND}`; export r; \
42399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42400 $(NORMAL_TARGET_EXPORTS) \
42401 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
42402 for flag in $(EXTRA_TARGET_FLAGS); do \
42403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42404 done; \
42405 (cd $(TARGET_SUBDIR)/newlib && \
42406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42408 "RANLIB=$${RANLIB}" \
42409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42410 dvi) \
42411 || exit 1
42413 @endif target-newlib
42415 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
42416 maybe-pdf-target-newlib:
42417 @if target-newlib
42418 maybe-pdf-target-newlib: pdf-target-newlib
42420 pdf-target-newlib: \
42421 configure-target-newlib
42422 @: $(MAKE); $(unstage)
42423 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42424 r=`${PWD_COMMAND}`; export r; \
42425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42426 $(NORMAL_TARGET_EXPORTS) \
42427 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
42428 for flag in $(EXTRA_TARGET_FLAGS); do \
42429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42430 done; \
42431 (cd $(TARGET_SUBDIR)/newlib && \
42432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42434 "RANLIB=$${RANLIB}" \
42435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42436 pdf) \
42437 || exit 1
42439 @endif target-newlib
42441 .PHONY: maybe-html-target-newlib html-target-newlib
42442 maybe-html-target-newlib:
42443 @if target-newlib
42444 maybe-html-target-newlib: html-target-newlib
42446 html-target-newlib: \
42447 configure-target-newlib
42448 @: $(MAKE); $(unstage)
42449 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42450 r=`${PWD_COMMAND}`; export r; \
42451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42452 $(NORMAL_TARGET_EXPORTS) \
42453 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
42454 for flag in $(EXTRA_TARGET_FLAGS); do \
42455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42456 done; \
42457 (cd $(TARGET_SUBDIR)/newlib && \
42458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42460 "RANLIB=$${RANLIB}" \
42461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42462 html) \
42463 || exit 1
42465 @endif target-newlib
42467 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
42468 maybe-TAGS-target-newlib:
42469 @if target-newlib
42470 maybe-TAGS-target-newlib: TAGS-target-newlib
42472 TAGS-target-newlib: \
42473 configure-target-newlib
42474 @: $(MAKE); $(unstage)
42475 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42476 r=`${PWD_COMMAND}`; export r; \
42477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42478 $(NORMAL_TARGET_EXPORTS) \
42479 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
42480 for flag in $(EXTRA_TARGET_FLAGS); do \
42481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42482 done; \
42483 (cd $(TARGET_SUBDIR)/newlib && \
42484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42486 "RANLIB=$${RANLIB}" \
42487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42488 TAGS) \
42489 || exit 1
42491 @endif target-newlib
42493 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
42494 maybe-install-info-target-newlib:
42495 @if target-newlib
42496 maybe-install-info-target-newlib: install-info-target-newlib
42498 install-info-target-newlib: \
42499 configure-target-newlib \
42500 info-target-newlib
42501 @: $(MAKE); $(unstage)
42502 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42503 r=`${PWD_COMMAND}`; export r; \
42504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42505 $(NORMAL_TARGET_EXPORTS) \
42506 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
42507 for flag in $(EXTRA_TARGET_FLAGS); do \
42508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42509 done; \
42510 (cd $(TARGET_SUBDIR)/newlib && \
42511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42513 "RANLIB=$${RANLIB}" \
42514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42515 install-info) \
42516 || exit 1
42518 @endif target-newlib
42520 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
42521 maybe-install-pdf-target-newlib:
42522 @if target-newlib
42523 maybe-install-pdf-target-newlib: install-pdf-target-newlib
42525 install-pdf-target-newlib: \
42526 configure-target-newlib \
42527 pdf-target-newlib
42528 @: $(MAKE); $(unstage)
42529 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42530 r=`${PWD_COMMAND}`; export r; \
42531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42532 $(NORMAL_TARGET_EXPORTS) \
42533 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
42534 for flag in $(EXTRA_TARGET_FLAGS); do \
42535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42536 done; \
42537 (cd $(TARGET_SUBDIR)/newlib && \
42538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42540 "RANLIB=$${RANLIB}" \
42541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42542 install-pdf) \
42543 || exit 1
42545 @endif target-newlib
42547 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
42548 maybe-install-html-target-newlib:
42549 @if target-newlib
42550 maybe-install-html-target-newlib: install-html-target-newlib
42552 install-html-target-newlib: \
42553 configure-target-newlib \
42554 html-target-newlib
42555 @: $(MAKE); $(unstage)
42556 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42557 r=`${PWD_COMMAND}`; export r; \
42558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42559 $(NORMAL_TARGET_EXPORTS) \
42560 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
42561 for flag in $(EXTRA_TARGET_FLAGS); do \
42562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42563 done; \
42564 (cd $(TARGET_SUBDIR)/newlib && \
42565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42567 "RANLIB=$${RANLIB}" \
42568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42569 install-html) \
42570 || exit 1
42572 @endif target-newlib
42574 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
42575 maybe-installcheck-target-newlib:
42576 @if target-newlib
42577 maybe-installcheck-target-newlib: installcheck-target-newlib
42579 installcheck-target-newlib: \
42580 configure-target-newlib
42581 @: $(MAKE); $(unstage)
42582 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42583 r=`${PWD_COMMAND}`; export r; \
42584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42585 $(NORMAL_TARGET_EXPORTS) \
42586 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
42587 for flag in $(EXTRA_TARGET_FLAGS); do \
42588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42589 done; \
42590 (cd $(TARGET_SUBDIR)/newlib && \
42591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42593 "RANLIB=$${RANLIB}" \
42594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42595 installcheck) \
42596 || exit 1
42598 @endif target-newlib
42600 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
42601 maybe-mostlyclean-target-newlib:
42602 @if target-newlib
42603 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
42605 mostlyclean-target-newlib:
42606 @: $(MAKE); $(unstage)
42607 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42608 r=`${PWD_COMMAND}`; export r; \
42609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42610 $(NORMAL_TARGET_EXPORTS) \
42611 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
42612 for flag in $(EXTRA_TARGET_FLAGS); do \
42613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42614 done; \
42615 (cd $(TARGET_SUBDIR)/newlib && \
42616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42618 "RANLIB=$${RANLIB}" \
42619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42620 mostlyclean) \
42621 || exit 1
42623 @endif target-newlib
42625 .PHONY: maybe-clean-target-newlib clean-target-newlib
42626 maybe-clean-target-newlib:
42627 @if target-newlib
42628 maybe-clean-target-newlib: clean-target-newlib
42630 clean-target-newlib:
42631 @: $(MAKE); $(unstage)
42632 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42633 r=`${PWD_COMMAND}`; export r; \
42634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42635 $(NORMAL_TARGET_EXPORTS) \
42636 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
42637 for flag in $(EXTRA_TARGET_FLAGS); do \
42638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42639 done; \
42640 (cd $(TARGET_SUBDIR)/newlib && \
42641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42643 "RANLIB=$${RANLIB}" \
42644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42645 clean) \
42646 || exit 1
42648 @endif target-newlib
42650 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
42651 maybe-distclean-target-newlib:
42652 @if target-newlib
42653 maybe-distclean-target-newlib: distclean-target-newlib
42655 distclean-target-newlib:
42656 @: $(MAKE); $(unstage)
42657 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42658 r=`${PWD_COMMAND}`; export r; \
42659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42660 $(NORMAL_TARGET_EXPORTS) \
42661 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
42662 for flag in $(EXTRA_TARGET_FLAGS); do \
42663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42664 done; \
42665 (cd $(TARGET_SUBDIR)/newlib && \
42666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42668 "RANLIB=$${RANLIB}" \
42669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42670 distclean) \
42671 || exit 1
42673 @endif target-newlib
42675 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
42676 maybe-maintainer-clean-target-newlib:
42677 @if target-newlib
42678 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
42680 maintainer-clean-target-newlib:
42681 @: $(MAKE); $(unstage)
42682 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42683 r=`${PWD_COMMAND}`; export r; \
42684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42685 $(NORMAL_TARGET_EXPORTS) \
42686 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
42687 for flag in $(EXTRA_TARGET_FLAGS); do \
42688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42689 done; \
42690 (cd $(TARGET_SUBDIR)/newlib && \
42691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42693 "RANLIB=$${RANLIB}" \
42694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42695 maintainer-clean) \
42696 || exit 1
42698 @endif target-newlib
42704 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
42705 maybe-configure-target-libgcc:
42706 @if gcc-bootstrap
42707 configure-target-libgcc: stage_current
42708 @endif gcc-bootstrap
42709 @if target-libgcc
42710 maybe-configure-target-libgcc: configure-target-libgcc
42711 configure-target-libgcc:
42712 @r=`${PWD_COMMAND}`; export r; \
42713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42714 echo "Checking multilib configuration for libgcc..."; \
42715 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42716 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42717 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42718 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42719 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42720 else \
42721 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42722 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42723 fi; \
42724 else \
42725 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42726 fi; \
42727 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42728 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42729 $(NORMAL_TARGET_EXPORTS) \
42730 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
42731 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
42732 case $(srcdir) in \
42733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42734 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42736 esac; \
42737 module_srcdir=libgcc; \
42738 rm -f no-such-file || : ; \
42739 CONFIG_SITE=no-such-file $(SHELL) \
42740 $$s/$$module_srcdir/configure \
42741 --srcdir=$${topdir}/$$module_srcdir \
42742 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42743 --target=${target_alias} \
42744 || exit 1
42745 @endif target-libgcc
42749 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
42750 maybe-configure-stage1-target-libgcc:
42751 @if target-libgcc-bootstrap
42752 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
42753 configure-stage1-target-libgcc:
42754 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42755 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42756 @r=`${PWD_COMMAND}`; export r; \
42757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42758 TFLAGS="$(STAGE1_TFLAGS)"; \
42759 echo "Checking multilib configuration for libgcc..."; \
42760 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42761 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42762 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42763 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42764 else \
42765 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42766 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42767 fi; \
42768 else \
42769 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42770 fi; \
42771 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42772 $(NORMAL_TARGET_EXPORTS) \
42773 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42774 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42775 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42776 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
42777 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42778 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42779 case $(srcdir) in \
42780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42781 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42783 esac; \
42784 module_srcdir=libgcc; \
42785 $(SHELL) $$s/$$module_srcdir/configure \
42786 --srcdir=$${topdir}/$$module_srcdir \
42787 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42788 --target=${target_alias} \
42790 $(STAGE1_CONFIGURE_FLAGS)
42791 @endif target-libgcc-bootstrap
42793 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
42794 maybe-configure-stage2-target-libgcc:
42795 @if target-libgcc-bootstrap
42796 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
42797 configure-stage2-target-libgcc:
42798 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42799 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42800 @r=`${PWD_COMMAND}`; export r; \
42801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42802 TFLAGS="$(STAGE2_TFLAGS)"; \
42803 echo "Checking multilib configuration for libgcc..."; \
42804 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42805 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42806 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42807 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42808 else \
42809 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42810 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42811 fi; \
42812 else \
42813 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42814 fi; \
42815 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42816 $(NORMAL_TARGET_EXPORTS) \
42818 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42819 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42820 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42821 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
42822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42823 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42824 case $(srcdir) in \
42825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42826 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42828 esac; \
42829 module_srcdir=libgcc; \
42830 $(SHELL) $$s/$$module_srcdir/configure \
42831 --srcdir=$${topdir}/$$module_srcdir \
42832 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42833 --target=${target_alias} \
42834 --with-build-libsubdir=$(HOST_SUBDIR) \
42835 $(STAGE2_CONFIGURE_FLAGS)
42836 @endif target-libgcc-bootstrap
42838 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
42839 maybe-configure-stage3-target-libgcc:
42840 @if target-libgcc-bootstrap
42841 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
42842 configure-stage3-target-libgcc:
42843 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42844 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42845 @r=`${PWD_COMMAND}`; export r; \
42846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42847 TFLAGS="$(STAGE3_TFLAGS)"; \
42848 echo "Checking multilib configuration for libgcc..."; \
42849 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42850 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42851 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42852 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42853 else \
42854 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42855 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42856 fi; \
42857 else \
42858 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42859 fi; \
42860 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42861 $(NORMAL_TARGET_EXPORTS) \
42863 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42864 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42865 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42866 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
42867 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42868 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42869 case $(srcdir) in \
42870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42871 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42873 esac; \
42874 module_srcdir=libgcc; \
42875 $(SHELL) $$s/$$module_srcdir/configure \
42876 --srcdir=$${topdir}/$$module_srcdir \
42877 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42878 --target=${target_alias} \
42879 --with-build-libsubdir=$(HOST_SUBDIR) \
42880 $(STAGE3_CONFIGURE_FLAGS)
42881 @endif target-libgcc-bootstrap
42883 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
42884 maybe-configure-stage4-target-libgcc:
42885 @if target-libgcc-bootstrap
42886 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
42887 configure-stage4-target-libgcc:
42888 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42889 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42890 @r=`${PWD_COMMAND}`; export r; \
42891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42892 TFLAGS="$(STAGE4_TFLAGS)"; \
42893 echo "Checking multilib configuration for libgcc..."; \
42894 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42895 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42896 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42897 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42898 else \
42899 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42900 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42901 fi; \
42902 else \
42903 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42904 fi; \
42905 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42906 $(NORMAL_TARGET_EXPORTS) \
42908 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42909 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42910 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42911 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
42912 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42913 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42914 case $(srcdir) in \
42915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42916 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42918 esac; \
42919 module_srcdir=libgcc; \
42920 $(SHELL) $$s/$$module_srcdir/configure \
42921 --srcdir=$${topdir}/$$module_srcdir \
42922 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42923 --target=${target_alias} \
42924 --with-build-libsubdir=$(HOST_SUBDIR) \
42925 $(STAGE4_CONFIGURE_FLAGS)
42926 @endif target-libgcc-bootstrap
42928 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
42929 maybe-configure-stageprofile-target-libgcc:
42930 @if target-libgcc-bootstrap
42931 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
42932 configure-stageprofile-target-libgcc:
42933 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42934 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42935 @r=`${PWD_COMMAND}`; export r; \
42936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42937 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42938 echo "Checking multilib configuration for libgcc..."; \
42939 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42940 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42941 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42942 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42943 else \
42944 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42945 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42946 fi; \
42947 else \
42948 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42949 fi; \
42950 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42951 $(NORMAL_TARGET_EXPORTS) \
42953 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42954 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42955 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
42956 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
42957 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
42958 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42959 case $(srcdir) in \
42960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42961 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42963 esac; \
42964 module_srcdir=libgcc; \
42965 $(SHELL) $$s/$$module_srcdir/configure \
42966 --srcdir=$${topdir}/$$module_srcdir \
42967 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42968 --target=${target_alias} \
42969 --with-build-libsubdir=$(HOST_SUBDIR) \
42970 $(STAGEprofile_CONFIGURE_FLAGS)
42971 @endif target-libgcc-bootstrap
42973 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
42974 maybe-configure-stagefeedback-target-libgcc:
42975 @if target-libgcc-bootstrap
42976 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
42977 configure-stagefeedback-target-libgcc:
42978 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42979 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42980 @r=`${PWD_COMMAND}`; export r; \
42981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42982 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42983 echo "Checking multilib configuration for libgcc..."; \
42984 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
42985 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42986 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42987 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42988 else \
42989 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42990 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42991 fi; \
42992 else \
42993 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42994 fi; \
42995 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42996 $(NORMAL_TARGET_EXPORTS) \
42998 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
42999 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43000 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43001 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
43002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43003 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43004 case $(srcdir) in \
43005 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43006 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43007 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43008 esac; \
43009 module_srcdir=libgcc; \
43010 $(SHELL) $$s/$$module_srcdir/configure \
43011 --srcdir=$${topdir}/$$module_srcdir \
43012 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43013 --target=${target_alias} \
43014 --with-build-libsubdir=$(HOST_SUBDIR) \
43015 $(STAGEfeedback_CONFIGURE_FLAGS)
43016 @endif target-libgcc-bootstrap
43018 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
43019 maybe-configure-stageautoprofile-target-libgcc:
43020 @if target-libgcc-bootstrap
43021 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43022 configure-stageautoprofile-target-libgcc:
43023 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43024 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43025 @r=`${PWD_COMMAND}`; export r; \
43026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43027 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43028 echo "Checking multilib configuration for libgcc..."; \
43029 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43030 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43031 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43032 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43033 else \
43034 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43035 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43036 fi; \
43037 else \
43038 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43039 fi; \
43040 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43041 $(NORMAL_TARGET_EXPORTS) \
43043 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43044 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43045 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43046 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
43047 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43048 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43049 case $(srcdir) in \
43050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43051 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43053 esac; \
43054 module_srcdir=libgcc; \
43055 $(SHELL) $$s/$$module_srcdir/configure \
43056 --srcdir=$${topdir}/$$module_srcdir \
43057 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43058 --target=${target_alias} \
43059 --with-build-libsubdir=$(HOST_SUBDIR) \
43060 $(STAGEautoprofile_CONFIGURE_FLAGS)
43061 @endif target-libgcc-bootstrap
43063 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
43064 maybe-configure-stageautofeedback-target-libgcc:
43065 @if target-libgcc-bootstrap
43066 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43067 configure-stageautofeedback-target-libgcc:
43068 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43069 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43070 @r=`${PWD_COMMAND}`; export r; \
43071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43072 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43073 echo "Checking multilib configuration for libgcc..."; \
43074 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43075 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43076 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43077 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43078 else \
43079 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43080 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43081 fi; \
43082 else \
43083 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43084 fi; \
43085 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43086 $(NORMAL_TARGET_EXPORTS) \
43088 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43089 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43090 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43091 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
43092 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43093 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43094 case $(srcdir) in \
43095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43096 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43098 esac; \
43099 module_srcdir=libgcc; \
43100 $(SHELL) $$s/$$module_srcdir/configure \
43101 --srcdir=$${topdir}/$$module_srcdir \
43102 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43103 --target=${target_alias} \
43104 --with-build-libsubdir=$(HOST_SUBDIR) \
43105 $(STAGEautofeedback_CONFIGURE_FLAGS)
43106 @endif target-libgcc-bootstrap
43112 .PHONY: all-target-libgcc maybe-all-target-libgcc
43113 maybe-all-target-libgcc:
43114 @if gcc-bootstrap
43115 all-target-libgcc: stage_current
43116 @endif gcc-bootstrap
43117 @if target-libgcc
43118 TARGET-target-libgcc=all
43119 maybe-all-target-libgcc: all-target-libgcc
43120 all-target-libgcc: configure-target-libgcc
43121 @r=`${PWD_COMMAND}`; export r; \
43122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43123 $(NORMAL_TARGET_EXPORTS) \
43124 (cd $(TARGET_SUBDIR)/libgcc && \
43125 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43126 $(TARGET-target-libgcc))
43127 @endif target-libgcc
43131 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
43132 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
43133 maybe-all-stage1-target-libgcc:
43134 maybe-clean-stage1-target-libgcc:
43135 @if target-libgcc-bootstrap
43136 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
43137 all-stage1: all-stage1-target-libgcc
43138 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
43139 all-stage1-target-libgcc: configure-stage1-target-libgcc
43140 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43141 @r=`${PWD_COMMAND}`; export r; \
43142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43143 TFLAGS="$(STAGE1_TFLAGS)"; \
43144 $(NORMAL_TARGET_EXPORTS) \
43145 cd $(TARGET_SUBDIR)/libgcc && \
43147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43148 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43149 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43150 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43154 $(EXTRA_TARGET_FLAGS) \
43156 TFLAGS="$(STAGE1_TFLAGS)" \
43157 $(TARGET-stage1-target-libgcc)
43159 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
43160 clean-stage1: clean-stage1-target-libgcc
43161 clean-stage1-target-libgcc:
43162 @if [ $(current_stage) = stage1 ]; then \
43163 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43164 else \
43165 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
43166 $(MAKE) stage1-start; \
43167 fi; \
43168 cd $(TARGET_SUBDIR)/libgcc && \
43169 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43170 clean
43171 @endif target-libgcc-bootstrap
43174 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
43175 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
43176 maybe-all-stage2-target-libgcc:
43177 maybe-clean-stage2-target-libgcc:
43178 @if target-libgcc-bootstrap
43179 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
43180 all-stage2: all-stage2-target-libgcc
43181 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
43182 all-stage2-target-libgcc: configure-stage2-target-libgcc
43183 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43184 @r=`${PWD_COMMAND}`; export r; \
43185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43186 TFLAGS="$(STAGE2_TFLAGS)"; \
43187 $(NORMAL_TARGET_EXPORTS) \
43189 cd $(TARGET_SUBDIR)/libgcc && \
43191 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43192 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43193 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43194 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43198 $(EXTRA_TARGET_FLAGS) \
43199 TFLAGS="$(STAGE2_TFLAGS)" \
43200 $(TARGET-stage2-target-libgcc)
43202 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
43203 clean-stage2: clean-stage2-target-libgcc
43204 clean-stage2-target-libgcc:
43205 @if [ $(current_stage) = stage2 ]; then \
43206 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43207 else \
43208 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
43209 $(MAKE) stage2-start; \
43210 fi; \
43211 cd $(TARGET_SUBDIR)/libgcc && \
43212 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43213 @endif target-libgcc-bootstrap
43216 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
43217 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
43218 maybe-all-stage3-target-libgcc:
43219 maybe-clean-stage3-target-libgcc:
43220 @if target-libgcc-bootstrap
43221 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
43222 all-stage3: all-stage3-target-libgcc
43223 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
43224 all-stage3-target-libgcc: configure-stage3-target-libgcc
43225 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43226 @r=`${PWD_COMMAND}`; export r; \
43227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43228 TFLAGS="$(STAGE3_TFLAGS)"; \
43229 $(NORMAL_TARGET_EXPORTS) \
43231 cd $(TARGET_SUBDIR)/libgcc && \
43233 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43234 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43235 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43236 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43237 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43238 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43239 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43240 $(EXTRA_TARGET_FLAGS) \
43241 TFLAGS="$(STAGE3_TFLAGS)" \
43242 $(TARGET-stage3-target-libgcc)
43244 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
43245 clean-stage3: clean-stage3-target-libgcc
43246 clean-stage3-target-libgcc:
43247 @if [ $(current_stage) = stage3 ]; then \
43248 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43249 else \
43250 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
43251 $(MAKE) stage3-start; \
43252 fi; \
43253 cd $(TARGET_SUBDIR)/libgcc && \
43254 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43255 @endif target-libgcc-bootstrap
43258 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
43259 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
43260 maybe-all-stage4-target-libgcc:
43261 maybe-clean-stage4-target-libgcc:
43262 @if target-libgcc-bootstrap
43263 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
43264 all-stage4: all-stage4-target-libgcc
43265 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
43266 all-stage4-target-libgcc: configure-stage4-target-libgcc
43267 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43268 @r=`${PWD_COMMAND}`; export r; \
43269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43270 TFLAGS="$(STAGE4_TFLAGS)"; \
43271 $(NORMAL_TARGET_EXPORTS) \
43273 cd $(TARGET_SUBDIR)/libgcc && \
43275 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43276 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43277 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43278 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43282 $(EXTRA_TARGET_FLAGS) \
43283 TFLAGS="$(STAGE4_TFLAGS)" \
43284 $(TARGET-stage4-target-libgcc)
43286 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
43287 clean-stage4: clean-stage4-target-libgcc
43288 clean-stage4-target-libgcc:
43289 @if [ $(current_stage) = stage4 ]; then \
43290 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43291 else \
43292 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
43293 $(MAKE) stage4-start; \
43294 fi; \
43295 cd $(TARGET_SUBDIR)/libgcc && \
43296 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43297 @endif target-libgcc-bootstrap
43300 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
43301 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
43302 maybe-all-stageprofile-target-libgcc:
43303 maybe-clean-stageprofile-target-libgcc:
43304 @if target-libgcc-bootstrap
43305 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
43306 all-stageprofile: all-stageprofile-target-libgcc
43307 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
43308 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43309 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43310 @r=`${PWD_COMMAND}`; export r; \
43311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43312 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43313 $(NORMAL_TARGET_EXPORTS) \
43315 cd $(TARGET_SUBDIR)/libgcc && \
43317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43318 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43319 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43320 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43321 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43322 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43323 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43324 $(EXTRA_TARGET_FLAGS) \
43325 TFLAGS="$(STAGEprofile_TFLAGS)" \
43326 $(TARGET-stageprofile-target-libgcc)
43328 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
43329 clean-stageprofile: clean-stageprofile-target-libgcc
43330 clean-stageprofile-target-libgcc:
43331 @if [ $(current_stage) = stageprofile ]; then \
43332 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43333 else \
43334 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
43335 $(MAKE) stageprofile-start; \
43336 fi; \
43337 cd $(TARGET_SUBDIR)/libgcc && \
43338 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43339 @endif target-libgcc-bootstrap
43342 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
43343 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
43344 maybe-all-stagefeedback-target-libgcc:
43345 maybe-clean-stagefeedback-target-libgcc:
43346 @if target-libgcc-bootstrap
43347 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
43348 all-stagefeedback: all-stagefeedback-target-libgcc
43349 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
43350 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43351 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43352 @r=`${PWD_COMMAND}`; export r; \
43353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43354 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43355 $(NORMAL_TARGET_EXPORTS) \
43357 cd $(TARGET_SUBDIR)/libgcc && \
43359 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43360 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43361 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43362 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43363 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43364 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43365 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43366 $(EXTRA_TARGET_FLAGS) \
43367 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43368 $(TARGET-stagefeedback-target-libgcc)
43370 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
43371 clean-stagefeedback: clean-stagefeedback-target-libgcc
43372 clean-stagefeedback-target-libgcc:
43373 @if [ $(current_stage) = stagefeedback ]; then \
43374 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43375 else \
43376 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
43377 $(MAKE) stagefeedback-start; \
43378 fi; \
43379 cd $(TARGET_SUBDIR)/libgcc && \
43380 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43381 @endif target-libgcc-bootstrap
43384 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
43385 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
43386 maybe-all-stageautoprofile-target-libgcc:
43387 maybe-clean-stageautoprofile-target-libgcc:
43388 @if target-libgcc-bootstrap
43389 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
43390 all-stageautoprofile: all-stageautoprofile-target-libgcc
43391 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
43392 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43393 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43394 @r=`${PWD_COMMAND}`; export r; \
43395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43396 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43397 $(NORMAL_TARGET_EXPORTS) \
43399 cd $(TARGET_SUBDIR)/libgcc && \
43400 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43402 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43403 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43404 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43405 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43406 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43407 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43408 $(EXTRA_TARGET_FLAGS) \
43409 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43410 $(TARGET-stageautoprofile-target-libgcc)
43412 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
43413 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
43414 clean-stageautoprofile-target-libgcc:
43415 @if [ $(current_stage) = stageautoprofile ]; then \
43416 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43417 else \
43418 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
43419 $(MAKE) stageautoprofile-start; \
43420 fi; \
43421 cd $(TARGET_SUBDIR)/libgcc && \
43422 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43423 @endif target-libgcc-bootstrap
43426 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
43427 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
43428 maybe-all-stageautofeedback-target-libgcc:
43429 maybe-clean-stageautofeedback-target-libgcc:
43430 @if target-libgcc-bootstrap
43431 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
43432 all-stageautofeedback: all-stageautofeedback-target-libgcc
43433 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
43434 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43435 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43436 @r=`${PWD_COMMAND}`; export r; \
43437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43438 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43439 $(NORMAL_TARGET_EXPORTS) \
43441 cd $(TARGET_SUBDIR)/libgcc && \
43443 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43444 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43445 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43446 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43450 $(EXTRA_TARGET_FLAGS) \
43451 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43452 $(TARGET-stageautofeedback-target-libgcc)
43454 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
43455 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
43456 clean-stageautofeedback-target-libgcc:
43457 @if [ $(current_stage) = stageautofeedback ]; then \
43458 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43459 else \
43460 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
43461 $(MAKE) stageautofeedback-start; \
43462 fi; \
43463 cd $(TARGET_SUBDIR)/libgcc && \
43464 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43465 @endif target-libgcc-bootstrap
43472 .PHONY: check-target-libgcc maybe-check-target-libgcc
43473 maybe-check-target-libgcc:
43474 @if target-libgcc
43475 maybe-check-target-libgcc: check-target-libgcc
43477 # Dummy target for uncheckable module.
43478 check-target-libgcc:
43480 @endif target-libgcc
43482 .PHONY: install-target-libgcc maybe-install-target-libgcc
43483 maybe-install-target-libgcc:
43484 @if target-libgcc
43485 maybe-install-target-libgcc: install-target-libgcc
43487 install-target-libgcc: installdirs
43488 @: $(MAKE); $(unstage)
43489 @r=`${PWD_COMMAND}`; export r; \
43490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43491 $(NORMAL_TARGET_EXPORTS) \
43492 (cd $(TARGET_SUBDIR)/libgcc && \
43493 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43495 @endif target-libgcc
43497 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
43498 maybe-install-strip-target-libgcc:
43499 @if target-libgcc
43500 maybe-install-strip-target-libgcc: install-strip-target-libgcc
43502 install-strip-target-libgcc: installdirs
43503 @: $(MAKE); $(unstage)
43504 @r=`${PWD_COMMAND}`; export r; \
43505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43506 $(NORMAL_TARGET_EXPORTS) \
43507 (cd $(TARGET_SUBDIR)/libgcc && \
43508 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43510 @endif target-libgcc
43512 # Other targets (info, dvi, pdf, etc.)
43514 .PHONY: maybe-info-target-libgcc info-target-libgcc
43515 maybe-info-target-libgcc:
43516 @if target-libgcc
43517 maybe-info-target-libgcc: info-target-libgcc
43519 info-target-libgcc: \
43520 configure-target-libgcc
43521 @: $(MAKE); $(unstage)
43522 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43523 r=`${PWD_COMMAND}`; export r; \
43524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43525 $(NORMAL_TARGET_EXPORTS) \
43526 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
43527 for flag in $(EXTRA_TARGET_FLAGS); do \
43528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43529 done; \
43530 (cd $(TARGET_SUBDIR)/libgcc && \
43531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43533 "RANLIB=$${RANLIB}" \
43534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43535 info) \
43536 || exit 1
43538 @endif target-libgcc
43540 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
43541 maybe-dvi-target-libgcc:
43542 @if target-libgcc
43543 maybe-dvi-target-libgcc: dvi-target-libgcc
43545 dvi-target-libgcc: \
43546 configure-target-libgcc
43547 @: $(MAKE); $(unstage)
43548 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43549 r=`${PWD_COMMAND}`; export r; \
43550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43551 $(NORMAL_TARGET_EXPORTS) \
43552 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
43553 for flag in $(EXTRA_TARGET_FLAGS); do \
43554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43555 done; \
43556 (cd $(TARGET_SUBDIR)/libgcc && \
43557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43559 "RANLIB=$${RANLIB}" \
43560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43561 dvi) \
43562 || exit 1
43564 @endif target-libgcc
43566 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
43567 maybe-pdf-target-libgcc:
43568 @if target-libgcc
43569 maybe-pdf-target-libgcc: pdf-target-libgcc
43571 pdf-target-libgcc: \
43572 configure-target-libgcc
43573 @: $(MAKE); $(unstage)
43574 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43575 r=`${PWD_COMMAND}`; export r; \
43576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43577 $(NORMAL_TARGET_EXPORTS) \
43578 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
43579 for flag in $(EXTRA_TARGET_FLAGS); do \
43580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43581 done; \
43582 (cd $(TARGET_SUBDIR)/libgcc && \
43583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43585 "RANLIB=$${RANLIB}" \
43586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43587 pdf) \
43588 || exit 1
43590 @endif target-libgcc
43592 .PHONY: maybe-html-target-libgcc html-target-libgcc
43593 maybe-html-target-libgcc:
43594 @if target-libgcc
43595 maybe-html-target-libgcc: html-target-libgcc
43597 html-target-libgcc: \
43598 configure-target-libgcc
43599 @: $(MAKE); $(unstage)
43600 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43601 r=`${PWD_COMMAND}`; export r; \
43602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43603 $(NORMAL_TARGET_EXPORTS) \
43604 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
43605 for flag in $(EXTRA_TARGET_FLAGS); do \
43606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43607 done; \
43608 (cd $(TARGET_SUBDIR)/libgcc && \
43609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43611 "RANLIB=$${RANLIB}" \
43612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43613 html) \
43614 || exit 1
43616 @endif target-libgcc
43618 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
43619 maybe-TAGS-target-libgcc:
43620 @if target-libgcc
43621 maybe-TAGS-target-libgcc: TAGS-target-libgcc
43623 TAGS-target-libgcc: \
43624 configure-target-libgcc
43625 @: $(MAKE); $(unstage)
43626 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43627 r=`${PWD_COMMAND}`; export r; \
43628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43629 $(NORMAL_TARGET_EXPORTS) \
43630 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
43631 for flag in $(EXTRA_TARGET_FLAGS); do \
43632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43633 done; \
43634 (cd $(TARGET_SUBDIR)/libgcc && \
43635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43637 "RANLIB=$${RANLIB}" \
43638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43639 TAGS) \
43640 || exit 1
43642 @endif target-libgcc
43644 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
43645 maybe-install-info-target-libgcc:
43646 @if target-libgcc
43647 maybe-install-info-target-libgcc: install-info-target-libgcc
43649 install-info-target-libgcc: \
43650 configure-target-libgcc \
43651 info-target-libgcc
43652 @: $(MAKE); $(unstage)
43653 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43654 r=`${PWD_COMMAND}`; export r; \
43655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43656 $(NORMAL_TARGET_EXPORTS) \
43657 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
43658 for flag in $(EXTRA_TARGET_FLAGS); do \
43659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43660 done; \
43661 (cd $(TARGET_SUBDIR)/libgcc && \
43662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43664 "RANLIB=$${RANLIB}" \
43665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43666 install-info) \
43667 || exit 1
43669 @endif target-libgcc
43671 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
43672 maybe-install-pdf-target-libgcc:
43673 @if target-libgcc
43674 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
43676 install-pdf-target-libgcc: \
43677 configure-target-libgcc \
43678 pdf-target-libgcc
43679 @: $(MAKE); $(unstage)
43680 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43681 r=`${PWD_COMMAND}`; export r; \
43682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43683 $(NORMAL_TARGET_EXPORTS) \
43684 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
43685 for flag in $(EXTRA_TARGET_FLAGS); do \
43686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43687 done; \
43688 (cd $(TARGET_SUBDIR)/libgcc && \
43689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43691 "RANLIB=$${RANLIB}" \
43692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43693 install-pdf) \
43694 || exit 1
43696 @endif target-libgcc
43698 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
43699 maybe-install-html-target-libgcc:
43700 @if target-libgcc
43701 maybe-install-html-target-libgcc: install-html-target-libgcc
43703 install-html-target-libgcc: \
43704 configure-target-libgcc \
43705 html-target-libgcc
43706 @: $(MAKE); $(unstage)
43707 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43708 r=`${PWD_COMMAND}`; export r; \
43709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43710 $(NORMAL_TARGET_EXPORTS) \
43711 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
43712 for flag in $(EXTRA_TARGET_FLAGS); do \
43713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43714 done; \
43715 (cd $(TARGET_SUBDIR)/libgcc && \
43716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43718 "RANLIB=$${RANLIB}" \
43719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43720 install-html) \
43721 || exit 1
43723 @endif target-libgcc
43725 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
43726 maybe-installcheck-target-libgcc:
43727 @if target-libgcc
43728 maybe-installcheck-target-libgcc: installcheck-target-libgcc
43730 installcheck-target-libgcc: \
43731 configure-target-libgcc
43732 @: $(MAKE); $(unstage)
43733 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43734 r=`${PWD_COMMAND}`; export r; \
43735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43736 $(NORMAL_TARGET_EXPORTS) \
43737 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
43738 for flag in $(EXTRA_TARGET_FLAGS); do \
43739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43740 done; \
43741 (cd $(TARGET_SUBDIR)/libgcc && \
43742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43744 "RANLIB=$${RANLIB}" \
43745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43746 installcheck) \
43747 || exit 1
43749 @endif target-libgcc
43751 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
43752 maybe-mostlyclean-target-libgcc:
43753 @if target-libgcc
43754 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
43756 mostlyclean-target-libgcc:
43757 @: $(MAKE); $(unstage)
43758 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43759 r=`${PWD_COMMAND}`; export r; \
43760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43761 $(NORMAL_TARGET_EXPORTS) \
43762 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
43763 for flag in $(EXTRA_TARGET_FLAGS); do \
43764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43765 done; \
43766 (cd $(TARGET_SUBDIR)/libgcc && \
43767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43769 "RANLIB=$${RANLIB}" \
43770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43771 mostlyclean) \
43772 || exit 1
43774 @endif target-libgcc
43776 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
43777 maybe-clean-target-libgcc:
43778 @if target-libgcc
43779 maybe-clean-target-libgcc: clean-target-libgcc
43781 clean-target-libgcc:
43782 @: $(MAKE); $(unstage)
43783 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43784 r=`${PWD_COMMAND}`; export r; \
43785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43786 $(NORMAL_TARGET_EXPORTS) \
43787 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
43788 for flag in $(EXTRA_TARGET_FLAGS); do \
43789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43790 done; \
43791 (cd $(TARGET_SUBDIR)/libgcc && \
43792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43794 "RANLIB=$${RANLIB}" \
43795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43796 clean) \
43797 || exit 1
43799 @endif target-libgcc
43801 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
43802 maybe-distclean-target-libgcc:
43803 @if target-libgcc
43804 maybe-distclean-target-libgcc: distclean-target-libgcc
43806 distclean-target-libgcc:
43807 @: $(MAKE); $(unstage)
43808 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43809 r=`${PWD_COMMAND}`; export r; \
43810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43811 $(NORMAL_TARGET_EXPORTS) \
43812 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
43813 for flag in $(EXTRA_TARGET_FLAGS); do \
43814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43815 done; \
43816 (cd $(TARGET_SUBDIR)/libgcc && \
43817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43819 "RANLIB=$${RANLIB}" \
43820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43821 distclean) \
43822 || exit 1
43824 @endif target-libgcc
43826 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
43827 maybe-maintainer-clean-target-libgcc:
43828 @if target-libgcc
43829 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
43831 maintainer-clean-target-libgcc:
43832 @: $(MAKE); $(unstage)
43833 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43834 r=`${PWD_COMMAND}`; export r; \
43835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43836 $(NORMAL_TARGET_EXPORTS) \
43837 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
43838 for flag in $(EXTRA_TARGET_FLAGS); do \
43839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43840 done; \
43841 (cd $(TARGET_SUBDIR)/libgcc && \
43842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43844 "RANLIB=$${RANLIB}" \
43845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43846 maintainer-clean) \
43847 || exit 1
43849 @endif target-libgcc
43855 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
43856 maybe-configure-target-libbacktrace:
43857 @if gcc-bootstrap
43858 configure-target-libbacktrace: stage_current
43859 @endif gcc-bootstrap
43860 @if target-libbacktrace
43861 maybe-configure-target-libbacktrace: configure-target-libbacktrace
43862 configure-target-libbacktrace:
43863 @: $(MAKE); $(unstage)
43864 @r=`${PWD_COMMAND}`; export r; \
43865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43866 echo "Checking multilib configuration for libbacktrace..."; \
43867 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
43868 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
43869 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
43870 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
43871 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
43872 else \
43873 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
43874 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
43875 fi; \
43876 else \
43877 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
43878 fi; \
43879 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
43880 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
43881 $(NORMAL_TARGET_EXPORTS) \
43882 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
43883 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
43884 case $(srcdir) in \
43885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43886 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
43887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43888 esac; \
43889 module_srcdir=libbacktrace; \
43890 rm -f no-such-file || : ; \
43891 CONFIG_SITE=no-such-file $(SHELL) \
43892 $$s/$$module_srcdir/configure \
43893 --srcdir=$${topdir}/$$module_srcdir \
43894 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43895 --target=${target_alias} \
43896 || exit 1
43897 @endif target-libbacktrace
43903 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
43904 maybe-all-target-libbacktrace:
43905 @if gcc-bootstrap
43906 all-target-libbacktrace: stage_current
43907 @endif gcc-bootstrap
43908 @if target-libbacktrace
43909 TARGET-target-libbacktrace=all
43910 maybe-all-target-libbacktrace: all-target-libbacktrace
43911 all-target-libbacktrace: configure-target-libbacktrace
43912 @: $(MAKE); $(unstage)
43913 @r=`${PWD_COMMAND}`; export r; \
43914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43915 $(NORMAL_TARGET_EXPORTS) \
43916 (cd $(TARGET_SUBDIR)/libbacktrace && \
43917 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43918 $(TARGET-target-libbacktrace))
43919 @endif target-libbacktrace
43925 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
43926 maybe-check-target-libbacktrace:
43927 @if target-libbacktrace
43928 maybe-check-target-libbacktrace: check-target-libbacktrace
43930 check-target-libbacktrace:
43931 @: $(MAKE); $(unstage)
43932 @r=`${PWD_COMMAND}`; export r; \
43933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43934 $(NORMAL_TARGET_EXPORTS) \
43935 (cd $(TARGET_SUBDIR)/libbacktrace && \
43936 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43938 @endif target-libbacktrace
43940 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
43941 maybe-install-target-libbacktrace:
43942 @if target-libbacktrace
43943 maybe-install-target-libbacktrace: install-target-libbacktrace
43945 install-target-libbacktrace: installdirs
43946 @: $(MAKE); $(unstage)
43947 @r=`${PWD_COMMAND}`; export r; \
43948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43949 $(NORMAL_TARGET_EXPORTS) \
43950 (cd $(TARGET_SUBDIR)/libbacktrace && \
43951 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43953 @endif target-libbacktrace
43955 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
43956 maybe-install-strip-target-libbacktrace:
43957 @if target-libbacktrace
43958 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
43960 install-strip-target-libbacktrace: installdirs
43961 @: $(MAKE); $(unstage)
43962 @r=`${PWD_COMMAND}`; export r; \
43963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43964 $(NORMAL_TARGET_EXPORTS) \
43965 (cd $(TARGET_SUBDIR)/libbacktrace && \
43966 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43968 @endif target-libbacktrace
43970 # Other targets (info, dvi, pdf, etc.)
43972 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
43973 maybe-info-target-libbacktrace:
43974 @if target-libbacktrace
43975 maybe-info-target-libbacktrace: info-target-libbacktrace
43977 info-target-libbacktrace: \
43978 configure-target-libbacktrace
43979 @: $(MAKE); $(unstage)
43980 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
43981 r=`${PWD_COMMAND}`; export r; \
43982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43983 $(NORMAL_TARGET_EXPORTS) \
43984 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
43985 for flag in $(EXTRA_TARGET_FLAGS); do \
43986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43987 done; \
43988 (cd $(TARGET_SUBDIR)/libbacktrace && \
43989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43991 "RANLIB=$${RANLIB}" \
43992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43993 info) \
43994 || exit 1
43996 @endif target-libbacktrace
43998 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
43999 maybe-dvi-target-libbacktrace:
44000 @if target-libbacktrace
44001 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
44003 dvi-target-libbacktrace: \
44004 configure-target-libbacktrace
44005 @: $(MAKE); $(unstage)
44006 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44007 r=`${PWD_COMMAND}`; export r; \
44008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44009 $(NORMAL_TARGET_EXPORTS) \
44010 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
44011 for flag in $(EXTRA_TARGET_FLAGS); do \
44012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44013 done; \
44014 (cd $(TARGET_SUBDIR)/libbacktrace && \
44015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44017 "RANLIB=$${RANLIB}" \
44018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44019 dvi) \
44020 || exit 1
44022 @endif target-libbacktrace
44024 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
44025 maybe-pdf-target-libbacktrace:
44026 @if target-libbacktrace
44027 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
44029 pdf-target-libbacktrace: \
44030 configure-target-libbacktrace
44031 @: $(MAKE); $(unstage)
44032 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44033 r=`${PWD_COMMAND}`; export r; \
44034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44035 $(NORMAL_TARGET_EXPORTS) \
44036 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44037 for flag in $(EXTRA_TARGET_FLAGS); do \
44038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44039 done; \
44040 (cd $(TARGET_SUBDIR)/libbacktrace && \
44041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44043 "RANLIB=$${RANLIB}" \
44044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44045 pdf) \
44046 || exit 1
44048 @endif target-libbacktrace
44050 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
44051 maybe-html-target-libbacktrace:
44052 @if target-libbacktrace
44053 maybe-html-target-libbacktrace: html-target-libbacktrace
44055 html-target-libbacktrace: \
44056 configure-target-libbacktrace
44057 @: $(MAKE); $(unstage)
44058 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44059 r=`${PWD_COMMAND}`; export r; \
44060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44061 $(NORMAL_TARGET_EXPORTS) \
44062 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
44063 for flag in $(EXTRA_TARGET_FLAGS); do \
44064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44065 done; \
44066 (cd $(TARGET_SUBDIR)/libbacktrace && \
44067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44069 "RANLIB=$${RANLIB}" \
44070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44071 html) \
44072 || exit 1
44074 @endif target-libbacktrace
44076 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
44077 maybe-TAGS-target-libbacktrace:
44078 @if target-libbacktrace
44079 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
44081 TAGS-target-libbacktrace: \
44082 configure-target-libbacktrace
44083 @: $(MAKE); $(unstage)
44084 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44085 r=`${PWD_COMMAND}`; export r; \
44086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44087 $(NORMAL_TARGET_EXPORTS) \
44088 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
44089 for flag in $(EXTRA_TARGET_FLAGS); do \
44090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44091 done; \
44092 (cd $(TARGET_SUBDIR)/libbacktrace && \
44093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44095 "RANLIB=$${RANLIB}" \
44096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44097 TAGS) \
44098 || exit 1
44100 @endif target-libbacktrace
44102 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
44103 maybe-install-info-target-libbacktrace:
44104 @if target-libbacktrace
44105 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
44107 install-info-target-libbacktrace: \
44108 configure-target-libbacktrace \
44109 info-target-libbacktrace
44110 @: $(MAKE); $(unstage)
44111 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44112 r=`${PWD_COMMAND}`; export r; \
44113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44114 $(NORMAL_TARGET_EXPORTS) \
44115 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
44116 for flag in $(EXTRA_TARGET_FLAGS); do \
44117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44118 done; \
44119 (cd $(TARGET_SUBDIR)/libbacktrace && \
44120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44122 "RANLIB=$${RANLIB}" \
44123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44124 install-info) \
44125 || exit 1
44127 @endif target-libbacktrace
44129 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
44130 maybe-install-pdf-target-libbacktrace:
44131 @if target-libbacktrace
44132 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
44134 install-pdf-target-libbacktrace: \
44135 configure-target-libbacktrace \
44136 pdf-target-libbacktrace
44137 @: $(MAKE); $(unstage)
44138 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44139 r=`${PWD_COMMAND}`; export r; \
44140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44141 $(NORMAL_TARGET_EXPORTS) \
44142 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44143 for flag in $(EXTRA_TARGET_FLAGS); do \
44144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44145 done; \
44146 (cd $(TARGET_SUBDIR)/libbacktrace && \
44147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44149 "RANLIB=$${RANLIB}" \
44150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44151 install-pdf) \
44152 || exit 1
44154 @endif target-libbacktrace
44156 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
44157 maybe-install-html-target-libbacktrace:
44158 @if target-libbacktrace
44159 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
44161 install-html-target-libbacktrace: \
44162 configure-target-libbacktrace \
44163 html-target-libbacktrace
44164 @: $(MAKE); $(unstage)
44165 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44166 r=`${PWD_COMMAND}`; export r; \
44167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44168 $(NORMAL_TARGET_EXPORTS) \
44169 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
44170 for flag in $(EXTRA_TARGET_FLAGS); do \
44171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44172 done; \
44173 (cd $(TARGET_SUBDIR)/libbacktrace && \
44174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44176 "RANLIB=$${RANLIB}" \
44177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44178 install-html) \
44179 || exit 1
44181 @endif target-libbacktrace
44183 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
44184 maybe-installcheck-target-libbacktrace:
44185 @if target-libbacktrace
44186 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
44188 installcheck-target-libbacktrace: \
44189 configure-target-libbacktrace
44190 @: $(MAKE); $(unstage)
44191 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44192 r=`${PWD_COMMAND}`; export r; \
44193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44194 $(NORMAL_TARGET_EXPORTS) \
44195 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
44196 for flag in $(EXTRA_TARGET_FLAGS); do \
44197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44198 done; \
44199 (cd $(TARGET_SUBDIR)/libbacktrace && \
44200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44202 "RANLIB=$${RANLIB}" \
44203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44204 installcheck) \
44205 || exit 1
44207 @endif target-libbacktrace
44209 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
44210 maybe-mostlyclean-target-libbacktrace:
44211 @if target-libbacktrace
44212 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
44214 mostlyclean-target-libbacktrace:
44215 @: $(MAKE); $(unstage)
44216 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44217 r=`${PWD_COMMAND}`; export r; \
44218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44219 $(NORMAL_TARGET_EXPORTS) \
44220 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
44221 for flag in $(EXTRA_TARGET_FLAGS); do \
44222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44223 done; \
44224 (cd $(TARGET_SUBDIR)/libbacktrace && \
44225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44227 "RANLIB=$${RANLIB}" \
44228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44229 mostlyclean) \
44230 || exit 1
44232 @endif target-libbacktrace
44234 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
44235 maybe-clean-target-libbacktrace:
44236 @if target-libbacktrace
44237 maybe-clean-target-libbacktrace: clean-target-libbacktrace
44239 clean-target-libbacktrace:
44240 @: $(MAKE); $(unstage)
44241 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44242 r=`${PWD_COMMAND}`; export r; \
44243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44244 $(NORMAL_TARGET_EXPORTS) \
44245 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
44246 for flag in $(EXTRA_TARGET_FLAGS); do \
44247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44248 done; \
44249 (cd $(TARGET_SUBDIR)/libbacktrace && \
44250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44252 "RANLIB=$${RANLIB}" \
44253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44254 clean) \
44255 || exit 1
44257 @endif target-libbacktrace
44259 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
44260 maybe-distclean-target-libbacktrace:
44261 @if target-libbacktrace
44262 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
44264 distclean-target-libbacktrace:
44265 @: $(MAKE); $(unstage)
44266 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44267 r=`${PWD_COMMAND}`; export r; \
44268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44269 $(NORMAL_TARGET_EXPORTS) \
44270 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
44271 for flag in $(EXTRA_TARGET_FLAGS); do \
44272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44273 done; \
44274 (cd $(TARGET_SUBDIR)/libbacktrace && \
44275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44277 "RANLIB=$${RANLIB}" \
44278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44279 distclean) \
44280 || exit 1
44282 @endif target-libbacktrace
44284 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
44285 maybe-maintainer-clean-target-libbacktrace:
44286 @if target-libbacktrace
44287 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
44289 maintainer-clean-target-libbacktrace:
44290 @: $(MAKE); $(unstage)
44291 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44292 r=`${PWD_COMMAND}`; export r; \
44293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44294 $(NORMAL_TARGET_EXPORTS) \
44295 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
44296 for flag in $(EXTRA_TARGET_FLAGS); do \
44297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44298 done; \
44299 (cd $(TARGET_SUBDIR)/libbacktrace && \
44300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44302 "RANLIB=$${RANLIB}" \
44303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44304 maintainer-clean) \
44305 || exit 1
44307 @endif target-libbacktrace
44313 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
44314 maybe-configure-target-libquadmath:
44315 @if gcc-bootstrap
44316 configure-target-libquadmath: stage_current
44317 @endif gcc-bootstrap
44318 @if target-libquadmath
44319 maybe-configure-target-libquadmath: configure-target-libquadmath
44320 configure-target-libquadmath:
44321 @: $(MAKE); $(unstage)
44322 @r=`${PWD_COMMAND}`; export r; \
44323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44324 echo "Checking multilib configuration for libquadmath..."; \
44325 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44326 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
44327 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44328 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44329 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
44330 else \
44331 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
44332 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44333 fi; \
44334 else \
44335 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44336 fi; \
44337 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
44338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44339 $(NORMAL_TARGET_EXPORTS) \
44340 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
44341 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
44342 case $(srcdir) in \
44343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44344 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
44345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44346 esac; \
44347 module_srcdir=libquadmath; \
44348 rm -f no-such-file || : ; \
44349 CONFIG_SITE=no-such-file $(SHELL) \
44350 $$s/$$module_srcdir/configure \
44351 --srcdir=$${topdir}/$$module_srcdir \
44352 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44353 --target=${target_alias} \
44354 || exit 1
44355 @endif target-libquadmath
44361 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
44362 maybe-all-target-libquadmath:
44363 @if gcc-bootstrap
44364 all-target-libquadmath: stage_current
44365 @endif gcc-bootstrap
44366 @if target-libquadmath
44367 TARGET-target-libquadmath=all
44368 maybe-all-target-libquadmath: all-target-libquadmath
44369 all-target-libquadmath: configure-target-libquadmath
44370 @: $(MAKE); $(unstage)
44371 @r=`${PWD_COMMAND}`; export r; \
44372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44373 $(NORMAL_TARGET_EXPORTS) \
44374 (cd $(TARGET_SUBDIR)/libquadmath && \
44375 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44376 $(TARGET-target-libquadmath))
44377 @endif target-libquadmath
44383 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
44384 maybe-check-target-libquadmath:
44385 @if target-libquadmath
44386 maybe-check-target-libquadmath: check-target-libquadmath
44388 check-target-libquadmath:
44389 @: $(MAKE); $(unstage)
44390 @r=`${PWD_COMMAND}`; export r; \
44391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44392 $(NORMAL_TARGET_EXPORTS) \
44393 (cd $(TARGET_SUBDIR)/libquadmath && \
44394 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44396 @endif target-libquadmath
44398 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
44399 maybe-install-target-libquadmath:
44400 @if target-libquadmath
44401 maybe-install-target-libquadmath: install-target-libquadmath
44403 install-target-libquadmath: installdirs
44404 @: $(MAKE); $(unstage)
44405 @r=`${PWD_COMMAND}`; export r; \
44406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44407 $(NORMAL_TARGET_EXPORTS) \
44408 (cd $(TARGET_SUBDIR)/libquadmath && \
44409 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44411 @endif target-libquadmath
44413 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
44414 maybe-install-strip-target-libquadmath:
44415 @if target-libquadmath
44416 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
44418 install-strip-target-libquadmath: installdirs
44419 @: $(MAKE); $(unstage)
44420 @r=`${PWD_COMMAND}`; export r; \
44421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44422 $(NORMAL_TARGET_EXPORTS) \
44423 (cd $(TARGET_SUBDIR)/libquadmath && \
44424 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44426 @endif target-libquadmath
44428 # Other targets (info, dvi, pdf, etc.)
44430 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
44431 maybe-info-target-libquadmath:
44432 @if target-libquadmath
44433 maybe-info-target-libquadmath: info-target-libquadmath
44435 info-target-libquadmath: \
44436 configure-target-libquadmath
44437 @: $(MAKE); $(unstage)
44438 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44439 r=`${PWD_COMMAND}`; export r; \
44440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44441 $(NORMAL_TARGET_EXPORTS) \
44442 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
44443 for flag in $(EXTRA_TARGET_FLAGS); do \
44444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44445 done; \
44446 (cd $(TARGET_SUBDIR)/libquadmath && \
44447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44449 "RANLIB=$${RANLIB}" \
44450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44451 info) \
44452 || exit 1
44454 @endif target-libquadmath
44456 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
44457 maybe-dvi-target-libquadmath:
44458 @if target-libquadmath
44459 maybe-dvi-target-libquadmath: dvi-target-libquadmath
44461 dvi-target-libquadmath: \
44462 configure-target-libquadmath
44463 @: $(MAKE); $(unstage)
44464 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44465 r=`${PWD_COMMAND}`; export r; \
44466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44467 $(NORMAL_TARGET_EXPORTS) \
44468 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
44469 for flag in $(EXTRA_TARGET_FLAGS); do \
44470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44471 done; \
44472 (cd $(TARGET_SUBDIR)/libquadmath && \
44473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44475 "RANLIB=$${RANLIB}" \
44476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44477 dvi) \
44478 || exit 1
44480 @endif target-libquadmath
44482 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
44483 maybe-pdf-target-libquadmath:
44484 @if target-libquadmath
44485 maybe-pdf-target-libquadmath: pdf-target-libquadmath
44487 pdf-target-libquadmath: \
44488 configure-target-libquadmath
44489 @: $(MAKE); $(unstage)
44490 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44491 r=`${PWD_COMMAND}`; export r; \
44492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44493 $(NORMAL_TARGET_EXPORTS) \
44494 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
44495 for flag in $(EXTRA_TARGET_FLAGS); do \
44496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44497 done; \
44498 (cd $(TARGET_SUBDIR)/libquadmath && \
44499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44501 "RANLIB=$${RANLIB}" \
44502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44503 pdf) \
44504 || exit 1
44506 @endif target-libquadmath
44508 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
44509 maybe-html-target-libquadmath:
44510 @if target-libquadmath
44511 maybe-html-target-libquadmath: html-target-libquadmath
44513 html-target-libquadmath: \
44514 configure-target-libquadmath
44515 @: $(MAKE); $(unstage)
44516 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44517 r=`${PWD_COMMAND}`; export r; \
44518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44519 $(NORMAL_TARGET_EXPORTS) \
44520 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
44521 for flag in $(EXTRA_TARGET_FLAGS); do \
44522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44523 done; \
44524 (cd $(TARGET_SUBDIR)/libquadmath && \
44525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44527 "RANLIB=$${RANLIB}" \
44528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44529 html) \
44530 || exit 1
44532 @endif target-libquadmath
44534 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
44535 maybe-TAGS-target-libquadmath:
44536 @if target-libquadmath
44537 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
44539 TAGS-target-libquadmath: \
44540 configure-target-libquadmath
44541 @: $(MAKE); $(unstage)
44542 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44543 r=`${PWD_COMMAND}`; export r; \
44544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44545 $(NORMAL_TARGET_EXPORTS) \
44546 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
44547 for flag in $(EXTRA_TARGET_FLAGS); do \
44548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44549 done; \
44550 (cd $(TARGET_SUBDIR)/libquadmath && \
44551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44553 "RANLIB=$${RANLIB}" \
44554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44555 TAGS) \
44556 || exit 1
44558 @endif target-libquadmath
44560 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
44561 maybe-install-info-target-libquadmath:
44562 @if target-libquadmath
44563 maybe-install-info-target-libquadmath: install-info-target-libquadmath
44565 install-info-target-libquadmath: \
44566 configure-target-libquadmath \
44567 info-target-libquadmath
44568 @: $(MAKE); $(unstage)
44569 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44570 r=`${PWD_COMMAND}`; export r; \
44571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44572 $(NORMAL_TARGET_EXPORTS) \
44573 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
44574 for flag in $(EXTRA_TARGET_FLAGS); do \
44575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44576 done; \
44577 (cd $(TARGET_SUBDIR)/libquadmath && \
44578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44580 "RANLIB=$${RANLIB}" \
44581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44582 install-info) \
44583 || exit 1
44585 @endif target-libquadmath
44587 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
44588 maybe-install-pdf-target-libquadmath:
44589 @if target-libquadmath
44590 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
44592 install-pdf-target-libquadmath: \
44593 configure-target-libquadmath \
44594 pdf-target-libquadmath
44595 @: $(MAKE); $(unstage)
44596 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44597 r=`${PWD_COMMAND}`; export r; \
44598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44599 $(NORMAL_TARGET_EXPORTS) \
44600 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
44601 for flag in $(EXTRA_TARGET_FLAGS); do \
44602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44603 done; \
44604 (cd $(TARGET_SUBDIR)/libquadmath && \
44605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44607 "RANLIB=$${RANLIB}" \
44608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44609 install-pdf) \
44610 || exit 1
44612 @endif target-libquadmath
44614 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
44615 maybe-install-html-target-libquadmath:
44616 @if target-libquadmath
44617 maybe-install-html-target-libquadmath: install-html-target-libquadmath
44619 install-html-target-libquadmath: \
44620 configure-target-libquadmath \
44621 html-target-libquadmath
44622 @: $(MAKE); $(unstage)
44623 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44624 r=`${PWD_COMMAND}`; export r; \
44625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44626 $(NORMAL_TARGET_EXPORTS) \
44627 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
44628 for flag in $(EXTRA_TARGET_FLAGS); do \
44629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44630 done; \
44631 (cd $(TARGET_SUBDIR)/libquadmath && \
44632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44634 "RANLIB=$${RANLIB}" \
44635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44636 install-html) \
44637 || exit 1
44639 @endif target-libquadmath
44641 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
44642 maybe-installcheck-target-libquadmath:
44643 @if target-libquadmath
44644 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
44646 installcheck-target-libquadmath: \
44647 configure-target-libquadmath
44648 @: $(MAKE); $(unstage)
44649 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44650 r=`${PWD_COMMAND}`; export r; \
44651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44652 $(NORMAL_TARGET_EXPORTS) \
44653 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
44654 for flag in $(EXTRA_TARGET_FLAGS); do \
44655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44656 done; \
44657 (cd $(TARGET_SUBDIR)/libquadmath && \
44658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44660 "RANLIB=$${RANLIB}" \
44661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44662 installcheck) \
44663 || exit 1
44665 @endif target-libquadmath
44667 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
44668 maybe-mostlyclean-target-libquadmath:
44669 @if target-libquadmath
44670 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
44672 mostlyclean-target-libquadmath:
44673 @: $(MAKE); $(unstage)
44674 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44675 r=`${PWD_COMMAND}`; export r; \
44676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44677 $(NORMAL_TARGET_EXPORTS) \
44678 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
44679 for flag in $(EXTRA_TARGET_FLAGS); do \
44680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44681 done; \
44682 (cd $(TARGET_SUBDIR)/libquadmath && \
44683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44685 "RANLIB=$${RANLIB}" \
44686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44687 mostlyclean) \
44688 || exit 1
44690 @endif target-libquadmath
44692 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
44693 maybe-clean-target-libquadmath:
44694 @if target-libquadmath
44695 maybe-clean-target-libquadmath: clean-target-libquadmath
44697 clean-target-libquadmath:
44698 @: $(MAKE); $(unstage)
44699 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44700 r=`${PWD_COMMAND}`; export r; \
44701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44702 $(NORMAL_TARGET_EXPORTS) \
44703 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
44704 for flag in $(EXTRA_TARGET_FLAGS); do \
44705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44706 done; \
44707 (cd $(TARGET_SUBDIR)/libquadmath && \
44708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44710 "RANLIB=$${RANLIB}" \
44711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44712 clean) \
44713 || exit 1
44715 @endif target-libquadmath
44717 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
44718 maybe-distclean-target-libquadmath:
44719 @if target-libquadmath
44720 maybe-distclean-target-libquadmath: distclean-target-libquadmath
44722 distclean-target-libquadmath:
44723 @: $(MAKE); $(unstage)
44724 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44725 r=`${PWD_COMMAND}`; export r; \
44726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44727 $(NORMAL_TARGET_EXPORTS) \
44728 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
44729 for flag in $(EXTRA_TARGET_FLAGS); do \
44730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44731 done; \
44732 (cd $(TARGET_SUBDIR)/libquadmath && \
44733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44735 "RANLIB=$${RANLIB}" \
44736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44737 distclean) \
44738 || exit 1
44740 @endif target-libquadmath
44742 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
44743 maybe-maintainer-clean-target-libquadmath:
44744 @if target-libquadmath
44745 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
44747 maintainer-clean-target-libquadmath:
44748 @: $(MAKE); $(unstage)
44749 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44750 r=`${PWD_COMMAND}`; export r; \
44751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44752 $(NORMAL_TARGET_EXPORTS) \
44753 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
44754 for flag in $(EXTRA_TARGET_FLAGS); do \
44755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44756 done; \
44757 (cd $(TARGET_SUBDIR)/libquadmath && \
44758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44760 "RANLIB=$${RANLIB}" \
44761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44762 maintainer-clean) \
44763 || exit 1
44765 @endif target-libquadmath
44771 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
44772 maybe-configure-target-libgfortran:
44773 @if gcc-bootstrap
44774 configure-target-libgfortran: stage_current
44775 @endif gcc-bootstrap
44776 @if target-libgfortran
44777 maybe-configure-target-libgfortran: configure-target-libgfortran
44778 configure-target-libgfortran:
44779 @: $(MAKE); $(unstage)
44780 @r=`${PWD_COMMAND}`; export r; \
44781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44782 echo "Checking multilib configuration for libgfortran..."; \
44783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
44784 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
44785 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
44786 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
44787 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
44788 else \
44789 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
44790 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
44791 fi; \
44792 else \
44793 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
44794 fi; \
44795 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
44796 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
44797 $(NORMAL_TARGET_EXPORTS) \
44798 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
44799 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
44800 case $(srcdir) in \
44801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44802 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
44803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44804 esac; \
44805 module_srcdir=libgfortran; \
44806 rm -f no-such-file || : ; \
44807 CONFIG_SITE=no-such-file $(SHELL) \
44808 $$s/$$module_srcdir/configure \
44809 --srcdir=$${topdir}/$$module_srcdir \
44810 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44811 --target=${target_alias} \
44812 || exit 1
44813 @endif target-libgfortran
44819 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
44820 maybe-all-target-libgfortran:
44821 @if gcc-bootstrap
44822 all-target-libgfortran: stage_current
44823 @endif gcc-bootstrap
44824 @if target-libgfortran
44825 TARGET-target-libgfortran=all
44826 maybe-all-target-libgfortran: all-target-libgfortran
44827 all-target-libgfortran: configure-target-libgfortran
44828 @: $(MAKE); $(unstage)
44829 @r=`${PWD_COMMAND}`; export r; \
44830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44831 $(NORMAL_TARGET_EXPORTS) \
44832 (cd $(TARGET_SUBDIR)/libgfortran && \
44833 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44834 $(TARGET-target-libgfortran))
44835 @endif target-libgfortran
44841 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
44842 maybe-check-target-libgfortran:
44843 @if target-libgfortran
44844 maybe-check-target-libgfortran: check-target-libgfortran
44846 check-target-libgfortran:
44847 @: $(MAKE); $(unstage)
44848 @r=`${PWD_COMMAND}`; export r; \
44849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44850 $(NORMAL_TARGET_EXPORTS) \
44851 (cd $(TARGET_SUBDIR)/libgfortran && \
44852 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44854 @endif target-libgfortran
44856 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
44857 maybe-install-target-libgfortran:
44858 @if target-libgfortran
44859 maybe-install-target-libgfortran: install-target-libgfortran
44861 install-target-libgfortran: installdirs
44862 @: $(MAKE); $(unstage)
44863 @r=`${PWD_COMMAND}`; export r; \
44864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44865 $(NORMAL_TARGET_EXPORTS) \
44866 (cd $(TARGET_SUBDIR)/libgfortran && \
44867 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44869 @endif target-libgfortran
44871 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
44872 maybe-install-strip-target-libgfortran:
44873 @if target-libgfortran
44874 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
44876 install-strip-target-libgfortran: installdirs
44877 @: $(MAKE); $(unstage)
44878 @r=`${PWD_COMMAND}`; export r; \
44879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44880 $(NORMAL_TARGET_EXPORTS) \
44881 (cd $(TARGET_SUBDIR)/libgfortran && \
44882 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44884 @endif target-libgfortran
44886 # Other targets (info, dvi, pdf, etc.)
44888 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
44889 maybe-info-target-libgfortran:
44890 @if target-libgfortran
44891 maybe-info-target-libgfortran: info-target-libgfortran
44893 info-target-libgfortran: \
44894 configure-target-libgfortran
44895 @: $(MAKE); $(unstage)
44896 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44897 r=`${PWD_COMMAND}`; export r; \
44898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44899 $(NORMAL_TARGET_EXPORTS) \
44900 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
44901 for flag in $(EXTRA_TARGET_FLAGS); do \
44902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44903 done; \
44904 (cd $(TARGET_SUBDIR)/libgfortran && \
44905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44907 "RANLIB=$${RANLIB}" \
44908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44909 info) \
44910 || exit 1
44912 @endif target-libgfortran
44914 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
44915 maybe-dvi-target-libgfortran:
44916 @if target-libgfortran
44917 maybe-dvi-target-libgfortran: dvi-target-libgfortran
44919 dvi-target-libgfortran: \
44920 configure-target-libgfortran
44921 @: $(MAKE); $(unstage)
44922 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44923 r=`${PWD_COMMAND}`; export r; \
44924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44925 $(NORMAL_TARGET_EXPORTS) \
44926 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
44927 for flag in $(EXTRA_TARGET_FLAGS); do \
44928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44929 done; \
44930 (cd $(TARGET_SUBDIR)/libgfortran && \
44931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44933 "RANLIB=$${RANLIB}" \
44934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44935 dvi) \
44936 || exit 1
44938 @endif target-libgfortran
44940 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
44941 maybe-pdf-target-libgfortran:
44942 @if target-libgfortran
44943 maybe-pdf-target-libgfortran: pdf-target-libgfortran
44945 pdf-target-libgfortran: \
44946 configure-target-libgfortran
44947 @: $(MAKE); $(unstage)
44948 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44949 r=`${PWD_COMMAND}`; export r; \
44950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44951 $(NORMAL_TARGET_EXPORTS) \
44952 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
44953 for flag in $(EXTRA_TARGET_FLAGS); do \
44954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44955 done; \
44956 (cd $(TARGET_SUBDIR)/libgfortran && \
44957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44959 "RANLIB=$${RANLIB}" \
44960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44961 pdf) \
44962 || exit 1
44964 @endif target-libgfortran
44966 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
44967 maybe-html-target-libgfortran:
44968 @if target-libgfortran
44969 maybe-html-target-libgfortran: html-target-libgfortran
44971 html-target-libgfortran: \
44972 configure-target-libgfortran
44973 @: $(MAKE); $(unstage)
44974 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
44975 r=`${PWD_COMMAND}`; export r; \
44976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44977 $(NORMAL_TARGET_EXPORTS) \
44978 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
44979 for flag in $(EXTRA_TARGET_FLAGS); do \
44980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44981 done; \
44982 (cd $(TARGET_SUBDIR)/libgfortran && \
44983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44985 "RANLIB=$${RANLIB}" \
44986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44987 html) \
44988 || exit 1
44990 @endif target-libgfortran
44992 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
44993 maybe-TAGS-target-libgfortran:
44994 @if target-libgfortran
44995 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
44997 TAGS-target-libgfortran: \
44998 configure-target-libgfortran
44999 @: $(MAKE); $(unstage)
45000 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45001 r=`${PWD_COMMAND}`; export r; \
45002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45003 $(NORMAL_TARGET_EXPORTS) \
45004 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
45005 for flag in $(EXTRA_TARGET_FLAGS); do \
45006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45007 done; \
45008 (cd $(TARGET_SUBDIR)/libgfortran && \
45009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45011 "RANLIB=$${RANLIB}" \
45012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45013 TAGS) \
45014 || exit 1
45016 @endif target-libgfortran
45018 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
45019 maybe-install-info-target-libgfortran:
45020 @if target-libgfortran
45021 maybe-install-info-target-libgfortran: install-info-target-libgfortran
45023 install-info-target-libgfortran: \
45024 configure-target-libgfortran \
45025 info-target-libgfortran
45026 @: $(MAKE); $(unstage)
45027 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45028 r=`${PWD_COMMAND}`; export r; \
45029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45030 $(NORMAL_TARGET_EXPORTS) \
45031 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
45032 for flag in $(EXTRA_TARGET_FLAGS); do \
45033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45034 done; \
45035 (cd $(TARGET_SUBDIR)/libgfortran && \
45036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45038 "RANLIB=$${RANLIB}" \
45039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45040 install-info) \
45041 || exit 1
45043 @endif target-libgfortran
45045 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
45046 maybe-install-pdf-target-libgfortran:
45047 @if target-libgfortran
45048 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
45050 install-pdf-target-libgfortran: \
45051 configure-target-libgfortran \
45052 pdf-target-libgfortran
45053 @: $(MAKE); $(unstage)
45054 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45055 r=`${PWD_COMMAND}`; export r; \
45056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45057 $(NORMAL_TARGET_EXPORTS) \
45058 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
45059 for flag in $(EXTRA_TARGET_FLAGS); do \
45060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45061 done; \
45062 (cd $(TARGET_SUBDIR)/libgfortran && \
45063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45065 "RANLIB=$${RANLIB}" \
45066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45067 install-pdf) \
45068 || exit 1
45070 @endif target-libgfortran
45072 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
45073 maybe-install-html-target-libgfortran:
45074 @if target-libgfortran
45075 maybe-install-html-target-libgfortran: install-html-target-libgfortran
45077 install-html-target-libgfortran: \
45078 configure-target-libgfortran \
45079 html-target-libgfortran
45080 @: $(MAKE); $(unstage)
45081 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45082 r=`${PWD_COMMAND}`; export r; \
45083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45084 $(NORMAL_TARGET_EXPORTS) \
45085 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
45086 for flag in $(EXTRA_TARGET_FLAGS); do \
45087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45088 done; \
45089 (cd $(TARGET_SUBDIR)/libgfortran && \
45090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45092 "RANLIB=$${RANLIB}" \
45093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45094 install-html) \
45095 || exit 1
45097 @endif target-libgfortran
45099 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
45100 maybe-installcheck-target-libgfortran:
45101 @if target-libgfortran
45102 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
45104 installcheck-target-libgfortran: \
45105 configure-target-libgfortran
45106 @: $(MAKE); $(unstage)
45107 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45108 r=`${PWD_COMMAND}`; export r; \
45109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45110 $(NORMAL_TARGET_EXPORTS) \
45111 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
45112 for flag in $(EXTRA_TARGET_FLAGS); do \
45113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45114 done; \
45115 (cd $(TARGET_SUBDIR)/libgfortran && \
45116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45118 "RANLIB=$${RANLIB}" \
45119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45120 installcheck) \
45121 || exit 1
45123 @endif target-libgfortran
45125 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
45126 maybe-mostlyclean-target-libgfortran:
45127 @if target-libgfortran
45128 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
45130 mostlyclean-target-libgfortran:
45131 @: $(MAKE); $(unstage)
45132 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45133 r=`${PWD_COMMAND}`; export r; \
45134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45135 $(NORMAL_TARGET_EXPORTS) \
45136 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
45137 for flag in $(EXTRA_TARGET_FLAGS); do \
45138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45139 done; \
45140 (cd $(TARGET_SUBDIR)/libgfortran && \
45141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45143 "RANLIB=$${RANLIB}" \
45144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45145 mostlyclean) \
45146 || exit 1
45148 @endif target-libgfortran
45150 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
45151 maybe-clean-target-libgfortran:
45152 @if target-libgfortran
45153 maybe-clean-target-libgfortran: clean-target-libgfortran
45155 clean-target-libgfortran:
45156 @: $(MAKE); $(unstage)
45157 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45158 r=`${PWD_COMMAND}`; export r; \
45159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45160 $(NORMAL_TARGET_EXPORTS) \
45161 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
45162 for flag in $(EXTRA_TARGET_FLAGS); do \
45163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45164 done; \
45165 (cd $(TARGET_SUBDIR)/libgfortran && \
45166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45168 "RANLIB=$${RANLIB}" \
45169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45170 clean) \
45171 || exit 1
45173 @endif target-libgfortran
45175 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
45176 maybe-distclean-target-libgfortran:
45177 @if target-libgfortran
45178 maybe-distclean-target-libgfortran: distclean-target-libgfortran
45180 distclean-target-libgfortran:
45181 @: $(MAKE); $(unstage)
45182 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45183 r=`${PWD_COMMAND}`; export r; \
45184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45185 $(NORMAL_TARGET_EXPORTS) \
45186 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
45187 for flag in $(EXTRA_TARGET_FLAGS); do \
45188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45189 done; \
45190 (cd $(TARGET_SUBDIR)/libgfortran && \
45191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45193 "RANLIB=$${RANLIB}" \
45194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45195 distclean) \
45196 || exit 1
45198 @endif target-libgfortran
45200 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
45201 maybe-maintainer-clean-target-libgfortran:
45202 @if target-libgfortran
45203 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
45205 maintainer-clean-target-libgfortran:
45206 @: $(MAKE); $(unstage)
45207 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45208 r=`${PWD_COMMAND}`; export r; \
45209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45210 $(NORMAL_TARGET_EXPORTS) \
45211 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
45212 for flag in $(EXTRA_TARGET_FLAGS); do \
45213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45214 done; \
45215 (cd $(TARGET_SUBDIR)/libgfortran && \
45216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45218 "RANLIB=$${RANLIB}" \
45219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45220 maintainer-clean) \
45221 || exit 1
45223 @endif target-libgfortran
45229 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
45230 maybe-configure-target-libobjc:
45231 @if gcc-bootstrap
45232 configure-target-libobjc: stage_current
45233 @endif gcc-bootstrap
45234 @if target-libobjc
45235 maybe-configure-target-libobjc: configure-target-libobjc
45236 configure-target-libobjc:
45237 @: $(MAKE); $(unstage)
45238 @r=`${PWD_COMMAND}`; export r; \
45239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45240 echo "Checking multilib configuration for libobjc..."; \
45241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45242 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
45243 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45244 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45245 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
45246 else \
45247 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
45248 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45249 fi; \
45250 else \
45251 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45252 fi; \
45253 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
45254 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45255 $(NORMAL_TARGET_EXPORTS) \
45256 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
45257 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
45258 case $(srcdir) in \
45259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45260 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
45261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45262 esac; \
45263 module_srcdir=libobjc; \
45264 rm -f no-such-file || : ; \
45265 CONFIG_SITE=no-such-file $(SHELL) \
45266 $$s/$$module_srcdir/configure \
45267 --srcdir=$${topdir}/$$module_srcdir \
45268 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45269 --target=${target_alias} \
45270 || exit 1
45271 @endif target-libobjc
45277 .PHONY: all-target-libobjc maybe-all-target-libobjc
45278 maybe-all-target-libobjc:
45279 @if gcc-bootstrap
45280 all-target-libobjc: stage_current
45281 @endif gcc-bootstrap
45282 @if target-libobjc
45283 TARGET-target-libobjc=all
45284 maybe-all-target-libobjc: all-target-libobjc
45285 all-target-libobjc: configure-target-libobjc
45286 @: $(MAKE); $(unstage)
45287 @r=`${PWD_COMMAND}`; export r; \
45288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45289 $(NORMAL_TARGET_EXPORTS) \
45290 (cd $(TARGET_SUBDIR)/libobjc && \
45291 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45292 $(TARGET-target-libobjc))
45293 @endif target-libobjc
45299 .PHONY: check-target-libobjc maybe-check-target-libobjc
45300 maybe-check-target-libobjc:
45301 @if target-libobjc
45302 maybe-check-target-libobjc: check-target-libobjc
45304 check-target-libobjc:
45305 @: $(MAKE); $(unstage)
45306 @r=`${PWD_COMMAND}`; export r; \
45307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45308 $(NORMAL_TARGET_EXPORTS) \
45309 (cd $(TARGET_SUBDIR)/libobjc && \
45310 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45312 @endif target-libobjc
45314 .PHONY: install-target-libobjc maybe-install-target-libobjc
45315 maybe-install-target-libobjc:
45316 @if target-libobjc
45317 maybe-install-target-libobjc: install-target-libobjc
45319 install-target-libobjc: installdirs
45320 @: $(MAKE); $(unstage)
45321 @r=`${PWD_COMMAND}`; export r; \
45322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45323 $(NORMAL_TARGET_EXPORTS) \
45324 (cd $(TARGET_SUBDIR)/libobjc && \
45325 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45327 @endif target-libobjc
45329 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
45330 maybe-install-strip-target-libobjc:
45331 @if target-libobjc
45332 maybe-install-strip-target-libobjc: install-strip-target-libobjc
45334 install-strip-target-libobjc: installdirs
45335 @: $(MAKE); $(unstage)
45336 @r=`${PWD_COMMAND}`; export r; \
45337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45338 $(NORMAL_TARGET_EXPORTS) \
45339 (cd $(TARGET_SUBDIR)/libobjc && \
45340 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45342 @endif target-libobjc
45344 # Other targets (info, dvi, pdf, etc.)
45346 .PHONY: maybe-info-target-libobjc info-target-libobjc
45347 maybe-info-target-libobjc:
45348 @if target-libobjc
45349 maybe-info-target-libobjc: info-target-libobjc
45351 info-target-libobjc: \
45352 configure-target-libobjc
45353 @: $(MAKE); $(unstage)
45354 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45355 r=`${PWD_COMMAND}`; export r; \
45356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45357 $(NORMAL_TARGET_EXPORTS) \
45358 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
45359 for flag in $(EXTRA_TARGET_FLAGS); do \
45360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45361 done; \
45362 (cd $(TARGET_SUBDIR)/libobjc && \
45363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45365 "RANLIB=$${RANLIB}" \
45366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45367 info) \
45368 || exit 1
45370 @endif target-libobjc
45372 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
45373 maybe-dvi-target-libobjc:
45374 @if target-libobjc
45375 maybe-dvi-target-libobjc: dvi-target-libobjc
45377 dvi-target-libobjc: \
45378 configure-target-libobjc
45379 @: $(MAKE); $(unstage)
45380 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45381 r=`${PWD_COMMAND}`; export r; \
45382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45383 $(NORMAL_TARGET_EXPORTS) \
45384 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
45385 for flag in $(EXTRA_TARGET_FLAGS); do \
45386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45387 done; \
45388 (cd $(TARGET_SUBDIR)/libobjc && \
45389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45391 "RANLIB=$${RANLIB}" \
45392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45393 dvi) \
45394 || exit 1
45396 @endif target-libobjc
45398 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
45399 maybe-pdf-target-libobjc:
45400 @if target-libobjc
45401 maybe-pdf-target-libobjc: pdf-target-libobjc
45403 pdf-target-libobjc: \
45404 configure-target-libobjc
45405 @: $(MAKE); $(unstage)
45406 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45407 r=`${PWD_COMMAND}`; export r; \
45408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45409 $(NORMAL_TARGET_EXPORTS) \
45410 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
45411 for flag in $(EXTRA_TARGET_FLAGS); do \
45412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45413 done; \
45414 (cd $(TARGET_SUBDIR)/libobjc && \
45415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45417 "RANLIB=$${RANLIB}" \
45418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45419 pdf) \
45420 || exit 1
45422 @endif target-libobjc
45424 .PHONY: maybe-html-target-libobjc html-target-libobjc
45425 maybe-html-target-libobjc:
45426 @if target-libobjc
45427 maybe-html-target-libobjc: html-target-libobjc
45429 html-target-libobjc: \
45430 configure-target-libobjc
45431 @: $(MAKE); $(unstage)
45432 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45433 r=`${PWD_COMMAND}`; export r; \
45434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45435 $(NORMAL_TARGET_EXPORTS) \
45436 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
45437 for flag in $(EXTRA_TARGET_FLAGS); do \
45438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45439 done; \
45440 (cd $(TARGET_SUBDIR)/libobjc && \
45441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45443 "RANLIB=$${RANLIB}" \
45444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45445 html) \
45446 || exit 1
45448 @endif target-libobjc
45450 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
45451 maybe-TAGS-target-libobjc:
45452 @if target-libobjc
45453 maybe-TAGS-target-libobjc: TAGS-target-libobjc
45455 TAGS-target-libobjc: \
45456 configure-target-libobjc
45457 @: $(MAKE); $(unstage)
45458 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45459 r=`${PWD_COMMAND}`; export r; \
45460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45461 $(NORMAL_TARGET_EXPORTS) \
45462 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
45463 for flag in $(EXTRA_TARGET_FLAGS); do \
45464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45465 done; \
45466 (cd $(TARGET_SUBDIR)/libobjc && \
45467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45469 "RANLIB=$${RANLIB}" \
45470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45471 TAGS) \
45472 || exit 1
45474 @endif target-libobjc
45476 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
45477 maybe-install-info-target-libobjc:
45478 @if target-libobjc
45479 maybe-install-info-target-libobjc: install-info-target-libobjc
45481 install-info-target-libobjc: \
45482 configure-target-libobjc \
45483 info-target-libobjc
45484 @: $(MAKE); $(unstage)
45485 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45486 r=`${PWD_COMMAND}`; export r; \
45487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45488 $(NORMAL_TARGET_EXPORTS) \
45489 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
45490 for flag in $(EXTRA_TARGET_FLAGS); do \
45491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45492 done; \
45493 (cd $(TARGET_SUBDIR)/libobjc && \
45494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45496 "RANLIB=$${RANLIB}" \
45497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45498 install-info) \
45499 || exit 1
45501 @endif target-libobjc
45503 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
45504 maybe-install-pdf-target-libobjc:
45505 @if target-libobjc
45506 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
45508 install-pdf-target-libobjc: \
45509 configure-target-libobjc \
45510 pdf-target-libobjc
45511 @: $(MAKE); $(unstage)
45512 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45513 r=`${PWD_COMMAND}`; export r; \
45514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45515 $(NORMAL_TARGET_EXPORTS) \
45516 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
45517 for flag in $(EXTRA_TARGET_FLAGS); do \
45518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45519 done; \
45520 (cd $(TARGET_SUBDIR)/libobjc && \
45521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45523 "RANLIB=$${RANLIB}" \
45524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45525 install-pdf) \
45526 || exit 1
45528 @endif target-libobjc
45530 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
45531 maybe-install-html-target-libobjc:
45532 @if target-libobjc
45533 maybe-install-html-target-libobjc: install-html-target-libobjc
45535 install-html-target-libobjc: \
45536 configure-target-libobjc \
45537 html-target-libobjc
45538 @: $(MAKE); $(unstage)
45539 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45540 r=`${PWD_COMMAND}`; export r; \
45541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45542 $(NORMAL_TARGET_EXPORTS) \
45543 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
45544 for flag in $(EXTRA_TARGET_FLAGS); do \
45545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45546 done; \
45547 (cd $(TARGET_SUBDIR)/libobjc && \
45548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45550 "RANLIB=$${RANLIB}" \
45551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45552 install-html) \
45553 || exit 1
45555 @endif target-libobjc
45557 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
45558 maybe-installcheck-target-libobjc:
45559 @if target-libobjc
45560 maybe-installcheck-target-libobjc: installcheck-target-libobjc
45562 installcheck-target-libobjc: \
45563 configure-target-libobjc
45564 @: $(MAKE); $(unstage)
45565 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45566 r=`${PWD_COMMAND}`; export r; \
45567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45568 $(NORMAL_TARGET_EXPORTS) \
45569 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
45570 for flag in $(EXTRA_TARGET_FLAGS); do \
45571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45572 done; \
45573 (cd $(TARGET_SUBDIR)/libobjc && \
45574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45576 "RANLIB=$${RANLIB}" \
45577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45578 installcheck) \
45579 || exit 1
45581 @endif target-libobjc
45583 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
45584 maybe-mostlyclean-target-libobjc:
45585 @if target-libobjc
45586 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
45588 mostlyclean-target-libobjc:
45589 @: $(MAKE); $(unstage)
45590 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45591 r=`${PWD_COMMAND}`; export r; \
45592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45593 $(NORMAL_TARGET_EXPORTS) \
45594 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
45595 for flag in $(EXTRA_TARGET_FLAGS); do \
45596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45597 done; \
45598 (cd $(TARGET_SUBDIR)/libobjc && \
45599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45601 "RANLIB=$${RANLIB}" \
45602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45603 mostlyclean) \
45604 || exit 1
45606 @endif target-libobjc
45608 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
45609 maybe-clean-target-libobjc:
45610 @if target-libobjc
45611 maybe-clean-target-libobjc: clean-target-libobjc
45613 clean-target-libobjc:
45614 @: $(MAKE); $(unstage)
45615 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45616 r=`${PWD_COMMAND}`; export r; \
45617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45618 $(NORMAL_TARGET_EXPORTS) \
45619 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
45620 for flag in $(EXTRA_TARGET_FLAGS); do \
45621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45622 done; \
45623 (cd $(TARGET_SUBDIR)/libobjc && \
45624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45626 "RANLIB=$${RANLIB}" \
45627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45628 clean) \
45629 || exit 1
45631 @endif target-libobjc
45633 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
45634 maybe-distclean-target-libobjc:
45635 @if target-libobjc
45636 maybe-distclean-target-libobjc: distclean-target-libobjc
45638 distclean-target-libobjc:
45639 @: $(MAKE); $(unstage)
45640 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45641 r=`${PWD_COMMAND}`; export r; \
45642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45643 $(NORMAL_TARGET_EXPORTS) \
45644 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
45645 for flag in $(EXTRA_TARGET_FLAGS); do \
45646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45647 done; \
45648 (cd $(TARGET_SUBDIR)/libobjc && \
45649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45651 "RANLIB=$${RANLIB}" \
45652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45653 distclean) \
45654 || exit 1
45656 @endif target-libobjc
45658 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
45659 maybe-maintainer-clean-target-libobjc:
45660 @if target-libobjc
45661 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
45663 maintainer-clean-target-libobjc:
45664 @: $(MAKE); $(unstage)
45665 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45666 r=`${PWD_COMMAND}`; export r; \
45667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45668 $(NORMAL_TARGET_EXPORTS) \
45669 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
45670 for flag in $(EXTRA_TARGET_FLAGS); do \
45671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45672 done; \
45673 (cd $(TARGET_SUBDIR)/libobjc && \
45674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45676 "RANLIB=$${RANLIB}" \
45677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45678 maintainer-clean) \
45679 || exit 1
45681 @endif target-libobjc
45687 .PHONY: configure-target-libgo maybe-configure-target-libgo
45688 maybe-configure-target-libgo:
45689 @if gcc-bootstrap
45690 configure-target-libgo: stage_current
45691 @endif gcc-bootstrap
45692 @if target-libgo
45693 maybe-configure-target-libgo: configure-target-libgo
45694 configure-target-libgo:
45695 @: $(MAKE); $(unstage)
45696 @r=`${PWD_COMMAND}`; export r; \
45697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45698 echo "Checking multilib configuration for libgo..."; \
45699 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
45700 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
45701 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
45702 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
45703 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
45704 else \
45705 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
45706 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
45707 fi; \
45708 else \
45709 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
45710 fi; \
45711 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
45712 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
45713 $(NORMAL_TARGET_EXPORTS) \
45714 echo Configuring in $(TARGET_SUBDIR)/libgo; \
45715 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
45716 case $(srcdir) in \
45717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45718 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
45719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45720 esac; \
45721 module_srcdir=libgo; \
45722 rm -f no-such-file || : ; \
45723 CONFIG_SITE=no-such-file $(SHELL) \
45724 $$s/$$module_srcdir/configure \
45725 --srcdir=$${topdir}/$$module_srcdir \
45726 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45727 --target=${target_alias} \
45728 || exit 1
45729 @endif target-libgo
45735 .PHONY: all-target-libgo maybe-all-target-libgo
45736 maybe-all-target-libgo:
45737 @if gcc-bootstrap
45738 all-target-libgo: stage_current
45739 @endif gcc-bootstrap
45740 @if target-libgo
45741 TARGET-target-libgo=all
45742 maybe-all-target-libgo: all-target-libgo
45743 all-target-libgo: configure-target-libgo
45744 @: $(MAKE); $(unstage)
45745 @r=`${PWD_COMMAND}`; export r; \
45746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45747 $(NORMAL_TARGET_EXPORTS) \
45748 (cd $(TARGET_SUBDIR)/libgo && \
45749 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45750 $(TARGET-target-libgo))
45751 @endif target-libgo
45757 .PHONY: check-target-libgo maybe-check-target-libgo
45758 maybe-check-target-libgo:
45759 @if target-libgo
45760 maybe-check-target-libgo: check-target-libgo
45762 check-target-libgo:
45763 @: $(MAKE); $(unstage)
45764 @r=`${PWD_COMMAND}`; export r; \
45765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45766 $(NORMAL_TARGET_EXPORTS) \
45767 (cd $(TARGET_SUBDIR)/libgo && \
45768 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45770 @endif target-libgo
45772 .PHONY: install-target-libgo maybe-install-target-libgo
45773 maybe-install-target-libgo:
45774 @if target-libgo
45775 maybe-install-target-libgo: install-target-libgo
45777 install-target-libgo: installdirs
45778 @: $(MAKE); $(unstage)
45779 @r=`${PWD_COMMAND}`; export r; \
45780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45781 $(NORMAL_TARGET_EXPORTS) \
45782 (cd $(TARGET_SUBDIR)/libgo && \
45783 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45785 @endif target-libgo
45787 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
45788 maybe-install-strip-target-libgo:
45789 @if target-libgo
45790 maybe-install-strip-target-libgo: install-strip-target-libgo
45792 install-strip-target-libgo: installdirs
45793 @: $(MAKE); $(unstage)
45794 @r=`${PWD_COMMAND}`; export r; \
45795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45796 $(NORMAL_TARGET_EXPORTS) \
45797 (cd $(TARGET_SUBDIR)/libgo && \
45798 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45800 @endif target-libgo
45802 # Other targets (info, dvi, pdf, etc.)
45804 .PHONY: maybe-info-target-libgo info-target-libgo
45805 maybe-info-target-libgo:
45806 @if target-libgo
45807 maybe-info-target-libgo: info-target-libgo
45809 info-target-libgo: \
45810 configure-target-libgo
45811 @: $(MAKE); $(unstage)
45812 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45813 r=`${PWD_COMMAND}`; export r; \
45814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45815 $(NORMAL_TARGET_EXPORTS) \
45816 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
45817 for flag in $(EXTRA_TARGET_FLAGS); do \
45818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45819 done; \
45820 (cd $(TARGET_SUBDIR)/libgo && \
45821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45823 "RANLIB=$${RANLIB}" \
45824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45825 info) \
45826 || exit 1
45828 @endif target-libgo
45830 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
45831 maybe-dvi-target-libgo:
45832 @if target-libgo
45833 maybe-dvi-target-libgo: dvi-target-libgo
45835 dvi-target-libgo: \
45836 configure-target-libgo
45837 @: $(MAKE); $(unstage)
45838 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45839 r=`${PWD_COMMAND}`; export r; \
45840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45841 $(NORMAL_TARGET_EXPORTS) \
45842 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
45843 for flag in $(EXTRA_TARGET_FLAGS); do \
45844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45845 done; \
45846 (cd $(TARGET_SUBDIR)/libgo && \
45847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45849 "RANLIB=$${RANLIB}" \
45850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45851 dvi) \
45852 || exit 1
45854 @endif target-libgo
45856 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
45857 maybe-pdf-target-libgo:
45858 @if target-libgo
45859 maybe-pdf-target-libgo: pdf-target-libgo
45861 pdf-target-libgo: \
45862 configure-target-libgo
45863 @: $(MAKE); $(unstage)
45864 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45865 r=`${PWD_COMMAND}`; export r; \
45866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45867 $(NORMAL_TARGET_EXPORTS) \
45868 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
45869 for flag in $(EXTRA_TARGET_FLAGS); do \
45870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45871 done; \
45872 (cd $(TARGET_SUBDIR)/libgo && \
45873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45875 "RANLIB=$${RANLIB}" \
45876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45877 pdf) \
45878 || exit 1
45880 @endif target-libgo
45882 .PHONY: maybe-html-target-libgo html-target-libgo
45883 maybe-html-target-libgo:
45884 @if target-libgo
45885 maybe-html-target-libgo: html-target-libgo
45887 html-target-libgo: \
45888 configure-target-libgo
45889 @: $(MAKE); $(unstage)
45890 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45891 r=`${PWD_COMMAND}`; export r; \
45892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45893 $(NORMAL_TARGET_EXPORTS) \
45894 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
45895 for flag in $(EXTRA_TARGET_FLAGS); do \
45896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45897 done; \
45898 (cd $(TARGET_SUBDIR)/libgo && \
45899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45901 "RANLIB=$${RANLIB}" \
45902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45903 html) \
45904 || exit 1
45906 @endif target-libgo
45908 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
45909 maybe-TAGS-target-libgo:
45910 @if target-libgo
45911 maybe-TAGS-target-libgo: TAGS-target-libgo
45913 TAGS-target-libgo: \
45914 configure-target-libgo
45915 @: $(MAKE); $(unstage)
45916 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45917 r=`${PWD_COMMAND}`; export r; \
45918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45919 $(NORMAL_TARGET_EXPORTS) \
45920 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
45921 for flag in $(EXTRA_TARGET_FLAGS); do \
45922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45923 done; \
45924 (cd $(TARGET_SUBDIR)/libgo && \
45925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45927 "RANLIB=$${RANLIB}" \
45928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45929 TAGS) \
45930 || exit 1
45932 @endif target-libgo
45934 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
45935 maybe-install-info-target-libgo:
45936 @if target-libgo
45937 maybe-install-info-target-libgo: install-info-target-libgo
45939 install-info-target-libgo: \
45940 configure-target-libgo \
45941 info-target-libgo
45942 @: $(MAKE); $(unstage)
45943 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45944 r=`${PWD_COMMAND}`; export r; \
45945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45946 $(NORMAL_TARGET_EXPORTS) \
45947 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
45948 for flag in $(EXTRA_TARGET_FLAGS); do \
45949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45950 done; \
45951 (cd $(TARGET_SUBDIR)/libgo && \
45952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45954 "RANLIB=$${RANLIB}" \
45955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45956 install-info) \
45957 || exit 1
45959 @endif target-libgo
45961 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
45962 maybe-install-pdf-target-libgo:
45963 @if target-libgo
45964 maybe-install-pdf-target-libgo: install-pdf-target-libgo
45966 install-pdf-target-libgo: \
45967 configure-target-libgo \
45968 pdf-target-libgo
45969 @: $(MAKE); $(unstage)
45970 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45971 r=`${PWD_COMMAND}`; export r; \
45972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45973 $(NORMAL_TARGET_EXPORTS) \
45974 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
45975 for flag in $(EXTRA_TARGET_FLAGS); do \
45976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45977 done; \
45978 (cd $(TARGET_SUBDIR)/libgo && \
45979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45981 "RANLIB=$${RANLIB}" \
45982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45983 install-pdf) \
45984 || exit 1
45986 @endif target-libgo
45988 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
45989 maybe-install-html-target-libgo:
45990 @if target-libgo
45991 maybe-install-html-target-libgo: install-html-target-libgo
45993 install-html-target-libgo: \
45994 configure-target-libgo \
45995 html-target-libgo
45996 @: $(MAKE); $(unstage)
45997 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
45998 r=`${PWD_COMMAND}`; export r; \
45999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46000 $(NORMAL_TARGET_EXPORTS) \
46001 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
46002 for flag in $(EXTRA_TARGET_FLAGS); do \
46003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46004 done; \
46005 (cd $(TARGET_SUBDIR)/libgo && \
46006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46008 "RANLIB=$${RANLIB}" \
46009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46010 install-html) \
46011 || exit 1
46013 @endif target-libgo
46015 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
46016 maybe-installcheck-target-libgo:
46017 @if target-libgo
46018 maybe-installcheck-target-libgo: installcheck-target-libgo
46020 installcheck-target-libgo: \
46021 configure-target-libgo
46022 @: $(MAKE); $(unstage)
46023 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46024 r=`${PWD_COMMAND}`; export r; \
46025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46026 $(NORMAL_TARGET_EXPORTS) \
46027 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
46028 for flag in $(EXTRA_TARGET_FLAGS); do \
46029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46030 done; \
46031 (cd $(TARGET_SUBDIR)/libgo && \
46032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46034 "RANLIB=$${RANLIB}" \
46035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46036 installcheck) \
46037 || exit 1
46039 @endif target-libgo
46041 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
46042 maybe-mostlyclean-target-libgo:
46043 @if target-libgo
46044 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
46046 mostlyclean-target-libgo:
46047 @: $(MAKE); $(unstage)
46048 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46049 r=`${PWD_COMMAND}`; export r; \
46050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46051 $(NORMAL_TARGET_EXPORTS) \
46052 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
46053 for flag in $(EXTRA_TARGET_FLAGS); do \
46054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46055 done; \
46056 (cd $(TARGET_SUBDIR)/libgo && \
46057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46059 "RANLIB=$${RANLIB}" \
46060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46061 mostlyclean) \
46062 || exit 1
46064 @endif target-libgo
46066 .PHONY: maybe-clean-target-libgo clean-target-libgo
46067 maybe-clean-target-libgo:
46068 @if target-libgo
46069 maybe-clean-target-libgo: clean-target-libgo
46071 clean-target-libgo:
46072 @: $(MAKE); $(unstage)
46073 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46074 r=`${PWD_COMMAND}`; export r; \
46075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46076 $(NORMAL_TARGET_EXPORTS) \
46077 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
46078 for flag in $(EXTRA_TARGET_FLAGS); do \
46079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46080 done; \
46081 (cd $(TARGET_SUBDIR)/libgo && \
46082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46084 "RANLIB=$${RANLIB}" \
46085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46086 clean) \
46087 || exit 1
46089 @endif target-libgo
46091 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
46092 maybe-distclean-target-libgo:
46093 @if target-libgo
46094 maybe-distclean-target-libgo: distclean-target-libgo
46096 distclean-target-libgo:
46097 @: $(MAKE); $(unstage)
46098 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46099 r=`${PWD_COMMAND}`; export r; \
46100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46101 $(NORMAL_TARGET_EXPORTS) \
46102 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
46103 for flag in $(EXTRA_TARGET_FLAGS); do \
46104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46105 done; \
46106 (cd $(TARGET_SUBDIR)/libgo && \
46107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46109 "RANLIB=$${RANLIB}" \
46110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46111 distclean) \
46112 || exit 1
46114 @endif target-libgo
46116 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
46117 maybe-maintainer-clean-target-libgo:
46118 @if target-libgo
46119 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
46121 maintainer-clean-target-libgo:
46122 @: $(MAKE); $(unstage)
46123 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46124 r=`${PWD_COMMAND}`; export r; \
46125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46126 $(NORMAL_TARGET_EXPORTS) \
46127 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
46128 for flag in $(EXTRA_TARGET_FLAGS); do \
46129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46130 done; \
46131 (cd $(TARGET_SUBDIR)/libgo && \
46132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46134 "RANLIB=$${RANLIB}" \
46135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46136 maintainer-clean) \
46137 || exit 1
46139 @endif target-libgo
46145 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
46146 maybe-configure-target-libtermcap:
46147 @if gcc-bootstrap
46148 configure-target-libtermcap: stage_current
46149 @endif gcc-bootstrap
46150 @if target-libtermcap
46151 maybe-configure-target-libtermcap: configure-target-libtermcap
46152 configure-target-libtermcap:
46153 @: $(MAKE); $(unstage)
46154 @r=`${PWD_COMMAND}`; export r; \
46155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46156 echo "Checking multilib configuration for libtermcap..."; \
46157 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
46158 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
46159 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46160 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
46161 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
46162 else \
46163 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
46164 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46165 fi; \
46166 else \
46167 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
46168 fi; \
46169 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
46170 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
46171 $(NORMAL_TARGET_EXPORTS) \
46172 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
46173 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
46174 case $(srcdir) in \
46175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46176 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
46177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46178 esac; \
46179 module_srcdir=libtermcap; \
46180 rm -f no-such-file || : ; \
46181 CONFIG_SITE=no-such-file $(SHELL) \
46182 $$s/$$module_srcdir/configure \
46183 --srcdir=$${topdir}/$$module_srcdir \
46184 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46185 --target=${target_alias} \
46186 || exit 1
46187 @endif target-libtermcap
46193 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
46194 maybe-all-target-libtermcap:
46195 @if gcc-bootstrap
46196 all-target-libtermcap: stage_current
46197 @endif gcc-bootstrap
46198 @if target-libtermcap
46199 TARGET-target-libtermcap=all
46200 maybe-all-target-libtermcap: all-target-libtermcap
46201 all-target-libtermcap: configure-target-libtermcap
46202 @: $(MAKE); $(unstage)
46203 @r=`${PWD_COMMAND}`; export r; \
46204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46205 $(NORMAL_TARGET_EXPORTS) \
46206 (cd $(TARGET_SUBDIR)/libtermcap && \
46207 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46208 $(TARGET-target-libtermcap))
46209 @endif target-libtermcap
46215 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
46216 maybe-check-target-libtermcap:
46217 @if target-libtermcap
46218 maybe-check-target-libtermcap: check-target-libtermcap
46220 # Dummy target for uncheckable module.
46221 check-target-libtermcap:
46223 @endif target-libtermcap
46225 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
46226 maybe-install-target-libtermcap:
46227 @if target-libtermcap
46228 maybe-install-target-libtermcap: install-target-libtermcap
46230 install-target-libtermcap: installdirs
46231 @: $(MAKE); $(unstage)
46232 @r=`${PWD_COMMAND}`; export r; \
46233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46234 $(NORMAL_TARGET_EXPORTS) \
46235 (cd $(TARGET_SUBDIR)/libtermcap && \
46236 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46238 @endif target-libtermcap
46240 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
46241 maybe-install-strip-target-libtermcap:
46242 @if target-libtermcap
46243 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
46245 install-strip-target-libtermcap: installdirs
46246 @: $(MAKE); $(unstage)
46247 @r=`${PWD_COMMAND}`; export r; \
46248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46249 $(NORMAL_TARGET_EXPORTS) \
46250 (cd $(TARGET_SUBDIR)/libtermcap && \
46251 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46253 @endif target-libtermcap
46255 # Other targets (info, dvi, pdf, etc.)
46257 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
46258 maybe-info-target-libtermcap:
46259 @if target-libtermcap
46260 maybe-info-target-libtermcap: info-target-libtermcap
46262 info-target-libtermcap: \
46263 configure-target-libtermcap
46264 @: $(MAKE); $(unstage)
46265 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46266 r=`${PWD_COMMAND}`; export r; \
46267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46268 $(NORMAL_TARGET_EXPORTS) \
46269 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
46270 for flag in $(EXTRA_TARGET_FLAGS); do \
46271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46272 done; \
46273 (cd $(TARGET_SUBDIR)/libtermcap && \
46274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46276 "RANLIB=$${RANLIB}" \
46277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46278 info) \
46279 || exit 1
46281 @endif target-libtermcap
46283 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
46284 maybe-dvi-target-libtermcap:
46285 @if target-libtermcap
46286 maybe-dvi-target-libtermcap: dvi-target-libtermcap
46288 dvi-target-libtermcap: \
46289 configure-target-libtermcap
46290 @: $(MAKE); $(unstage)
46291 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46292 r=`${PWD_COMMAND}`; export r; \
46293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46294 $(NORMAL_TARGET_EXPORTS) \
46295 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
46296 for flag in $(EXTRA_TARGET_FLAGS); do \
46297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46298 done; \
46299 (cd $(TARGET_SUBDIR)/libtermcap && \
46300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46302 "RANLIB=$${RANLIB}" \
46303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46304 dvi) \
46305 || exit 1
46307 @endif target-libtermcap
46309 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
46310 maybe-pdf-target-libtermcap:
46311 @if target-libtermcap
46312 maybe-pdf-target-libtermcap: pdf-target-libtermcap
46314 pdf-target-libtermcap: \
46315 configure-target-libtermcap
46316 @: $(MAKE); $(unstage)
46317 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46318 r=`${PWD_COMMAND}`; export r; \
46319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46320 $(NORMAL_TARGET_EXPORTS) \
46321 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
46322 for flag in $(EXTRA_TARGET_FLAGS); do \
46323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46324 done; \
46325 (cd $(TARGET_SUBDIR)/libtermcap && \
46326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46328 "RANLIB=$${RANLIB}" \
46329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46330 pdf) \
46331 || exit 1
46333 @endif target-libtermcap
46335 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
46336 maybe-html-target-libtermcap:
46337 @if target-libtermcap
46338 maybe-html-target-libtermcap: html-target-libtermcap
46340 html-target-libtermcap: \
46341 configure-target-libtermcap
46342 @: $(MAKE); $(unstage)
46343 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46344 r=`${PWD_COMMAND}`; export r; \
46345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46346 $(NORMAL_TARGET_EXPORTS) \
46347 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
46348 for flag in $(EXTRA_TARGET_FLAGS); do \
46349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46350 done; \
46351 (cd $(TARGET_SUBDIR)/libtermcap && \
46352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46354 "RANLIB=$${RANLIB}" \
46355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46356 html) \
46357 || exit 1
46359 @endif target-libtermcap
46361 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
46362 maybe-TAGS-target-libtermcap:
46363 @if target-libtermcap
46364 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
46366 TAGS-target-libtermcap: \
46367 configure-target-libtermcap
46368 @: $(MAKE); $(unstage)
46369 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46370 r=`${PWD_COMMAND}`; export r; \
46371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46372 $(NORMAL_TARGET_EXPORTS) \
46373 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
46374 for flag in $(EXTRA_TARGET_FLAGS); do \
46375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46376 done; \
46377 (cd $(TARGET_SUBDIR)/libtermcap && \
46378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46380 "RANLIB=$${RANLIB}" \
46381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46382 TAGS) \
46383 || exit 1
46385 @endif target-libtermcap
46387 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
46388 maybe-install-info-target-libtermcap:
46389 @if target-libtermcap
46390 maybe-install-info-target-libtermcap: install-info-target-libtermcap
46392 install-info-target-libtermcap: \
46393 configure-target-libtermcap \
46394 info-target-libtermcap
46395 @: $(MAKE); $(unstage)
46396 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46397 r=`${PWD_COMMAND}`; export r; \
46398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46399 $(NORMAL_TARGET_EXPORTS) \
46400 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
46401 for flag in $(EXTRA_TARGET_FLAGS); do \
46402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46403 done; \
46404 (cd $(TARGET_SUBDIR)/libtermcap && \
46405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46407 "RANLIB=$${RANLIB}" \
46408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46409 install-info) \
46410 || exit 1
46412 @endif target-libtermcap
46414 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
46415 maybe-install-pdf-target-libtermcap:
46416 @if target-libtermcap
46417 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
46419 install-pdf-target-libtermcap: \
46420 configure-target-libtermcap \
46421 pdf-target-libtermcap
46422 @: $(MAKE); $(unstage)
46423 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46424 r=`${PWD_COMMAND}`; export r; \
46425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46426 $(NORMAL_TARGET_EXPORTS) \
46427 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
46428 for flag in $(EXTRA_TARGET_FLAGS); do \
46429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46430 done; \
46431 (cd $(TARGET_SUBDIR)/libtermcap && \
46432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46434 "RANLIB=$${RANLIB}" \
46435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46436 install-pdf) \
46437 || exit 1
46439 @endif target-libtermcap
46441 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
46442 maybe-install-html-target-libtermcap:
46443 @if target-libtermcap
46444 maybe-install-html-target-libtermcap: install-html-target-libtermcap
46446 install-html-target-libtermcap: \
46447 configure-target-libtermcap \
46448 html-target-libtermcap
46449 @: $(MAKE); $(unstage)
46450 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46451 r=`${PWD_COMMAND}`; export r; \
46452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46453 $(NORMAL_TARGET_EXPORTS) \
46454 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
46455 for flag in $(EXTRA_TARGET_FLAGS); do \
46456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46457 done; \
46458 (cd $(TARGET_SUBDIR)/libtermcap && \
46459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46461 "RANLIB=$${RANLIB}" \
46462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46463 install-html) \
46464 || exit 1
46466 @endif target-libtermcap
46468 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
46469 maybe-installcheck-target-libtermcap:
46470 @if target-libtermcap
46471 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
46473 installcheck-target-libtermcap: \
46474 configure-target-libtermcap
46475 @: $(MAKE); $(unstage)
46476 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
46477 r=`${PWD_COMMAND}`; export r; \
46478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46479 $(NORMAL_TARGET_EXPORTS) \
46480 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
46481 for flag in $(EXTRA_TARGET_FLAGS); do \
46482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46483 done; \
46484 (cd $(TARGET_SUBDIR)/libtermcap && \
46485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46487 "RANLIB=$${RANLIB}" \
46488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46489 installcheck) \
46490 || exit 1
46492 @endif target-libtermcap
46494 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
46495 maybe-mostlyclean-target-libtermcap:
46496 @if target-libtermcap
46497 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
46499 # libtermcap doesn't support mostlyclean.
46500 mostlyclean-target-libtermcap:
46502 @endif target-libtermcap
46504 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
46505 maybe-clean-target-libtermcap:
46506 @if target-libtermcap
46507 maybe-clean-target-libtermcap: clean-target-libtermcap
46509 # libtermcap doesn't support clean.
46510 clean-target-libtermcap:
46512 @endif target-libtermcap
46514 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
46515 maybe-distclean-target-libtermcap:
46516 @if target-libtermcap
46517 maybe-distclean-target-libtermcap: distclean-target-libtermcap
46519 # libtermcap doesn't support distclean.
46520 distclean-target-libtermcap:
46522 @endif target-libtermcap
46524 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
46525 maybe-maintainer-clean-target-libtermcap:
46526 @if target-libtermcap
46527 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
46529 # libtermcap doesn't support maintainer-clean.
46530 maintainer-clean-target-libtermcap:
46532 @endif target-libtermcap
46538 .PHONY: configure-target-winsup maybe-configure-target-winsup
46539 maybe-configure-target-winsup:
46540 @if gcc-bootstrap
46541 configure-target-winsup: stage_current
46542 @endif gcc-bootstrap
46543 @if target-winsup
46544 maybe-configure-target-winsup: configure-target-winsup
46545 configure-target-winsup:
46546 @: $(MAKE); $(unstage)
46547 @r=`${PWD_COMMAND}`; export r; \
46548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46549 echo "Checking multilib configuration for winsup..."; \
46550 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
46551 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
46552 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
46553 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
46554 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
46555 else \
46556 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
46557 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46558 fi; \
46559 else \
46560 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
46561 fi; \
46562 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
46563 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
46564 $(NORMAL_TARGET_EXPORTS) \
46565 echo Configuring in $(TARGET_SUBDIR)/winsup; \
46566 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
46567 case $(srcdir) in \
46568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46569 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
46570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46571 esac; \
46572 module_srcdir=winsup; \
46573 rm -f no-such-file || : ; \
46574 CONFIG_SITE=no-such-file $(SHELL) \
46575 $$s/$$module_srcdir/configure \
46576 --srcdir=$${topdir}/$$module_srcdir \
46577 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46578 --target=${target_alias} \
46579 || exit 1
46580 @endif target-winsup
46586 .PHONY: all-target-winsup maybe-all-target-winsup
46587 maybe-all-target-winsup:
46588 @if gcc-bootstrap
46589 all-target-winsup: stage_current
46590 @endif gcc-bootstrap
46591 @if target-winsup
46592 TARGET-target-winsup=all
46593 maybe-all-target-winsup: all-target-winsup
46594 all-target-winsup: configure-target-winsup
46595 @: $(MAKE); $(unstage)
46596 @r=`${PWD_COMMAND}`; export r; \
46597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46598 $(NORMAL_TARGET_EXPORTS) \
46599 (cd $(TARGET_SUBDIR)/winsup && \
46600 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46601 $(TARGET-target-winsup))
46602 @endif target-winsup
46608 .PHONY: check-target-winsup maybe-check-target-winsup
46609 maybe-check-target-winsup:
46610 @if target-winsup
46611 maybe-check-target-winsup: check-target-winsup
46613 check-target-winsup:
46614 @: $(MAKE); $(unstage)
46615 @r=`${PWD_COMMAND}`; export r; \
46616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46617 $(NORMAL_TARGET_EXPORTS) \
46618 (cd $(TARGET_SUBDIR)/winsup && \
46619 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46621 @endif target-winsup
46623 .PHONY: install-target-winsup maybe-install-target-winsup
46624 maybe-install-target-winsup:
46625 @if target-winsup
46626 maybe-install-target-winsup: install-target-winsup
46628 install-target-winsup: installdirs
46629 @: $(MAKE); $(unstage)
46630 @r=`${PWD_COMMAND}`; export r; \
46631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46632 $(NORMAL_TARGET_EXPORTS) \
46633 (cd $(TARGET_SUBDIR)/winsup && \
46634 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46636 @endif target-winsup
46638 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
46639 maybe-install-strip-target-winsup:
46640 @if target-winsup
46641 maybe-install-strip-target-winsup: install-strip-target-winsup
46643 install-strip-target-winsup: installdirs
46644 @: $(MAKE); $(unstage)
46645 @r=`${PWD_COMMAND}`; export r; \
46646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46647 $(NORMAL_TARGET_EXPORTS) \
46648 (cd $(TARGET_SUBDIR)/winsup && \
46649 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46651 @endif target-winsup
46653 # Other targets (info, dvi, pdf, etc.)
46655 .PHONY: maybe-info-target-winsup info-target-winsup
46656 maybe-info-target-winsup:
46657 @if target-winsup
46658 maybe-info-target-winsup: info-target-winsup
46660 info-target-winsup: \
46661 configure-target-winsup
46662 @: $(MAKE); $(unstage)
46663 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46664 r=`${PWD_COMMAND}`; export r; \
46665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46666 $(NORMAL_TARGET_EXPORTS) \
46667 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
46668 for flag in $(EXTRA_TARGET_FLAGS); do \
46669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46670 done; \
46671 (cd $(TARGET_SUBDIR)/winsup && \
46672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46674 "RANLIB=$${RANLIB}" \
46675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46676 info) \
46677 || exit 1
46679 @endif target-winsup
46681 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
46682 maybe-dvi-target-winsup:
46683 @if target-winsup
46684 maybe-dvi-target-winsup: dvi-target-winsup
46686 dvi-target-winsup: \
46687 configure-target-winsup
46688 @: $(MAKE); $(unstage)
46689 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46690 r=`${PWD_COMMAND}`; export r; \
46691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46692 $(NORMAL_TARGET_EXPORTS) \
46693 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
46694 for flag in $(EXTRA_TARGET_FLAGS); do \
46695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46696 done; \
46697 (cd $(TARGET_SUBDIR)/winsup && \
46698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46700 "RANLIB=$${RANLIB}" \
46701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46702 dvi) \
46703 || exit 1
46705 @endif target-winsup
46707 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
46708 maybe-pdf-target-winsup:
46709 @if target-winsup
46710 maybe-pdf-target-winsup: pdf-target-winsup
46712 pdf-target-winsup: \
46713 configure-target-winsup
46714 @: $(MAKE); $(unstage)
46715 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46716 r=`${PWD_COMMAND}`; export r; \
46717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46718 $(NORMAL_TARGET_EXPORTS) \
46719 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
46720 for flag in $(EXTRA_TARGET_FLAGS); do \
46721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46722 done; \
46723 (cd $(TARGET_SUBDIR)/winsup && \
46724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46726 "RANLIB=$${RANLIB}" \
46727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46728 pdf) \
46729 || exit 1
46731 @endif target-winsup
46733 .PHONY: maybe-html-target-winsup html-target-winsup
46734 maybe-html-target-winsup:
46735 @if target-winsup
46736 maybe-html-target-winsup: html-target-winsup
46738 html-target-winsup: \
46739 configure-target-winsup
46740 @: $(MAKE); $(unstage)
46741 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46742 r=`${PWD_COMMAND}`; export r; \
46743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46744 $(NORMAL_TARGET_EXPORTS) \
46745 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
46746 for flag in $(EXTRA_TARGET_FLAGS); do \
46747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46748 done; \
46749 (cd $(TARGET_SUBDIR)/winsup && \
46750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46752 "RANLIB=$${RANLIB}" \
46753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46754 html) \
46755 || exit 1
46757 @endif target-winsup
46759 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
46760 maybe-TAGS-target-winsup:
46761 @if target-winsup
46762 maybe-TAGS-target-winsup: TAGS-target-winsup
46764 TAGS-target-winsup: \
46765 configure-target-winsup
46766 @: $(MAKE); $(unstage)
46767 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46768 r=`${PWD_COMMAND}`; export r; \
46769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46770 $(NORMAL_TARGET_EXPORTS) \
46771 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
46772 for flag in $(EXTRA_TARGET_FLAGS); do \
46773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46774 done; \
46775 (cd $(TARGET_SUBDIR)/winsup && \
46776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46778 "RANLIB=$${RANLIB}" \
46779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46780 TAGS) \
46781 || exit 1
46783 @endif target-winsup
46785 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
46786 maybe-install-info-target-winsup:
46787 @if target-winsup
46788 maybe-install-info-target-winsup: install-info-target-winsup
46790 install-info-target-winsup: \
46791 configure-target-winsup \
46792 info-target-winsup
46793 @: $(MAKE); $(unstage)
46794 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46795 r=`${PWD_COMMAND}`; export r; \
46796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46797 $(NORMAL_TARGET_EXPORTS) \
46798 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
46799 for flag in $(EXTRA_TARGET_FLAGS); do \
46800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46801 done; \
46802 (cd $(TARGET_SUBDIR)/winsup && \
46803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46805 "RANLIB=$${RANLIB}" \
46806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46807 install-info) \
46808 || exit 1
46810 @endif target-winsup
46812 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
46813 maybe-install-pdf-target-winsup:
46814 @if target-winsup
46815 maybe-install-pdf-target-winsup: install-pdf-target-winsup
46817 install-pdf-target-winsup: \
46818 configure-target-winsup \
46819 pdf-target-winsup
46820 @: $(MAKE); $(unstage)
46821 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46822 r=`${PWD_COMMAND}`; export r; \
46823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46824 $(NORMAL_TARGET_EXPORTS) \
46825 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
46826 for flag in $(EXTRA_TARGET_FLAGS); do \
46827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46828 done; \
46829 (cd $(TARGET_SUBDIR)/winsup && \
46830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46832 "RANLIB=$${RANLIB}" \
46833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46834 install-pdf) \
46835 || exit 1
46837 @endif target-winsup
46839 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
46840 maybe-install-html-target-winsup:
46841 @if target-winsup
46842 maybe-install-html-target-winsup: install-html-target-winsup
46844 install-html-target-winsup: \
46845 configure-target-winsup \
46846 html-target-winsup
46847 @: $(MAKE); $(unstage)
46848 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46849 r=`${PWD_COMMAND}`; export r; \
46850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46851 $(NORMAL_TARGET_EXPORTS) \
46852 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
46853 for flag in $(EXTRA_TARGET_FLAGS); do \
46854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46855 done; \
46856 (cd $(TARGET_SUBDIR)/winsup && \
46857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46859 "RANLIB=$${RANLIB}" \
46860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46861 install-html) \
46862 || exit 1
46864 @endif target-winsup
46866 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
46867 maybe-installcheck-target-winsup:
46868 @if target-winsup
46869 maybe-installcheck-target-winsup: installcheck-target-winsup
46871 installcheck-target-winsup: \
46872 configure-target-winsup
46873 @: $(MAKE); $(unstage)
46874 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46875 r=`${PWD_COMMAND}`; export r; \
46876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46877 $(NORMAL_TARGET_EXPORTS) \
46878 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
46879 for flag in $(EXTRA_TARGET_FLAGS); do \
46880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46881 done; \
46882 (cd $(TARGET_SUBDIR)/winsup && \
46883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46885 "RANLIB=$${RANLIB}" \
46886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46887 installcheck) \
46888 || exit 1
46890 @endif target-winsup
46892 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
46893 maybe-mostlyclean-target-winsup:
46894 @if target-winsup
46895 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
46897 mostlyclean-target-winsup:
46898 @: $(MAKE); $(unstage)
46899 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46900 r=`${PWD_COMMAND}`; export r; \
46901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46902 $(NORMAL_TARGET_EXPORTS) \
46903 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
46904 for flag in $(EXTRA_TARGET_FLAGS); do \
46905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46906 done; \
46907 (cd $(TARGET_SUBDIR)/winsup && \
46908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46910 "RANLIB=$${RANLIB}" \
46911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46912 mostlyclean) \
46913 || exit 1
46915 @endif target-winsup
46917 .PHONY: maybe-clean-target-winsup clean-target-winsup
46918 maybe-clean-target-winsup:
46919 @if target-winsup
46920 maybe-clean-target-winsup: clean-target-winsup
46922 clean-target-winsup:
46923 @: $(MAKE); $(unstage)
46924 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46925 r=`${PWD_COMMAND}`; export r; \
46926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46927 $(NORMAL_TARGET_EXPORTS) \
46928 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
46929 for flag in $(EXTRA_TARGET_FLAGS); do \
46930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46931 done; \
46932 (cd $(TARGET_SUBDIR)/winsup && \
46933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46935 "RANLIB=$${RANLIB}" \
46936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46937 clean) \
46938 || exit 1
46940 @endif target-winsup
46942 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
46943 maybe-distclean-target-winsup:
46944 @if target-winsup
46945 maybe-distclean-target-winsup: distclean-target-winsup
46947 distclean-target-winsup:
46948 @: $(MAKE); $(unstage)
46949 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46950 r=`${PWD_COMMAND}`; export r; \
46951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46952 $(NORMAL_TARGET_EXPORTS) \
46953 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
46954 for flag in $(EXTRA_TARGET_FLAGS); do \
46955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46956 done; \
46957 (cd $(TARGET_SUBDIR)/winsup && \
46958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46960 "RANLIB=$${RANLIB}" \
46961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46962 distclean) \
46963 || exit 1
46965 @endif target-winsup
46967 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
46968 maybe-maintainer-clean-target-winsup:
46969 @if target-winsup
46970 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
46972 maintainer-clean-target-winsup:
46973 @: $(MAKE); $(unstage)
46974 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
46975 r=`${PWD_COMMAND}`; export r; \
46976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46977 $(NORMAL_TARGET_EXPORTS) \
46978 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
46979 for flag in $(EXTRA_TARGET_FLAGS); do \
46980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46981 done; \
46982 (cd $(TARGET_SUBDIR)/winsup && \
46983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46985 "RANLIB=$${RANLIB}" \
46986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46987 maintainer-clean) \
46988 || exit 1
46990 @endif target-winsup
46996 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
46997 maybe-configure-target-libgloss:
46998 @if gcc-bootstrap
46999 configure-target-libgloss: stage_current
47000 @endif gcc-bootstrap
47001 @if target-libgloss
47002 maybe-configure-target-libgloss: configure-target-libgloss
47003 configure-target-libgloss:
47004 @: $(MAKE); $(unstage)
47005 @r=`${PWD_COMMAND}`; export r; \
47006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47007 echo "Checking multilib configuration for libgloss..."; \
47008 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
47009 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
47010 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47011 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
47012 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
47013 else \
47014 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
47015 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47016 fi; \
47017 else \
47018 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
47019 fi; \
47020 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
47021 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
47022 $(NORMAL_TARGET_EXPORTS) \
47023 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
47024 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
47025 case $(srcdir) in \
47026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47027 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
47028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47029 esac; \
47030 module_srcdir=libgloss; \
47031 rm -f no-such-file || : ; \
47032 CONFIG_SITE=no-such-file $(SHELL) \
47033 $$s/$$module_srcdir/configure \
47034 --srcdir=$${topdir}/$$module_srcdir \
47035 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47036 --target=${target_alias} \
47037 || exit 1
47038 @endif target-libgloss
47044 .PHONY: all-target-libgloss maybe-all-target-libgloss
47045 maybe-all-target-libgloss:
47046 @if gcc-bootstrap
47047 all-target-libgloss: stage_current
47048 @endif gcc-bootstrap
47049 @if target-libgloss
47050 TARGET-target-libgloss=all
47051 maybe-all-target-libgloss: all-target-libgloss
47052 all-target-libgloss: configure-target-libgloss
47053 @: $(MAKE); $(unstage)
47054 @r=`${PWD_COMMAND}`; export r; \
47055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47056 $(NORMAL_TARGET_EXPORTS) \
47057 (cd $(TARGET_SUBDIR)/libgloss && \
47058 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47059 $(TARGET-target-libgloss))
47060 @endif target-libgloss
47066 .PHONY: check-target-libgloss maybe-check-target-libgloss
47067 maybe-check-target-libgloss:
47068 @if target-libgloss
47069 maybe-check-target-libgloss: check-target-libgloss
47071 # Dummy target for uncheckable module.
47072 check-target-libgloss:
47074 @endif target-libgloss
47076 .PHONY: install-target-libgloss maybe-install-target-libgloss
47077 maybe-install-target-libgloss:
47078 @if target-libgloss
47079 maybe-install-target-libgloss: install-target-libgloss
47081 install-target-libgloss: installdirs
47082 @: $(MAKE); $(unstage)
47083 @r=`${PWD_COMMAND}`; export r; \
47084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47085 $(NORMAL_TARGET_EXPORTS) \
47086 (cd $(TARGET_SUBDIR)/libgloss && \
47087 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47089 @endif target-libgloss
47091 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
47092 maybe-install-strip-target-libgloss:
47093 @if target-libgloss
47094 maybe-install-strip-target-libgloss: install-strip-target-libgloss
47096 install-strip-target-libgloss: installdirs
47097 @: $(MAKE); $(unstage)
47098 @r=`${PWD_COMMAND}`; export r; \
47099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47100 $(NORMAL_TARGET_EXPORTS) \
47101 (cd $(TARGET_SUBDIR)/libgloss && \
47102 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47104 @endif target-libgloss
47106 # Other targets (info, dvi, pdf, etc.)
47108 .PHONY: maybe-info-target-libgloss info-target-libgloss
47109 maybe-info-target-libgloss:
47110 @if target-libgloss
47111 maybe-info-target-libgloss: info-target-libgloss
47113 info-target-libgloss: \
47114 configure-target-libgloss
47115 @: $(MAKE); $(unstage)
47116 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47117 r=`${PWD_COMMAND}`; export r; \
47118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47119 $(NORMAL_TARGET_EXPORTS) \
47120 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
47121 for flag in $(EXTRA_TARGET_FLAGS); do \
47122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47123 done; \
47124 (cd $(TARGET_SUBDIR)/libgloss && \
47125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47127 "RANLIB=$${RANLIB}" \
47128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47129 info) \
47130 || exit 1
47132 @endif target-libgloss
47134 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
47135 maybe-dvi-target-libgloss:
47136 @if target-libgloss
47137 maybe-dvi-target-libgloss: dvi-target-libgloss
47139 dvi-target-libgloss: \
47140 configure-target-libgloss
47141 @: $(MAKE); $(unstage)
47142 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47143 r=`${PWD_COMMAND}`; export r; \
47144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47145 $(NORMAL_TARGET_EXPORTS) \
47146 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
47147 for flag in $(EXTRA_TARGET_FLAGS); do \
47148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47149 done; \
47150 (cd $(TARGET_SUBDIR)/libgloss && \
47151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47153 "RANLIB=$${RANLIB}" \
47154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47155 dvi) \
47156 || exit 1
47158 @endif target-libgloss
47160 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
47161 maybe-pdf-target-libgloss:
47162 @if target-libgloss
47163 maybe-pdf-target-libgloss: pdf-target-libgloss
47165 pdf-target-libgloss: \
47166 configure-target-libgloss
47167 @: $(MAKE); $(unstage)
47168 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47169 r=`${PWD_COMMAND}`; export r; \
47170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47171 $(NORMAL_TARGET_EXPORTS) \
47172 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
47173 for flag in $(EXTRA_TARGET_FLAGS); do \
47174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47175 done; \
47176 (cd $(TARGET_SUBDIR)/libgloss && \
47177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47179 "RANLIB=$${RANLIB}" \
47180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47181 pdf) \
47182 || exit 1
47184 @endif target-libgloss
47186 .PHONY: maybe-html-target-libgloss html-target-libgloss
47187 maybe-html-target-libgloss:
47188 @if target-libgloss
47189 maybe-html-target-libgloss: html-target-libgloss
47191 html-target-libgloss: \
47192 configure-target-libgloss
47193 @: $(MAKE); $(unstage)
47194 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47195 r=`${PWD_COMMAND}`; export r; \
47196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47197 $(NORMAL_TARGET_EXPORTS) \
47198 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
47199 for flag in $(EXTRA_TARGET_FLAGS); do \
47200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47201 done; \
47202 (cd $(TARGET_SUBDIR)/libgloss && \
47203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47205 "RANLIB=$${RANLIB}" \
47206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47207 html) \
47208 || exit 1
47210 @endif target-libgloss
47212 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
47213 maybe-TAGS-target-libgloss:
47214 @if target-libgloss
47215 maybe-TAGS-target-libgloss: TAGS-target-libgloss
47217 TAGS-target-libgloss: \
47218 configure-target-libgloss
47219 @: $(MAKE); $(unstage)
47220 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47221 r=`${PWD_COMMAND}`; export r; \
47222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47223 $(NORMAL_TARGET_EXPORTS) \
47224 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
47225 for flag in $(EXTRA_TARGET_FLAGS); do \
47226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47227 done; \
47228 (cd $(TARGET_SUBDIR)/libgloss && \
47229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47231 "RANLIB=$${RANLIB}" \
47232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47233 TAGS) \
47234 || exit 1
47236 @endif target-libgloss
47238 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
47239 maybe-install-info-target-libgloss:
47240 @if target-libgloss
47241 maybe-install-info-target-libgloss: install-info-target-libgloss
47243 install-info-target-libgloss: \
47244 configure-target-libgloss \
47245 info-target-libgloss
47246 @: $(MAKE); $(unstage)
47247 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47248 r=`${PWD_COMMAND}`; export r; \
47249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47250 $(NORMAL_TARGET_EXPORTS) \
47251 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
47252 for flag in $(EXTRA_TARGET_FLAGS); do \
47253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47254 done; \
47255 (cd $(TARGET_SUBDIR)/libgloss && \
47256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47258 "RANLIB=$${RANLIB}" \
47259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47260 install-info) \
47261 || exit 1
47263 @endif target-libgloss
47265 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
47266 maybe-install-pdf-target-libgloss:
47267 @if target-libgloss
47268 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
47270 install-pdf-target-libgloss: \
47271 configure-target-libgloss \
47272 pdf-target-libgloss
47273 @: $(MAKE); $(unstage)
47274 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47275 r=`${PWD_COMMAND}`; export r; \
47276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47277 $(NORMAL_TARGET_EXPORTS) \
47278 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
47279 for flag in $(EXTRA_TARGET_FLAGS); do \
47280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47281 done; \
47282 (cd $(TARGET_SUBDIR)/libgloss && \
47283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47285 "RANLIB=$${RANLIB}" \
47286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47287 install-pdf) \
47288 || exit 1
47290 @endif target-libgloss
47292 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
47293 maybe-install-html-target-libgloss:
47294 @if target-libgloss
47295 maybe-install-html-target-libgloss: install-html-target-libgloss
47297 install-html-target-libgloss: \
47298 configure-target-libgloss \
47299 html-target-libgloss
47300 @: $(MAKE); $(unstage)
47301 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47302 r=`${PWD_COMMAND}`; export r; \
47303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47304 $(NORMAL_TARGET_EXPORTS) \
47305 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
47306 for flag in $(EXTRA_TARGET_FLAGS); do \
47307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47308 done; \
47309 (cd $(TARGET_SUBDIR)/libgloss && \
47310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47312 "RANLIB=$${RANLIB}" \
47313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47314 install-html) \
47315 || exit 1
47317 @endif target-libgloss
47319 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
47320 maybe-installcheck-target-libgloss:
47321 @if target-libgloss
47322 maybe-installcheck-target-libgloss: installcheck-target-libgloss
47324 installcheck-target-libgloss: \
47325 configure-target-libgloss
47326 @: $(MAKE); $(unstage)
47327 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47328 r=`${PWD_COMMAND}`; export r; \
47329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47330 $(NORMAL_TARGET_EXPORTS) \
47331 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
47332 for flag in $(EXTRA_TARGET_FLAGS); do \
47333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47334 done; \
47335 (cd $(TARGET_SUBDIR)/libgloss && \
47336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47338 "RANLIB=$${RANLIB}" \
47339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47340 installcheck) \
47341 || exit 1
47343 @endif target-libgloss
47345 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
47346 maybe-mostlyclean-target-libgloss:
47347 @if target-libgloss
47348 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
47350 mostlyclean-target-libgloss:
47351 @: $(MAKE); $(unstage)
47352 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47353 r=`${PWD_COMMAND}`; export r; \
47354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47355 $(NORMAL_TARGET_EXPORTS) \
47356 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
47357 for flag in $(EXTRA_TARGET_FLAGS); do \
47358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47359 done; \
47360 (cd $(TARGET_SUBDIR)/libgloss && \
47361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47363 "RANLIB=$${RANLIB}" \
47364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47365 mostlyclean) \
47366 || exit 1
47368 @endif target-libgloss
47370 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
47371 maybe-clean-target-libgloss:
47372 @if target-libgloss
47373 maybe-clean-target-libgloss: clean-target-libgloss
47375 clean-target-libgloss:
47376 @: $(MAKE); $(unstage)
47377 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47378 r=`${PWD_COMMAND}`; export r; \
47379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47380 $(NORMAL_TARGET_EXPORTS) \
47381 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
47382 for flag in $(EXTRA_TARGET_FLAGS); do \
47383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47384 done; \
47385 (cd $(TARGET_SUBDIR)/libgloss && \
47386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47388 "RANLIB=$${RANLIB}" \
47389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47390 clean) \
47391 || exit 1
47393 @endif target-libgloss
47395 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
47396 maybe-distclean-target-libgloss:
47397 @if target-libgloss
47398 maybe-distclean-target-libgloss: distclean-target-libgloss
47400 distclean-target-libgloss:
47401 @: $(MAKE); $(unstage)
47402 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47403 r=`${PWD_COMMAND}`; export r; \
47404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47405 $(NORMAL_TARGET_EXPORTS) \
47406 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
47407 for flag in $(EXTRA_TARGET_FLAGS); do \
47408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47409 done; \
47410 (cd $(TARGET_SUBDIR)/libgloss && \
47411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47413 "RANLIB=$${RANLIB}" \
47414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47415 distclean) \
47416 || exit 1
47418 @endif target-libgloss
47420 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
47421 maybe-maintainer-clean-target-libgloss:
47422 @if target-libgloss
47423 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
47425 maintainer-clean-target-libgloss:
47426 @: $(MAKE); $(unstage)
47427 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
47428 r=`${PWD_COMMAND}`; export r; \
47429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47430 $(NORMAL_TARGET_EXPORTS) \
47431 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
47432 for flag in $(EXTRA_TARGET_FLAGS); do \
47433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47434 done; \
47435 (cd $(TARGET_SUBDIR)/libgloss && \
47436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47438 "RANLIB=$${RANLIB}" \
47439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47440 maintainer-clean) \
47441 || exit 1
47443 @endif target-libgloss
47449 .PHONY: configure-target-libffi maybe-configure-target-libffi
47450 maybe-configure-target-libffi:
47451 @if gcc-bootstrap
47452 configure-target-libffi: stage_current
47453 @endif gcc-bootstrap
47454 @if target-libffi
47455 maybe-configure-target-libffi: configure-target-libffi
47456 configure-target-libffi:
47457 @: $(MAKE); $(unstage)
47458 @r=`${PWD_COMMAND}`; export r; \
47459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47460 echo "Checking multilib configuration for libffi..."; \
47461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
47462 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
47463 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
47464 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
47465 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
47466 else \
47467 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
47468 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
47469 fi; \
47470 else \
47471 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
47472 fi; \
47473 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
47474 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
47475 $(NORMAL_TARGET_EXPORTS) \
47476 echo Configuring in $(TARGET_SUBDIR)/libffi; \
47477 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
47478 case $(srcdir) in \
47479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47480 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
47481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47482 esac; \
47483 module_srcdir=libffi; \
47484 rm -f no-such-file || : ; \
47485 CONFIG_SITE=no-such-file $(SHELL) \
47486 $$s/$$module_srcdir/configure \
47487 --srcdir=$${topdir}/$$module_srcdir \
47488 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47489 --target=${target_alias} \
47490 || exit 1
47491 @endif target-libffi
47497 .PHONY: all-target-libffi maybe-all-target-libffi
47498 maybe-all-target-libffi:
47499 @if gcc-bootstrap
47500 all-target-libffi: stage_current
47501 @endif gcc-bootstrap
47502 @if target-libffi
47503 TARGET-target-libffi=all
47504 maybe-all-target-libffi: all-target-libffi
47505 all-target-libffi: configure-target-libffi
47506 @: $(MAKE); $(unstage)
47507 @r=`${PWD_COMMAND}`; export r; \
47508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47509 $(NORMAL_TARGET_EXPORTS) \
47510 (cd $(TARGET_SUBDIR)/libffi && \
47511 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47512 $(TARGET-target-libffi))
47513 @endif target-libffi
47519 .PHONY: check-target-libffi maybe-check-target-libffi
47520 maybe-check-target-libffi:
47521 @if target-libffi
47522 maybe-check-target-libffi: check-target-libffi
47524 check-target-libffi:
47525 @: $(MAKE); $(unstage)
47526 @r=`${PWD_COMMAND}`; export r; \
47527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47528 $(NORMAL_TARGET_EXPORTS) \
47529 (cd $(TARGET_SUBDIR)/libffi && \
47530 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47532 @endif target-libffi
47534 .PHONY: install-target-libffi maybe-install-target-libffi
47535 maybe-install-target-libffi:
47536 @if target-libffi
47537 maybe-install-target-libffi: install-target-libffi
47539 # Dummy target for uninstallable.
47540 install-target-libffi:
47542 @endif target-libffi
47544 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
47545 maybe-install-strip-target-libffi:
47546 @if target-libffi
47547 maybe-install-strip-target-libffi: install-strip-target-libffi
47549 # Dummy target for uninstallable.
47550 install-strip-target-libffi:
47552 @endif target-libffi
47554 # Other targets (info, dvi, pdf, etc.)
47556 .PHONY: maybe-info-target-libffi info-target-libffi
47557 maybe-info-target-libffi:
47558 @if target-libffi
47559 maybe-info-target-libffi: info-target-libffi
47561 info-target-libffi: \
47562 configure-target-libffi
47563 @: $(MAKE); $(unstage)
47564 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47565 r=`${PWD_COMMAND}`; export r; \
47566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47567 $(NORMAL_TARGET_EXPORTS) \
47568 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
47569 for flag in $(EXTRA_TARGET_FLAGS); do \
47570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47571 done; \
47572 (cd $(TARGET_SUBDIR)/libffi && \
47573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47575 "RANLIB=$${RANLIB}" \
47576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47577 info) \
47578 || exit 1
47580 @endif target-libffi
47582 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
47583 maybe-dvi-target-libffi:
47584 @if target-libffi
47585 maybe-dvi-target-libffi: dvi-target-libffi
47587 dvi-target-libffi: \
47588 configure-target-libffi
47589 @: $(MAKE); $(unstage)
47590 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47591 r=`${PWD_COMMAND}`; export r; \
47592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47593 $(NORMAL_TARGET_EXPORTS) \
47594 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
47595 for flag in $(EXTRA_TARGET_FLAGS); do \
47596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47597 done; \
47598 (cd $(TARGET_SUBDIR)/libffi && \
47599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47601 "RANLIB=$${RANLIB}" \
47602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47603 dvi) \
47604 || exit 1
47606 @endif target-libffi
47608 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
47609 maybe-pdf-target-libffi:
47610 @if target-libffi
47611 maybe-pdf-target-libffi: pdf-target-libffi
47613 pdf-target-libffi: \
47614 configure-target-libffi
47615 @: $(MAKE); $(unstage)
47616 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47617 r=`${PWD_COMMAND}`; export r; \
47618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47619 $(NORMAL_TARGET_EXPORTS) \
47620 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
47621 for flag in $(EXTRA_TARGET_FLAGS); do \
47622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47623 done; \
47624 (cd $(TARGET_SUBDIR)/libffi && \
47625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47627 "RANLIB=$${RANLIB}" \
47628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47629 pdf) \
47630 || exit 1
47632 @endif target-libffi
47634 .PHONY: maybe-html-target-libffi html-target-libffi
47635 maybe-html-target-libffi:
47636 @if target-libffi
47637 maybe-html-target-libffi: html-target-libffi
47639 html-target-libffi: \
47640 configure-target-libffi
47641 @: $(MAKE); $(unstage)
47642 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47643 r=`${PWD_COMMAND}`; export r; \
47644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47645 $(NORMAL_TARGET_EXPORTS) \
47646 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
47647 for flag in $(EXTRA_TARGET_FLAGS); do \
47648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47649 done; \
47650 (cd $(TARGET_SUBDIR)/libffi && \
47651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47653 "RANLIB=$${RANLIB}" \
47654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47655 html) \
47656 || exit 1
47658 @endif target-libffi
47660 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
47661 maybe-TAGS-target-libffi:
47662 @if target-libffi
47663 maybe-TAGS-target-libffi: TAGS-target-libffi
47665 TAGS-target-libffi: \
47666 configure-target-libffi
47667 @: $(MAKE); $(unstage)
47668 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47669 r=`${PWD_COMMAND}`; export r; \
47670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47671 $(NORMAL_TARGET_EXPORTS) \
47672 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
47673 for flag in $(EXTRA_TARGET_FLAGS); do \
47674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47675 done; \
47676 (cd $(TARGET_SUBDIR)/libffi && \
47677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47679 "RANLIB=$${RANLIB}" \
47680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47681 TAGS) \
47682 || exit 1
47684 @endif target-libffi
47686 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
47687 maybe-install-info-target-libffi:
47688 @if target-libffi
47689 maybe-install-info-target-libffi: install-info-target-libffi
47691 install-info-target-libffi: \
47692 configure-target-libffi \
47693 info-target-libffi
47694 @: $(MAKE); $(unstage)
47695 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47696 r=`${PWD_COMMAND}`; export r; \
47697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47698 $(NORMAL_TARGET_EXPORTS) \
47699 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
47700 for flag in $(EXTRA_TARGET_FLAGS); do \
47701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47702 done; \
47703 (cd $(TARGET_SUBDIR)/libffi && \
47704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47706 "RANLIB=$${RANLIB}" \
47707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47708 install-info) \
47709 || exit 1
47711 @endif target-libffi
47713 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
47714 maybe-install-pdf-target-libffi:
47715 @if target-libffi
47716 maybe-install-pdf-target-libffi: install-pdf-target-libffi
47718 install-pdf-target-libffi: \
47719 configure-target-libffi \
47720 pdf-target-libffi
47721 @: $(MAKE); $(unstage)
47722 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47723 r=`${PWD_COMMAND}`; export r; \
47724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47725 $(NORMAL_TARGET_EXPORTS) \
47726 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
47727 for flag in $(EXTRA_TARGET_FLAGS); do \
47728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47729 done; \
47730 (cd $(TARGET_SUBDIR)/libffi && \
47731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47733 "RANLIB=$${RANLIB}" \
47734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47735 install-pdf) \
47736 || exit 1
47738 @endif target-libffi
47740 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
47741 maybe-install-html-target-libffi:
47742 @if target-libffi
47743 maybe-install-html-target-libffi: install-html-target-libffi
47745 install-html-target-libffi: \
47746 configure-target-libffi \
47747 html-target-libffi
47748 @: $(MAKE); $(unstage)
47749 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47750 r=`${PWD_COMMAND}`; export r; \
47751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47752 $(NORMAL_TARGET_EXPORTS) \
47753 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
47754 for flag in $(EXTRA_TARGET_FLAGS); do \
47755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47756 done; \
47757 (cd $(TARGET_SUBDIR)/libffi && \
47758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47760 "RANLIB=$${RANLIB}" \
47761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47762 install-html) \
47763 || exit 1
47765 @endif target-libffi
47767 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
47768 maybe-installcheck-target-libffi:
47769 @if target-libffi
47770 maybe-installcheck-target-libffi: installcheck-target-libffi
47772 installcheck-target-libffi: \
47773 configure-target-libffi
47774 @: $(MAKE); $(unstage)
47775 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47776 r=`${PWD_COMMAND}`; export r; \
47777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47778 $(NORMAL_TARGET_EXPORTS) \
47779 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
47780 for flag in $(EXTRA_TARGET_FLAGS); do \
47781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47782 done; \
47783 (cd $(TARGET_SUBDIR)/libffi && \
47784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47786 "RANLIB=$${RANLIB}" \
47787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47788 installcheck) \
47789 || exit 1
47791 @endif target-libffi
47793 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
47794 maybe-mostlyclean-target-libffi:
47795 @if target-libffi
47796 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
47798 mostlyclean-target-libffi:
47799 @: $(MAKE); $(unstage)
47800 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47801 r=`${PWD_COMMAND}`; export r; \
47802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47803 $(NORMAL_TARGET_EXPORTS) \
47804 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
47805 for flag in $(EXTRA_TARGET_FLAGS); do \
47806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47807 done; \
47808 (cd $(TARGET_SUBDIR)/libffi && \
47809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47811 "RANLIB=$${RANLIB}" \
47812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47813 mostlyclean) \
47814 || exit 1
47816 @endif target-libffi
47818 .PHONY: maybe-clean-target-libffi clean-target-libffi
47819 maybe-clean-target-libffi:
47820 @if target-libffi
47821 maybe-clean-target-libffi: clean-target-libffi
47823 clean-target-libffi:
47824 @: $(MAKE); $(unstage)
47825 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47826 r=`${PWD_COMMAND}`; export r; \
47827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47828 $(NORMAL_TARGET_EXPORTS) \
47829 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
47830 for flag in $(EXTRA_TARGET_FLAGS); do \
47831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47832 done; \
47833 (cd $(TARGET_SUBDIR)/libffi && \
47834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47836 "RANLIB=$${RANLIB}" \
47837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47838 clean) \
47839 || exit 1
47841 @endif target-libffi
47843 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
47844 maybe-distclean-target-libffi:
47845 @if target-libffi
47846 maybe-distclean-target-libffi: distclean-target-libffi
47848 distclean-target-libffi:
47849 @: $(MAKE); $(unstage)
47850 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47851 r=`${PWD_COMMAND}`; export r; \
47852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47853 $(NORMAL_TARGET_EXPORTS) \
47854 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
47855 for flag in $(EXTRA_TARGET_FLAGS); do \
47856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47857 done; \
47858 (cd $(TARGET_SUBDIR)/libffi && \
47859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47861 "RANLIB=$${RANLIB}" \
47862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47863 distclean) \
47864 || exit 1
47866 @endif target-libffi
47868 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
47869 maybe-maintainer-clean-target-libffi:
47870 @if target-libffi
47871 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
47873 maintainer-clean-target-libffi:
47874 @: $(MAKE); $(unstage)
47875 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
47876 r=`${PWD_COMMAND}`; export r; \
47877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47878 $(NORMAL_TARGET_EXPORTS) \
47879 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
47880 for flag in $(EXTRA_TARGET_FLAGS); do \
47881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47882 done; \
47883 (cd $(TARGET_SUBDIR)/libffi && \
47884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47886 "RANLIB=$${RANLIB}" \
47887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47888 maintainer-clean) \
47889 || exit 1
47891 @endif target-libffi
47897 .PHONY: configure-target-libjava maybe-configure-target-libjava
47898 maybe-configure-target-libjava:
47899 @if gcc-bootstrap
47900 configure-target-libjava: stage_current
47901 @endif gcc-bootstrap
47902 @if target-libjava
47903 maybe-configure-target-libjava: configure-target-libjava
47904 configure-target-libjava:
47905 @: $(MAKE); $(unstage)
47906 @r=`${PWD_COMMAND}`; export r; \
47907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47908 echo "Checking multilib configuration for libjava..."; \
47909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava; \
47910 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null; \
47911 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
47912 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
47913 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
47914 else \
47915 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
47916 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
47917 fi; \
47918 else \
47919 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
47920 fi; \
47921 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
47922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava; \
47923 $(RAW_CXX_TARGET_EXPORTS) \
47924 echo Configuring in $(TARGET_SUBDIR)/libjava; \
47925 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
47926 case $(srcdir) in \
47927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47928 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
47929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47930 esac; \
47931 module_srcdir=libjava; \
47932 rm -f no-such-file || : ; \
47933 CONFIG_SITE=no-such-file $(SHELL) \
47934 $$s/$$module_srcdir/configure \
47935 --srcdir=$${topdir}/$$module_srcdir \
47936 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47937 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
47938 || exit 1
47939 @endif target-libjava
47945 .PHONY: all-target-libjava maybe-all-target-libjava
47946 maybe-all-target-libjava:
47947 @if gcc-bootstrap
47948 all-target-libjava: stage_current
47949 @endif gcc-bootstrap
47950 @if target-libjava
47951 TARGET-target-libjava=all
47952 maybe-all-target-libjava: all-target-libjava
47953 all-target-libjava: configure-target-libjava
47954 @: $(MAKE); $(unstage)
47955 @r=`${PWD_COMMAND}`; export r; \
47956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47957 $(RAW_CXX_TARGET_EXPORTS) \
47958 (cd $(TARGET_SUBDIR)/libjava && \
47959 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47960 $(TARGET-target-libjava))
47961 @endif target-libjava
47967 .PHONY: check-target-libjava maybe-check-target-libjava
47968 maybe-check-target-libjava:
47969 @if target-libjava
47970 maybe-check-target-libjava: check-target-libjava
47972 check-target-libjava:
47973 @: $(MAKE); $(unstage)
47974 @r=`${PWD_COMMAND}`; export r; \
47975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47976 $(RAW_CXX_TARGET_EXPORTS) \
47977 (cd $(TARGET_SUBDIR)/libjava && \
47978 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
47980 @endif target-libjava
47982 .PHONY: install-target-libjava maybe-install-target-libjava
47983 maybe-install-target-libjava:
47984 @if target-libjava
47985 maybe-install-target-libjava: install-target-libjava
47987 install-target-libjava: installdirs
47988 @: $(MAKE); $(unstage)
47989 @r=`${PWD_COMMAND}`; export r; \
47990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47991 $(RAW_CXX_TARGET_EXPORTS) \
47992 (cd $(TARGET_SUBDIR)/libjava && \
47993 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47995 @endif target-libjava
47997 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
47998 maybe-install-strip-target-libjava:
47999 @if target-libjava
48000 maybe-install-strip-target-libjava: install-strip-target-libjava
48002 install-strip-target-libjava: installdirs
48003 @: $(MAKE); $(unstage)
48004 @r=`${PWD_COMMAND}`; export r; \
48005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48006 $(RAW_CXX_TARGET_EXPORTS) \
48007 (cd $(TARGET_SUBDIR)/libjava && \
48008 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48010 @endif target-libjava
48012 # Other targets (info, dvi, pdf, etc.)
48014 .PHONY: maybe-info-target-libjava info-target-libjava
48015 maybe-info-target-libjava:
48016 @if target-libjava
48017 maybe-info-target-libjava: info-target-libjava
48019 info-target-libjava: \
48020 configure-target-libjava
48021 @: $(MAKE); $(unstage)
48022 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48023 r=`${PWD_COMMAND}`; export r; \
48024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48025 $(RAW_CXX_TARGET_EXPORTS) \
48026 echo "Doing info in $(TARGET_SUBDIR)/libjava"; \
48027 for flag in $(EXTRA_TARGET_FLAGS); do \
48028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48029 done; \
48030 (cd $(TARGET_SUBDIR)/libjava && \
48031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48033 "RANLIB=$${RANLIB}" \
48034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48035 info) \
48036 || exit 1
48038 @endif target-libjava
48040 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
48041 maybe-dvi-target-libjava:
48042 @if target-libjava
48043 maybe-dvi-target-libjava: dvi-target-libjava
48045 dvi-target-libjava: \
48046 configure-target-libjava
48047 @: $(MAKE); $(unstage)
48048 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48049 r=`${PWD_COMMAND}`; export r; \
48050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48051 $(RAW_CXX_TARGET_EXPORTS) \
48052 echo "Doing dvi in $(TARGET_SUBDIR)/libjava"; \
48053 for flag in $(EXTRA_TARGET_FLAGS); do \
48054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48055 done; \
48056 (cd $(TARGET_SUBDIR)/libjava && \
48057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48059 "RANLIB=$${RANLIB}" \
48060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48061 dvi) \
48062 || exit 1
48064 @endif target-libjava
48066 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
48067 maybe-pdf-target-libjava:
48068 @if target-libjava
48069 maybe-pdf-target-libjava: pdf-target-libjava
48071 pdf-target-libjava: \
48072 configure-target-libjava
48073 @: $(MAKE); $(unstage)
48074 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48075 r=`${PWD_COMMAND}`; export r; \
48076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48077 $(RAW_CXX_TARGET_EXPORTS) \
48078 echo "Doing pdf in $(TARGET_SUBDIR)/libjava"; \
48079 for flag in $(EXTRA_TARGET_FLAGS); do \
48080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48081 done; \
48082 (cd $(TARGET_SUBDIR)/libjava && \
48083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48085 "RANLIB=$${RANLIB}" \
48086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48087 pdf) \
48088 || exit 1
48090 @endif target-libjava
48092 .PHONY: maybe-html-target-libjava html-target-libjava
48093 maybe-html-target-libjava:
48094 @if target-libjava
48095 maybe-html-target-libjava: html-target-libjava
48097 html-target-libjava: \
48098 configure-target-libjava
48099 @: $(MAKE); $(unstage)
48100 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48101 r=`${PWD_COMMAND}`; export r; \
48102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48103 $(RAW_CXX_TARGET_EXPORTS) \
48104 echo "Doing html in $(TARGET_SUBDIR)/libjava"; \
48105 for flag in $(EXTRA_TARGET_FLAGS); do \
48106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48107 done; \
48108 (cd $(TARGET_SUBDIR)/libjava && \
48109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48111 "RANLIB=$${RANLIB}" \
48112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48113 html) \
48114 || exit 1
48116 @endif target-libjava
48118 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
48119 maybe-TAGS-target-libjava:
48120 @if target-libjava
48121 maybe-TAGS-target-libjava: TAGS-target-libjava
48123 TAGS-target-libjava: \
48124 configure-target-libjava
48125 @: $(MAKE); $(unstage)
48126 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48127 r=`${PWD_COMMAND}`; export r; \
48128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48129 $(RAW_CXX_TARGET_EXPORTS) \
48130 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava"; \
48131 for flag in $(EXTRA_TARGET_FLAGS); do \
48132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48133 done; \
48134 (cd $(TARGET_SUBDIR)/libjava && \
48135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48137 "RANLIB=$${RANLIB}" \
48138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48139 TAGS) \
48140 || exit 1
48142 @endif target-libjava
48144 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
48145 maybe-install-info-target-libjava:
48146 @if target-libjava
48147 maybe-install-info-target-libjava: install-info-target-libjava
48149 install-info-target-libjava: \
48150 configure-target-libjava \
48151 info-target-libjava
48152 @: $(MAKE); $(unstage)
48153 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48154 r=`${PWD_COMMAND}`; export r; \
48155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48156 $(RAW_CXX_TARGET_EXPORTS) \
48157 echo "Doing install-info in $(TARGET_SUBDIR)/libjava"; \
48158 for flag in $(EXTRA_TARGET_FLAGS); do \
48159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48160 done; \
48161 (cd $(TARGET_SUBDIR)/libjava && \
48162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48164 "RANLIB=$${RANLIB}" \
48165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48166 install-info) \
48167 || exit 1
48169 @endif target-libjava
48171 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
48172 maybe-install-pdf-target-libjava:
48173 @if target-libjava
48174 maybe-install-pdf-target-libjava: install-pdf-target-libjava
48176 install-pdf-target-libjava: \
48177 configure-target-libjava \
48178 pdf-target-libjava
48179 @: $(MAKE); $(unstage)
48180 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48181 r=`${PWD_COMMAND}`; export r; \
48182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48183 $(RAW_CXX_TARGET_EXPORTS) \
48184 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava"; \
48185 for flag in $(EXTRA_TARGET_FLAGS); do \
48186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48187 done; \
48188 (cd $(TARGET_SUBDIR)/libjava && \
48189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48191 "RANLIB=$${RANLIB}" \
48192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48193 install-pdf) \
48194 || exit 1
48196 @endif target-libjava
48198 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
48199 maybe-install-html-target-libjava:
48200 @if target-libjava
48201 maybe-install-html-target-libjava: install-html-target-libjava
48203 install-html-target-libjava: \
48204 configure-target-libjava \
48205 html-target-libjava
48206 @: $(MAKE); $(unstage)
48207 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48208 r=`${PWD_COMMAND}`; export r; \
48209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48210 $(RAW_CXX_TARGET_EXPORTS) \
48211 echo "Doing install-html in $(TARGET_SUBDIR)/libjava"; \
48212 for flag in $(EXTRA_TARGET_FLAGS); do \
48213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48214 done; \
48215 (cd $(TARGET_SUBDIR)/libjava && \
48216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48218 "RANLIB=$${RANLIB}" \
48219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48220 install-html) \
48221 || exit 1
48223 @endif target-libjava
48225 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
48226 maybe-installcheck-target-libjava:
48227 @if target-libjava
48228 maybe-installcheck-target-libjava: installcheck-target-libjava
48230 installcheck-target-libjava: \
48231 configure-target-libjava
48232 @: $(MAKE); $(unstage)
48233 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48234 r=`${PWD_COMMAND}`; export r; \
48235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48236 $(RAW_CXX_TARGET_EXPORTS) \
48237 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava"; \
48238 for flag in $(EXTRA_TARGET_FLAGS); do \
48239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48240 done; \
48241 (cd $(TARGET_SUBDIR)/libjava && \
48242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48244 "RANLIB=$${RANLIB}" \
48245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48246 installcheck) \
48247 || exit 1
48249 @endif target-libjava
48251 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
48252 maybe-mostlyclean-target-libjava:
48253 @if target-libjava
48254 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
48256 mostlyclean-target-libjava:
48257 @: $(MAKE); $(unstage)
48258 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48259 r=`${PWD_COMMAND}`; export r; \
48260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48261 $(RAW_CXX_TARGET_EXPORTS) \
48262 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava"; \
48263 for flag in $(EXTRA_TARGET_FLAGS); do \
48264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48265 done; \
48266 (cd $(TARGET_SUBDIR)/libjava && \
48267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48269 "RANLIB=$${RANLIB}" \
48270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48271 mostlyclean) \
48272 || exit 1
48274 @endif target-libjava
48276 .PHONY: maybe-clean-target-libjava clean-target-libjava
48277 maybe-clean-target-libjava:
48278 @if target-libjava
48279 maybe-clean-target-libjava: clean-target-libjava
48281 clean-target-libjava:
48282 @: $(MAKE); $(unstage)
48283 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48284 r=`${PWD_COMMAND}`; export r; \
48285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48286 $(RAW_CXX_TARGET_EXPORTS) \
48287 echo "Doing clean in $(TARGET_SUBDIR)/libjava"; \
48288 for flag in $(EXTRA_TARGET_FLAGS); do \
48289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48290 done; \
48291 (cd $(TARGET_SUBDIR)/libjava && \
48292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48294 "RANLIB=$${RANLIB}" \
48295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48296 clean) \
48297 || exit 1
48299 @endif target-libjava
48301 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
48302 maybe-distclean-target-libjava:
48303 @if target-libjava
48304 maybe-distclean-target-libjava: distclean-target-libjava
48306 distclean-target-libjava:
48307 @: $(MAKE); $(unstage)
48308 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48309 r=`${PWD_COMMAND}`; export r; \
48310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48311 $(RAW_CXX_TARGET_EXPORTS) \
48312 echo "Doing distclean in $(TARGET_SUBDIR)/libjava"; \
48313 for flag in $(EXTRA_TARGET_FLAGS); do \
48314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48315 done; \
48316 (cd $(TARGET_SUBDIR)/libjava && \
48317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48319 "RANLIB=$${RANLIB}" \
48320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48321 distclean) \
48322 || exit 1
48324 @endif target-libjava
48326 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
48327 maybe-maintainer-clean-target-libjava:
48328 @if target-libjava
48329 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
48331 maintainer-clean-target-libjava:
48332 @: $(MAKE); $(unstage)
48333 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0; \
48334 r=`${PWD_COMMAND}`; export r; \
48335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48336 $(RAW_CXX_TARGET_EXPORTS) \
48337 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava"; \
48338 for flag in $(EXTRA_TARGET_FLAGS); do \
48339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48340 done; \
48341 (cd $(TARGET_SUBDIR)/libjava && \
48342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48344 "RANLIB=$${RANLIB}" \
48345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48346 maintainer-clean) \
48347 || exit 1
48349 @endif target-libjava
48355 .PHONY: configure-target-zlib maybe-configure-target-zlib
48356 maybe-configure-target-zlib:
48357 @if gcc-bootstrap
48358 configure-target-zlib: stage_current
48359 @endif gcc-bootstrap
48360 @if target-zlib
48361 maybe-configure-target-zlib: configure-target-zlib
48362 configure-target-zlib:
48363 @: $(MAKE); $(unstage)
48364 @r=`${PWD_COMMAND}`; export r; \
48365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48366 echo "Checking multilib configuration for zlib..."; \
48367 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
48368 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
48369 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
48370 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
48371 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
48372 else \
48373 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
48374 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
48375 fi; \
48376 else \
48377 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
48378 fi; \
48379 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
48380 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
48381 $(NORMAL_TARGET_EXPORTS) \
48382 echo Configuring in $(TARGET_SUBDIR)/zlib; \
48383 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
48384 case $(srcdir) in \
48385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48386 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
48387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48388 esac; \
48389 module_srcdir=zlib; \
48390 rm -f no-such-file || : ; \
48391 CONFIG_SITE=no-such-file $(SHELL) \
48392 $$s/$$module_srcdir/configure \
48393 --srcdir=$${topdir}/$$module_srcdir \
48394 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48395 --target=${target_alias} \
48396 || exit 1
48397 @endif target-zlib
48403 .PHONY: all-target-zlib maybe-all-target-zlib
48404 maybe-all-target-zlib:
48405 @if gcc-bootstrap
48406 all-target-zlib: stage_current
48407 @endif gcc-bootstrap
48408 @if target-zlib
48409 TARGET-target-zlib=all
48410 maybe-all-target-zlib: all-target-zlib
48411 all-target-zlib: configure-target-zlib
48412 @: $(MAKE); $(unstage)
48413 @r=`${PWD_COMMAND}`; export r; \
48414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48415 $(NORMAL_TARGET_EXPORTS) \
48416 (cd $(TARGET_SUBDIR)/zlib && \
48417 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48418 $(TARGET-target-zlib))
48419 @endif target-zlib
48425 .PHONY: check-target-zlib maybe-check-target-zlib
48426 maybe-check-target-zlib:
48427 @if target-zlib
48428 maybe-check-target-zlib: check-target-zlib
48430 check-target-zlib:
48431 @: $(MAKE); $(unstage)
48432 @r=`${PWD_COMMAND}`; export r; \
48433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48434 $(NORMAL_TARGET_EXPORTS) \
48435 (cd $(TARGET_SUBDIR)/zlib && \
48436 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48438 @endif target-zlib
48440 .PHONY: install-target-zlib maybe-install-target-zlib
48441 maybe-install-target-zlib:
48442 @if target-zlib
48443 maybe-install-target-zlib: install-target-zlib
48445 install-target-zlib: installdirs
48446 @: $(MAKE); $(unstage)
48447 @r=`${PWD_COMMAND}`; export r; \
48448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48449 $(NORMAL_TARGET_EXPORTS) \
48450 (cd $(TARGET_SUBDIR)/zlib && \
48451 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48453 @endif target-zlib
48455 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
48456 maybe-install-strip-target-zlib:
48457 @if target-zlib
48458 maybe-install-strip-target-zlib: install-strip-target-zlib
48460 install-strip-target-zlib: installdirs
48461 @: $(MAKE); $(unstage)
48462 @r=`${PWD_COMMAND}`; export r; \
48463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48464 $(NORMAL_TARGET_EXPORTS) \
48465 (cd $(TARGET_SUBDIR)/zlib && \
48466 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48468 @endif target-zlib
48470 # Other targets (info, dvi, pdf, etc.)
48472 .PHONY: maybe-info-target-zlib info-target-zlib
48473 maybe-info-target-zlib:
48474 @if target-zlib
48475 maybe-info-target-zlib: info-target-zlib
48477 info-target-zlib: \
48478 configure-target-zlib
48479 @: $(MAKE); $(unstage)
48480 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48481 r=`${PWD_COMMAND}`; export r; \
48482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48483 $(NORMAL_TARGET_EXPORTS) \
48484 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
48485 for flag in $(EXTRA_TARGET_FLAGS); do \
48486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48487 done; \
48488 (cd $(TARGET_SUBDIR)/zlib && \
48489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48491 "RANLIB=$${RANLIB}" \
48492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48493 info) \
48494 || exit 1
48496 @endif target-zlib
48498 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
48499 maybe-dvi-target-zlib:
48500 @if target-zlib
48501 maybe-dvi-target-zlib: dvi-target-zlib
48503 dvi-target-zlib: \
48504 configure-target-zlib
48505 @: $(MAKE); $(unstage)
48506 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48507 r=`${PWD_COMMAND}`; export r; \
48508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48509 $(NORMAL_TARGET_EXPORTS) \
48510 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
48511 for flag in $(EXTRA_TARGET_FLAGS); do \
48512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48513 done; \
48514 (cd $(TARGET_SUBDIR)/zlib && \
48515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48517 "RANLIB=$${RANLIB}" \
48518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48519 dvi) \
48520 || exit 1
48522 @endif target-zlib
48524 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
48525 maybe-pdf-target-zlib:
48526 @if target-zlib
48527 maybe-pdf-target-zlib: pdf-target-zlib
48529 pdf-target-zlib: \
48530 configure-target-zlib
48531 @: $(MAKE); $(unstage)
48532 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48533 r=`${PWD_COMMAND}`; export r; \
48534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48535 $(NORMAL_TARGET_EXPORTS) \
48536 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
48537 for flag in $(EXTRA_TARGET_FLAGS); do \
48538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48539 done; \
48540 (cd $(TARGET_SUBDIR)/zlib && \
48541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48543 "RANLIB=$${RANLIB}" \
48544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48545 pdf) \
48546 || exit 1
48548 @endif target-zlib
48550 .PHONY: maybe-html-target-zlib html-target-zlib
48551 maybe-html-target-zlib:
48552 @if target-zlib
48553 maybe-html-target-zlib: html-target-zlib
48555 html-target-zlib: \
48556 configure-target-zlib
48557 @: $(MAKE); $(unstage)
48558 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48559 r=`${PWD_COMMAND}`; export r; \
48560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48561 $(NORMAL_TARGET_EXPORTS) \
48562 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
48563 for flag in $(EXTRA_TARGET_FLAGS); do \
48564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48565 done; \
48566 (cd $(TARGET_SUBDIR)/zlib && \
48567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48569 "RANLIB=$${RANLIB}" \
48570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48571 html) \
48572 || exit 1
48574 @endif target-zlib
48576 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
48577 maybe-TAGS-target-zlib:
48578 @if target-zlib
48579 maybe-TAGS-target-zlib: TAGS-target-zlib
48581 TAGS-target-zlib: \
48582 configure-target-zlib
48583 @: $(MAKE); $(unstage)
48584 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48585 r=`${PWD_COMMAND}`; export r; \
48586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48587 $(NORMAL_TARGET_EXPORTS) \
48588 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
48589 for flag in $(EXTRA_TARGET_FLAGS); do \
48590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48591 done; \
48592 (cd $(TARGET_SUBDIR)/zlib && \
48593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48595 "RANLIB=$${RANLIB}" \
48596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48597 TAGS) \
48598 || exit 1
48600 @endif target-zlib
48602 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
48603 maybe-install-info-target-zlib:
48604 @if target-zlib
48605 maybe-install-info-target-zlib: install-info-target-zlib
48607 install-info-target-zlib: \
48608 configure-target-zlib \
48609 info-target-zlib
48610 @: $(MAKE); $(unstage)
48611 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48612 r=`${PWD_COMMAND}`; export r; \
48613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48614 $(NORMAL_TARGET_EXPORTS) \
48615 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
48616 for flag in $(EXTRA_TARGET_FLAGS); do \
48617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48618 done; \
48619 (cd $(TARGET_SUBDIR)/zlib && \
48620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48622 "RANLIB=$${RANLIB}" \
48623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48624 install-info) \
48625 || exit 1
48627 @endif target-zlib
48629 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
48630 maybe-install-pdf-target-zlib:
48631 @if target-zlib
48632 maybe-install-pdf-target-zlib: install-pdf-target-zlib
48634 install-pdf-target-zlib: \
48635 configure-target-zlib \
48636 pdf-target-zlib
48637 @: $(MAKE); $(unstage)
48638 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48639 r=`${PWD_COMMAND}`; export r; \
48640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48641 $(NORMAL_TARGET_EXPORTS) \
48642 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
48643 for flag in $(EXTRA_TARGET_FLAGS); do \
48644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48645 done; \
48646 (cd $(TARGET_SUBDIR)/zlib && \
48647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48649 "RANLIB=$${RANLIB}" \
48650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48651 install-pdf) \
48652 || exit 1
48654 @endif target-zlib
48656 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
48657 maybe-install-html-target-zlib:
48658 @if target-zlib
48659 maybe-install-html-target-zlib: install-html-target-zlib
48661 install-html-target-zlib: \
48662 configure-target-zlib \
48663 html-target-zlib
48664 @: $(MAKE); $(unstage)
48665 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48666 r=`${PWD_COMMAND}`; export r; \
48667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48668 $(NORMAL_TARGET_EXPORTS) \
48669 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
48670 for flag in $(EXTRA_TARGET_FLAGS); do \
48671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48672 done; \
48673 (cd $(TARGET_SUBDIR)/zlib && \
48674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48676 "RANLIB=$${RANLIB}" \
48677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48678 install-html) \
48679 || exit 1
48681 @endif target-zlib
48683 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
48684 maybe-installcheck-target-zlib:
48685 @if target-zlib
48686 maybe-installcheck-target-zlib: installcheck-target-zlib
48688 installcheck-target-zlib: \
48689 configure-target-zlib
48690 @: $(MAKE); $(unstage)
48691 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48692 r=`${PWD_COMMAND}`; export r; \
48693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48694 $(NORMAL_TARGET_EXPORTS) \
48695 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
48696 for flag in $(EXTRA_TARGET_FLAGS); do \
48697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48698 done; \
48699 (cd $(TARGET_SUBDIR)/zlib && \
48700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48702 "RANLIB=$${RANLIB}" \
48703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48704 installcheck) \
48705 || exit 1
48707 @endif target-zlib
48709 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
48710 maybe-mostlyclean-target-zlib:
48711 @if target-zlib
48712 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
48714 mostlyclean-target-zlib:
48715 @: $(MAKE); $(unstage)
48716 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48717 r=`${PWD_COMMAND}`; export r; \
48718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48719 $(NORMAL_TARGET_EXPORTS) \
48720 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
48721 for flag in $(EXTRA_TARGET_FLAGS); do \
48722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48723 done; \
48724 (cd $(TARGET_SUBDIR)/zlib && \
48725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48727 "RANLIB=$${RANLIB}" \
48728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48729 mostlyclean) \
48730 || exit 1
48732 @endif target-zlib
48734 .PHONY: maybe-clean-target-zlib clean-target-zlib
48735 maybe-clean-target-zlib:
48736 @if target-zlib
48737 maybe-clean-target-zlib: clean-target-zlib
48739 clean-target-zlib:
48740 @: $(MAKE); $(unstage)
48741 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48742 r=`${PWD_COMMAND}`; export r; \
48743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48744 $(NORMAL_TARGET_EXPORTS) \
48745 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
48746 for flag in $(EXTRA_TARGET_FLAGS); do \
48747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48748 done; \
48749 (cd $(TARGET_SUBDIR)/zlib && \
48750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48752 "RANLIB=$${RANLIB}" \
48753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48754 clean) \
48755 || exit 1
48757 @endif target-zlib
48759 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
48760 maybe-distclean-target-zlib:
48761 @if target-zlib
48762 maybe-distclean-target-zlib: distclean-target-zlib
48764 distclean-target-zlib:
48765 @: $(MAKE); $(unstage)
48766 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48767 r=`${PWD_COMMAND}`; export r; \
48768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48769 $(NORMAL_TARGET_EXPORTS) \
48770 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
48771 for flag in $(EXTRA_TARGET_FLAGS); do \
48772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48773 done; \
48774 (cd $(TARGET_SUBDIR)/zlib && \
48775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48777 "RANLIB=$${RANLIB}" \
48778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48779 distclean) \
48780 || exit 1
48782 @endif target-zlib
48784 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
48785 maybe-maintainer-clean-target-zlib:
48786 @if target-zlib
48787 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
48789 maintainer-clean-target-zlib:
48790 @: $(MAKE); $(unstage)
48791 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
48792 r=`${PWD_COMMAND}`; export r; \
48793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48794 $(NORMAL_TARGET_EXPORTS) \
48795 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
48796 for flag in $(EXTRA_TARGET_FLAGS); do \
48797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48798 done; \
48799 (cd $(TARGET_SUBDIR)/zlib && \
48800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48802 "RANLIB=$${RANLIB}" \
48803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48804 maintainer-clean) \
48805 || exit 1
48807 @endif target-zlib
48813 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
48814 maybe-configure-target-boehm-gc:
48815 @if gcc-bootstrap
48816 configure-target-boehm-gc: stage_current
48817 @endif gcc-bootstrap
48818 @if target-boehm-gc
48819 maybe-configure-target-boehm-gc: configure-target-boehm-gc
48820 configure-target-boehm-gc:
48821 @: $(MAKE); $(unstage)
48822 @r=`${PWD_COMMAND}`; export r; \
48823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48824 echo "Checking multilib configuration for boehm-gc..."; \
48825 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc; \
48826 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null; \
48827 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
48828 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
48829 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
48830 else \
48831 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
48832 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
48833 fi; \
48834 else \
48835 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
48836 fi; \
48837 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
48838 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc; \
48839 $(NORMAL_TARGET_EXPORTS) \
48840 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
48841 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
48842 case $(srcdir) in \
48843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48844 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
48845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48846 esac; \
48847 module_srcdir=boehm-gc; \
48848 rm -f no-such-file || : ; \
48849 CONFIG_SITE=no-such-file $(SHELL) \
48850 $$s/$$module_srcdir/configure \
48851 --srcdir=$${topdir}/$$module_srcdir \
48852 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48853 --target=${target_alias} \
48854 || exit 1
48855 @endif target-boehm-gc
48861 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
48862 maybe-all-target-boehm-gc:
48863 @if gcc-bootstrap
48864 all-target-boehm-gc: stage_current
48865 @endif gcc-bootstrap
48866 @if target-boehm-gc
48867 TARGET-target-boehm-gc=all
48868 maybe-all-target-boehm-gc: all-target-boehm-gc
48869 all-target-boehm-gc: configure-target-boehm-gc
48870 @: $(MAKE); $(unstage)
48871 @r=`${PWD_COMMAND}`; export r; \
48872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48873 $(NORMAL_TARGET_EXPORTS) \
48874 (cd $(TARGET_SUBDIR)/boehm-gc && \
48875 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48876 $(TARGET-target-boehm-gc))
48877 @endif target-boehm-gc
48883 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
48884 maybe-check-target-boehm-gc:
48885 @if target-boehm-gc
48886 maybe-check-target-boehm-gc: check-target-boehm-gc
48888 check-target-boehm-gc:
48889 @: $(MAKE); $(unstage)
48890 @r=`${PWD_COMMAND}`; export r; \
48891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48892 $(NORMAL_TARGET_EXPORTS) \
48893 (cd $(TARGET_SUBDIR)/boehm-gc && \
48894 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48896 @endif target-boehm-gc
48898 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
48899 maybe-install-target-boehm-gc:
48900 @if target-boehm-gc
48901 maybe-install-target-boehm-gc: install-target-boehm-gc
48903 install-target-boehm-gc: installdirs
48904 @: $(MAKE); $(unstage)
48905 @r=`${PWD_COMMAND}`; export r; \
48906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48907 $(NORMAL_TARGET_EXPORTS) \
48908 (cd $(TARGET_SUBDIR)/boehm-gc && \
48909 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48911 @endif target-boehm-gc
48913 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
48914 maybe-install-strip-target-boehm-gc:
48915 @if target-boehm-gc
48916 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
48918 install-strip-target-boehm-gc: installdirs
48919 @: $(MAKE); $(unstage)
48920 @r=`${PWD_COMMAND}`; export r; \
48921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48922 $(NORMAL_TARGET_EXPORTS) \
48923 (cd $(TARGET_SUBDIR)/boehm-gc && \
48924 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48926 @endif target-boehm-gc
48928 # Other targets (info, dvi, pdf, etc.)
48930 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
48931 maybe-info-target-boehm-gc:
48932 @if target-boehm-gc
48933 maybe-info-target-boehm-gc: info-target-boehm-gc
48935 info-target-boehm-gc: \
48936 configure-target-boehm-gc
48937 @: $(MAKE); $(unstage)
48938 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48939 r=`${PWD_COMMAND}`; export r; \
48940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48941 $(NORMAL_TARGET_EXPORTS) \
48942 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc"; \
48943 for flag in $(EXTRA_TARGET_FLAGS); do \
48944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48945 done; \
48946 (cd $(TARGET_SUBDIR)/boehm-gc && \
48947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48949 "RANLIB=$${RANLIB}" \
48950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48951 info) \
48952 || exit 1
48954 @endif target-boehm-gc
48956 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
48957 maybe-dvi-target-boehm-gc:
48958 @if target-boehm-gc
48959 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
48961 dvi-target-boehm-gc: \
48962 configure-target-boehm-gc
48963 @: $(MAKE); $(unstage)
48964 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48965 r=`${PWD_COMMAND}`; export r; \
48966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48967 $(NORMAL_TARGET_EXPORTS) \
48968 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc"; \
48969 for flag in $(EXTRA_TARGET_FLAGS); do \
48970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48971 done; \
48972 (cd $(TARGET_SUBDIR)/boehm-gc && \
48973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48975 "RANLIB=$${RANLIB}" \
48976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48977 dvi) \
48978 || exit 1
48980 @endif target-boehm-gc
48982 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
48983 maybe-pdf-target-boehm-gc:
48984 @if target-boehm-gc
48985 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
48987 pdf-target-boehm-gc: \
48988 configure-target-boehm-gc
48989 @: $(MAKE); $(unstage)
48990 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
48991 r=`${PWD_COMMAND}`; export r; \
48992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48993 $(NORMAL_TARGET_EXPORTS) \
48994 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc"; \
48995 for flag in $(EXTRA_TARGET_FLAGS); do \
48996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48997 done; \
48998 (cd $(TARGET_SUBDIR)/boehm-gc && \
48999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49001 "RANLIB=$${RANLIB}" \
49002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49003 pdf) \
49004 || exit 1
49006 @endif target-boehm-gc
49008 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
49009 maybe-html-target-boehm-gc:
49010 @if target-boehm-gc
49011 maybe-html-target-boehm-gc: html-target-boehm-gc
49013 html-target-boehm-gc: \
49014 configure-target-boehm-gc
49015 @: $(MAKE); $(unstage)
49016 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49017 r=`${PWD_COMMAND}`; export r; \
49018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49019 $(NORMAL_TARGET_EXPORTS) \
49020 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc"; \
49021 for flag in $(EXTRA_TARGET_FLAGS); do \
49022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49023 done; \
49024 (cd $(TARGET_SUBDIR)/boehm-gc && \
49025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49027 "RANLIB=$${RANLIB}" \
49028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49029 html) \
49030 || exit 1
49032 @endif target-boehm-gc
49034 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
49035 maybe-TAGS-target-boehm-gc:
49036 @if target-boehm-gc
49037 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
49039 TAGS-target-boehm-gc: \
49040 configure-target-boehm-gc
49041 @: $(MAKE); $(unstage)
49042 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49043 r=`${PWD_COMMAND}`; export r; \
49044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49045 $(NORMAL_TARGET_EXPORTS) \
49046 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc"; \
49047 for flag in $(EXTRA_TARGET_FLAGS); do \
49048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49049 done; \
49050 (cd $(TARGET_SUBDIR)/boehm-gc && \
49051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49053 "RANLIB=$${RANLIB}" \
49054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49055 TAGS) \
49056 || exit 1
49058 @endif target-boehm-gc
49060 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
49061 maybe-install-info-target-boehm-gc:
49062 @if target-boehm-gc
49063 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
49065 install-info-target-boehm-gc: \
49066 configure-target-boehm-gc \
49067 info-target-boehm-gc
49068 @: $(MAKE); $(unstage)
49069 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49070 r=`${PWD_COMMAND}`; export r; \
49071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49072 $(NORMAL_TARGET_EXPORTS) \
49073 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc"; \
49074 for flag in $(EXTRA_TARGET_FLAGS); do \
49075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49076 done; \
49077 (cd $(TARGET_SUBDIR)/boehm-gc && \
49078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49080 "RANLIB=$${RANLIB}" \
49081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49082 install-info) \
49083 || exit 1
49085 @endif target-boehm-gc
49087 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
49088 maybe-install-pdf-target-boehm-gc:
49089 @if target-boehm-gc
49090 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
49092 install-pdf-target-boehm-gc: \
49093 configure-target-boehm-gc \
49094 pdf-target-boehm-gc
49095 @: $(MAKE); $(unstage)
49096 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49097 r=`${PWD_COMMAND}`; export r; \
49098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49099 $(NORMAL_TARGET_EXPORTS) \
49100 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc"; \
49101 for flag in $(EXTRA_TARGET_FLAGS); do \
49102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49103 done; \
49104 (cd $(TARGET_SUBDIR)/boehm-gc && \
49105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49107 "RANLIB=$${RANLIB}" \
49108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49109 install-pdf) \
49110 || exit 1
49112 @endif target-boehm-gc
49114 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
49115 maybe-install-html-target-boehm-gc:
49116 @if target-boehm-gc
49117 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
49119 install-html-target-boehm-gc: \
49120 configure-target-boehm-gc \
49121 html-target-boehm-gc
49122 @: $(MAKE); $(unstage)
49123 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49124 r=`${PWD_COMMAND}`; export r; \
49125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49126 $(NORMAL_TARGET_EXPORTS) \
49127 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc"; \
49128 for flag in $(EXTRA_TARGET_FLAGS); do \
49129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49130 done; \
49131 (cd $(TARGET_SUBDIR)/boehm-gc && \
49132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49134 "RANLIB=$${RANLIB}" \
49135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49136 install-html) \
49137 || exit 1
49139 @endif target-boehm-gc
49141 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
49142 maybe-installcheck-target-boehm-gc:
49143 @if target-boehm-gc
49144 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
49146 installcheck-target-boehm-gc: \
49147 configure-target-boehm-gc
49148 @: $(MAKE); $(unstage)
49149 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49150 r=`${PWD_COMMAND}`; export r; \
49151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49152 $(NORMAL_TARGET_EXPORTS) \
49153 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc"; \
49154 for flag in $(EXTRA_TARGET_FLAGS); do \
49155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49156 done; \
49157 (cd $(TARGET_SUBDIR)/boehm-gc && \
49158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49160 "RANLIB=$${RANLIB}" \
49161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49162 installcheck) \
49163 || exit 1
49165 @endif target-boehm-gc
49167 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
49168 maybe-mostlyclean-target-boehm-gc:
49169 @if target-boehm-gc
49170 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
49172 mostlyclean-target-boehm-gc:
49173 @: $(MAKE); $(unstage)
49174 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49175 r=`${PWD_COMMAND}`; export r; \
49176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49177 $(NORMAL_TARGET_EXPORTS) \
49178 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc"; \
49179 for flag in $(EXTRA_TARGET_FLAGS); do \
49180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49181 done; \
49182 (cd $(TARGET_SUBDIR)/boehm-gc && \
49183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49185 "RANLIB=$${RANLIB}" \
49186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49187 mostlyclean) \
49188 || exit 1
49190 @endif target-boehm-gc
49192 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
49193 maybe-clean-target-boehm-gc:
49194 @if target-boehm-gc
49195 maybe-clean-target-boehm-gc: clean-target-boehm-gc
49197 clean-target-boehm-gc:
49198 @: $(MAKE); $(unstage)
49199 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49200 r=`${PWD_COMMAND}`; export r; \
49201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49202 $(NORMAL_TARGET_EXPORTS) \
49203 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc"; \
49204 for flag in $(EXTRA_TARGET_FLAGS); do \
49205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49206 done; \
49207 (cd $(TARGET_SUBDIR)/boehm-gc && \
49208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49210 "RANLIB=$${RANLIB}" \
49211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49212 clean) \
49213 || exit 1
49215 @endif target-boehm-gc
49217 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
49218 maybe-distclean-target-boehm-gc:
49219 @if target-boehm-gc
49220 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
49222 distclean-target-boehm-gc:
49223 @: $(MAKE); $(unstage)
49224 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49225 r=`${PWD_COMMAND}`; export r; \
49226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49227 $(NORMAL_TARGET_EXPORTS) \
49228 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc"; \
49229 for flag in $(EXTRA_TARGET_FLAGS); do \
49230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49231 done; \
49232 (cd $(TARGET_SUBDIR)/boehm-gc && \
49233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49235 "RANLIB=$${RANLIB}" \
49236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49237 distclean) \
49238 || exit 1
49240 @endif target-boehm-gc
49242 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
49243 maybe-maintainer-clean-target-boehm-gc:
49244 @if target-boehm-gc
49245 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
49247 maintainer-clean-target-boehm-gc:
49248 @: $(MAKE); $(unstage)
49249 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0; \
49250 r=`${PWD_COMMAND}`; export r; \
49251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49252 $(NORMAL_TARGET_EXPORTS) \
49253 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc"; \
49254 for flag in $(EXTRA_TARGET_FLAGS); do \
49255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49256 done; \
49257 (cd $(TARGET_SUBDIR)/boehm-gc && \
49258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49260 "RANLIB=$${RANLIB}" \
49261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49262 maintainer-clean) \
49263 || exit 1
49265 @endif target-boehm-gc
49271 .PHONY: configure-target-rda maybe-configure-target-rda
49272 maybe-configure-target-rda:
49273 @if gcc-bootstrap
49274 configure-target-rda: stage_current
49275 @endif gcc-bootstrap
49276 @if target-rda
49277 maybe-configure-target-rda: configure-target-rda
49278 configure-target-rda:
49279 @: $(MAKE); $(unstage)
49280 @r=`${PWD_COMMAND}`; export r; \
49281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49282 echo "Checking multilib configuration for rda..."; \
49283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
49284 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
49285 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
49286 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
49287 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
49288 else \
49289 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
49290 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49291 fi; \
49292 else \
49293 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49294 fi; \
49295 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
49296 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
49297 $(NORMAL_TARGET_EXPORTS) \
49298 echo Configuring in $(TARGET_SUBDIR)/rda; \
49299 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
49300 case $(srcdir) in \
49301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49302 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
49303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49304 esac; \
49305 module_srcdir=rda; \
49306 rm -f no-such-file || : ; \
49307 CONFIG_SITE=no-such-file $(SHELL) \
49308 $$s/$$module_srcdir/configure \
49309 --srcdir=$${topdir}/$$module_srcdir \
49310 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49311 --target=${target_alias} \
49312 || exit 1
49313 @endif target-rda
49319 .PHONY: all-target-rda maybe-all-target-rda
49320 maybe-all-target-rda:
49321 @if gcc-bootstrap
49322 all-target-rda: stage_current
49323 @endif gcc-bootstrap
49324 @if target-rda
49325 TARGET-target-rda=all
49326 maybe-all-target-rda: all-target-rda
49327 all-target-rda: configure-target-rda
49328 @: $(MAKE); $(unstage)
49329 @r=`${PWD_COMMAND}`; export r; \
49330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49331 $(NORMAL_TARGET_EXPORTS) \
49332 (cd $(TARGET_SUBDIR)/rda && \
49333 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49334 $(TARGET-target-rda))
49335 @endif target-rda
49341 .PHONY: check-target-rda maybe-check-target-rda
49342 maybe-check-target-rda:
49343 @if target-rda
49344 maybe-check-target-rda: check-target-rda
49346 check-target-rda:
49347 @: $(MAKE); $(unstage)
49348 @r=`${PWD_COMMAND}`; export r; \
49349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49350 $(NORMAL_TARGET_EXPORTS) \
49351 (cd $(TARGET_SUBDIR)/rda && \
49352 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49354 @endif target-rda
49356 .PHONY: install-target-rda maybe-install-target-rda
49357 maybe-install-target-rda:
49358 @if target-rda
49359 maybe-install-target-rda: install-target-rda
49361 install-target-rda: installdirs
49362 @: $(MAKE); $(unstage)
49363 @r=`${PWD_COMMAND}`; export r; \
49364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49365 $(NORMAL_TARGET_EXPORTS) \
49366 (cd $(TARGET_SUBDIR)/rda && \
49367 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49369 @endif target-rda
49371 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
49372 maybe-install-strip-target-rda:
49373 @if target-rda
49374 maybe-install-strip-target-rda: install-strip-target-rda
49376 install-strip-target-rda: installdirs
49377 @: $(MAKE); $(unstage)
49378 @r=`${PWD_COMMAND}`; export r; \
49379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49380 $(NORMAL_TARGET_EXPORTS) \
49381 (cd $(TARGET_SUBDIR)/rda && \
49382 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49384 @endif target-rda
49386 # Other targets (info, dvi, pdf, etc.)
49388 .PHONY: maybe-info-target-rda info-target-rda
49389 maybe-info-target-rda:
49390 @if target-rda
49391 maybe-info-target-rda: info-target-rda
49393 info-target-rda: \
49394 configure-target-rda
49395 @: $(MAKE); $(unstage)
49396 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49397 r=`${PWD_COMMAND}`; export r; \
49398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49399 $(NORMAL_TARGET_EXPORTS) \
49400 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
49401 for flag in $(EXTRA_TARGET_FLAGS); do \
49402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49403 done; \
49404 (cd $(TARGET_SUBDIR)/rda && \
49405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49407 "RANLIB=$${RANLIB}" \
49408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49409 info) \
49410 || exit 1
49412 @endif target-rda
49414 .PHONY: maybe-dvi-target-rda dvi-target-rda
49415 maybe-dvi-target-rda:
49416 @if target-rda
49417 maybe-dvi-target-rda: dvi-target-rda
49419 dvi-target-rda: \
49420 configure-target-rda
49421 @: $(MAKE); $(unstage)
49422 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49423 r=`${PWD_COMMAND}`; export r; \
49424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49425 $(NORMAL_TARGET_EXPORTS) \
49426 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
49427 for flag in $(EXTRA_TARGET_FLAGS); do \
49428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49429 done; \
49430 (cd $(TARGET_SUBDIR)/rda && \
49431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49433 "RANLIB=$${RANLIB}" \
49434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49435 dvi) \
49436 || exit 1
49438 @endif target-rda
49440 .PHONY: maybe-pdf-target-rda pdf-target-rda
49441 maybe-pdf-target-rda:
49442 @if target-rda
49443 maybe-pdf-target-rda: pdf-target-rda
49445 pdf-target-rda: \
49446 configure-target-rda
49447 @: $(MAKE); $(unstage)
49448 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49449 r=`${PWD_COMMAND}`; export r; \
49450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49451 $(NORMAL_TARGET_EXPORTS) \
49452 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
49453 for flag in $(EXTRA_TARGET_FLAGS); do \
49454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49455 done; \
49456 (cd $(TARGET_SUBDIR)/rda && \
49457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49459 "RANLIB=$${RANLIB}" \
49460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49461 pdf) \
49462 || exit 1
49464 @endif target-rda
49466 .PHONY: maybe-html-target-rda html-target-rda
49467 maybe-html-target-rda:
49468 @if target-rda
49469 maybe-html-target-rda: html-target-rda
49471 html-target-rda: \
49472 configure-target-rda
49473 @: $(MAKE); $(unstage)
49474 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49475 r=`${PWD_COMMAND}`; export r; \
49476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49477 $(NORMAL_TARGET_EXPORTS) \
49478 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
49479 for flag in $(EXTRA_TARGET_FLAGS); do \
49480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49481 done; \
49482 (cd $(TARGET_SUBDIR)/rda && \
49483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49485 "RANLIB=$${RANLIB}" \
49486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49487 html) \
49488 || exit 1
49490 @endif target-rda
49492 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
49493 maybe-TAGS-target-rda:
49494 @if target-rda
49495 maybe-TAGS-target-rda: TAGS-target-rda
49497 TAGS-target-rda: \
49498 configure-target-rda
49499 @: $(MAKE); $(unstage)
49500 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49501 r=`${PWD_COMMAND}`; export r; \
49502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49503 $(NORMAL_TARGET_EXPORTS) \
49504 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
49505 for flag in $(EXTRA_TARGET_FLAGS); do \
49506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49507 done; \
49508 (cd $(TARGET_SUBDIR)/rda && \
49509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49511 "RANLIB=$${RANLIB}" \
49512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49513 TAGS) \
49514 || exit 1
49516 @endif target-rda
49518 .PHONY: maybe-install-info-target-rda install-info-target-rda
49519 maybe-install-info-target-rda:
49520 @if target-rda
49521 maybe-install-info-target-rda: install-info-target-rda
49523 install-info-target-rda: \
49524 configure-target-rda \
49525 info-target-rda
49526 @: $(MAKE); $(unstage)
49527 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49528 r=`${PWD_COMMAND}`; export r; \
49529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49530 $(NORMAL_TARGET_EXPORTS) \
49531 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
49532 for flag in $(EXTRA_TARGET_FLAGS); do \
49533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49534 done; \
49535 (cd $(TARGET_SUBDIR)/rda && \
49536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49538 "RANLIB=$${RANLIB}" \
49539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49540 install-info) \
49541 || exit 1
49543 @endif target-rda
49545 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
49546 maybe-install-pdf-target-rda:
49547 @if target-rda
49548 maybe-install-pdf-target-rda: install-pdf-target-rda
49550 install-pdf-target-rda: \
49551 configure-target-rda \
49552 pdf-target-rda
49553 @: $(MAKE); $(unstage)
49554 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49555 r=`${PWD_COMMAND}`; export r; \
49556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49557 $(NORMAL_TARGET_EXPORTS) \
49558 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
49559 for flag in $(EXTRA_TARGET_FLAGS); do \
49560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49561 done; \
49562 (cd $(TARGET_SUBDIR)/rda && \
49563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49565 "RANLIB=$${RANLIB}" \
49566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49567 install-pdf) \
49568 || exit 1
49570 @endif target-rda
49572 .PHONY: maybe-install-html-target-rda install-html-target-rda
49573 maybe-install-html-target-rda:
49574 @if target-rda
49575 maybe-install-html-target-rda: install-html-target-rda
49577 install-html-target-rda: \
49578 configure-target-rda \
49579 html-target-rda
49580 @: $(MAKE); $(unstage)
49581 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49582 r=`${PWD_COMMAND}`; export r; \
49583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49584 $(NORMAL_TARGET_EXPORTS) \
49585 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
49586 for flag in $(EXTRA_TARGET_FLAGS); do \
49587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49588 done; \
49589 (cd $(TARGET_SUBDIR)/rda && \
49590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49592 "RANLIB=$${RANLIB}" \
49593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49594 install-html) \
49595 || exit 1
49597 @endif target-rda
49599 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
49600 maybe-installcheck-target-rda:
49601 @if target-rda
49602 maybe-installcheck-target-rda: installcheck-target-rda
49604 installcheck-target-rda: \
49605 configure-target-rda
49606 @: $(MAKE); $(unstage)
49607 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49608 r=`${PWD_COMMAND}`; export r; \
49609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49610 $(NORMAL_TARGET_EXPORTS) \
49611 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
49612 for flag in $(EXTRA_TARGET_FLAGS); do \
49613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49614 done; \
49615 (cd $(TARGET_SUBDIR)/rda && \
49616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49618 "RANLIB=$${RANLIB}" \
49619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49620 installcheck) \
49621 || exit 1
49623 @endif target-rda
49625 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
49626 maybe-mostlyclean-target-rda:
49627 @if target-rda
49628 maybe-mostlyclean-target-rda: mostlyclean-target-rda
49630 mostlyclean-target-rda:
49631 @: $(MAKE); $(unstage)
49632 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49633 r=`${PWD_COMMAND}`; export r; \
49634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49635 $(NORMAL_TARGET_EXPORTS) \
49636 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
49637 for flag in $(EXTRA_TARGET_FLAGS); do \
49638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49639 done; \
49640 (cd $(TARGET_SUBDIR)/rda && \
49641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49643 "RANLIB=$${RANLIB}" \
49644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49645 mostlyclean) \
49646 || exit 1
49648 @endif target-rda
49650 .PHONY: maybe-clean-target-rda clean-target-rda
49651 maybe-clean-target-rda:
49652 @if target-rda
49653 maybe-clean-target-rda: clean-target-rda
49655 clean-target-rda:
49656 @: $(MAKE); $(unstage)
49657 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49658 r=`${PWD_COMMAND}`; export r; \
49659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49660 $(NORMAL_TARGET_EXPORTS) \
49661 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
49662 for flag in $(EXTRA_TARGET_FLAGS); do \
49663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49664 done; \
49665 (cd $(TARGET_SUBDIR)/rda && \
49666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49668 "RANLIB=$${RANLIB}" \
49669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49670 clean) \
49671 || exit 1
49673 @endif target-rda
49675 .PHONY: maybe-distclean-target-rda distclean-target-rda
49676 maybe-distclean-target-rda:
49677 @if target-rda
49678 maybe-distclean-target-rda: distclean-target-rda
49680 distclean-target-rda:
49681 @: $(MAKE); $(unstage)
49682 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49683 r=`${PWD_COMMAND}`; export r; \
49684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49685 $(NORMAL_TARGET_EXPORTS) \
49686 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
49687 for flag in $(EXTRA_TARGET_FLAGS); do \
49688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49689 done; \
49690 (cd $(TARGET_SUBDIR)/rda && \
49691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49693 "RANLIB=$${RANLIB}" \
49694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49695 distclean) \
49696 || exit 1
49698 @endif target-rda
49700 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
49701 maybe-maintainer-clean-target-rda:
49702 @if target-rda
49703 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
49705 maintainer-clean-target-rda:
49706 @: $(MAKE); $(unstage)
49707 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49708 r=`${PWD_COMMAND}`; export r; \
49709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49710 $(NORMAL_TARGET_EXPORTS) \
49711 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
49712 for flag in $(EXTRA_TARGET_FLAGS); do \
49713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49714 done; \
49715 (cd $(TARGET_SUBDIR)/rda && \
49716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49718 "RANLIB=$${RANLIB}" \
49719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49720 maintainer-clean) \
49721 || exit 1
49723 @endif target-rda
49729 .PHONY: configure-target-libada maybe-configure-target-libada
49730 maybe-configure-target-libada:
49731 @if gcc-bootstrap
49732 configure-target-libada: stage_current
49733 @endif gcc-bootstrap
49734 @if target-libada
49735 maybe-configure-target-libada: configure-target-libada
49736 configure-target-libada:
49737 @: $(MAKE); $(unstage)
49738 @r=`${PWD_COMMAND}`; export r; \
49739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49740 echo "Checking multilib configuration for libada..."; \
49741 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
49742 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
49743 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
49744 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
49745 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
49746 else \
49747 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
49748 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49749 fi; \
49750 else \
49751 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49752 fi; \
49753 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
49754 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
49755 $(NORMAL_TARGET_EXPORTS) \
49756 echo Configuring in $(TARGET_SUBDIR)/libada; \
49757 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
49758 case $(srcdir) in \
49759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49760 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
49761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49762 esac; \
49763 module_srcdir=libada; \
49764 rm -f no-such-file || : ; \
49765 CONFIG_SITE=no-such-file $(SHELL) \
49766 $$s/$$module_srcdir/configure \
49767 --srcdir=$${topdir}/$$module_srcdir \
49768 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49769 --target=${target_alias} \
49770 || exit 1
49771 @endif target-libada
49777 .PHONY: all-target-libada maybe-all-target-libada
49778 maybe-all-target-libada:
49779 @if gcc-bootstrap
49780 all-target-libada: stage_current
49781 @endif gcc-bootstrap
49782 @if target-libada
49783 TARGET-target-libada=all
49784 maybe-all-target-libada: all-target-libada
49785 all-target-libada: configure-target-libada
49786 @: $(MAKE); $(unstage)
49787 @r=`${PWD_COMMAND}`; export r; \
49788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49789 $(NORMAL_TARGET_EXPORTS) \
49790 (cd $(TARGET_SUBDIR)/libada && \
49791 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49792 $(TARGET-target-libada))
49793 @endif target-libada
49799 .PHONY: check-target-libada maybe-check-target-libada
49800 maybe-check-target-libada:
49801 @if target-libada
49802 maybe-check-target-libada: check-target-libada
49804 check-target-libada:
49805 @: $(MAKE); $(unstage)
49806 @r=`${PWD_COMMAND}`; export r; \
49807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49808 $(NORMAL_TARGET_EXPORTS) \
49809 (cd $(TARGET_SUBDIR)/libada && \
49810 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49812 @endif target-libada
49814 .PHONY: install-target-libada maybe-install-target-libada
49815 maybe-install-target-libada:
49816 @if target-libada
49817 maybe-install-target-libada: install-target-libada
49819 install-target-libada: installdirs
49820 @: $(MAKE); $(unstage)
49821 @r=`${PWD_COMMAND}`; export r; \
49822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49823 $(NORMAL_TARGET_EXPORTS) \
49824 (cd $(TARGET_SUBDIR)/libada && \
49825 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49827 @endif target-libada
49829 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
49830 maybe-install-strip-target-libada:
49831 @if target-libada
49832 maybe-install-strip-target-libada: install-strip-target-libada
49834 install-strip-target-libada: installdirs
49835 @: $(MAKE); $(unstage)
49836 @r=`${PWD_COMMAND}`; export r; \
49837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49838 $(NORMAL_TARGET_EXPORTS) \
49839 (cd $(TARGET_SUBDIR)/libada && \
49840 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49842 @endif target-libada
49844 # Other targets (info, dvi, pdf, etc.)
49846 .PHONY: maybe-info-target-libada info-target-libada
49847 maybe-info-target-libada:
49848 @if target-libada
49849 maybe-info-target-libada: info-target-libada
49851 info-target-libada: \
49852 configure-target-libada
49853 @: $(MAKE); $(unstage)
49854 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49855 r=`${PWD_COMMAND}`; export r; \
49856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49857 $(NORMAL_TARGET_EXPORTS) \
49858 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
49859 for flag in $(EXTRA_TARGET_FLAGS); do \
49860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49861 done; \
49862 (cd $(TARGET_SUBDIR)/libada && \
49863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49865 "RANLIB=$${RANLIB}" \
49866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49867 info) \
49868 || exit 1
49870 @endif target-libada
49872 .PHONY: maybe-dvi-target-libada dvi-target-libada
49873 maybe-dvi-target-libada:
49874 @if target-libada
49875 maybe-dvi-target-libada: dvi-target-libada
49877 dvi-target-libada: \
49878 configure-target-libada
49879 @: $(MAKE); $(unstage)
49880 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49881 r=`${PWD_COMMAND}`; export r; \
49882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49883 $(NORMAL_TARGET_EXPORTS) \
49884 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
49885 for flag in $(EXTRA_TARGET_FLAGS); do \
49886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49887 done; \
49888 (cd $(TARGET_SUBDIR)/libada && \
49889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49891 "RANLIB=$${RANLIB}" \
49892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49893 dvi) \
49894 || exit 1
49896 @endif target-libada
49898 .PHONY: maybe-pdf-target-libada pdf-target-libada
49899 maybe-pdf-target-libada:
49900 @if target-libada
49901 maybe-pdf-target-libada: pdf-target-libada
49903 pdf-target-libada: \
49904 configure-target-libada
49905 @: $(MAKE); $(unstage)
49906 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49907 r=`${PWD_COMMAND}`; export r; \
49908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49909 $(NORMAL_TARGET_EXPORTS) \
49910 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
49911 for flag in $(EXTRA_TARGET_FLAGS); do \
49912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49913 done; \
49914 (cd $(TARGET_SUBDIR)/libada && \
49915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49917 "RANLIB=$${RANLIB}" \
49918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49919 pdf) \
49920 || exit 1
49922 @endif target-libada
49924 .PHONY: maybe-html-target-libada html-target-libada
49925 maybe-html-target-libada:
49926 @if target-libada
49927 maybe-html-target-libada: html-target-libada
49929 html-target-libada: \
49930 configure-target-libada
49931 @: $(MAKE); $(unstage)
49932 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49933 r=`${PWD_COMMAND}`; export r; \
49934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49935 $(NORMAL_TARGET_EXPORTS) \
49936 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
49937 for flag in $(EXTRA_TARGET_FLAGS); do \
49938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49939 done; \
49940 (cd $(TARGET_SUBDIR)/libada && \
49941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49943 "RANLIB=$${RANLIB}" \
49944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49945 html) \
49946 || exit 1
49948 @endif target-libada
49950 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
49951 maybe-TAGS-target-libada:
49952 @if target-libada
49953 maybe-TAGS-target-libada: TAGS-target-libada
49955 TAGS-target-libada: \
49956 configure-target-libada
49957 @: $(MAKE); $(unstage)
49958 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49959 r=`${PWD_COMMAND}`; export r; \
49960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49961 $(NORMAL_TARGET_EXPORTS) \
49962 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
49963 for flag in $(EXTRA_TARGET_FLAGS); do \
49964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49965 done; \
49966 (cd $(TARGET_SUBDIR)/libada && \
49967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49969 "RANLIB=$${RANLIB}" \
49970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49971 TAGS) \
49972 || exit 1
49974 @endif target-libada
49976 .PHONY: maybe-install-info-target-libada install-info-target-libada
49977 maybe-install-info-target-libada:
49978 @if target-libada
49979 maybe-install-info-target-libada: install-info-target-libada
49981 install-info-target-libada: \
49982 configure-target-libada \
49983 info-target-libada
49984 @: $(MAKE); $(unstage)
49985 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
49986 r=`${PWD_COMMAND}`; export r; \
49987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49988 $(NORMAL_TARGET_EXPORTS) \
49989 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
49990 for flag in $(EXTRA_TARGET_FLAGS); do \
49991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49992 done; \
49993 (cd $(TARGET_SUBDIR)/libada && \
49994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49996 "RANLIB=$${RANLIB}" \
49997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49998 install-info) \
49999 || exit 1
50001 @endif target-libada
50003 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
50004 maybe-install-pdf-target-libada:
50005 @if target-libada
50006 maybe-install-pdf-target-libada: install-pdf-target-libada
50008 install-pdf-target-libada: \
50009 configure-target-libada \
50010 pdf-target-libada
50011 @: $(MAKE); $(unstage)
50012 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50013 r=`${PWD_COMMAND}`; export r; \
50014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50015 $(NORMAL_TARGET_EXPORTS) \
50016 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
50017 for flag in $(EXTRA_TARGET_FLAGS); do \
50018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50019 done; \
50020 (cd $(TARGET_SUBDIR)/libada && \
50021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50023 "RANLIB=$${RANLIB}" \
50024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50025 install-pdf) \
50026 || exit 1
50028 @endif target-libada
50030 .PHONY: maybe-install-html-target-libada install-html-target-libada
50031 maybe-install-html-target-libada:
50032 @if target-libada
50033 maybe-install-html-target-libada: install-html-target-libada
50035 install-html-target-libada: \
50036 configure-target-libada \
50037 html-target-libada
50038 @: $(MAKE); $(unstage)
50039 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50040 r=`${PWD_COMMAND}`; export r; \
50041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50042 $(NORMAL_TARGET_EXPORTS) \
50043 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
50044 for flag in $(EXTRA_TARGET_FLAGS); do \
50045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50046 done; \
50047 (cd $(TARGET_SUBDIR)/libada && \
50048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50050 "RANLIB=$${RANLIB}" \
50051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50052 install-html) \
50053 || exit 1
50055 @endif target-libada
50057 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
50058 maybe-installcheck-target-libada:
50059 @if target-libada
50060 maybe-installcheck-target-libada: installcheck-target-libada
50062 installcheck-target-libada: \
50063 configure-target-libada
50064 @: $(MAKE); $(unstage)
50065 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50066 r=`${PWD_COMMAND}`; export r; \
50067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50068 $(NORMAL_TARGET_EXPORTS) \
50069 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
50070 for flag in $(EXTRA_TARGET_FLAGS); do \
50071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50072 done; \
50073 (cd $(TARGET_SUBDIR)/libada && \
50074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50076 "RANLIB=$${RANLIB}" \
50077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50078 installcheck) \
50079 || exit 1
50081 @endif target-libada
50083 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
50084 maybe-mostlyclean-target-libada:
50085 @if target-libada
50086 maybe-mostlyclean-target-libada: mostlyclean-target-libada
50088 mostlyclean-target-libada:
50089 @: $(MAKE); $(unstage)
50090 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50091 r=`${PWD_COMMAND}`; export r; \
50092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50093 $(NORMAL_TARGET_EXPORTS) \
50094 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
50095 for flag in $(EXTRA_TARGET_FLAGS); do \
50096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50097 done; \
50098 (cd $(TARGET_SUBDIR)/libada && \
50099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50101 "RANLIB=$${RANLIB}" \
50102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50103 mostlyclean) \
50104 || exit 1
50106 @endif target-libada
50108 .PHONY: maybe-clean-target-libada clean-target-libada
50109 maybe-clean-target-libada:
50110 @if target-libada
50111 maybe-clean-target-libada: clean-target-libada
50113 clean-target-libada:
50114 @: $(MAKE); $(unstage)
50115 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50116 r=`${PWD_COMMAND}`; export r; \
50117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50118 $(NORMAL_TARGET_EXPORTS) \
50119 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
50120 for flag in $(EXTRA_TARGET_FLAGS); do \
50121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50122 done; \
50123 (cd $(TARGET_SUBDIR)/libada && \
50124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50126 "RANLIB=$${RANLIB}" \
50127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50128 clean) \
50129 || exit 1
50131 @endif target-libada
50133 .PHONY: maybe-distclean-target-libada distclean-target-libada
50134 maybe-distclean-target-libada:
50135 @if target-libada
50136 maybe-distclean-target-libada: distclean-target-libada
50138 distclean-target-libada:
50139 @: $(MAKE); $(unstage)
50140 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50141 r=`${PWD_COMMAND}`; export r; \
50142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50143 $(NORMAL_TARGET_EXPORTS) \
50144 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
50145 for flag in $(EXTRA_TARGET_FLAGS); do \
50146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50147 done; \
50148 (cd $(TARGET_SUBDIR)/libada && \
50149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50151 "RANLIB=$${RANLIB}" \
50152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50153 distclean) \
50154 || exit 1
50156 @endif target-libada
50158 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
50159 maybe-maintainer-clean-target-libada:
50160 @if target-libada
50161 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
50163 maintainer-clean-target-libada:
50164 @: $(MAKE); $(unstage)
50165 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50166 r=`${PWD_COMMAND}`; export r; \
50167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50168 $(NORMAL_TARGET_EXPORTS) \
50169 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
50170 for flag in $(EXTRA_TARGET_FLAGS); do \
50171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50172 done; \
50173 (cd $(TARGET_SUBDIR)/libada && \
50174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50176 "RANLIB=$${RANLIB}" \
50177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50178 maintainer-clean) \
50179 || exit 1
50181 @endif target-libada
50187 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
50188 maybe-configure-target-libgomp:
50189 @if gcc-bootstrap
50190 configure-target-libgomp: stage_current
50191 @endif gcc-bootstrap
50192 @if target-libgomp
50193 maybe-configure-target-libgomp: configure-target-libgomp
50194 configure-target-libgomp:
50195 @r=`${PWD_COMMAND}`; export r; \
50196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50197 echo "Checking multilib configuration for libgomp..."; \
50198 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50199 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50200 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50201 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50202 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50203 else \
50204 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50205 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50206 fi; \
50207 else \
50208 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50209 fi; \
50210 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50212 $(NORMAL_TARGET_EXPORTS) \
50213 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
50214 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
50215 case $(srcdir) in \
50216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50217 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50219 esac; \
50220 module_srcdir=libgomp; \
50221 rm -f no-such-file || : ; \
50222 CONFIG_SITE=no-such-file $(SHELL) \
50223 $$s/$$module_srcdir/configure \
50224 --srcdir=$${topdir}/$$module_srcdir \
50225 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50226 --target=${target_alias} \
50227 || exit 1
50228 @endif target-libgomp
50232 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
50233 maybe-configure-stage1-target-libgomp:
50234 @if target-libgomp-bootstrap
50235 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
50236 configure-stage1-target-libgomp:
50237 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50238 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50239 @r=`${PWD_COMMAND}`; export r; \
50240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50241 TFLAGS="$(STAGE1_TFLAGS)"; \
50242 echo "Checking multilib configuration for libgomp..."; \
50243 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50244 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50245 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50246 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50247 else \
50248 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50249 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50250 fi; \
50251 else \
50252 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50253 fi; \
50254 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50255 $(NORMAL_TARGET_EXPORTS) \
50256 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50257 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50258 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50259 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
50260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50261 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50262 case $(srcdir) in \
50263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50264 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50266 esac; \
50267 module_srcdir=libgomp; \
50268 $(SHELL) $$s/$$module_srcdir/configure \
50269 --srcdir=$${topdir}/$$module_srcdir \
50270 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50271 --target=${target_alias} \
50273 $(STAGE1_CONFIGURE_FLAGS)
50274 @endif target-libgomp-bootstrap
50276 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
50277 maybe-configure-stage2-target-libgomp:
50278 @if target-libgomp-bootstrap
50279 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
50280 configure-stage2-target-libgomp:
50281 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50282 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50283 @r=`${PWD_COMMAND}`; export r; \
50284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50285 TFLAGS="$(STAGE2_TFLAGS)"; \
50286 echo "Checking multilib configuration for libgomp..."; \
50287 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50288 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50289 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50290 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50291 else \
50292 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50293 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50294 fi; \
50295 else \
50296 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50297 fi; \
50298 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50299 $(NORMAL_TARGET_EXPORTS) \
50301 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50302 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50303 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50304 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
50305 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50306 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50307 case $(srcdir) in \
50308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50309 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50311 esac; \
50312 module_srcdir=libgomp; \
50313 $(SHELL) $$s/$$module_srcdir/configure \
50314 --srcdir=$${topdir}/$$module_srcdir \
50315 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50316 --target=${target_alias} \
50317 --with-build-libsubdir=$(HOST_SUBDIR) \
50318 $(STAGE2_CONFIGURE_FLAGS)
50319 @endif target-libgomp-bootstrap
50321 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
50322 maybe-configure-stage3-target-libgomp:
50323 @if target-libgomp-bootstrap
50324 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
50325 configure-stage3-target-libgomp:
50326 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50327 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50328 @r=`${PWD_COMMAND}`; export r; \
50329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50330 TFLAGS="$(STAGE3_TFLAGS)"; \
50331 echo "Checking multilib configuration for libgomp..."; \
50332 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50333 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50334 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50335 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50336 else \
50337 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50338 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50339 fi; \
50340 else \
50341 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50342 fi; \
50343 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50344 $(NORMAL_TARGET_EXPORTS) \
50346 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50347 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50348 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50349 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
50350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50351 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50352 case $(srcdir) in \
50353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50354 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50356 esac; \
50357 module_srcdir=libgomp; \
50358 $(SHELL) $$s/$$module_srcdir/configure \
50359 --srcdir=$${topdir}/$$module_srcdir \
50360 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50361 --target=${target_alias} \
50362 --with-build-libsubdir=$(HOST_SUBDIR) \
50363 $(STAGE3_CONFIGURE_FLAGS)
50364 @endif target-libgomp-bootstrap
50366 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
50367 maybe-configure-stage4-target-libgomp:
50368 @if target-libgomp-bootstrap
50369 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
50370 configure-stage4-target-libgomp:
50371 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50372 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50373 @r=`${PWD_COMMAND}`; export r; \
50374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50375 TFLAGS="$(STAGE4_TFLAGS)"; \
50376 echo "Checking multilib configuration for libgomp..."; \
50377 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50378 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50379 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50380 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50381 else \
50382 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50383 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50384 fi; \
50385 else \
50386 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50387 fi; \
50388 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50389 $(NORMAL_TARGET_EXPORTS) \
50391 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50392 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50393 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50394 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
50395 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50396 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50397 case $(srcdir) in \
50398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50399 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50401 esac; \
50402 module_srcdir=libgomp; \
50403 $(SHELL) $$s/$$module_srcdir/configure \
50404 --srcdir=$${topdir}/$$module_srcdir \
50405 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50406 --target=${target_alias} \
50407 --with-build-libsubdir=$(HOST_SUBDIR) \
50408 $(STAGE4_CONFIGURE_FLAGS)
50409 @endif target-libgomp-bootstrap
50411 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
50412 maybe-configure-stageprofile-target-libgomp:
50413 @if target-libgomp-bootstrap
50414 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
50415 configure-stageprofile-target-libgomp:
50416 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50417 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50418 @r=`${PWD_COMMAND}`; export r; \
50419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50420 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50421 echo "Checking multilib configuration for libgomp..."; \
50422 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50423 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50424 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50425 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50426 else \
50427 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50428 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50429 fi; \
50430 else \
50431 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50432 fi; \
50433 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50434 $(NORMAL_TARGET_EXPORTS) \
50436 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50437 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50438 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50439 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
50440 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50441 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50442 case $(srcdir) in \
50443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50444 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50446 esac; \
50447 module_srcdir=libgomp; \
50448 $(SHELL) $$s/$$module_srcdir/configure \
50449 --srcdir=$${topdir}/$$module_srcdir \
50450 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50451 --target=${target_alias} \
50452 --with-build-libsubdir=$(HOST_SUBDIR) \
50453 $(STAGEprofile_CONFIGURE_FLAGS)
50454 @endif target-libgomp-bootstrap
50456 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
50457 maybe-configure-stagefeedback-target-libgomp:
50458 @if target-libgomp-bootstrap
50459 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
50460 configure-stagefeedback-target-libgomp:
50461 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50462 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50463 @r=`${PWD_COMMAND}`; export r; \
50464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50465 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50466 echo "Checking multilib configuration for libgomp..."; \
50467 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50468 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50469 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50470 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50471 else \
50472 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50473 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50474 fi; \
50475 else \
50476 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50477 fi; \
50478 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50479 $(NORMAL_TARGET_EXPORTS) \
50481 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50482 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50483 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50484 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
50485 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50486 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50487 case $(srcdir) in \
50488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50489 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50491 esac; \
50492 module_srcdir=libgomp; \
50493 $(SHELL) $$s/$$module_srcdir/configure \
50494 --srcdir=$${topdir}/$$module_srcdir \
50495 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50496 --target=${target_alias} \
50497 --with-build-libsubdir=$(HOST_SUBDIR) \
50498 $(STAGEfeedback_CONFIGURE_FLAGS)
50499 @endif target-libgomp-bootstrap
50501 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
50502 maybe-configure-stageautoprofile-target-libgomp:
50503 @if target-libgomp-bootstrap
50504 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50505 configure-stageautoprofile-target-libgomp:
50506 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50507 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50508 @r=`${PWD_COMMAND}`; export r; \
50509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50510 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50511 echo "Checking multilib configuration for libgomp..."; \
50512 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50513 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50514 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50515 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50516 else \
50517 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50518 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50519 fi; \
50520 else \
50521 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50522 fi; \
50523 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50524 $(NORMAL_TARGET_EXPORTS) \
50526 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50527 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50528 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50529 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
50530 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50531 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50532 case $(srcdir) in \
50533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50534 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50536 esac; \
50537 module_srcdir=libgomp; \
50538 $(SHELL) $$s/$$module_srcdir/configure \
50539 --srcdir=$${topdir}/$$module_srcdir \
50540 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50541 --target=${target_alias} \
50542 --with-build-libsubdir=$(HOST_SUBDIR) \
50543 $(STAGEautoprofile_CONFIGURE_FLAGS)
50544 @endif target-libgomp-bootstrap
50546 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
50547 maybe-configure-stageautofeedback-target-libgomp:
50548 @if target-libgomp-bootstrap
50549 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50550 configure-stageautofeedback-target-libgomp:
50551 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50552 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50553 @r=`${PWD_COMMAND}`; export r; \
50554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50555 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50556 echo "Checking multilib configuration for libgomp..."; \
50557 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50558 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50559 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50560 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50561 else \
50562 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50563 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50564 fi; \
50565 else \
50566 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50567 fi; \
50568 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50569 $(NORMAL_TARGET_EXPORTS) \
50571 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50572 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50573 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50574 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
50575 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50576 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50577 case $(srcdir) in \
50578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50579 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50581 esac; \
50582 module_srcdir=libgomp; \
50583 $(SHELL) $$s/$$module_srcdir/configure \
50584 --srcdir=$${topdir}/$$module_srcdir \
50585 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50586 --target=${target_alias} \
50587 --with-build-libsubdir=$(HOST_SUBDIR) \
50588 $(STAGEautofeedback_CONFIGURE_FLAGS)
50589 @endif target-libgomp-bootstrap
50595 .PHONY: all-target-libgomp maybe-all-target-libgomp
50596 maybe-all-target-libgomp:
50597 @if gcc-bootstrap
50598 all-target-libgomp: stage_current
50599 @endif gcc-bootstrap
50600 @if target-libgomp
50601 TARGET-target-libgomp=all
50602 maybe-all-target-libgomp: all-target-libgomp
50603 all-target-libgomp: configure-target-libgomp
50604 @r=`${PWD_COMMAND}`; export r; \
50605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50606 $(NORMAL_TARGET_EXPORTS) \
50607 (cd $(TARGET_SUBDIR)/libgomp && \
50608 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50609 $(TARGET-target-libgomp))
50610 @endif target-libgomp
50614 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
50615 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
50616 maybe-all-stage1-target-libgomp:
50617 maybe-clean-stage1-target-libgomp:
50618 @if target-libgomp-bootstrap
50619 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
50620 all-stage1: all-stage1-target-libgomp
50621 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
50622 all-stage1-target-libgomp: configure-stage1-target-libgomp
50623 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50624 @r=`${PWD_COMMAND}`; export r; \
50625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50626 TFLAGS="$(STAGE1_TFLAGS)"; \
50627 $(NORMAL_TARGET_EXPORTS) \
50628 cd $(TARGET_SUBDIR)/libgomp && \
50630 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50631 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50632 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50633 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50634 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50635 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50636 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50637 $(EXTRA_TARGET_FLAGS) \
50639 TFLAGS="$(STAGE1_TFLAGS)" \
50640 $(TARGET-stage1-target-libgomp)
50642 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
50643 clean-stage1: clean-stage1-target-libgomp
50644 clean-stage1-target-libgomp:
50645 @if [ $(current_stage) = stage1 ]; then \
50646 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50647 else \
50648 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
50649 $(MAKE) stage1-start; \
50650 fi; \
50651 cd $(TARGET_SUBDIR)/libgomp && \
50652 $(MAKE) $(EXTRA_TARGET_FLAGS) \
50653 clean
50654 @endif target-libgomp-bootstrap
50657 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
50658 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
50659 maybe-all-stage2-target-libgomp:
50660 maybe-clean-stage2-target-libgomp:
50661 @if target-libgomp-bootstrap
50662 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
50663 all-stage2: all-stage2-target-libgomp
50664 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
50665 all-stage2-target-libgomp: configure-stage2-target-libgomp
50666 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50667 @r=`${PWD_COMMAND}`; export r; \
50668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50669 TFLAGS="$(STAGE2_TFLAGS)"; \
50670 $(NORMAL_TARGET_EXPORTS) \
50672 cd $(TARGET_SUBDIR)/libgomp && \
50674 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50675 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50676 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50677 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50678 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50679 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50680 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50681 $(EXTRA_TARGET_FLAGS) \
50682 TFLAGS="$(STAGE2_TFLAGS)" \
50683 $(TARGET-stage2-target-libgomp)
50685 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
50686 clean-stage2: clean-stage2-target-libgomp
50687 clean-stage2-target-libgomp:
50688 @if [ $(current_stage) = stage2 ]; then \
50689 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50690 else \
50691 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
50692 $(MAKE) stage2-start; \
50693 fi; \
50694 cd $(TARGET_SUBDIR)/libgomp && \
50695 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50696 @endif target-libgomp-bootstrap
50699 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
50700 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
50701 maybe-all-stage3-target-libgomp:
50702 maybe-clean-stage3-target-libgomp:
50703 @if target-libgomp-bootstrap
50704 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
50705 all-stage3: all-stage3-target-libgomp
50706 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
50707 all-stage3-target-libgomp: configure-stage3-target-libgomp
50708 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50709 @r=`${PWD_COMMAND}`; export r; \
50710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50711 TFLAGS="$(STAGE3_TFLAGS)"; \
50712 $(NORMAL_TARGET_EXPORTS) \
50714 cd $(TARGET_SUBDIR)/libgomp && \
50716 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50717 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50718 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50719 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50723 $(EXTRA_TARGET_FLAGS) \
50724 TFLAGS="$(STAGE3_TFLAGS)" \
50725 $(TARGET-stage3-target-libgomp)
50727 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
50728 clean-stage3: clean-stage3-target-libgomp
50729 clean-stage3-target-libgomp:
50730 @if [ $(current_stage) = stage3 ]; then \
50731 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50732 else \
50733 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
50734 $(MAKE) stage3-start; \
50735 fi; \
50736 cd $(TARGET_SUBDIR)/libgomp && \
50737 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50738 @endif target-libgomp-bootstrap
50741 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
50742 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
50743 maybe-all-stage4-target-libgomp:
50744 maybe-clean-stage4-target-libgomp:
50745 @if target-libgomp-bootstrap
50746 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
50747 all-stage4: all-stage4-target-libgomp
50748 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
50749 all-stage4-target-libgomp: configure-stage4-target-libgomp
50750 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50751 @r=`${PWD_COMMAND}`; export r; \
50752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50753 TFLAGS="$(STAGE4_TFLAGS)"; \
50754 $(NORMAL_TARGET_EXPORTS) \
50756 cd $(TARGET_SUBDIR)/libgomp && \
50758 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50759 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50760 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50761 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50762 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50763 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50764 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50765 $(EXTRA_TARGET_FLAGS) \
50766 TFLAGS="$(STAGE4_TFLAGS)" \
50767 $(TARGET-stage4-target-libgomp)
50769 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
50770 clean-stage4: clean-stage4-target-libgomp
50771 clean-stage4-target-libgomp:
50772 @if [ $(current_stage) = stage4 ]; then \
50773 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50774 else \
50775 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
50776 $(MAKE) stage4-start; \
50777 fi; \
50778 cd $(TARGET_SUBDIR)/libgomp && \
50779 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50780 @endif target-libgomp-bootstrap
50783 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
50784 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
50785 maybe-all-stageprofile-target-libgomp:
50786 maybe-clean-stageprofile-target-libgomp:
50787 @if target-libgomp-bootstrap
50788 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
50789 all-stageprofile: all-stageprofile-target-libgomp
50790 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
50791 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
50792 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50793 @r=`${PWD_COMMAND}`; export r; \
50794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50795 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50796 $(NORMAL_TARGET_EXPORTS) \
50798 cd $(TARGET_SUBDIR)/libgomp && \
50800 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50801 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50802 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50803 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50804 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50805 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50806 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50807 $(EXTRA_TARGET_FLAGS) \
50808 TFLAGS="$(STAGEprofile_TFLAGS)" \
50809 $(TARGET-stageprofile-target-libgomp)
50811 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
50812 clean-stageprofile: clean-stageprofile-target-libgomp
50813 clean-stageprofile-target-libgomp:
50814 @if [ $(current_stage) = stageprofile ]; then \
50815 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50816 else \
50817 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
50818 $(MAKE) stageprofile-start; \
50819 fi; \
50820 cd $(TARGET_SUBDIR)/libgomp && \
50821 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50822 @endif target-libgomp-bootstrap
50825 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
50826 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
50827 maybe-all-stagefeedback-target-libgomp:
50828 maybe-clean-stagefeedback-target-libgomp:
50829 @if target-libgomp-bootstrap
50830 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
50831 all-stagefeedback: all-stagefeedback-target-libgomp
50832 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
50833 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
50834 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50835 @r=`${PWD_COMMAND}`; export r; \
50836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50837 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50838 $(NORMAL_TARGET_EXPORTS) \
50840 cd $(TARGET_SUBDIR)/libgomp && \
50842 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50843 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50844 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50845 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50846 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50847 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50848 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50849 $(EXTRA_TARGET_FLAGS) \
50850 TFLAGS="$(STAGEfeedback_TFLAGS)" \
50851 $(TARGET-stagefeedback-target-libgomp)
50853 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
50854 clean-stagefeedback: clean-stagefeedback-target-libgomp
50855 clean-stagefeedback-target-libgomp:
50856 @if [ $(current_stage) = stagefeedback ]; then \
50857 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50858 else \
50859 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
50860 $(MAKE) stagefeedback-start; \
50861 fi; \
50862 cd $(TARGET_SUBDIR)/libgomp && \
50863 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50864 @endif target-libgomp-bootstrap
50867 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
50868 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
50869 maybe-all-stageautoprofile-target-libgomp:
50870 maybe-clean-stageautoprofile-target-libgomp:
50871 @if target-libgomp-bootstrap
50872 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
50873 all-stageautoprofile: all-stageautoprofile-target-libgomp
50874 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
50875 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50876 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50877 @r=`${PWD_COMMAND}`; export r; \
50878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50879 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50880 $(NORMAL_TARGET_EXPORTS) \
50882 cd $(TARGET_SUBDIR)/libgomp && \
50883 $$s/gcc/config/i386/$(AUTO_PROFILE) \
50884 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50885 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50886 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50887 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50888 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50889 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50890 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50891 $(EXTRA_TARGET_FLAGS) \
50892 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
50893 $(TARGET-stageautoprofile-target-libgomp)
50895 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
50896 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
50897 clean-stageautoprofile-target-libgomp:
50898 @if [ $(current_stage) = stageautoprofile ]; then \
50899 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50900 else \
50901 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
50902 $(MAKE) stageautoprofile-start; \
50903 fi; \
50904 cd $(TARGET_SUBDIR)/libgomp && \
50905 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50906 @endif target-libgomp-bootstrap
50909 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
50910 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
50911 maybe-all-stageautofeedback-target-libgomp:
50912 maybe-clean-stageautofeedback-target-libgomp:
50913 @if target-libgomp-bootstrap
50914 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
50915 all-stageautofeedback: all-stageautofeedback-target-libgomp
50916 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
50917 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50918 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50919 @r=`${PWD_COMMAND}`; export r; \
50920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50921 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50922 $(NORMAL_TARGET_EXPORTS) \
50924 cd $(TARGET_SUBDIR)/libgomp && \
50926 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50927 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50928 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50929 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50930 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50931 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50932 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50933 $(EXTRA_TARGET_FLAGS) \
50934 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
50935 $(TARGET-stageautofeedback-target-libgomp)
50937 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
50938 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
50939 clean-stageautofeedback-target-libgomp:
50940 @if [ $(current_stage) = stageautofeedback ]; then \
50941 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
50942 else \
50943 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
50944 $(MAKE) stageautofeedback-start; \
50945 fi; \
50946 cd $(TARGET_SUBDIR)/libgomp && \
50947 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50948 @endif target-libgomp-bootstrap
50955 .PHONY: check-target-libgomp maybe-check-target-libgomp
50956 maybe-check-target-libgomp:
50957 @if target-libgomp
50958 maybe-check-target-libgomp: check-target-libgomp
50960 check-target-libgomp:
50961 @: $(MAKE); $(unstage)
50962 @r=`${PWD_COMMAND}`; export r; \
50963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50964 $(NORMAL_TARGET_EXPORTS) \
50965 (cd $(TARGET_SUBDIR)/libgomp && \
50966 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50968 @endif target-libgomp
50970 .PHONY: install-target-libgomp maybe-install-target-libgomp
50971 maybe-install-target-libgomp:
50972 @if target-libgomp
50973 maybe-install-target-libgomp: install-target-libgomp
50975 install-target-libgomp: installdirs
50976 @: $(MAKE); $(unstage)
50977 @r=`${PWD_COMMAND}`; export r; \
50978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50979 $(NORMAL_TARGET_EXPORTS) \
50980 (cd $(TARGET_SUBDIR)/libgomp && \
50981 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50983 @endif target-libgomp
50985 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
50986 maybe-install-strip-target-libgomp:
50987 @if target-libgomp
50988 maybe-install-strip-target-libgomp: install-strip-target-libgomp
50990 install-strip-target-libgomp: installdirs
50991 @: $(MAKE); $(unstage)
50992 @r=`${PWD_COMMAND}`; export r; \
50993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50994 $(NORMAL_TARGET_EXPORTS) \
50995 (cd $(TARGET_SUBDIR)/libgomp && \
50996 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50998 @endif target-libgomp
51000 # Other targets (info, dvi, pdf, etc.)
51002 .PHONY: maybe-info-target-libgomp info-target-libgomp
51003 maybe-info-target-libgomp:
51004 @if target-libgomp
51005 maybe-info-target-libgomp: info-target-libgomp
51007 info-target-libgomp: \
51008 configure-target-libgomp
51009 @: $(MAKE); $(unstage)
51010 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51011 r=`${PWD_COMMAND}`; export r; \
51012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51013 $(NORMAL_TARGET_EXPORTS) \
51014 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
51015 for flag in $(EXTRA_TARGET_FLAGS); do \
51016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51017 done; \
51018 (cd $(TARGET_SUBDIR)/libgomp && \
51019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51021 "RANLIB=$${RANLIB}" \
51022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51023 info) \
51024 || exit 1
51026 @endif target-libgomp
51028 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
51029 maybe-dvi-target-libgomp:
51030 @if target-libgomp
51031 maybe-dvi-target-libgomp: dvi-target-libgomp
51033 dvi-target-libgomp: \
51034 configure-target-libgomp
51035 @: $(MAKE); $(unstage)
51036 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51037 r=`${PWD_COMMAND}`; export r; \
51038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51039 $(NORMAL_TARGET_EXPORTS) \
51040 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
51041 for flag in $(EXTRA_TARGET_FLAGS); do \
51042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51043 done; \
51044 (cd $(TARGET_SUBDIR)/libgomp && \
51045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51047 "RANLIB=$${RANLIB}" \
51048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51049 dvi) \
51050 || exit 1
51052 @endif target-libgomp
51054 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
51055 maybe-pdf-target-libgomp:
51056 @if target-libgomp
51057 maybe-pdf-target-libgomp: pdf-target-libgomp
51059 pdf-target-libgomp: \
51060 configure-target-libgomp
51061 @: $(MAKE); $(unstage)
51062 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51063 r=`${PWD_COMMAND}`; export r; \
51064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51065 $(NORMAL_TARGET_EXPORTS) \
51066 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
51067 for flag in $(EXTRA_TARGET_FLAGS); do \
51068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51069 done; \
51070 (cd $(TARGET_SUBDIR)/libgomp && \
51071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51073 "RANLIB=$${RANLIB}" \
51074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51075 pdf) \
51076 || exit 1
51078 @endif target-libgomp
51080 .PHONY: maybe-html-target-libgomp html-target-libgomp
51081 maybe-html-target-libgomp:
51082 @if target-libgomp
51083 maybe-html-target-libgomp: html-target-libgomp
51085 html-target-libgomp: \
51086 configure-target-libgomp
51087 @: $(MAKE); $(unstage)
51088 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51089 r=`${PWD_COMMAND}`; export r; \
51090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51091 $(NORMAL_TARGET_EXPORTS) \
51092 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
51093 for flag in $(EXTRA_TARGET_FLAGS); do \
51094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51095 done; \
51096 (cd $(TARGET_SUBDIR)/libgomp && \
51097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51099 "RANLIB=$${RANLIB}" \
51100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51101 html) \
51102 || exit 1
51104 @endif target-libgomp
51106 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
51107 maybe-TAGS-target-libgomp:
51108 @if target-libgomp
51109 maybe-TAGS-target-libgomp: TAGS-target-libgomp
51111 TAGS-target-libgomp: \
51112 configure-target-libgomp
51113 @: $(MAKE); $(unstage)
51114 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51115 r=`${PWD_COMMAND}`; export r; \
51116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51117 $(NORMAL_TARGET_EXPORTS) \
51118 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
51119 for flag in $(EXTRA_TARGET_FLAGS); do \
51120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51121 done; \
51122 (cd $(TARGET_SUBDIR)/libgomp && \
51123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51125 "RANLIB=$${RANLIB}" \
51126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51127 TAGS) \
51128 || exit 1
51130 @endif target-libgomp
51132 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
51133 maybe-install-info-target-libgomp:
51134 @if target-libgomp
51135 maybe-install-info-target-libgomp: install-info-target-libgomp
51137 install-info-target-libgomp: \
51138 configure-target-libgomp \
51139 info-target-libgomp
51140 @: $(MAKE); $(unstage)
51141 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51142 r=`${PWD_COMMAND}`; export r; \
51143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51144 $(NORMAL_TARGET_EXPORTS) \
51145 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
51146 for flag in $(EXTRA_TARGET_FLAGS); do \
51147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51148 done; \
51149 (cd $(TARGET_SUBDIR)/libgomp && \
51150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51152 "RANLIB=$${RANLIB}" \
51153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51154 install-info) \
51155 || exit 1
51157 @endif target-libgomp
51159 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
51160 maybe-install-pdf-target-libgomp:
51161 @if target-libgomp
51162 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
51164 install-pdf-target-libgomp: \
51165 configure-target-libgomp \
51166 pdf-target-libgomp
51167 @: $(MAKE); $(unstage)
51168 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51169 r=`${PWD_COMMAND}`; export r; \
51170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51171 $(NORMAL_TARGET_EXPORTS) \
51172 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
51173 for flag in $(EXTRA_TARGET_FLAGS); do \
51174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51175 done; \
51176 (cd $(TARGET_SUBDIR)/libgomp && \
51177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51179 "RANLIB=$${RANLIB}" \
51180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51181 install-pdf) \
51182 || exit 1
51184 @endif target-libgomp
51186 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
51187 maybe-install-html-target-libgomp:
51188 @if target-libgomp
51189 maybe-install-html-target-libgomp: install-html-target-libgomp
51191 install-html-target-libgomp: \
51192 configure-target-libgomp \
51193 html-target-libgomp
51194 @: $(MAKE); $(unstage)
51195 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51196 r=`${PWD_COMMAND}`; export r; \
51197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51198 $(NORMAL_TARGET_EXPORTS) \
51199 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
51200 for flag in $(EXTRA_TARGET_FLAGS); do \
51201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51202 done; \
51203 (cd $(TARGET_SUBDIR)/libgomp && \
51204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51206 "RANLIB=$${RANLIB}" \
51207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51208 install-html) \
51209 || exit 1
51211 @endif target-libgomp
51213 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
51214 maybe-installcheck-target-libgomp:
51215 @if target-libgomp
51216 maybe-installcheck-target-libgomp: installcheck-target-libgomp
51218 installcheck-target-libgomp: \
51219 configure-target-libgomp
51220 @: $(MAKE); $(unstage)
51221 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51222 r=`${PWD_COMMAND}`; export r; \
51223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51224 $(NORMAL_TARGET_EXPORTS) \
51225 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
51226 for flag in $(EXTRA_TARGET_FLAGS); do \
51227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51228 done; \
51229 (cd $(TARGET_SUBDIR)/libgomp && \
51230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51232 "RANLIB=$${RANLIB}" \
51233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51234 installcheck) \
51235 || exit 1
51237 @endif target-libgomp
51239 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
51240 maybe-mostlyclean-target-libgomp:
51241 @if target-libgomp
51242 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
51244 mostlyclean-target-libgomp:
51245 @: $(MAKE); $(unstage)
51246 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51247 r=`${PWD_COMMAND}`; export r; \
51248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51249 $(NORMAL_TARGET_EXPORTS) \
51250 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
51251 for flag in $(EXTRA_TARGET_FLAGS); do \
51252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51253 done; \
51254 (cd $(TARGET_SUBDIR)/libgomp && \
51255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51257 "RANLIB=$${RANLIB}" \
51258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51259 mostlyclean) \
51260 || exit 1
51262 @endif target-libgomp
51264 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
51265 maybe-clean-target-libgomp:
51266 @if target-libgomp
51267 maybe-clean-target-libgomp: clean-target-libgomp
51269 clean-target-libgomp:
51270 @: $(MAKE); $(unstage)
51271 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51272 r=`${PWD_COMMAND}`; export r; \
51273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51274 $(NORMAL_TARGET_EXPORTS) \
51275 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
51276 for flag in $(EXTRA_TARGET_FLAGS); do \
51277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51278 done; \
51279 (cd $(TARGET_SUBDIR)/libgomp && \
51280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51282 "RANLIB=$${RANLIB}" \
51283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51284 clean) \
51285 || exit 1
51287 @endif target-libgomp
51289 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
51290 maybe-distclean-target-libgomp:
51291 @if target-libgomp
51292 maybe-distclean-target-libgomp: distclean-target-libgomp
51294 distclean-target-libgomp:
51295 @: $(MAKE); $(unstage)
51296 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51297 r=`${PWD_COMMAND}`; export r; \
51298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51299 $(NORMAL_TARGET_EXPORTS) \
51300 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
51301 for flag in $(EXTRA_TARGET_FLAGS); do \
51302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51303 done; \
51304 (cd $(TARGET_SUBDIR)/libgomp && \
51305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51307 "RANLIB=$${RANLIB}" \
51308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51309 distclean) \
51310 || exit 1
51312 @endif target-libgomp
51314 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
51315 maybe-maintainer-clean-target-libgomp:
51316 @if target-libgomp
51317 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
51319 maintainer-clean-target-libgomp:
51320 @: $(MAKE); $(unstage)
51321 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51322 r=`${PWD_COMMAND}`; export r; \
51323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51324 $(NORMAL_TARGET_EXPORTS) \
51325 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
51326 for flag in $(EXTRA_TARGET_FLAGS); do \
51327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51328 done; \
51329 (cd $(TARGET_SUBDIR)/libgomp && \
51330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51332 "RANLIB=$${RANLIB}" \
51333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51334 maintainer-clean) \
51335 || exit 1
51337 @endif target-libgomp
51343 .PHONY: configure-target-libitm maybe-configure-target-libitm
51344 maybe-configure-target-libitm:
51345 @if gcc-bootstrap
51346 configure-target-libitm: stage_current
51347 @endif gcc-bootstrap
51348 @if target-libitm
51349 maybe-configure-target-libitm: configure-target-libitm
51350 configure-target-libitm:
51351 @: $(MAKE); $(unstage)
51352 @r=`${PWD_COMMAND}`; export r; \
51353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51354 echo "Checking multilib configuration for libitm..."; \
51355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
51356 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
51357 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
51358 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
51359 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
51360 else \
51361 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
51362 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
51363 fi; \
51364 else \
51365 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
51366 fi; \
51367 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
51368 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
51369 $(NORMAL_TARGET_EXPORTS) \
51370 echo Configuring in $(TARGET_SUBDIR)/libitm; \
51371 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
51372 case $(srcdir) in \
51373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51374 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
51375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51376 esac; \
51377 module_srcdir=libitm; \
51378 rm -f no-such-file || : ; \
51379 CONFIG_SITE=no-such-file $(SHELL) \
51380 $$s/$$module_srcdir/configure \
51381 --srcdir=$${topdir}/$$module_srcdir \
51382 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51383 --target=${target_alias} \
51384 || exit 1
51385 @endif target-libitm
51391 .PHONY: all-target-libitm maybe-all-target-libitm
51392 maybe-all-target-libitm:
51393 @if gcc-bootstrap
51394 all-target-libitm: stage_current
51395 @endif gcc-bootstrap
51396 @if target-libitm
51397 TARGET-target-libitm=all
51398 maybe-all-target-libitm: all-target-libitm
51399 all-target-libitm: configure-target-libitm
51400 @: $(MAKE); $(unstage)
51401 @r=`${PWD_COMMAND}`; export r; \
51402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51403 $(NORMAL_TARGET_EXPORTS) \
51404 (cd $(TARGET_SUBDIR)/libitm && \
51405 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51406 $(TARGET-target-libitm))
51407 @endif target-libitm
51413 .PHONY: check-target-libitm maybe-check-target-libitm
51414 maybe-check-target-libitm:
51415 @if target-libitm
51416 maybe-check-target-libitm: check-target-libitm
51418 check-target-libitm:
51419 @: $(MAKE); $(unstage)
51420 @r=`${PWD_COMMAND}`; export r; \
51421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51422 $(NORMAL_TARGET_EXPORTS) \
51423 (cd $(TARGET_SUBDIR)/libitm && \
51424 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51426 @endif target-libitm
51428 .PHONY: install-target-libitm maybe-install-target-libitm
51429 maybe-install-target-libitm:
51430 @if target-libitm
51431 maybe-install-target-libitm: install-target-libitm
51433 install-target-libitm: installdirs
51434 @: $(MAKE); $(unstage)
51435 @r=`${PWD_COMMAND}`; export r; \
51436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51437 $(NORMAL_TARGET_EXPORTS) \
51438 (cd $(TARGET_SUBDIR)/libitm && \
51439 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51441 @endif target-libitm
51443 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
51444 maybe-install-strip-target-libitm:
51445 @if target-libitm
51446 maybe-install-strip-target-libitm: install-strip-target-libitm
51448 install-strip-target-libitm: installdirs
51449 @: $(MAKE); $(unstage)
51450 @r=`${PWD_COMMAND}`; export r; \
51451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51452 $(NORMAL_TARGET_EXPORTS) \
51453 (cd $(TARGET_SUBDIR)/libitm && \
51454 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51456 @endif target-libitm
51458 # Other targets (info, dvi, pdf, etc.)
51460 .PHONY: maybe-info-target-libitm info-target-libitm
51461 maybe-info-target-libitm:
51462 @if target-libitm
51463 maybe-info-target-libitm: info-target-libitm
51465 info-target-libitm: \
51466 configure-target-libitm
51467 @: $(MAKE); $(unstage)
51468 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51469 r=`${PWD_COMMAND}`; export r; \
51470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51471 $(NORMAL_TARGET_EXPORTS) \
51472 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
51473 for flag in $(EXTRA_TARGET_FLAGS); do \
51474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51475 done; \
51476 (cd $(TARGET_SUBDIR)/libitm && \
51477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51479 "RANLIB=$${RANLIB}" \
51480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51481 info) \
51482 || exit 1
51484 @endif target-libitm
51486 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
51487 maybe-dvi-target-libitm:
51488 @if target-libitm
51489 maybe-dvi-target-libitm: dvi-target-libitm
51491 dvi-target-libitm: \
51492 configure-target-libitm
51493 @: $(MAKE); $(unstage)
51494 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51495 r=`${PWD_COMMAND}`; export r; \
51496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51497 $(NORMAL_TARGET_EXPORTS) \
51498 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
51499 for flag in $(EXTRA_TARGET_FLAGS); do \
51500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51501 done; \
51502 (cd $(TARGET_SUBDIR)/libitm && \
51503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51505 "RANLIB=$${RANLIB}" \
51506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51507 dvi) \
51508 || exit 1
51510 @endif target-libitm
51512 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
51513 maybe-pdf-target-libitm:
51514 @if target-libitm
51515 maybe-pdf-target-libitm: pdf-target-libitm
51517 pdf-target-libitm: \
51518 configure-target-libitm
51519 @: $(MAKE); $(unstage)
51520 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51521 r=`${PWD_COMMAND}`; export r; \
51522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51523 $(NORMAL_TARGET_EXPORTS) \
51524 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
51525 for flag in $(EXTRA_TARGET_FLAGS); do \
51526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51527 done; \
51528 (cd $(TARGET_SUBDIR)/libitm && \
51529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51531 "RANLIB=$${RANLIB}" \
51532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51533 pdf) \
51534 || exit 1
51536 @endif target-libitm
51538 .PHONY: maybe-html-target-libitm html-target-libitm
51539 maybe-html-target-libitm:
51540 @if target-libitm
51541 maybe-html-target-libitm: html-target-libitm
51543 html-target-libitm: \
51544 configure-target-libitm
51545 @: $(MAKE); $(unstage)
51546 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51547 r=`${PWD_COMMAND}`; export r; \
51548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51549 $(NORMAL_TARGET_EXPORTS) \
51550 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
51551 for flag in $(EXTRA_TARGET_FLAGS); do \
51552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51553 done; \
51554 (cd $(TARGET_SUBDIR)/libitm && \
51555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51557 "RANLIB=$${RANLIB}" \
51558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51559 html) \
51560 || exit 1
51562 @endif target-libitm
51564 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
51565 maybe-TAGS-target-libitm:
51566 @if target-libitm
51567 maybe-TAGS-target-libitm: TAGS-target-libitm
51569 TAGS-target-libitm: \
51570 configure-target-libitm
51571 @: $(MAKE); $(unstage)
51572 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51573 r=`${PWD_COMMAND}`; export r; \
51574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51575 $(NORMAL_TARGET_EXPORTS) \
51576 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
51577 for flag in $(EXTRA_TARGET_FLAGS); do \
51578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51579 done; \
51580 (cd $(TARGET_SUBDIR)/libitm && \
51581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51583 "RANLIB=$${RANLIB}" \
51584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51585 TAGS) \
51586 || exit 1
51588 @endif target-libitm
51590 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
51591 maybe-install-info-target-libitm:
51592 @if target-libitm
51593 maybe-install-info-target-libitm: install-info-target-libitm
51595 install-info-target-libitm: \
51596 configure-target-libitm \
51597 info-target-libitm
51598 @: $(MAKE); $(unstage)
51599 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51600 r=`${PWD_COMMAND}`; export r; \
51601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51602 $(NORMAL_TARGET_EXPORTS) \
51603 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
51604 for flag in $(EXTRA_TARGET_FLAGS); do \
51605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51606 done; \
51607 (cd $(TARGET_SUBDIR)/libitm && \
51608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51610 "RANLIB=$${RANLIB}" \
51611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51612 install-info) \
51613 || exit 1
51615 @endif target-libitm
51617 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
51618 maybe-install-pdf-target-libitm:
51619 @if target-libitm
51620 maybe-install-pdf-target-libitm: install-pdf-target-libitm
51622 install-pdf-target-libitm: \
51623 configure-target-libitm \
51624 pdf-target-libitm
51625 @: $(MAKE); $(unstage)
51626 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51627 r=`${PWD_COMMAND}`; export r; \
51628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51629 $(NORMAL_TARGET_EXPORTS) \
51630 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
51631 for flag in $(EXTRA_TARGET_FLAGS); do \
51632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51633 done; \
51634 (cd $(TARGET_SUBDIR)/libitm && \
51635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51637 "RANLIB=$${RANLIB}" \
51638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51639 install-pdf) \
51640 || exit 1
51642 @endif target-libitm
51644 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
51645 maybe-install-html-target-libitm:
51646 @if target-libitm
51647 maybe-install-html-target-libitm: install-html-target-libitm
51649 install-html-target-libitm: \
51650 configure-target-libitm \
51651 html-target-libitm
51652 @: $(MAKE); $(unstage)
51653 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51654 r=`${PWD_COMMAND}`; export r; \
51655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51656 $(NORMAL_TARGET_EXPORTS) \
51657 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
51658 for flag in $(EXTRA_TARGET_FLAGS); do \
51659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51660 done; \
51661 (cd $(TARGET_SUBDIR)/libitm && \
51662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51664 "RANLIB=$${RANLIB}" \
51665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51666 install-html) \
51667 || exit 1
51669 @endif target-libitm
51671 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
51672 maybe-installcheck-target-libitm:
51673 @if target-libitm
51674 maybe-installcheck-target-libitm: installcheck-target-libitm
51676 installcheck-target-libitm: \
51677 configure-target-libitm
51678 @: $(MAKE); $(unstage)
51679 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51680 r=`${PWD_COMMAND}`; export r; \
51681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51682 $(NORMAL_TARGET_EXPORTS) \
51683 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
51684 for flag in $(EXTRA_TARGET_FLAGS); do \
51685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51686 done; \
51687 (cd $(TARGET_SUBDIR)/libitm && \
51688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51690 "RANLIB=$${RANLIB}" \
51691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51692 installcheck) \
51693 || exit 1
51695 @endif target-libitm
51697 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
51698 maybe-mostlyclean-target-libitm:
51699 @if target-libitm
51700 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
51702 mostlyclean-target-libitm:
51703 @: $(MAKE); $(unstage)
51704 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51705 r=`${PWD_COMMAND}`; export r; \
51706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51707 $(NORMAL_TARGET_EXPORTS) \
51708 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
51709 for flag in $(EXTRA_TARGET_FLAGS); do \
51710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51711 done; \
51712 (cd $(TARGET_SUBDIR)/libitm && \
51713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51715 "RANLIB=$${RANLIB}" \
51716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51717 mostlyclean) \
51718 || exit 1
51720 @endif target-libitm
51722 .PHONY: maybe-clean-target-libitm clean-target-libitm
51723 maybe-clean-target-libitm:
51724 @if target-libitm
51725 maybe-clean-target-libitm: clean-target-libitm
51727 clean-target-libitm:
51728 @: $(MAKE); $(unstage)
51729 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51730 r=`${PWD_COMMAND}`; export r; \
51731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51732 $(NORMAL_TARGET_EXPORTS) \
51733 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
51734 for flag in $(EXTRA_TARGET_FLAGS); do \
51735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51736 done; \
51737 (cd $(TARGET_SUBDIR)/libitm && \
51738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51740 "RANLIB=$${RANLIB}" \
51741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51742 clean) \
51743 || exit 1
51745 @endif target-libitm
51747 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
51748 maybe-distclean-target-libitm:
51749 @if target-libitm
51750 maybe-distclean-target-libitm: distclean-target-libitm
51752 distclean-target-libitm:
51753 @: $(MAKE); $(unstage)
51754 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51755 r=`${PWD_COMMAND}`; export r; \
51756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51757 $(NORMAL_TARGET_EXPORTS) \
51758 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
51759 for flag in $(EXTRA_TARGET_FLAGS); do \
51760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51761 done; \
51762 (cd $(TARGET_SUBDIR)/libitm && \
51763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51765 "RANLIB=$${RANLIB}" \
51766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51767 distclean) \
51768 || exit 1
51770 @endif target-libitm
51772 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
51773 maybe-maintainer-clean-target-libitm:
51774 @if target-libitm
51775 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
51777 maintainer-clean-target-libitm:
51778 @: $(MAKE); $(unstage)
51779 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51780 r=`${PWD_COMMAND}`; export r; \
51781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51782 $(NORMAL_TARGET_EXPORTS) \
51783 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
51784 for flag in $(EXTRA_TARGET_FLAGS); do \
51785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51786 done; \
51787 (cd $(TARGET_SUBDIR)/libitm && \
51788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51790 "RANLIB=$${RANLIB}" \
51791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51792 maintainer-clean) \
51793 || exit 1
51795 @endif target-libitm
51801 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
51802 maybe-configure-target-libatomic:
51803 @if gcc-bootstrap
51804 configure-target-libatomic: stage_current
51805 @endif gcc-bootstrap
51806 @if target-libatomic
51807 maybe-configure-target-libatomic: configure-target-libatomic
51808 configure-target-libatomic:
51809 @: $(MAKE); $(unstage)
51810 @r=`${PWD_COMMAND}`; export r; \
51811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51812 echo "Checking multilib configuration for libatomic..."; \
51813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
51814 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
51815 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
51816 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
51817 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
51818 else \
51819 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
51820 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
51821 fi; \
51822 else \
51823 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
51824 fi; \
51825 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
51826 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
51827 $(NORMAL_TARGET_EXPORTS) \
51828 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
51829 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
51830 case $(srcdir) in \
51831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51832 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
51833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51834 esac; \
51835 module_srcdir=libatomic; \
51836 rm -f no-such-file || : ; \
51837 CONFIG_SITE=no-such-file $(SHELL) \
51838 $$s/$$module_srcdir/configure \
51839 --srcdir=$${topdir}/$$module_srcdir \
51840 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51841 --target=${target_alias} \
51842 || exit 1
51843 @endif target-libatomic
51849 .PHONY: all-target-libatomic maybe-all-target-libatomic
51850 maybe-all-target-libatomic:
51851 @if gcc-bootstrap
51852 all-target-libatomic: stage_current
51853 @endif gcc-bootstrap
51854 @if target-libatomic
51855 TARGET-target-libatomic=all
51856 maybe-all-target-libatomic: all-target-libatomic
51857 all-target-libatomic: configure-target-libatomic
51858 @: $(MAKE); $(unstage)
51859 @r=`${PWD_COMMAND}`; export r; \
51860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51861 $(NORMAL_TARGET_EXPORTS) \
51862 (cd $(TARGET_SUBDIR)/libatomic && \
51863 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51864 $(TARGET-target-libatomic))
51865 @endif target-libatomic
51871 .PHONY: check-target-libatomic maybe-check-target-libatomic
51872 maybe-check-target-libatomic:
51873 @if target-libatomic
51874 maybe-check-target-libatomic: check-target-libatomic
51876 check-target-libatomic:
51877 @: $(MAKE); $(unstage)
51878 @r=`${PWD_COMMAND}`; export r; \
51879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51880 $(NORMAL_TARGET_EXPORTS) \
51881 (cd $(TARGET_SUBDIR)/libatomic && \
51882 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51884 @endif target-libatomic
51886 .PHONY: install-target-libatomic maybe-install-target-libatomic
51887 maybe-install-target-libatomic:
51888 @if target-libatomic
51889 maybe-install-target-libatomic: install-target-libatomic
51891 install-target-libatomic: installdirs
51892 @: $(MAKE); $(unstage)
51893 @r=`${PWD_COMMAND}`; export r; \
51894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51895 $(NORMAL_TARGET_EXPORTS) \
51896 (cd $(TARGET_SUBDIR)/libatomic && \
51897 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51899 @endif target-libatomic
51901 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
51902 maybe-install-strip-target-libatomic:
51903 @if target-libatomic
51904 maybe-install-strip-target-libatomic: install-strip-target-libatomic
51906 install-strip-target-libatomic: installdirs
51907 @: $(MAKE); $(unstage)
51908 @r=`${PWD_COMMAND}`; export r; \
51909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51910 $(NORMAL_TARGET_EXPORTS) \
51911 (cd $(TARGET_SUBDIR)/libatomic && \
51912 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51914 @endif target-libatomic
51916 # Other targets (info, dvi, pdf, etc.)
51918 .PHONY: maybe-info-target-libatomic info-target-libatomic
51919 maybe-info-target-libatomic:
51920 @if target-libatomic
51921 maybe-info-target-libatomic: info-target-libatomic
51923 info-target-libatomic: \
51924 configure-target-libatomic
51925 @: $(MAKE); $(unstage)
51926 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51927 r=`${PWD_COMMAND}`; export r; \
51928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51929 $(NORMAL_TARGET_EXPORTS) \
51930 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
51931 for flag in $(EXTRA_TARGET_FLAGS); do \
51932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51933 done; \
51934 (cd $(TARGET_SUBDIR)/libatomic && \
51935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51937 "RANLIB=$${RANLIB}" \
51938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51939 info) \
51940 || exit 1
51942 @endif target-libatomic
51944 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
51945 maybe-dvi-target-libatomic:
51946 @if target-libatomic
51947 maybe-dvi-target-libatomic: dvi-target-libatomic
51949 dvi-target-libatomic: \
51950 configure-target-libatomic
51951 @: $(MAKE); $(unstage)
51952 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51953 r=`${PWD_COMMAND}`; export r; \
51954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51955 $(NORMAL_TARGET_EXPORTS) \
51956 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
51957 for flag in $(EXTRA_TARGET_FLAGS); do \
51958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51959 done; \
51960 (cd $(TARGET_SUBDIR)/libatomic && \
51961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51963 "RANLIB=$${RANLIB}" \
51964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51965 dvi) \
51966 || exit 1
51968 @endif target-libatomic
51970 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
51971 maybe-pdf-target-libatomic:
51972 @if target-libatomic
51973 maybe-pdf-target-libatomic: pdf-target-libatomic
51975 pdf-target-libatomic: \
51976 configure-target-libatomic
51977 @: $(MAKE); $(unstage)
51978 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
51979 r=`${PWD_COMMAND}`; export r; \
51980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51981 $(NORMAL_TARGET_EXPORTS) \
51982 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
51983 for flag in $(EXTRA_TARGET_FLAGS); do \
51984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51985 done; \
51986 (cd $(TARGET_SUBDIR)/libatomic && \
51987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51989 "RANLIB=$${RANLIB}" \
51990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51991 pdf) \
51992 || exit 1
51994 @endif target-libatomic
51996 .PHONY: maybe-html-target-libatomic html-target-libatomic
51997 maybe-html-target-libatomic:
51998 @if target-libatomic
51999 maybe-html-target-libatomic: html-target-libatomic
52001 html-target-libatomic: \
52002 configure-target-libatomic
52003 @: $(MAKE); $(unstage)
52004 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52005 r=`${PWD_COMMAND}`; export r; \
52006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52007 $(NORMAL_TARGET_EXPORTS) \
52008 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
52009 for flag in $(EXTRA_TARGET_FLAGS); do \
52010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52011 done; \
52012 (cd $(TARGET_SUBDIR)/libatomic && \
52013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52015 "RANLIB=$${RANLIB}" \
52016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52017 html) \
52018 || exit 1
52020 @endif target-libatomic
52022 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
52023 maybe-TAGS-target-libatomic:
52024 @if target-libatomic
52025 maybe-TAGS-target-libatomic: TAGS-target-libatomic
52027 TAGS-target-libatomic: \
52028 configure-target-libatomic
52029 @: $(MAKE); $(unstage)
52030 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52031 r=`${PWD_COMMAND}`; export r; \
52032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52033 $(NORMAL_TARGET_EXPORTS) \
52034 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
52035 for flag in $(EXTRA_TARGET_FLAGS); do \
52036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52037 done; \
52038 (cd $(TARGET_SUBDIR)/libatomic && \
52039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52041 "RANLIB=$${RANLIB}" \
52042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52043 TAGS) \
52044 || exit 1
52046 @endif target-libatomic
52048 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
52049 maybe-install-info-target-libatomic:
52050 @if target-libatomic
52051 maybe-install-info-target-libatomic: install-info-target-libatomic
52053 install-info-target-libatomic: \
52054 configure-target-libatomic \
52055 info-target-libatomic
52056 @: $(MAKE); $(unstage)
52057 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52058 r=`${PWD_COMMAND}`; export r; \
52059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52060 $(NORMAL_TARGET_EXPORTS) \
52061 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
52062 for flag in $(EXTRA_TARGET_FLAGS); do \
52063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52064 done; \
52065 (cd $(TARGET_SUBDIR)/libatomic && \
52066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52068 "RANLIB=$${RANLIB}" \
52069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52070 install-info) \
52071 || exit 1
52073 @endif target-libatomic
52075 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
52076 maybe-install-pdf-target-libatomic:
52077 @if target-libatomic
52078 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
52080 install-pdf-target-libatomic: \
52081 configure-target-libatomic \
52082 pdf-target-libatomic
52083 @: $(MAKE); $(unstage)
52084 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52085 r=`${PWD_COMMAND}`; export r; \
52086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52087 $(NORMAL_TARGET_EXPORTS) \
52088 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
52089 for flag in $(EXTRA_TARGET_FLAGS); do \
52090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52091 done; \
52092 (cd $(TARGET_SUBDIR)/libatomic && \
52093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52095 "RANLIB=$${RANLIB}" \
52096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52097 install-pdf) \
52098 || exit 1
52100 @endif target-libatomic
52102 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
52103 maybe-install-html-target-libatomic:
52104 @if target-libatomic
52105 maybe-install-html-target-libatomic: install-html-target-libatomic
52107 install-html-target-libatomic: \
52108 configure-target-libatomic \
52109 html-target-libatomic
52110 @: $(MAKE); $(unstage)
52111 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52112 r=`${PWD_COMMAND}`; export r; \
52113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52114 $(NORMAL_TARGET_EXPORTS) \
52115 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
52116 for flag in $(EXTRA_TARGET_FLAGS); do \
52117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52118 done; \
52119 (cd $(TARGET_SUBDIR)/libatomic && \
52120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52122 "RANLIB=$${RANLIB}" \
52123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52124 install-html) \
52125 || exit 1
52127 @endif target-libatomic
52129 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
52130 maybe-installcheck-target-libatomic:
52131 @if target-libatomic
52132 maybe-installcheck-target-libatomic: installcheck-target-libatomic
52134 installcheck-target-libatomic: \
52135 configure-target-libatomic
52136 @: $(MAKE); $(unstage)
52137 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52138 r=`${PWD_COMMAND}`; export r; \
52139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52140 $(NORMAL_TARGET_EXPORTS) \
52141 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
52142 for flag in $(EXTRA_TARGET_FLAGS); do \
52143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52144 done; \
52145 (cd $(TARGET_SUBDIR)/libatomic && \
52146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52148 "RANLIB=$${RANLIB}" \
52149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52150 installcheck) \
52151 || exit 1
52153 @endif target-libatomic
52155 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
52156 maybe-mostlyclean-target-libatomic:
52157 @if target-libatomic
52158 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
52160 mostlyclean-target-libatomic:
52161 @: $(MAKE); $(unstage)
52162 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52163 r=`${PWD_COMMAND}`; export r; \
52164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52165 $(NORMAL_TARGET_EXPORTS) \
52166 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
52167 for flag in $(EXTRA_TARGET_FLAGS); do \
52168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52169 done; \
52170 (cd $(TARGET_SUBDIR)/libatomic && \
52171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52173 "RANLIB=$${RANLIB}" \
52174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52175 mostlyclean) \
52176 || exit 1
52178 @endif target-libatomic
52180 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
52181 maybe-clean-target-libatomic:
52182 @if target-libatomic
52183 maybe-clean-target-libatomic: clean-target-libatomic
52185 clean-target-libatomic:
52186 @: $(MAKE); $(unstage)
52187 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52188 r=`${PWD_COMMAND}`; export r; \
52189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52190 $(NORMAL_TARGET_EXPORTS) \
52191 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
52192 for flag in $(EXTRA_TARGET_FLAGS); do \
52193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52194 done; \
52195 (cd $(TARGET_SUBDIR)/libatomic && \
52196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52198 "RANLIB=$${RANLIB}" \
52199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52200 clean) \
52201 || exit 1
52203 @endif target-libatomic
52205 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
52206 maybe-distclean-target-libatomic:
52207 @if target-libatomic
52208 maybe-distclean-target-libatomic: distclean-target-libatomic
52210 distclean-target-libatomic:
52211 @: $(MAKE); $(unstage)
52212 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52213 r=`${PWD_COMMAND}`; export r; \
52214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52215 $(NORMAL_TARGET_EXPORTS) \
52216 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
52217 for flag in $(EXTRA_TARGET_FLAGS); do \
52218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52219 done; \
52220 (cd $(TARGET_SUBDIR)/libatomic && \
52221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52223 "RANLIB=$${RANLIB}" \
52224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52225 distclean) \
52226 || exit 1
52228 @endif target-libatomic
52230 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
52231 maybe-maintainer-clean-target-libatomic:
52232 @if target-libatomic
52233 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
52235 maintainer-clean-target-libatomic:
52236 @: $(MAKE); $(unstage)
52237 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52238 r=`${PWD_COMMAND}`; export r; \
52239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52240 $(NORMAL_TARGET_EXPORTS) \
52241 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
52242 for flag in $(EXTRA_TARGET_FLAGS); do \
52243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52244 done; \
52245 (cd $(TARGET_SUBDIR)/libatomic && \
52246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52248 "RANLIB=$${RANLIB}" \
52249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52250 maintainer-clean) \
52251 || exit 1
52253 @endif target-libatomic
52257 @if target-libgomp
52258 .PHONY: check-target-libgomp-c++
52259 check-target-libgomp-c++:
52260 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
52262 @endif target-libgomp
52264 @if target-libitm
52265 .PHONY: check-target-libitm-c++
52266 check-target-libitm-c++:
52267 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
52269 @endif target-libitm
52271 # ----------
52272 # GCC module
52273 # ----------
52275 @if gcc-no-bootstrap
52276 .PHONY: cross
52277 cross: all-build all-gas all-ld
52278 @r=`${PWD_COMMAND}`; export r; \
52279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52280 $(HOST_EXPORTS) \
52281 echo "Building the C and C++ compiler"; \
52282 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
52283 @r=`${PWD_COMMAND}`; export r; \
52284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52285 echo "Building runtime libraries"; \
52286 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
52287 @endif gcc-no-bootstrap
52289 @if gcc
52291 .PHONY: check-gcc-c check-c
52292 check-gcc-c:
52293 r=`${PWD_COMMAND}`; export r; \
52294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52295 $(HOST_EXPORTS) \
52296 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
52297 check-c: check-gcc-c
52299 .PHONY: check-gcc-c++ check-c++
52300 check-gcc-c++:
52301 r=`${PWD_COMMAND}`; export r; \
52302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52303 $(HOST_EXPORTS) \
52304 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
52305 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
52307 .PHONY: check-gcc-fortran check-fortran
52308 check-gcc-fortran:
52309 r=`${PWD_COMMAND}`; export r; \
52310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52311 $(HOST_EXPORTS) \
52312 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
52313 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
52315 .PHONY: check-gcc-java check-java
52316 check-gcc-java:
52317 r=`${PWD_COMMAND}`; export r; \
52318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52319 $(HOST_EXPORTS) \
52320 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
52321 check-java: check-gcc-java check-target-libjava
52323 .PHONY: check-gcc-ada check-ada
52324 check-gcc-ada:
52325 r=`${PWD_COMMAND}`; export r; \
52326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52327 $(HOST_EXPORTS) \
52328 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
52329 check-ada: check-gcc-ada check-target-libada
52331 .PHONY: check-gcc-objc check-objc
52332 check-gcc-objc:
52333 r=`${PWD_COMMAND}`; export r; \
52334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52335 $(HOST_EXPORTS) \
52336 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
52337 check-objc: check-gcc-objc check-target-libobjc
52339 .PHONY: check-gcc-obj-c++ check-obj-c++
52340 check-gcc-obj-c++:
52341 r=`${PWD_COMMAND}`; export r; \
52342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52343 $(HOST_EXPORTS) \
52344 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
52345 check-obj-c++: check-gcc-obj-c++
52347 .PHONY: check-gcc-go check-go
52348 check-gcc-go:
52349 r=`${PWD_COMMAND}`; export r; \
52350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52351 $(HOST_EXPORTS) \
52352 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
52353 check-go: check-gcc-go check-target-libgo
52356 # The gcc part of install-no-fixedincludes, which relies on an intimate
52357 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
52358 .PHONY: gcc-install-no-fixedincludes
52359 gcc-install-no-fixedincludes:
52360 @if [ -f ./gcc/Makefile ]; then \
52361 r=`${PWD_COMMAND}`; export r; \
52362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52363 $(HOST_EXPORTS) \
52364 (cd ./gcc \
52365 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
52366 else true; fi
52367 @endif gcc
52369 # ---------------------
52370 # GCC bootstrap support
52371 # ---------------------
52373 # We track the current stage (the one in 'gcc') in the stage_current file.
52374 # stage_last instead tracks the stage that was built last. These targets
52375 # are dummy when toplevel bootstrap is not active.
52377 # While making host and target tools, symlinks to the final stage must be
52378 # there, so $(unstage) should be run at various points. To avoid excessive
52379 # recursive invocations of make, we "inline" them using a variable. These
52380 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
52381 # to avoid warnings from the GNU Make job server.
52383 unstage = :
52384 stage = :
52385 current_stage = ""
52387 @if gcc-bootstrap
52388 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
52389 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
52390 current_stage = "`cat stage_current 2> /dev/null`"
52391 @endif gcc-bootstrap
52393 .PHONY: unstage stage
52394 unstage:
52395 @: $(MAKE); $(unstage)
52396 stage:
52397 @: $(MAKE); $(stage)
52399 # Disable commands for lean bootstrap.
52400 LEAN = false
52402 # We name the build directories for the various stages "stage1-gcc",
52403 # "stage2-gcc","stage3-gcc", etc.
52405 # Since the 'compare' process will fail (on debugging information) if any
52406 # directory names are different, we need to link the gcc directory for
52407 # the previous stage to a constant name ('prev-gcc'), and to make the name of
52408 # the build directories constant as well. For the latter, we use naked names
52409 # like 'gcc', because the scripts in that directory assume it. We use
52410 # mv on platforms where symlinks to directories do not work or are not
52411 # reliable.
52413 # 'touch' doesn't work right on some platforms.
52414 STAMP = echo timestamp >
52416 # We only want to compare .o files, so set this!
52417 objext = .o
52420 .PHONY: stage1-start stage1-end
52422 stage1-start::
52423 @: $(MAKE); $(stage); \
52424 echo stage1 > stage_current; \
52425 echo stage1 > stage_last; \
52426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52427 @if bfd
52428 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
52429 mkdir stage1-bfd; \
52430 mv stage1-bfd bfd
52431 @endif bfd
52432 @if opcodes
52433 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
52434 mkdir stage1-opcodes; \
52435 mv stage1-opcodes opcodes
52436 @endif opcodes
52437 @if binutils
52438 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
52439 mkdir stage1-binutils; \
52440 mv stage1-binutils binutils
52441 @endif binutils
52442 @if fixincludes
52443 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
52444 mkdir stage1-fixincludes; \
52445 mv stage1-fixincludes fixincludes
52446 @endif fixincludes
52447 @if gas
52448 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
52449 mkdir stage1-gas; \
52450 mv stage1-gas gas
52451 @endif gas
52452 @if gcc
52453 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
52454 mkdir stage1-gcc; \
52455 mv stage1-gcc gcc
52456 @endif gcc
52457 @if gmp
52458 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
52459 mkdir stage1-gmp; \
52460 mv stage1-gmp gmp
52461 @endif gmp
52462 @if mpfr
52463 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
52464 mkdir stage1-mpfr; \
52465 mv stage1-mpfr mpfr
52466 @endif mpfr
52467 @if mpc
52468 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
52469 mkdir stage1-mpc; \
52470 mv stage1-mpc mpc
52471 @endif mpc
52472 @if isl
52473 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
52474 mkdir stage1-isl; \
52475 mv stage1-isl isl
52476 @endif isl
52477 @if libelf
52478 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
52479 mkdir stage1-libelf; \
52480 mv stage1-libelf libelf
52481 @endif libelf
52482 @if gold
52483 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
52484 mkdir stage1-gold; \
52485 mv stage1-gold gold
52486 @endif gold
52487 @if intl
52488 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
52489 mkdir stage1-intl; \
52490 mv stage1-intl intl
52491 @endif intl
52492 @if ld
52493 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
52494 mkdir stage1-ld; \
52495 mv stage1-ld ld
52496 @endif ld
52497 @if libbacktrace
52498 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
52499 mkdir stage1-libbacktrace; \
52500 mv stage1-libbacktrace libbacktrace
52501 @endif libbacktrace
52502 @if libcpp
52503 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
52504 mkdir stage1-libcpp; \
52505 mv stage1-libcpp libcpp
52506 @endif libcpp
52507 @if libdecnumber
52508 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
52509 mkdir stage1-libdecnumber; \
52510 mv stage1-libdecnumber libdecnumber
52511 @endif libdecnumber
52512 @if libiberty
52513 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
52514 mkdir stage1-libiberty; \
52515 mv stage1-libiberty libiberty
52516 @endif libiberty
52517 @if libiberty-linker-plugin
52518 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
52519 mkdir stage1-libiberty-linker-plugin; \
52520 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
52521 @endif libiberty-linker-plugin
52522 @if libiconv
52523 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
52524 mkdir stage1-libiconv; \
52525 mv stage1-libiconv libiconv
52526 @endif libiconv
52527 @if zlib
52528 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
52529 mkdir stage1-zlib; \
52530 mv stage1-zlib zlib
52531 @endif zlib
52532 @if lto-plugin
52533 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
52534 mkdir stage1-lto-plugin; \
52535 mv stage1-lto-plugin lto-plugin
52536 @endif lto-plugin
52537 @[ -d stage1-$(TARGET_SUBDIR) ] || \
52538 mkdir stage1-$(TARGET_SUBDIR); \
52539 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
52541 stage1-end::
52542 @if bfd
52543 @if test -d $(HOST_SUBDIR)/bfd; then \
52544 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
52546 @endif bfd
52547 @if opcodes
52548 @if test -d $(HOST_SUBDIR)/opcodes; then \
52549 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
52551 @endif opcodes
52552 @if binutils
52553 @if test -d $(HOST_SUBDIR)/binutils; then \
52554 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
52556 @endif binutils
52557 @if fixincludes
52558 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52559 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
52561 @endif fixincludes
52562 @if gas
52563 @if test -d $(HOST_SUBDIR)/gas; then \
52564 cd $(HOST_SUBDIR); mv gas stage1-gas; \
52566 @endif gas
52567 @if gcc
52568 @if test -d $(HOST_SUBDIR)/gcc; then \
52569 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
52571 @endif gcc
52572 @if gmp
52573 @if test -d $(HOST_SUBDIR)/gmp; then \
52574 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
52576 @endif gmp
52577 @if mpfr
52578 @if test -d $(HOST_SUBDIR)/mpfr; then \
52579 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
52581 @endif mpfr
52582 @if mpc
52583 @if test -d $(HOST_SUBDIR)/mpc; then \
52584 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
52586 @endif mpc
52587 @if isl
52588 @if test -d $(HOST_SUBDIR)/isl; then \
52589 cd $(HOST_SUBDIR); mv isl stage1-isl; \
52591 @endif isl
52592 @if libelf
52593 @if test -d $(HOST_SUBDIR)/libelf; then \
52594 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
52596 @endif libelf
52597 @if gold
52598 @if test -d $(HOST_SUBDIR)/gold; then \
52599 cd $(HOST_SUBDIR); mv gold stage1-gold; \
52601 @endif gold
52602 @if intl
52603 @if test -d $(HOST_SUBDIR)/intl; then \
52604 cd $(HOST_SUBDIR); mv intl stage1-intl; \
52606 @endif intl
52607 @if ld
52608 @if test -d $(HOST_SUBDIR)/ld; then \
52609 cd $(HOST_SUBDIR); mv ld stage1-ld; \
52611 @endif ld
52612 @if libbacktrace
52613 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52614 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
52616 @endif libbacktrace
52617 @if libcpp
52618 @if test -d $(HOST_SUBDIR)/libcpp; then \
52619 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
52621 @endif libcpp
52622 @if libdecnumber
52623 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52624 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
52626 @endif libdecnumber
52627 @if libiberty
52628 @if test -d $(HOST_SUBDIR)/libiberty; then \
52629 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
52631 @endif libiberty
52632 @if libiberty-linker-plugin
52633 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52634 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
52636 @endif libiberty-linker-plugin
52637 @if libiconv
52638 @if test -d $(HOST_SUBDIR)/libiconv; then \
52639 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
52641 @endif libiconv
52642 @if zlib
52643 @if test -d $(HOST_SUBDIR)/zlib; then \
52644 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
52646 @endif zlib
52647 @if lto-plugin
52648 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52649 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
52651 @endif lto-plugin
52652 @if test -d $(TARGET_SUBDIR); then \
52653 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
52655 rm -f stage_current
52657 # Bubble a bug fix through all the stages up to stage 1. They are
52658 # remade, but not reconfigured. The next stage (if any) will not be
52659 # reconfigured either.
52660 .PHONY: stage1-bubble
52661 stage1-bubble::
52662 @r=`${PWD_COMMAND}`; export r; \
52663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52664 if test -f stage1-lean ; then \
52665 echo Skipping rebuild of stage1; \
52666 else \
52667 $(MAKE) stage1-start; \
52668 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
52671 .PHONY: all-stage1 clean-stage1
52672 do-clean: clean-stage1
52674 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52675 # only possibility, but now it conflicts with no-bootstrap rules
52676 @if gcc-bootstrap
52681 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52683 .PHONY: distclean-stage1
52684 distclean-stage1::
52685 @: $(MAKE); $(stage)
52686 @test "`cat stage_last`" != stage1 || rm -f stage_last
52687 rm -rf stage1-*
52690 @endif gcc-bootstrap
52693 .PHONY: stage2-start stage2-end
52695 stage2-start::
52696 @: $(MAKE); $(stage); \
52697 echo stage2 > stage_current; \
52698 echo stage2 > stage_last; \
52699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52700 @if bfd
52701 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
52702 mkdir stage2-bfd; \
52703 mv stage2-bfd bfd; \
52704 mv stage1-bfd prev-bfd || test -f stage1-lean
52705 @endif bfd
52706 @if opcodes
52707 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
52708 mkdir stage2-opcodes; \
52709 mv stage2-opcodes opcodes; \
52710 mv stage1-opcodes prev-opcodes || test -f stage1-lean
52711 @endif opcodes
52712 @if binutils
52713 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
52714 mkdir stage2-binutils; \
52715 mv stage2-binutils binutils; \
52716 mv stage1-binutils prev-binutils || test -f stage1-lean
52717 @endif binutils
52718 @if fixincludes
52719 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
52720 mkdir stage2-fixincludes; \
52721 mv stage2-fixincludes fixincludes; \
52722 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
52723 @endif fixincludes
52724 @if gas
52725 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
52726 mkdir stage2-gas; \
52727 mv stage2-gas gas; \
52728 mv stage1-gas prev-gas || test -f stage1-lean
52729 @endif gas
52730 @if gcc
52731 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
52732 mkdir stage2-gcc; \
52733 mv stage2-gcc gcc; \
52734 mv stage1-gcc prev-gcc || test -f stage1-lean
52735 @endif gcc
52736 @if gmp
52737 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
52738 mkdir stage2-gmp; \
52739 mv stage2-gmp gmp; \
52740 mv stage1-gmp prev-gmp || test -f stage1-lean
52741 @endif gmp
52742 @if mpfr
52743 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
52744 mkdir stage2-mpfr; \
52745 mv stage2-mpfr mpfr; \
52746 mv stage1-mpfr prev-mpfr || test -f stage1-lean
52747 @endif mpfr
52748 @if mpc
52749 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
52750 mkdir stage2-mpc; \
52751 mv stage2-mpc mpc; \
52752 mv stage1-mpc prev-mpc || test -f stage1-lean
52753 @endif mpc
52754 @if isl
52755 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
52756 mkdir stage2-isl; \
52757 mv stage2-isl isl; \
52758 mv stage1-isl prev-isl || test -f stage1-lean
52759 @endif isl
52760 @if libelf
52761 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
52762 mkdir stage2-libelf; \
52763 mv stage2-libelf libelf; \
52764 mv stage1-libelf prev-libelf || test -f stage1-lean
52765 @endif libelf
52766 @if gold
52767 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
52768 mkdir stage2-gold; \
52769 mv stage2-gold gold; \
52770 mv stage1-gold prev-gold || test -f stage1-lean
52771 @endif gold
52772 @if intl
52773 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
52774 mkdir stage2-intl; \
52775 mv stage2-intl intl; \
52776 mv stage1-intl prev-intl || test -f stage1-lean
52777 @endif intl
52778 @if ld
52779 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
52780 mkdir stage2-ld; \
52781 mv stage2-ld ld; \
52782 mv stage1-ld prev-ld || test -f stage1-lean
52783 @endif ld
52784 @if libbacktrace
52785 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
52786 mkdir stage2-libbacktrace; \
52787 mv stage2-libbacktrace libbacktrace; \
52788 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
52789 @endif libbacktrace
52790 @if libcpp
52791 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
52792 mkdir stage2-libcpp; \
52793 mv stage2-libcpp libcpp; \
52794 mv stage1-libcpp prev-libcpp || test -f stage1-lean
52795 @endif libcpp
52796 @if libdecnumber
52797 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
52798 mkdir stage2-libdecnumber; \
52799 mv stage2-libdecnumber libdecnumber; \
52800 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
52801 @endif libdecnumber
52802 @if libiberty
52803 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
52804 mkdir stage2-libiberty; \
52805 mv stage2-libiberty libiberty; \
52806 mv stage1-libiberty prev-libiberty || test -f stage1-lean
52807 @endif libiberty
52808 @if libiberty-linker-plugin
52809 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
52810 mkdir stage2-libiberty-linker-plugin; \
52811 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
52812 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
52813 @endif libiberty-linker-plugin
52814 @if libiconv
52815 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
52816 mkdir stage2-libiconv; \
52817 mv stage2-libiconv libiconv; \
52818 mv stage1-libiconv prev-libiconv || test -f stage1-lean
52819 @endif libiconv
52820 @if zlib
52821 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
52822 mkdir stage2-zlib; \
52823 mv stage2-zlib zlib; \
52824 mv stage1-zlib prev-zlib || test -f stage1-lean
52825 @endif zlib
52826 @if lto-plugin
52827 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
52828 mkdir stage2-lto-plugin; \
52829 mv stage2-lto-plugin lto-plugin; \
52830 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
52831 @endif lto-plugin
52832 @[ -d stage2-$(TARGET_SUBDIR) ] || \
52833 mkdir stage2-$(TARGET_SUBDIR); \
52834 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
52835 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
52837 stage2-end::
52838 @if bfd
52839 @if test -d $(HOST_SUBDIR)/bfd; then \
52840 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
52841 mv prev-bfd stage1-bfd; : ; \
52843 @endif bfd
52844 @if opcodes
52845 @if test -d $(HOST_SUBDIR)/opcodes; then \
52846 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
52847 mv prev-opcodes stage1-opcodes; : ; \
52849 @endif opcodes
52850 @if binutils
52851 @if test -d $(HOST_SUBDIR)/binutils; then \
52852 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
52853 mv prev-binutils stage1-binutils; : ; \
52855 @endif binutils
52856 @if fixincludes
52857 @if test -d $(HOST_SUBDIR)/fixincludes; then \
52858 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
52859 mv prev-fixincludes stage1-fixincludes; : ; \
52861 @endif fixincludes
52862 @if gas
52863 @if test -d $(HOST_SUBDIR)/gas; then \
52864 cd $(HOST_SUBDIR); mv gas stage2-gas; \
52865 mv prev-gas stage1-gas; : ; \
52867 @endif gas
52868 @if gcc
52869 @if test -d $(HOST_SUBDIR)/gcc; then \
52870 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
52871 mv prev-gcc stage1-gcc; : ; \
52873 @endif gcc
52874 @if gmp
52875 @if test -d $(HOST_SUBDIR)/gmp; then \
52876 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
52877 mv prev-gmp stage1-gmp; : ; \
52879 @endif gmp
52880 @if mpfr
52881 @if test -d $(HOST_SUBDIR)/mpfr; then \
52882 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
52883 mv prev-mpfr stage1-mpfr; : ; \
52885 @endif mpfr
52886 @if mpc
52887 @if test -d $(HOST_SUBDIR)/mpc; then \
52888 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
52889 mv prev-mpc stage1-mpc; : ; \
52891 @endif mpc
52892 @if isl
52893 @if test -d $(HOST_SUBDIR)/isl; then \
52894 cd $(HOST_SUBDIR); mv isl stage2-isl; \
52895 mv prev-isl stage1-isl; : ; \
52897 @endif isl
52898 @if libelf
52899 @if test -d $(HOST_SUBDIR)/libelf; then \
52900 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
52901 mv prev-libelf stage1-libelf; : ; \
52903 @endif libelf
52904 @if gold
52905 @if test -d $(HOST_SUBDIR)/gold; then \
52906 cd $(HOST_SUBDIR); mv gold stage2-gold; \
52907 mv prev-gold stage1-gold; : ; \
52909 @endif gold
52910 @if intl
52911 @if test -d $(HOST_SUBDIR)/intl; then \
52912 cd $(HOST_SUBDIR); mv intl stage2-intl; \
52913 mv prev-intl stage1-intl; : ; \
52915 @endif intl
52916 @if ld
52917 @if test -d $(HOST_SUBDIR)/ld; then \
52918 cd $(HOST_SUBDIR); mv ld stage2-ld; \
52919 mv prev-ld stage1-ld; : ; \
52921 @endif ld
52922 @if libbacktrace
52923 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
52924 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
52925 mv prev-libbacktrace stage1-libbacktrace; : ; \
52927 @endif libbacktrace
52928 @if libcpp
52929 @if test -d $(HOST_SUBDIR)/libcpp; then \
52930 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
52931 mv prev-libcpp stage1-libcpp; : ; \
52933 @endif libcpp
52934 @if libdecnumber
52935 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
52936 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
52937 mv prev-libdecnumber stage1-libdecnumber; : ; \
52939 @endif libdecnumber
52940 @if libiberty
52941 @if test -d $(HOST_SUBDIR)/libiberty; then \
52942 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
52943 mv prev-libiberty stage1-libiberty; : ; \
52945 @endif libiberty
52946 @if libiberty-linker-plugin
52947 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
52948 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
52949 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
52951 @endif libiberty-linker-plugin
52952 @if libiconv
52953 @if test -d $(HOST_SUBDIR)/libiconv; then \
52954 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
52955 mv prev-libiconv stage1-libiconv; : ; \
52957 @endif libiconv
52958 @if zlib
52959 @if test -d $(HOST_SUBDIR)/zlib; then \
52960 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
52961 mv prev-zlib stage1-zlib; : ; \
52963 @endif zlib
52964 @if lto-plugin
52965 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
52966 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
52967 mv prev-lto-plugin stage1-lto-plugin; : ; \
52969 @endif lto-plugin
52970 @if test -d $(TARGET_SUBDIR); then \
52971 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
52972 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
52974 rm -f stage_current
52976 # Bubble a bug fix through all the stages up to stage 2. They are
52977 # remade, but not reconfigured. The next stage (if any) will not be
52978 # reconfigured either.
52979 .PHONY: stage2-bubble
52980 stage2-bubble:: stage1-bubble
52981 @r=`${PWD_COMMAND}`; export r; \
52982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52983 if test -f stage2-lean || test -f stage1-lean ; then \
52984 echo Skipping rebuild of stage2; \
52985 else \
52986 $(MAKE) stage2-start; \
52987 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
52990 .PHONY: all-stage2 clean-stage2
52991 do-clean: clean-stage2
52993 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52994 # only possibility, but now it conflicts with no-bootstrap rules
52995 @if gcc-bootstrap
52999 .PHONY: bootstrap2 bootstrap2-lean
53000 bootstrap2:
53001 echo stage2 > stage_final
53002 @r=`${PWD_COMMAND}`; export r; \
53003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53004 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
53005 @: $(MAKE); $(unstage)
53006 @r=`${PWD_COMMAND}`; export r; \
53007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53008 TFLAGS="$(STAGE2_TFLAGS)"; \
53009 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53011 bootstrap2-lean:
53012 echo stage2 > stage_final
53013 @r=`${PWD_COMMAND}`; export r; \
53014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53015 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
53016 @: $(MAKE); $(unstage)
53017 @r=`${PWD_COMMAND}`; export r; \
53018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53019 TFLAGS="$(STAGE2_TFLAGS)"; \
53020 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53023 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53024 distclean-stage1:: distclean-stage2
53025 .PHONY: distclean-stage2
53026 distclean-stage2::
53027 @: $(MAKE); $(stage)
53028 @test "`cat stage_last`" != stage2 || rm -f stage_last
53029 rm -rf stage2-*
53032 @endif gcc-bootstrap
53035 .PHONY: stage3-start stage3-end
53037 stage3-start::
53038 @: $(MAKE); $(stage); \
53039 echo stage3 > stage_current; \
53040 echo stage3 > stage_last; \
53041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53042 @if bfd
53043 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
53044 mkdir stage3-bfd; \
53045 mv stage3-bfd bfd; \
53046 mv stage2-bfd prev-bfd || test -f stage2-lean
53047 @endif bfd
53048 @if opcodes
53049 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
53050 mkdir stage3-opcodes; \
53051 mv stage3-opcodes opcodes; \
53052 mv stage2-opcodes prev-opcodes || test -f stage2-lean
53053 @endif opcodes
53054 @if binutils
53055 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
53056 mkdir stage3-binutils; \
53057 mv stage3-binutils binutils; \
53058 mv stage2-binutils prev-binutils || test -f stage2-lean
53059 @endif binutils
53060 @if fixincludes
53061 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
53062 mkdir stage3-fixincludes; \
53063 mv stage3-fixincludes fixincludes; \
53064 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
53065 @endif fixincludes
53066 @if gas
53067 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
53068 mkdir stage3-gas; \
53069 mv stage3-gas gas; \
53070 mv stage2-gas prev-gas || test -f stage2-lean
53071 @endif gas
53072 @if gcc
53073 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
53074 mkdir stage3-gcc; \
53075 mv stage3-gcc gcc; \
53076 mv stage2-gcc prev-gcc || test -f stage2-lean
53077 @endif gcc
53078 @if gmp
53079 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
53080 mkdir stage3-gmp; \
53081 mv stage3-gmp gmp; \
53082 mv stage2-gmp prev-gmp || test -f stage2-lean
53083 @endif gmp
53084 @if mpfr
53085 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
53086 mkdir stage3-mpfr; \
53087 mv stage3-mpfr mpfr; \
53088 mv stage2-mpfr prev-mpfr || test -f stage2-lean
53089 @endif mpfr
53090 @if mpc
53091 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
53092 mkdir stage3-mpc; \
53093 mv stage3-mpc mpc; \
53094 mv stage2-mpc prev-mpc || test -f stage2-lean
53095 @endif mpc
53096 @if isl
53097 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
53098 mkdir stage3-isl; \
53099 mv stage3-isl isl; \
53100 mv stage2-isl prev-isl || test -f stage2-lean
53101 @endif isl
53102 @if libelf
53103 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
53104 mkdir stage3-libelf; \
53105 mv stage3-libelf libelf; \
53106 mv stage2-libelf prev-libelf || test -f stage2-lean
53107 @endif libelf
53108 @if gold
53109 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
53110 mkdir stage3-gold; \
53111 mv stage3-gold gold; \
53112 mv stage2-gold prev-gold || test -f stage2-lean
53113 @endif gold
53114 @if intl
53115 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
53116 mkdir stage3-intl; \
53117 mv stage3-intl intl; \
53118 mv stage2-intl prev-intl || test -f stage2-lean
53119 @endif intl
53120 @if ld
53121 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
53122 mkdir stage3-ld; \
53123 mv stage3-ld ld; \
53124 mv stage2-ld prev-ld || test -f stage2-lean
53125 @endif ld
53126 @if libbacktrace
53127 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
53128 mkdir stage3-libbacktrace; \
53129 mv stage3-libbacktrace libbacktrace; \
53130 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
53131 @endif libbacktrace
53132 @if libcpp
53133 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
53134 mkdir stage3-libcpp; \
53135 mv stage3-libcpp libcpp; \
53136 mv stage2-libcpp prev-libcpp || test -f stage2-lean
53137 @endif libcpp
53138 @if libdecnumber
53139 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
53140 mkdir stage3-libdecnumber; \
53141 mv stage3-libdecnumber libdecnumber; \
53142 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
53143 @endif libdecnumber
53144 @if libiberty
53145 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
53146 mkdir stage3-libiberty; \
53147 mv stage3-libiberty libiberty; \
53148 mv stage2-libiberty prev-libiberty || test -f stage2-lean
53149 @endif libiberty
53150 @if libiberty-linker-plugin
53151 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
53152 mkdir stage3-libiberty-linker-plugin; \
53153 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
53154 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
53155 @endif libiberty-linker-plugin
53156 @if libiconv
53157 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
53158 mkdir stage3-libiconv; \
53159 mv stage3-libiconv libiconv; \
53160 mv stage2-libiconv prev-libiconv || test -f stage2-lean
53161 @endif libiconv
53162 @if zlib
53163 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
53164 mkdir stage3-zlib; \
53165 mv stage3-zlib zlib; \
53166 mv stage2-zlib prev-zlib || test -f stage2-lean
53167 @endif zlib
53168 @if lto-plugin
53169 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
53170 mkdir stage3-lto-plugin; \
53171 mv stage3-lto-plugin lto-plugin; \
53172 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
53173 @endif lto-plugin
53174 @[ -d stage3-$(TARGET_SUBDIR) ] || \
53175 mkdir stage3-$(TARGET_SUBDIR); \
53176 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53177 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
53179 stage3-end::
53180 @if bfd
53181 @if test -d $(HOST_SUBDIR)/bfd; then \
53182 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
53183 mv prev-bfd stage2-bfd; : ; \
53185 @endif bfd
53186 @if opcodes
53187 @if test -d $(HOST_SUBDIR)/opcodes; then \
53188 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
53189 mv prev-opcodes stage2-opcodes; : ; \
53191 @endif opcodes
53192 @if binutils
53193 @if test -d $(HOST_SUBDIR)/binutils; then \
53194 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
53195 mv prev-binutils stage2-binutils; : ; \
53197 @endif binutils
53198 @if fixincludes
53199 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53200 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
53201 mv prev-fixincludes stage2-fixincludes; : ; \
53203 @endif fixincludes
53204 @if gas
53205 @if test -d $(HOST_SUBDIR)/gas; then \
53206 cd $(HOST_SUBDIR); mv gas stage3-gas; \
53207 mv prev-gas stage2-gas; : ; \
53209 @endif gas
53210 @if gcc
53211 @if test -d $(HOST_SUBDIR)/gcc; then \
53212 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
53213 mv prev-gcc stage2-gcc; : ; \
53215 @endif gcc
53216 @if gmp
53217 @if test -d $(HOST_SUBDIR)/gmp; then \
53218 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
53219 mv prev-gmp stage2-gmp; : ; \
53221 @endif gmp
53222 @if mpfr
53223 @if test -d $(HOST_SUBDIR)/mpfr; then \
53224 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
53225 mv prev-mpfr stage2-mpfr; : ; \
53227 @endif mpfr
53228 @if mpc
53229 @if test -d $(HOST_SUBDIR)/mpc; then \
53230 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
53231 mv prev-mpc stage2-mpc; : ; \
53233 @endif mpc
53234 @if isl
53235 @if test -d $(HOST_SUBDIR)/isl; then \
53236 cd $(HOST_SUBDIR); mv isl stage3-isl; \
53237 mv prev-isl stage2-isl; : ; \
53239 @endif isl
53240 @if libelf
53241 @if test -d $(HOST_SUBDIR)/libelf; then \
53242 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
53243 mv prev-libelf stage2-libelf; : ; \
53245 @endif libelf
53246 @if gold
53247 @if test -d $(HOST_SUBDIR)/gold; then \
53248 cd $(HOST_SUBDIR); mv gold stage3-gold; \
53249 mv prev-gold stage2-gold; : ; \
53251 @endif gold
53252 @if intl
53253 @if test -d $(HOST_SUBDIR)/intl; then \
53254 cd $(HOST_SUBDIR); mv intl stage3-intl; \
53255 mv prev-intl stage2-intl; : ; \
53257 @endif intl
53258 @if ld
53259 @if test -d $(HOST_SUBDIR)/ld; then \
53260 cd $(HOST_SUBDIR); mv ld stage3-ld; \
53261 mv prev-ld stage2-ld; : ; \
53263 @endif ld
53264 @if libbacktrace
53265 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53266 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
53267 mv prev-libbacktrace stage2-libbacktrace; : ; \
53269 @endif libbacktrace
53270 @if libcpp
53271 @if test -d $(HOST_SUBDIR)/libcpp; then \
53272 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
53273 mv prev-libcpp stage2-libcpp; : ; \
53275 @endif libcpp
53276 @if libdecnumber
53277 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53278 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
53279 mv prev-libdecnumber stage2-libdecnumber; : ; \
53281 @endif libdecnumber
53282 @if libiberty
53283 @if test -d $(HOST_SUBDIR)/libiberty; then \
53284 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
53285 mv prev-libiberty stage2-libiberty; : ; \
53287 @endif libiberty
53288 @if libiberty-linker-plugin
53289 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53290 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
53291 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
53293 @endif libiberty-linker-plugin
53294 @if libiconv
53295 @if test -d $(HOST_SUBDIR)/libiconv; then \
53296 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
53297 mv prev-libiconv stage2-libiconv; : ; \
53299 @endif libiconv
53300 @if zlib
53301 @if test -d $(HOST_SUBDIR)/zlib; then \
53302 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
53303 mv prev-zlib stage2-zlib; : ; \
53305 @endif zlib
53306 @if lto-plugin
53307 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53308 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
53309 mv prev-lto-plugin stage2-lto-plugin; : ; \
53311 @endif lto-plugin
53312 @if test -d $(TARGET_SUBDIR); then \
53313 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
53314 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
53316 rm -f stage_current
53318 # Bubble a bug fix through all the stages up to stage 3. They are
53319 # remade, but not reconfigured. The next stage (if any) will not be
53320 # reconfigured either.
53321 .PHONY: stage3-bubble
53322 stage3-bubble:: stage2-bubble
53323 @r=`${PWD_COMMAND}`; export r; \
53324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53325 if test -f stage3-lean || test -f stage2-lean ; then \
53326 echo Skipping rebuild of stage3; \
53327 else \
53328 $(MAKE) stage3-start; \
53329 if $(LEAN); then \
53330 rm -rf stage1-*; \
53331 $(STAMP) stage1-lean; \
53332 fi; \
53333 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
53335 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
53337 .PHONY: all-stage3 clean-stage3
53338 do-clean: clean-stage3
53340 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53341 # only possibility, but now it conflicts with no-bootstrap rules
53342 @if gcc-bootstrap
53344 compare:
53345 @r=`${PWD_COMMAND}`; export r; \
53346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53347 if test -f stage2-lean; then \
53348 echo Cannot compare object files as stage 2 was deleted.; \
53349 exit 0; \
53350 fi; \
53351 : $(MAKE); $(stage); \
53352 rm -f .bad_compare; \
53353 echo Comparing stages 2 and 3; \
53354 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
53355 files=`find stage3-* -name "*$(objext)" -print | \
53356 sed -n s,^stage$$sed-,,p`; \
53357 for file in $${files}; do \
53358 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
53359 if test ! -f $$f1; then continue; fi; \
53360 $(do-compare) > /dev/null 2>&1; \
53361 if test $$? -eq 1; then \
53362 case $$file in \
53363 @compare_exclusions@) \
53364 echo warning: $$file differs ;; \
53365 *) \
53366 echo $$file differs >> .bad_compare ;; \
53367 esac; \
53368 fi; \
53369 done; \
53370 if [ -f .bad_compare ]; then \
53371 echo "Bootstrap comparison failure!"; \
53372 cat .bad_compare; \
53373 exit 1; \
53374 else \
53375 echo Comparison successful.; \
53376 fi; \
53377 $(STAMP) compare
53378 if $(LEAN); then \
53379 rm -rf stage2-*; \
53380 $(STAMP) stage2-lean; \
53385 .PHONY: bootstrap bootstrap-lean
53386 bootstrap:
53387 echo stage3 > stage_final
53388 @r=`${PWD_COMMAND}`; export r; \
53389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53390 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53391 @: $(MAKE); $(unstage)
53392 @r=`${PWD_COMMAND}`; export r; \
53393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53394 TFLAGS="$(STAGE3_TFLAGS)"; \
53395 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53397 bootstrap-lean:
53398 echo stage3 > stage_final
53399 @r=`${PWD_COMMAND}`; export r; \
53400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53401 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
53402 @: $(MAKE); $(unstage)
53403 @r=`${PWD_COMMAND}`; export r; \
53404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53405 TFLAGS="$(STAGE3_TFLAGS)"; \
53406 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53409 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53410 distclean-stage2:: distclean-stage3
53411 .PHONY: distclean-stage3
53412 distclean-stage3::
53413 @: $(MAKE); $(stage)
53414 @test "`cat stage_last`" != stage3 || rm -f stage_last
53415 rm -rf stage3-* compare
53418 .PHONY: cleanstrap
53419 cleanstrap: do-distclean local-clean
53420 echo stage3 > stage_final
53421 @r=`${PWD_COMMAND}`; export r; \
53422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53423 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53424 @: $(MAKE); $(unstage)
53425 @r=`${PWD_COMMAND}`; export r; \
53426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53427 TFLAGS="$(STAGE3_TFLAGS)"; \
53428 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53430 @endif gcc-bootstrap
53433 .PHONY: stage4-start stage4-end
53435 stage4-start::
53436 @: $(MAKE); $(stage); \
53437 echo stage4 > stage_current; \
53438 echo stage4 > stage_last; \
53439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53440 @if bfd
53441 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
53442 mkdir stage4-bfd; \
53443 mv stage4-bfd bfd; \
53444 mv stage3-bfd prev-bfd || test -f stage3-lean
53445 @endif bfd
53446 @if opcodes
53447 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
53448 mkdir stage4-opcodes; \
53449 mv stage4-opcodes opcodes; \
53450 mv stage3-opcodes prev-opcodes || test -f stage3-lean
53451 @endif opcodes
53452 @if binutils
53453 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
53454 mkdir stage4-binutils; \
53455 mv stage4-binutils binutils; \
53456 mv stage3-binutils prev-binutils || test -f stage3-lean
53457 @endif binutils
53458 @if fixincludes
53459 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
53460 mkdir stage4-fixincludes; \
53461 mv stage4-fixincludes fixincludes; \
53462 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
53463 @endif fixincludes
53464 @if gas
53465 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
53466 mkdir stage4-gas; \
53467 mv stage4-gas gas; \
53468 mv stage3-gas prev-gas || test -f stage3-lean
53469 @endif gas
53470 @if gcc
53471 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
53472 mkdir stage4-gcc; \
53473 mv stage4-gcc gcc; \
53474 mv stage3-gcc prev-gcc || test -f stage3-lean
53475 @endif gcc
53476 @if gmp
53477 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
53478 mkdir stage4-gmp; \
53479 mv stage4-gmp gmp; \
53480 mv stage3-gmp prev-gmp || test -f stage3-lean
53481 @endif gmp
53482 @if mpfr
53483 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
53484 mkdir stage4-mpfr; \
53485 mv stage4-mpfr mpfr; \
53486 mv stage3-mpfr prev-mpfr || test -f stage3-lean
53487 @endif mpfr
53488 @if mpc
53489 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
53490 mkdir stage4-mpc; \
53491 mv stage4-mpc mpc; \
53492 mv stage3-mpc prev-mpc || test -f stage3-lean
53493 @endif mpc
53494 @if isl
53495 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
53496 mkdir stage4-isl; \
53497 mv stage4-isl isl; \
53498 mv stage3-isl prev-isl || test -f stage3-lean
53499 @endif isl
53500 @if libelf
53501 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
53502 mkdir stage4-libelf; \
53503 mv stage4-libelf libelf; \
53504 mv stage3-libelf prev-libelf || test -f stage3-lean
53505 @endif libelf
53506 @if gold
53507 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
53508 mkdir stage4-gold; \
53509 mv stage4-gold gold; \
53510 mv stage3-gold prev-gold || test -f stage3-lean
53511 @endif gold
53512 @if intl
53513 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
53514 mkdir stage4-intl; \
53515 mv stage4-intl intl; \
53516 mv stage3-intl prev-intl || test -f stage3-lean
53517 @endif intl
53518 @if ld
53519 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
53520 mkdir stage4-ld; \
53521 mv stage4-ld ld; \
53522 mv stage3-ld prev-ld || test -f stage3-lean
53523 @endif ld
53524 @if libbacktrace
53525 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
53526 mkdir stage4-libbacktrace; \
53527 mv stage4-libbacktrace libbacktrace; \
53528 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
53529 @endif libbacktrace
53530 @if libcpp
53531 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
53532 mkdir stage4-libcpp; \
53533 mv stage4-libcpp libcpp; \
53534 mv stage3-libcpp prev-libcpp || test -f stage3-lean
53535 @endif libcpp
53536 @if libdecnumber
53537 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
53538 mkdir stage4-libdecnumber; \
53539 mv stage4-libdecnumber libdecnumber; \
53540 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
53541 @endif libdecnumber
53542 @if libiberty
53543 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
53544 mkdir stage4-libiberty; \
53545 mv stage4-libiberty libiberty; \
53546 mv stage3-libiberty prev-libiberty || test -f stage3-lean
53547 @endif libiberty
53548 @if libiberty-linker-plugin
53549 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
53550 mkdir stage4-libiberty-linker-plugin; \
53551 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
53552 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
53553 @endif libiberty-linker-plugin
53554 @if libiconv
53555 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
53556 mkdir stage4-libiconv; \
53557 mv stage4-libiconv libiconv; \
53558 mv stage3-libiconv prev-libiconv || test -f stage3-lean
53559 @endif libiconv
53560 @if zlib
53561 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
53562 mkdir stage4-zlib; \
53563 mv stage4-zlib zlib; \
53564 mv stage3-zlib prev-zlib || test -f stage3-lean
53565 @endif zlib
53566 @if lto-plugin
53567 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
53568 mkdir stage4-lto-plugin; \
53569 mv stage4-lto-plugin lto-plugin; \
53570 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
53571 @endif lto-plugin
53572 @[ -d stage4-$(TARGET_SUBDIR) ] || \
53573 mkdir stage4-$(TARGET_SUBDIR); \
53574 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53575 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
53577 stage4-end::
53578 @if bfd
53579 @if test -d $(HOST_SUBDIR)/bfd; then \
53580 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
53581 mv prev-bfd stage3-bfd; : ; \
53583 @endif bfd
53584 @if opcodes
53585 @if test -d $(HOST_SUBDIR)/opcodes; then \
53586 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
53587 mv prev-opcodes stage3-opcodes; : ; \
53589 @endif opcodes
53590 @if binutils
53591 @if test -d $(HOST_SUBDIR)/binutils; then \
53592 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
53593 mv prev-binutils stage3-binutils; : ; \
53595 @endif binutils
53596 @if fixincludes
53597 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53598 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
53599 mv prev-fixincludes stage3-fixincludes; : ; \
53601 @endif fixincludes
53602 @if gas
53603 @if test -d $(HOST_SUBDIR)/gas; then \
53604 cd $(HOST_SUBDIR); mv gas stage4-gas; \
53605 mv prev-gas stage3-gas; : ; \
53607 @endif gas
53608 @if gcc
53609 @if test -d $(HOST_SUBDIR)/gcc; then \
53610 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
53611 mv prev-gcc stage3-gcc; : ; \
53613 @endif gcc
53614 @if gmp
53615 @if test -d $(HOST_SUBDIR)/gmp; then \
53616 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
53617 mv prev-gmp stage3-gmp; : ; \
53619 @endif gmp
53620 @if mpfr
53621 @if test -d $(HOST_SUBDIR)/mpfr; then \
53622 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
53623 mv prev-mpfr stage3-mpfr; : ; \
53625 @endif mpfr
53626 @if mpc
53627 @if test -d $(HOST_SUBDIR)/mpc; then \
53628 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
53629 mv prev-mpc stage3-mpc; : ; \
53631 @endif mpc
53632 @if isl
53633 @if test -d $(HOST_SUBDIR)/isl; then \
53634 cd $(HOST_SUBDIR); mv isl stage4-isl; \
53635 mv prev-isl stage3-isl; : ; \
53637 @endif isl
53638 @if libelf
53639 @if test -d $(HOST_SUBDIR)/libelf; then \
53640 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
53641 mv prev-libelf stage3-libelf; : ; \
53643 @endif libelf
53644 @if gold
53645 @if test -d $(HOST_SUBDIR)/gold; then \
53646 cd $(HOST_SUBDIR); mv gold stage4-gold; \
53647 mv prev-gold stage3-gold; : ; \
53649 @endif gold
53650 @if intl
53651 @if test -d $(HOST_SUBDIR)/intl; then \
53652 cd $(HOST_SUBDIR); mv intl stage4-intl; \
53653 mv prev-intl stage3-intl; : ; \
53655 @endif intl
53656 @if ld
53657 @if test -d $(HOST_SUBDIR)/ld; then \
53658 cd $(HOST_SUBDIR); mv ld stage4-ld; \
53659 mv prev-ld stage3-ld; : ; \
53661 @endif ld
53662 @if libbacktrace
53663 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53664 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
53665 mv prev-libbacktrace stage3-libbacktrace; : ; \
53667 @endif libbacktrace
53668 @if libcpp
53669 @if test -d $(HOST_SUBDIR)/libcpp; then \
53670 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
53671 mv prev-libcpp stage3-libcpp; : ; \
53673 @endif libcpp
53674 @if libdecnumber
53675 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53676 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
53677 mv prev-libdecnumber stage3-libdecnumber; : ; \
53679 @endif libdecnumber
53680 @if libiberty
53681 @if test -d $(HOST_SUBDIR)/libiberty; then \
53682 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
53683 mv prev-libiberty stage3-libiberty; : ; \
53685 @endif libiberty
53686 @if libiberty-linker-plugin
53687 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53688 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
53689 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
53691 @endif libiberty-linker-plugin
53692 @if libiconv
53693 @if test -d $(HOST_SUBDIR)/libiconv; then \
53694 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
53695 mv prev-libiconv stage3-libiconv; : ; \
53697 @endif libiconv
53698 @if zlib
53699 @if test -d $(HOST_SUBDIR)/zlib; then \
53700 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
53701 mv prev-zlib stage3-zlib; : ; \
53703 @endif zlib
53704 @if lto-plugin
53705 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53706 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
53707 mv prev-lto-plugin stage3-lto-plugin; : ; \
53709 @endif lto-plugin
53710 @if test -d $(TARGET_SUBDIR); then \
53711 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
53712 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
53714 rm -f stage_current
53716 # Bubble a bug fix through all the stages up to stage 4. They are
53717 # remade, but not reconfigured. The next stage (if any) will not be
53718 # reconfigured either.
53719 .PHONY: stage4-bubble
53720 stage4-bubble:: stage3-bubble
53721 @r=`${PWD_COMMAND}`; export r; \
53722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53723 if test -f stage4-lean || test -f stage3-lean ; then \
53724 echo Skipping rebuild of stage4; \
53725 else \
53726 $(MAKE) stage4-start; \
53727 if $(LEAN); then \
53728 rm -rf stage2-*; \
53729 $(STAMP) stage2-lean; \
53730 fi; \
53731 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
53733 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
53735 .PHONY: all-stage4 clean-stage4
53736 do-clean: clean-stage4
53738 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53739 # only possibility, but now it conflicts with no-bootstrap rules
53740 @if gcc-bootstrap
53742 compare3:
53743 @r=`${PWD_COMMAND}`; export r; \
53744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53745 if test -f stage3-lean; then \
53746 echo Cannot compare object files as stage 3 was deleted.; \
53747 exit 0; \
53748 fi; \
53749 : $(MAKE); $(stage); \
53750 rm -f .bad_compare; \
53751 echo Comparing stages 3 and 4; \
53752 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
53753 files=`find stage4-* -name "*$(objext)" -print | \
53754 sed -n s,^stage$$sed-,,p`; \
53755 for file in $${files}; do \
53756 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
53757 if test ! -f $$f1; then continue; fi; \
53758 $(do-compare3) > /dev/null 2>&1; \
53759 if test $$? -eq 1; then \
53760 case $$file in \
53761 @compare_exclusions@) \
53762 echo warning: $$file differs ;; \
53763 *) \
53764 echo $$file differs >> .bad_compare ;; \
53765 esac; \
53766 fi; \
53767 done; \
53768 if [ -f .bad_compare ]; then \
53769 echo "Bootstrap comparison failure!"; \
53770 cat .bad_compare; \
53771 exit 1; \
53772 else \
53773 echo Comparison successful.; \
53774 fi; \
53775 $(STAMP) compare3
53776 if $(LEAN); then \
53777 rm -rf stage3-*; \
53778 $(STAMP) stage3-lean; \
53783 .PHONY: bootstrap4 bootstrap4-lean
53784 bootstrap4:
53785 echo stage4 > stage_final
53786 @r=`${PWD_COMMAND}`; export r; \
53787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53788 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
53789 @: $(MAKE); $(unstage)
53790 @r=`${PWD_COMMAND}`; export r; \
53791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53792 TFLAGS="$(STAGE4_TFLAGS)"; \
53793 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53795 bootstrap4-lean:
53796 echo stage4 > stage_final
53797 @r=`${PWD_COMMAND}`; export r; \
53798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
53800 @: $(MAKE); $(unstage)
53801 @r=`${PWD_COMMAND}`; export r; \
53802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53803 TFLAGS="$(STAGE4_TFLAGS)"; \
53804 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53807 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53808 distclean-stage3:: distclean-stage4
53809 .PHONY: distclean-stage4
53810 distclean-stage4::
53811 @: $(MAKE); $(stage)
53812 @test "`cat stage_last`" != stage4 || rm -f stage_last
53813 rm -rf stage4-* compare3
53816 @endif gcc-bootstrap
53819 .PHONY: stageprofile-start stageprofile-end
53821 stageprofile-start::
53822 @: $(MAKE); $(stage); \
53823 echo stageprofile > stage_current; \
53824 echo stageprofile > stage_last; \
53825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53826 @if bfd
53827 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
53828 mkdir stageprofile-bfd; \
53829 mv stageprofile-bfd bfd; \
53830 mv stage1-bfd prev-bfd || test -f stage1-lean
53831 @endif bfd
53832 @if opcodes
53833 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
53834 mkdir stageprofile-opcodes; \
53835 mv stageprofile-opcodes opcodes; \
53836 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53837 @endif opcodes
53838 @if binutils
53839 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
53840 mkdir stageprofile-binutils; \
53841 mv stageprofile-binutils binutils; \
53842 mv stage1-binutils prev-binutils || test -f stage1-lean
53843 @endif binutils
53844 @if fixincludes
53845 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
53846 mkdir stageprofile-fixincludes; \
53847 mv stageprofile-fixincludes fixincludes; \
53848 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
53849 @endif fixincludes
53850 @if gas
53851 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
53852 mkdir stageprofile-gas; \
53853 mv stageprofile-gas gas; \
53854 mv stage1-gas prev-gas || test -f stage1-lean
53855 @endif gas
53856 @if gcc
53857 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
53858 mkdir stageprofile-gcc; \
53859 mv stageprofile-gcc gcc; \
53860 mv stage1-gcc prev-gcc || test -f stage1-lean
53861 @endif gcc
53862 @if gmp
53863 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
53864 mkdir stageprofile-gmp; \
53865 mv stageprofile-gmp gmp; \
53866 mv stage1-gmp prev-gmp || test -f stage1-lean
53867 @endif gmp
53868 @if mpfr
53869 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
53870 mkdir stageprofile-mpfr; \
53871 mv stageprofile-mpfr mpfr; \
53872 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53873 @endif mpfr
53874 @if mpc
53875 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
53876 mkdir stageprofile-mpc; \
53877 mv stageprofile-mpc mpc; \
53878 mv stage1-mpc prev-mpc || test -f stage1-lean
53879 @endif mpc
53880 @if isl
53881 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
53882 mkdir stageprofile-isl; \
53883 mv stageprofile-isl isl; \
53884 mv stage1-isl prev-isl || test -f stage1-lean
53885 @endif isl
53886 @if libelf
53887 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
53888 mkdir stageprofile-libelf; \
53889 mv stageprofile-libelf libelf; \
53890 mv stage1-libelf prev-libelf || test -f stage1-lean
53891 @endif libelf
53892 @if gold
53893 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
53894 mkdir stageprofile-gold; \
53895 mv stageprofile-gold gold; \
53896 mv stage1-gold prev-gold || test -f stage1-lean
53897 @endif gold
53898 @if intl
53899 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
53900 mkdir stageprofile-intl; \
53901 mv stageprofile-intl intl; \
53902 mv stage1-intl prev-intl || test -f stage1-lean
53903 @endif intl
53904 @if ld
53905 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
53906 mkdir stageprofile-ld; \
53907 mv stageprofile-ld ld; \
53908 mv stage1-ld prev-ld || test -f stage1-lean
53909 @endif ld
53910 @if libbacktrace
53911 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
53912 mkdir stageprofile-libbacktrace; \
53913 mv stageprofile-libbacktrace libbacktrace; \
53914 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
53915 @endif libbacktrace
53916 @if libcpp
53917 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
53918 mkdir stageprofile-libcpp; \
53919 mv stageprofile-libcpp libcpp; \
53920 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53921 @endif libcpp
53922 @if libdecnumber
53923 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
53924 mkdir stageprofile-libdecnumber; \
53925 mv stageprofile-libdecnumber libdecnumber; \
53926 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53927 @endif libdecnumber
53928 @if libiberty
53929 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
53930 mkdir stageprofile-libiberty; \
53931 mv stageprofile-libiberty libiberty; \
53932 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53933 @endif libiberty
53934 @if libiberty-linker-plugin
53935 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
53936 mkdir stageprofile-libiberty-linker-plugin; \
53937 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
53938 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
53939 @endif libiberty-linker-plugin
53940 @if libiconv
53941 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
53942 mkdir stageprofile-libiconv; \
53943 mv stageprofile-libiconv libiconv; \
53944 mv stage1-libiconv prev-libiconv || test -f stage1-lean
53945 @endif libiconv
53946 @if zlib
53947 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
53948 mkdir stageprofile-zlib; \
53949 mv stageprofile-zlib zlib; \
53950 mv stage1-zlib prev-zlib || test -f stage1-lean
53951 @endif zlib
53952 @if lto-plugin
53953 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
53954 mkdir stageprofile-lto-plugin; \
53955 mv stageprofile-lto-plugin lto-plugin; \
53956 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
53957 @endif lto-plugin
53958 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
53959 mkdir stageprofile-$(TARGET_SUBDIR); \
53960 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53961 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53963 stageprofile-end::
53964 @if bfd
53965 @if test -d $(HOST_SUBDIR)/bfd; then \
53966 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
53967 mv prev-bfd stage1-bfd; : ; \
53969 @endif bfd
53970 @if opcodes
53971 @if test -d $(HOST_SUBDIR)/opcodes; then \
53972 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
53973 mv prev-opcodes stage1-opcodes; : ; \
53975 @endif opcodes
53976 @if binutils
53977 @if test -d $(HOST_SUBDIR)/binutils; then \
53978 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
53979 mv prev-binutils stage1-binutils; : ; \
53981 @endif binutils
53982 @if fixincludes
53983 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53984 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
53985 mv prev-fixincludes stage1-fixincludes; : ; \
53987 @endif fixincludes
53988 @if gas
53989 @if test -d $(HOST_SUBDIR)/gas; then \
53990 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
53991 mv prev-gas stage1-gas; : ; \
53993 @endif gas
53994 @if gcc
53995 @if test -d $(HOST_SUBDIR)/gcc; then \
53996 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
53997 mv prev-gcc stage1-gcc; : ; \
53999 @endif gcc
54000 @if gmp
54001 @if test -d $(HOST_SUBDIR)/gmp; then \
54002 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
54003 mv prev-gmp stage1-gmp; : ; \
54005 @endif gmp
54006 @if mpfr
54007 @if test -d $(HOST_SUBDIR)/mpfr; then \
54008 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
54009 mv prev-mpfr stage1-mpfr; : ; \
54011 @endif mpfr
54012 @if mpc
54013 @if test -d $(HOST_SUBDIR)/mpc; then \
54014 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
54015 mv prev-mpc stage1-mpc; : ; \
54017 @endif mpc
54018 @if isl
54019 @if test -d $(HOST_SUBDIR)/isl; then \
54020 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
54021 mv prev-isl stage1-isl; : ; \
54023 @endif isl
54024 @if libelf
54025 @if test -d $(HOST_SUBDIR)/libelf; then \
54026 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
54027 mv prev-libelf stage1-libelf; : ; \
54029 @endif libelf
54030 @if gold
54031 @if test -d $(HOST_SUBDIR)/gold; then \
54032 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
54033 mv prev-gold stage1-gold; : ; \
54035 @endif gold
54036 @if intl
54037 @if test -d $(HOST_SUBDIR)/intl; then \
54038 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
54039 mv prev-intl stage1-intl; : ; \
54041 @endif intl
54042 @if ld
54043 @if test -d $(HOST_SUBDIR)/ld; then \
54044 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
54045 mv prev-ld stage1-ld; : ; \
54047 @endif ld
54048 @if libbacktrace
54049 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54050 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
54051 mv prev-libbacktrace stage1-libbacktrace; : ; \
54053 @endif libbacktrace
54054 @if libcpp
54055 @if test -d $(HOST_SUBDIR)/libcpp; then \
54056 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
54057 mv prev-libcpp stage1-libcpp; : ; \
54059 @endif libcpp
54060 @if libdecnumber
54061 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54062 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
54063 mv prev-libdecnumber stage1-libdecnumber; : ; \
54065 @endif libdecnumber
54066 @if libiberty
54067 @if test -d $(HOST_SUBDIR)/libiberty; then \
54068 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
54069 mv prev-libiberty stage1-libiberty; : ; \
54071 @endif libiberty
54072 @if libiberty-linker-plugin
54073 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54074 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
54075 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54077 @endif libiberty-linker-plugin
54078 @if libiconv
54079 @if test -d $(HOST_SUBDIR)/libiconv; then \
54080 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
54081 mv prev-libiconv stage1-libiconv; : ; \
54083 @endif libiconv
54084 @if zlib
54085 @if test -d $(HOST_SUBDIR)/zlib; then \
54086 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
54087 mv prev-zlib stage1-zlib; : ; \
54089 @endif zlib
54090 @if lto-plugin
54091 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54092 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
54093 mv prev-lto-plugin stage1-lto-plugin; : ; \
54095 @endif lto-plugin
54096 @if test -d $(TARGET_SUBDIR); then \
54097 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
54098 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54100 rm -f stage_current
54102 # Bubble a bug fix through all the stages up to stage profile. They are
54103 # remade, but not reconfigured. The next stage (if any) will not be
54104 # reconfigured either.
54105 .PHONY: stageprofile-bubble
54106 stageprofile-bubble:: stage1-bubble
54107 @r=`${PWD_COMMAND}`; export r; \
54108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54109 if test -f stageprofile-lean || test -f stage1-lean ; then \
54110 echo Skipping rebuild of stageprofile; \
54111 else \
54112 $(MAKE) stageprofile-start; \
54113 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
54116 .PHONY: all-stageprofile clean-stageprofile
54117 do-clean: clean-stageprofile
54119 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54120 # only possibility, but now it conflicts with no-bootstrap rules
54121 @if gcc-bootstrap
54126 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54127 distclean-stage1:: distclean-stageprofile
54128 .PHONY: distclean-stageprofile
54129 distclean-stageprofile::
54130 @: $(MAKE); $(stage)
54131 @test "`cat stage_last`" != stageprofile || rm -f stage_last
54132 rm -rf stageprofile-*
54135 @endif gcc-bootstrap
54138 .PHONY: stagefeedback-start stagefeedback-end
54140 stagefeedback-start::
54141 @: $(MAKE); $(stage); \
54142 echo stagefeedback > stage_current; \
54143 echo stagefeedback > stage_last; \
54144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54145 @if bfd
54146 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
54147 mkdir stagefeedback-bfd; \
54148 mv stagefeedback-bfd bfd; \
54149 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
54150 @endif bfd
54151 @if opcodes
54152 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
54153 mkdir stagefeedback-opcodes; \
54154 mv stagefeedback-opcodes opcodes; \
54155 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
54156 @endif opcodes
54157 @if binutils
54158 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
54159 mkdir stagefeedback-binutils; \
54160 mv stagefeedback-binutils binutils; \
54161 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
54162 @endif binutils
54163 @if fixincludes
54164 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
54165 mkdir stagefeedback-fixincludes; \
54166 mv stagefeedback-fixincludes fixincludes; \
54167 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
54168 @endif fixincludes
54169 @if gas
54170 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
54171 mkdir stagefeedback-gas; \
54172 mv stagefeedback-gas gas; \
54173 mv stageprofile-gas prev-gas || test -f stageprofile-lean
54174 @endif gas
54175 @if gcc
54176 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
54177 mkdir stagefeedback-gcc; \
54178 mv stagefeedback-gcc gcc; \
54179 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
54180 @endif gcc
54181 @if gmp
54182 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
54183 mkdir stagefeedback-gmp; \
54184 mv stagefeedback-gmp gmp; \
54185 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
54186 @endif gmp
54187 @if mpfr
54188 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
54189 mkdir stagefeedback-mpfr; \
54190 mv stagefeedback-mpfr mpfr; \
54191 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
54192 @endif mpfr
54193 @if mpc
54194 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
54195 mkdir stagefeedback-mpc; \
54196 mv stagefeedback-mpc mpc; \
54197 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
54198 @endif mpc
54199 @if isl
54200 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
54201 mkdir stagefeedback-isl; \
54202 mv stagefeedback-isl isl; \
54203 mv stageprofile-isl prev-isl || test -f stageprofile-lean
54204 @endif isl
54205 @if libelf
54206 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
54207 mkdir stagefeedback-libelf; \
54208 mv stagefeedback-libelf libelf; \
54209 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
54210 @endif libelf
54211 @if gold
54212 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
54213 mkdir stagefeedback-gold; \
54214 mv stagefeedback-gold gold; \
54215 mv stageprofile-gold prev-gold || test -f stageprofile-lean
54216 @endif gold
54217 @if intl
54218 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
54219 mkdir stagefeedback-intl; \
54220 mv stagefeedback-intl intl; \
54221 mv stageprofile-intl prev-intl || test -f stageprofile-lean
54222 @endif intl
54223 @if ld
54224 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
54225 mkdir stagefeedback-ld; \
54226 mv stagefeedback-ld ld; \
54227 mv stageprofile-ld prev-ld || test -f stageprofile-lean
54228 @endif ld
54229 @if libbacktrace
54230 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
54231 mkdir stagefeedback-libbacktrace; \
54232 mv stagefeedback-libbacktrace libbacktrace; \
54233 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
54234 @endif libbacktrace
54235 @if libcpp
54236 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
54237 mkdir stagefeedback-libcpp; \
54238 mv stagefeedback-libcpp libcpp; \
54239 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
54240 @endif libcpp
54241 @if libdecnumber
54242 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
54243 mkdir stagefeedback-libdecnumber; \
54244 mv stagefeedback-libdecnumber libdecnumber; \
54245 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
54246 @endif libdecnumber
54247 @if libiberty
54248 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
54249 mkdir stagefeedback-libiberty; \
54250 mv stagefeedback-libiberty libiberty; \
54251 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
54252 @endif libiberty
54253 @if libiberty-linker-plugin
54254 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
54255 mkdir stagefeedback-libiberty-linker-plugin; \
54256 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
54257 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
54258 @endif libiberty-linker-plugin
54259 @if libiconv
54260 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
54261 mkdir stagefeedback-libiconv; \
54262 mv stagefeedback-libiconv libiconv; \
54263 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
54264 @endif libiconv
54265 @if zlib
54266 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
54267 mkdir stagefeedback-zlib; \
54268 mv stagefeedback-zlib zlib; \
54269 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
54270 @endif zlib
54271 @if lto-plugin
54272 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
54273 mkdir stagefeedback-lto-plugin; \
54274 mv stagefeedback-lto-plugin lto-plugin; \
54275 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
54276 @endif lto-plugin
54277 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
54278 mkdir stagefeedback-$(TARGET_SUBDIR); \
54279 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54280 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
54282 stagefeedback-end::
54283 @if bfd
54284 @if test -d $(HOST_SUBDIR)/bfd; then \
54285 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
54286 mv prev-bfd stageprofile-bfd; : ; \
54288 @endif bfd
54289 @if opcodes
54290 @if test -d $(HOST_SUBDIR)/opcodes; then \
54291 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
54292 mv prev-opcodes stageprofile-opcodes; : ; \
54294 @endif opcodes
54295 @if binutils
54296 @if test -d $(HOST_SUBDIR)/binutils; then \
54297 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
54298 mv prev-binutils stageprofile-binutils; : ; \
54300 @endif binutils
54301 @if fixincludes
54302 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54303 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
54304 mv prev-fixincludes stageprofile-fixincludes; : ; \
54306 @endif fixincludes
54307 @if gas
54308 @if test -d $(HOST_SUBDIR)/gas; then \
54309 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
54310 mv prev-gas stageprofile-gas; : ; \
54312 @endif gas
54313 @if gcc
54314 @if test -d $(HOST_SUBDIR)/gcc; then \
54315 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
54316 mv prev-gcc stageprofile-gcc; : ; \
54318 @endif gcc
54319 @if gmp
54320 @if test -d $(HOST_SUBDIR)/gmp; then \
54321 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
54322 mv prev-gmp stageprofile-gmp; : ; \
54324 @endif gmp
54325 @if mpfr
54326 @if test -d $(HOST_SUBDIR)/mpfr; then \
54327 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
54328 mv prev-mpfr stageprofile-mpfr; : ; \
54330 @endif mpfr
54331 @if mpc
54332 @if test -d $(HOST_SUBDIR)/mpc; then \
54333 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
54334 mv prev-mpc stageprofile-mpc; : ; \
54336 @endif mpc
54337 @if isl
54338 @if test -d $(HOST_SUBDIR)/isl; then \
54339 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
54340 mv prev-isl stageprofile-isl; : ; \
54342 @endif isl
54343 @if libelf
54344 @if test -d $(HOST_SUBDIR)/libelf; then \
54345 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
54346 mv prev-libelf stageprofile-libelf; : ; \
54348 @endif libelf
54349 @if gold
54350 @if test -d $(HOST_SUBDIR)/gold; then \
54351 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
54352 mv prev-gold stageprofile-gold; : ; \
54354 @endif gold
54355 @if intl
54356 @if test -d $(HOST_SUBDIR)/intl; then \
54357 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
54358 mv prev-intl stageprofile-intl; : ; \
54360 @endif intl
54361 @if ld
54362 @if test -d $(HOST_SUBDIR)/ld; then \
54363 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
54364 mv prev-ld stageprofile-ld; : ; \
54366 @endif ld
54367 @if libbacktrace
54368 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54369 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
54370 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
54372 @endif libbacktrace
54373 @if libcpp
54374 @if test -d $(HOST_SUBDIR)/libcpp; then \
54375 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
54376 mv prev-libcpp stageprofile-libcpp; : ; \
54378 @endif libcpp
54379 @if libdecnumber
54380 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54381 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
54382 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
54384 @endif libdecnumber
54385 @if libiberty
54386 @if test -d $(HOST_SUBDIR)/libiberty; then \
54387 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
54388 mv prev-libiberty stageprofile-libiberty; : ; \
54390 @endif libiberty
54391 @if libiberty-linker-plugin
54392 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54393 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
54394 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
54396 @endif libiberty-linker-plugin
54397 @if libiconv
54398 @if test -d $(HOST_SUBDIR)/libiconv; then \
54399 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
54400 mv prev-libiconv stageprofile-libiconv; : ; \
54402 @endif libiconv
54403 @if zlib
54404 @if test -d $(HOST_SUBDIR)/zlib; then \
54405 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
54406 mv prev-zlib stageprofile-zlib; : ; \
54408 @endif zlib
54409 @if lto-plugin
54410 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54411 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
54412 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
54414 @endif lto-plugin
54415 @if test -d $(TARGET_SUBDIR); then \
54416 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
54417 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
54419 rm -f stage_current
54421 # Bubble a bug fix through all the stages up to stage feedback. They are
54422 # remade, but not reconfigured. The next stage (if any) will not be
54423 # reconfigured either.
54424 .PHONY: stagefeedback-bubble
54425 stagefeedback-bubble:: stageprofile-bubble
54426 @r=`${PWD_COMMAND}`; export r; \
54427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54428 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
54429 echo Skipping rebuild of stagefeedback; \
54430 else \
54431 $(MAKE) stagefeedback-start; \
54432 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
54435 .PHONY: all-stagefeedback clean-stagefeedback
54436 do-clean: clean-stagefeedback
54438 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54439 # only possibility, but now it conflicts with no-bootstrap rules
54440 @if gcc-bootstrap
54444 .PHONY: profiledbootstrap profiledbootstrap-lean
54445 profiledbootstrap:
54446 echo stagefeedback > stage_final
54447 @r=`${PWD_COMMAND}`; export r; \
54448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54449 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
54450 @: $(MAKE); $(unstage)
54451 @r=`${PWD_COMMAND}`; export r; \
54452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54453 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
54454 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54456 profiledbootstrap-lean:
54457 echo stagefeedback > stage_final
54458 @r=`${PWD_COMMAND}`; export r; \
54459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54460 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
54461 @: $(MAKE); $(unstage)
54462 @r=`${PWD_COMMAND}`; export r; \
54463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54464 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
54465 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54468 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54469 distclean-stageprofile:: distclean-stagefeedback
54470 .PHONY: distclean-stagefeedback
54471 distclean-stagefeedback::
54472 @: $(MAKE); $(stage)
54473 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
54474 rm -rf stagefeedback-*
54477 @endif gcc-bootstrap
54480 .PHONY: stageautoprofile-start stageautoprofile-end
54482 stageautoprofile-start::
54483 @: $(MAKE); $(stage); \
54484 echo stageautoprofile > stage_current; \
54485 echo stageautoprofile > stage_last; \
54486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54487 @if bfd
54488 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
54489 mkdir stageautoprofile-bfd; \
54490 mv stageautoprofile-bfd bfd; \
54491 mv stage1-bfd prev-bfd || test -f stage1-lean
54492 @endif bfd
54493 @if opcodes
54494 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
54495 mkdir stageautoprofile-opcodes; \
54496 mv stageautoprofile-opcodes opcodes; \
54497 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54498 @endif opcodes
54499 @if binutils
54500 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
54501 mkdir stageautoprofile-binutils; \
54502 mv stageautoprofile-binutils binutils; \
54503 mv stage1-binutils prev-binutils || test -f stage1-lean
54504 @endif binutils
54505 @if fixincludes
54506 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
54507 mkdir stageautoprofile-fixincludes; \
54508 mv stageautoprofile-fixincludes fixincludes; \
54509 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
54510 @endif fixincludes
54511 @if gas
54512 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
54513 mkdir stageautoprofile-gas; \
54514 mv stageautoprofile-gas gas; \
54515 mv stage1-gas prev-gas || test -f stage1-lean
54516 @endif gas
54517 @if gcc
54518 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
54519 mkdir stageautoprofile-gcc; \
54520 mv stageautoprofile-gcc gcc; \
54521 mv stage1-gcc prev-gcc || test -f stage1-lean
54522 @endif gcc
54523 @if gmp
54524 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
54525 mkdir stageautoprofile-gmp; \
54526 mv stageautoprofile-gmp gmp; \
54527 mv stage1-gmp prev-gmp || test -f stage1-lean
54528 @endif gmp
54529 @if mpfr
54530 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
54531 mkdir stageautoprofile-mpfr; \
54532 mv stageautoprofile-mpfr mpfr; \
54533 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54534 @endif mpfr
54535 @if mpc
54536 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
54537 mkdir stageautoprofile-mpc; \
54538 mv stageautoprofile-mpc mpc; \
54539 mv stage1-mpc prev-mpc || test -f stage1-lean
54540 @endif mpc
54541 @if isl
54542 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
54543 mkdir stageautoprofile-isl; \
54544 mv stageautoprofile-isl isl; \
54545 mv stage1-isl prev-isl || test -f stage1-lean
54546 @endif isl
54547 @if libelf
54548 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
54549 mkdir stageautoprofile-libelf; \
54550 mv stageautoprofile-libelf libelf; \
54551 mv stage1-libelf prev-libelf || test -f stage1-lean
54552 @endif libelf
54553 @if gold
54554 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
54555 mkdir stageautoprofile-gold; \
54556 mv stageautoprofile-gold gold; \
54557 mv stage1-gold prev-gold || test -f stage1-lean
54558 @endif gold
54559 @if intl
54560 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
54561 mkdir stageautoprofile-intl; \
54562 mv stageautoprofile-intl intl; \
54563 mv stage1-intl prev-intl || test -f stage1-lean
54564 @endif intl
54565 @if ld
54566 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
54567 mkdir stageautoprofile-ld; \
54568 mv stageautoprofile-ld ld; \
54569 mv stage1-ld prev-ld || test -f stage1-lean
54570 @endif ld
54571 @if libbacktrace
54572 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
54573 mkdir stageautoprofile-libbacktrace; \
54574 mv stageautoprofile-libbacktrace libbacktrace; \
54575 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
54576 @endif libbacktrace
54577 @if libcpp
54578 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
54579 mkdir stageautoprofile-libcpp; \
54580 mv stageautoprofile-libcpp libcpp; \
54581 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54582 @endif libcpp
54583 @if libdecnumber
54584 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
54585 mkdir stageautoprofile-libdecnumber; \
54586 mv stageautoprofile-libdecnumber libdecnumber; \
54587 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54588 @endif libdecnumber
54589 @if libiberty
54590 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
54591 mkdir stageautoprofile-libiberty; \
54592 mv stageautoprofile-libiberty libiberty; \
54593 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54594 @endif libiberty
54595 @if libiberty-linker-plugin
54596 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
54597 mkdir stageautoprofile-libiberty-linker-plugin; \
54598 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
54599 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
54600 @endif libiberty-linker-plugin
54601 @if libiconv
54602 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
54603 mkdir stageautoprofile-libiconv; \
54604 mv stageautoprofile-libiconv libiconv; \
54605 mv stage1-libiconv prev-libiconv || test -f stage1-lean
54606 @endif libiconv
54607 @if zlib
54608 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
54609 mkdir stageautoprofile-zlib; \
54610 mv stageautoprofile-zlib zlib; \
54611 mv stage1-zlib prev-zlib || test -f stage1-lean
54612 @endif zlib
54613 @if lto-plugin
54614 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
54615 mkdir stageautoprofile-lto-plugin; \
54616 mv stageautoprofile-lto-plugin lto-plugin; \
54617 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
54618 @endif lto-plugin
54619 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
54620 mkdir stageautoprofile-$(TARGET_SUBDIR); \
54621 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54622 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54624 stageautoprofile-end::
54625 @if bfd
54626 @if test -d $(HOST_SUBDIR)/bfd; then \
54627 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
54628 mv prev-bfd stage1-bfd; : ; \
54630 @endif bfd
54631 @if opcodes
54632 @if test -d $(HOST_SUBDIR)/opcodes; then \
54633 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
54634 mv prev-opcodes stage1-opcodes; : ; \
54636 @endif opcodes
54637 @if binutils
54638 @if test -d $(HOST_SUBDIR)/binutils; then \
54639 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
54640 mv prev-binutils stage1-binutils; : ; \
54642 @endif binutils
54643 @if fixincludes
54644 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54645 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
54646 mv prev-fixincludes stage1-fixincludes; : ; \
54648 @endif fixincludes
54649 @if gas
54650 @if test -d $(HOST_SUBDIR)/gas; then \
54651 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
54652 mv prev-gas stage1-gas; : ; \
54654 @endif gas
54655 @if gcc
54656 @if test -d $(HOST_SUBDIR)/gcc; then \
54657 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
54658 mv prev-gcc stage1-gcc; : ; \
54660 @endif gcc
54661 @if gmp
54662 @if test -d $(HOST_SUBDIR)/gmp; then \
54663 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
54664 mv prev-gmp stage1-gmp; : ; \
54666 @endif gmp
54667 @if mpfr
54668 @if test -d $(HOST_SUBDIR)/mpfr; then \
54669 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
54670 mv prev-mpfr stage1-mpfr; : ; \
54672 @endif mpfr
54673 @if mpc
54674 @if test -d $(HOST_SUBDIR)/mpc; then \
54675 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
54676 mv prev-mpc stage1-mpc; : ; \
54678 @endif mpc
54679 @if isl
54680 @if test -d $(HOST_SUBDIR)/isl; then \
54681 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
54682 mv prev-isl stage1-isl; : ; \
54684 @endif isl
54685 @if libelf
54686 @if test -d $(HOST_SUBDIR)/libelf; then \
54687 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
54688 mv prev-libelf stage1-libelf; : ; \
54690 @endif libelf
54691 @if gold
54692 @if test -d $(HOST_SUBDIR)/gold; then \
54693 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
54694 mv prev-gold stage1-gold; : ; \
54696 @endif gold
54697 @if intl
54698 @if test -d $(HOST_SUBDIR)/intl; then \
54699 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
54700 mv prev-intl stage1-intl; : ; \
54702 @endif intl
54703 @if ld
54704 @if test -d $(HOST_SUBDIR)/ld; then \
54705 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
54706 mv prev-ld stage1-ld; : ; \
54708 @endif ld
54709 @if libbacktrace
54710 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54711 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
54712 mv prev-libbacktrace stage1-libbacktrace; : ; \
54714 @endif libbacktrace
54715 @if libcpp
54716 @if test -d $(HOST_SUBDIR)/libcpp; then \
54717 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
54718 mv prev-libcpp stage1-libcpp; : ; \
54720 @endif libcpp
54721 @if libdecnumber
54722 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54723 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
54724 mv prev-libdecnumber stage1-libdecnumber; : ; \
54726 @endif libdecnumber
54727 @if libiberty
54728 @if test -d $(HOST_SUBDIR)/libiberty; then \
54729 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
54730 mv prev-libiberty stage1-libiberty; : ; \
54732 @endif libiberty
54733 @if libiberty-linker-plugin
54734 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54735 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
54736 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54738 @endif libiberty-linker-plugin
54739 @if libiconv
54740 @if test -d $(HOST_SUBDIR)/libiconv; then \
54741 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
54742 mv prev-libiconv stage1-libiconv; : ; \
54744 @endif libiconv
54745 @if zlib
54746 @if test -d $(HOST_SUBDIR)/zlib; then \
54747 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
54748 mv prev-zlib stage1-zlib; : ; \
54750 @endif zlib
54751 @if lto-plugin
54752 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54753 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
54754 mv prev-lto-plugin stage1-lto-plugin; : ; \
54756 @endif lto-plugin
54757 @if test -d $(TARGET_SUBDIR); then \
54758 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
54759 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54761 rm -f stage_current
54763 # Bubble a bug fix through all the stages up to stage autoprofile. They are
54764 # remade, but not reconfigured. The next stage (if any) will not be
54765 # reconfigured either.
54766 .PHONY: stageautoprofile-bubble
54767 stageautoprofile-bubble:: stage1-bubble
54768 @r=`${PWD_COMMAND}`; export r; \
54769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54770 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
54771 echo Skipping rebuild of stageautoprofile; \
54772 else \
54773 $(MAKE) stageautoprofile-start; \
54774 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
54777 .PHONY: all-stageautoprofile clean-stageautoprofile
54778 do-clean: clean-stageautoprofile
54780 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54781 # only possibility, but now it conflicts with no-bootstrap rules
54782 @if gcc-bootstrap
54787 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54788 distclean-stage1:: distclean-stageautoprofile
54789 .PHONY: distclean-stageautoprofile
54790 distclean-stageautoprofile::
54791 @: $(MAKE); $(stage)
54792 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
54793 rm -rf stageautoprofile-*
54796 @endif gcc-bootstrap
54799 .PHONY: stageautofeedback-start stageautofeedback-end
54801 stageautofeedback-start::
54802 @: $(MAKE); $(stage); \
54803 echo stageautofeedback > stage_current; \
54804 echo stageautofeedback > stage_last; \
54805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54806 @if bfd
54807 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
54808 mkdir stageautofeedback-bfd; \
54809 mv stageautofeedback-bfd bfd; \
54810 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
54811 @endif bfd
54812 @if opcodes
54813 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
54814 mkdir stageautofeedback-opcodes; \
54815 mv stageautofeedback-opcodes opcodes; \
54816 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
54817 @endif opcodes
54818 @if binutils
54819 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
54820 mkdir stageautofeedback-binutils; \
54821 mv stageautofeedback-binutils binutils; \
54822 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
54823 @endif binutils
54824 @if fixincludes
54825 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
54826 mkdir stageautofeedback-fixincludes; \
54827 mv stageautofeedback-fixincludes fixincludes; \
54828 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
54829 @endif fixincludes
54830 @if gas
54831 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
54832 mkdir stageautofeedback-gas; \
54833 mv stageautofeedback-gas gas; \
54834 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
54835 @endif gas
54836 @if gcc
54837 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
54838 mkdir stageautofeedback-gcc; \
54839 mv stageautofeedback-gcc gcc; \
54840 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
54841 @endif gcc
54842 @if gmp
54843 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
54844 mkdir stageautofeedback-gmp; \
54845 mv stageautofeedback-gmp gmp; \
54846 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
54847 @endif gmp
54848 @if mpfr
54849 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
54850 mkdir stageautofeedback-mpfr; \
54851 mv stageautofeedback-mpfr mpfr; \
54852 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
54853 @endif mpfr
54854 @if mpc
54855 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
54856 mkdir stageautofeedback-mpc; \
54857 mv stageautofeedback-mpc mpc; \
54858 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
54859 @endif mpc
54860 @if isl
54861 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
54862 mkdir stageautofeedback-isl; \
54863 mv stageautofeedback-isl isl; \
54864 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
54865 @endif isl
54866 @if libelf
54867 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
54868 mkdir stageautofeedback-libelf; \
54869 mv stageautofeedback-libelf libelf; \
54870 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
54871 @endif libelf
54872 @if gold
54873 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
54874 mkdir stageautofeedback-gold; \
54875 mv stageautofeedback-gold gold; \
54876 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
54877 @endif gold
54878 @if intl
54879 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
54880 mkdir stageautofeedback-intl; \
54881 mv stageautofeedback-intl intl; \
54882 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
54883 @endif intl
54884 @if ld
54885 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
54886 mkdir stageautofeedback-ld; \
54887 mv stageautofeedback-ld ld; \
54888 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
54889 @endif ld
54890 @if libbacktrace
54891 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
54892 mkdir stageautofeedback-libbacktrace; \
54893 mv stageautofeedback-libbacktrace libbacktrace; \
54894 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
54895 @endif libbacktrace
54896 @if libcpp
54897 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
54898 mkdir stageautofeedback-libcpp; \
54899 mv stageautofeedback-libcpp libcpp; \
54900 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
54901 @endif libcpp
54902 @if libdecnumber
54903 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
54904 mkdir stageautofeedback-libdecnumber; \
54905 mv stageautofeedback-libdecnumber libdecnumber; \
54906 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
54907 @endif libdecnumber
54908 @if libiberty
54909 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
54910 mkdir stageautofeedback-libiberty; \
54911 mv stageautofeedback-libiberty libiberty; \
54912 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
54913 @endif libiberty
54914 @if libiberty-linker-plugin
54915 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
54916 mkdir stageautofeedback-libiberty-linker-plugin; \
54917 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
54918 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
54919 @endif libiberty-linker-plugin
54920 @if libiconv
54921 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
54922 mkdir stageautofeedback-libiconv; \
54923 mv stageautofeedback-libiconv libiconv; \
54924 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
54925 @endif libiconv
54926 @if zlib
54927 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
54928 mkdir stageautofeedback-zlib; \
54929 mv stageautofeedback-zlib zlib; \
54930 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
54931 @endif zlib
54932 @if lto-plugin
54933 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
54934 mkdir stageautofeedback-lto-plugin; \
54935 mv stageautofeedback-lto-plugin lto-plugin; \
54936 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
54937 @endif lto-plugin
54938 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
54939 mkdir stageautofeedback-$(TARGET_SUBDIR); \
54940 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54941 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
54943 stageautofeedback-end::
54944 @if bfd
54945 @if test -d $(HOST_SUBDIR)/bfd; then \
54946 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
54947 mv prev-bfd stageautoprofile-bfd; : ; \
54949 @endif bfd
54950 @if opcodes
54951 @if test -d $(HOST_SUBDIR)/opcodes; then \
54952 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
54953 mv prev-opcodes stageautoprofile-opcodes; : ; \
54955 @endif opcodes
54956 @if binutils
54957 @if test -d $(HOST_SUBDIR)/binutils; then \
54958 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
54959 mv prev-binutils stageautoprofile-binutils; : ; \
54961 @endif binutils
54962 @if fixincludes
54963 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54964 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
54965 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
54967 @endif fixincludes
54968 @if gas
54969 @if test -d $(HOST_SUBDIR)/gas; then \
54970 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
54971 mv prev-gas stageautoprofile-gas; : ; \
54973 @endif gas
54974 @if gcc
54975 @if test -d $(HOST_SUBDIR)/gcc; then \
54976 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
54977 mv prev-gcc stageautoprofile-gcc; : ; \
54979 @endif gcc
54980 @if gmp
54981 @if test -d $(HOST_SUBDIR)/gmp; then \
54982 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
54983 mv prev-gmp stageautoprofile-gmp; : ; \
54985 @endif gmp
54986 @if mpfr
54987 @if test -d $(HOST_SUBDIR)/mpfr; then \
54988 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
54989 mv prev-mpfr stageautoprofile-mpfr; : ; \
54991 @endif mpfr
54992 @if mpc
54993 @if test -d $(HOST_SUBDIR)/mpc; then \
54994 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
54995 mv prev-mpc stageautoprofile-mpc; : ; \
54997 @endif mpc
54998 @if isl
54999 @if test -d $(HOST_SUBDIR)/isl; then \
55000 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
55001 mv prev-isl stageautoprofile-isl; : ; \
55003 @endif isl
55004 @if libelf
55005 @if test -d $(HOST_SUBDIR)/libelf; then \
55006 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
55007 mv prev-libelf stageautoprofile-libelf; : ; \
55009 @endif libelf
55010 @if gold
55011 @if test -d $(HOST_SUBDIR)/gold; then \
55012 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
55013 mv prev-gold stageautoprofile-gold; : ; \
55015 @endif gold
55016 @if intl
55017 @if test -d $(HOST_SUBDIR)/intl; then \
55018 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
55019 mv prev-intl stageautoprofile-intl; : ; \
55021 @endif intl
55022 @if ld
55023 @if test -d $(HOST_SUBDIR)/ld; then \
55024 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
55025 mv prev-ld stageautoprofile-ld; : ; \
55027 @endif ld
55028 @if libbacktrace
55029 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55030 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
55031 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
55033 @endif libbacktrace
55034 @if libcpp
55035 @if test -d $(HOST_SUBDIR)/libcpp; then \
55036 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
55037 mv prev-libcpp stageautoprofile-libcpp; : ; \
55039 @endif libcpp
55040 @if libdecnumber
55041 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55042 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
55043 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
55045 @endif libdecnumber
55046 @if libiberty
55047 @if test -d $(HOST_SUBDIR)/libiberty; then \
55048 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
55049 mv prev-libiberty stageautoprofile-libiberty; : ; \
55051 @endif libiberty
55052 @if libiberty-linker-plugin
55053 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55054 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
55055 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
55057 @endif libiberty-linker-plugin
55058 @if libiconv
55059 @if test -d $(HOST_SUBDIR)/libiconv; then \
55060 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
55061 mv prev-libiconv stageautoprofile-libiconv; : ; \
55063 @endif libiconv
55064 @if zlib
55065 @if test -d $(HOST_SUBDIR)/zlib; then \
55066 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
55067 mv prev-zlib stageautoprofile-zlib; : ; \
55069 @endif zlib
55070 @if lto-plugin
55071 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55072 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
55073 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
55075 @endif lto-plugin
55076 @if test -d $(TARGET_SUBDIR); then \
55077 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
55078 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
55080 rm -f stage_current
55082 # Bubble a bug fix through all the stages up to stage autofeedback. They are
55083 # remade, but not reconfigured. The next stage (if any) will not be
55084 # reconfigured either.
55085 .PHONY: stageautofeedback-bubble
55086 stageautofeedback-bubble:: stageautoprofile-bubble
55087 @r=`${PWD_COMMAND}`; export r; \
55088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55089 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
55090 echo Skipping rebuild of stageautofeedback; \
55091 else \
55092 $(MAKE) stageautofeedback-start; \
55093 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
55096 .PHONY: all-stageautofeedback clean-stageautofeedback
55097 do-clean: clean-stageautofeedback
55099 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55100 # only possibility, but now it conflicts with no-bootstrap rules
55101 @if gcc-bootstrap
55105 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
55106 autoprofiledbootstrap:
55107 echo stageautofeedback > stage_final
55108 @r=`${PWD_COMMAND}`; export r; \
55109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55110 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
55111 @: $(MAKE); $(unstage)
55112 @r=`${PWD_COMMAND}`; export r; \
55113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55114 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
55115 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55117 autoprofiledbootstrap-lean:
55118 echo stageautofeedback > stage_final
55119 @r=`${PWD_COMMAND}`; export r; \
55120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55121 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
55122 @: $(MAKE); $(unstage)
55123 @r=`${PWD_COMMAND}`; export r; \
55124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55125 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
55126 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55129 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55130 distclean-stageautoprofile:: distclean-stageautofeedback
55131 .PHONY: distclean-stageautofeedback
55132 distclean-stageautofeedback::
55133 @: $(MAKE); $(stage)
55134 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
55135 rm -rf stageautofeedback-*
55138 @endif gcc-bootstrap
55142 stageprofile-end::
55143 $(MAKE) distclean-stagefeedback
55145 stagefeedback-start::
55146 @r=`${PWD_COMMAND}`; export r; \
55147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55148 for i in prev-*; do \
55149 j=`echo $$i | sed s/^prev-//`; \
55150 cd $$r/$$i && \
55151 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
55152 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
55153 done
55155 @if gcc-bootstrap
55156 do-distclean: distclean-stage1
55158 # Provide a GCC build when we're building target libraries. This does
55159 # not work as a dependency, just as the minimum necessary to avoid errors.
55160 stage_last:
55161 @r=`${PWD_COMMAND}`; export r; \
55162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55163 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
55165 # Same as unstage, but not phony and defaulting to stage1-start. We place
55166 # it in the dependency so that for example `make -j3 all-gcc' works.
55167 stage_current:
55168 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
55170 .PHONY: restrap
55171 restrap::
55172 @: $(MAKE); $(stage)
55173 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-* stageautoprofile-* stageautofeedback-*
55174 restrap:: all
55175 @endif gcc-bootstrap
55177 # --------------------------------------
55178 # Dependencies between different modules
55179 # --------------------------------------
55181 # Generic dependencies for target modules on host stuff, especially gcc
55182 @if gcc-bootstrap
55183 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
55184 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
55185 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
55186 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
55187 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
55188 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
55189 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
55190 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
55191 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
55192 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
55193 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
55194 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
55195 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
55196 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
55197 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
55198 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
55199 configure-stage1-target-libmpx: maybe-all-stage1-gcc
55200 configure-stage2-target-libmpx: maybe-all-stage2-gcc
55201 configure-stage3-target-libmpx: maybe-all-stage3-gcc
55202 configure-stage4-target-libmpx: maybe-all-stage4-gcc
55203 configure-stageprofile-target-libmpx: maybe-all-stageprofile-gcc
55204 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-gcc
55205 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-gcc
55206 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-gcc
55207 configure-stage1-target-libvtv: maybe-all-stage1-gcc
55208 configure-stage2-target-libvtv: maybe-all-stage2-gcc
55209 configure-stage3-target-libvtv: maybe-all-stage3-gcc
55210 configure-stage4-target-libvtv: maybe-all-stage4-gcc
55211 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
55212 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
55213 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
55214 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
55215 configure-target-libcilkrts: stage_last
55216 configure-target-liboffloadmic: stage_last
55217 configure-target-libssp: stage_last
55218 configure-target-newlib: stage_last
55219 configure-stage1-target-libgcc: maybe-all-stage1-gcc
55220 configure-stage2-target-libgcc: maybe-all-stage2-gcc
55221 configure-stage3-target-libgcc: maybe-all-stage3-gcc
55222 configure-stage4-target-libgcc: maybe-all-stage4-gcc
55223 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
55224 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
55225 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
55226 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
55227 configure-target-libbacktrace: stage_last
55228 configure-target-libquadmath: stage_last
55229 configure-target-libgfortran: stage_last
55230 configure-target-libobjc: stage_last
55231 configure-target-libgo: stage_last
55232 configure-target-libtermcap: stage_last
55233 configure-target-winsup: stage_last
55234 configure-target-libgloss: stage_last
55235 configure-target-libffi: stage_last
55236 configure-target-libjava: stage_last
55237 configure-target-zlib: stage_last
55238 configure-target-boehm-gc: stage_last
55239 configure-target-rda: stage_last
55240 configure-target-libada: stage_last
55241 configure-stage1-target-libgomp: maybe-all-stage1-gcc
55242 configure-stage2-target-libgomp: maybe-all-stage2-gcc
55243 configure-stage3-target-libgomp: maybe-all-stage3-gcc
55244 configure-stage4-target-libgomp: maybe-all-stage4-gcc
55245 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
55246 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
55247 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
55248 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
55249 configure-target-libitm: stage_last
55250 configure-target-libatomic: stage_last
55251 @endif gcc-bootstrap
55253 @if gcc-no-bootstrap
55254 configure-target-libstdc++-v3: maybe-all-gcc
55255 configure-target-libsanitizer: maybe-all-gcc
55256 configure-target-libmpx: maybe-all-gcc
55257 configure-target-libvtv: maybe-all-gcc
55258 configure-target-libcilkrts: maybe-all-gcc
55259 configure-target-liboffloadmic: maybe-all-gcc
55260 configure-target-libssp: maybe-all-gcc
55261 configure-target-newlib: maybe-all-gcc
55262 configure-target-libgcc: maybe-all-gcc
55263 configure-target-libbacktrace: maybe-all-gcc
55264 configure-target-libquadmath: maybe-all-gcc
55265 configure-target-libgfortran: maybe-all-gcc
55266 configure-target-libobjc: maybe-all-gcc
55267 configure-target-libgo: maybe-all-gcc
55268 configure-target-libtermcap: maybe-all-gcc
55269 configure-target-winsup: maybe-all-gcc
55270 configure-target-libgloss: maybe-all-gcc
55271 configure-target-libffi: maybe-all-gcc
55272 configure-target-libjava: maybe-all-gcc
55273 configure-target-zlib: maybe-all-gcc
55274 configure-target-boehm-gc: maybe-all-gcc
55275 configure-target-rda: maybe-all-gcc
55276 configure-target-libada: maybe-all-gcc
55277 configure-target-libgomp: maybe-all-gcc
55278 configure-target-libitm: maybe-all-gcc
55279 configure-target-libatomic: maybe-all-gcc
55280 @endif gcc-no-bootstrap
55283 # There are two types of dependencies here: 'hard' dependencies, where one
55284 # module simply won't build without the other; and 'soft' dependencies, where
55285 # if the depended-on module is missing, the depending module will do without
55286 # or find a substitute somewhere (perhaps installed). Soft dependencies
55287 # are made here to depend on a 'maybe-' target. If you're not sure,
55288 # it's safer to use a soft dependency.
55295 # With all the machinery above in place, it is pretty easy to generate
55296 # dependencies. Host dependencies are a bit more complex because we have
55297 # to check for bootstrap/prebootstrap dependencies. To resolve
55298 # prebootstrap dependencies, prebootstrap modules are gathered in
55299 # a hash table.
55300 all-build-bison: maybe-all-build-texinfo
55301 all-build-flex: maybe-all-build-texinfo
55302 all-build-flex: maybe-all-build-bison
55303 all-build-flex: maybe-all-build-m4
55304 all-build-libiberty: maybe-all-build-texinfo
55305 all-build-m4: maybe-all-build-texinfo
55306 all-build-fixincludes: maybe-all-build-libiberty
55307 all-build-libcpp: maybe-all-build-libiberty
55308 configure-gcc: maybe-configure-intl
55310 configure-stage1-gcc: maybe-configure-stage1-intl
55311 configure-stage2-gcc: maybe-configure-stage2-intl
55312 configure-stage3-gcc: maybe-configure-stage3-intl
55313 configure-stage4-gcc: maybe-configure-stage4-intl
55314 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
55315 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
55316 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
55317 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
55318 configure-gcc: maybe-all-gmp
55320 configure-stage1-gcc: maybe-all-stage1-gmp
55321 configure-stage2-gcc: maybe-all-stage2-gmp
55322 configure-stage3-gcc: maybe-all-stage3-gmp
55323 configure-stage4-gcc: maybe-all-stage4-gmp
55324 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
55325 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
55326 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
55327 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
55328 configure-gcc: maybe-all-mpfr
55330 configure-stage1-gcc: maybe-all-stage1-mpfr
55331 configure-stage2-gcc: maybe-all-stage2-mpfr
55332 configure-stage3-gcc: maybe-all-stage3-mpfr
55333 configure-stage4-gcc: maybe-all-stage4-mpfr
55334 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
55335 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
55336 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
55337 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
55338 configure-gcc: maybe-all-mpc
55340 configure-stage1-gcc: maybe-all-stage1-mpc
55341 configure-stage2-gcc: maybe-all-stage2-mpc
55342 configure-stage3-gcc: maybe-all-stage3-mpc
55343 configure-stage4-gcc: maybe-all-stage4-mpc
55344 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
55345 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
55346 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
55347 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
55348 configure-gcc: maybe-all-isl
55350 configure-stage1-gcc: maybe-all-stage1-isl
55351 configure-stage2-gcc: maybe-all-stage2-isl
55352 configure-stage3-gcc: maybe-all-stage3-isl
55353 configure-stage4-gcc: maybe-all-stage4-isl
55354 configure-stageprofile-gcc: maybe-all-stageprofile-isl
55355 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
55356 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
55357 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
55358 configure-gcc: maybe-all-lto-plugin
55360 configure-stage1-gcc: maybe-all-stage1-lto-plugin
55361 configure-stage2-gcc: maybe-all-stage2-lto-plugin
55362 configure-stage3-gcc: maybe-all-stage3-lto-plugin
55363 configure-stage4-gcc: maybe-all-stage4-lto-plugin
55364 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
55365 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
55366 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
55367 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
55368 configure-gcc: maybe-all-binutils
55370 configure-stage1-gcc: maybe-all-stage1-binutils
55371 configure-stage2-gcc: maybe-all-stage2-binutils
55372 configure-stage3-gcc: maybe-all-stage3-binutils
55373 configure-stage4-gcc: maybe-all-stage4-binutils
55374 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
55375 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
55376 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
55377 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
55378 configure-gcc: maybe-all-gas
55380 configure-stage1-gcc: maybe-all-stage1-gas
55381 configure-stage2-gcc: maybe-all-stage2-gas
55382 configure-stage3-gcc: maybe-all-stage3-gas
55383 configure-stage4-gcc: maybe-all-stage4-gas
55384 configure-stageprofile-gcc: maybe-all-stageprofile-gas
55385 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
55386 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
55387 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
55388 configure-gcc: maybe-all-ld
55390 configure-stage1-gcc: maybe-all-stage1-ld
55391 configure-stage2-gcc: maybe-all-stage2-ld
55392 configure-stage3-gcc: maybe-all-stage3-ld
55393 configure-stage4-gcc: maybe-all-stage4-ld
55394 configure-stageprofile-gcc: maybe-all-stageprofile-ld
55395 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
55396 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
55397 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
55398 configure-gcc: maybe-all-gold
55400 configure-stage1-gcc: maybe-all-stage1-gold
55401 configure-stage2-gcc: maybe-all-stage2-gold
55402 configure-stage3-gcc: maybe-all-stage3-gold
55403 configure-stage4-gcc: maybe-all-stage4-gold
55404 configure-stageprofile-gcc: maybe-all-stageprofile-gold
55405 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
55406 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
55407 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
55408 configure-gcc: maybe-all-libelf
55410 configure-stage1-gcc: maybe-all-stage1-libelf
55411 configure-stage2-gcc: maybe-all-stage2-libelf
55412 configure-stage3-gcc: maybe-all-stage3-libelf
55413 configure-stage4-gcc: maybe-all-stage4-libelf
55414 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
55415 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
55416 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
55417 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
55418 configure-gcc: maybe-all-libiconv
55420 configure-stage1-gcc: maybe-all-stage1-libiconv
55421 configure-stage2-gcc: maybe-all-stage2-libiconv
55422 configure-stage3-gcc: maybe-all-stage3-libiconv
55423 configure-stage4-gcc: maybe-all-stage4-libiconv
55424 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
55425 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
55426 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
55427 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
55428 all-gcc: all-libiberty
55430 all-stage1-gcc: all-stage1-libiberty
55431 all-stage2-gcc: all-stage2-libiberty
55432 all-stage3-gcc: all-stage3-libiberty
55433 all-stage4-gcc: all-stage4-libiberty
55434 all-stageprofile-gcc: all-stageprofile-libiberty
55435 all-stagefeedback-gcc: all-stagefeedback-libiberty
55436 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
55437 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
55438 all-gcc: maybe-all-intl
55440 all-stage1-gcc: maybe-all-stage1-intl
55441 all-stage2-gcc: maybe-all-stage2-intl
55442 all-stage3-gcc: maybe-all-stage3-intl
55443 all-stage4-gcc: maybe-all-stage4-intl
55444 all-stageprofile-gcc: maybe-all-stageprofile-intl
55445 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
55446 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
55447 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
55448 all-gcc: maybe-all-mpfr
55450 all-stage1-gcc: maybe-all-stage1-mpfr
55451 all-stage2-gcc: maybe-all-stage2-mpfr
55452 all-stage3-gcc: maybe-all-stage3-mpfr
55453 all-stage4-gcc: maybe-all-stage4-mpfr
55454 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
55455 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
55456 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
55457 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
55458 all-gcc: maybe-all-mpc
55460 all-stage1-gcc: maybe-all-stage1-mpc
55461 all-stage2-gcc: maybe-all-stage2-mpc
55462 all-stage3-gcc: maybe-all-stage3-mpc
55463 all-stage4-gcc: maybe-all-stage4-mpc
55464 all-stageprofile-gcc: maybe-all-stageprofile-mpc
55465 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
55466 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
55467 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
55468 all-gcc: maybe-all-isl
55470 all-stage1-gcc: maybe-all-stage1-isl
55471 all-stage2-gcc: maybe-all-stage2-isl
55472 all-stage3-gcc: maybe-all-stage3-isl
55473 all-stage4-gcc: maybe-all-stage4-isl
55474 all-stageprofile-gcc: maybe-all-stageprofile-isl
55475 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
55476 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
55477 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
55478 all-gcc: maybe-all-build-texinfo
55480 all-stage1-gcc: maybe-all-build-texinfo
55481 all-stage2-gcc: maybe-all-build-texinfo
55482 all-stage3-gcc: maybe-all-build-texinfo
55483 all-stage4-gcc: maybe-all-build-texinfo
55484 all-stageprofile-gcc: maybe-all-build-texinfo
55485 all-stagefeedback-gcc: maybe-all-build-texinfo
55486 all-stageautoprofile-gcc: maybe-all-build-texinfo
55487 all-stageautofeedback-gcc: maybe-all-build-texinfo
55488 all-gcc: maybe-all-build-bison
55490 all-stage1-gcc: maybe-all-build-bison
55491 all-stage2-gcc: maybe-all-build-bison
55492 all-stage3-gcc: maybe-all-build-bison
55493 all-stage4-gcc: maybe-all-build-bison
55494 all-stageprofile-gcc: maybe-all-build-bison
55495 all-stagefeedback-gcc: maybe-all-build-bison
55496 all-stageautoprofile-gcc: maybe-all-build-bison
55497 all-stageautofeedback-gcc: maybe-all-build-bison
55498 all-gcc: maybe-all-build-flex
55500 all-stage1-gcc: maybe-all-build-flex
55501 all-stage2-gcc: maybe-all-build-flex
55502 all-stage3-gcc: maybe-all-build-flex
55503 all-stage4-gcc: maybe-all-build-flex
55504 all-stageprofile-gcc: maybe-all-build-flex
55505 all-stagefeedback-gcc: maybe-all-build-flex
55506 all-stageautoprofile-gcc: maybe-all-build-flex
55507 all-stageautofeedback-gcc: maybe-all-build-flex
55508 all-gcc: maybe-all-build-libiberty
55510 all-stage1-gcc: maybe-all-build-libiberty
55511 all-stage2-gcc: maybe-all-build-libiberty
55512 all-stage3-gcc: maybe-all-build-libiberty
55513 all-stage4-gcc: maybe-all-build-libiberty
55514 all-stageprofile-gcc: maybe-all-build-libiberty
55515 all-stagefeedback-gcc: maybe-all-build-libiberty
55516 all-stageautoprofile-gcc: maybe-all-build-libiberty
55517 all-stageautofeedback-gcc: maybe-all-build-libiberty
55518 all-gcc: maybe-all-build-fixincludes
55520 all-stage1-gcc: maybe-all-build-fixincludes
55521 all-stage2-gcc: maybe-all-build-fixincludes
55522 all-stage3-gcc: maybe-all-build-fixincludes
55523 all-stage4-gcc: maybe-all-build-fixincludes
55524 all-stageprofile-gcc: maybe-all-build-fixincludes
55525 all-stagefeedback-gcc: maybe-all-build-fixincludes
55526 all-stageautoprofile-gcc: maybe-all-build-fixincludes
55527 all-stageautofeedback-gcc: maybe-all-build-fixincludes
55528 all-gcc: maybe-all-build-libcpp
55530 all-stage1-gcc: maybe-all-build-libcpp
55531 all-stage2-gcc: maybe-all-build-libcpp
55532 all-stage3-gcc: maybe-all-build-libcpp
55533 all-stage4-gcc: maybe-all-build-libcpp
55534 all-stageprofile-gcc: maybe-all-build-libcpp
55535 all-stagefeedback-gcc: maybe-all-build-libcpp
55536 all-stageautoprofile-gcc: maybe-all-build-libcpp
55537 all-stageautofeedback-gcc: maybe-all-build-libcpp
55538 all-gcc: maybe-all-zlib
55540 all-stage1-gcc: maybe-all-stage1-zlib
55541 all-stage2-gcc: maybe-all-stage2-zlib
55542 all-stage3-gcc: maybe-all-stage3-zlib
55543 all-stage4-gcc: maybe-all-stage4-zlib
55544 all-stageprofile-gcc: maybe-all-stageprofile-zlib
55545 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
55546 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
55547 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
55548 all-gcc: all-libbacktrace
55550 all-stage1-gcc: all-stage1-libbacktrace
55551 all-stage2-gcc: all-stage2-libbacktrace
55552 all-stage3-gcc: all-stage3-libbacktrace
55553 all-stage4-gcc: all-stage4-libbacktrace
55554 all-stageprofile-gcc: all-stageprofile-libbacktrace
55555 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
55556 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
55557 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
55558 all-gcc: all-libcpp
55560 all-stage1-gcc: all-stage1-libcpp
55561 all-stage2-gcc: all-stage2-libcpp
55562 all-stage3-gcc: all-stage3-libcpp
55563 all-stage4-gcc: all-stage4-libcpp
55564 all-stageprofile-gcc: all-stageprofile-libcpp
55565 all-stagefeedback-gcc: all-stagefeedback-libcpp
55566 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
55567 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
55568 all-gcc: all-libdecnumber
55570 all-stage1-gcc: all-stage1-libdecnumber
55571 all-stage2-gcc: all-stage2-libdecnumber
55572 all-stage3-gcc: all-stage3-libdecnumber
55573 all-stage4-gcc: all-stage4-libdecnumber
55574 all-stageprofile-gcc: all-stageprofile-libdecnumber
55575 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
55576 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
55577 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
55578 all-gcc: maybe-all-libiberty
55580 all-stage1-gcc: maybe-all-stage1-libiberty
55581 all-stage2-gcc: maybe-all-stage2-libiberty
55582 all-stage3-gcc: maybe-all-stage3-libiberty
55583 all-stage4-gcc: maybe-all-stage4-libiberty
55584 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
55585 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
55586 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
55587 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
55588 all-gcc: maybe-all-fixincludes
55590 all-stage1-gcc: maybe-all-stage1-fixincludes
55591 all-stage2-gcc: maybe-all-stage2-fixincludes
55592 all-stage3-gcc: maybe-all-stage3-fixincludes
55593 all-stage4-gcc: maybe-all-stage4-fixincludes
55594 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
55595 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
55596 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
55597 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
55598 all-gcc: maybe-all-lto-plugin
55600 all-stage1-gcc: maybe-all-stage1-lto-plugin
55601 all-stage2-gcc: maybe-all-stage2-lto-plugin
55602 all-stage3-gcc: maybe-all-stage3-lto-plugin
55603 all-stage4-gcc: maybe-all-stage4-lto-plugin
55604 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
55605 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
55606 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
55607 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
55608 all-gcc: maybe-all-libiconv
55610 all-stage1-gcc: maybe-all-stage1-libiconv
55611 all-stage2-gcc: maybe-all-stage2-libiconv
55612 all-stage3-gcc: maybe-all-stage3-libiconv
55613 all-stage4-gcc: maybe-all-stage4-libiconv
55614 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
55615 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
55616 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
55617 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
55618 info-gcc: maybe-all-build-libiberty
55620 info-stage1-gcc: maybe-all-build-libiberty
55621 info-stage2-gcc: maybe-all-build-libiberty
55622 info-stage3-gcc: maybe-all-build-libiberty
55623 info-stage4-gcc: maybe-all-build-libiberty
55624 info-stageprofile-gcc: maybe-all-build-libiberty
55625 info-stagefeedback-gcc: maybe-all-build-libiberty
55626 info-stageautoprofile-gcc: maybe-all-build-libiberty
55627 info-stageautofeedback-gcc: maybe-all-build-libiberty
55628 dvi-gcc: maybe-all-build-libiberty
55630 dvi-stage1-gcc: maybe-all-build-libiberty
55631 dvi-stage2-gcc: maybe-all-build-libiberty
55632 dvi-stage3-gcc: maybe-all-build-libiberty
55633 dvi-stage4-gcc: maybe-all-build-libiberty
55634 dvi-stageprofile-gcc: maybe-all-build-libiberty
55635 dvi-stagefeedback-gcc: maybe-all-build-libiberty
55636 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
55637 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
55638 pdf-gcc: maybe-all-build-libiberty
55640 pdf-stage1-gcc: maybe-all-build-libiberty
55641 pdf-stage2-gcc: maybe-all-build-libiberty
55642 pdf-stage3-gcc: maybe-all-build-libiberty
55643 pdf-stage4-gcc: maybe-all-build-libiberty
55644 pdf-stageprofile-gcc: maybe-all-build-libiberty
55645 pdf-stagefeedback-gcc: maybe-all-build-libiberty
55646 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
55647 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
55648 html-gcc: maybe-all-build-libiberty
55650 html-stage1-gcc: maybe-all-build-libiberty
55651 html-stage2-gcc: maybe-all-build-libiberty
55652 html-stage3-gcc: maybe-all-build-libiberty
55653 html-stage4-gcc: maybe-all-build-libiberty
55654 html-stageprofile-gcc: maybe-all-build-libiberty
55655 html-stagefeedback-gcc: maybe-all-build-libiberty
55656 html-stageautoprofile-gcc: maybe-all-build-libiberty
55657 html-stageautofeedback-gcc: maybe-all-build-libiberty
55658 install-gcc: maybe-install-fixincludes
55659 install-gcc: maybe-install-lto-plugin
55660 install-strip-gcc: maybe-install-strip-fixincludes
55661 install-strip-gcc: maybe-install-strip-lto-plugin
55662 configure-libcpp: configure-libiberty
55664 configure-stage1-libcpp: configure-stage1-libiberty
55665 configure-stage2-libcpp: configure-stage2-libiberty
55666 configure-stage3-libcpp: configure-stage3-libiberty
55667 configure-stage4-libcpp: configure-stage4-libiberty
55668 configure-stageprofile-libcpp: configure-stageprofile-libiberty
55669 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
55670 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
55671 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
55672 configure-libcpp: maybe-configure-intl
55674 configure-stage1-libcpp: maybe-configure-stage1-intl
55675 configure-stage2-libcpp: maybe-configure-stage2-intl
55676 configure-stage3-libcpp: maybe-configure-stage3-intl
55677 configure-stage4-libcpp: maybe-configure-stage4-intl
55678 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
55679 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
55680 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
55681 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
55682 configure-libcpp: maybe-all-libiconv
55684 configure-stage1-libcpp: maybe-all-stage1-libiconv
55685 configure-stage2-libcpp: maybe-all-stage2-libiconv
55686 configure-stage3-libcpp: maybe-all-stage3-libiconv
55687 configure-stage4-libcpp: maybe-all-stage4-libiconv
55688 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
55689 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
55690 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
55691 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
55692 all-libcpp: all-libiberty
55694 all-stage1-libcpp: all-stage1-libiberty
55695 all-stage2-libcpp: all-stage2-libiberty
55696 all-stage3-libcpp: all-stage3-libiberty
55697 all-stage4-libcpp: all-stage4-libiberty
55698 all-stageprofile-libcpp: all-stageprofile-libiberty
55699 all-stagefeedback-libcpp: all-stagefeedback-libiberty
55700 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
55701 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
55702 all-libcpp: maybe-all-intl
55704 all-stage1-libcpp: maybe-all-stage1-intl
55705 all-stage2-libcpp: maybe-all-stage2-intl
55706 all-stage3-libcpp: maybe-all-stage3-intl
55707 all-stage4-libcpp: maybe-all-stage4-intl
55708 all-stageprofile-libcpp: maybe-all-stageprofile-intl
55709 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
55710 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
55711 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
55712 all-libcpp: maybe-all-libiconv
55714 all-stage1-libcpp: maybe-all-stage1-libiconv
55715 all-stage2-libcpp: maybe-all-stage2-libiconv
55716 all-stage3-libcpp: maybe-all-stage3-libiconv
55717 all-stage4-libcpp: maybe-all-stage4-libiconv
55718 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
55719 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
55720 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
55721 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
55722 all-fixincludes: maybe-all-libiberty
55724 all-stage1-fixincludes: maybe-all-stage1-libiberty
55725 all-stage2-fixincludes: maybe-all-stage2-libiberty
55726 all-stage3-fixincludes: maybe-all-stage3-libiberty
55727 all-stage4-fixincludes: maybe-all-stage4-libiberty
55728 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
55729 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
55730 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
55731 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
55732 all-gnattools: maybe-all-target-libada
55733 all-gnattools: maybe-all-target-libstdc++-v3
55734 all-lto-plugin: maybe-all-libiberty
55736 all-stage1-lto-plugin: maybe-all-stage1-libiberty
55737 all-stage2-lto-plugin: maybe-all-stage2-libiberty
55738 all-stage3-lto-plugin: maybe-all-stage3-libiberty
55739 all-stage4-lto-plugin: maybe-all-stage4-libiberty
55740 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
55741 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
55742 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
55743 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
55744 all-lto-plugin: maybe-all-libiberty-linker-plugin
55746 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
55747 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
55748 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
55749 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
55750 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
55751 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
55752 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
55753 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
55754 configure-libcc1: maybe-configure-gcc
55755 all-libcc1: maybe-all-gcc
55756 all-gotools: maybe-all-target-libgo
55757 all-utils: maybe-all-libiberty
55758 configure-intl: maybe-all-libiconv
55760 configure-stage1-intl: maybe-all-stage1-libiconv
55761 configure-stage2-intl: maybe-all-stage2-libiconv
55762 configure-stage3-intl: maybe-all-stage3-libiconv
55763 configure-stage4-intl: maybe-all-stage4-libiconv
55764 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
55765 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
55766 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
55767 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
55768 configure-mpfr: maybe-all-gmp
55770 configure-stage1-mpfr: maybe-all-stage1-gmp
55771 configure-stage2-mpfr: maybe-all-stage2-gmp
55772 configure-stage3-mpfr: maybe-all-stage3-gmp
55773 configure-stage4-mpfr: maybe-all-stage4-gmp
55774 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
55775 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
55776 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
55777 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
55778 configure-mpc: maybe-all-mpfr
55780 configure-stage1-mpc: maybe-all-stage1-mpfr
55781 configure-stage2-mpc: maybe-all-stage2-mpfr
55782 configure-stage3-mpc: maybe-all-stage3-mpfr
55783 configure-stage4-mpc: maybe-all-stage4-mpfr
55784 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
55785 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
55786 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
55787 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
55788 configure-isl: maybe-all-gmp
55790 configure-stage1-isl: maybe-all-stage1-gmp
55791 configure-stage2-isl: maybe-all-stage2-gmp
55792 configure-stage3-isl: maybe-all-stage3-gmp
55793 configure-stage4-isl: maybe-all-stage4-gmp
55794 configure-stageprofile-isl: maybe-all-stageprofile-gmp
55795 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
55796 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
55797 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
55798 all-intl: maybe-all-libiconv
55800 all-stage1-intl: maybe-all-stage1-libiconv
55801 all-stage2-intl: maybe-all-stage2-libiconv
55802 all-stage3-intl: maybe-all-stage3-libiconv
55803 all-stage4-intl: maybe-all-stage4-libiconv
55804 all-stageprofile-intl: maybe-all-stageprofile-libiconv
55805 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
55806 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
55807 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
55808 configure-gdb: maybe-all-intl
55809 configure-gdb: maybe-configure-sim
55810 configure-gdb: maybe-all-bfd
55811 configure-gdb: maybe-all-libiconv
55812 all-gdb: maybe-all-libiberty
55813 all-gdb: maybe-all-libiconv
55814 all-gdb: maybe-all-opcodes
55815 all-gdb: maybe-all-readline
55816 all-gdb: maybe-all-build-bison
55817 all-gdb: maybe-all-sim
55818 all-gdb: maybe-all-libdecnumber
55819 all-gdb: maybe-all-libtermcap
55820 configure-libgui: maybe-configure-tcl
55821 configure-libgui: maybe-configure-tk
55822 all-libgui: maybe-all-tcl
55823 all-libgui: maybe-all-tk
55824 all-libgui: maybe-all-itcl
55825 configure-bfd: configure-libiberty
55827 configure-stage1-bfd: configure-stage1-libiberty
55828 configure-stage2-bfd: configure-stage2-libiberty
55829 configure-stage3-bfd: configure-stage3-libiberty
55830 configure-stage4-bfd: configure-stage4-libiberty
55831 configure-stageprofile-bfd: configure-stageprofile-libiberty
55832 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
55833 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
55834 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
55835 configure-bfd: maybe-configure-intl
55837 configure-stage1-bfd: maybe-configure-stage1-intl
55838 configure-stage2-bfd: maybe-configure-stage2-intl
55839 configure-stage3-bfd: maybe-configure-stage3-intl
55840 configure-stage4-bfd: maybe-configure-stage4-intl
55841 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
55842 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
55843 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
55844 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
55845 all-bfd: maybe-all-libiberty
55847 all-stage1-bfd: maybe-all-stage1-libiberty
55848 all-stage2-bfd: maybe-all-stage2-libiberty
55849 all-stage3-bfd: maybe-all-stage3-libiberty
55850 all-stage4-bfd: maybe-all-stage4-libiberty
55851 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
55852 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
55853 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
55854 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
55855 all-bfd: maybe-all-intl
55857 all-stage1-bfd: maybe-all-stage1-intl
55858 all-stage2-bfd: maybe-all-stage2-intl
55859 all-stage3-bfd: maybe-all-stage3-intl
55860 all-stage4-bfd: maybe-all-stage4-intl
55861 all-stageprofile-bfd: maybe-all-stageprofile-intl
55862 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
55863 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
55864 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
55865 all-bfd: maybe-all-zlib
55867 all-stage1-bfd: maybe-all-stage1-zlib
55868 all-stage2-bfd: maybe-all-stage2-zlib
55869 all-stage3-bfd: maybe-all-stage3-zlib
55870 all-stage4-bfd: maybe-all-stage4-zlib
55871 all-stageprofile-bfd: maybe-all-stageprofile-zlib
55872 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
55873 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
55874 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
55875 configure-opcodes: configure-libiberty
55877 configure-stage1-opcodes: configure-stage1-libiberty
55878 configure-stage2-opcodes: configure-stage2-libiberty
55879 configure-stage3-opcodes: configure-stage3-libiberty
55880 configure-stage4-opcodes: configure-stage4-libiberty
55881 configure-stageprofile-opcodes: configure-stageprofile-libiberty
55882 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
55883 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
55884 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
55885 all-opcodes: maybe-all-libiberty
55887 all-stage1-opcodes: maybe-all-stage1-libiberty
55888 all-stage2-opcodes: maybe-all-stage2-libiberty
55889 all-stage3-opcodes: maybe-all-stage3-libiberty
55890 all-stage4-opcodes: maybe-all-stage4-libiberty
55891 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
55892 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
55893 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
55894 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
55895 configure-binutils: maybe-configure-intl
55897 configure-stage1-binutils: maybe-configure-stage1-intl
55898 configure-stage2-binutils: maybe-configure-stage2-intl
55899 configure-stage3-binutils: maybe-configure-stage3-intl
55900 configure-stage4-binutils: maybe-configure-stage4-intl
55901 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
55902 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
55903 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
55904 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
55905 all-binutils: maybe-all-libiberty
55907 all-stage1-binutils: maybe-all-stage1-libiberty
55908 all-stage2-binutils: maybe-all-stage2-libiberty
55909 all-stage3-binutils: maybe-all-stage3-libiberty
55910 all-stage4-binutils: maybe-all-stage4-libiberty
55911 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
55912 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
55913 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
55914 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
55915 all-binutils: maybe-all-opcodes
55917 all-stage1-binutils: maybe-all-stage1-opcodes
55918 all-stage2-binutils: maybe-all-stage2-opcodes
55919 all-stage3-binutils: maybe-all-stage3-opcodes
55920 all-stage4-binutils: maybe-all-stage4-opcodes
55921 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
55922 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
55923 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
55924 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
55925 all-binutils: maybe-all-bfd
55927 all-stage1-binutils: maybe-all-stage1-bfd
55928 all-stage2-binutils: maybe-all-stage2-bfd
55929 all-stage3-binutils: maybe-all-stage3-bfd
55930 all-stage4-binutils: maybe-all-stage4-bfd
55931 all-stageprofile-binutils: maybe-all-stageprofile-bfd
55932 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
55933 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
55934 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
55935 all-binutils: maybe-all-build-flex
55937 all-stage1-binutils: maybe-all-build-flex
55938 all-stage2-binutils: maybe-all-build-flex
55939 all-stage3-binutils: maybe-all-build-flex
55940 all-stage4-binutils: maybe-all-build-flex
55941 all-stageprofile-binutils: maybe-all-build-flex
55942 all-stagefeedback-binutils: maybe-all-build-flex
55943 all-stageautoprofile-binutils: maybe-all-build-flex
55944 all-stageautofeedback-binutils: maybe-all-build-flex
55945 all-binutils: maybe-all-build-bison
55947 all-stage1-binutils: maybe-all-build-bison
55948 all-stage2-binutils: maybe-all-build-bison
55949 all-stage3-binutils: maybe-all-build-bison
55950 all-stage4-binutils: maybe-all-build-bison
55951 all-stageprofile-binutils: maybe-all-build-bison
55952 all-stagefeedback-binutils: maybe-all-build-bison
55953 all-stageautoprofile-binutils: maybe-all-build-bison
55954 all-stageautofeedback-binutils: maybe-all-build-bison
55955 all-binutils: maybe-all-intl
55957 all-stage1-binutils: maybe-all-stage1-intl
55958 all-stage2-binutils: maybe-all-stage2-intl
55959 all-stage3-binutils: maybe-all-stage3-intl
55960 all-stage4-binutils: maybe-all-stage4-intl
55961 all-stageprofile-binutils: maybe-all-stageprofile-intl
55962 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
55963 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
55964 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
55965 all-binutils: maybe-all-gas
55967 all-stage1-binutils: maybe-all-stage1-gas
55968 all-stage2-binutils: maybe-all-stage2-gas
55969 all-stage3-binutils: maybe-all-stage3-gas
55970 all-stage4-binutils: maybe-all-stage4-gas
55971 all-stageprofile-binutils: maybe-all-stageprofile-gas
55972 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
55973 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
55974 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
55975 install-binutils: maybe-install-opcodes
55976 install-strip-binutils: maybe-install-strip-opcodes
55977 install-opcodes: maybe-install-bfd
55978 install-strip-opcodes: maybe-install-strip-bfd
55979 configure-gas: maybe-configure-intl
55981 configure-stage1-gas: maybe-configure-stage1-intl
55982 configure-stage2-gas: maybe-configure-stage2-intl
55983 configure-stage3-gas: maybe-configure-stage3-intl
55984 configure-stage4-gas: maybe-configure-stage4-intl
55985 configure-stageprofile-gas: maybe-configure-stageprofile-intl
55986 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
55987 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
55988 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
55989 all-gas: maybe-all-libiberty
55991 all-stage1-gas: maybe-all-stage1-libiberty
55992 all-stage2-gas: maybe-all-stage2-libiberty
55993 all-stage3-gas: maybe-all-stage3-libiberty
55994 all-stage4-gas: maybe-all-stage4-libiberty
55995 all-stageprofile-gas: maybe-all-stageprofile-libiberty
55996 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
55997 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
55998 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
55999 all-gas: maybe-all-opcodes
56001 all-stage1-gas: maybe-all-stage1-opcodes
56002 all-stage2-gas: maybe-all-stage2-opcodes
56003 all-stage3-gas: maybe-all-stage3-opcodes
56004 all-stage4-gas: maybe-all-stage4-opcodes
56005 all-stageprofile-gas: maybe-all-stageprofile-opcodes
56006 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
56007 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
56008 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
56009 all-gas: maybe-all-bfd
56011 all-stage1-gas: maybe-all-stage1-bfd
56012 all-stage2-gas: maybe-all-stage2-bfd
56013 all-stage3-gas: maybe-all-stage3-bfd
56014 all-stage4-gas: maybe-all-stage4-bfd
56015 all-stageprofile-gas: maybe-all-stageprofile-bfd
56016 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
56017 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
56018 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
56019 all-gas: maybe-all-intl
56021 all-stage1-gas: maybe-all-stage1-intl
56022 all-stage2-gas: maybe-all-stage2-intl
56023 all-stage3-gas: maybe-all-stage3-intl
56024 all-stage4-gas: maybe-all-stage4-intl
56025 all-stageprofile-gas: maybe-all-stageprofile-intl
56026 all-stagefeedback-gas: maybe-all-stagefeedback-intl
56027 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
56028 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
56029 configure-gprof: maybe-configure-intl
56030 all-gprof: maybe-all-libiberty
56031 all-gprof: maybe-all-bfd
56032 all-gprof: maybe-all-opcodes
56033 all-gprof: maybe-all-intl
56034 all-gprof: maybe-all-gas
56035 configure-ld: maybe-configure-intl
56037 configure-stage1-ld: maybe-configure-stage1-intl
56038 configure-stage2-ld: maybe-configure-stage2-intl
56039 configure-stage3-ld: maybe-configure-stage3-intl
56040 configure-stage4-ld: maybe-configure-stage4-intl
56041 configure-stageprofile-ld: maybe-configure-stageprofile-intl
56042 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
56043 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
56044 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
56045 all-ld: maybe-all-libiberty
56047 all-stage1-ld: maybe-all-stage1-libiberty
56048 all-stage2-ld: maybe-all-stage2-libiberty
56049 all-stage3-ld: maybe-all-stage3-libiberty
56050 all-stage4-ld: maybe-all-stage4-libiberty
56051 all-stageprofile-ld: maybe-all-stageprofile-libiberty
56052 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
56053 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
56054 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
56055 all-ld: maybe-all-bfd
56057 all-stage1-ld: maybe-all-stage1-bfd
56058 all-stage2-ld: maybe-all-stage2-bfd
56059 all-stage3-ld: maybe-all-stage3-bfd
56060 all-stage4-ld: maybe-all-stage4-bfd
56061 all-stageprofile-ld: maybe-all-stageprofile-bfd
56062 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
56063 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
56064 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
56065 all-ld: maybe-all-opcodes
56067 all-stage1-ld: maybe-all-stage1-opcodes
56068 all-stage2-ld: maybe-all-stage2-opcodes
56069 all-stage3-ld: maybe-all-stage3-opcodes
56070 all-stage4-ld: maybe-all-stage4-opcodes
56071 all-stageprofile-ld: maybe-all-stageprofile-opcodes
56072 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
56073 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
56074 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
56075 all-ld: maybe-all-build-bison
56077 all-stage1-ld: maybe-all-build-bison
56078 all-stage2-ld: maybe-all-build-bison
56079 all-stage3-ld: maybe-all-build-bison
56080 all-stage4-ld: maybe-all-build-bison
56081 all-stageprofile-ld: maybe-all-build-bison
56082 all-stagefeedback-ld: maybe-all-build-bison
56083 all-stageautoprofile-ld: maybe-all-build-bison
56084 all-stageautofeedback-ld: maybe-all-build-bison
56085 all-ld: maybe-all-build-flex
56087 all-stage1-ld: maybe-all-build-flex
56088 all-stage2-ld: maybe-all-build-flex
56089 all-stage3-ld: maybe-all-build-flex
56090 all-stage4-ld: maybe-all-build-flex
56091 all-stageprofile-ld: maybe-all-build-flex
56092 all-stagefeedback-ld: maybe-all-build-flex
56093 all-stageautoprofile-ld: maybe-all-build-flex
56094 all-stageautofeedback-ld: maybe-all-build-flex
56095 all-ld: maybe-all-intl
56097 all-stage1-ld: maybe-all-stage1-intl
56098 all-stage2-ld: maybe-all-stage2-intl
56099 all-stage3-ld: maybe-all-stage3-intl
56100 all-stage4-ld: maybe-all-stage4-intl
56101 all-stageprofile-ld: maybe-all-stageprofile-intl
56102 all-stagefeedback-ld: maybe-all-stagefeedback-intl
56103 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
56104 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
56105 all-ld: maybe-all-gas
56107 all-stage1-ld: maybe-all-stage1-gas
56108 all-stage2-ld: maybe-all-stage2-gas
56109 all-stage3-ld: maybe-all-stage3-gas
56110 all-stage4-ld: maybe-all-stage4-gas
56111 all-stageprofile-ld: maybe-all-stageprofile-gas
56112 all-stagefeedback-ld: maybe-all-stagefeedback-gas
56113 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
56114 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
56115 all-ld: maybe-all-binutils
56117 all-stage1-ld: maybe-all-stage1-binutils
56118 all-stage2-ld: maybe-all-stage2-binutils
56119 all-stage3-ld: maybe-all-stage3-binutils
56120 all-stage4-ld: maybe-all-stage4-binutils
56121 all-stageprofile-ld: maybe-all-stageprofile-binutils
56122 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
56123 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
56124 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
56125 install-ld: maybe-install-gold
56126 install-strip-ld: maybe-install-strip-gold
56127 configure-gold: maybe-configure-intl
56129 configure-stage1-gold: maybe-configure-stage1-intl
56130 configure-stage2-gold: maybe-configure-stage2-intl
56131 configure-stage3-gold: maybe-configure-stage3-intl
56132 configure-stage4-gold: maybe-configure-stage4-intl
56133 configure-stageprofile-gold: maybe-configure-stageprofile-intl
56134 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
56135 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
56136 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
56137 all-gold: maybe-all-libiberty
56139 all-stage1-gold: maybe-all-stage1-libiberty
56140 all-stage2-gold: maybe-all-stage2-libiberty
56141 all-stage3-gold: maybe-all-stage3-libiberty
56142 all-stage4-gold: maybe-all-stage4-libiberty
56143 all-stageprofile-gold: maybe-all-stageprofile-libiberty
56144 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
56145 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
56146 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
56147 all-gold: maybe-all-intl
56149 all-stage1-gold: maybe-all-stage1-intl
56150 all-stage2-gold: maybe-all-stage2-intl
56151 all-stage3-gold: maybe-all-stage3-intl
56152 all-stage4-gold: maybe-all-stage4-intl
56153 all-stageprofile-gold: maybe-all-stageprofile-intl
56154 all-stagefeedback-gold: maybe-all-stagefeedback-intl
56155 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
56156 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
56157 all-gold: maybe-all-bfd
56159 all-stage1-gold: maybe-all-stage1-bfd
56160 all-stage2-gold: maybe-all-stage2-bfd
56161 all-stage3-gold: maybe-all-stage3-bfd
56162 all-stage4-gold: maybe-all-stage4-bfd
56163 all-stageprofile-gold: maybe-all-stageprofile-bfd
56164 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
56165 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
56166 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
56167 all-gold: maybe-all-build-bison
56169 all-stage1-gold: maybe-all-build-bison
56170 all-stage2-gold: maybe-all-build-bison
56171 all-stage3-gold: maybe-all-build-bison
56172 all-stage4-gold: maybe-all-build-bison
56173 all-stageprofile-gold: maybe-all-build-bison
56174 all-stagefeedback-gold: maybe-all-build-bison
56175 all-stageautoprofile-gold: maybe-all-build-bison
56176 all-stageautofeedback-gold: maybe-all-build-bison
56177 all-gold: maybe-all-gas
56179 all-stage1-gold: maybe-all-stage1-gas
56180 all-stage2-gold: maybe-all-stage2-gas
56181 all-stage3-gold: maybe-all-stage3-gas
56182 all-stage4-gold: maybe-all-stage4-gas
56183 all-stageprofile-gold: maybe-all-stageprofile-gas
56184 all-stagefeedback-gold: maybe-all-stagefeedback-gas
56185 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
56186 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
56187 check-gold: maybe-all-binutils
56189 check-stage1-gold: maybe-all-stage1-binutils
56190 check-stage2-gold: maybe-all-stage2-binutils
56191 check-stage3-gold: maybe-all-stage3-binutils
56192 check-stage4-gold: maybe-all-stage4-binutils
56193 check-stageprofile-gold: maybe-all-stageprofile-binutils
56194 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
56195 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
56196 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
56197 check-gold: maybe-all-gas
56199 check-stage1-gold: maybe-all-stage1-gas
56200 check-stage2-gold: maybe-all-stage2-gas
56201 check-stage3-gold: maybe-all-stage3-gas
56202 check-stage4-gold: maybe-all-stage4-gas
56203 check-stageprofile-gold: maybe-all-stageprofile-gas
56204 check-stagefeedback-gold: maybe-all-stagefeedback-gas
56205 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
56206 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
56207 configure-opcodes: maybe-configure-intl
56209 configure-stage1-opcodes: maybe-configure-stage1-intl
56210 configure-stage2-opcodes: maybe-configure-stage2-intl
56211 configure-stage3-opcodes: maybe-configure-stage3-intl
56212 configure-stage4-opcodes: maybe-configure-stage4-intl
56213 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
56214 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
56215 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
56216 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
56217 all-opcodes: maybe-all-bfd
56219 all-stage1-opcodes: maybe-all-stage1-bfd
56220 all-stage2-opcodes: maybe-all-stage2-bfd
56221 all-stage3-opcodes: maybe-all-stage3-bfd
56222 all-stage4-opcodes: maybe-all-stage4-bfd
56223 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
56224 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
56225 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
56226 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
56227 all-opcodes: maybe-all-libiberty
56229 all-stage1-opcodes: maybe-all-stage1-libiberty
56230 all-stage2-opcodes: maybe-all-stage2-libiberty
56231 all-stage3-opcodes: maybe-all-stage3-libiberty
56232 all-stage4-opcodes: maybe-all-stage4-libiberty
56233 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
56234 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
56235 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
56236 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
56237 all-opcodes: maybe-all-intl
56239 all-stage1-opcodes: maybe-all-stage1-intl
56240 all-stage2-opcodes: maybe-all-stage2-intl
56241 all-stage3-opcodes: maybe-all-stage3-intl
56242 all-stage4-opcodes: maybe-all-stage4-intl
56243 all-stageprofile-opcodes: maybe-all-stageprofile-intl
56244 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
56245 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
56246 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
56247 all-dejagnu: maybe-all-tcl
56248 all-dejagnu: maybe-all-expect
56249 all-dejagnu: maybe-all-tk
56250 configure-expect: maybe-configure-tcl
56251 configure-expect: maybe-configure-tk
56252 all-expect: maybe-all-tcl
56253 all-expect: maybe-all-tk
56254 configure-itcl: maybe-configure-tcl
56255 configure-itcl: maybe-configure-tk
56256 all-itcl: maybe-all-tcl
56257 all-itcl: maybe-all-tk
56258 install-itcl: maybe-install-tcl
56259 install-strip-itcl: maybe-install-strip-tcl
56260 configure-tk: maybe-configure-tcl
56261 all-tk: maybe-all-tcl
56262 all-sid: maybe-all-libiberty
56263 all-sid: maybe-all-bfd
56264 all-sid: maybe-all-opcodes
56265 all-sid: maybe-all-tcl
56266 all-sid: maybe-all-tk
56267 install-sid: maybe-install-tcl
56268 install-strip-sid: maybe-install-strip-tcl
56269 install-sid: maybe-install-tk
56270 install-strip-sid: maybe-install-strip-tk
56271 configure-sim: maybe-configure-intl
56272 all-sim: maybe-all-intl
56273 all-sim: maybe-all-libiberty
56274 all-sim: maybe-all-bfd
56275 all-sim: maybe-all-opcodes
56276 all-sim: maybe-all-readline
56277 all-sim: maybe-configure-gdb
56278 all-fastjar: maybe-all-zlib
56279 all-fastjar: maybe-all-build-texinfo
56280 all-fastjar: maybe-all-libiberty
56281 all-bison: maybe-all-intl
56282 all-bison: maybe-all-build-texinfo
56283 all-flex: maybe-all-build-bison
56284 all-flex: maybe-all-intl
56285 all-flex: maybe-all-m4
56286 all-flex: maybe-all-build-texinfo
56287 all-m4: maybe-all-intl
56288 all-m4: maybe-all-build-texinfo
56289 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
56290 configure-target-fastjar: maybe-configure-target-zlib
56291 all-target-fastjar: maybe-all-target-zlib
56292 configure-target-libgo: maybe-configure-target-libffi
56293 configure-target-libgo: maybe-all-target-libstdc++-v3
56294 all-target-libgo: maybe-all-target-libbacktrace
56295 all-target-libgo: maybe-all-target-libffi
56296 all-target-libgo: maybe-all-target-libatomic
56297 configure-target-libjava: maybe-configure-target-zlib
56298 configure-target-libjava: maybe-configure-target-boehm-gc
56299 configure-target-libjava: maybe-configure-target-libffi
56300 all-target-libjava: maybe-all-fastjar
56301 all-target-libjava: maybe-all-target-zlib
56302 all-target-libjava: maybe-all-target-boehm-gc
56303 all-target-libjava: maybe-all-target-libffi
56304 configure-target-libobjc: maybe-configure-target-boehm-gc
56305 all-target-libobjc: maybe-all-target-boehm-gc
56306 configure-target-libstdc++-v3: maybe-configure-target-libgomp
56308 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
56309 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
56310 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
56311 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
56312 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
56313 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
56314 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
56315 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
56316 configure-target-liboffloadmic: maybe-configure-target-libgomp
56317 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
56319 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
56320 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
56321 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
56322 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
56323 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
56324 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
56325 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
56326 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
56327 configure-target-libvtv: maybe-all-target-libstdc++-v3
56329 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
56330 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
56331 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
56332 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
56333 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
56334 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
56335 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
56336 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
56337 all-target-libstdc++-v3: maybe-configure-target-libgomp
56339 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
56340 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
56341 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
56342 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
56343 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
56344 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
56345 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
56346 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
56347 all-target-liboffloadmic: maybe-all-target-libgomp
56348 install-target-libgo: maybe-install-target-libatomic
56349 install-target-libgfortran: maybe-install-target-libquadmath
56350 install-target-libgfortran: maybe-install-target-libgcc
56351 install-target-libsanitizer: maybe-install-target-libstdc++-v3
56352 install-target-libsanitizer: maybe-install-target-libgcc
56353 install-target-libvtv: maybe-install-target-libstdc++-v3
56354 install-target-libvtv: maybe-install-target-libgcc
56355 install-target-libcilkrts: maybe-install-target-libstdc++-v3
56356 install-target-libcilkrts: maybe-install-target-libgcc
56357 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
56358 install-target-liboffloadmic: maybe-install-target-libgcc
56359 install-target-libjava: maybe-install-target-libgcc
56360 install-target-libitm: maybe-install-target-libgcc
56361 install-target-libobjc: maybe-install-target-libgcc
56362 install-target-libstdc++-v3: maybe-install-target-libgcc
56363 all-target-libgloss: maybe-all-target-newlib
56364 all-target-winsup: maybe-all-target-libtermcap
56365 configure-target-newlib: maybe-all-binutils
56366 configure-target-newlib: maybe-all-ld
56367 configure-target-libgfortran: maybe-all-target-libquadmath
56368 configure-target-libgfortran: maybe-all-target-libbacktrace
56371 # Dependencies for target modules on other target modules are
56372 # described by lang_env_dependencies; the defaults apply to anything
56373 # not mentioned there.
56376 @if gcc-bootstrap
56377 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
56378 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
56379 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
56380 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
56381 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
56382 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
56383 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
56384 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
56385 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
56386 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
56387 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
56388 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
56389 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
56390 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
56391 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
56392 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
56393 configure-stage1-target-libmpx: maybe-all-stage1-target-libgcc
56394 configure-stage2-target-libmpx: maybe-all-stage2-target-libgcc
56395 configure-stage3-target-libmpx: maybe-all-stage3-target-libgcc
56396 configure-stage4-target-libmpx: maybe-all-stage4-target-libgcc
56397 configure-stageprofile-target-libmpx: maybe-all-stageprofile-target-libgcc
56398 configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-target-libgcc
56399 configure-stageautoprofile-target-libmpx: maybe-all-stageautoprofile-target-libgcc
56400 configure-stageautofeedback-target-libmpx: maybe-all-stageautofeedback-target-libgcc
56401 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
56402 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
56403 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
56404 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
56405 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
56406 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
56407 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
56408 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
56409 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
56410 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
56411 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
56412 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
56413 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
56414 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
56415 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
56416 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
56417 @endif gcc-bootstrap
56419 @if gcc-no-bootstrap
56420 configure-target-libstdc++-v3: maybe-all-target-libgcc
56421 configure-target-libsanitizer: maybe-all-target-libgcc
56422 configure-target-libmpx: maybe-all-target-libgcc
56423 configure-target-libvtv: maybe-all-target-libgcc
56424 configure-target-libcilkrts: maybe-all-target-libgcc
56425 configure-target-liboffloadmic: maybe-all-target-libgcc
56426 configure-target-libssp: maybe-all-target-libgcc
56427 configure-target-newlib: maybe-all-target-libgcc
56428 configure-target-libbacktrace: maybe-all-target-libgcc
56429 configure-target-libquadmath: maybe-all-target-libgcc
56430 configure-target-libgfortran: maybe-all-target-libgcc
56431 configure-target-libobjc: maybe-all-target-libgcc
56432 configure-target-libgo: maybe-all-target-libgcc
56433 configure-target-libtermcap: maybe-all-target-libgcc
56434 configure-target-winsup: maybe-all-target-libgcc
56435 configure-target-libgloss: maybe-all-target-libgcc
56436 configure-target-libffi: maybe-all-target-libgcc
56437 configure-target-libjava: maybe-all-target-libgcc
56438 configure-target-zlib: maybe-all-target-libgcc
56439 configure-target-boehm-gc: maybe-all-target-libgcc
56440 configure-target-rda: maybe-all-target-libgcc
56441 configure-target-libada: maybe-all-target-libgcc
56442 configure-target-libgomp: maybe-all-target-libgcc
56443 configure-target-libitm: maybe-all-target-libgcc
56444 configure-target-libatomic: maybe-all-target-libgcc
56445 @endif gcc-no-bootstrap
56448 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
56450 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
56452 configure-target-libmpx: maybe-all-target-newlib maybe-all-target-libgloss
56454 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
56456 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
56457 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
56459 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
56460 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
56462 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
56466 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
56468 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
56470 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
56472 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
56474 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
56476 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
56478 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
56481 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
56482 configure-target-libffi: maybe-all-target-libstdc++-v3
56484 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
56485 configure-target-libjava: maybe-all-target-libstdc++-v3
56487 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
56489 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
56491 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
56493 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
56495 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
56497 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
56498 configure-target-libitm: maybe-all-target-libstdc++-v3
56500 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
56503 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
56504 GDB_TK = @GDB_TK@
56505 INSTALL_GDB_TK = @INSTALL_GDB_TK@
56506 configure-gdb: $(CONFIGURE_GDB_TK)
56507 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
56508 install-gdb: $(INSTALL_GDB_TK)
56510 # Serialization dependencies. Host configures don't work well in parallel to
56511 # each other, due to contention over config.cache. Target configures and
56512 # build configures are similar.
56513 @serialization_dependencies@
56515 # --------------------------------
56516 # Regenerating top level configury
56517 # --------------------------------
56519 # Rebuilding Makefile.in, using autogen.
56520 AUTOGEN = autogen
56521 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
56522 cd $(srcdir) && $(AUTOGEN) Makefile.def
56524 # Rebuilding Makefile.
56525 Makefile: $(srcdir)/Makefile.in config.status
56526 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
56528 config.status: configure
56529 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
56531 # Rebuilding configure.
56532 AUTOCONF = autoconf
56533 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
56534 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
56535 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
56536 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
56537 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
56538 cd $(srcdir) && $(AUTOCONF)
56540 # ------------------------------
56541 # Special directives to GNU Make
56542 # ------------------------------
56544 # Don't pass command-line variables to submakes.
56545 .NOEXPORT:
56546 MAKEOVERRIDES=
56548 # end of Makefile.in